XanaduAI / thewalrus

A library for the calculation of hafnians, Hermite polynomials and Gaussian boson sampling.
https://the-walrus.readthedocs.io
Apache License 2.0
100 stars 55 forks source link

Format the walrus with black #291

Closed sduquemesa closed 2 years ago

sduquemesa commented 2 years ago

Context: 25 files on The Walrus are not properly formatted, i.e., would be modified by running black -l 100 thewalrus/

Description of the Change: black -l 100 thewalrus/ is run to format those files

Benefits: Formatting tests can be added to CI

Possible Drawbacks: None

Related GitHub Issues: None

codecov[bot] commented 2 years ago

Codecov Report

Merging #291 (a6761e2) into master (4b2b87a) will not change coverage. The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #291   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           21        21           
  Lines         1446      1446           
=========================================
  Hits          1446      1446           
Impacted Files Coverage Δ
thewalrus/csamples.py 100.00% <ø> (ø)
thewalrus/quantum/__init__.py 100.00% <ø> (ø)
thewalrus/quantum/adjacency_matrices.py 100.00% <ø> (ø)
thewalrus/quantum/conversions.py 100.00% <ø> (ø)
thewalrus/quantum/gaussian_checks.py 100.00% <ø> (ø)
thewalrus/random.py 100.00% <ø> (ø)
thewalrus/reference.py 100.00% <ø> (ø)
thewalrus/_hermite_multidimensional.py 100.00% <100.00%> (ø)
thewalrus/_permanent.py 100.00% <100.00%> (ø)
thewalrus/_torontonian.py 100.00% <100.00%> (ø)
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 4b2b87a...a6761e2. Read the comment docs.