Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reconfigure to use Ruff for linting and formatting #155

Draft
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

forrestfwilliams
Copy link
Contributor

This PR swaps calling the reusable flake8 workflow for the new reusable ruff workflow. Also adds new ruff configuration options to the pyproject.toml.

Still deciding whether or not to reformat the entire repository within this PR.

Copy link
Contributor

github-actions bot commented Nov 9, 2023

Coverage

Coverage Report
FileStmtsMissCoverMissing
/home/runner/micromamba/envs/hyp3-isce2/lib/python3.11/site-packages/hyp3_isce2
   __main__.py26292%33, 44
   burst.py1705170%78–81, 94–99, 113–128, 144–153, 167–177, 235, 282–290, 310–324
   dem.py53394%101–110
   insar_stripmap.py694239%39–92, 96–98, 115–134
   insar_tops.py502844%42–75, 96–116
   insar_tops_burst.py20115921%72–146, 158–184, 212–290, 302–384, 424–504
   logging.py4175%9
   s1_auxcal.py21290%51, 59
   slc.py341071%22–25, 29–34
   stripmapapp_alos.py50786%103, 139, 142–147
   topsapp.py69888%76, 106, 128–134
   utils.py773061%102–104, 117–125, 137–142, 187–200, 210–214, 226–227
/home/runner/micromamba/envs/hyp3-isce2/lib/python3.11/site-packages/hyp3_isce2/metadata
   util.py14936%6–14, 18–21, 25–27
TOTAL90135261% 

Tests Skipped Failures Errors Time
42 0 💤 0 ❌ 0 🔥 30.276s ⏱️

@forrestfwilliams
Copy link
Contributor Author

Trufflehog is failing because of a commit hash in a comment linking to a MintPy PR. Safe to ignore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant