mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
mypy: Move configuration to 'setup.cfg'
Less top-level files = winning [1]. [1] https://mypy.readthedocs.io/en/stable/config_file.html Signed-off-by: Stephen Finucane <stephen@that.guru>
This commit is contained in:
7
mypy.ini
7
mypy.ini
@@ -1,7 +0,0 @@
|
||||
[mypy]
|
||||
python_version = 2.7
|
||||
ignore_missing_imports = True
|
||||
follow_imports = skip
|
||||
incremental = True
|
||||
check_untyped_defs = True
|
||||
warn_unused_ignores = True
|
||||
@@ -28,5 +28,13 @@ max-line-length = 95
|
||||
ignore = E116,E241,E251
|
||||
exclude = .git,.tox,.venv,tests/*,build/*,sphinx/search/*,sphinx/pycode/pgen2/*,doc/ext/example*.py
|
||||
|
||||
[mypy]
|
||||
python_version = 2.7
|
||||
ignore_missing_imports = True
|
||||
follow_imports = skip
|
||||
incremental = True
|
||||
check_untyped_defs = True
|
||||
warn_unused_ignores = True
|
||||
|
||||
[build_sphinx]
|
||||
warning-is-error = 1
|
||||
|
||||
Reference in New Issue
Block a user