Commit Graph
15 Commits
Author SHA1 Message Date
A_D fa99225b95 myNotebook.py: Make platform check simpler
Mypy does not appear to understand the `x in ...` format for this chech
2022-12-23 17:56:44 +02:00
Athanasius f4b150960c prefs.py & related files: Fix up mypy type checking
* Some trivial.
* As myNotebook.py's class is based on `ttk.Notebook`, typing changed to
  that.
2022-12-23 14:47:21 +00:00
Athanasius 514f3fac8a myNotebook.py: Now passes flake8 & mypy
* Typed `master` to each `__init__()`.
* Having to `# type: ignore` the base class for the classes which are
  "tk on darwin, else ttk" as this 'dynamic' type confuses mypy.

  See the comment on `class Frame` for a suggested proper fix, which will
  be more work.
2022-12-03 12:16:44 +00:00
Athanasius 84860607d7 myNotebook.py: Add file and class docstrings 2022-12-03 12:09:45 +00:00
A_D bff6175ee7 Update to use sys.platform over platform 2022-01-26 18:51:49 +02:00
Athanasius 71bb14a737 Document allowed imports for PLUGINS
* List added in 'Available imports' section of PLUGINS.md
* Various *.py files now have comments about things being allowed for
 plugin import.
2020-07-12 19:25:47 +01:00
Jonathan Harris 0f09c09d43 Misc fixes for MacOS 2019-09-30 03:07:38 +01:00
Athanasius 218c068ee5 Running EDMarketConnector.py 'works'.
First pass utilising 'futurize' to do most of the work.

  There's an issue with ur'\"' in l10n.py which I'm not sure how to
properly fix.

  This now has errors when hitting the 'Update' button.
2019-09-26 11:40:38 +01:00
Jonathan Harris 55d80c8299 Workaround for https://bugs.python.org/issue25684 2018-04-02 22:55:53 +01:00
Jonathan Harris 7063d141b4 Match OptionMenu menu colour to button 2016-07-27 15:20:29 +01:00
Jonathan Harris 3994b02276 Add top padding on OSX 2016-07-26 23:33:02 +01:00
Jonathan Harris c81ffcd629 Add notebook OptionMenu widget 2016-02-05 18:11:32 +00:00
Jonathan Harris c151396e4e Add ColoredButton for colored backgrounds 2016-02-01 02:06:22 +00:00
Jonathan Harris 84a66c5285 Split settings into tabbed notebook.
Fixes #53.
2016-01-02 01:59:16 +00:00
Jonathan Harris f863f2efc8 Split TNotebook fixups into separate file. 2016-01-02 01:59:16 +00:00