Skip to content

Commit

Permalink
Mark library as typed (PEP-561)
Browse files Browse the repository at this point in the history
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/
  • Loading branch information
ssbarnea committed May 23, 2022
1 parent d715573 commit 0d20be2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Empty file added jsonschema/py.typed
Empty file.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0d20be2

Please sign in to comment.