Skip to content

Fix multiple lint errors in oauth2helper.py#248

Merged
ic-dev21 merged 1 commit intodvd-dev:mainfrom
Moustachauve:lint-fix-3
Mar 4, 2025
Merged

Fix multiple lint errors in oauth2helper.py#248
ic-dev21 merged 1 commit intodvd-dev:mainfrom
Moustachauve:lint-fix-3

Conversation

@Moustachauve
Copy link
Contributor

This is fixing some of the pre-commit lint errors that are currently active:

flake8:
pyhilo/oauth2helper.py:5:1: F401 'typing.Any' imported but unused
pyhilo/oauth2helper.py:5:1: F401 'typing.cast' imported but unused
pyhilo/oauth2helper.py:7:1: F401 'pyhilo.const.AUTH_AUTHORIZE' imported but unused
pyhilo/oauth2helper.py:7:1: F401 'pyhilo.const.AUTH_TOKEN' imported but unused

mypy:
pyhilo/oauth2helper.py:33: error: Function is missing a return type annotation [no-untyped-def]
pyhilo/oauth2helper.py:42: error: Function is missing a type annotation [no-untyped-def]

@ic-dev21 ic-dev21 merged commit 11f1574 into dvd-dev:main Mar 4, 2025
1 check failed
@Moustachauve Moustachauve deleted the lint-fix-3 branch March 4, 2025 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants