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:
Henry Schreiner
2021-10-16 21:31:20 -04:00
committed by GitHub
co-authored by Joe Rickerby
parent bf36398572
commit f511961b40
10 changed files with 50 additions and 30 deletions
+1 -1
View File
@@ -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),