rover: use Pydantic for Vector and Rover classes
Pydantic is similar to Dataclasses, but enables run-time type-checking.
This commit is contained in:
parent
0f1b861eee
commit
add6940dce
4 changed files with 28 additions and 15 deletions
|
|
@ -8,6 +8,7 @@ pytest = "*"
|
|||
pytest-cov = "*"
|
||||
|
||||
[packages]
|
||||
pydantic = "*"
|
||||
|
||||
[requires]
|
||||
python_version = "3.8"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue