Skip to content

Commit 83e0782

Browse files
committed
Add references.
1 parent 7b7726d commit 83e0782

31 files changed

+33
-5
lines changed

docs/correctness/assigning_to_function_call_which_only_returns_none.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,4 @@ To achieve the desired result of printing "hello" to the screen, the ``hello`` f
6666
References
6767
----------
6868
- `Stack Overflow - Assigning a function to a variable <http://stackoverflow.com/questions/10354163/assigning-a-function-to-a-variable>`_
69+
- `PyLint - W1111 <http://pylint-messages.wikidot.com/messages:w1111>`_

docs/correctness/do_not_assign_a_lambda_expression.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,4 @@ References
5353
----------
5454
- `PEP 8 Style Guide - Programming Recommendations <http://legacy.python.org/dev/peps/pep-0008/#programming-recommendations>`_
5555
- `Stack Overflow - Do not assign a lambda expression <http://stackoverflow.com/questions/25010167/e731-do-not-assign-a-lambda-expression-use-a-def>`_
56-
56+
- pep8 - E731

docs/correctness/indentation_contains_mixed_spaces_and_tabs.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,4 @@ References
4848
----------
4949
- `PEP 8 Style Guide - Tabs or Spaces? <http://legacy.python.org/dev/peps/pep-0008/#tabs-or-spaces>`_
5050
- `PEP 8 Style Guide - Indentation <http://legacy.python.org/dev/peps/pep-0008/#indentation>`_
51+
- pep8 - E731

docs/correctness/indentation_contains_tabs.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,4 @@ References
4848
----------
4949
- `PEP 8 Style Guide - Tabs or Spaces? <http://legacy.python.org/dev/peps/pep-0008/#tabs-or-spaces>`_
5050
- `PEP 8 Style Guide - Indentation <http://legacy.python.org/dev/peps/pep-0008/#indentation>`_
51+
- pep8 - W191

docs/correctness/iter_returns_non-iterator.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,4 @@ References
7575
- `The Python Tutorial - Iterators <https://docs.python.org/3/tutorial/classes.html#iterators>`_
7676
- `The Python Language Reference - Iterator Types <https://docs.python.org/2/library/stdtypes.html#iterator-types>`_
7777
- `Stack Overflow - Understanding Python's Iterator, Iterable, and Iteration Protocols <http://stackoverflow.com/questions/9884132/understanding-pythons-iterator-iterable-and-iteration-protocols-what-exact>`_
78+
- PyLint - W0234

docs/maintainability/duplicate_key_in_dictionary.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,4 @@ In the modified module below the second, duplicate entry for ``gmt`` has been de
4141
4242
References
4343
----------
44+
- PyLint - W0109

docs/maintainability/from_module_import_all_used.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,5 @@ The ``import`` statement should be refactored to be more specific about what fun
4141
References
4242
----------
4343
- `Stack Overflow - Importing Modules <http://stackoverflow.com/questions/15145159/importing-modules-how-much-is-too-much>`_
44+
- PyFlakes - F403
45+

docs/maintainability/import_module_shadowed_by_loop_variable.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,4 @@ A for loop variable should never use the name of an imported module. In the modi
5353
5454
References
5555
----------
56+
- Pyflakes - F402

docs/maintainability/local_variable_name_is_assigned_to_but_never_used.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,4 @@ If the variable is a reminder of some part of the function that still needs to b
5858
5959
References
6060
----------
61+
- Pyflakes - F841

docs/maintainability/module_imported_but_not_used.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,4 @@ In the modified version of the module below, the module now uses ``math.floor``
5959
6060
References
6161
----------
62+
- Pyflakes - F401

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy