summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/python-package-ci.yml2
-rw-r--r--pyproject.toml2
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/python-package-ci.yml b/.github/workflows/python-package-ci.yml
index b63da2e..eb4c2ea 100644
--- a/.github/workflows/python-package-ci.yml
+++ b/.github/workflows/python-package-ci.yml
@@ -29,7 +29,7 @@ jobs:
poetry install -v
- name: Run linters
run: |
- poetry run pre-commit run --all
+ poetry run task lint
- name: Run tests
run: |
poetry run task test
diff --git a/pyproject.toml b/pyproject.toml
index 4f6a53e..111ac76 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -23,7 +23,7 @@ classifiers = [
]
[tool.taskipy.tasks]
-lint = "poetry run pre-commit run --all"
+lint = "pre-commit run --all"
test = "task test_cov_missing"
test_unit = "poetry run pytest tests/"
test_cov = "task test_unit -- --cov=config_file/"