Hakan Çelik

Results 13 issues of Hakan Çelik

Thank you for using Unimport, there was a slight change in the URL, the old URL works because it is redirected to the new one, but I changed it to...

https://www.python.org/dev/peps/pep-0634/ Is there an import used in the match statement? analysis should be added.

enhancement
changelog

## Code ```python # Python imports import os from typing import Union # Local imports from .pgen2 import token from .pgen2 import driver from .pgen2.grammar import Grammar os, Union, driver,...

enhancement
changelog
test

How about adding a new method called `on_callback_error` to handle the errors that raise from any callbacks? ```python def on_callback_error(self, ws, callback, exc) -> None: logger.debug(f"Exception raise on {callback.__name__}", exc_info=exc)...

For example: **source.py** ```python import x variable: x = value ``` **refactor.py** ```python import typing if typing.TYPE_CHECKING: import x variable: x = value ```

documentation
enhancement
changelog
test

- [ ] #100 - [ ] #293 - [ ] #180 - [ ] #178 - [ ] #121 - [ ] #294 - [x] #291

documentation
enhancement
changelog
test

```python if sys.version_info < (3, 7): if TYPE_CHECKING: class ForwardRef: def __init__(self, arg: Any): pass def _eval_type(self, globalns: Any, localns: Any) -> Any: pass else: from typing import _ForwardRef as...

bug
changelog
test