Skip to content

Commit 974617d

Browse files
committed
Add shortcut for running flake8 and pytest.
1 parent bf74d8b commit 974617d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyproject.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ dependencies = [
6060
"flake8",
6161
]
6262
[tool.hatch.envs.default.scripts]
63-
test = "pytest {args:tests}"
63+
unittest = "pytest {args:tests}"
6464
test-cov = "coverage run -m pytest {args:tests}"
6565
cov-report = [
6666
"- coverage combine",
@@ -71,6 +71,7 @@ cov = [
7171
"cov-report",
7272
]
7373
check = "flake8 sqlparse/"
74+
test = ["check", "unittest"]
7475

7576
[[tool.hatch.envs.all.matrix]]
7677
python = ["3.8", "3.9", "3.10", "3.11", "3.12"]

0 commit comments

Comments
 (0)