Skip to content

chore: remove unused .gitignore entries - #445

Merged
uniqueg merged 1 commit into
devfrom
chore/remove-dead-ignores
Nov 6, 2026
Merged

uniqueg merged 1 commit into
devfrom
chore/remove-dead-ignores

Conversation

@uniqueg

@uniqueg uniqueg commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

Summary

Removes five .gitignore entries that match nothing: !.gitkeep (the repository has no .gitkeep files), and cwl-tes/, tests/tmp/*, tests/output/* and *.modified.yaml (no tool, test or doc creates or mentions these paths).

The issue also listed three unused models in pro_tes/ga4gh/tes/models.py (TesCancelTaskResponse, TesCreateTaskResponse, TesListTasksResponse). They stay: the module was generated from the TES spec (datamodel-codegen, see its header), and the three classes mirror spec schemas one-to-one. The issue's checklist now says so.

Closes #444

Light lane: this only removes .gitignore entries, so there was no reviewer subagent. I reviewed the diff myself.

Verification

  • mypy: no issues in 77 source files
  • ruff check . (0.17.3, the version pinned in .pre-commit-config.yaml): all checks passed
  • coverage run -m pytest -W ignore::DeprecationWarning with Helm 3.22.1 and the chart dependencies built: 1614 passed, 11 skipped (the MongoDB-only tests), 100% coverage
  • mkdocs build --strict: passed
  • I could not run pre-commit run --all-files locally: the sandbox's proxy aborted the fetch of the hook repositories. CI runs it.

Declined review findings

None.

Open questions

None.

🤖 Generated with Claude Code

Summary by Sourcery

Enhancements:

  • Remove five obsolete .gitignore entries for paths and patterns that are no longer used.

Drop `!.gitkeep`, `cwl-tes/`, `tests/tmp/*`, `tests/output/*` and
`*.modified.yaml`: the repository has no `.gitkeep` files, and no
tool, test or doc creates or mentions the other paths.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@uniqueg uniqueg added this to the v0.6.0 milestone Nov 6, 2026
@uniqueg uniqueg added priority: low Low priority type: maintenance Related to general repository maintenance workload: minutes Likely takes minutes to resolve labels Nov 6, 2026
@sourcery-ai

sourcery-ai Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

The pull request cleans up .gitignore by removing five verified-unused patterns; no source, generated model, test, documentation, or behavior changes are included.

File-Level Changes

Change Details Files
Remove five obsolete ignore patterns that do not correspond to files or directories produced or referenced by the repository.
  • Delete the unused .gitkeep negation pattern.
  • Delete obsolete patterns for cwl-tes/, temporary test files, test output files, and modified YAML files.
.gitignore

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@codecov

codecov Bot commented Nov 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (38ae4e3) to head (5003b66).

Additional details and impacted files
@@            Coverage Diff            @@
##               dev      #445   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           24        24           
  Lines         2685      2685           
=========================================
  Hits          2685      2685           

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

@uniqueg
uniqueg marked this pull request as ready for review November 6, 2026 02:11

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

@uniqueg
uniqueg merged commit 85805bb into dev Nov 6, 2026
50 checks passed
@uniqueg
uniqueg deleted the chore/remove-dead-ignores branch November 6, 2026 02:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority: low Low priority type: maintenance Related to general repository maintenance workload: minutes Likely takes minutes to resolve

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore: remove unused models and ignore entries

1 participant