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

This seems like a regression from the previous issue https://github.com/PyCQA/pycodestyle/issues/411: A triple-quoted string which contain a trailing whitespace is reported as W291: ``` foo = """Hello world. How are you?...

It seems like E741 shouldn't apply to variable names inside of comprehensions, due to the limited scope of such variables. If that's the desired behavior anyways, this behavior seems inconsistent...

Pycodestyle already makes an exception for url's in docstrings and comments. I think a good option would be to allow arbitrary regexps to have more flexibility. One use case would...

Configuraton: * OS: Arch Linux * pycodestyle version: 2.6.0 * Python version: 3.8.3 * Installation source: Arch Linux packages W504 (line break after binary operator) shows up when the slash...

Unless I am missing something this should be allowed by E251. Since E251 is " E251 unexpected spaces around keyword / parameter equals" and there are no extra spaces here...

Trailing commas in function calls, e.g. `print(1,2,)` that do not end with a white space are not flagged by pycodestyle. From reading the corresponding [PEP8](https://www.python.org/dev/peps/pep-0008/#when-to-use-trailing-commas) I would expect that pycodestyle...

```python from typing import Protocol class _LongPollProtocol(Protocol): def __call__( self, foo: str, bar: int, ) -> int: ... ``` running pycodestyle on this yields: ```console $ ~/opt/venv/bin/pycodestyle --version 2.6.0 $...

needs patch
needs test
help wanted

I often use an indentation format like this for long method chains with something like SQLAlchemy, which seems to be acceptable according to my reading of PEP8 and doesn't raise...

While preparing a code snippet for #947 I encountered another bug test.py ``` #: does not raise E265 a = print #: neither raises E265 #raises ``` => ``` ❯...

There is the common programmer mistake to leave a trailing comma on a value, that leads that value unexpectedly treated as a tuple [[1]](http://www.logophile.org/blog/2011/06/04/pythons-trailing-comma-syntax) [[2]](https://twitter.com/DieGelassenheit/status/918783004448784384) PEP8 guide already warn on...