Skip to content

Commit

Permalink
chore: add quality of life scripts to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
pkucmus committed Jan 30, 2025
1 parent 1166d12 commit b936146
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,19 @@ features = ["dev", "test"]

[tool.hatch.envs.default.scripts]
test = "coverage run -m pytest"
check = [
"pylint ariadne tests",
"mypy ariadne tests_mypy --ignore-missing-imports --check-untyped-defs",
"black --check .",
"hatch test -a -p",
"hatch test --cover",
]

[tool.hatch.envs.hatch-test]
features = ["dev", "test"]

[[tool.hatch.envs.hatch-test.matrix]]
python = ["3.8", "3.9", "3.10", "3.11", "3.12"]

[tool.black]
line-length = 88
Expand Down

0 comments on commit b936146

Please sign in to comment.