Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pycodestyle squelch #2

Open
ams opened this issue Jan 27, 2019 · 2 comments
Open

pycodestyle squelch #2

ams opened this issue Jan 27, 2019 · 2 comments

Comments

@ams
Copy link
Collaborator

ams commented Jan 27, 2019

@bictorv I kinda screwed up, pushed directly to Chaosnet/config-files-from-dns ... didn't realize that the permissions got changed. It was just white space fixes to squelch pycodestyle. There are still some left.

host-files-from-dns.py:4:80: E501 line too long (90 > 79 characters)
host-files-from-dns.py:6:80: E501 line too long (88 > 79 characters)
host-files-from-dns.py:12:80: E501 line too long (95 > 79 characters)
host-files-from-dns.py:13:80: E501 line too long (97 > 79 characters)
host-files-from-dns.py:17:80: E501 line too long (105 > 79 characters)
host-files-from-dns.py:27:80: E501 line too long (107 > 79 characters)
host-files-from-dns.py:42:1: E302 expected 2 blank lines, found 1
host-files-from-dns.py:48:80: E501 line too long (118 > 79 characters)
host-files-from-dns.py:65:80: E501 line too long (88 > 79 characters)
host-files-from-dns.py:68:80: E501 line too long (142 > 79 characters)
host-files-from-dns.py:81:80: E501 line too long (80 > 79 characters)
host-files-from-dns.py:88:1: E305 expected 2 blank lines after class or function definition, found 1
host-files-from-dns.py:90:1: E302 expected 2 blank lines, found 1
host-files-from-dns.py:91:80: E501 line too long (100 > 79 characters)
host-files-from-dns.py:98:1: E305 expected 2 blank lines after class or function definition, found 1
host-files-from-dns.py:103:1: E302 expected 2 blank lines, found 1
host-files-from-dns.py:121:1: E305 expected 2 blank lines after class or function definition, found 1
host-files-from-dns.py:122:1: E302 expected 2 blank lines, found 0
host-files-from-dns.py:125:9: E266 too many leading '#' for block comment
host-files-from-dns.py:125:80: E501 line too long (91 > 79 characters)
host-files-from-dns.py:128:80: E501 line too long (130 > 79 characters)
host-files-from-dns.py:138:1: E302 expected 2 blank lines, found 1
host-files-from-dns.py:146:1: E302 expected 2 blank lines, found 1
host-files-from-dns.py:152:1: E302 expected 2 blank lines, found 1
host-files-from-dns.py:154:80: E501 line too long (98 > 79 characters)
host-files-from-dns.py:155:25: E711 comparison to None should be 'if cond is not None:'
host-files-from-dns.py:161:1: E305 expected 2 blank lines after class or function definition, found 1
host-files-from-dns.py:162:1: E302 expected 2 blank lines, found 0
host-files-from-dns.py:167:80: E501 line too long (89 > 79 characters)
host-files-from-dns.py:172:1: E302 expected 2 blank lines, found 1
host-files-from-dns.py:176:80: E501 line too long (109 > 79 characters)
host-files-from-dns.py:178:80: E501 line too long (81 > 79 characters)
host-files-from-dns.py:182:9: E266 too many leading '#' for block comment
host-files-from-dns.py:186:1: E302 expected 2 blank lines, found 1
host-files-from-dns.py:190:1: E302 expected 2 blank lines, found 1
host-files-from-dns.py:192:5: E266 too many leading '#' for block comment
host-files-from-dns.py:194:80: E501 line too long (115 > 79 characters)
host-files-from-dns.py:195:80: E501 line too long (92 > 79 characters)
host-files-from-dns.py:198:80: E501 line too long (113 > 79 characters)
host-files-from-dns.py:202:9: E266 too many leading '#' for block comment
host-files-from-dns.py:206:1: E302 expected 2 blank lines, found 1
host-files-from-dns.py:218:80: E501 line too long (90 > 79 characters)
host-files-from-dns.py:221:80: E501 line too long (95 > 79 characters)
host-files-from-dns.py:223:80: E501 line too long (101 > 79 characters)
host-files-from-dns.py:227:80: E501 line too long (105 > 79 characters)
host-files-from-dns.py:259:49: E711 comparison to None should be 'if cond is None:'
host-files-from-dns.py:276:1: E305 expected 2 blank lines after class or function definition, found 1
@bictorv
Copy link
Collaborator

bictorv commented Jan 28, 2019

But you have enough access to fix it again, no? (What kind of modern system doesn't allow lines longer that 79 lines? For an 80's system, sure, but now?)

@ams
Copy link
Collaborator Author

ams commented Jan 28, 2019

Yeah, all works now with permissions -- @larsbrinkhoff fixed that (#1 (comment)).

As for 80 lines, go figure ... it is quite silly, and I'll prolly just not fix those. The only half interesting one is the E711.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants