This project uses poetry to handle production and development dependencies.
To install all dependencies, you simply need to run:
poetry install
To run tests:
poetry run pytest
To run the type-checker:
poetry run mypy
To run the formatter:
poetry run black .
To lint the project:
poetry run pylint sqlschm tests
The tests are based on snapshots that are stored in tests_corpus. To generate the corpus run:
PYTHONPATH="$PWD" python scripts/generate_corpus.py
The project adheres to the conventional commit specification.
The following commit prefixes are supported:
feat:
, a new featurefix:
, a bugfixdocs:
, a documentation updatetest:
, a test updatechore:
, project housekeepingperf:
, project performancerefactor:
, refactor of the code without change in functionality
See the git log for well-formed messages.
The project keeps a changelog that document every change that is visible to the user.