-
Notifications
You must be signed in to change notification settings - Fork 42
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
Update dependencies and pre-commit #477
Conversation
Bumps [black](https://github.com/psf/black) from 19.10b0 to 20.8b1. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/master/CHANGES.md) - [Commits](https://github.com/psf/black/commits) Signed-off-by: dependabot[bot] <support@github.com>
Bumps [aiida-core](https://github.com/aiidateam/aiida-core) from 1.3.0 to 1.3.1. - [Release notes](https://github.com/aiidateam/aiida-core/releases) - [Changelog](https://github.com/aiidateam/aiida-core/blob/develop/CHANGELOG.md) - [Commits](aiidateam/aiida-core@v1.3.0...v1.3.1) Signed-off-by: dependabot[bot] <support@github.com>
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 5.5.8 to 5.5.11. - [Release notes](https://github.com/squidfunk/mkdocs-material/releases) - [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/docs/changelog.md) - [Commits](squidfunk/mkdocs-material@5.5.8...5.5.11) Signed-off-by: dependabot[bot] <support@github.com>
Bumps [fastapi](https://github.com/tiangolo/fastapi) from 0.61.0 to 0.61.1. - [Release notes](https://github.com/tiangolo/fastapi/releases) - [Commits](fastapi/fastapi@0.61.0...0.61.1) Signed-off-by: dependabot[bot] <support@github.com>
…0.61.1', 'origin/dependabot/pip/master/mkdocs-material-5.5.11', 'origin/dependabot/pip/master/aiida-core-1.3.1' and 'origin/dependabot/pip/master/black-20.8b1' into update_deps
New black version removes white space in function docs strings. This updated the descriptions in the OpenAPI.
Codecov Report
@@ Coverage Diff @@
## master #477 +/- ##
=======================================
Coverage 91.65% 91.65%
=======================================
Files 60 60
Lines 2828 2828
=======================================
Hits 2592 2592
Misses 236 236
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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.
Thanks for this @CasperWA, I tidied up a few docstrings on the way through my review too. I like the new features in black, it sounds like they're getting close to stable release now.
I notice that we still don't validate properly according to swagger (see recent issue on the spec repo)...
Further updates to doc strings. Co-authored-by: Matthew Evans <7916000+ml-evs@users.noreply.github.com>
Hmm. Yeah that is a bit weird still. I am not completely sure about what to do about it? |
Okay, I think I may have found the issue here. Furthermore, I found that Edit: The issue is also mentioned in |
Ah nice one, I got nowhere when I was trying to figure this out. Do you want to add a comment over at the spec issue and we can work on fixing it? I'm happy to raise the issue for the changes we need to make, unless you want to do so (will do it in 10 mins if I don't see one from you) |
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 more docstring tweak, but will accept here. Either force merge as an admin after committing it, or ping me to re-review and I can do it asap.
Co-authored-by: Matthew Evans <7916000+ml-evs@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.
Thanks @CasperWA!
Updating dependencies according to @dependabot PRs.
Update
setup.py
accordingly.Also, run
pre-commit autoupdate
to update the versions of the pre-commit tasks and subsequenctly run pre-commit for all files, resulting in the updatedblack
version removing some white space in function doc-strings, which in turn updated the descriptions in the OpenAPI JSON.I also took the liberty to fix some doc-string
Returns:
, removing the written type, making sure it was instead defined in the function definition using... -> return_type:
.