Add --strict-bytes and --local-partial-types to self check (#13476)

* Add `--strict-bytes` and `--local-patial-types` to self check

These two options will be on by default in `--strict` in `mypy@2.0`

* Annotate `_LOADERS` in `pytype_test`
This commit is contained in:
sobolevn
2025-02-08 13:00:49 +03:00
committed by GitHub
parent 73ebb9dfd7
commit 1d1086018b
2 changed files with 3 additions and 1 deletions

View File

@@ -40,7 +40,7 @@ from ts_utils.utils import SupportedVersionsDict, parse_stdlib_versions_file, su
TYPESHED_SUBDIRS = ["stdlib", "stubs"]
TYPESHED_HOME = "TYPESHED_HOME"
_LOADERS = {}
_LOADERS: dict[str, tuple[pytype_config.Options, load_pytd.Loader]] = {}
def main() -> None: