Releases: SupImDos/pydantic-argparse
Releases Β· SupImDos/pydantic-argparse
v0.9.0
v0.8.0
Changes
- Implements handling for environment variables using
pydantic.BaseSettings
(see: #41) - Reworks the display of validation and error messages (see: #41)
- Refactors the
utils
module (see: #41) - Overhauls development tooling (
flake8
->ruff
, upgrades, etc.) (see: #41) - Updates documentation (see: #41)
- Updates
README.md
to use raw Github logo link, rather than local path. (see: #40) - Reworks Github workflows to use
actions/setup-python
inbuilt caching (see: #43)
Closes
v0.7.0
v0.6.1
Changes
- Explicit package re-exports using
__all__
(see: #23) - Renamed
__version__.py
to__metadata__.py
(metadata items still re-exported in base package) - Updated linter from
pylint
toflake8
with plugins (see: #13) - Updated codebase to pass new linting
- Upgraded
poetry.lock
lockfile dependencies for development (see: #19) - Updated codebase to match latest type-checking and linting versions
- Added Github Actions CI for linting, type-checking, unit-testing and coverage (see: #7)
- Added
README.md
badges for the above Github Actions
Closes
v0.6.0
Changes
- No longer explicitly sets default values for arguments not provided by the user
- Uses
argparse.SUPPRESS
to ignore missing values, and missing values are set by thepydantic
model - This allows the correct usage of
model.__fields_set__
andmodel.json(exclude_unset=True)
, etc.
Closes
- Closes (#18 ): Do not set values for arguments not provided by the user
v0.5.0
Changes
- Added hosted documentation at: at https://pydantic-argparse.supimdos.com/
- Added examples
- Docstring and Comment Overhaul
- Removed
typing-inspect
dependency - Improved argument type determination behind the scenes
- Improved linting and style-guide conformance
- Fixed broken
metavars
for variadic argument types - Added
alias
feature for arguments - Added
py.typed
PEP-561 marker