-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add CSV Dialect pydantic
class
#93
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found one issue with the settings.json
file, but otherwise LGTM!
# Conflicts: # poetry.lock
# Conflicts: # poetry.lock
Co-authored-by: Alex Dewar <alexdewar@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems reasonable. Obviously it is not currently being used, but casting from inbuilt csv dialect to a pydantic models seems to be a good place to start.
setup.cfg
Outdated
@@ -8,7 +8,7 @@ test = pytest | |||
|
|||
[tool:pytest] | |||
addopts = | |||
-v --mypy -p no:warnings | |||
-v -p no:warnings |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why remove the pytest-mypy checks?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A mistake, should not have been committed. Having said that, if that flag is ther,e the test discovery of VSCode does not work as it should.
# Conflicts: # poetry.lock
To be used, eventually, to validate the part of the header that indicates the dialect. It incorporates a few shortcuts to get some common CSV dialect configurations, as exposed by the python built-in package
csv
.This functionality is not used anywhere, yet. It will be used later, when implementing #79 and then #80 #81 #82 and #84
Close #2