X Tutup
Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 905 Bytes

File metadata and controls

15 lines (13 loc) · 905 Bytes
id title sidebar_label
lang_python
Python
Python

For new project we try to avoid using Python in favor of more functional and typed languages.

  • For Python code, the PEP 8 Style Guide should be followed
  • For Docstring Conventions, check PEP 257 Docstring Conventions
  • Always write your code in Python 3, if possible
  • For creating virual environments for Python, the usage of 'pipenv' is preferred over 'virtualenv'
  • To ensure your code will not just run on your computer, make use of 'pipenv', to standardize, Tox is a great tool, or you can use Docker of course, in addition to a CI testing script
  • Make sure there is always a requirements.txt file available, so dependencies are the same on different environments
  • Where possible, use type checking
X Tutup