Skip to content

fix: fix mypy and flake8 issues

Codecov / codecov/patch failed Sep 10, 2024 in 1s

42.56% of diff hit (target 56.05%)

View this Pull Request on Codecov

42.56% of diff hit (target 56.05%)

Annotations

Check warning on line 311 in robotoff/app/api.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

robotoff/app/api.py#L311

Added line #L311 was not covered by tests

Check warning on line 316 in robotoff/app/api.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

robotoff/app/api.py#L313-L316

Added lines #L313 - L316 were not covered by tests

Check warning on line 321 in robotoff/app/api.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

robotoff/app/api.py#L319-L321

Added lines #L319 - L321 were not covered by tests

Check warning on line 325 in robotoff/app/api.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

robotoff/app/api.py#L323-L325

Added lines #L323 - L325 were not covered by tests

Check warning on line 1779 in robotoff/app/api.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

robotoff/app/api.py#L1779

Added line #L1779 was not covered by tests

Check warning on line 1784 in robotoff/app/api.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

robotoff/app/api.py#L1781-L1784

Added lines #L1781 - L1784 were not covered by tests

Check warning on line 1789 in robotoff/app/api.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

robotoff/app/api.py#L1788-L1789

Added lines #L1788 - L1789 were not covered by tests

Check warning on line 1795 in robotoff/app/api.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

robotoff/app/api.py#L1795

Added line #L1795 was not covered by tests

Check warning on line 1798 in robotoff/app/api.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

robotoff/app/api.py#L1797-L1798

Added lines #L1797 - L1798 were not covered by tests

Check warning on line 54 in robotoff/app/auth.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

robotoff/app/auth.py#L51-L54

Added lines #L51 - L54 were not covered by tests

Check warning on line 23 in robotoff/batch/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

robotoff/batch/__init__.py#L22-L23

Added lines #L22 - L23 were not covered by tests

Check warning on line 25 in robotoff/batch/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

robotoff/batch/__init__.py#L25

Added line #L25 was not covered by tests

Check warning on line 33 in robotoff/batch/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

robotoff/batch/__init__.py#L32-L33

Added lines #L32 - L33 were not covered by tests

Check warning on line 35 in robotoff/batch/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

robotoff/batch/__init__.py#L35

Added line #L35 was not covered by tests

Check warning on line 43 in robotoff/batch/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

robotoff/batch/__init__.py#L41-L43

Added lines #L41 - L43 were not covered by tests

Check warning on line 48 in robotoff/batch/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

robotoff/batch/__init__.py#L46-L48

Added lines #L46 - L48 were not covered by tests

Check warning on line 50 in robotoff/batch/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

robotoff/batch/__init__.py#L50

Added line #L50 was not covered by tests

Check warning on line 52 in robotoff/batch/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

robotoff/batch/__init__.py#L52

Added line #L52 was not covered by tests

Check warning on line 56 in robotoff/batch/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

robotoff/batch/__init__.py#L54-L56

Added lines #L54 - L56 were not covered by tests

Check warning on line 59 in robotoff/batch/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

robotoff/batch/__init__.py#L59

Added line #L59 was not covered by tests

Check warning on line 62 in robotoff/batch/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

robotoff/batch/__init__.py#L62

Added line #L62 was not covered by tests

Check warning on line 65 in robotoff/batch/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

robotoff/batch/__init__.py#L65

Added line #L65 was not covered by tests

Check warning on line 72 in robotoff/batch/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

robotoff/batch/__init__.py#L70-L72

Added lines #L70 - L72 were not covered by tests

Check warning on line 80 in robotoff/batch/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

robotoff/batch/__init__.py#L78-L80

Added lines #L78 - L80 were not covered by tests

Check warning on line 82 in robotoff/batch/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

robotoff/batch/__init__.py#L82

Added line #L82 was not covered by tests