Releases: Rud356/ConfigFramework
Releases · Rud356/ConfigFramework
Minor readme.md fix and dependency update
2.2.3 Update requirements.txt
Fix docs for rtd
- Fixed front page
- Fixed type hinting example in doc
Add description on how to install mypy and docs building dependencies
Many type hinting fixes and docs update
- Now it's possible to type hint variables just using
ConfigVar[desired_type]
- Replaced invalid type hints with correct ones
- Update docs
- Add mypy linter support
Fix docs
Add type hint for config variable and pathlib.Path as variable key support
Now you can type hint config variables: see example
Now it's possible to get variables from loaders even with keys written like that:
from pathlib import Path
from ConfigFramework.loaders import DictLoader
base = pathlib.Path("c") / "k"
loader = DictLoader.load(
{
"a": 123, "b": 2331,
"c": {
"k": {
"some": "value"
}
}
}
)
loader.get(base / "some")
Compatibility fix for python 3.10 and code style fixes
2.0.8 Remove python 3.10 since not yet supported
Fix docstrings and docs
2.0.7 Fix sentences in docs
Fix crash on multiple nested configs
2.0.6 Fix multiple nested configs bug which crashed initialization
Fix mistake which broke initialization of variable if it had default value passed as arg and no caster passed as arg
2.0.5 Fix error when having a default value per config var without custom c…