Details
-
Task
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
1.14.0
-
None
-
None
-
Patch
Description
The general strategy for dealing with these in a scalable manner could be as follows
Identify warning we want to resolve, e.g. E701 multiple statements on a single line.
Remove E701 from flake8 ignore list in tests/tox.ini.in.
Run the autofixer
pip install autopep8 for f in `find -name "*.py"`; do autopep8 --in-place --select=E701 $f; done for f in `find tests -name "*.py.in"`; do autopep8 --in-place --select=E701 $f; done autopep8 --in-place --select=E701 tools/*.in
Wait about two minutes.
Review the diffs produced.
Submit a change request.
Attachments
Issue Links
- is depended upon by
-
DISPATCH-1974 Fix and remove ignores in flake8 configuration
- Open
- relates to
-
PROTON-2320 Apply autofixes to resolve some flake8 code formatting issues
- Closed