Commit Graph

39 Commits

Author SHA1 Message Date
Teemu Ikonen 80cec0d024 setup.cfg: Add section for flake8 config
Set project-wide max-line-length and ignore indentation errors E126 and
E128, and warning W503 (Line break occurred before a binary operator)
for now.
2022-11-14 18:11:23 +02:00
Eric Le Lay 09f7dd4d5e Revert "force isort < 5.0 until available in gentoo"
isort 5.7 is now available in gentoo

This reverts commit 2f6ad1760e.
2021-03-28 12:48:10 +02:00
Eric Le Lay 2f6ad1760e force isort < 5.0 until available in gentoo 2020-09-11 10:55:58 +02:00
auouymous 15505a3d05 fix incorrectly sorted imports 2020-02-05 00:40:37 -07:00
Eric Le Lay 2133527afb better isort youtube-dl fix 2019-08-17 18:30:23 +02:00
MarkusHackspacher 4fa86ba0b7 fix linter warning
set linelenght for check to 142
2018-09-15 20:11:18 +02:00
MarkusHackspacher 4baaa75ee4 fix E501 line too long
in lines with more than 145 characters
2018-09-07 06:52:32 +02:00
MarkusHackspacher f4c075c334 fix E127 continuation line over-indented for visual indent 2018-08-25 09:42:10 +02:00
MarkusHackspacher 293858c94e add isort settings 2018-08-11 06:54:26 +02:00
MarkusHackspacher 0ef54d2284 add isort settings 2018-08-11 06:48:23 +02:00
MarkusHackspacher 0523d18226 aad isort settings 2018-08-11 00:23:34 +02:00
MarkusHackspacher c99fca923e fix E231 missing whitespace after ',' 2018-05-29 22:54:05 +02:00
Eric Le Lay 7d1d68c09a add E241 linter error 2018-05-28 20:21:54 +02:00
MarkusHackspacher 14b884af19 add E20 it setup.cfg 2018-05-27 20:13:08 +02:00
MarkusHackspacher 8eaa6a3c33 fix E251 unexpected spaces around keyword / parameter equals 2018-05-21 19:26:01 +02:00
MarkusHackspacher eecfd64f63 fix E261 at least two spaces before inline comment 2018-05-17 08:39:56 +02:00
Eric Le Lay 7818d070e4 add E502 to linter config 2018-05-13 17:30:11 +02:00
MarkusHackspacher 039ffba236 fix E731 do not assign a lambda expression, use a def 2018-05-06 22:26:54 +02:00
MarkusHackspacher 11bf9e3ef8 fix E401 multiple imports on one line 2018-05-05 23:50:37 +02:00
MarkusHackspacher 9adb9a7d22 fix E124 closing bracket does not match visual indentation
add e124 and E220 to E229 as E22 in setup.cfg
2018-05-01 14:22:18 +02:00
Eric Le Lay d7c0ae7d85 lint: add E225 2018-04-29 11:39:37 +02:00
Eric Le Lay 9272a8a2d4 pycodestyle: don't select all W, build fails
see https://travis-ci.org/gpodder/gpodder/builds/366837578
2018-04-15 19:05:05 +02:00
Eric Le Lay fa5a289396 finish fixing E226 2018-04-15 18:59:20 +02:00
Markus Hackspacher 0559687e9c
add E221 2018-03-27 21:51:59 +02:00
Markus Hackspacher b4ea1afb17
Merge branch 'master' into style22x-1 2018-03-27 21:50:04 +02:00
Eric Le Lay 15617c5b39 add E228 to linter config 2018-03-25 20:54:39 +02:00
MarkusHackspacher 710d8735d4 fix E221 multiple spaces before operator 2018-03-18 00:47:54 +01:00
MarkusHackspacher 43e2fbfed6 fix E111 indentation is not a multiple of four
E111 to E119 are solved, to check this is E11 im setup.cfg.
2018-03-01 22:25:02 +01:00
Eric Le Lay a4e87cd9b9 fix lint error 2018-02-24 18:46:39 +01:00
MarkusHackspacher a90fa0b521 fix W391 blank line at end of file 2018-02-11 21:51:40 +01:00
MarkusHackspacher 0c18a43d13 fix E302 and E303, only blank line change 2018-02-11 00:22:00 +01:00
Eric Le Lay 88db82ac27 add pycodestyle E305 2018-02-10 14:12:32 +01:00
MarkusHackspacher d927b5176b Merge github.com:gpodder/gpodder into codestyle 2018-02-06 18:37:46 +01:00
MarkusHackspacher 9dca8e0506 fix E306 expected 1 blank line before a nested definition 2018-02-06 18:33:52 +01:00
Eric Le Lay 11569ca31d more pycodestyle checks
see #393 for discussion
2018-02-06 15:19:08 +01:00
MarkusHackspacher fcbaee227c Fix W291 trailing whitespace 2018-02-01 07:59:22 +01:00
MarkusHackspacher d8de699847 remove E6, E8, are not a code check 2018-01-31 17:26:39 +01:00
MarkusHackspacher c1c841c08c Fix W293 blank line contains whitespace 2018-01-30 14:04:28 +01:00
MarkusHackspacher d4e95de6bc add pycodestyle in travis check 2018-01-26 09:00:29 +01:00