-
Notifications
You must be signed in to change notification settings - Fork 46
Add mypy to pre-commit (and introduce data_types.py) #106
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
Conversation
Signed-off-by: Bram Stoeller <bram.stoeller@alliander.com>
Signed-off-by: Bram Stoeller <bram.stoeller@alliander.com>
Signed-off-by: Bram Stoeller <bram.stoeller@alliander.com>
Signed-off-by: Bram Stoeller <bram.stoeller@alliander.com>
Signed-off-by: Bram Stoeller <bram.stoeller@alliander.com>
…grid-model into feature/mypy
Signed-off-by: Bram Stoeller <bram.stoeller@alliander.com>
Signed-off-by: Bram Stoeller <bram.stoeller@alliander.com>
cf6072f to
d531070
Compare
Signed-off-by: Bram Stoeller <bram.stoeller@alliander.com>
|
@bramstoeller also put all the checks in the pipeline. modify the name to a more meaningful name of file, name of workflow and jobs |
Signed-off-by: Bram Stoeller <bram.stoeller@alliander.com>
Signed-off-by: Bram Stoeller <bram.stoeller@alliander.com>
Signed-off-by: Bram Stoeller <bram.stoeller@alliander.com>
Signed-off-by: Bram Stoeller <bram.stoeller@alliander.com>
Signed-off-by: Bram Stoeller <bram.stoeller@alliander.com>
Signed-off-by: Bram Stoeller <bram.stoeller@alliander.com>
Signed-off-by: Bram Stoeller <bram.stoeller@alliander.com>
Signed-off-by: Bram Stoeller <bram.stoeller@alliander.com>
Signed-off-by: Bram Stoeller <bram.stoeller@alliander.com>
Signed-off-by: Bram Stoeller <bram.stoeller@alliander.com>
Signed-off-by: Bram Stoeller <bram.stoeller@alliander.com>
Signed-off-by: Bram Stoeller <bram.stoeller@alliander.com>
Signed-off-by: Bram Stoeller <bram.stoeller@alliander.com>
Signed-off-by: Bram Stoeller <bram.stoeller@alliander.com>
Signed-off-by: Bram Stoeller <bram.stoeller@alliander.com>
Signed-off-by: Bram Stoeller <bram.stoeller@alliander.com>
This reverts commit cf584f8. Signed-off-by: Bram Stoeller <bram.stoeller@alliander.com>
Signed-off-by: Bram Stoeller <bram.stoeller@alliander.com>
Signed-off-by: Bram Stoeller <bram.stoeller@alliander.com>
Signed-off-by: Bram Stoeller <bram.stoeller@alliander.com>
Signed-off-by: Bram Stoeller <bram.stoeller@alliander.com>
Signed-off-by: Bram Stoeller <bram.stoeller@alliander.com>
Signed-off-by: Bram Stoeller <bram.stoeller@alliander.com>
Signed-off-by: Bram Stoeller <bram.stoeller@alliander.com>
Signed-off-by: Bram Stoeller <bram.stoeller@alliander.com>
TonyXiang8787
left a comment
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.
In the README there is a badge for format check.
Now you changed the name of the workflow. Maybe you need to modify the badge.
Signed-off-by: Bram Stoeller <bram.stoeller@alliander.com>
|
Kudos, SonarCloud Quality Gate passed! |








When applying mypy, I noticed that we had some errors in our type hinting. I got confused in the forrest of Lists, Dicts, etcetera, so in an attempt to make the data structures a bit more understandable, I've introduced type aliases in data_types.py. I'm not sure this is better or even more readable, so please be critical in your review!