From 0d20be2c6ab328cc6afb583eaeb981ac2e1977b7 Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Mon, 23 May 2022 10:04:51 +0100 Subject: [PATCH] Mark library as typed (PEP-561) Avoids problems with mypy by officially declaring the library as typed. Skipping analyzing "jsonschema": module is installed, but missing library stubs or py.typed marker See: https://peps.python.org/pep-0561/ --- jsonschema/py.typed | 0 setup.cfg | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 jsonschema/py.typed diff --git a/jsonschema/py.typed b/jsonschema/py.typed new file mode 100644 index 000000000..e69de29bb diff --git a/setup.cfg b/setup.cfg index 7571fdfbb..18623eb0b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -63,7 +63,7 @@ console_scripts = jsonschema = jsonschema.cli:main [options.package_data] -jsonschema = schemas/*.json, schemas/*/*.json +jsonschema = py.typed, schemas/*.json, schemas/*/*.json [flake8] ban-relative-imports = true