Remove-code-smell-too-many-branches#2095
4 new issues (0 max.) of at least severity.
Here is an overview of what got changed by this pull request:
Issues
======
- Added 4
Complexity increasing per file
==============================
- doctr/models/kie_predictor/pytorch.py 3
- doctr/datasets/coco_text.py 2
- doctr/models/layout/lw_detr/pytorch.py 2
- doctr/datasets/cord.py 1
- doctr/models/detection/differentiable_binarization/base.py 1
- doctr/utils/visualization.py 3
- doctr/utils/metrics.py 1
- doctr/models/_utils.py 3
Complexity decreasing per file
==============================
+ doctr/models/detection/_utils/base.py -2
+ doctr/transforms/modules/pytorch.py -3
See the complete overview on Codacy
Annotations
Check notice on line 19 in doctr/models/detection/_utils/base.py
codacy-production / Codacy Static Code Analysis
doctr/models/detection/_utils/base.py#L19
First line should end with a period, question mark, or exclamation point (not 'g') (D415)
Check notice on line 19 in doctr/models/detection/_utils/base.py
codacy-production / Codacy Static Code Analysis
doctr/models/detection/_utils/base.py#L19
Missing blank line after last section ('Args') (D413)
Check notice on line 19 in doctr/models/detection/_utils/base.py
codacy-production / Codacy Static Code Analysis
doctr/models/detection/_utils/base.py#L19
Missing dashed underline after section ('Args') (D407)
Check notice on line 19 in doctr/models/detection/_utils/base.py
codacy-production / Codacy Static Code Analysis
doctr/models/detection/_utils/base.py#L19
Multi-line docstring summary should start at the second line (D213)