Skip to content

Commit 19ebafb

Browse files
authored
⬆️ deps: bump ruff to v0.13.0 and remove UP038 from config (#24)
1 parent 12a7223 commit 19ebafb

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repos:
1010
- id: end-of-file-fixer
1111
- id: trailing-whitespace
1212
- repo: https://github.com/astral-sh/ruff-pre-commit
13-
rev: v0.9.6
13+
rev: v0.13.0
1414
hooks:
1515
- id: ruff
1616
args: [--fix, --exit-non-zero-on-fix, --no-cache]

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,11 @@ select = [
7777
"RUF100",
7878
]
7979
ignore = [
80-
"E501", # line too long, duplicate with ruff fmt
81-
"F401", # imported but unused, duplicate with pyright
82-
"F841", # local variable is assigned to but never used, duplicate with pyright
83-
"UP038", # It will cause the performance regression on python3.10
80+
"E501", # line too long, duplicate with ruff fmt
81+
"F401", # imported but unused, duplicate with pyright
82+
"F841", # local variable is assigned to but never used, duplicate with pyright
8483
]
84+
future-annotations = true
8585

8686
[tool.ruff.lint.isort]
8787
required-imports = ["from __future__ import annotations"]

0 commit comments

Comments
 (0)