-
Notifications
You must be signed in to change notification settings - Fork 724
Abstract base classes have incorrectly decorated methods #6943
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Hi @smokestacklightnin, |
QQ. How could you see those Ruff errors? |
Using the |
Hmm.. My |
This on example of a command I used on the $ ruff check tfx --exclude tfx/examples/airflow_workshop/taxi/notebooks/*.ipynb --select B from the root project directory |
Great! Now I see the message. Thanks a lot! |
Hi @smokestacklightnin |
This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you. |
This issue was closed due to lack of activity after being marked stale for past 7 days. |
If the bug is related to a specific library below, please raise an issue in the
respective repo directly: TFX
System information
Interactive Notebook, Google Cloud, etc): All
pip freeze
output): AllDescribe the current behavior
There are currently violations of Ruff rules B024 and B027, which have to do with incorrectly decorated class methods/properties. Fixing them currently causes errors (See #6942), so that issue should be dealt with before this one.
Describe the expected behavior
See python docs for the correct way to make methods and properties abstract.
Other info / logs
The code violating B024 and B027 is listed below:
The text was updated successfully, but these errors were encountered: