Skip to content

Commit

Permalink
chore: update linting tasks in makefile and poe
Browse files Browse the repository at this point in the history
  • Loading branch information
DeadNews committed Mar 2, 2024
1 parent 9191acc commit e01404a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pc-install:
update-latest:
poetry up --latest

checks: pc-run install lint pyright test
checks: pc-run install lint test

pc-run:
pre-commit run -a
Expand All @@ -21,6 +21,3 @@ lint:

test:
poetry run poe test

pyright:
poetry run poe pyright
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ mypy = "mypy ."
pyright = "pyright ."
ruff = "ruff check ."
ruff-fmt = "ruff format ."
lint.sequence = ["ruff", "ruff-fmt", "mypy"]
lint.sequence = ["ruff", "ruff-fmt", "mypy", "pyright"]

[tool.poe.tasks.nuitka]
cmd = """
Expand All @@ -77,7 +77,10 @@ cmd = "pytest -m 'benchmark and online' --benchmark-autosave --benchmark-compare
[tool.pytest.ini_options]
addopts = "--verbose --cov=./src --cov-report=term --cov-report=xml"
testpaths = ["tests"]
markers = ["benchmark", "online"]
markers = [
"benchmark: Run benchmarks",
"online: Run tests that require internet connection",
]

[tool.coverage.report]
exclude_lines = [
Expand Down

0 comments on commit e01404a

Please sign in to comment.