From b0e432978fb7e409d381585ecf05607db6870639 Mon Sep 17 00:00:00 2001 From: jakkdl Date: Mon, 21 Aug 2023 14:39:08 +0200 Subject: [PATCH] expand wildcard for test files in mypy ignorelist --- pyproject.toml | 52 ++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 48 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 184b46056d..24be2d07bf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 @@ -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