| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -19,13 +19,13 @@ repos: | |||
| 19 | 19 | - id: django-upgrade | |
| 20 | 20 | args: [--target-version, "3.2"] | |
| 21 | 21 | - repo: https://github.com/astral-sh/ruff-pre-commit | |
| 22 | - rev: v0.15.22 | ||
| 22 | + rev: v0.16.2 | ||
| 23 | 23 | hooks: | |
| 24 | - - id: ruff | ||
| 24 | + - id: ruff-check | ||
| 25 | 25 | args: [--unsafe-fixes] | |
| 26 | 26 | - id: ruff-format | |
| 27 | 27 | - repo: https://github.com/tox-dev/pyproject-fmt | |
| 28 | - rev: v2.25.3 | ||
| 28 | + rev: v2.27.0 | ||
| 29 | 29 | hooks: | |
| 30 | 30 | - id: pyproject-fmt | |
| 31 | 31 | - repo: https://github.com/abravalheri/validate-pyproject | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -14,7 +14,7 @@ def add_arguments(self, parser): | |||
| 14 | 14 | ) | |
| 15 | 15 | ||
| 16 | 16 | def handle(self, *args, **options): | |
| 17 | - dataset, sep, args = options["dataset"].partition(":") | ||
| 17 | + dataset, _sep, args = options["dataset"].partition(":") | ||
| 18 | 18 | try: | |
| 19 | 19 | ds = DATASETS[dataset] | |
| 20 | 20 | except KeyError: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -90,8 +90,9 @@ lint.extend-select = [ | |||
| 90 | 90 | lint.extend-ignore = [ | |
| 91 | 91 | # Allow zip() without strict= | |
| 92 | 92 | "B905", | |
| 93 | - # No line length errors | ||
| 93 | + "DTZ011", # No line length errors | ||
| 94 | 94 | "E501", | |
| 95 | + "RUF012", | ||
| 95 | 96 | # Who cares | |
| 96 | 97 | "UP031", | |
| 97 | 98 | ] | |
| Back | FazBrowse Home | New Git URL |
0 commit comments