12326a5e2c
Use new Union syntax
...
This bumps the minimum Python version to 3.10
2023-05-29 12:35:40 -07:00
171cd0019e
Add type hints to function arguments
2023-05-28 20:50:38 -07:00
62edaac25a
Add type hints to functions
2023-05-28 20:09:54 -07:00
534f258846
Add some type hints
2023-05-27 20:05:03 -07:00
89fd647792
Split wk.std into debug, std, and ui sections
2023-04-01 22:14:03 -07:00
9f66b151af
Replace more pylint sections with ruff
2023-03-26 23:52:52 -07:00
e00920f24a
Switch to ruff linting
2023-03-19 18:47:46 -07:00
c888adc1e0
Revert "Fix type causing wrong type to be returned"
...
This reverts commit 4cc6a5ecd1 .
2023-02-16 16:48:01 -08:00
4cc6a5ecd1
Fix type causing wrong type to be returned
2023-02-15 17:36:18 -08:00
3922ed08a8
Fix pylint warning W3101
2022-11-12 22:32:25 -08:00
5f69e23887
Address Pylint error W1518
2022-09-04 17:44:58 -07:00
989fe9f047
Add workaround in Open Shell for S0 LOW POWER IDLE
...
If the system supports that power state Open Shell can't enter sleep
mode. The workaround removes the standard sleep option from the list
and adds a new sleep button above the shutdown button that just turns
the monitor off.
Addresses issue #719
2022-06-16 19:27:05 -07:00
301c64be4c
Assume bytes for bare numbers in string_to_bytes()
2022-05-24 16:23:27 -07:00
90fb97ad91
Fix various pylint warnings
2021-09-27 21:48:11 -06:00
8289df1d62
Don't prepend exception name for WK generic types
2021-09-27 20:49:39 -06:00
a03d772788
Add software bundle sections
2021-09-27 16:41:57 -06:00
f9f947fab6
Update wk.std.bytes_to_string()
2021-06-29 22:40:40 -06:00
a5b0758d30
Adjust exception formatting in TryAndPrint()
2021-05-13 21:08:38 -06:00
de6ee523b0
Add support for running on Python 3.8
2021-05-07 23:51:48 -06:00
005d4d1ea6
Search all modules for a matching exception
2021-04-24 16:55:17 -06:00
9a77a5cb9b
Update Auto Repair sections
...
* Expanded saving/loading settings from registry
* Keep previous selections by default but allow changes
* Print previous session(s) to have the whole session info present
* Changed variable names for clarity (why am I so bad at this?)
2021-04-23 23:57:22 -06:00
10b443f0f5
Add framework for running auto repair groups
2021-04-23 03:20:32 -06:00
c2d3752bc5
Update TryAndPrint()
2021-04-21 23:57:19 -06:00
d200878e0d
Revert update() to private method and add wrapper
2021-04-21 22:27:49 -06:00
125907ed3a
Add Auto Repairs menus
2021-04-21 05:19:27 -06:00
3c748520e1
Don't suppress bells in ConEmu
2021-04-20 22:23:05 -06:00
ee3203c485
Show message when downloading tools
2021-04-20 22:06:03 -06:00
719e6c457d
Remove stale code
2021-04-10 17:37:46 -06:00
ba5efedb11
Remove pylint bad-whitepace references
2021-03-25 21:25:40 -06:00
9818d5196f
Export state objects as pickle files
...
This should better ensure debugging an issue will have all the relevant
info at the ready.
2021-03-25 21:15:56 -06:00
e301617ca0
Revert "Adjusted menus under live macOS"
...
This reverts commit 4a3981e10c .
2020-01-30 20:05:15 -07:00
64db679a4d
Allow setting verbose value for TryAndPrint obj
...
* Instead of strictly per-call
2020-01-30 13:47:59 -07:00
417241acb5
Fixed clearing the screen under live macOS
2020-01-30 13:09:57 -07:00
4a3981e10c
Adjusted menus under live macOS
2020-01-30 13:08:13 -07:00
019cbb6c1a
Updated TryAndPrint
...
* catch_all can now be set for a TryAndPrint instance
* As opposed to defining for every TryAndPrint.run() call
2020-01-23 14:06:52 -07:00
b75326aeee
Added indent option to wk.std.print_report()
2020-01-04 21:04:24 -07:00
fdad48f613
Fixed wk.std.color_string()
2020-01-04 21:00:36 -07:00
299b075eef
Fixed BlockPair().safety_check()
2020-01-02 22:32:18 -07:00
48eb4c13d7
Better handle non-iterables in color_string()
2020-01-02 21:57:40 -07:00
20787da275
Optionally disallow empty responses to input_text
2019-12-26 17:19:26 -07:00
c083a124ad
Adjusted wk.std.input_text() again
...
* Dropped tcflush usage for simplicity
* Readded the prompt usage from 564745f03b
2019-12-26 17:00:41 -07:00
c72372d55c
Replaced platform.system() with PLATFORM var
...
* Better?
2019-12-13 19:01:26 -07:00
6bfee95043
Support coloring pathlib.Path objects
2019-12-13 16:38:24 -07:00
da5f521f92
Added wk.hw.ddrescue.select_disk()
2019-12-12 19:29:32 -07:00
3a8c052d5a
Updated ddrescue menu sections
...
* Support loading presets
2019-12-12 16:43:23 -07:00
5445df8e62
Added settings_select() to Menu()
...
* Supports ddrescue-tui style toggle/change usage
2019-12-12 15:52:09 -07:00
2770f85e01
Moved server definitions to wk/cfg/net.py
2019-12-09 17:50:36 -07:00
2c732885c6
Revert "Adjusted wk.std.input_text()"
...
This reverts commit 564745f03b .
2019-12-06 13:21:36 -07:00
564745f03b
Adjusted wk.std.input_text()
...
* Should hopefully reduce the duplicate prompts
2019-12-06 13:00:34 -07:00
c520b5a865
Update for Python 3.8 pylint alerts
2019-12-02 17:55:05 -07:00