-
Notifications
You must be signed in to change notification settings - Fork 2
dev: Add pre-commit to buildservice repo #16
Conversation
Changes to bash scripts are the result of making the changes required to get the linters to pass. Shebangs have been changed to the portable #!/usr/bin/env style. Bash 'strict mode' has been standardized across scripts. Bug: T325183
cb46604
to
9c9c207
Compare
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.
Any reason why we haven't merged this? saw were @david-caro mentioned that he is having issues with pre-commit and will merge when issue is resolved
I tried checking out this branch and running
|
I can confirm this. Just checked on my own machine too |
Doing a quick look, the error comes from the
Looking... |
I'm using poetry version 1.3.2:
|
Yep, there's a bug in isort 5.11.4, upgrading to 5.12.0 (latest) fixes it (reference https://github.com/PyCQA/isort/releases/tag/5.12.0, "Fix poetry pip-shims extras dependency (PyCQA/isort#2078) @jooola") So poetry autoupdate fixes the issue, can you add a commit with it to the branch? |
You can also add a link to T329271 (for the pre-commit issue) |
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 don't have python<3.8 for this, so latest isort works ok (when moving to gitlab we might want to double-check)
Bug: T325183
Bug: T329271