jwst icon indicating copy to clipboard operation
jwst copied to clipboard

use `ruff` in place of `flake8`

Open zacharyburnett opened this issue 3 years ago • 1 comments

ruff is an in-development Python linter written in Rust that aims for parity with combined Flake8 and Black: https://github.com/charliermarsh/ruff

It has several advantages over flake8, including significant speedups in linting and support for pyproject.toml configuration and PEP517 / PEP621.

Checklist for maintainers

  • [ ] added entry in CHANGES.rst within the relevant release section
  • [ ] updated or added relevant tests
  • [ ] updated relevant documentation
  • [ ] added relevant milestone
  • [ ] added relevant label(s)
  • [ ] ran regression tests, post a link to the Jenkins job below. How to run regression tests on a PR
  • [ ] Make sure the JIRA ticket is resolved properly

zacharyburnett avatar Oct 03 '22 14:10 zacharyburnett

Codecov Report

Base: 79.76% // Head: 79.76% // No change to project coverage :thumbsup:

Coverage data is based on head (3bfe9fc) compared to base (d5d4086). Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #7054   +/-   ##
=======================================
  Coverage   79.76%   79.76%           
=======================================
  Files         412      412           
  Lines       37576    37576           
=======================================
  Hits        29974    29974           
  Misses       7602     7602           
Flag Coverage Δ *Carryforward flag
nightly 79.75% <ø> (ø) Carriedforward from d5d4086
unit 52.23% <ø> (ø)

*This pull request uses carry forward flags. Click here to find out more.

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

codecov[bot] avatar Oct 03 '22 15:10 codecov[bot]