diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index e664c7d..7dfda15 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -20,4 +20,4 @@ jobs: # Run `ruff` using github formatting to enable automatic inline annotations. - name: Run ruff - run: "ruff check --format=github ." + run: "ruff check --output-format=github ." diff --git a/pyproject.toml b/pyproject.toml index 97cc931..49ba578 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,16 +27,19 @@ start-dev = "uvicorn api.main:app --reload" [tool.ruff] target-version = "py310" extend-exclude = [".cache"] +select = ["ALL"] ignore = [ "ANN002", "ANN003", "ANN101", "C901", + "CPY001", "D100", "D104", "D105", "D107", "D203", "D212", "D214", "D215", "D416", "EM", "PLR0912", "TRY003", ] line-length = 120 -select = ["ALL"] +unsafe-fixes = true +preview = true [tool.ruff.isort] order-by-type = false