-
Notifications
You must be signed in to change notification settings - Fork 1
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
Call for testing ruff
#66
Comments
Automated testing success. Full logs are available at https://github.com/snapcrafters/ruff/actions/runs/11803988896. The first 100, and last 100 lines of the log are displayed in the Summary below. Logs
Use instead: from airflow.operators import PythonOperator
my_task = PythonOperator(task_id="my_task") commented-out-code (ERA001)Derived from the eradicate linter. What it doesChecks for commented-out Python code. Why is this bad?Commented-out code is dead code, and is often included inadvertently. Known problemsProne to false positives when checking comments that resemble Python code, Example# print("Hello, world!") Options
fast-api-redundant-response-model (FAST001)Derived from the FastAPI linter. (Logs truncated. See full logs at: https://github.com/snapcrafters/ruff/actions/runs/11803988896)
334 | mypyc/irbuild/function.py:420:14: F841 Local variable mypyc/irbuild/function.py:957:29: F841 Local variable mypyc/irbuild/function.py:1065:22: F841 Local variable mypyc/irbuild/function.py:1065:32: F841 Local variable mypyc/irbuild/function.py:1085:22: F841 Local variable mypyc/irbuild/function.py:1085:32: F841 Local variable mypyc/irbuild/main.py:146:22: F841 Local variable Found 32 errors (2 fixed, 30 remaining). ::group::Repository: https://github.com/tiangolo/fastapi Found 4 errors (3 fixed, 1 remaining).
|
/promote 1173,1176,1177,1175,1174 latest/stable done |
The following revisions were released to the |
A new version (0.7.3) of
ruff
was just pushed to thelatest/candidate
channel in the snap store. The following revisions are available.Automated testing
If configured, the snap will be installed in a VM, and any test results or screenshots will be posted to this issue as a comment shortly.
How to test it manually
How to release it
Maintainers can promote this to stable by commenting
/promote <rev>[,<rev>] latest/stable [done]
.You can promote all revisions that were just built with:
The text was updated successfully, but these errors were encountered: