Skip to content

refactor: Remove too-many-statements in multiple files#2093

Open
thamitaboza wants to merge 1 commit into
mindee:mainfrom
thamitaboza:refactor/remove-code-smell-too-many-statements
Open

refactor: Remove too-many-statements in multiple files#2093
thamitaboza wants to merge 1 commit into
mindee:mainfrom
thamitaboza:refactor/remove-code-smell-too-many-statements

refactor: Remove too-many-statements in multiple files

9d155d8
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Jun 30, 2026 in 0s

1 new issue (0 max.) of at least severity.

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

Issues
======
+ Solved 1
- Added 1
           

Complexity increasing per file
==============================
- doctr/models/detection/differentiable_binarization/base.py  1
- doctr/utils/metrics.py  5
- doctr/transforms/modules/pytorch.py  4
- doctr/models/layout/lw_detr/pytorch.py  8
         

See the complete overview on Codacy

Annotations

Check warning on line 453 in doctr/models/layout/lw_detr/pytorch.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

doctr/models/layout/lw_detr/pytorch.py#L453

Redefining built-in 'input'