Skip to content

Commit

Permalink
‣ Integrate pydantic to improve cli data validation.
Browse files Browse the repository at this point in the history
  • Loading branch information
eli64s committed Jun 29, 2023
1 parent 4daa7c1 commit c86d54d
Show file tree
Hide file tree
Showing 14 changed files with 479 additions and 359 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,4 @@ notebooks/
# Work In Progress
conf/templates
src/redis_cache.py
conf/prompts.toml
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,19 @@ All notable changes to this project will be documented in this file.
- 📄 Remove outdated example README.md files from the [examples](./examples) directory.

---

## [v0.0.3] - *2023-06-29*

### Added

- 🪄 Add [pydantic](https://pydantic-docs.helpmanual.io/) to validate the user's repository and api key inputs.
- Validation was moved from *main.py* to *conf.py*.
- 📖 Update [README.md](./README.md) file contents.
- Add Changelog section
- Reformat HTML code blocks

### Removed

- 📦 Remove [dacite](https://dacite.readthedocs.io/en/stable/) dependency now that *pydantic* is used for dataclass creation.

---
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@ help:
# Style
.PHONY: style
style:
-ruff check .
-ruff .
-black .
-flake8
-isort .
-yapf -i -r .

# Clean
.PHONY: clean
Expand Down
Loading

0 comments on commit c86d54d

Please sign in to comment.