Skip to content

Commit

Permalink
chore: use the new github actions reporter for pylint (#222)
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
  • Loading branch information
henryiii authored May 14, 2024
1 parent 0d29290 commit a50076d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 38 deletions.
32 changes: 0 additions & 32 deletions .github/matchers/pylint.json

This file was deleted.

6 changes: 1 addition & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,8 @@ jobs:
with:
python-version: "3.x"
- uses: pre-commit/action@v3.0.1
with:
extra_args: --hook-stage manual --all-files
- name: Run PyLint
run: |
echo "::add-matcher::$GITHUB_WORKSPACE/.github/matchers/pylint.json"
pipx run --python=python hatch run pylint:lint
run: pipx run --python=python hatch run pylint:lint --output-format=github

checks:
name: Check Python on ${{ matrix.runs-on }}
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ scripts.lint = "pre-commit run --all-files --show-diff-on-failure {args}"

[tool.hatch.envs.pylint]
features = ["cli"]
dependencies = ["pylint"]
dependencies = ["pylint>=3.2"]
scripts.lint = "pylint repo_review {args}"

[tool.hatch.envs.docs]
Expand Down

0 comments on commit a50076d

Please sign in to comment.