Skip to content

Commit 101436e

Browse files
committed
Add lint rule comments
1 parent e67289d commit 101436e

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

pyproject.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -259,19 +259,19 @@ extend-select = [
259259
"C4", # flake8-comprehensions
260260
"NPY", # numpy-specific rules
261261
"RUF", # ruff builtins
262-
"ISC",
263-
"PIE",
262+
"ISC", # implicit string concatenation
263+
"PIE", # flake8-pie
264264
"RSE", # unnecessary parantheses on raised exceptions
265265
"TID", # no relative imports from parent modules
266266
"PLE", # pylint errors
267267
"PLC", # pylint conventions
268268
]
269269
extend-ignore = [
270-
"RUF001",
271-
"RUF002",
272-
"RUF003",
273-
"RUF012",
274-
"RUF015",
270+
"RUF001", # ambiguous unicode characters
271+
"RUF002", # ambiguous unicode characters
272+
"RUF003", # ambiguous unicode characters
273+
"RUF012", # type hints for mutable defaults
274+
"RUF015", # next(iter(...)) instead of list(...)[0]
275275
"E501", # line too long
276276
"B905", # `zip()` without an explicit `strict=` parameter
277277
"UP007", # TODO: Remove once Python >= 3.10

0 commit comments

Comments
 (0)