Skip to content

Commit f1c14ca

Browse files
committed
Upgrade ruff=0.11.0
1 parent 41f6b85 commit f1c14ca

File tree

3 files changed

+24
-23
lines changed

3 files changed

+24
-23
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
- name: "Check out repository code"
7777
uses: "actions/checkout@v4"
7878
- name: "Setup environment"
79-
run: "pip install ruff==0.8.6"
79+
run: "pip install ruff==0.11.0"
8080
- name: "Linting: ruff check"
8181
run: "ruff check ."
8282
- name: "Linting: ruff format"

poetry.lock

Lines changed: 21 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ pre-commit = "^2.20.0"
5858
types-toml = "*"
5959
types-ujson = "*"
6060
types-pyyaml = "*"
61-
ruff = "0.8.6"
61+
ruff = "0.11.0"
6262
pytest-xdist = "^3.3.1"
6363
types-python-slugify = "^8.0.0.3"
6464
invoke = "^2.2.0"
@@ -213,6 +213,7 @@ ignore = [
213213
"SIM118", # Use `key in dict` instead of `key in dict.keys)
214214
"TC003", # Move standard library import `collections.abc.Iterable` into a type-checking block
215215
"UP031", # Use format specifiers instead of percent format
216+
"UP045", # Use `X | None` for type annotations
216217
]
217218

218219

0 commit comments

Comments
 (0)