We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
def funkier(): for val in range(3): pass print(val)
No config file found, using default configuration ************* Module test C: 4, 0: Unnecessary parens after 'print' keyword (superfluous-parens) C: 1, 0: Missing module docstring (missing-docstring) C: 1, 0: Missing function docstring (missing-docstring) W: 4,10: Using possibly undefined loop variable 'val' (undefined-loop-variable) ------------------------------------------------------------------ Your code has been rated at 0.00/10 (previous run: 0.00/10, +0.00)
Pylint thinks that val in range( number ) may not get defined
val in range( number )
range( number ) will always pass back a value, flag shouldn't raise
range( number )
No config file found, using default configuration pylint 1.9.3, astroid 1.6.5 Python 2.7.15 (default, May 16 2018, 17:50:09) [GCC 8.1.1 20180502 (Red Hat 8.1.1-1)]
The text was updated successfully, but these errors were encountered:
0a39200
Thank you, should be fixed now.
Sorry, something went wrong.
No branches or pull requests
Steps to reproduce
Current behavior
Pylint thinks that
val in range( number )
may not get definedExpected behavior
range( number )
will always pass back a value, flag shouldn't raisepylint --version output
The text was updated successfully, but these errors were encountered: