Skip to content

Commit

Permalink
feat: new tasks added for linting and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
0hsn committed Dec 27, 2024
1 parent 38b3ed2 commit e17c217
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,13 @@ requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.poe.tasks]
test = "py.test -s"
clear-cache = "rm -rf .chkware_cache"
requirements-root = 'poetry export --output requirements.txt'
requirements-test = 'poetry export --output requirements-dev.txt --with test'

requirements-root = "poetry export --output requirements.txt"
requirements-test = "poetry export --output requirements-dev.txt --with test"
requirements = ["requirements-root", "requirements-test"]

fix-format = "ruff format --config ruff.toml chk"
fix-check = "ruff check --config ruff.toml chk"
fix = ["fix-check", "fix-format"]

0 comments on commit e17c217

Please sign in to comment.