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

Commit0883fd2

Browse files
authored
Enable some stricter mypy settings onLib/_pyrepl (#119077)
1 parent16b46eb commit0883fd2

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

‎Lib/_pyrepl/mypy.ini‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,15 @@ platform = linux
1010
pretty = True
1111

1212
# Enable most stricter settings
13-
enable_error_code = ignore-without-code
13+
enable_error_code = ignore-without-code,redundant-expr
1414
strict = True
1515

1616
# Various stricter settings that we can't yet enable
1717
# Try to enable these in the following order:
18-
disallow_any_generics = False
1918
disallow_untyped_calls = False
2019
disallow_untyped_defs = False
2120
check_untyped_defs = False
2221

23-
disable_error_code = return
24-
2522
# Various internal modules that typeshed deliberately doesn't have stubs for:
2623
[mypy-_abc.*,_opcode.*,_overlapped.*,_testcapi.*,_testinternalcapi.*,test.*]
2724
ignore_missing_imports = True

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp