Contributing#
If you want to help with the development (improvement, update, bug-fixing, ...) of collective.mastodon
this is a great idea!
We appreciate any contribution and if a release is needed to be done on PyPI, please just contact one of us.
Local Development#
You need a working python
environment (system, virtualenv
, pyenv
, etc) version 3.8 or superior.
Then install the dependencies and a development instance using:
make build
Update translations#
make i18n
Format codebase#
make format
Run tests#
Testing of this package is done with pytest
and tox
.
Run all tests with:
make test
Run all tests but stop on the first error and open a pdb
session:
./bin/tox -e test -- -x --pdb
Run only tests that match TestAppDiscovery
:
./bin/tox -e test -- -k TestAppDiscovery
Run only tests that match TestAppDiscovery
, but stop on the first error and open a pdb
session:
./bin/tox -e test -- -k TestAppDiscovery -x --pdb