flake8-variables-names icon indicating copy to clipboard operation
flake8-variables-names copied to clipboard

Fix false positive issue with '_' variable

Open leoncleonc opened this issue 7 months ago • 0 comments

Fix issue with underscore variable name.

def foo(bar: str) -> None:
    print(bar)

for _ in range(10):  # <- variable names that shadow builtins are not allowed Flake8 (VNE003)
    foo('hello')

leoncleonc avatar Jun 28 '24 16:06 leoncleonc