Make the required changes to keep all pyright checks succeed in CI. This involves a change to the CLI (see below) and ignoring some incompatibilities between different importlib-resources versions.
Behaviour changes
Old: The CLI code read the default configuration file from the source code directory. --no-daemon and --enable-automigration options could override these, but their values were ignored.
New: --enable-automigration/--disable-automigration and --daemon/--no-daemon options control the configuration. The CLI code does not depend on the default configuration file and passes all options to load_cli_options correctly.
Linked
Fixes N/A
Description
Make the required changes to keep all pyright checks succeed in CI. This involves a change to the CLI (see below) and ignoring some incompatibilities between different importlib-resources versions.
Behaviour changes
Old: The CLI code read the default configuration file from the source code directory. --no-daemon and --enable-automigration options could override these, but their values were ignored.
New: --enable-automigration/--disable-automigration and --daemon/--no-daemon options control the configuration. The CLI code does not depend on the default configuration file and passes all options to load_cli_options correctly.
Category
This is related to a:
Tests