Gina Häußge
b4f265d9f6
🎨 pre-commit: Update all repos
2022-02-09 18:02:41 +01:00
Gina Häußge
7fb9df9940
♻️ Migrate code base to Python 3 only
...
* pyupgrade
* various new codemods
* manual removal of Py2/3 compat imports
* manual adjustment of docs, examples, tests
* to_str is now the new to_unicode, deprecated
redirection to to_bytes has been removed
* to_native_str has been redirected to point to
to_str
* to_unicode has been redirected to point to
to_str
* atomic_write refactored to use
NamedTemporaryDirectory
* various other fixes/refactorings all over the
place
2022-02-01 12:57:01 +01:00
Gina Häußge
b5be8f3eae
🎨 Add codemods to pre-commit, fix flake8
2020-10-07 16:27:11 +02:00
Gina Häußge
fbfb34df58
🎨 Switch to use of isort
2020-10-07 13:15:52 +02:00
Gina Häußge
1f93b2355a
🎨 Switch to black formatting
2020-10-07 13:13:06 +02:00
Gina Häußge
af60fd6428
🎨 Change dict constructors to literals
2020-10-06 14:57:47 +02:00
Gina Häußge
87102407c7
✨ SWU: Fix CLI
...
As mentioned in
https://community.octoprint.org/t/24481
2020-09-25 15:42:47 +02:00
Matthias Urlichs
1dacbc35bf
Use unicode_literals __future__
2019-02-03 14:09:57 +01:00
Matthias Urlichs
c05b6572c5
Fix coding= headers
2019-01-27 17:36:16 +01:00
Matthias Urlichs
3501179257
Merge commit '41e74df8d33b4f8b332ca278db478a70dcfe7aec' into py23
2019-01-27 17:12:24 +01:00
MirceaDan
41e74df8d3
click.disable_unicode_literals_warning = True
...
when importing from future unicode literals those warning will need to be disabled
2018-12-02 15:44:20 -08:00
Gina Häußge
8876ab0ce5
SWU: Fix version output of CLI update message
2018-09-21 18:43:20 +02:00
Gina Häußge
ad8910354c
SWU: Fix CLI updating
...
Closes #2712
2018-09-21 18:41:22 +02:00
Gina Häußge
5db9acb359
SWU: Fix CLI commands
...
Client refactoring in d72c7c14 caused issues here.
Closes #2012
2017-07-18 12:39:11 +02:00
Gina Häußge
ee92fc6907
Docs for CLI of software update plugin
2016-10-14 13:57:01 +02:00
MirceaDan
c33a9f9aa2
from __future__ import absolute_import, division, print_function
...
changed the behavior to import division and print to be consistent
across all app and similar with python 3.x
2016-07-15 00:16:58 -07:00
Gina Häußge
621d991788
Better error reporting in update script & CLI
2016-03-23 13:07:04 +01:00
Gina Häußge
46e54b9d35
[SWU] First version of working CLI
2015-11-16 16:07:29 +01:00