Stephan Kulow
aaab4af930
Target F401 - Unused imports
2022-02-18 18:29:27 +01:00
Stephan Kulow
f86579642b
Target E501 - Line too long
...
https://www.flake8rules.com/rules/E501.html - but 79 characters is a
joke
2022-02-18 18:17:27 +01:00
Stephan Kulow
f38bd3a7ed
Target E128 - Continuation line under-indented for visual indent
...
https://www.flake8rules.com/rules/E128.html
2022-02-18 17:35:33 +01:00
Stephan Kulow
27c364b0c9
Target E251 - Unexpected spaces around keyword
...
https://www.flake8rules.com/rules/E251.html
2022-02-18 17:28:13 +01:00
Stephan Kulow
d8f5d0874e
Remove E201 - Whitespace after '('
...
https://www.flake8rules.com/rules/E201.html
2022-02-18 17:23:19 +01:00
Stephan Kulow
54079e949f
Target E202 - Whitespace before ')'
...
https://www.flake8rules.com/rules/E202.html
2022-02-18 17:18:29 +01:00
Stephan Kulow
529d1dafae
Target E302 - add two comment lines before class
2022-02-18 17:15:48 +01:00
Stephan Kulow
4e9c8eabbe
Target E305 - Have two empty lines of a class
2022-02-18 17:11:46 +01:00
Stephan Kulow
579145b52c
Target F841 - Remove unused variables
2022-02-18 17:01:38 +01:00
Stephan Kulow
0561e06cb1
Target E261 - two spaces before inline comment
2022-02-18 16:39:16 +01:00
Stephan Kulow
a8623bb8d8
Handle E712 - don't compare with == to Booleans
2022-02-18 16:34:58 +01:00
Stephan Kulow
1383ae9725
Targetting E126 - Continuation line over-indented for hanging indent
...
https://www.flake8rules.com/rules/E126.html
2022-02-18 16:02:08 +01:00
Stephan Kulow
dc62b2ed78
Target E711 - compare against None with 'is' not !=
2022-02-18 15:56:45 +01:00
Stephan Kulow
d6628beadf
Target E125 - Continuation line with same indent
...
https://www.flake8rules.com/rules/E125.html
2022-02-18 15:52:53 +01:00
Stephan Kulow
2023ccbe6e
Target E124 - Closing bracket does not match visual indentation
...
https://www.flake8rules.com/rules/E124.html
2022-02-18 15:52:47 +01:00
Stephan Kulow
66a0f152ff
Target E129 - Visually indented line with same indent
...
https://www.flake8rules.com/rules/E129.html
2022-02-18 15:52:47 +01:00
Stephan Kulow
5df665ccc5
Targeting E123 - Closing bracket does not match indentation
...
https://www.flake8rules.com/rules/E123.html
2022-02-18 15:52:47 +01:00
Stephan Kulow
ae734ba555
Fix indent of statements E127
...
https://www.flake8rules.com/rules/E127.html
2022-02-18 14:23:59 +01:00
Stephan Kulow
2de74cfc52
Replace variable name 'l' (x is fine)
...
https://www.flake8rules.com/rules/E741.html
2022-02-18 14:21:59 +01:00
Stephan Kulow
f705a24db1
Only have one statement in a line E701
...
https://www.flake8rules.com/rules/E701.html
2022-02-18 13:42:57 +01:00
Stephan Kulow
1152d4c419
Remove bare excepts - https://www.flake8rules.com/rules/E722.html
...
The bare except in osc-credentials lead me to remove it and the scripts
using it
2022-02-18 12:03:56 +01:00
Stephan Kulow
d39eca2885
Fix the only offense of E731
2021-09-22 21:51:24 +02:00
Stephan Kulow
8b13dffe50
Remove E265 from flake ignore list
2021-09-21 14:52:46 +02:00
Stephan Kulow
a8f7146baf
Remove E713 offense from flaker
2021-09-21 14:20:08 +02:00
Ancor Gonzalez Sosa
e502c9dad1
Revert "Exclude .open-build-service/ from docker, flake8, and git."
...
This reverts commit 495878ff0f460b7f44dded36b8600ba8fdd8a794.
2021-07-05 09:46:06 +02:00
Ancor Gonzalez Sosa
19bf4dbdbf
Update exclude section in .flake8
2021-07-02 13:49:20 +02:00
ad06348dcf
More flake8 cleanups
2019-12-10 12:50:57 +01:00
ea3b07568c
Fix E203
...
This fixes incorrect whitespacing inside dictionaries.
2019-12-10 08:54:32 +01:00
ec88760187
Fix Flake E241
...
One more step towards white space sanity. Next group is E20x.
2019-12-10 08:46:02 +01:00
32ad0adc2d
Fix all E22x errors
...
This cleans up white spaces around various kinds of operators to be
consistent.
2019-11-27 11:08:06 +01:00
8483632683
Some flake8 improvements
...
Was bored while waiting for a test run to finish. The rule is
that two empty lines distinguish larger blocks and shouldn't be
used between functions or within functions.
2019-11-27 10:40:15 +01:00
Jimmy Berry
e68e348781
flake8: ignore W504.
2018-10-24 16:27:10 -05:00
Jimmy Berry
495878ff0f
Exclude .open-build-service/ from docker, flake8, and git.
2017-10-24 17:55:32 -05:00
ba253a61f3
Blacklist new warnings introduced by flake8 3.5.0
...
The module isn't ready for this yet. Fixes #1217
2017-10-24 11:08:27 +02:00
d1c4801578
Another set of low-noise flake8 cleanups
2017-10-20 20:46:44 +02:00
ed01f0681d
Parallelize flake8 run
...
rather than find / xargs we run flake8 over everything which uses all
available cpus by default. Also set max line length to 100 because jimmy
likes it.
2017-10-20 08:54:11 +02:00