OpenAtlas is developed with some standards in mind.

Open source

To guaranty that the OpenAtlas application can be shared as open source (GPL 2) we make sure that:


Of course we do our best to avoid them in the first place but if bugs get apparent they always have the highest priority.



Tests and checks

Version PyCharm Configuration
PEP 8 integrated Style guide for Python code
nose tests 1.3.7 integrated tests/.coveragerc, tests/.noserc Should cover all Python code using assertions. Some parts (e.g. mail functions) may be excluded with the # pragma: no cover option
Mypy 0.812 plugin Mypy mypy.ini Optional static type checker for Python
Pylint 2.7.2 plugin Pylint .pylintrc Checks for errors, coding standards and code smells

Further reading

Software packages (Debian)

Although pip offers some advantages (e.g more current packages, usable for different installation environment) we prefer packages from the Debian repository.
Main reasons concern security, reliability and stability. Only exception are frontend libraries because they don't really affect server security.