Isaiah Odhner
00e6dd70b0
Set dark mode wallpaper as well on Ubuntu
...
This gets it working on my machine! And the last of the big three!
2023-07-18 14:03:51 -04:00
Isaiah Odhner
5fd214182c
DRY gsettings schema/key
2023-07-18 14:03:51 -04:00
Isaiah Odhner
300291fcae
Indicate non-regex raw string (conventionally)
...
Some tools highlight regex syntax when a lowercase `r` is used.
2023-07-17 13:49:41 -04:00
Isaiah Odhner
82dd98d8cb
Fix invalid assertion on mac
...
os.name == "posix" (!)
2023-07-17 12:31:48 -04:00
Isaiah Odhner
96b2d08789
Ignore all but one last Pyright error
...
(on pyright v1.1.314)
2023-07-15 22:27:49 -04:00
Isaiah Odhner
1c737fada2
Avoid shell=True and fix mypy errors about mismatching type for args
2023-07-15 21:09:08 -04:00
Isaiah Odhner
4ff90fa8ec
Add ignore comment for error Pylance gives even though pyright doesn't
...
With Pyright's strict mode disabled, I got zero issues from the CLI,
but got a Problem underline in VS Code from Pylance:
- "Gio" is unknown import symbol Pylance(reportGeneralTypeIssues)
This also silences, on the same line:
- Type of "Gio" is unknown Pylance(reportUnknownVariableType)
gi.repository uses DynamicImporter, which I assume is all the reason
the type checker "needs" to be confused, so I'm not worried about this.
2023-05-01 17:13:05 -04:00
Isaiah Odhner
0b6006325e
Resolve all non-strict mode Pyright errors
2023-05-01 13:24:24 -04:00
Isaiah Odhner
7d39d5aaa1
Use built-in open function instead of codecs (which was missing import)
...
open() supports an encoding parameter; codecs.open is obsolete (or at least it is for most cases?)
This is some old code.
2023-04-30 21:05:24 -04:00
Isaiah Odhner
b7bbe4084b
Add missing import for Gio
...
I got GitHub Copilot to guess what the import should be, since I didn't know, and I don't think it was in the original code (as posted).
2023-04-29 16:38:31 -04:00
Isaiah Odhner
c55620dd35
Move package files to folder src/textual_paint/
2023-04-29 12:59:16 -04:00