Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dapla-toolbelt to use 'ssb-pypitemplate' #96

Merged
merged 21 commits into from
Jan 17, 2024

Conversation

mallport
Copy link
Contributor

@mallport mallport commented Jan 15, 2024

Include typing, and all the tools and goodies that come with ssb-pypitemplate

The vast, vast majority of the changes are formatting changes from Ruff, and type hints being added. The only functional change is changing to use Google's built-in "refresh_handler" to tackle credential refreshes on Dapla Lab. The change can be found here. Previously, we were hard-overriding the "refresh()" method, whic made MyPy extremely angry.

dapla/auth.py Outdated Show resolved Hide resolved
dapla/auth.py Outdated Show resolved Hide resolved
@mallport mallport force-pushed the update-ssb-pypitemplate branch from d7af9ef to c2c9828 Compare January 16, 2024 09:15
@bjornandre bjornandre self-requested a review January 16, 2024 13:27
Copy link
Contributor

@bjornandre bjornandre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work!

@mallport mallport merged commit f92b98c into main Jan 17, 2024
15 checks passed
@mallport mallport deleted the update-ssb-pypitemplate branch January 17, 2024 11:18
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