Fix comparison with NoneType logical error #468
Annotations
5 warnings
Run dciborow/action-pylint@0.1.0:
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)
|
Run dciborow/action-pylint@0.1.0:
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)
|
Run dciborow/action-pylint@0.1.0:
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)
|
Run dciborow/action-pylint@0.1.0:
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)
|
Run dciborow/action-pylint@0.1.0:
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)
|
Loading