XanaduAI / strawberryfields

Strawberry Fields is a full-stack Python library for designing, simulating, and optimizing continuous variable (CV) quantum optical circuits.
https://strawberryfields.ai
Apache License 2.0
754 stars 191 forks source link

Correct CLI docstring and test typos #318

Closed antalszava closed 4 years ago

antalszava commented 4 years ago

Correct the typos in the CLI docstring for the usage and add missing asserts in the general test.

The correction for the usage is needed, as in its final form #312 added the CLI with the usage being generated by default. In previous commits, a custom usage was defined, but this was eventually removed.

codecov[bot] commented 4 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (demo@a097349). Click here to learn what that means. The diff coverage is n/a.

@@           Coverage Diff           @@
##             demo     #318   +/-   ##
=======================================
  Coverage        ?   97.66%           
=======================================
  Files           ?       50           
  Lines           ?     6251           
  Branches        ?        0           
=======================================
  Hits            ?     6105           
  Misses          ?      146           
  Partials        ?        0
Impacted Files Coverage Δ
strawberryfields/cli/__init__.py 90.41% <ø> (ø)

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 a097349...27628d9. Read the comment docs.