Skip to content

Fix comparison with NoneType logical error #468

Fix comparison with NoneType logical error

Fix comparison with NoneType logical error #468

Triggered via pull request February 21, 2025 19:35
Status Success
Total duration 35s
Artifacts

checks.yml

on: pull_request
runner / pylint
24s
runner / pylint
runner / misspell
17s
runner / misspell
Fit to window
Zoom out
Zoom in

Annotations

5 warnings
runner / pylint: augur/tasks/github/pull_requests/tasks.py#L55
[pylint] reported by reviewdog 🐶 C1802: Do not use `len(SEQUENCE)` without comparison to determine if a sequence is empty (use-implicit-booleaness-not-len) Raw Output: augur/tasks/github/pull_requests/tasks.py:55:11: C1802: Do not use `len(SEQUENCE)` without comparison to determine if a sequence is empty (use-implicit-booleaness-not-len)
runner / pylint: augur/tasks/github/pull_requests/tasks.py#L59
[pylint] reported by reviewdog 🐶 R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return) Raw Output: augur/tasks/github/pull_requests/tasks.py:59:8: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
runner / pylint: augur/tasks/github/pull_requests/tasks.py#L14
[pylint] reported by reviewdog 🐶 W0611: Unused get_session imported from augur.application.db.lib (unused-import) Raw Output: augur/tasks/github/pull_requests/tasks.py:14:0: W0611: Unused get_session imported from augur.application.db.lib (unused-import)
runner / pylint: augur/tasks/github/pull_requests/tasks.py#L19
[pylint] reported by reviewdog 🐶 W0611: Unused Generator imported from typing (unused-import) Raw Output: augur/tasks/github/pull_requests/tasks.py:19:0: W0611: Unused Generator imported from typing (unused-import)
runner / pylint: augur/tasks/github/pull_requests/tasks.py#L19
[pylint] reported by reviewdog 🐶 W0611: Unused Dict imported from typing (unused-import) Raw Output: augur/tasks/github/pull_requests/tasks.py:19:0: W0611: Unused Dict imported from typing (unused-import)