pycodestyle icon indicating copy to clipboard operation
pycodestyle copied to clipboard

🎛 A Svelte library for building dynamic, infinitely customizable node-based user interfaces and flowcharts

Results 211 pycodestyle issues
Sort by recently updated
recently updated
newest added

I've encountered the problem in the following code: ``` python a = [1, 2, 3, 4, 5] b = a[1+1 : 2+2] # E203 c = a[1 + 1 :...

needs patch

This relates to #671 ## Install Method and Version ``` pip install --user pycodestyle pycodestyle --version 2.4.0 ``` ## Context E721 is the error for comparing the `type(x)` of something...

```py def foo() -> None: ... ``` ``` E704 multiple statements on one line (def) ``` black puts the `...` on the same line in `.pyi` files

I also alphabetized the import statements by moving `bisect` to the top.

Second attempt after #990 I've improved the default `MATCH_CASE_REGEX`, especially the lookahead part. ```diff - (?=.*\:) + (?=.*\S.*\:(?=\s*$|\s*#)) ``` It now requires at least one non-whitespace char to be present...

Detect invalid tabs before inline comments: ``` printf 'foo = "bar" \t# comment\n' | pycodestyle - stdin:1:12: E261 at least two spaces before inline comment printf 'foo = "bar"\t #...

The PIP518 support as described in https://github.com/PyCQA/pycodestyle/issues/813 has been implemented roughly. It uses the toml package, since the toml package describes itself as being Python 2 compatible. Using another package...

Relates to https://github.com/PyCQA/pycodestyle/issues/953