<CWD>/src/black/__init__.py
  <CWD>/src/black/__init__.py:29:6 - warning: Import "_black_version" could not be resolved from source (reportMissingModuleSource)
  <CWD>/src/black/__init__.py:1018:15 - error: Cannot access attribute "detach" for class "AnsiToWin32"
    Attribute "detach" is unknown (reportAttributeAccessIssue)
  <CWD>/src/black/__init__.py:1072:11 - error: Cannot access attribute "detach" for class "AnsiToWin32"
    Attribute "detach" is unknown (reportAttributeAccessIssue)
<CWD>/src/black/cache.py
  <CWD>/src/black/cache.py:15:6 - warning: Import "_black_version" could not be resolved from source (reportMissingModuleSource)
  <CWD>/src/black/cache.py:144:59 - error: Type "dict[str, tuple[float | int | str, ...]]" is not assignable to declared type "dict[str, tuple[float, int, str]]" (reportAssignmentType)
<CWD>/src/black/files.py
  <CWD>/src/black/files.py:104:12 - error: "directory" is possibly unbound (reportPossiblyUnboundVariable)
  <CWD>/src/black/files.py:435:16 - error: Type "TextIOWrapper[_WrappedBuffer] | StreamWrapper" is not assignable to return type "TextIOWrapper[_WrappedBuffer] | AnsiToWin32"
    Type "TextIOWrapper[_WrappedBuffer] | StreamWrapper" is not assignable to type "TextIOWrapper[_WrappedBuffer] | AnsiToWin32"
      Type "StreamWrapper" is not assignable to type "TextIOWrapper[_WrappedBuffer] | AnsiToWin32"
        "StreamWrapper" is not assignable to "TextIOWrapper[_WrappedBuffer]"
        "StreamWrapper" is not assignable to "AnsiToWin32" (reportReturnType)
<CWD>/src/black/handle_ipynb_magics.py
  <CWD>/src/black/handle_ipynb_magics.py:108:10 - error: Import "tokenize_rt" could not be resolved (reportMissingImports)
  <CWD>/src/black/handle_ipynb_magics.py:132:10 - error: Import "tokenize_rt" could not be resolved (reportMissingImports)
  <CWD>/src/black/handle_ipynb_magics.py:173:10 - error: Import "IPython.core.inputtransformer2" could not be resolved (reportMissingImports)
<CWD>/src/black/linegen.py
  <CWD>/src/black/linegen.py:802:21 - error: Type "list[StringMerger | StringParenStripper | StringSplitter | Transformer | StringParenWrapper | rhs]" is not assignable to declared type "list[Transformer]"
    Type "rhs" is not assignable to type "Transformer" (reportAssignmentType)
  <CWD>/src/black/linegen.py:810:21 - error: Type "list[StringMerger | StringParenStripper | StringSplitter | StringParenWrapper | rhs]" is not assignable to declared type "list[Transformer]"
    Type "rhs" is not assignable to type "Transformer" (reportAssignmentType)
  <CWD>/src/black/linegen.py:814:76 - error: Type "list[Transformer | rhs]" is not assignable to declared type "list[Transformer]"
    Type "rhs" is not assignable to type "Transformer" (reportAssignmentType)
  <CWD>/src/black/linegen.py:816:33 - error: Type "list[rhs]" is not assignable to declared type "list[Transformer]"
    Type "rhs" is not assignable to type "Transformer" (reportAssignmentType)
<CWD>/src/black/trans.py
  <CWD>/src/black/trans.py:236:5 - error: Variable "__name__" is marked Final and overrides non-Final variable of same name in class "type" (reportIncompatibleVariableOverride)
  <CWD>/src/black/trans.py:1062:42 - error: "idx" is possibly unbound (reportPossiblyUnboundVariable)
  <CWD>/src/black/trans.py:1665:25 - error: "csplit" is possibly unbound (reportPossiblyUnboundVariable)
<CWD>/src/blackd/__init__.py
  <CWD>/src/blackd/__init__.py:24:6 - warning: Import "_black_version" could not be resolved from source (reportMissingModuleSource)
<CWD>/src/blib2to3/pgen2/driver.py
  <CWD>/src/blib2to3/pgen2/driver.py:76:20 - error: "token" is possibly unbound (reportPossiblyUnboundVariable)
  <CWD>/src/blib2to3/pgen2/driver.py:169:26 - error: "_prefix" is possibly unbound (reportPossiblyUnboundVariable)
<CWD>/src/blib2to3/pgen2/tokenize.py
  <CWD>/src/blib2to3/pgen2/tokenize.py:65:1 - warning: Operation on "__all__" is not supported, so exported symbol list may be incorrect (reportUnsupportedDunderAll)
<CWD>/src/blib2to3/pytree.py
  <CWD>/src/blib2to3/pytree.py:364:18 - error: "current" is possibly unbound (reportPossiblyUnboundVariable)
  <CWD>/src/blib2to3/pytree.py:372:5 - error: Declaration "fixers_applied" is obscured by a declaration of the same name (reportRedeclaration)
  <CWD>/src/blib2to3/pytree.py:432:9 - error: Method "_eq" overrides class "Base" in an incompatible manner
    Parameter 2 type mismatch: base parameter is type "_P@_eq", override parameter is type "Leaf"
      "Base*" is not assignable to "Leaf" (reportIncompatibleMethodOverride)
  <CWD>/src/blib2to3/pytree.py:443:28 - error: Argument of type "list[Any] | None" cannot be assigned to parameter "fixers_applied" of type "list[Any]" in function "__init__"
    Type "list[Any] | None" is not assignable to type "list[Any]"
      "None" is not assignable to "list[Any]" (reportArgumentType)
  <CWD>/src/blib2to3/pytree.py:669:24 - error: "newcontent" is possibly unbound (reportPossiblyUnboundVariable)
  <CWD>/src/blib2to3/pytree.py:755:24 - error: "wrapped_content" is possibly unbound (reportPossiblyUnboundVariable)
  <CWD>/src/blib2to3/pytree.py:799:25 - error: Argument of type "list[NL]" cannot be assigned to parameter "value" of type "NL" in function "__setitem__"
    Type "list[NL]" is not assignable to type "NL"
      "list[NL]" is not assignable to "Node"
      "list[NL]" is not assignable to "Leaf" (reportArgumentType)
  <CWD>/src/blib2to3/pytree.py:835:25 - error: Argument of type "list[NL]" cannot be assigned to parameter "value" of type "NL" in function "__setitem__"
    Type "list[NL]" is not assignable to type "NL"
      "list[NL]" is not assignable to "Node"
      "list[NL]" is not assignable to "Leaf" (reportArgumentType)
  <CWD>/src/blib2to3/pytree.py:842:25 - error: Argument of type "list[NL]" cannot be assigned to parameter "value" of type "NL" in function "__setitem__"
    Type "list[NL]" is not assignable to type "NL"
      "list[NL]" is not assignable to "Node"
      "list[NL]" is not assignable to "Leaf" (reportArgumentType)
  <CWD>/src/blib2to3/pytree.py:846:34 - error: "save_stderr" is possibly unbound (reportPossiblyUnboundVariable)
27 errors, 4 warnings, 0 informations
