Files
Samuel Colvin f341049b9e Remove Cython & Move to pyproject.toml (#4473)
* Remove Cython

* fix CI

* fix coverage

* fix tests

* switching to pypyroject.toml

* pre-commit all and use pre-commit for linting

* no mypy tests on macos and windows on ci, use flake8-pyproject

* fix docs and tests CI

* check build is working

* drop pytest-cov

* window and macos ci with 3.11, reduce filtering

* use pip-tools to pin all dependencies

* fix docs and fastapi tests

* fix test deps for 3.7

* no cache on tests job

* revert fastapi changes, fix coverage

* fix mypy coverage

* test with older mypy

* dotenv not required for mypy tests

* split testing requirements std and extra

* typo

* @PrettyWood comments

* correct branch name

* mypy python_version and pr template
2022-09-06 17:15:51 +01:00

9 lines
635 B
Plaintext

5: note: "foo" defined here
12: error: Argument 1 to "foo" has incompatible type "str"; expected "int" [arg-type]
13: error: Argument "c" to "foo" has incompatible type "int"; expected "str" [arg-type]
14: error: Too many positional arguments for "foo" [misc]
14: error: Argument 2 to "foo" has incompatible type "int"; expected "str" [arg-type]
15: error: Unexpected keyword argument "d" for "foo" [call-arg]
17: error: "Callable[[int, DefaultNamedArg(str, 'c')], str]" has no attribute "raw_function" [attr-defined]
26: error: Incompatible types in assignment (expression has type "str", variable has type "int") [assignment]