Skip to content

refactor: replace SubProject inheritance with has-a Fetcher composition#1170

Open
spoorcc wants to merge 6 commits into
mainfrom
claude/codescene-refactoring-review-31VM1
Open

refactor: replace SubProject inheritance with has-a Fetcher composition#1170
spoorcc wants to merge 6 commits into
mainfrom
claude/codescene-refactoring-review-31VM1

Introduce FetchContext dataclass; migrate all fetchers

bece1d9
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis succeeded Jun 14, 2026 in 0s

Your pull request is up to standards!

Codacy Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- dfetch/project/gitsubproject.py  5
- dfetch/project/svnsubproject.py  9
- dfetch/commands/add.py  2
- dfetch/project/fetcher.py  44
         

Complexity decreasing per file
==============================
+ dfetch/project/subproject.py  -16
+ dfetch/commands/format_patch.py  -1
+ dfetch/project/archivesubproject.py  -2
         

See the complete overview on Codacy