Svelvet
Svelvet copied to clipboard
π A Svelte library for building dynamic, infinitely customizable node-based user interfaces and flowcharts
PEP8 allows you to type a bunch of dummy one-liners like this: ``` class CustomException(Exception): pass class AnotherException(Exception): pass class YetAnotherException(Exception): pass ``` But this code raises E701 (compound statement)...
pep8 doesn't detect E211 (whitespace before β(β ) in this file ``` from __future__ import print_function print ('abc') ```
As stated in [PEP8](https://www.python.org/dev/peps/pep-0008/#blank-lines): > Separate top-level function and class definitions with two blank lines. ``` python if __name__ == '__main__': class Pos: def __init__(self, x, y): self.x = x...
``` py print("%s" % "text") ``` does not emit W503. The `%` operator is shown in the example for https://www.python.org/dev/peps/pep-0008/#multiline-if-statements, so it can be assumed that this is a recommendation,...
It seems there's a false positive for E122. Consider the following snippet ``` python # pep8test.py def foo(bar): pass # valid: { 'title': ( 'Brixton Summer Solstice Roof Party 2015...
The line length checker excepts URL only lines because of #224 which is sensible. But usually there is some introduction like: So maybe there is a way to allow something...
E128 gets confused with variable-lenght (with multi-byte) encoding, such as UTF-8. Using a multi-byte character makes PEP8 return an E128 warning of under-indent. Tests show that it expects one more...
This is kind of tricky case. Suppose I have the following Python snippet: ``` python def func(*args): pass func('{foo} ' 'bar'.format( foo='baz')) ``` Everything is fine here except warning "7:5:...
At the moment `"sometext %s"%"testing` will be detected by E228. This is correct. At the moment `"sometext %s" %"testing` will not be detected by E228. This is not correct. Because...
It would be nice if E101 would be more concrete. For example new codes could be: E102 docstring/comment contains mixed spaces and tabs: ``` def foo(): '''' test ''' ```...