microsoft / quantum-viz.js

quantum-viz.js is a configurable tool for rendering quantum circuits using pure HTML.
Other
44 stars 14 forks source link

Run `flake8` and `mypy` in the CI #48

Closed jond01 closed 2 years ago

jond01 commented 2 years ago

Description

This PR adds the above tools to nox + the CI, including the required modifications to make the sessions pass.

Type of change

How Has This Been Tested?

Checklist:

codecov-commenter commented 2 years ago

Codecov Report

Merging #48 (ef9ce7e) into main (1cead97) will not change coverage. The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #48   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines           36        36           
=========================================
  Hits            36        36           
Impacted Files Coverage Δ
quantum-viz/quantum_viz/__init__.py 100.00% <100.00%> (ø)
quantum-viz/quantum_viz/widget.py 100.00% <100.00%> (ø)

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 1cead97...ef9ce7e. Read the comment docs.

jond01 commented 2 years ago

Hi @anpaz @guenp, are these changes accepted? It's just a preliminary work before another PR that will branch out from #44