Slack tool #1245
Annotations
10 errors and 1 warning
check:
src/backend/tools/slack/auth.py#L33
"slack" is not a known member of "None" (reportOptionalMemberAccess)
|
check:
src/backend/tools/slack/auth.py#L33
"client_id" is not a known member of "None" (reportOptionalMemberAccess)
|
check:
src/backend/tools/slack/auth.py#L34
"slack" is not a known member of "None" (reportOptionalMemberAccess)
|
check:
src/backend/tools/slack/auth.py#L34
"client_secret" is not a known member of "None" (reportOptionalMemberAccess)
|
check:
src/backend/tools/slack/auth.py#L35
"slack" is not a known member of "None" (reportOptionalMemberAccess)
|
check:
src/backend/tools/slack/auth.py#L35
"user_scopes" is not a known member of "None" (reportOptionalMemberAccess)
|
check:
src/backend/tools/slack/auth.py#L65
Expression of type "str | None" cannot be assigned to return type "str"
Type "str | None" cannot be assigned to type "str"
Type "None" cannot be assigned to type "str" (reportGeneralTypeIssues)
|
check:
src/backend/tools/slack/auth.py#L85
Expression of type "Response" cannot be assigned to return type "str"
"Response" is incompatible with "str" (reportGeneralTypeIssues)
|
check:
src/backend/tools/slack/auth.py#L93
Expression of type "Response" cannot be assigned to return type "str"
"Response" is incompatible with "str" (reportGeneralTypeIssues)
|
check:
src/backend/tools/slack/auth.py#L61
Function with declared type of "str" must return value on all code paths
Type "None" cannot be assigned to type "str" (reportGeneralTypeIssues)
|
check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|