Open smokestacklightnin opened 1 week ago
Hi @smokestacklightnin, Thank you for reporting. I'll take a look and provide an update here.
QQ. How could you see those Ruff errors?
QQ. How could you see those Ruff errors?
Using the ruff check
command
Hmm.. My ruff check
shows different errors like F401, and there is no B024 and B027. Could you let me know how to reproduce your output?
This on example of a command I used on the master
branch:
$ 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!
If the bug is related to a specific library below, please raise an issue in the respective repo directly: TFX
System information
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: