Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#573)
Browse files Browse the repository at this point in the history
<!--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]>
  • Loading branch information
pre-commit-ci[bot] and njzjz authored Feb 11, 2024
1 parent 9a03f77 commit 85e00ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repos:
# Python
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.1.3
rev: v0.2.0
hooks:
- id: ruff
args: ["--fix"]
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ write_to = "dpdata/_version.py"
[tool.isort]
profile = "black"

[tool.ruff]
[tool.ruff.lint]
select = [
"E", # errors
"F", # pyflakes
Expand Down Expand Up @@ -101,5 +101,5 @@ ignore = [
]
ignore-init-module-imports = true

[tool.ruff.pydocstyle]
[tool.ruff.lint.pydocstyle]
convention = "numpy"

0 comments on commit 85e00ff

Please sign in to comment.