rdemaria / pysixtrack

Reference sixtrack tracking engine in pure python
Apache License 2.0
1 stars 12 forks source link

updates to pysixtrack to prepare for use in pysixtracklib #9

Closed martinschwinzerl closed 5 years ago

martinschwinzerl commented 5 years ago
pep8speaks commented 5 years ago

Hello @martinschwinzerl! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 27:25: E261 at least two spaces before inline comment Line 27:26: E262 inline comment should start with '# ' Line 27:80: E501 line too long (105 > 79 characters)

Line 197:1: E303 too many blank lines (3) Line 198:14: E221 multiple spaces before operator Line 198:21: E201 whitespace after '(' Line 199:72: E202 whitespace before ')' Line 200:14: E221 multiple spaces before operator Line 200:21: E201 whitespace after '(' Line 200:56: E202 whitespace before ')' Line 201:21: E201 whitespace after '(' Line 201:48: E202 whitespace before ')' Line 203:16: E201 whitespace after '(' Line 203:31: E202 whitespace before ')' Line 206:14: E127 continuation line over-indented for visual indent Line 206:19: E201 whitespace after '(' Line 206:67: E202 whitespace before ')' Line 207:16: E201 whitespace after '(' Line 207:37: E202 whitespace before ')' Line 211:13: E125 continuation line with same indent as next logical line Line 221:15: E271 multiple spaces after keyword Line 226:15: E201 whitespace after '(' Line 226:30: E202 whitespace before ')' Line 355:1: W391 blank line at end of file

rdemaria commented 5 years ago

Can you also run autopep8?

martinschwinzerl commented 5 years ago

I'll run autopep8 and forward/commit the changes, sorry for the noise