File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed
Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -40,11 +40,23 @@ lines_between_types = 1
4040lines_after_imports = 2
4141
4242[tool .mypy ]
43- ignore_missing_imports = true
43+ enable_error_code = [
44+ " ignore-without-code" ,
45+ " redundant-expr" ,
46+ " truthy-bool" ,
47+ ]
48+ explicit_package_bases = true
49+ files = [" src" , " tests" ]
50+ mypy_path = " src"
51+ namespace_packages = true
4452show_error_codes = true
4553strict = true
46- enable_error_code = [" ignore-without-code" ]
47- files = [" src" , " tests" ]
54+
55+ [[tool .mypy .overrides ]]
56+ module = [
57+ ' cleo.*' ,
58+ ]
59+ ignore_missing_imports = true
4860
4961[build-system ]
5062requires = [" poetry-core" ]
Original file line number Diff line number Diff line change 2020
2121if TYPE_CHECKING :
2222 from poetry .config .config import Config
23- from poetry .poetry . poetry import Poetry
23+ from poetry .poetry import Poetry
2424 from poetry .utils .env import VirtualEnv
2525 from pytest_mock import MockerFixture
2626
You can’t perform that action at this time.
0 commit comments