Skip to content

Commit

Permalink
🧪 Make pylint pre-commit managed
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Dec 22, 2024
1 parent aaf9168 commit e032be3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 16 deletions.
23 changes: 10 additions & 13 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -187,19 +187,6 @@ repos:
- wemake-python-styleguide ~= 0.19.2
language_version: python3

- repo: local
hooks:
- id: pylint
language: system
name: PyLint
files: \.py$
entry: python -m pylint
args:
- --rcfile
- .pylintrc
stages:
- manual

- repo: https://github.com/pre-commit/mirrors-mypy.git
rev: v1.11.2
hooks:
Expand Down Expand Up @@ -258,4 +245,14 @@ repos:
- --html-report=.tox/.tmp/.test-results/mypy--py-3.9
pass_filenames: false

- repo: https://github.com/PyCQA/pylint.git
rev: v3.3.2
hooks:
- id: pylint
additional_dependencies:
- pytest
- setuptools-scm # docs
- sphinx
- towncrier >= 23

...
3 changes: 0 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,7 @@ commands =
cmd_str = " $ \{cmd\}";' \
'print(f"\n\{sep\}\nTo install pre-commit hooks into the Git repo, run:\n\n\{cmd_str\}\n\n\{sep\}\n")'
deps =
{[testenv]deps}
{[testenv:build-docs]deps}
pre-commit >= 2.6.0
pylint ~= 3.3.2
isolated_build = true
passenv =
SKIP
Expand Down

0 comments on commit e032be3

Please sign in to comment.