Development

This repository uses multiple automatic tools in order to reach a high standard. The tools used are:

  1. black as a formatter for the code.

  2. isort is used for organizing the imports.

  3. mypy is used for type validation.

  4. pylint as a linter.

There is also pre-commit hook which uses executes black, isort & pylint automatically before every commit. In order to activate this hook one should execute the following command:

pre-commit install

This tool installs into .git/hooks/ the hook which activates black, isort & pylint.

There is an issue when it comes to using mypy as a pre-commit hook as well, for more details you can look at this issue.