Skip to content

Fix Ruff lint failures - #68

Merged
timkpaine merged 2 commits into
mainfrom
fix-ruff-lint
Jul 28, 2026
Merged

Fix Ruff lint failures#68
timkpaine merged 2 commits into
mainfrom
fix-ruff-lint

Conversation

@timkpaine

Copy link
Copy Markdown
Member

Description

Update Python syntax selected by current Ruff, use TypeError for invalid validator input types, and make split-string concatenation explicit. Ruff configuration remains unchanged.

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Refactor / code cleanup
  • CI / build configuration
  • Other (describe below)

Checklist

  • Linting passes (make lint)
  • Tests pass (make test)
  • New tests added for new functionality
  • Documentation updated (if applicable)
  • Changelog / version bump (if applicable)

Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

Test Results

63 tests  ±0   63 ✅ ±0   16s ⏱️ -1s
 1 suites ±0    0 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit 06d9c06. ± Comparison against base commit fe956cf.

@codecov

codecov Bot commented Jul 28, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 97.75281% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.42%. Comparing base (fe956cf) to head (06d9c06).

Files with missing lines Patch % Lines
hatch_rs/structs.py 97.59% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #68      +/-   ##
==========================================
+ Coverage   81.40%   81.42%   +0.02%     
==========================================
  Files          10       10              
  Lines        1441     1443       +2     
==========================================
+ Hits         1173     1175       +2     
  Misses        268      268              

☔ 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.

@timkpaine
timkpaine merged commit b5312ba into main Jul 28, 2026
6 checks passed
@timkpaine
timkpaine deleted the fix-ruff-lint branch July 28, 2026 14:23
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