Skip to content

fix: redirect URI should be the last parameter #153

fix: redirect URI should be the last parameter

fix: redirect URI should be the last parameter #153

Re-run triggered February 6, 2024 14:31
Status Failure
Total duration 27s
Artifacts

lint_python.yml

on: pull_request
lint_python
16s
lint_python
Fit to window
Zoom out
Zoom in

Annotations

8 errors
Ruff (SIM401): oauthlib/common.py#L319
oauthlib/common.py:319:16: SIM401 Use `self.get(k, default)` instead of an `if` block
Ruff (SIM910): oauthlib/oauth2/rfc6749/parameters.py#L277
oauthlib/oauth2/rfc6749/parameters.py:277:18: SIM910 Use `params.get('state')` instead of `params.get('state', None)`
Ruff (SIM910): oauthlib/oauth2/rfc6749/parameters.py#L350
oauthlib/oauth2/rfc6749/parameters.py:350:18: SIM910 Use `params.get('state')` instead of `params.get('state', None)`
Ruff (RUF019): oauthlib/oauth2/rfc6749/tokens.py#L27
oauthlib/oauth2/rfc6749/tokens.py:27:12: RUF019 Unnecessary key check before dictionary access
Ruff (SIM910): oauthlib/openid/connect/core/grant_types/dispatchers.py#L83
oauthlib/openid/connect/core/grant_types/dispatchers.py:83:21: SIM910 Use `parameters.get('client_id')` instead of `parameters.get('client_id', None)`
Ruff (SIM910): oauthlib/openid/connect/core/grant_types/dispatchers.py#L84
oauthlib/openid/connect/core/grant_types/dispatchers.py:84:16: SIM910 Use `parameters.get('code')` instead of `parameters.get('code', None)`
Ruff (SIM910): oauthlib/openid/connect/core/grant_types/dispatchers.py#L85
oauthlib/openid/connect/core/grant_types/dispatchers.py:85:24: SIM910 Use `parameters.get('redirect_uri')` instead of `parameters.get('redirect_uri', None)`
lint_python
Process completed with exit code 1.