src/nvector/_intro.py
Anomalous backslash in string: 'm'. String constant might be missing an r prefix. Open
Open
n_E is n-vector in the program code, while in documents we use :math:`\mathbf{n}^{E}`.
- Read upRead up
- Exclude checks
Used when a backslash is in a literal string but not as an escape.
Invalid escape sequence '\m' Open
Open
n_E is n-vector in the program code, while in documents we use :math:`\mathbf{n}^{E}`.
- Read upRead up
- Exclude checks
Invalid escape sequences are deprecated in Python 3.6.
Okay: regex = r'\.png$'
W605: regex = '\.png$'
Trailing whitespace Open
Open
reference frames can be found in the `documentation.
- Read upRead up
- Exclude checks
Trailing whitespace is superfluous.
The warning returned varies on whether the line itself is blank,
for easier filtering for those who want to indent their blank lines.
Okay: spam(1)\n#
W291: spam(1) \n#
W293: class Foo(object):\n \n bang = 12
Trailing whitespace Open
Open
Using n-vector, the calculations become simple and non-singular.
- Read upRead up
- Exclude checks
Trailing whitespace is superfluous.
The warning returned varies on whether the line itself is blank,
for easier filtering for those who want to indent their blank lines.
Okay: spam(1)\n#
W291: spam(1) \n#
W293: class Foo(object):\n \n bang = 12
Trailing whitespace Open
Open
n_E is n-vector in the program code, while in documents we use :math:`\mathbf{n}^{E}`.
- Read upRead up
- Exclude checks
Trailing whitespace is superfluous.
The warning returned varies on whether the line itself is blank,
for easier filtering for those who want to indent their blank lines.
Okay: spam(1)\n#
W291: spam(1) \n#
W293: class Foo(object):\n \n bang = 12
No newline at end of file Open
Open
"""
- Read upRead up
- Exclude checks
Trailing blank lines are superfluous.
Okay: spam(1)
W391: spam(1)\n
However the last line should end with a new line (warning W292).
Line too long (1794 > 110 characters) Open
Open
"""
- Read upRead up
- Exclude checks
Limit all lines to a maximum of 79 characters.
There are still many devices around that are limited to 80 character
lines; plus, limiting windows to 80 characters makes it possible to
have several windows side-by-side. The default wrapping on such
devices looks ugly. Therefore, please limit all lines to a maximum
of 79 characters. For flowing long blocks of text (docstrings or
comments), limiting the length to 72 characters is recommended.
Reports error E501.
Final newline missing Open
Open
"""
- Read upRead up
- Exclude checks
Used when the last line in a file is missing a newline.