diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cda71e761..3ae8612a2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,7 +18,7 @@ repos: - id: black - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.1.13 + rev: v0.2.1 hooks: # Run the linter. - id: ruff diff --git a/pyproject.toml b/pyproject.toml index b556c2657..7d80dec3b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,6 +30,9 @@ exclude = [ "versioneer.py", "fsspec/_version", ] +line-length = 88 + +[tool.ruff.lint] select = [ # fix noqas in fsspec/implementations/http.py "ASYNC", @@ -56,7 +59,6 @@ select = [ "SLOT", "SIM101", ] -line-length = 88 ignore = [ # Assigning lambda expression "E731",