This repository was archived by the owner on Apr 17, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -43,9 +43,6 @@ modify the copyright blurb in the source files.
43
43
44
44
## 👷 2: TODO
45
45
46
- * [[ #1 ] ( https://github.com/pyxy-dk/python-project-template/issues/1 )]
47
- Move [ mypy] configuration into ` pyproject.toml `
48
- [ once the functionality has stabilised] ( https://github.com/python/mypy/issues/5205#issuecomment-832779057 ) .
49
46
* [[ #2 ] ( https://github.com/pyxy-dk/python-project-template/issues/2 )] Ensure
50
47
[ pipx] ( https://pipxproject.github.io/pipx/ ) compatibility by setting up
51
48
[ flit entrypoints] ( https://flit.readthedocs.io/en/latest/pyproject_toml.html#scripts-section ) .
Original file line number Diff line number Diff line change @@ -67,6 +67,21 @@ use_parentheses = true
67
67
line_length = 99
68
68
py_version = 37
69
69
70
+ [tool .mypy ]
71
+ plugins = [
72
+ " numpy.typing.mypy_plugin" ,
73
+ ]
74
+ python_version = " 3.7"
75
+ warn_return_any = true
76
+ warn_unused_configs = true
77
+
78
+ [[tool .mypy .overrides ]]
79
+ module = [
80
+ " pandapower.*" ,
81
+ " psycopg2" ,
82
+ ]
83
+ ignore_missing_imports = true
84
+
70
85
[tool .pytest .ini_options ]
71
86
minversion = " 7.0"
72
87
filterwarnings = " error::UserWarning"
You can’t perform that action at this time.
0 commit comments