Skip to content

Commit 0d20be2

Browse files
committed
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/
1 parent d715573 commit 0d20be2

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

jsonschema/py.typed

Whitespace-only changes.

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ console_scripts =
6363
jsonschema = jsonschema.cli:main
6464

6565
[options.package_data]
66-
jsonschema = schemas/*.json, schemas/*/*.json
66+
jsonschema = py.typed, schemas/*.json, schemas/*/*.json
6767

6868
[flake8]
6969
ban-relative-imports = true

0 commit comments

Comments
 (0)