ComPWA / expertsystem

Rule based particle reaction problem solver on a quantum number level
http://expertsystem.rtfd.io
1 stars 3 forks source link

ci: add nbqa-flake8 pre-commit hook #517

Closed redeboer closed 3 years ago

redeboer commented 3 years ago

Run flake8 in notebooks in order to clean up code cells. The identified errors are fixed in this PR as well.

See pre-commit hooks and nbqa.rtfd.io.

codecov[bot] commented 3 years ago

Codecov Report

Merging #517 (9407e8e) into master (f552473) will decrease coverage by 0.05%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #517      +/-   ##
==========================================
- Coverage   85.95%   85.90%   -0.06%     
==========================================
  Files          26       26              
  Lines        3518     3518              
  Branches      843      843              
==========================================
- Hits         3024     3022       -2     
- Misses        321      322       +1     
- Partials      173      174       +1     
Flag Coverage Δ
unittests 85.90% <ø> (-0.06%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/expertsystem/amplitude/helicity.py 85.53% <0.00%> (-0.63%) :arrow_down: