Update augmentations #2066
Update augmentations #2066
11 new issues (0 max.) of at least severity.
Here is an overview of what got changed by this pull request:
Issues
======
+ Solved 2
- Added 11
Complexity increasing per file
==============================
- doctr/transforms/modules/pytorch.py 5
- doctr/transforms/modules/base.py 13
- tests/common/test_transforms.py 1
See the complete overview on Codacy
Annotations
Check notice on line 175 in doctr/transforms/modules/base.py
codacy-production / Codacy Static Code Analysis
doctr/transforms/modules/base.py#L175
First line should end with a period, question mark, or exclamation point (not 'n') (D415)
Check notice on line 69 in doctr/transforms/modules/pytorch.py
codacy-production / Codacy Static Code Analysis
doctr/transforms/modules/pytorch.py#L69
First line should end with a period, question mark, or exclamation point (not 'd') (D415)
Check warning on line 29 in tests/common/test_transforms.py
codacy-production / Codacy Static Code Analysis
tests/common/test_transforms.py#L29
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Check warning on line 30 in tests/common/test_transforms.py
codacy-production / Codacy Static Code Analysis
tests/common/test_transforms.py#L30
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Check warning on line 43 in tests/common/test_transforms.py
codacy-production / Codacy Static Code Analysis
tests/common/test_transforms.py#L43
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Check warning on line 44 in tests/common/test_transforms.py
codacy-production / Codacy Static Code Analysis
tests/common/test_transforms.py#L44
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Check warning on line 45 in tests/common/test_transforms.py
codacy-production / Codacy Static Code Analysis
tests/common/test_transforms.py#L45
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Check warning on line 46 in tests/common/test_transforms.py
codacy-production / Codacy Static Code Analysis
tests/common/test_transforms.py#L46
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Check warning on line 47 in tests/common/test_transforms.py
codacy-production / Codacy Static Code Analysis
tests/common/test_transforms.py#L47
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Check warning on line 66 in tests/common/test_transforms.py
codacy-production / Codacy Static Code Analysis
tests/common/test_transforms.py#L66
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Check warning on line 85 in tests/common/test_transforms.py
codacy-production / Codacy Static Code Analysis
tests/common/test_transforms.py#L85
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.