@@ -43,7 +43,7 @@ dependencies = [
4343 # exclude 0.11.2 and 0.11.3 due to https://github.com/sdispater/tomlkit/issues/225
4444 " tomlkit >=0.11.1,<1.0.0,!=0.11.2,!=0.11.3" ,
4545 " uvicorn[standard] == 0.23.2" ,
46- " ellar >= 0.5.7 "
46+ " ellar >= 0.5.8 "
4747]
4848
4949[project .scripts ]
@@ -58,10 +58,8 @@ Homepage = "https://eadwincode.github.io/ellar-cli/"
5858test = [
5959 " pytest >=7.1.3,<8.0.0" ,
6060 " pytest-cov >=2.12.0,<5.0.0" ,
61- " ruff ==0.1.6" ,
6261 " mypy == 1.7.1" ,
6362 " ruff ==0.1.7" ,
64- " black ==23.11.0" ,
6563 " pytest-asyncio" ,
6664 " autoflake" ,
6765]
@@ -89,3 +87,46 @@ ignore = [
8987
9088[tool .ruff .isort ]
9189known-third-party = [" ellar" ,]
90+
91+ [tool .mypy ]
92+
93+ show_column_numbers = true
94+
95+ follow_imports = ' normal'
96+ ignore_missing_imports = true
97+
98+ # be strict
99+ disallow_untyped_calls = true
100+ warn_return_any = true
101+ strict_optional = true
102+ warn_no_return = true
103+ warn_redundant_casts = true
104+ warn_unused_ignores = true
105+
106+ disallow_untyped_defs = true
107+ check_untyped_defs = true
108+ implicit_reexport = false
109+
110+ [[tool .mypy .overrides ]]
111+ module = " ellar_cli.compatible.*"
112+ ignore_errors = true
113+
114+ [[tool .mypy .overrides ]]
115+ module = " ellar_cli.cli.*"
116+ ignore_errors = true
117+
118+ [[tool .mypy .overrides ]]
119+ module = " ellar_cli.schema.*"
120+ ignore_errors = true
121+
122+ [[tool .mypy .overrides ]]
123+ module = " ellar_cli.__main__.*"
124+ ignore_errors = true
125+
126+ [[tool .mypy .overrides ]]
127+ module = " ellar_cli.manage_commands.*"
128+ ignore_errors = true
129+
130+ [[tool .mypy .overrides ]]
131+ module = " ellar_cli.testing.*"
132+ ignore_errors = true
0 commit comments