Skip to content

Commit

Permalink
scripts: add task in pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
onerandomusername committed Nov 14, 2021
1 parent c8b024f commit 5a2a2e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,6 @@ flake8 = { cmd = "python -m flake8", help = "Lints code with flake8" }
lint = { cmd = "pre-commit run --all-files", help = "Checks all files for CI errors" }
precommit = { cmd = "pre-commit install --install-hooks", help = "Installs the precommit hook" }
report = { cmd = "coverage report", help = "Show coverage report from previously run tests." }
scripts = { cmd = 'python -m scripts', help = 'Run the scripts wrapper cli.' }
test = { cmd = "pytest -n auto --dist loadfile", help = "Runs tests and save results to a coverage report" }
test_mocks = { cmd = 'pytest tests/test_mocks.py', help = 'Runs the tests on the mock files. They are excluded from the main test suite.' }

0 comments on commit 5a2a2e3

Please sign in to comment.