Skip to content

Commit 85e00ff

Browse files
[pre-commit.ci] pre-commit autoupdate (#573)
<!--pre-commit.ci start--> updates: - [github.com/astral-sh/ruff-pre-commit: v0.1.3 → v0.2.0](astral-sh/ruff-pre-commit@v0.1.3...v0.2.0) <!--pre-commit.ci end--> --------- Signed-off-by: Jinzhe Zeng <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Jinzhe Zeng <[email protected]>
1 parent 9a03f77 commit 85e00ff

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ repos:
1919
# Python
2020
- repo: https://github.com/astral-sh/ruff-pre-commit
2121
# Ruff version.
22-
rev: v0.1.3
22+
rev: v0.2.0
2323
hooks:
2424
- id: ruff
2525
args: ["--fix"]

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ write_to = "dpdata/_version.py"
7171
[tool.isort]
7272
profile = "black"
7373

74-
[tool.ruff]
74+
[tool.ruff.lint]
7575
select = [
7676
"E", # errors
7777
"F", # pyflakes
@@ -101,5 +101,5 @@ ignore = [
101101
]
102102
ignore-init-module-imports = true
103103

104-
[tool.ruff.pydocstyle]
104+
[tool.ruff.lint.pydocstyle]
105105
convention = "numpy"

0 commit comments

Comments
 (0)