From 208d714c16aa678ebe667b6760a290a9aa903b19 Mon Sep 17 00:00:00 2001 From: Rehan Khwaja Date: Sat, 18 May 2024 21:17:41 -0700 Subject: [PATCH] Update ruff >= 0.4.4 --- pyproject.toml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 53ac569..8c5c5a7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,10 +38,10 @@ poethepoet = ">=0.16.4" pyngrok = ">=7" pytest-localserver = ">=0.5.0" pytest-xdist = ">=3.2.1" -ruff = ">=0.0.291" +ruff = ">=0.4.4" [tool.poe.tasks] -lint = "ruff fs/googledrivefs/ tests/" +lint = "ruff check fs/googledrivefs/ tests/" [tool.poe.tasks.test] shell = """ @@ -56,15 +56,15 @@ coverage xml [tool.ruff] line-length = 200 -ignore = ["ANN", "D", "DTZ", "EM102", "ERA001", "FBT002", "FIX", "G004", "I", "N", "PT009", "PT027", "PT013", "PTH", "S101", "TCH003", "TD", "TRY003", "W191"] -select = ["ALL"] +lint.ignore = ["ANN", "D", "DTZ", "EM102", "ERA001", "FBT002", "FIX", "G004", "I", "N", "PT009", "PT027", "PT013", "PTH", "S101", "TCH003", "TD", "TRY003", "W191"] +lint.select = ["ALL"] target-version = "py37" -[tool.ruff.extend-per-file-ignores] +[tool.ruff.lint.extend-per-file-ignores] "__init__.py" = ["F401"] "tests/*" = ["ANN201", "D103", "INP001", "PT006"] -[tool.ruff.flake8-quotes] +[tool.ruff.lint.flake8-quotes] inline-quotes = "single" multiline-quotes = "single"