-
-
Notifications
You must be signed in to change notification settings - Fork 449
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
Undefined names: nameserver and files #11
Comments
[?] Enter the target: Traceback (most recent call last): getting this error. |
The first issue is closed but the second and third still exist. |
Why we need to name them if the script does what its designed to do without any problems? ;_; |
PEP 20 line 2: Explicit is better than implicit. The issue is that if this code gets run or modified in a way where these implicit variables are not defined then a NameError is raised at runtime. Making them explicit results in code that is less prone to runtime failure. |
flake8 testing of https://github.com/UltimateHackers/Striker on Python 2.7.14
$ time flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
The text was updated successfully, but these errors were encountered: