-
Notifications
You must be signed in to change notification settings - Fork 710
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Abstract base classes have incorrectly decorated methods #6943
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 |
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: