Skip to content

Commit

Permalink
only upgrade pydocstringformatter
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas committed Jan 2, 2023
1 parent 6acd437 commit 319a5a6
Showing 1 changed file with 12 additions and 40 deletions.
52 changes: 12 additions & 40 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ci:

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.3.0
hooks:
- id: trailing-whitespace
exclude: tests(/\w*)*/functional/t/trailing_whitespaces.py|tests/pyreverse/data/.*.html|doc/data/messages/t/trailing-whitespace/bad.py
Expand All @@ -14,8 +14,8 @@ repos:
tests/functional/t/trailing_newlines.py|
doc/data/messages/t/trailing-newlines/bad.py|
)$
- repo: https://github.com/PyCQA/autoflake
rev: v2.0.0
- repo: https://github.com/myint/autoflake
rev: v1.4
hooks:
- id: autoflake
exclude: &fixtures tests(/\w*)*/functional/|tests/input|doc/data/messages|tests(/\w*)*data/
Expand All @@ -33,18 +33,18 @@ repos:
exclude: tests(/\w*)*/functional/|tests/input|doc/data/messages|examples/|setup.py|tests(/\w*)*data/
types: [python]
- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
rev: v2.37.3
hooks:
- id: pyupgrade
args: [--py37-plus]
exclude: *fixtures
- repo: https://github.com/PyCQA/isort
rev: 5.11.4
rev: 5.10.1
hooks:
- id: isort
exclude: doc/data/messages/(r/reimported|w/wrong-import-order|u/ungrouped-imports|m/misplaced-future|m/multiple-imports)/bad.py
- repo: https://github.com/psf/black
rev: 22.12.0
rev: 22.6.0
hooks:
- id: black
args: [--safe, --quiet]
Expand All @@ -54,11 +54,10 @@ repos:
hooks:
- id: black-disable-checker
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
rev: 5.0.4
hooks:
- id: flake8
additional_dependencies:
[flake8-bugbear==22.12.6, flake8-typing-imports==1.14.0]
additional_dependencies: [flake8-typing-imports==1.12.0]
exclude: *fixtures
- repo: local
hooks:
Expand Down Expand Up @@ -94,14 +93,14 @@ repos:
files: ^(doc/whatsnew/fragments)
exclude: doc/whatsnew/fragments/_.*.rst
- repo: https://github.com/rstcheck/rstcheck
rev: "v6.1.1"
rev: "v6.1.0"
hooks:
- id: rstcheck
args: ["--report-level=warning"]
files: ^(doc/(.*/)*.*\.rst)
additional_dependencies: [Sphinx==5.0.1]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.991
rev: v0.971
hooks:
- id: mypy
name: mypy
Expand All @@ -110,17 +109,10 @@ repos:
types: [python]
args: []
require_serial: true
additional_dependencies:
[
"isort>=5",
"platformdirs==2.2.0",
"py==1.11",
"tomlkit>=0.10.1",
"types-pkg_resources==0.1.3",
]
additional_dependencies: ["platformdirs==2.2.0", "types-pkg_resources==0.1.3"]
exclude: tests(/\w*)*/functional/|tests/input|tests(/.*)+/conftest.py|doc/data/messages|tests(/\w*)*data/
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0-alpha.4
rev: v3.0.0-alpha.0
hooks:
- id: prettier
args: [--prose-wrap=always, --print-width=88]
Expand All @@ -132,23 +124,3 @@ repos:
exclude: *fixtures
args: ["--max-summary-lines=2", "--linewrap-full-docstring"]
files: "pylint"
- repo: https://github.com/regebro/pyroma
rev: "4.1"
hooks:
- id: pyroma
# Must be specified because of the default value in pyroma
always_run: false
files: |
(?x)^(
README.rst|
pyproject.toml|
pylint/__init__.py|
pylint/__pkginfo__.py|
setup.cfg
)$
- repo: https://github.com/PyCQA/bandit
rev: 1.7.4
hooks:
- id: bandit
args: ["-r", "-lll"]
exclude: *fixtures

0 comments on commit 319a5a6

Please sign in to comment.