Skip to content

Commit

Permalink
chore(pre-commit.ci): pre-commit autoupdate (#273)
Browse files Browse the repository at this point in the history
<!--pre-commit.ci start-->
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.5.4 →
v0.5.7](astral-sh/ruff-pre-commit@v0.5.4...v0.5.7)
- [github.com/commitizen-tools/commitizen: v3.28.0 →
v3.29.0](commitizen-tools/commitizen@v3.28.0...v3.29.0)
- [github.com/asottile/pyupgrade: v3.16.0 →
v3.17.0](asottile/pyupgrade@v3.16.0...v3.17.0)
<!--pre-commit.ci end-->

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit


- **New Features**
- Updated versions of several pre-commit tools, potentially enhancing
performance and introducing new features.
- Added a new linting rule to ignore the absence of return statements in
docstrings.
- **Bug Fixes**
- Incremented revisions may include fixes that improve overall tool
reliability.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Lucas Mindêllo de Andrade <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and rokam authored Aug 13, 2024
1 parent bf6b4f0 commit ee30122
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ repos:
- id: no-commit-to-branch
args: ["--branch", "main"]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.4
rev: v0.5.7
hooks:
- id: ruff
args:
- --fix
- id: ruff-format
- repo: https://github.com/commitizen-tools/commitizen
rev: v3.28.0
rev: v3.29.0
hooks:
- id: commitizen
stages: [commit-msg]
Expand All @@ -41,7 +41,7 @@ repos:
- id: prettier
args: ["--tab-width", "2"]
- repo: https://github.com/asottile/pyupgrade
rev: v3.16.0
rev: v3.17.0
hooks:
- id: pyupgrade
args: [--py37-plus]
Expand Down
2 changes: 2 additions & 0 deletions ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ lint.ignore = [
"CPY001", # Missing copyright notice at top of file
"D203", # 1 blank line required before class docstring
"D213", # Multi-line docstring summary should start at the second line
"DOC201", # Docstring missing returns
"DOC501", # Docstring missing raises
"EM101", # Exception must not use a string literal, assign to variable first
"EM102", # Exception must not use an f-string literal, assign to variable first
"FBT001", # Boolean-typed positional argument in function definition
Expand Down

0 comments on commit ee30122

Please sign in to comment.