Closed lemontree210 closed 1 year ago
Hi. Yes, that's something that one can do 👍 One could also make sure that the Bearer
prefix is just added if missing. Feel free to PR :)
I tried to add this prepending with Bearer
to graphqlclient.py
but can't commit because pylint
is not happy with existing code :) Here's the output.
I can just go without automatic prepending of Bearer
or maybe there's a way to force commit without pylint
checks passing.
@lemontree210 Add --no-verify
for that.
I think
git
might get confused by the fact thatbot.ini
is at the same time checked into the repo and includes in.gitignore
. By default, my IDE tried to commitbot.ini
with my tokens.Maybe it would be better to remove
bot.ini
from the repo and create something likebot_example.ini
?Also, it could be useful to include
Bearer
in this example file, just for the sake of clarity. The 6-digit code was a bit confusing to me.I could do that if that sounds reasonable.