| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,12 @@ | |||
| 1 | + # Default settings for Ruff in CPython | ||
| 2 | + | ||
| 3 | + # PYTHON_FOR_REGEN | ||
| 4 | + target-version = "py310" | ||
| 5 | + | ||
| 6 | + # PEP 8 | ||
| 7 | + line-length = 79 | ||
| 8 | + | ||
| 9 | + # Enable automatic fixes by default. | ||
| 10 | + # To override this, use ``fix = false`` in a subdirectory's config file | ||
| 11 | + # or ``--no-fix`` on the command line. | ||
| 12 | + fix = true | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,7 +1,6 @@ | |||
| 1 | + extend = "../.ruff.toml" # Inherit the project-wide settings | ||
| 2 | + | ||
| 1 | 3 | target-version = "py312" # Align with the version in oldest_supported_sphinx | |
| 2 | - fix = true | ||
| 3 | - output-format = "full" | ||
| 4 | - line-length = 79 | ||
| 5 | 4 | extend-exclude = [ | |
| 6 | 5 | "includes/*", | |
| 7 | 6 | # Temporary exclusions: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,5 @@ | |||
| 1 | - fix = true | ||
| 1 | + extend = "../../.ruff.toml" # Inherit the project-wide settings | ||
| 2 | + | ||
| 2 | 3 | extend-exclude = [ | |
| 3 | 4 | # Excluded (run with the other AC files in its own separate ruff job in pre-commit) | |
| 4 | 5 | "test_clinic.py", | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,4 @@ | |||
| 1 | - target-version = "py310" | ||
| 2 | - fix = true | ||
| 3 | - line-length = 79 | ||
| 1 | + extend = "../../.ruff.toml" # Inherit the project-wide settings | ||
| 4 | 2 | ||
| 5 | 3 | [lint] | |
| 6 | 4 | select = [ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,5 +1,4 @@ | |||
| 1 | - target-version = "py310" | ||
| 2 | - fix = true | ||
| 1 | + extend = "../../.ruff.toml" # Inherit the project-wide settings | ||
| 3 | 2 | ||
| 4 | 3 | [lint] | |
| 5 | 4 | select = [ | |
| Back | FazBrowse Home | New Git URL |
0 commit comments