-
Every repo must contain a LICENSE file (We mostly use Apache License)
-
Source code in
/src
directory, docs (README, LICENSE, Sphinx) in/docs
directory, tests in/test
directory -
We recommend you to use Docker (or docker-compose)
-
.gitignore in every project. Must include:
.DS_Store
(OSX).idea
(every platform).vscode
poetry.lock
andpackage-lock.json
(OS and arch specific package builds/sources)- Other language specific stuff (
__pycache__
,.venv
,node_modules
, etc)
This guide includes some code style recommendations as well as best practices. Following these guidelines ensures minimal level of code quality. Unified code style lets your colleagues and off-site contributors to develop compatible code for your projects, easily review your code and join the workflow easily.
Following the formatting recommendations ensures your code is easily readable and good-looking. Pretty code is easier to understand and appears more structured thus limiting the chance of an error.
We follow the popular rules that make a good code including, but not limited to: DRY , SOLID , KISS , YAGNI. Refer to "Refactoring" and "Clean code" books or their summaries for more information.
-
Other languages - feel free to submit guidelines and recommendations for any other languages you are familiar with.