Link: Sonarqube
poetry install
poetry run pytest
poetry run pre-commit install
If you wish to edit pre-commit behavior see .pre-commit-config.yaml
.
Normally it checks only the file you are committing. But if you wish to run it manually for all files do
poetry run pre-commit run --all
poetry run python -m ipykernel install --user --name thai_national_id_smartcard
edit pyproject.toml or just do
poetry add numpy
or for dev dependencies
poetry add --dev numpy
See tox.ini
See sonar-project.properties
Ironically in pycharm test configuration add --no-cov
to Additional Arguments
this turn off pytest-cov coverage and uses Pycharm's own pytest.