File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 22import hashlib
33from http .server import BaseHTTPRequestHandler , HTTPServer
44import json
5+ import os
56import secrets
67import urllib .parse
78import webbrowser
@@ -122,6 +123,7 @@ def login(token_file):
122123 cred = {
123124 key : response_dict [key ] for key in ("access_token" , "refresh_token" ) if key in response_dict
124125 }
126+ os .makedirs (os .path .dirname (settings .CENTML_CRED_FILE_PATH ), exist_ok = True )
125127 with open (settings .CENTML_CRED_FILE_PATH , "w" ) as f :
126128 json .dump (cred , f )
127129 click .echo ("✅ Login successful" )
Original file line number Diff line number Diff line change 11#! /bin/bash -e
22
33# run pylint
4- python -m pylint --rcfile ./scripts/pylintrc -j $( nproc ) ./centml ./tests
4+ python -m pylint --rcfile ./scripts/pylintrc ./centml ./tests
Original file line number Diff line number Diff line change 1111
1212setup (
1313 name = 'centml' ,
14- version = '0.4.0 ' ,
14+ version = '0.4.1 ' ,
1515 packages = find_packages (),
1616 python_requires = ">=3.10" ,
1717 long_description = open ('README.md' ).read (),
You can’t perform that action at this time.
0 commit comments