Skip to content

Commit 7201000

Browse files
Merge pull request #858 from adamtheturtle/merge-settings
Consolidate tool settings
2 parents dfcf8e1 + c02061f commit 7201000

File tree

4 files changed

+26
-23
lines changed

4 files changed

+26
-23
lines changed

doc8.ini

Lines changed: 0 additions & 4 deletions
This file was deleted.

mypy.ini

Lines changed: 0 additions & 16 deletions
This file was deleted.

pytest.ini

Lines changed: 0 additions & 3 deletions
This file was deleted.

setup.cfg

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,29 @@ ignore =
3030
tests-pylintrc
3131
tests/*
3232
vuforia_secrets.env.example
33+
34+
[doc8]
35+
36+
max-line-length = 2000
37+
ignore-path = ./src/*.egg-info/SOURCES.txt,./docs/build/spelling/output.txt
38+
39+
[tool:pytest]
40+
xfail_strict=true
41+
log_cli=true
42+
43+
[mypy]
44+
check_untyped_defs = True
45+
disallow_incomplete_defs = True
46+
disallow_subclassing_any = True
47+
disallow_untyped_calls = True
48+
disallow_untyped_decorators = False
49+
disallow_untyped_defs = True
50+
follow_imports = silent
51+
ignore_missing_imports = True
52+
no_implicit_optional = True
53+
strict_optional = True
54+
warn_no_return = True
55+
warn_redundant_casts = True
56+
warn_return_any = True
57+
warn_unused_configs = True
58+
warn_unused_ignores = True

0 commit comments

Comments
 (0)