flake8-variables-names
flake8-variables-names copied to clipboard
Fix false positive issue with '_' variable
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')