Skip to content

Commit

Permalink
chore: pre-commit autoupdate (#377)
Browse files Browse the repository at this point in the history
* chore: pre-commit autoupdate

updates:
- [github.com/pycontribs/mirrors-prettier: v3.3.2 → v3.3.3](pycontribs/mirrors-prettier@v3.3.2...v3.3.3)
- [github.com/psf/black: 24.4.2 → 24.8.0](psf/black@24.4.2...24.8.0)
- [github.com/astral-sh/ruff-pre-commit: v0.5.0 → v0.5.6](astral-sh/ruff-pre-commit@v0.5.0...v0.5.6)
- [github.com/streetsidesoftware/cspell-cli: v8.9.0 → v8.13.1](streetsidesoftware/cspell-cli@v8.9.0...v8.13.1)
- [github.com/jsh9/pydoclint: 0.5.3 → 0.5.6](jsh9/pydoclint@0.5.3...0.5.6)
- [github.com/pycqa/pylint.git: v3.2.4 → v3.2.6](https://github.com/pycqa/pylint.git/compare/v3.2.4...v3.2.6)
- [github.com/pre-commit/mirrors-mypy.git: v1.10.1 → v1.11.1](https://github.com/pre-commit/mirrors-mypy.git/compare/v1.10.1...v1.11.1)

* Require private class attributes to be documented

They are already documented, so no point in failing on them now.

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Kate Case <this.is@katherineca.se>
  • Loading branch information
pre-commit-ci[bot] and Qalthos authored Aug 8, 2024
1 parent ae39297 commit 6175977
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ repos:
)$
- repo: https://github.com/pycontribs/mirrors-prettier
rev: v3.3.2
rev: v3.3.3
hooks:
- id: prettier
always_run: true
Expand All @@ -44,7 +44,7 @@ repos:
- prettier-plugin-sort-json

- repo: https://github.com/psf/black
rev: 24.4.2
rev: 24.8.0
hooks:
- id: black

Expand All @@ -59,28 +59,28 @@ repos:
- id: tox-ini-fmt

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.0
rev: v0.5.6
hooks:
- id: ruff
args:
- --exit-non-zero-on-fix

- repo: https://github.com/streetsidesoftware/cspell-cli
rev: v8.9.0
rev: v8.13.1
hooks:
- id: cspell
name: Spell check with cspell

- repo: https://github.com/jsh9/pydoclint
rev: "0.5.3"
rev: "0.5.6"
hooks:
- id: pydoclint
# This allows automatic reduction of the baseline file when needed.
entry: sh -ec "pydoclint . && pydoclint --generate-baseline=1 ."
pass_filenames: false

- repo: https://github.com/pycqa/pylint.git
rev: v3.2.4
rev: v3.2.6
hooks:
- id: pylint
args:
Expand All @@ -94,7 +94,7 @@ repos:
- setuptools

- repo: https://github.com/pre-commit/mirrors-mypy.git
rev: v1.10.1
rev: v1.11.1
hooks:
- id: mypy
additional_dependencies:
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ arg-type-hints-in-docstring = false
baseline = ".config/pydoclint-baseline.txt"
check-return-types = false
exclude = '\.git|\.tox|build|out|venv'
should-document-private-class-attributes = true
show-filenames-in-every-violation-message = true
skip-checking-short-docstrings = false
style = "google"
Expand Down

0 comments on commit 6175977

Please sign in to comment.