Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#58)
Browse files Browse the repository at this point in the history
<!--pre-commit.ci start-->
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.0.280 →
v0.0.281](astral-sh/ruff-pre-commit@v0.0.280...v0.0.281)
<!--pre-commit.ci end-->

---------

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alexander Piskun <13381981+bigcat88@users.noreply.github.com>
Co-authored-by: Alexander Piskun <bigcat88@icloud.com>
  • Loading branch information
3 people authored Jul 31, 2023
1 parent e1ef3e5 commit f149e52
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ repos:
- id: pyproject-fmt

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.280
rev: v0.0.281
hooks:
- id: ruff

Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@ select = ["A", "B", "C", "D212", "E", "F", "UP", "W"]
"nc_py_api/__init__.py" = ["F401"]

[tool.ruff.extend-per-file-ignores]
"benchmarks/**/*.py" = ['D']
"docs/**/*.py" = ['D']
"examples/**/*.py" = ['D']
"tests/**/*.py" = ["D", "E402"]
"benchmarks/**/*.py" = ["D"]
"docs/**/*.py" = ["D"]
"examples/**/*.py" = ["D"]
"tests/**/*.py" = ["D", "E402", "UP"]

[tool.ruff.mccabe]
max-complexity = 16
Expand Down

0 comments on commit f149e52

Please sign in to comment.