aewallin / allantools

Allan deviation and related time & frequency statistics library in Python
GNU Lesser General Public License v3.0
226 stars 77 forks source link

pycodestyle issues as of 2020-02 #115

Closed aewallin closed 4 years ago

aewallin commented 4 years ago

these style-issues are minor, but could be worked on slowly towards the next release.

$ pycodestyle allantools/*.py allantools/allantools.py:15:80: E501 line too long (88 > 79 characters) allantools/allantools.py:112:1: E265 block comment should start with '# ' allantools/allantools.py:113:1: E265 block comment should start with '# ' allantools/allantools.py:1183:9: E722 do not use bare except' allantools/allantools.py:1370:38: E712 comparison to False should be 'if cond is False:' or 'if not cond:' allantools/allantools.py:1376:37: E712 comparison to False should be 'if cond is False:' or 'if not cond:' allantools/allantools.py:1399:1: E302 expected 2 blank lines, found 1 allantools/allantools.py:1399:32: E251 unexpected spaces around keyword / parameter equals allantools/allantools.py:1446:80: E501 line too long (80 > 79 characters) allantools/allantools.py:1449:38: E261 at least two spaces before inline comment allantools/allantools.py:1450:15: E225 missing whitespace around operator allantools/allantools.py:1451:29: E261 at least two spaces before inline comment allantools/allantools.py:1451:80: E501 line too long (88 > 79 characters) allantools/allantools.py:1452:15: E225 missing whitespace around operator allantools/allantools.py:1456:37: E261 at least two spaces before inline comment allantools/allantools.py:1457:23: E225 missing whitespace around operator allantools/allantools.py:1458:8: E225 missing whitespace around operator allantools/allantools.py:1459:7: E225 missing whitespace around operator allantools/allantools.py:1460:6: E225 missing whitespace around operator allantools/allantools.py:1460:33: E225 missing whitespace around operator allantools/allantools.py:1461:8: E225 missing whitespace around operator allantools/allantools.py:1462:6: E225 missing whitespace around operator allantools/allantools.py:1464:9: E225 missing whitespace around operator allantools/allantools.py:1464:21: E261 at least two spaces before inline comment allantools/allantools.py:1465:6: E225 missing whitespace around operator allantools/allantools.py:1467:80: E501 line too long (96 > 79 characters) allantools/allantools.py:1470:14: E225 missing whitespace around operator allantools/allantools.py:1477:17: E225 missing whitespace around operator allantools/allantools.py:1478:33: E261 at least two spaces before inline comment allantools/allantools.py:1479:17: E225 missing whitespace around operator allantools/allantools.py:1481:14: E225 missing whitespace around operator allantools/allantools.py:1482:11: E128 continuation line under-indented for visual indent allantools/allantools.py:1483:11: E128 continuation line under-indented for visual indent allantools/allantools.py:1485:14: E225 missing whitespace around operator allantools/allantools.py:1486:6: E225 missing whitespace around operator allantools/allantools.py:1487:23: E225 missing whitespace around operator allantools/ci.py:108:80: E501 line too long (88 > 79 characters) allantools/ci.py:143:80: E501 line too long (85 > 79 characters) allantools/ci.py:145:80: E501 line too long (87 > 79 characters) allantools/ci.py:203:80: E501 line too long (82 > 79 characters) allantools/ci.py:236:80: E501 line too long (94 > 79 characters) allantools/ci.py:376:80: E501 line too long (84 > 79 characters) allantools/ci.py:387:80: E501 line too long (102 > 79 characters) allantools/ci.py:443:16: E127 continuation line over-indented for visual indent allantools/ci.py:447:80: E501 line too long (84 > 79 characters) allantools/ci.py:480:80: E501 line too long (84 > 79 characters) allantools/ci.py:519:24: E127 continuation line over-indented for visual indent allantools/ci.py:534:24: E127 continuation line over-indented for visual indent allantools/ci.py:546:80: E501 line too long (87 > 79 characters) allantools/ci.py:547:24: E127 continuation line over-indented for visual indent allantools/ci.py:547:80: E501 line too long (88 > 79 characters) allantools/ci.py:555:80: E501 line too long (92 > 79 characters) allantools/ci.py:570:24: E127 continuation line over-indented for visual indent allantools/ci.py:578:80: E501 line too long (80 > 79 characters) allantools/ci.py:580:80: E501 line too long (84 > 79 characters) allantools/ci.py:594:80: E501 line too long (87 > 79 characters) allantools/ci.py:597:80: E501 line too long (95 > 79 characters) allantools/ci.py:684:80: E501 line too long (89 > 79 characters) allantools/ci.py:686:80: E501 line too long (86 > 79 characters) allantools/ci.py:691:14: E124 closing bracket does not match visual indentation allantools/ci.py:700:80: E501 line too long (89 > 79 characters) allantools/ci.py:707:14: E124 closing bracket does not match visual indentation allantools/ci.py:736:80: E501 line too long (93 > 79 characters) allantools/ci.py:808:80: E501 line too long (83 > 79 characters) allantools/mask.py:4:1: W293 blank line contains whitespace allantools/mask.py:10:1: W293 blank line contains whitespace allantools/mask.py:13:1: W293 blank line contains whitespace allantools/mask.py:18:1: E302 expected 2 blank lines, found 1 allantools/mask.py:19:48: W291 trailing whitespace allantools/mask.py:24:11: E225 missing whitespace around operator allantools/mask.py:26:11: E225 missing whitespace around operator allantools/mask.py:31:1: E302 expected 2 blank lines, found 1 allantools/mask.py:32:38: W291 trailing whitespace allantools/mask.py:37:11: E225 missing whitespace around operator allantools/mask.py:42:1: E302 expected 2 blank lines, found 1 allantools/mask.py:43:62: W291 trailing whitespace allantools/mask.py:50:11: E225 missing whitespace around operator allantools/mask.py:52:11: E225 missing whitespace around operator allantools/mask.py:57:1: E302 expected 2 blank lines, found 1 allantools/mask.py:63:1: W293 blank line contains whitespace allantools/mask.py:66:11: E225 missing whitespace around operator allantools/mask.py:70:11: E225 missing whitespace around operator allantools/mask.py:73:23: E261 at least two spaces before inline comment allantools/mask.py:74:1: W293 blank line contains whitespace allantools/mask.py:75:1: E302 expected 2 blank lines, found 1 allantools/mask.py:81:1: W293 blank line contains whitespace allantools/mask.py:84:11: E225 missing whitespace around operator allantools/mask.py:86:11: E225 missing whitespace around operator allantools/mask.py:91:1: E302 expected 2 blank lines, found 1 allantools/mask.py:97:1: W293 blank line contains whitespace allantools/mask.py:100:11: E225 missing whitespace around operator allantools/mask.py:102:11: E225 missing whitespace around operator allantools/mask.py:106:1: W293 blank line contains whitespace allantools/mask.py:107:1: E302 expected 2 blank lines, found 1 allantools/mask.py:111:1: W293 blank line contains whitespace allantools/mask.py:114:11: E225 missing whitespace around operator allantools/mask.py:115:20: E225 missing whitespace around operator allantools/mask.py:117:24: E261 at least two spaces before inline comment allantools/mask.py:117:32: W291 trailing whitespace allantools/mask.py:119:1: W293 blank line contains whitespace allantools/mask.py:124:1: W293 blank line contains whitespace allantools/mask.py:127:11: E225 missing whitespace around operator allantools/mask.py:128:20: E225 missing whitespace around operator allantools/mask.py:130:25: E261 at least two spaces before inline comment allantools/mask.py:130:32: W291 trailing whitespace allantools/mask.py:131:1: W293 blank line contains whitespace allantools/mask.py:131:1: W391 blank line at end of file allantools/noise_kasdin.py:244:80: E501 line too long (100 > 79 characters) allantools/noise_kasdin.py:289:80: E501 line too long (93 > 79 characters) allantools/noise_kasdin.py:293:80: E501 line too long (92 > 79 characters) allantools/noise.py:110:80: E501 line too long (80 > 79 characters) allantools/noise.py:134:80: E501 line too long (85 > 79 characters) allantools/noise.py:136:1: E302 expected 2 blank lines, found 1 allantools/noise.py:156:80: E501 line too long (80 > 79 characters) allantools/noise.py:205:1: W391 blank line at end of file allantools/plot.py:70:13: E124 closing bracket does not match visual indentation allantools/plot.py:91:29: E124 closing bracket does not match visual indentation allantools/plot.py:96:25: E124 closing bracket does not match visual indentation allantools/realtime.py:44:80: E501 line too long (84 > 79 characters) allantools/realtime.py:62:80: E501 line too long (103 > 79 characters) allantools/realtime.py:66:80: E501 line too long (85 > 79 characters) allantools/realtime.py:93:80: E501 line too long (86 > 79 characters) allantools/realtime.py:99:80: E501 line too long (114 > 79 characters) allantools/realtime.py:117:80: E501 line too long (91 > 79 characters) allantools/realtime.py:124:80: E501 line too long (89 > 79 characters) allantools/realtime.py:131:80: E501 line too long (114 > 79 characters) allantools/realtime.py:151:80: E501 line too long (86 > 79 characters) allantools/realtime.py:153:80: E501 line too long (95 > 79 characters) allantools/realtime.py:157:80: E501 line too long (102 > 79 characters) allantools/realtime.py:163:80: E501 line too long (113 > 79 characters) allantools/realtime.py:197:80: E501 line too long (102 > 79 characters) allantools/realtime.py:205:80: E501 line too long (81 > 79 characters) allantools/realtime.py:209:80: E501 line too long (96 > 79 characters)

aewallin commented 4 years ago

after #116, this remains:

s$ pycodestyle allantools/*.py allantools/allantools.py:1183:9: E722 do not use bare except'