Commit Graph

3 Commits

Author SHA1 Message Date
Daniël van Noord
595ec422d6
Update `pydocstringformatter` to 0.4.0 (#5787) 2022-02-10 19:30:15 +01:00
Pierre Sassoulas
7d25842515
Add typing and uniformize the checker registering in Pylinter (#5558)
Remove verbose docstring in code, keep them in example and doc

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-12-27 21:30:34 +01:00
Martin
de307ccf20
Inspection for with threading.Lock(): (#5245)
Using `with threading.Lock():` directly has no effect.

Correct usage is:
```
lock = threading.Lock()
with lock:
    ...
```

This applies for:
  * threading.Lock
  * threading.RLock
  * threading.Condition
  * threading.Semaphore
  * threading.BoundedSemaphore

Signed-off-by: Martin Basti <mbasti@redhat.com>
2021-11-03 22:49:04 +01:00