Commit Graph
23 Commits
Author SHA1 Message Date
David Sangrey fe8818d187 [2114] Apply PathLib Handover 2024-06-10 17:21:06 -04:00
David Sangrey dd5e3812a7 [2186] Refine macOS to preserve ContextMenu 2024-04-13 14:44:44 -04:00
David Sangrey d9c7a79155 [Minor] Update Type Hintings
No Content Changes, Shuts Up MyPy
2024-04-06 16:59:49 -04:00
David Sangrey c1b8533cb4 [2186] Simplify myNB Files 2024-03-27 21:22:35 -04:00
David Sangrey 170b86b5dc [2051] Remove More Old Types 2023-11-30 21:45:04 -05:00
David Sangrey 62cf621b20 [2051] Docfile Brief Pass 2023-11-16 16:11:37 -05:00
Athanasius 63a1337bed examples/click_counter: Minor type fixes. 2022-12-23 14:47:32 +00:00
Athanasius 19f3df77f2 examples/click_counter: Types *should* be fixed up
NB: Didn't run this at all to test.
2022-12-23 14:47:02 +00:00
Athanasius 3ed84bcad8 examples/plugintest: Drop the 'pre-5.0.0' config fixups
It's a pain for typing, and should be long since irrelevant.
2022-12-23 14:47:01 +00:00
Athanasius fe55eb11f8 click_counter: Cast value to int() for saving 2021-11-22 10:57:46 +00:00
Athanasius 71ed90fb3a Fix click_counter example to work & pass linting
* It was returning 'ClickCounter' for the name, mis-matching with the
  folder name of 'click_counter', which caused plain logging to be used.
  That in turn then complained about the lack of %(osthreadid).

* flake8 pass, including adding doc strings, with references to
  PLUGINS.md sections.

* mypy pass.
2021-11-22 10:42:31 +00:00
Athanasius 41adf596ce PLUGINS/config: Better forwards-compatibility example 2021-05-11 22:46:39 +01:00
Athanasius e5bbf73acb docs/plugintest: Example of forwards-compatible config functions 2021-05-11 21:46:14 +01:00
Athanasius 5de4950fba Change config.appversion() to return semantic_version.Version
As we're changing it to a function at this stage anyway, it might as
well return this type, not a str.
2021-04-01 14:46:43 +01:00
Athanasius b841d434e5 plugintest: Document core version code & add to PLUGINS.md
* New PLUGINS.md section 'Checking core EDMC version'.
* And the same comments might as well be in the plugintest/load.py.
2021-04-01 14:46:43 +01:00
Athanasius dc920fdc6a plugintest: Implement example EDMC core version check. 2021-04-01 14:46:43 +01:00
Athanasius c0324b2d3f plugintest: Add missing " in logging 2021-04-01 14:46:43 +01:00
Athanasius 0a437961a3 plugintest: Add event type to logging & convert to classed 'this'. 2021-04-01 14:46:43 +01:00
Athanasius 25852997c5 Updated all source to use new config methods
# Conflicts:
#	monitor.py
2021-04-01 14:45:46 +01:00
Athanasius a308171bfc Remove plugintest/miggytest.db
I swear I already did this ....
2020-09-22 14:50:27 +01:00
Athanasius ec5b9fc561 Rename miggytest plugin to plugintest.
Also now has docstrings and types, and generally passes flake8 and also
mypy, with the exception of that 'this' hack not being liked.
2020-09-22 14:43:10 +01:00
A_D 0577c08d54 Fixed module docstring 2020-09-22 15:20:46 +02:00
A_D 470cbaa146 Added example plugin 2020-09-22 15:20:45 +02:00