worgarside / wg-utilities Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Currently deployments are carried out via the utilities/version_bumper/main.py
script. This should be moved into a fully automated GitHub Actions-based pipeline.
Otherwise things unrelated to the actual package will be mixed in with relevant information
This can replace the use of user_data_dir
(which can remain as a default) for the default OAuth credential caching location
Pipenv is outdated and is starting to feel clunky, Poetry seems like a suitable replacement
The Monzo and Spotify APIs require the code exchange step of the OAuth flows to be form-encoded, not JSON
pytz
looks like it's used all over the place - it's in the loggers.__init__
module (maybe indirectly), and that's definitely used everywhere. It needs to be made a hard dependency.
The command git push origin --delete $GITHUB_HEAD_REF
will fail if the release branch has already been deleted, but that's the target state anyway so it should fail silently:
git push origin --delete $GITHUB_HEAD_REF || :
The following section of the OAuthClient needs to be updated to only return an empty dict when there is no content - if there is content then the exception should be raised
except JSONDecodeError:
return {} # type: ignore[return-value]
I think this is required for Monzo pyscript stuff in worgarside/home-assistant
e.g. incorrect state token or redirect URI mismatch
Quick fix is to change defaults to localhost
, as the other APIs seem to accept that.
Long term fix is to add a maybe an env var? Idk, let's see if temp_auth_server_host
parameter to OAuthClient.run_first_time_login
localhost
goes okay ๐คท
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.