-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #91 from neutrinoceros/rel_1.0
REL: release 1.0.0
- Loading branch information
Showing
22 changed files
with
437 additions
and
359 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
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
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 |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
from .io import load | ||
from .validation import validate_inifile_schema | ||
|
||
__version__ = "0.11.2" | ||
__version__ = "1.0.0" |
This file was deleted.
Oops, something went wrong.
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,13 +1,21 @@ | ||
import os | ||
import sys | ||
from typing import AnyStr | ||
from typing import Dict | ||
from typing import Iterable | ||
from typing import Mapping | ||
from typing import Optional | ||
from typing import TypeVar | ||
from typing import Union | ||
|
||
T = TypeVar("T") | ||
Scalar = Union[int, float, bool, str] | ||
IterableOrSingle = Union[Iterable[T], T] | ||
PathLike = Union[str, bytes, os.PathLike] | ||
|
||
Section = Mapping[str, IterableOrSingle[Scalar]] | ||
InifixParsable = Mapping[str, Union[Section, Scalar]] | ||
if sys.version_info > (3, 9): | ||
PathLike = Union[AnyStr, os.PathLike[AnyStr]] | ||
else: | ||
PathLike = Union[AnyStr, os.PathLike] | ||
|
||
# these types are used to validate schemas internally at type-checking time | ||
SectionT = Dict[str, IterableOrSingle[Scalar]] | ||
InifixConfT = Dict[Optional[str], SectionT] |
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
Oops, something went wrong.