Skip to content

Commit

Permalink
ci(pre-commit.ci): autoupdate (#205)
Browse files Browse the repository at this point in the history
* ci(pre-commit.ci): autoupdate

updates:
- [github.com/compilerla/conventional-pre-commit: v2.1.1 → v2.2.0](compilerla/conventional-pre-commit@v2.1.1...v2.2.0)
- [github.com/charliermarsh/ruff-pre-commit: v0.0.260 → v0.0.263](astral-sh/ruff-pre-commit@v0.0.260...v0.0.263)
- [github.com/pre-commit/mirrors-mypy: v1.1.1 → v1.2.0](pre-commit/mirrors-mypy@v1.1.1...v1.2.0)

* chore: ignore ruff009

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Talley Lambert <talley.lambert@gmail.com>
  • Loading branch information
pre-commit-ci[bot] and tlambert03 authored May 17, 2023
1 parent cd3b23f commit 28eeff6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ exclude: .asv

repos:
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v2.1.1
rev: v2.2.0
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
Expand All @@ -22,7 +22,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.260
rev: v0.0.267
hooks:
- id: ruff
args: [--fix]
Expand All @@ -38,7 +38,7 @@ repos:
- id: validate-pyproject

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.1.1
rev: v1.3.0
hooks:
- id: mypy
exclude: tests|_throttler.pyi
Expand Down
21 changes: 11 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ HATCH_BUILD_HOOKS_ENABLE = "1"
line-length = 88
target-version = "py37"
src = ["src", "tests"]
extend-select = [
select = [
"E", # style errors
"F", # flakes
"D", # pydocstyle
Expand All @@ -144,15 +144,16 @@ extend-select = [
"TID", # flake8-tidy-imports
"RUF", # ruff-specific rules
]
extend-ignore = [
"D100", # Missing docstring in public module
"D107", # Missing docstring in __init__
"D203", # 1 blank line required before class docstring
"D212", # Multi-line docstring summary should start at the first line
"D213", # Multi-line docstring summary should start at the second line
"D401", # First line should be in imperative mood
"D413", # Missing blank line after last section
"D416", # Section name should end with a colon
ignore = [
"D100", # Missing docstring in public module
"D107", # Missing docstring in __init__
"D203", # 1 blank line required before class docstring
"D212", # Multi-line docstring summary should start at the first line
"D213", # Multi-line docstring summary should start at the second line
"D401", # First line should be in imperative mood
"D413", # Missing blank line after last section
"D416", # Section name should end with a colon
"RUF009", # Do not perform function call in dataclass defaults
]

[tool.ruff.per-file-ignores]
Expand Down

0 comments on commit 28eeff6

Please sign in to comment.