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
While capitalise-enum-members (with an s) works as described, the alternative spelling, capitalize-enum-members (with a z), is completely ignored when it is specified in a pyproject.toml file. It is not even validated, so even setting it to a non-boolean value does not cause a validation error. Thus, using this option (with a z) does not produce enum member names in all caps. Note, however, that when the alternative spelling is given directly on the command line, it works as expected. Specifying it in pyproject.toml does not work as expected.
Describe the bug
While
capitalise-enum-members
(with ans
) works as described, the alternative spelling,capitalize-enum-members
(with az
), is completely ignored when it is specified in apyproject.toml
file. It is not even validated, so even setting it to a non-boolean value does not cause a validation error. Thus, using this option (with az
) does not produce enum member names in all caps. Note, however, that when the alternative spelling is given directly on the command line, it works as expected. Specifying it inpyproject.toml
does not work as expected.To Reproduce
In
pyproject.toml
:Used commandline:
Expected behavior
Enum member names should be in all caps.
Version:
The text was updated successfully, but these errors were encountered: