Swap to Ruff #158
Annotations
7 errors
Ruff (A002):
src/myob/api.py#L56
src/myob/api.py:56:19: A002 Function argument `id` is shadowing a Python builtin
|
Ruff (S105):
src/myob/constants.py#L5
src/myob/constants.py:5:20: S105 Possible hardcoded password assigned to: "ACCESS_TOKEN_URL"
|
Ruff (B006):
src/myob/credentials.py#L18
src/myob/credentials.py:18:33: B006 Do not use mutable data structures for argument defaults
|
Ruff (S101):
src/myob/credentials.py#L35
src/myob/credentials.py:35:13: S101 Use of `assert` detected
|
Ruff (N806):
src/myob/credentials.py#L82
src/myob/credentials.py:82:9: N806 Variable `CONSERVATIVE_SECONDS` in function should be lowercase
|
Ruff (N818):
src/myob/exceptions.py#L1
src/myob/exceptions.py:1:7: N818 Exception name `MyobException` should be named with an Error suffix
|
ruff
Process completed with exit code 1.
|