Marc Mueller
Marc Mueller
## Description First step for https://github.com/PyCQA/pylint/issues/5466#issuecomment-1033211018 Although it should work like I describe below, I'm certainly open for ideas how to make it better. Especially with regards to the "global"...
## Description Depends on #1388 In the Python AST `TryExcept` and `TryFinally` have long been replaced by `Try`. This PR adds a new `Try` node to do the same in...
If possible, it could be useful to add a custom AST parser which backports changes from newer versions. The `ast` module is inherently unstable. We have already added a lot...
I was looking at the MR to fix `context.clone` and noticed that I didn't really knew anymore what the current status is, which bugs exist, and which have been fixed....
This PR addresses an issue with parsing decorators right before async function definitions. A good example to illustrate the issue is `overload`. ```py from typing import overload @overload async def...
Small change to add a new line before exiting when `--check` is used.
This is the followup to #2163 as it was seen as a noticeable improvement but rejected due to the large impact on existing codebases. With this PR, `black` will now...
## Proposed change Remove boolean checks for variables which are always callables. Those always evaluate to true. ## Type of change - [ ] Dependency upgrade - [ ] Bugfix...
* Allow passing coroutine functions to `on_*` handlers by also accepting `Callable[[Details], Coroutine[Any, Any, None]` for `_Handler`. * Make `None` explicit for `on_success`, `on_backoff`, `on_giveup`. * Better solution for `TypedDict`...
### Description A separate error code for `truthy-function` so it can be enabled by default. Closes #12621