Skip to content

Commit

Permalink
expand wildcard for test files in mypy ignorelist (#2768)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakkdl authored Aug 23, 2023
1 parent ef6d8ee commit 0c108f9
Showing 1 changed file with 48 additions and 4 deletions.
52 changes: 48 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ disallow_untyped_decorators = true
disallow_untyped_defs = true

# Enable once other problems are dealt with
check_untyped_defs = false
check_untyped_defs = true
disallow_untyped_calls = false

# files not yet fully typed
Expand All @@ -70,10 +70,54 @@ module = [
"trio/_windows_pipes",

# tests
"trio/_core/_tests/*",
"trio/_tests/*",
"trio/testing/_fake_net", # 30
"trio/testing/_fake_net",
"trio/_core/_tests/test_asyncgen",
"trio/_core/_tests/test_guest_mode",
"trio/_core/_tests/test_instrumentation",
"trio/_core/_tests/test_io",
"trio/_core/_tests/test_ki",
"trio/_core/_tests/test_local",
"trio/_core/_tests/test_mock_clock",
"trio/_core/_tests/test_multierror",
"trio/_core/_tests/test_multierror_scripts/ipython_custom_exc",
"trio/_core/_tests/test_multierror_scripts/simple_excepthook",
"trio/_core/_tests/test_parking_lot",
"trio/_core/_tests/test_run",
"trio/_core/_tests/test_thread_cache",
"trio/_core/_tests/test_tutil",
"trio/_core/_tests/test_unbounded_queue",
"trio/_core/_tests/tutil",
"trio/_tests/pytest_plugin",
"trio/_tests/test_abc",
"trio/_tests/test_channel",
"trio/_tests/test_deprecate",
"trio/_tests/test_dtls",
"trio/_tests/test_exports",
"trio/_tests/test_file_io",
"trio/_tests/test_highlevel_generic",
"trio/_tests/test_highlevel_open_tcp_listeners",
"trio/_tests/test_highlevel_open_tcp_stream",
"trio/_tests/test_highlevel_open_unix_stream",
"trio/_tests/test_highlevel_serve_listeners",
"trio/_tests/test_highlevel_socket",
"trio/_tests/test_highlevel_ssl_helpers",
"trio/_tests/test_path",
"trio/_tests/test_scheduler_determinism",
"trio/_tests/test_signals",
"trio/_tests/test_socket",
"trio/_tests/test_ssl",
"trio/_tests/test_subprocess",
"trio/_tests/test_sync",
"trio/_tests/test_testing",
"trio/_tests/test_threads",
"trio/_tests/test_timeouts",
"trio/_tests/test_tracing",
"trio/_tests/test_util",
"trio/_tests/test_wait_for_object",
"trio/_tests/test_windows_pipes",
"trio/_tests/tools/test_gen_exports",
]
check_untyped_defs = false
disallow_any_decorated = false
disallow_any_generics = false
disallow_any_unimported = false
Expand Down

0 comments on commit 0c108f9

Please sign in to comment.