Skip to content

Commit c24a9d8

Browse files
authored
Update ruff to 0.2.1 (#1525)
1 parent 510ca5d commit c24a9d8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ repos:
1818
- id: black
1919
- repo: https://github.com/astral-sh/ruff-pre-commit
2020
# Ruff version.
21-
rev: v0.1.13
21+
rev: v0.2.1
2222
hooks:
2323
# Run the linter.
2424
- id: ruff

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ exclude = [
3030
"versioneer.py",
3131
"fsspec/_version",
3232
]
33+
line-length = 88
34+
35+
[tool.ruff.lint]
3336
select = [
3437
# fix noqas in fsspec/implementations/http.py
3538
"ASYNC",
@@ -56,7 +59,6 @@ select = [
5659
"SLOT",
5760
"SIM101",
5861
]
59-
line-length = 88
6062
ignore = [
6163
# Assigning lambda expression
6264
"E731",

0 commit comments

Comments
 (0)