Skip to content

Commit

Permalink
chore: Update pre-commit hooks (#1149)
Browse files Browse the repository at this point in the history
* chore: Update pre-commit hooks

* [pre-commit.ci] auto fixes

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
edgarrmondragon and pre-commit-ci[bot] authored May 22, 2024
1 parent 192d9b7 commit 6ce6491
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.28.3
rev: 0.28.4
hooks:
- id: check-dependabot
- id: check-github-workflows
Expand Down Expand Up @@ -63,12 +63,12 @@ repos:
args: [--all]

- repo: https://github.com/tox-dev/pyproject-fmt
rev: "2.1.1"
rev: "2.1.3"
hooks:
- id: pyproject-fmt

- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.1.44
rev: 0.1.45
hooks:
- id: pip-compile
files: ^pyproject\.toml$
Expand Down
16 changes: 8 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,14 @@ lint.select = [
"W", # pycodestyle (warning)
"YTT", # flake8-2020
]
lint.ignore = [
"ANN101", # missing-type-self
"COM812", # missing-trailing-comma
"D107", # undocumented-public-init
"DJ", # flake8-django
"FIX002", # line-contains-todo
"ISC001", # single-line-implicit-string-concatenation
]
lint.explicit-preview-rules = false
lint.per-file-ignores."docs/notebooks/*" = [
"D100", # undocumented-public-module
Expand Down Expand Up @@ -212,14 +220,6 @@ lint.isort.required-imports = [
lint.mccabe.max-complexity = 5
lint.pydocstyle.convention = "google"
lint.pylint.max-args = 10
lint.ignore = [
"ANN101", # missing-type-self
"COM812", # missing-trailing-comma
"D107", # undocumented-public-init
"DJ", # flake8-django
"FIX002", # line-contains-todo
"ISC001", # single-line-implicit-string-concatenation
]
lint.preview = true

[tool.codespell]
Expand Down

0 comments on commit 6ce6491

Please sign in to comment.