DiCarloLab-Delft / PycQED_py3

Python3 version of PycQED using QCoDeS as backend
MIT License
67 stars 41 forks source link

add pre-commit configuration #649

Closed eendebakpt closed 2 years ago

eendebakpt commented 3 years ago

Changes proposed in this pull request:

@wvlothuizen The pre-commit configuration add automatic formatting to all committed files using autopep8 and pyupgrade. More tools can be added, see for example the config file for qtt. For pycqed3 this initial configuration is quite conservative.

codecov-commenter commented 3 years ago

Codecov Report

Merging #649 (1df4185) into develop (8ce525e) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #649   +/-   ##
========================================
  Coverage    32.72%   32.72%           
========================================
  Files          316      316           
  Lines        69211    69211           
========================================
  Hits         22651    22651           
  Misses       46560    46560           

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 8ce525e...1df4185. Read the comment docs.