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 2
2
import hashlib
3
3
from http .server import BaseHTTPRequestHandler , HTTPServer
4
4
import json
5
+ import os
5
6
import secrets
6
7
import urllib .parse
7
8
import webbrowser
@@ -122,6 +123,7 @@ def login(token_file):
122
123
cred = {
123
124
key : response_dict [key ] for key in ("access_token" , "refresh_token" ) if key in response_dict
124
125
}
126
+ os .makedirs (os .path .dirname (settings .CENTML_CRED_FILE_PATH ), exist_ok = True )
125
127
with open (settings .CENTML_CRED_FILE_PATH , "w" ) as f :
126
128
json .dump (cred , f )
127
129
click .echo ("✅ Login successful" )
Original file line number Diff line number Diff line change 1
1
#! /bin/bash -e
2
2
3
3
# 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 11
11
12
12
setup (
13
13
name = 'centml' ,
14
- version = '0.4.0 ' ,
14
+ version = '0.4.1 ' ,
15
15
packages = find_packages (),
16
16
python_requires = ">=3.10" ,
17
17
long_description = open ('README.md' ).read (),
You can’t perform that action at this time.
0 commit comments