chore: adding extra checks, more scoping (#867)
* chore: adding extra checks, more scoping * Remove 'manual' pre-commit checks from CI Co-authored-by: Joe Rickerby <joerick@mac.com>
This commit is contained in:
co-authored by
Joe Rickerby
parent
bf36398572
commit
f511961b40
@@ -180,7 +180,7 @@ class ConfigOptions:
|
||||
# get the option from the environment, then the config file, then finally the default.
|
||||
# platform-specific options are preferred, if they're allowed.
|
||||
result = _dig_first(
|
||||
(os.environ if env_plat else {}, plat_envvar), # type: ignore
|
||||
(os.environ if env_plat else {}, plat_envvar), # type: ignore[arg-type]
|
||||
(os.environ, envvar),
|
||||
(self.config_platform_options, name),
|
||||
(self.config_options, name),
|
||||
|
||||
Reference in New Issue
Block a user