Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#81)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.6 → v0.1.7](astral-sh/ruff-pre-commit@v0.1.6...v0.1.7)

* Update lint_python.yml

* Update lint_python.yml

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
  • Loading branch information
pre-commit-ci[bot] and cclauss authored Dec 11, 2023
1 parent 61db73b commit 49de13d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/lint_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ jobs:
lint_python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: pip install --upgrade pip ruff setuptools wheel
Expand All @@ -15,7 +15,7 @@ jobs:
run: ruff --exit-zero --select=ALL --statistics --target-version=py37 .
- name: "Ruff: All fixable (ruff --fix) issues"
run: ruff --exit-zero --select=ALL --ignore=ANN204,COM812,ERA001,RSE102
--statistics --target-version=py37 . || true | grep "\[\*\]"
--statistics --target-version=py38 . || true | grep "\[\*\]"
- run: pip install black codespell mypy pytest safety
- run: black --check .
- run: codespell --quiet-level=1 # --ignore-words-list="" --skip="*.css,*.js,*.lock"
Expand All @@ -24,4 +24,6 @@ jobs:
- run: mypy --ignore-missing-imports --install-types --non-interactive .
- run: pytest --doctest-modules . || true
- run: pytest . || true
- run: pip --version
- run: python -m pip --version
- run: safety check
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repos:
args:
- --quiet-level=2
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.6
rev: v0.1.7
hooks:
- id: ruff
args:
Expand Down

0 comments on commit 49de13d

Please sign in to comment.