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

reformat Python files with Black 24.2.0 #1266

Merged
merged 1 commit into from
Mar 15, 2024
Merged

Conversation

minestarks
Copy link
Member

black .

The extensive changes are mostly due to the 2024 updates to Black.

pip/tests/test_qsharp.py Dismissed Show dismissed Hide dismissed
Copy link

Benchmark for 863c575

Click to view benchmark
Test Base PR %
Array append evaluation 830.8±3.74µs 761.0±10.85µs -8.40%
Array literal evaluation 309.7±3.01µs 552.9±37.40µs +78.53%
Array update evaluation 828.4±3.83µs 756.6±3.94µs -8.67%
Deutsch-Jozsa evaluation 6.4±0.04ms 7.1±0.06ms +10.94%
Large file parity evaluation 35.7±0.17ms 35.6±0.43ms -0.28%
Large input file 35.1±3.06ms 44.2±1.92ms +25.93%
Large nested iteration 84.7±0.95ms 77.2±2.08ms -8.85%
Standard library 17.6±0.75ms 24.7±0.86ms +40.34%
Teleport evaluation 94.0±2.24µs 97.6±3.53µs +3.83%

@minestarks
Copy link
Member Author

Benchmark is obviously off due to #1249 . I'll merge anyway since I feel pretty safe about the perf impact...

@minestarks minestarks enabled auto-merge March 15, 2024 16:48
@minestarks minestarks added this pull request to the merge queue Mar 15, 2024
Merged via the queue into main with commit d6a8f8a Mar 15, 2024
16 checks passed
@minestarks minestarks deleted the minestarks/python-black branch March 15, 2024 22:10
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.

3 participants