Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 950 Bytes

CONTRIBUTING.md

File metadata and controls

39 lines (26 loc) · 950 Bytes

Contributing

Metrics adheres to openZIM's Contribution Guidelines and openZIM's Bootstrap conventions especially its Policy.

Guidelines

  • Don't take assigned issues. Comment if those get staled.
  • If your contribution is far from trivial, open an issue to discuss it first.
  • Ensure your code passes inv lintall and inv checkall

Configure your environment

Development environment is meant to be managed by hatch and commits can be checked with pre-commit.

If not already installed on your machine, install it in your global environment:

pip install -U hatch pre-commit

Install precommit

pre-commit install

Start a hatch shell to run further commands:

hatch shell

Install/Update dependencies:

pip install -U ".[dev]"