Skip to content

Latest commit

 

History

History
56 lines (34 loc) · 1.31 KB

CONTRIBUTING.md

File metadata and controls

56 lines (34 loc) · 1.31 KB

Contributor's guide

Dependencies

  • pyenv - python versions management
  • poetry - dependency management

To install run poetry install.

To activate your virtualenv run poetry shell.

Tests

Run pytest.

Linters

Run flake8 asynql tests docs.

Type checks

Run mypy asynql.

Documentation checks

Run doc8.

Safety checks

Run safety.

Before submitting

Before submitting your code please do the following steps:

  1. Run pytest to make sure everything was working before
  2. Add any changes you want
  3. Add tests for the new changes
  4. Edit documentation if you have changed something significant
  5. Update CHANGELOG.md with a quick summary of your changes
  6. Run pytest again to make sure it is still working
  7. Run mypy to ensure that types are correct
  8. Run flake8 to ensure that style is correct
  9. Run doc8 to ensure that docs are correct
  10. Run safety to ensure that there are no insecure dependencies