If you want to start working on this project, you will need to get familiar with these APIs:
It is also recommended to take a look at these resources:
We use poetry to manage the dependencies.
To install them you would need to run two commands:
poetry install
poetry developTo activate your virtualenv run poetry shell.
We use pytest and flake8 for quality control.
We also use wemake_python_styleguide itself
to develop wemake_python_styleguide.
To run all tests:
pytestThis step is mandatory during the CI.
We use mypy to run type checks on our code.
To use it:
mypy flake8_eradicate.pyThis step is mandatory during the CI.
Before submitting your code please do the following steps:
- Run
pytestto make sure everything was working before - Add any changes you want
- Adds tests for the new changes
- Edit documentation if you have changed something significant
- Run
pytestagain to make sure it is still working - Run
mypyto ensure that types are correct
You can contribute by spreading a word about this library. It would also be a huge contribution to write a short article on how you are using this project. What are your best-practices?