Skip to content

Commit aa77987

Browse files
committed
Added another ignore related to df for DataFrame names
Signed-off-by: Florian <[email protected]>
1 parent 7cff360 commit aa77987

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ ignore = [
164164
"F401", # imported but unused; consider using `importlib.util.find_spec` to test for "
165165
"F811", # "redefinition of the same function"
166166
"PL", # Pylint
167+
"PD901", # Avoid using the generic variable name `df` for DataFrames
167168
"RUF002", # Docstring contains ambiguous `‑` (NON-BREAKING HYPHEN).
168169
"RUF003", # Comment contains ambiguous `‑` (NON-BREAKING HYPHEN).
169170
"RUF005", # Consider ... instead of concatenation
@@ -175,6 +176,7 @@ ignore = [
175176
"UP035", # `typing.Set` is deprecated, use `set` instead"
176177
]
177178

179+
178180
[tool.ruff.lint.pep8-naming]
179181
classmethod-decorators = [
180182
# Allow Pydantic's `@validator` decorator to trigger class method treatment.

0 commit comments

Comments
 (0)