-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Refactor]: Use dataclasses for models (#457)
* Refactor Repository class * Refactor test result models * Refactor config models * Remove Optional type from attributes that cannot be None * black * Improve type hints Co-authored-by: Eric Arellano <[email protected]> * Use enum Co-authored-by: Eric Arellano <[email protected]> * Update ecosystem/models/test_results.py Co-authored-by: Eric Arellano <[email protected]> * Incorporate feedback --------- Co-authored-by: Eric Arellano <[email protected]>
- Loading branch information
1 parent
3c1d487
commit 47fe054
Showing
7 changed files
with
149 additions
and
258 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
Oops, something went wrong.