Skip to content
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 #93

Merged
merged 3 commits into from
Nov 9, 2022
Merged

Conversation

pre-commit-ci[bot]
Copy link
Contributor

@pre-commit-ci pre-commit-ci bot commented Nov 1, 2022

@codecov
Copy link

codecov bot commented Nov 1, 2022

Codecov Report

Base: 100.00% // Head: 100.00% // No change to project coverage 👍

Coverage data is based on head (9080a4a) compared to base (8b7d26f).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #93   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           12        12           
  Lines         1024      1024           
=========================================
  Hits          1024      1024           
Flag Coverage Δ
unittests 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/qibojit/__init__.py 100.00% <ø> (ø)
src/qibojit/backends/__init__.py 100.00% <ø> (ø)
src/qibojit/backends/cpu.py 100.00% <ø> (ø)
src/qibojit/backends/gpu.py 100.00% <ø> (ø)
src/qibojit/backends/matrices.py 100.00% <ø> (ø)
src/qibojit/custom_operators/gates.py 100.00% <ø> (ø)
src/qibojit/custom_operators/ops.py 100.00% <ø> (ø)
src/qibojit/tests/conftest.py 100.00% <ø> (ø)
src/qibojit/tests/test_backends.py 100.00% <ø> (ø)
src/qibojit/tests/test_gates.py 100.00% <ø> (ø)
... and 2 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.
📢 Do you have feedback about the report comment? Let us know in this issue.

updates:
- [github.com/asottile/pyupgrade: v2.38.4 → v3.2.0](asottile/pyupgrade@v2.38.4...v3.2.0)
@alecandido
Copy link
Member

@scarrazza this is the usual one, I would suggest merging after removing

- id: fix-encoding-pragma

as usual :)

@alecandido
Copy link
Member

The other option is to add --remove flag:
https://github.com/pre-commit/pre-commit-hooks#fix-encoding-pragma

But since pyupgrade is already doing it, it is unnecessary and redundant. I would simplify and drop as we have already done anywhere else.

@scarrazza scarrazza merged commit ffd3107 into main Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants