Skip to content

Commit

Permalink
check for blanket noqas in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
danieleades authored and jfbu committed Dec 16, 2022
1 parent 1abb24e commit 841c0ce
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,13 @@ jobs:
run: python -m pip install -U tox pip
- name: Run Tox
run: tox -e ${{ matrix.tool }}

pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set Up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- uses: pre-commit/action@v3.0.0
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
repos:
- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.9.0
hooks:
- id: python-check-blanket-noqa

0 comments on commit 841c0ce

Please sign in to comment.