Skip to content

Commit 349f0ae

Browse files
committed
Migrate mypy config from setup.cfg to mypy.ini.
1 parent 79935f7 commit 349f0ae

File tree

2 files changed

+5
-21
lines changed

2 files changed

+5
-21
lines changed

mypy.ini

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[mypy]
2+
ignore_missing_imports = true
3+
warn_unreachable = true
4+
warn_unused_ignores = true
5+
warn_redundant_casts = true

setup.cfg

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,2 @@
11
[bdist_wheel]
22
python-tag = py3
3-
4-
[flake8]
5-
max-line-length = 80
6-
max-complexity = 18
7-
select = C,E,F,W,B,B950
8-
ignore = E203,E501,W503
9-
exclude =
10-
.git
11-
.eggs
12-
.tox
13-
__pycache__
14-
docs/conf.py
15-
old
16-
build
17-
dist
18-
19-
[mypy]
20-
ignore_missing_imports = true
21-
warn_unreachable = true
22-
warn_unused_ignores = true
23-
warn_redundant_casts = true

0 commit comments

Comments
 (0)