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
[pre-commit.ci] pre-commit autoupdate #656
Conversation
updates: - [github.com/psf/black: 22.8.0 → 22.10.0](psf/black@22.8.0...22.10.0) - [github.com/asottile/pyupgrade: v2.38.2 → v3.1.0](asottile/pyupgrade@v2.38.2...v3.1.0)
for more information, see https://pre-commit.ci
Codecov ReportBase: 100.00% // Head: 100.00% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## master #656 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 80 80
Lines 10531 10530 -1
=========================================
- Hits 10531 10530 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Problem here is the following:
So it is clashing with: Line 11 in da4ed92
Proposed solution
In the second case, the offending commit is asottile/pyupgrade@57eb8ab, not surprisingly a very big one, and exactly the one before v3.0.0. |
@alecandido thank you so much. @andrea-pasquale could you please have a look? |
Sorry for jumping in, but I believe there is even a third possibility: i.e. configure the hook as it should be able to even remove pragmas: https://github.com/pre-commit/pre-commit-hooks/blob/5420c705a4dda45ce7edb2a570b8d3f64e3648eb/pre_commit_hooks/fix_encoding_pragma.py#L123 |
That is not very useful, since the clash is there because |
Thanks @alecandido and @felixhekhorn.
If you agree I'll implement this fix here. |
Thanks guys @felixhekhorn @alecandido. @andrea-pasquale I agree with the downgrade. |
Done @scarrazza. Now tests are passing. Feel free to merge. |
Thank you all. |
updates: