aboutsummaryrefslogtreecommitdiffstats
path: root/pyproject.toml
diff options
context:
space:
mode:
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml8
1 files changed, 6 insertions, 2 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 8b7536a..908f685 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -45,6 +45,10 @@ task = "taskipy.cli:main"
test = [
"parameterized==0.8.1,<0.9.0; python_version == '3.6'",
"parameterized==0.9.0; python_version >= '3.7'",
+ "pytest>=9.0.0; python_version >= '3.10'",
+ "pytest>=8.0.0; python_version >= '3.8'",
+ "pytest>=6.2.0; python_version >= '3.6'",
+
]
lint = [
"mypy==1.19.1; python_version >= '3.9'",
@@ -72,8 +76,8 @@ black {module_dir} {tests_dir} \
"""
lint_analyze = "ruff check {module_dir} {tests_dir} --exclude {tests_dir}/fixtures"
lint_types = "mypy {module_dir} {tests_dir}"
-test = "python -m unittest -v {tests_dir}/test_*.py"
-test_windows = "python -m unittest -v {tests_dir}\\test_windows.py"
+test = "pytest -v {tests_dir}"
+test_windows = "pytest -v {tests_dir}\\test_windows.py"
[tool.isort]
profile = "black"