Trojstenovy web
This project uses pre-commit.
You can install it using pip install pre-commit
and it's also included in the project requirements.
Activate it with
pre-commit install --allow-missing-config
For dependency management we use Poetry. See https://poetry.eustace.io/docs/#installation for installation manual.
Please follow the installation manual here: https://github.com/trojsten/web/wiki/Návod-na-inštaláciu
Please send a pull request with a descriptive title and all necessary information in the description. Preferably all in English. The pull request needs to pass automatic checks and have at least one approval from the project maintainers.
We currently check the following things:
black
tool. This is also enforced by the pre-commit check. Note that black is currently not included in the project requirements, because it requires Python 3.6+.isort
to automatically sort imports the correct way. This is also enforced by the pre-commit check.flake8
lint check../manage.py compilemessages
) before generating migrations.