Open edgarrmondragon opened 1 year ago
Has there been a decision to include this yet? Seems quite a few people would use it
Any decisions on this? It would be an awesome addition
This one's hard to implement and can generally be unsafe. We don't have plans to implement it soon. Now that we unsafe fix support it might be more reasonable.
cc @AlexWaygood this kind of thing may be worth considering in categorization.
I think auto-fixing isn't even the feature request here - although certainly a nice bonus.
Just having the detection capability would be great.
Does your argument only apply to the fixing part or do you also consider the detection hard to implement?
+1 to this, would be awesome to have it! I think almost any Python project defines many classes, hence having a consistent order of attributes is critical.
+1, even having the capability to detect inconsistencies without having an auto-fix as such would be great!
Hello, Is there a plan to support this flake8 extension? https://pypi.org/project/flake8-class-attributes-order/
Originally posted by @WorkHardes in https://github.com/charliermarsh/ruff/issues/106#issuecomment-1347928865
CCE001
: Wrong class attributes order (XXX should be after YYY
)CCE002
: Class level expression detected