Skip to content

Code formatting, linting, pre-commit hooks#41

Merged
mkelley merged 3 commits into
Small-Bodies-Node:mainfrom
mkelley:add-ruff
Jun 18, 2026
Merged

Code formatting, linting, pre-commit hooks#41
mkelley merged 3 commits into
Small-Bodies-Node:mainfrom
mkelley:add-ruff

Conversation

@mkelley

@mkelley mkelley commented May 19, 2026

Copy link
Copy Markdown
Member

Add options to use ruff and pre-commit.

@codecov

codecov Bot commented May 19, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 56.62252% with 131 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (main@ab9a8dc). Learn more about missing BASE report.

Files with missing lines Patch % Lines
catch_analysis_tools/app/services/astrometry.py 0.00% 47 Missing ⚠️
catch_analysis_tools/app/services/photometry.py 41.30% 27 Missing ⚠️
catch_analysis_tools/astrometry.py 72.22% 15 Missing ⚠️
...pp/astrometry_readiness/prepare_astrometry_data.py 0.00% 10 Missing ⚠️
...try_readiness/start_astrometry_background_check.py 0.00% 6 Missing ⚠️
...s_tools/app/services/subtract_median_background.py 0.00% 5 Missing ⚠️
catch_analysis_tools/tests/photometry_test.py 82.14% 5 Missing ⚠️
...s/app/astrometry_readiness/download_index_files.py 0.00% 4 Missing ⚠️
catch_analysis_tools/app/handlers/astrometry.py 0.00% 3 Missing ⚠️
catch_analysis_tools/app/app.py 0.00% 2 Missing ⚠️
... and 6 more
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #41   +/-   ##
=======================================
  Coverage        ?   39.32%           
=======================================
  Files           ?       34           
  Lines           ?     1068           
  Branches        ?        0           
=======================================
  Hits            ?      420           
  Misses          ?      648           
  Partials        ?        0           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mkelley mkelley merged commit 9acaf26 into Small-Bodies-Node:main Jun 18, 2026
5 checks passed
@mkelley mkelley deleted the add-ruff branch June 18, 2026 14:41
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