-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Detect unneeded async
keywords on functions
#9966
Detect unneeded async
keywords on functions
#9966
Commits on Feb 12, 2024
-
[
ruff
] Issue astral-sh#9951, RUF029: started implementation that de……tects an async function w/o await
Configuration menu - View commit details
-
Copy full SHA for bd6ccde - Browse repository at this point
Copy the full SHA bd6ccdeView commit details -
[
ruff
] Issue astral-sh#9951, RUF029: detect async function w/o awai……t or async_for or async_with
Configuration menu - View commit details
-
Copy full SHA for dad3ee2 - Browse repository at this point
Copy the full SHA dad3ee2View commit details -
[
ruff
] Issue astral-sh#9951, RUF029: fix rust lister errors by remo……ving unused imports
Configuration menu - View commit details
-
Copy full SHA for 71d908a - Browse repository at this point
Copy the full SHA 71d908aView commit details -
Configuration menu - View commit details
-
Copy full SHA for dc7260d - Browse repository at this point
Copy the full SHA dc7260dView commit details -
[
ruff
] Issue astral-sh#9951, RUF029: documentation; examples do not…… seem necessary for this rule
Configuration menu - View commit details
-
Copy full SHA for 44b70fe - Browse repository at this point
Copy the full SHA 44b70feView commit details -
[
ruff
] Issue astral-sh#9951, RUF029: cargo dev generate-all and the……n accept the test snapshot
Configuration menu - View commit details
-
Copy full SHA for 3b8f1be - Browse repository at this point
Copy the full SHA 3b8f1beView commit details
Commits on Feb 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8635433 - Browse repository at this point
Copy the full SHA 8635433View commit details
Commits on Apr 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b8af383 - Browse repository at this point
Copy the full SHA b8af383View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6070957 - Browse repository at this point
Copy the full SHA 6070957View commit details -
[
ruff
] Issue astral-sh#9951, RUF029: tweak language about why it is…… bad to have unused asyncs
Configuration menu - View commit details
-
Copy full SHA for 503c468 - Browse repository at this point
Copy the full SHA 503c468View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff5023e - Browse repository at this point
Copy the full SHA ff5023eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b014a52 - Browse repository at this point
Copy the full SHA b014a52View commit details -
[
ruff
] Issue astral-sh#9951, RUF029:cargo insta review
to accept…… the reformatted RUF029 fixture output due to ff5023e
Configuration menu - View commit details
-
Copy full SHA for 65d85ed - Browse repository at this point
Copy the full SHA 65d85edView commit details -
[
ruff
] Issue astral-sh#9951, RUF029: take the whole function as an ……argument to avoid the posibility of wrong inputs per charlie
Configuration menu - View commit details
-
Copy full SHA for 700dd15 - Browse repository at this point
Copy the full SHA 700dd15View commit details -
[
ruff
] Issue astral-sh#9951, RUF029: rename the field from found_fi……eld to found_await_or_yield
Configuration menu - View commit details
-
Copy full SHA for 5dc2d9e - Browse repository at this point
Copy the full SHA 5dc2d9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 939ba6e - Browse repository at this point
Copy the full SHA 939ba6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e53f2e7 - Browse repository at this point
Copy the full SHA e53f2e7View commit details -
[
ruff
] Issue astral-sh#9951, RUF029: change the test case that only…… yields to a fail-case per @carljm (yield does not require async)
Configuration menu - View commit details
-
Copy full SHA for 4dce6c5 - Browse repository at this point
Copy the full SHA 4dce6c5View commit details -
[
ruff
] Issue astral-sh#9951, RUF029: change comments and docstrings…… to remove the word yield
Configuration menu - View commit details
-
Copy full SHA for b65f072 - Browse repository at this point
Copy the full SHA b65f072View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2812646 - Browse repository at this point
Copy the full SHA 2812646View commit details
Commits on Apr 16, 2024
-
[
ruff
] Issue astral-sh#9951, RUF029: format fixture for RUF029 test…… and rename a fail-case
Configuration menu - View commit details
-
Copy full SHA for c8ea017 - Browse repository at this point
Copy the full SHA c8ea017View commit details -
Configuration menu - View commit details
-
Copy full SHA for e087be2 - Browse repository at this point
Copy the full SHA e087be2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1cb7765 - Browse repository at this point
Copy the full SHA 1cb7765View commit details -
[
ruff
] Issue astral-sh#9951, RUF029: report only the name of the fu……nction as the problem area
Configuration menu - View commit details
-
Copy full SHA for f28fd87 - Browse repository at this point
Copy the full SHA f28fd87View commit details -
[
ruff
] Issue astral-sh#9951, RUF029: skip the rest of traversal aft……er finding an async/await (per @MichaReiser)
Configuration menu - View commit details
-
Copy full SHA for 41f0ac5 - Browse repository at this point
Copy the full SHA 41f0ac5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 473e7aa - Browse repository at this point
Copy the full SHA 473e7aaView commit details -
[
ruff
] Issue astral-sh#9951, RUF029: supplement the tests with asyn……cs inside asyncs (fail_4a, fail_4b) with tests having asyncs inside of normal functions (pass_5, fail_4c)
Configuration menu - View commit details
-
Copy full SHA for e4abecb - Browse repository at this point
Copy the full SHA e4abecbView commit details -
[
ruff
] Issue astral-sh#9951, RUF029: implement traversals of StmtFu……nctionDef and StmtClass def that do not traverse the body, use them in spurious async to avoid attributing correct /inner/ async functions to incorrect outer functions
Configuration menu - View commit details
-
Copy full SHA for b714e80 - Browse repository at this point
Copy the full SHA b714e80View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59c9639 - Browse repository at this point
Copy the full SHA 59c9639View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5dd1b3 - Browse repository at this point
Copy the full SHA c5dd1b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for c53b32f - Browse repository at this point
Copy the full SHA c53b32fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2694d4a - Browse repository at this point
Copy the full SHA 2694d4aView commit details -
[
ruff
] Issue astral-sh#9951, RUF029: add filter to avoid checking f……unctions in class definitions using semantic scope info (per @charliermarsh, and thanks to @MichaReiser)
Configuration menu - View commit details
-
Copy full SHA for 717f884 - Browse repository at this point
Copy the full SHA 717f884View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10313fd - Browse repository at this point
Copy the full SHA 10313fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f2af61 - Browse repository at this point
Copy the full SHA 7f2af61View commit details -
[
ruff
] Issue astral-sh#9951, RUF029: insta review - the string expl……anation has quotes
Configuration menu - View commit details
-
Copy full SHA for 154d1f4 - Browse repository at this point
Copy the full SHA 154d1f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc9094e - Browse repository at this point
Copy the full SHA fc9094eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f17dea9 - Browse repository at this point
Copy the full SHA f17dea9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 212dfac - Browse repository at this point
Copy the full SHA 212dfacView commit details