Closed bbelderbos closed 1 year ago
With Flake8 you can add # noqa to ignore violations for specific lines. This could be useful here as well when you don't want to include certain functions in the codelimit report (for whatever reason).
# noqa
Suggestion: def my_long_function(...) # nocl
def my_long_function(...) # nocl
nocl = "no code limit"
/cib
Branch issue-20-support_a_nocl_comment_that_ignores_particular_functions created!
Hi @bbelderbos 👋
This option is in main now 🚀
main
Please see the documentation for some examples of how to use it.
Thanks for suggesting this feature!
That's awesome @robvanderleek, thanks!
With Flake8 you can add
# noqa
to ignore violations for specific lines. This could be useful here as well when you don't want to include certain functions in the codelimit report (for whatever reason).Suggestion:
def my_long_function(...) # nocl
nocl = "no code limit"