Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2e6f90a

Browse files
committed
Add mypy settings
1 parentdc1b09a commit2e6f90a

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

‎pyproject.toml‎

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,43 @@ exclude_lines = [
2121
known_first_party ="lithium"
2222
profile ="black"
2323

24+
[tool.mypy]
25+
check_untyped_defs =true
26+
disallow_any_generics =true
27+
disallow_incomplete_defs =true
28+
disallow_subclassing_any =true
29+
disallow_untyped_calls =true
30+
disallow_untyped_decorators =true
31+
disallow_untyped_defs =true
32+
implicit_reexport =false
33+
namespace_packages =true
34+
no_implicit_optional =true
35+
python_version ="3.6"
36+
show_error_codes =true
37+
strict_equality =true
38+
warn_redundant_casts =true
39+
warn_return_any =true
40+
warn_unused_configs =true
41+
warn_unused_ignores =true
42+
43+
[[tool.mypy.overrides]]
44+
module = [
45+
"Collector.Collector",
46+
"CovReporter",
47+
"distro",
48+
"FTB",
49+
"FTB.ProgramConfiguration",
50+
"FTB.Signatures",
51+
"FTB.Signatures.CrashInfo",
52+
"fasteners",
53+
"lithium",# Lithium *may* get types soon, as of mid-2021
54+
"lithium.interestingness",
55+
"lithium.interestingness.timed_run",
56+
"lithium.interestingness.utils",
57+
"Reporter.Reporter",
58+
]
59+
ignore_missing_imports =true
60+
2461
[tool.pylint.format]
2562
max-line-length =88
2663

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp