mirror of https://github.com/astral-sh/ruff
46 lines
4.9 KiB
Plaintext
46 lines
4.9 KiB
Plaintext
ERROR src/black/__init__.py:692:16-23: `sources` may be uninitialized [unbound-name]
|
|
ERROR src/black/__init__.py:699:16-23: `sources` may be uninitialized [unbound-name]
|
|
ERROR src/black/__init__.py:701:21-28: `sources` may be uninitialized [unbound-name]
|
|
ERROR src/black/__init__.py:716:25-32: `sources` may be uninitialized [unbound-name]
|
|
ERROR src/black/__init__.py:989:13-21: Object of class `AnsiToWin32` has no attribute `detach` [missing-attribute]
|
|
ERROR src/black/__init__.py:1049:9-17: Object of class `AnsiToWin32` has no attribute `detach` [missing-attribute]
|
|
ERROR src/black/__init__.py:1285:24-43: `normalized_contents` may be uninitialized [unbound-name]
|
|
ERROR src/black/__init__.py:1286:24-36: `newline_type` may be uninitialized [unbound-name]
|
|
ERROR src/black/__init__.py:1297:52-64: `newline_type` may be uninitialized [unbound-name]
|
|
ERROR src/black/comments.py:260:5-265:18: `int | None` is not assignable to `None` (caused by inconsistent types when breaking cycles) [bad-assignment]
|
|
ERROR src/black/comments.py:640:12-19: `Preview` may be uninitialized [unbound-name]
|
|
ERROR src/black/concurrency.py:61:33-83: Argument `Future[list[BaseException | Any]]` is not assignable to parameter `future` with type `Awaitable[tuple[Any]] | Generator[Any, None, tuple[Any]]` in function `asyncio.events.AbstractEventLoop.run_until_complete` [bad-argument-type]
|
|
ERROR src/black/handle_ipynb_magics.py:106:5-77: Could not find import of `tokenize_rt` [missing-import]
|
|
ERROR src/black/handle_ipynb_magics.py:130:5-77: Could not find import of `tokenize_rt` [missing-import]
|
|
ERROR src/black/handle_ipynb_magics.py:171:5-66: Could not find import of `IPython.core.inputtransformer2` [missing-import]
|
|
ERROR src/black/handle_ipynb_magics.py:292:25-29: Argument `str` is not assignable to parameter `object` with type `LiteralString` in function `list.append` [bad-argument-type]
|
|
ERROR src/black/linegen.py:1577:9-34: Object of class `Node` has no attribute `value` [missing-attribute]
|
|
ERROR src/black/output.py:89:31-35: Argument `str` is not assignable to parameter `object` with type `LiteralString` in function `list.append` [bad-argument-type]
|
|
ERROR src/black/output.py:91:31-42: Argument `str` is not assignable to parameter `object` with type `LiteralString` in function `list.append` [bad-argument-type]
|
|
ERROR src/black/strings.py:295:8-24: `new_escape_count` may be uninitialized [unbound-name]
|
|
ERROR src/black/strings.py:295:27-44: `orig_escape_count` may be uninitialized [unbound-name]
|
|
ERROR src/black/strings.py:298:8-24: `new_escape_count` may be uninitialized [unbound-name]
|
|
ERROR src/black/strings.py:298:28-45: `orig_escape_count` may be uninitialized [unbound-name]
|
|
ERROR src/black/trans.py:55:16-36: `type[Err[CannotTransform] | Ok[TypeVar[T]]]` is not subscriptable [unsupported-operation]
|
|
ERROR src/black/trans.py:256:19-32: `type[Err[CannotTransform] | Ok[TypeVar[T]]]` is not subscriptable [unsupported-operation]
|
|
ERROR src/black/trans.py:472:19-32: `type[Err[CannotTransform] | Ok[TypeVar[T]]]` is not subscriptable [unsupported-operation]
|
|
ERROR src/black/trans.py:503:10-23: `type[Err[CannotTransform] | Ok[TypeVar[T]]]` is not subscriptable [unsupported-operation]
|
|
ERROR src/black/trans.py:544:10-23: `type[Err[CannotTransform] | Ok[TypeVar[T]]]` is not subscriptable [unsupported-operation]
|
|
ERROR src/black/trans.py:752:55-68: `type[Err[CannotTransform] | Ok[TypeVar[T]]]` is not subscriptable [unsupported-operation]
|
|
ERROR src/black/trans.py:985:19-32: `type[Err[CannotTransform] | Ok[TypeVar[T]]]` is not subscriptable [unsupported-operation]
|
|
ERROR src/black/trans.py:1111:57-70: `type[Err[CannotTransform] | Ok[TypeVar[T]]]` is not subscriptable [unsupported-operation]
|
|
ERROR src/black/trans.py:1480:19-32: `type[Err[CannotTransform] | Ok[TypeVar[T]]]` is not subscriptable [unsupported-operation]
|
|
ERROR src/black/trans.py:1630:25-31: `csplit` may be uninitialized [unbound-name]
|
|
ERROR src/black/trans.py:2162:19-32: `type[Err[CannotTransform] | Ok[TypeVar[T]]]` is not subscriptable [unsupported-operation]
|
|
ERROR src/blib2to3/pgen2/conv.py:35:1-33: Could not find import of `pgen2` [missing-import]
|
|
ERROR src/blib2to3/pgen2/conv.py:77:34-43: Object of class `NoneType` has no attribute `groups` [missing-attribute]
|
|
ERROR src/blib2to3/pgen2/driver.py:76:20-25: `token` may be uninitialized [unbound-name]
|
|
ERROR src/blib2to3/pgen2/driver.py:169:26-33: `_prefix` may be uninitialized [unbound-name]
|
|
ERROR src/blib2to3/pgen2/parse.py:367:13-28: Object of class `NoneType` has no attribute `append` [missing-attribute]
|
|
ERROR src/blib2to3/pgen2/parse.py:392:17-32: Object of class `NoneType` has no attribute `append` [missing-attribute]
|
|
ERROR src/blib2to3/pytree.py:670:24-34: `newcontent` may be uninitialized [unbound-name]
|
|
ERROR src/blib2to3/pytree.py:756:24-39: `wrapped_content` may be uninitialized [unbound-name]
|
|
ERROR src/blib2to3/pytree.py:847:34-45: `save_stderr` may be uninitialized [unbound-name]
|
|
INFO Checking project configured at `<CWD>/pyrefly.toml`
|
|
INFO 43 errors (2 suppressed)
|