-
-
Save dimbleby/b9133cbafee6e127418a538bd7986f75 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ mypy src/ [5/3429] | |
src/poetry/config/file_config_source.py:44: error: Incompatible types in assignment (expression has type "Union[Item, Container]", variable has type "TOMLDocument") [assignment] | |
src/poetry/config/file_config_source.py:60: error: Incompatible types in assignment (expression has type "Union[Item, Container]", variable has type "TOMLDocument") [assignment] | |
src/poetry/layouts/layout.py:120: error: Value of type "Union[Item, Container]" is not indexable [index] | |
src/poetry/layouts/layout.py:121: error: Unsupported target for indexed assignment ("Union[Any, Item, Container]") [index] | |
src/poetry/layouts/layout.py:122: error: Unsupported target for indexed assignment ("Union[Any, Item, Container]") [index] | |
src/poetry/layouts/layout.py:123: error: Unsupported target for indexed assignment ("Union[Any, Item, Container]") [index] | |
src/poetry/layouts/layout.py:124: error: Value of type "Union[Any, Item, Container]" is not indexable [index] | |
src/poetry/layouts/layout.py:124: error: Item "Item" of "Union[Any, Item, Container]" has no attribute "append" [union-attr] | |
src/poetry/layouts/layout.py:124: error: Missing positional argument "item" in call to "append" of "Container" [call-arg] | |
src/poetry/layouts/layout.py:127: error: Unsupported target for indexed assignment ("Union[Any, Item, Container]") [index] | |
src/poetry/layouts/layout.py:129: error: Item "Item" of "Union[Any, Item, Container]" has no attribute "remove" [union-attr] | |
src/poetry/layouts/layout.py:131: error: Unsupported target for indexed assignment ("Union[Any, Item, Container]") [index] | |
src/poetry/layouts/layout.py:134: error: Value of type "Union[Any, Item, Container]" is not indexable [index] | |
src/poetry/layouts/layout.py:134: error: Item "Item" of "Union[Any, Item, Container]" has no attribute "append" [union-attr] | |
src/poetry/layouts/layout.py:134: error: Missing positional argument "item" in call to "append" of "Container" [call-arg] | |
src/poetry/layouts/layout.py:134: error: Argument 1 to "append" of "Container" has incompatible type "InlineTable"; expected "Union[Key, str, None]" [arg-type] | |
src/poetry/layouts/layout.py:136: error: Item "Item" of "Union[Any, Item, Container]" has no attribute "remove" [union-attr] | |
src/poetry/layouts/layout.py:138: error: Value of type "Union[Any, Item, Container]" is not indexable [index] | |
src/poetry/layouts/layout.py:138: error: Unsupported target for indexed assignment ("Union[Any, Item, Container]") [index] | |
src/poetry/layouts/layout.py:141: error: Value of type "Union[Any, Item, Container]" is not indexable [index] | |
src/poetry/layouts/layout.py:141: error: Unsupported target for indexed assignment ("Union[Any, Item, Container]") [index] | |
src/poetry/layouts/layout.py:145: error: Value of type "Union[Any, Item, Container]" is not indexable [index] | |
src/poetry/layouts/layout.py:145: error: Unsupported target for indexed assignment ("Union[Any, Item, Container]") [index] | |
src/poetry/layouts/layout.py:149: error: Item "Item" of "Union[Any, Item, Container]" has no attribute "__delitem__" [union-attr] | |
src/poetry/layouts/layout.py:167: error: Incompatible types in assignment (expression has type "str", variable has type "TOMLDocument") [assignment] | |
src/poetry/layouts/layout.py:170: error: Incompatible types in assignment (expression has type "str", variable has type "TOMLDocument") [assignment] | |
src/poetry/layouts/layout.py:170: error: Unsupported operand types for + ("str" and "TOMLDocument") [operator] | |
src/poetry/layouts/layout.py:172: error: Incompatible return value type (got "TOMLDocument", expected "str") [return-value] | |
src/poetry/packages/locker.py:62: error: Incompatible types in assignment (expression has type "TOMLDocument", variable has type "None") [assignment] | |
src/poetry/packages/locker.py:64: error: Incompatible return value type (got "None", expected "TOMLDocument") [return-value] | |
src/poetry/packages/locker.py:103: error: Incompatible types in assignment (expression has type "List[Union[Any, str]]", variable has type "Union[Item, Container]") [assignment] | |
src/poetry/packages/locker.py:104: error: Item "Item" of "Union[Item, Container]" has no attribute "__iter__" (not iterable) [union-attr] | |
src/poetry/packages/locker.py:104: error: Invalid index type "str" for "Union[Any, str]"; expected type "Union[int, slice]" [index] | |
src/poetry/packages/locker.py:110: error: Item "Item" of "Union[Item, Container]" has no attribute "__iter__" (not iterable) [union-attr] | |
src/poetry/packages/locker.py:111: error: Item "str" of "Union[Any, str]" has no attribute "get" [union-attr] | |
src/poetry/packages/locker.py:118: error: Invalid index type "str" for "Union[Any, str]"; expected type "Union[int, slice]" [index] | |
src/poetry/packages/locker.py:119: error: Invalid index type "str" for "Union[Any, str]"; expected type "Union[int, slice]" [index] | |
src/poetry/packages/locker.py:120: error: Invalid index type "str" for "Union[Any, str]"; expected type "Union[int, slice]" [index] | |
src/poetry/packages/locker.py:126: error: Item "str" of "Union[Any, str]" has no attribute "get" [union-attr] | |
src/poetry/packages/locker.py:127: error: Item "str" of "Union[Any, str]" has no attribute "get" [union-attr] | |
src/poetry/packages/locker.py:128: error: Item "str" of "Union[Any, str]" has no attribute "get" [union-attr] | |
src/poetry/packages/locker.py:129: error: Invalid index type "str" for "Union[Any, str]"; expected type "Union[int, slice]" [index] | |
src/poetry/packages/locker.py:130: error: Unsupported right operand type for in ("Union[Item, Container]") [operator] | |
src/poetry/packages/locker.py:134: error: Value of type "Union[Item, Container]" is not indexable [index] | |
src/poetry/packages/locker.py:134: error: Value of type "Union[Any, Item, Container]" is not indexable [index] | |
src/poetry/packages/locker.py:134: error: Item "Item" of "Union[Any, Item, Container]" has no attribute "__iter__" (not iterable) [union-attr] | |
src/poetry/packages/locker.py:134: error: Invalid index type "str" for "Union[Any, str]"; expected type "Union[int, slice]" [index] | |
src/poetry/packages/locker.py:137: error: Value of type "Union[Item, Container]" is not indexable [index] | |
src/poetry/packages/locker.py:137: error: Value of type "Union[Any, Item, Container]" is not indexable [index] | |
src/poetry/packages/locker.py:137: error: Invalid index type "str" for "Union[Any, str]"; expected type "Union[int, slice]" [index] | |
src/poetry/packages/locker.py:139: error: Invalid index type "str" for "Union[Any, str]"; expected type "Union[int, slice]" [index] | |
src/poetry/packages/locker.py:140: error: Item "str" of "Union[Any, str]" has no attribute "get" [union-attr] | |
src/poetry/packages/locker.py:162: error: Invalid index type "str" for "Union[Any, str]"; expected type "Union[int, slice]" [index] | |
src/poetry/packages/locker.py:167: error: Item "str" of "Union[Any, str]" has no attribute "items" [union-attr] | |
src/poetry/packages/locker.py:167: error: Invalid index type "str" for "Union[Any, str]"; expected type "Union[int, slice]" [index] | |
src/poetry/packages/locker.py:177: error: Item "str" of "Union[Any, str]" has no attribute "get" [union-attr] | |
src/poetry/packages/locker.py:198: error: Invalid index type "str" for "Union[Any, str]"; expected type "Union[int, slice]" [index] | |
src/poetry/packages/locker.py:410: error: "Item" has no attribute "append" [attr-defined] | |
src/poetry/packages/locker.py:413: error: "Item" has no attribute "multiline" [attr-defined] | |
src/poetry/packages/locker.py:554: error: List comprehension has incompatible type List[Item]; expected List[InlineTable] [misc] | |
src/poetry/factory.py:186: error: Value of type "Union[Item, Container]" is not indexable [index] | |
src/poetry/factory.py:188: error: Unsupported target for indexed assignment ("Union[Any, Item, Container]") [index] | |
src/poetry/factory.py:189: error: Unsupported target for indexed assignment ("Union[Any, Item, Container]") [index] | |
src/poetry/factory.py:190: error: Unsupported target for indexed assignment ("Union[Any, Item, Container]") [index] | |
src/poetry/factory.py:191: error: Unsupported target for indexed assignment ("Union[Any, Item, Container]") [index] | |
src/poetry/factory.py:193: error: Value of type "Union[Any, Item, Container]" is not indexable [index] | |
src/poetry/factory.py:194: error: Unsupported target for indexed assignment ("Union[Any, Item, Container]") [index] | |
src/poetry/factory.py:215: error: Incompatible types in assignment (expression has type "Item", variable has type "InlineTable") [assignment] | |
src/poetry/factory.py:217: error: Unsupported target for indexed assignment ("Union[Any, Item, Container]") [index] | |
src/poetry/console/commands/add.py:127: error: Value of type "Union[Item, Container]" is not indexable [index] | |
src/poetry/console/commands/add.py:127: error: Value of type "Union[Any, Item, Container]" is not indexable [index] | |
src/poetry/console/commands/add.py:127: error: Incompatible types in assignment (expression has type "Union[Any, Item, Container]", variable has type "Table") [assignment] | |
src/poetry/console/commands/add.py:205: error: Incompatible types in assignment (expression has type "Item", variable has type "InlineTable") [assignment] | |
src/poetry/console/commands/plugin/add.py:84: error: Value of type "Union[Item, Container]" is not indexable [index] | |
src/poetry/console/commands/plugin/add.py:86: error: Argument 2 to "get_existing_packages_from_input" of "PluginAddCommand" has incompatible type "Union[Any, Item, Container]"; expected "Dict[Any, Any]" [arg-type] | |
src/poetry/console/commands/plugin/add.py:132: error: "TOMLDocument" has no attribute "poetry_config" [attr-defined] | |
src/poetry/console/commands/plugin/add.py:148: error: Incompatible types in assignment (expression has type "Item", variable has type "InlineTable") [assignment] | |
src/poetry/console/commands/plugin/add.py:153: error: "TOMLDocument" has no attribute "save" [attr-defined] | |
Found 78 errors in 6 files (checked 153 source files) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment