wfondrie / depthcharge

A deep learning toolkit for mass spectrometry
https://wfondrie.github.io/depthcharge/
Apache License 2.0
59 stars 18 forks source link

Use Ruff for linting #26

Closed wfondrie closed 1 year ago

wfondrie commented 1 year ago

This PR also adds additional pre-commit hooks.

codecov-commenter commented 1 year ago

Codecov Report

Merging #26 (8f31c21) into main (e368d33) will decrease coverage by 1.79%. The diff coverage is 85.71%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##             main      #26      +/-   ##
==========================================
- Coverage   87.00%   85.21%   -1.79%     
==========================================
  Files          19       16       -3     
  Lines         854      751     -103     
==========================================
- Hits          743      640     -103     
  Misses        111      111              
Impacted Files Coverage Δ
depthcharge/__init__.py 100.00% <ø> (ø)
depthcharge/data/hdf5.py 93.44% <ø> (ø)
depthcharge/data/loaders.py 91.30% <ø> (-0.19%) :arrow_down:
depthcharge/data/parsers.py 94.30% <0.00%> (ø)
depthcharge/data/preprocessing.py 70.00% <ø> (ø)
depthcharge/utils.py 62.16% <100.00%> (+5.91%) :arrow_up:

... and 1 file with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more