mirror of
https://github.com/craigerl/aprsd.git
synced 2026-01-19 03:55:42 -05:00
This patch changes to the ruff linter. SO MUCH quicker. Removed grey and mypy as well.
16 lines
504 B
Python
16 lines
504 B
Python
class MissingConfigOptionException(Exception):
|
|
"""Missing a config option."""
|
|
|
|
def __init__(self, config_option):
|
|
self.message = f"Option '{config_option}' was not in config file"
|
|
|
|
|
|
class ConfigOptionBogusDefaultException(Exception):
|
|
"""Missing a config option."""
|
|
|
|
def __init__(self, config_option, default_fail):
|
|
self.message = (
|
|
f"Config file option '{config_option}' needs to be "
|
|
f"changed from provided default of '{default_fail}'"
|
|
)
|