File tree Expand file tree Collapse file tree 5 files changed +11
-9
lines changed Expand file tree Collapse file tree 5 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -15,4 +15,6 @@ disable=
15
15
arguments-differ,
16
16
useless-object-inheritance,
17
17
super-with-arguments,
18
- raise-missing-from
18
+ raise-missing-from,
19
+ consider-using-f-string,
20
+ unspecified-encoding
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 14
14
15
15
import logging .config
16
16
17
- VERSION = (1 , 0 , 3 )
17
+ VERSION = (1 , 0 , 4 )
18
18
__version__ = "." .join ([str (s ) for s in VERSION ])
19
19
20
20
__title__ = "platformio-installer"
Original file line number Diff line number Diff line change @@ -103,13 +103,13 @@ def get_portable_python_url():
103
103
for version in result ["versions" ]
104
104
if is_version_system_compatible (version , systype )
105
105
]
106
- best_version = None
106
+ best_version = {}
107
107
for version in versions :
108
108
if not best_version or semantic_version .Version (
109
- version . name
110
- ) > semantic_version .Version (best_version . name ):
109
+ version [ " name" ]
110
+ ) > semantic_version .Version (best_version [ " name" ] ):
111
111
best_version = version
112
- for item in ( best_version or {}) .get ("files" , []):
112
+ for item in best_version .get ("files" , []):
113
113
if systype in item ["system" ]:
114
114
return item ["download_url" ]
115
115
return None
Original file line number Diff line number Diff line change 35
35
license = __license__ ,
36
36
install_requires = [
37
37
# Core
38
- "click==8.0.1 " ,
38
+ "click==8.0.3 " ,
39
39
"requests==2.26.0" ,
40
40
"colorama==0.4.4" ,
41
41
"semantic-version==2.8.5" ,
42
- "certifi==2021.5.30 " ,
42
+ "certifi==2021.10.8 " ,
43
43
# Misc
44
44
"wheel==0.37.0" ,
45
45
],
You can’t perform that action at this time.
0 commit comments