Skip to content

style

2cac7bd
Select commit
Loading
Failed to load commit list.
Merged

Update augmentations #2066

style
2cac7bd
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action May 12, 2026 in 0s

11 new issues (0 max.) of at least severity.

Codacy 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production 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.