Open
Description
pep8 was replaced by pycodestyle in #1132. Unfortunately, pycodestyle does not allow a # noqa
inline comment to suppress certain errors; see https://github.com/PyCQA/pycodestyle/blob/master/docs/intro.rst. This is by design and unlikely to change any time soon.
This means that (some) existing lines containing # noqa
need to be refactored, because the formatting errors on those lines are no longer being ignored. For a concrete example, see the matrix formatting in
There are several options here:
- Switch from pycodestyle to flake8, which does not have this restriction
- Replace the line-scope noqas with a file-scope noqa
- Store the matrices in a textfile and use
numpy.loadtxt()
- (probably more...)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
In progress