Skip to content

Update linters and adjust code #76

Update linters and adjust code

Update linters and adjust code #76

Triggered via pull request October 6, 2024 21:40
Status Failure
Total duration 1m 33s
Artifacts 1

lint-and-test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

18 errors
Ruff (D400): amazon_paapi/__init__.py#L1
amazon_paapi/__init__.py:1:1: D400 First line should end with a period
Ruff (D415): amazon_paapi/__init__.py#L1
amazon_paapi/__init__.py:1:1: D415 First line should end with a period, question mark, or exclamation point
Ruff (F401): amazon_paapi/__init__.py#L5
amazon_paapi/__init__.py:5:18: F401 `.api.AmazonApi` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
Ruff (F401): amazon_paapi/__init__.py#L6
amazon_paapi/__init__.py:6:20: F401 `.tools.get_asin` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
Ruff (D400): amazon_paapi/api.py#L1
amazon_paapi/api.py:1:1: D400 First line should end with a period
Ruff (D415): amazon_paapi/api.py#L1
amazon_paapi/api.py:1:1: D415 First line should end with a period, question mark, or exclamation point
Ruff (D413): amazon_paapi/api.py#L28
amazon_paapi/api.py:28:5: D413 Missing blank line after last section ("Raises")
Ruff (ANN204): amazon_paapi/api.py#L32
amazon_paapi/api.py:32:9: ANN204 Missing return type annotation for special method `__init__`
Ruff (D107): amazon_paapi/api.py#L32
amazon_paapi/api.py:32:9: D107 Missing docstring in `__init__`
Ruff (ARG002): amazon_paapi/api.py#L39
amazon_paapi/api.py:39:11: ARG002 Unused method argument: `kwargs`
test-py35
Process completed with exit code 1.
test-py36
Process completed with exit code 127.
test-py310
Process completed with exit code 1.
test-py38
Process completed with exit code 1.
test-py39
Process completed with exit code 1.
test-py37
Process completed with exit code 127.
mypy
Process completed with exit code 1.
test-py311
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
coverage
1.83 KB