Skip to content

Commit

Permalink
use pytest plugins for linter
Browse files Browse the repository at this point in the history
  • Loading branch information
helpmefindaname committed Sep 15, 2024
1 parent 55ad023 commit 7558e7d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ jobs:
shell: bash
image: ${{steps.docker-build.outputs.imageid}}
run: |
ruff . && black --check .
pytest -vv
prep-vars:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -80,8 +79,6 @@ jobs:
cache: 'poetry'
- name: Install Dependencies
run: poetry install
- name: Run linter
run: poetry run ruff .
- name: Run tests
run: poetry run pytest -vv
build-n-publish:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ line-length = 120
target-version = 'py39'

[tool.pytest.ini_options]
addopts = "--mypy -n auto"
addopts = "--mypy --black --ruff -n auto"
filterwarnings = [
"error",
"ignore:SelectableGroups dict interface is deprecated. Use select."
Expand Down

0 comments on commit 7558e7d

Please sign in to comment.