Commit d158d1bb by finswimmer Committed by Bjorn Neergaard

remove `__future__` import from src/poetry/__init__.py

parent e3fb7f27
......@@ -59,7 +59,11 @@ repos:
name: "isort (python)"
types: [python]
args: [--add-import, from __future__ import annotations]
exclude: ^(install|get)-poetry.py$
exclude: |
(?x)(
^(install|get)-poetry.py$
| ^src/poetry/__init__.py$
)
- id: isort
name: "isort (pyi)"
types: [pyi]
......
from __future__ import annotations
__path__ = __import__("pkgutil").extend_path(__path__, __name__)
# When editing this file make sure line 1 keeps unchanged.
# Setting __path__ must take place in the first line. No line breaks are allowed either.
# Otherwise, IDEs like PyCharm are unable to follow imports to poetry.core.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment