If you find a bug with delfies
, or have a suggested feature, please report them
via the issue tracker. Templates
are provided for bugs and features, but feel free to open a blank issue as well.
All contributions are warmly welcome!
Before contributing a feature or bugfix, please state this in an open issue through the issue tracker first, to coordinate with others.
After forking the repository and making changes, open a pull request so we can review it together.
Before creating the pull request, please check that your code runs past
formatting, linting and testing. Formatting relies on
black
and
isort
, linting relies on
flake8
and testing relies on
pytest
.
To run all these, I've created a Makefile at the root of delfies
. If you
have the Python packaging tool
poetry
, you can run checks as
follows:
cd <delfies_directory>
poetry install
make fmt lint test
# Or
make precommit
delfies
has a set of unit and functional/integration tests in the tests/
directory.
If you add new functions or functionalities, please consider adding corresponding tests.
To check what your new tests cover, you can generate a test coverage report by running:
cd <delfies_directory>
poetry install
make coverage
This generates a text-file summary and an html report, using coverage.py.