Steve Dignam

Results 76 issues of Steve Dignam

```python # err, can be `for foo in bar` for _idx, foo in enumerate(bar): ... # err, can be `for value in foo.values()` for _key, value in foo.items(): ... #...

enhancement

```python # err def test_foo() -> None: try: bar() except BarError: raise pytest.fail("some bad error") # ok def test_foo() -> None: bar() ```

enhancement

fixes: https://github.com/sbdchd/flake8-pie/issues/79

```python # err foo = len([x for x in bar if x.buzz > bar]) foo = len([n for n in buzz if n.bar is not True]) foo = len([x for...

enhancement

maybe there's an edge case when someone overloads this? not sure

enhancement
requires types

```python # error foo.__setitem__("bar" , bar) # ok foo["bar"] = bar buzz(foo.__setitem__) ```

enhancement

Instead can be rewritten as `len(set(all_errors))` this might be too infrequent to bother with a rule

enhancement

I was wondering if you'd be open to adding python types directly to the repo to support `mypy` and similar tools. Since `rure` supports python 2.7 the comment based type...

I think a simple output of the port would be good for ease of use.

Sometimes the connection to the redis host can be severed for a little bit resulting in a `ConnectionLostError` error. Ideally the redis client would handle these more gracefully, but as...