Skip to content
Merged
Prev Previous commit
Next Next commit
chore(ruff): SLF001
  • Loading branch information
cmp0xff committed Oct 7, 2025
commit faa516e047154a203016bad42c4607385e212eb4
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,8 @@ ignore = [
"PLC0415", # https://docs.astral.sh/ruff/rules/import-outside-top-level/
"S101", # https://docs.astral.sh/ruff/rules/assert/
"S301", # https://docs.astral.sh/ruff/rules/suspicious-pickle-usage/
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can limit this to one file tests/test_io.py

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

"SLF001", # https://docs.astral.sh/ruff/rules/private-member-access/
# The following rules are ignored temporarily. Either fix them or move to the permanent list above.
"SLF001", # https://docs.astral.sh/ruff/rules/private-member-access/
"ANN", "ARG", "ERA", "RUF", "SIM", "TRY", "PT", "NPY", "N", "DTZ", "PLR", "TC", "PGH", "PTH", "S311", "C901", "FIX", "TD", "A001", "PYI042", "ANN201"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • FIX and TD relates to TODO, so we can do a per-file ignore
  • Surprised that ANN201 isn't already taken care of because that's the one that requires return types on functions

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • FIX and TD now more detailed
  • ANN201 will be fixed in a separate PR

]

Expand Down