Commit Graph
11 Commits
Author SHA1 Message Date
David Sangrey b5a4ee6ed2 [Nit] Cleanup some Flake8 2024-03-28 10:49:01 -04:00
David Sangrey 57cd75e75e [2186] Additional Files 2024-03-27 19:39:51 -04:00
David Sangrey b7633fa6e3 Handover a number of Lists to Tuples
Tuples are (slightly) more efficient for comparing if x in y. Not that it'll really matter at this scale, but it's technically better and simple to implement.

Applying to all files except theme.py, because theme.py is scary.
2023-12-27 00:29:35 -05:00
David Sangrey 473bd1cdf6 [2051] Replace More Old-Style Union/Opts
And re-adds the missing but deprecated abstracts in config
2023-11-16 13:21:54 -05:00
David Sangrey 28e10b70ef [2051] Add Tests and gitignore File 2023-10-19 20:06:52 -04:00
A_D 50dd603520 tests/config: Disable mypy on _old_config.py
This file is just for regression testing and will never be typed
correctly, which is why we no longer use it :D
2022-12-23 17:53:58 +02:00
Athanasius 4041890f39 tests/config/_old_config.py: Minor typing fixes. 2022-12-23 14:47:11 +00:00
Athanasius 4db4165676 config/linux: Fix pre-commit run --all-files-only issue
When run this way mypy thinks `config.linux` has no attribute `LinuxConfig`.
2022-12-23 14:47:04 +00:00
Athanasius 5885e6698c tests/config: flake8 6.0.0 doesn't like var-name l
But it's fine with `s`.
2022-12-05 16:08:00 +00:00
Athanasius 41d7af54b4 tests/config: Update copy of 'OUT' constants to match 'live' values
It's actually just the NAMES that got changed as part of the EDDN rework, so
this would have made no difference to the tests.  But now a grep won't find
any instance of the old names.
2022-12-01 11:46:29 +00:00
Athanasius 3e0c69be5e docs: Pass for config.py -> config/__init__.py and related changes 2022-01-31 15:41:25 +00:00