ruff
2ada8b66 - Document options for more rules (#22295)

Commit
27 days ago
Document options for more rules (#22295) Summary -- This is a follow up to #22198 documenting more rule options I found while going through all of our rules. The second commit renames the internal `flake8_gettext::Settings::functions_names` field to `function_names` to match the external configuration option. I guess this is technically breaking because it's exposed to users via `--show-settings`, but I don't think we consider that part of our stable API. I can definitely revert that if needed, though. The other changes are just like #22198, adding new `## Options` sections to rules to document the settings they use. I missed these in the previous PR because they were used outside the rule implementations themselves. Most of these settings are checked where the rules' implementation functions are called instead. Oh, the last commit also updates the removal date for `typing.ByteString`, which got pushed back in the 3.14 release. I snuck that in today since I never opened this PR last week. I also fixed one reference link in RUF041. Test Plan -- Docs checks in CI
Author
Parents
Loading