You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
QA checks which we expect later to review + possibly remove.
The ultimate goal is to have few or no 'ignored' Ruff checks.
But for now, a few are accepted as "permanent", in fact the same as the Iris ones : see below
The main (lint) controls are in the pyproject.toml "[tool.ruff.lint]" section e.g. these lines (as-after #568)
QA checks which we expect later to review + possibly remove.
The ultimate goal is to have few or no 'ignored' Ruff checks.
But for now, a few are accepted as "permanent", in fact the same as the Iris ones : see below
The main (lint) controls are in the pyproject.toml "[tool.ruff.lint]" section e.g. these lines (as-after #568)
So-far chosen permanent disables :
flake8-commas (COM) # https://docs.astral.sh/ruff/rules/#flake8-commas-com
flake8-implicit-str-concat (ISC) # https://docs.astral.sh/ruff/rules/single-line-implicit-string-concatenation/
Note: interactions
The
select
key specifically includes "D212 : Multi-line docstring summary should start at the first line",because this conflicts with "D213 : Multi-line docstring summary should start at the second line",
so it is explicitly added to the select :
select = ["ALL". "D212"]
There are other possible conflicts like this, too, in which case "ALL" does not enable either rule.
See list of conflicting rules and linter rule selection
Remaining temporarily disabled checks :
flake8-builtins-a
flake8-annotations (ANN)
flake8-unused-arguments (ARG)
flake8-bugbear (B)
flake8-blind-except (BLE)
flake8-comprehensions (C4)
pydocstyle (D)
flake8-datetimez (DTZ)
flake8-errmsg (EM)
eradicate (ERA)
flake8-boolean-trap (FBT)
flake8-fixme (FIX)
isort (I)
pep8-naming (N)
Numpy-specific rules (NPY)
Perflint (PERF)
Refactor (R)
Warning (W)
flake8-pytest-style (PT)
flake8-use-pathlib (PTH)
flake8-pyi (PYI)
flake8-return (RET)
flake8-raise (RSE)
Ruff-specific rules (RUF)
flake8-bandit (S)
flake8-simplify (SIM)
flake8-self (SLF)
flake8-print (T20)
flake8-todos (TD)
tryceratops (TRY)
pyupgrade (UP)
The text was updated successfully, but these errors were encountered: