Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 736 Bytes

CONTRIBUTING.md

File metadata and controls

21 lines (16 loc) · 736 Bytes

Cheat sheet

  • To install development dependencies: pip install --user -e '.[develop]'
  • To run tests: scripts/run_tests
  • To run type checks: scripts/run_mypy
  • To generate themes and icons: scripts/generate_assets
  • To generate documentation: scripts/generate_documentation

Pre-commit

To enable pre-commit hooks, install pre-commit:

pip install --user pre-commit
pre-commit install

Now every time you commit, the code should be automatically reformatted with isort and black. Additionally you should get some extra information from pylint about other problems such as unused imports.