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=
1515 arguments-differ,
1616 useless-object-inheritance,
1717 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 1414
1515import logging .config
1616
17- VERSION = (1 , 0 , 3 )
17+ VERSION = (1 , 0 , 4 )
1818__version__ = "." .join ([str (s ) for s in VERSION ])
1919
2020__title__ = "platformio-installer"
Original file line number Diff line number Diff line change @@ -103,13 +103,13 @@ def get_portable_python_url():
103103 for version in result ["versions" ]
104104 if is_version_system_compatible (version , systype )
105105 ]
106- best_version = None
106+ best_version = {}
107107 for version in versions :
108108 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" ] ):
111111 best_version = version
112- for item in ( best_version or {}) .get ("files" , []):
112+ for item in best_version .get ("files" , []):
113113 if systype in item ["system" ]:
114114 return item ["download_url" ]
115115 return None
Original file line number Diff line number Diff line change 3535 license = __license__ ,
3636 install_requires = [
3737 # Core
38- "click==8.0.1 " ,
38+ "click==8.0.3 " ,
3939 "requests==2.26.0" ,
4040 "colorama==0.4.4" ,
4141 "semantic-version==2.8.5" ,
42- "certifi==2021.5.30 " ,
42+ "certifi==2021.10.8 " ,
4343 # Misc
4444 "wheel==0.37.0" ,
4545 ],
You can’t perform that action at this time.
0 commit comments