-
-
Notifications
You must be signed in to change notification settings - Fork 6
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 isort version in pre-commit config file. #95
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.
We need to make it so that "Check code style" runs when the pre-commit
config changes. Right now, the requisite check is being skipped.
Is this a hook specified somewhere? I dont see it in the config. EDIT: nevermind I see you're referring to the github workflow. |
Setting up the pre-commit hooks fails due to a bug in isort (see: PyCQA/isort#2083). This commit updates the version to 5.12.0 where this bug was fixed.
@brandonwillard could you check this again. The test failure is the unrelated |
When building sphinx docs in the CI environment we get this error: ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with OpenSSL 1.0.2n 7 Dec 2017. See: urllib3/urllib3#2168 This commit pins urllib to < 2.0.0 so we can avoid this error until the environment the docs are built on supports uses a newer openssl version.
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## main #95 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 13 13
Lines 544 544
Branches 31 31
=========================================
Hits 544 544 ☔ View full report in Codecov by Sentry. |
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.
I added a PR that brings this project setup up to speed with the other Aesara projects: #98. Out of necessity, it also covers the pre-commit
updates and a different urllib3
fix, so we can close this one.
Setting up the pre-commit hooks fails due to a bug in isort (see: PyCQA/isort#2083). This commit updates the version to 5.12.0 where this bug was fixed.
closes #94
Thank you for opening a PR!
Here are a few important guidelines and requirements to check before your PR can be merged:
pre-commit
is installed and set up.Don't worry, your PR doesn't need to be in perfect order to submit it. As development progresses and/or reviewers request changes, you can always rewrite the history of your feature/PR branches.
If your PR is an ongoing effort and you would like to involve us in the process, simply make it a draft PR.