- 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
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.