Skip to content
This repository has been archived by the owner on Apr 18, 2021. It is now read-only.

Latest commit

 

History

History
32 lines (23 loc) · 725 Bytes

dev_guidelines.md

File metadata and controls

32 lines (23 loc) · 725 Bytes

Development Guidelines

Code

  • PEP 8 for code
  • PEP 257 docstrings
  • docstring for packages in __init__.py
  • docstring for modules
  • docstring for classes with description and __init__ args, where applicable
  • docstring for methods and functions
  • typing used with "# type: (arg_type, ...) -> return_type" declaration
  • PyCharm shows me a green check mark on every file

Git

Branches

Simple structure for one dev:

  • master
    • latest stable version
    • major and minor version tags on release
  • develop
    • current development version
    • based on master
    • merges into master with new major version tag

Versioning

  • major = merge year
  • minor = merge month