update type hints for better Python compatibility - #560
Closed
zoumingzhe wants to merge 2 commits into
Closed
zoumingzhe wants to merge 2 commits into
zoumingzhe wants to merge 2 commits into
Annotations
10 errors
|
Run astral-sh/ruff-action@v4.0.0:
argcomplete/completers.py#L37
argcomplete/completers.py:37:46: FA100 Add `from __future__ import annotations` to simplify `typing.Union`
help: Add `from __future__ import annotations`
|
|
Run astral-sh/ruff-action@v4.0.0:
argcomplete/completers.py#L37
argcomplete/completers.py:37:33: FA102 Missing `from __future__ import annotations`, but uses PEP 585 collection
help: Add `from __future__ import annotations`
|
|
Run astral-sh/ruff-action@v4.0.0:
argcomplete/completers.py#L35
argcomplete/completers.py:35:33: FA100 Add `from __future__ import annotations` to simplify `typing.Union`
help: Add `from __future__ import annotations`
|
|
Run astral-sh/ruff-action@v4.0.0:
argcomplete/completers.py#L35
argcomplete/completers.py:35:20: FA102 Missing `from __future__ import annotations`, but uses PEP 585 collection
help: Add `from __future__ import annotations`
|
|
Run astral-sh/ruff-action@v4.0.0:
argcomplete/completers.py#L30
argcomplete/completers.py:30:10: FA102 Missing `from __future__ import annotations`, but uses PEP 585 collection
help: Add `from __future__ import annotations`
|
|
Run astral-sh/ruff-action@v4.0.0:
argcomplete/_check_module.py#L57
argcomplete/_check_module.py:57:14: SIM115 Use a context manager for opening files
|
|
Run astral-sh/ruff-action@v4.0.0:
argcomplete/_check_module.py#L34
argcomplete/_check_module.py:34:45: UP032 Use f-string instead of `format` call
help: Convert to f-string
|
|
Run astral-sh/ruff-action@v4.0.0:
argcomplete/_check_module.py#L29
argcomplete/_check_module.py:29:41: UP032 Use f-string instead of `format` call
help: Convert to f-string
|
|
Run astral-sh/ruff-action@v4.0.0:
argcomplete/_check_console_script.py#L51
argcomplete/_check_console_script.py:51:8: UP032 Use f-string instead of `format` call
help: Convert to f-string
|
|
Run astral-sh/ruff-action@v4.0.0:
argcomplete/_check_console_script.py#L49
argcomplete/_check_console_script.py:49:8: UP032 Use f-string instead of `format` call
help: Convert to f-string
|
background
wait
wait-all
cancel
parallel
Loading