-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
run python 3.12 in the build, formatting tweaks
- Loading branch information
1 parent
2a9e786
commit 896202b
Showing
5 changed files
with
24 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
from pkg_resources import get_distribution | ||
from importlib.metadata import version | ||
|
||
__version__ = get_distribution("marshmallow-jsonschema").version | ||
__version__ = version("marshmallow-jsonschema") | ||
__license__ = "MIT" | ||
|
||
from .base import JSONSchema | ||
from .exceptions import UnsupportedValueError | ||
|
||
__all__ = ("JSONSchema", "UnsupportedValueError") | ||
__all__ = ("JSONSchema", "UnsupportedValueError", "__version__", "__license__") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
[tool.black] | ||
target-version = ['py39', 'py310'] | ||
target-version = ['py39', 'py310', 'py311', 'py312'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters