Skip to content

Commit 7b7726d

Browse files
committed
Add references.
1 parent 980a30e commit 7b7726d

31 files changed

+31
-3
lines changed

docs/correctness/access_to_a_protected_member.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,5 @@ If the author of the class decides that it is accessible to directly access the
8282
8383
References
8484
----------
85+
- PyLint - W0212
8586
- `Python Standard Library - property([fget[, fset[, fdel[, doc]]]]) <https://docs.python.org/2/library/functions.html#property>`_

docs/correctness/arguments_number_differs_from_method.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,4 @@ In the modified module below, the ``Dog`` class has removed the second argument
7979
8080
References
8181
----------
82+
- Pylint - W0221

docs/correctness/assigning_to_function_call_which_does_not_return.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,4 @@ Upon reviewing the module, the author realized that the ``hello`` function was n
4545
4646
References
4747
----------
48+
- Pylint - E1111

docs/correctness/bad_except_clauses_order.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,4 @@ The modified module below places the ``ZeroDivisionError`` exception clause in f
4949
5050
References
5151
----------
52+
- Pylint - E0701

docs/correctness/bad_first_argument_given_to_super.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,4 @@ References
6666
- `Python Standard Library - super([type[, object-or-type]]) <https://docs.python.org/3.1/library/functions.html#super>`_
6767
- `Stack Overflow - What is a basic example of single inheritance using super()? <http://stackoverflow.com/questions/1173992/what-is-a-basic-example-of-single-inheritance-using-the-super-keyword-in-pytho>`_
6868
- `Stack Overflow - Python super() inheritance and arguments needed <http://stackoverflow.com/questions/15896265/python-super-inheritance-and-arguments-needed>`_
69-
69+
- PyLint - E1003

docs/correctness/class_has_no_init_method.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,4 @@ Upon reviewing the code, the author created an empty ``__init__`` method to expl
5151
5252
References
5353
----------
54+
- Pylint - W0232

docs/correctness/class_has_no_member.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,4 @@ The updated module below suppresses the ``class has no member`` error by using k
7676
7777
References
7878
----------
79+
- Pylint - E1101

docs/correctness/do_not_assign_a_lambda_expression.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +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+

docs/correctness/duplicate_argument_name_in_function_definition.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,4 @@ In the modified module below, the parameters have been given unique names to fix
4747
4848
References
4949
----------
50+
- Pyflakes - F831

docs/correctness/else_clause_on_loop_without_a_break_statement.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,5 @@ If the ``else`` clause should not always execute at the end of a loop clause, th
5757
5858
References
5959
----------
60+
- PyLint - W0120
6061
- `Python Standard Library - else Clauses on Loops <https://docs.python.org/2/tutorial/controlflow.html#break-and-continue-statements-and-else-clauses-on-loops>`_

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