diff --git a/docs/history.md b/docs/history.md
index 8dde7476..f02541f2 100644
--- a/docs/history.md
+++ b/docs/history.md
@@ -10,6 +10,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
 
 ### Unreleased
 
+***Fixed:***
+
+- Fix non-detached inheritance disabling for environments
+
 ### [1.4.0](https://github.com/pypa/hatch/releases/tag/hatch-v1.4.0) - 2022-08-06 ### {: #hatch-v1.4.0 }
 
 ***Added:***
diff --git a/src/hatch/project/config.py b/src/hatch/project/config.py
index a5db13b8..a821723b 100644
--- a/src/hatch/project/config.py
+++ b/src/hatch/project/config.py
@@ -426,8 +426,7 @@ def expand_script_commands(script_name, commands, config, seen, active):
 def _populate_default_env_values(env_name, data, config, seen, active):
     if env_name in seen:
         return
-    elif data.get('detached', False):
-        ensure_valid_environment(data)
+    elif data.pop('detached', False):
         data['template'] = env_name
         data['skip-install'] = True
 
@@ -440,6 +439,7 @@ def _populate_default_env_values(env_name, data, config, seen, active):
         active.append(env_name)
         raise ValueError(f'Circular inheritance detected for field `tool.hatch.envs.*.template`: {" -> ".join(active)}')
     elif template_name == env_name:
+        ensure_valid_environment(data)
         seen.add(env_name)
         return
 

diff --git a/tests/project/test_config.py b/tests/project/test_config.py
index 3f68823d..ee64e86f 100644
--- a/tests/project/test_config.py
+++ b/tests/project/test_config.py
@@ -174,13 +174,22 @@ class TestEnvs:
             'baz': {'type': 'virtual', 'scripts': {'cmd1': 'bar', 'cmd2': 'baz'}},
         }
 
+    def test_self_referential(self, isolation):
+        env_config = {'default': {'option1': 'foo'}, 'bar': {'template': 'bar'}}
+        project_config = ProjectConfig(isolation, {'envs': env_config}, PluginManager())
+
+        assert project_config.envs == {
+            'default': {'type': 'virtual', 'option1': 'foo'},
+            'bar': {'type': 'virtual'},
+        }
+
     def test_detached(self, isolation):
         env_config = {'default': {'option1': 'foo'}, 'bar': {'detached': True}}
         project_config = ProjectConfig(isolation, {'envs': env_config}, PluginManager())
 
         assert project_config.envs == {
             'default': {'type': 'virtual', 'option1': 'foo'},
-            'bar': {'type': 'virtual', 'detached': True, 'skip-install': True},
+            'bar': {'type': 'virtual', 'skip-install': True},
         }
 
     def test_matrices_not_array(self, isolation):

"Self-referential environments" raises error
Hi

Thank you for a very nice tool :)

Reference to documentation: [Self-referential environments](https://hatch.pypa.io/latest/config/environment/overview/#self-referential-environments)

Using config:
```toml
[tool.hatch.envs.lock]
template = "lock"
```

```bash
$ hatch --version
Hatch, version 1.4.0
$ hatch run lock:pip list
KeyError: 'type'
```
tests/project/test_config.py::TestEnvs::test_self_referential tests/project/test_config.py::TestEnvs::test_detached
tests/project/test_config.py::TestEnv::test_not_table tests/project/test_config.py::TestEnv::test_default tests/project/test_config.py::TestEnvCollectors::test_not_table tests/project/test_config.py::TestEnvCollectors::test_collector_not_table tests/project/test_config.py::TestEnvCollectors::test_default tests/project/test_config.py::TestEnvCollectors::test_defined tests/project/test_config.py::TestEnvs::test_not_table tests/project/test_config.py::TestEnvs::test_config_not_table tests/project/test_config.py::TestEnvs::test_unknown_collector tests/project/test_config.py::TestEnvs::test_unknown_template tests/project/test_config.py::TestEnvs::test_default_undefined tests/project/test_config.py::TestEnvs::test_default_partially_defined tests/project/test_config.py::TestEnvs::test_default_defined tests/project/test_config.py::TestEnvs::test_basic tests/project/test_config.py::TestEnvs::test_basic_override tests/project/test_config.py::TestEnvs::test_multiple_inheritance tests/project/test_config.py::TestEnvs::test_circular_inheritance tests/project/test_config.py::TestEnvs::test_scripts_inheritance tests/project/test_config.py::TestEnvs::test_matrices_not_array tests/project/test_config.py::TestEnvs::test_matrix_not_table tests/project/test_config.py::TestEnvs::test_matrix_empty tests/project/test_config.py::TestEnvs::test_matrix_variable_empty_string tests/project/test_config.py::TestEnvs::test_matrix_variable_not_array tests/project/test_config.py::TestEnvs::test_matrix_variable_array_empty tests/project/test_config.py::TestEnvs::test_matrix_variable_entry_not_string tests/project/test_config.py::TestEnvs::test_matrix_variable_entry_empty_string tests/project/test_config.py::TestEnvs::test_matrix_variable_entry_duplicate tests/project/test_config.py::TestEnvs::test_matrix_multiple_python_variables tests/project/test_config.py::TestEnvs::test_matrix_name_format_not_string tests/project/test_config.py::TestEnvs::test_matrix_name_format_invalid tests/project/test_config.py::TestEnvs::test_overrides_not_table tests/project/test_config.py::TestEnvs::test_overrides_platform_not_table tests/project/test_config.py::TestEnvs::test_overrides_env_not_table tests/project/test_config.py::TestEnvs::test_overrides_matrix_not_table tests/project/test_config.py::TestEnvs::test_overrides_name_not_table tests/project/test_config.py::TestEnvs::test_overrides_platform_entry_not_table tests/project/test_config.py::TestEnvs::test_overrides_env_entry_not_table tests/project/test_config.py::TestEnvs::test_overrides_matrix_entry_not_table tests/project/test_config.py::TestEnvs::test_overrides_name_entry_not_table tests/project/test_config.py::TestEnvs::test_matrix_simple_no_python tests/project/test_config.py::TestEnvs::test_matrix_simple_no_python_custom_name_format tests/project/test_config.py::TestEnvs::test_matrix_simple_only_python[py] tests/project/test_config.py::TestEnvs::test_matrix_simple_only_python[python] tests/project/test_config.py::TestEnvs::test_matrix_simple[py] tests/project/test_config.py::TestEnvs::test_matrix_simple[python] tests/project/test_config.py::TestEnvs::test_matrix_simple_custom_name_format[py] tests/project/test_config.py::TestEnvs::test_matrix_simple_custom_name_format[python] tests/project/test_config.py::TestEnvs::test_matrix_multiple_non_python tests/project/test_config.py::TestEnvs::test_matrix_series tests/project/test_config.py::TestEnvs::test_matrices_not_inherited tests/project/test_config.py::TestEnvs::test_matrix_default_naming tests/project/test_config.py::TestEnvs::test_matrix_pypy_naming tests/project/test_config.py::TestEnvs::test_overrides_matrix_mapping_invalid_type[env-vars] tests/project/test_config.py::TestEnvs::test_overrides_matrix_mapping_invalid_type[scripts] tests/project/test_config.py::TestEnvs::test_overrides_matrix_mapping_array_entry_invalid_type[env-vars] tests/project/test_config.py::TestEnvs::test_overrides_matrix_mapping_array_entry_invalid_type[scripts] tests/project/test_config.py::TestEnvs::test_overrides_matrix_mapping_table_entry_no_key[env-vars] tests/project/test_config.py::TestEnvs::test_overrides_matrix_mapping_table_entry_no_key[scripts] tests/project/test_config.py::TestEnvs::test_overrides_matrix_mapping_table_entry_key_not_string[env-vars] tests/project/test_config.py::TestEnvs::test_overrides_matrix_mapping_table_entry_key_not_string[scripts] tests/project/test_config.py::TestEnvs::test_overrides_matrix_mapping_table_entry_key_empty_string[env-vars] tests/project/test_config.py::TestEnvs::test_overrides_matrix_mapping_table_entry_key_empty_string[scripts] tests/project/test_config.py::TestEnvs::test_overrides_matrix_mapping_table_entry_value_not_string[env-vars] tests/project/test_config.py::TestEnvs::test_overrides_matrix_mapping_table_entry_value_not_string[scripts] tests/project/test_config.py::TestEnvs::test_overrides_matrix_mapping_table_entry_if_not_array[env-vars] tests/project/test_config.py::TestEnvs::test_overrides_matrix_mapping_table_entry_if_not_array[scripts] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_invalid_type[dependencies] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_invalid_type[env-exclude] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_invalid_type[env-include] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_invalid_type[features] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_invalid_type[platforms] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_invalid_type[post-install-commands] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_invalid_type[pre-install-commands] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_entry_no_value[dependencies] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_entry_no_value[env-exclude] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_entry_no_value[env-include] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_entry_no_value[features] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_entry_no_value[platforms] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_entry_no_value[post-install-commands] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_entry_no_value[pre-install-commands] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_entry_value_not_string[dependencies] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_entry_value_not_string[env-exclude] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_entry_value_not_string[env-include] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_entry_value_not_string[features] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_entry_value_not_string[platforms] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_entry_value_not_string[post-install-commands] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_entry_value_not_string[pre-install-commands] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_entry_value_empty_string[dependencies] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_entry_value_empty_string[env-exclude] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_entry_value_empty_string[env-include] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_entry_value_empty_string[features] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_entry_value_empty_string[platforms] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_entry_value_empty_string[post-install-commands] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_entry_value_empty_string[pre-install-commands] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_entry_if_not_array[dependencies] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_entry_if_not_array[env-exclude] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_entry_if_not_array[env-include] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_entry_if_not_array[features] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_entry_if_not_array[platforms] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_entry_if_not_array[post-install-commands] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_entry_if_not_array[pre-install-commands] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_entry_invalid_type[dependencies] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_entry_invalid_type[env-exclude] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_entry_invalid_type[env-include] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_entry_invalid_type[features] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_entry_invalid_type[platforms] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_entry_invalid_type[post-install-commands] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_entry_invalid_type[pre-install-commands] tests/project/test_config.py::TestEnvs::test_overrides_matrix_string_invalid_type[python] tests/project/test_config.py::TestEnvs::test_overrides_matrix_string_invalid_type[type] tests/project/test_config.py::TestEnvs::test_overrides_matrix_string_table_no_value[python] tests/project/test_config.py::TestEnvs::test_overrides_matrix_string_table_no_value[type] tests/project/test_config.py::TestEnvs::test_overrides_matrix_string_table_value_not_string[python] tests/project/test_config.py::TestEnvs::test_overrides_matrix_string_table_value_not_string[type] tests/project/test_config.py::TestEnvs::test_overrides_matrix_string_array_entry_invalid_type[python] tests/project/test_config.py::TestEnvs::test_overrides_matrix_string_array_entry_invalid_type[type] tests/project/test_config.py::TestEnvs::test_overrides_matrix_string_array_table_no_value[python] tests/project/test_config.py::TestEnvs::test_overrides_matrix_string_array_table_no_value[type] tests/project/test_config.py::TestEnvs::test_overrides_matrix_string_array_table_value_not_string[python] tests/project/test_config.py::TestEnvs::test_overrides_matrix_string_array_table_value_not_string[type] tests/project/test_config.py::TestEnvs::test_overrides_matrix_string_array_table_if_not_array[python] tests/project/test_config.py::TestEnvs::test_overrides_matrix_string_array_table_if_not_array[type] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_invalid_type[dev-mode] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_invalid_type[skip-install] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_table_no_value[dev-mode] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_table_no_value[skip-install] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_table_value_not_boolean[dev-mode] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_table_value_not_boolean[skip-install] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_array_entry_invalid_type[dev-mode] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_array_entry_invalid_type[skip-install] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_array_table_no_value[dev-mode] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_array_table_no_value[skip-install] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_array_table_value_not_boolean[dev-mode] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_array_table_value_not_boolean[skip-install] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_array_table_if_not_array[dev-mode] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_array_table_if_not_array[skip-install] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_array_table_platform_not_array[dev-mode] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_array_table_platform_not_array[skip-install] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_array_table_platform_item_not_string[dev-mode] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_array_table_platform_item_not_string[skip-install] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_array_table_env_not_array[dev-mode] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_array_table_env_not_array[skip-install] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_array_table_env_item_not_string[dev-mode] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_array_table_env_item_not_string[skip-install] tests/project/test_config.py::TestEnvs::test_overrides_matrix_mapping_string_with_value[env-vars] tests/project/test_config.py::TestEnvs::test_overrides_matrix_mapping_string_with_value[scripts] tests/project/test_config.py::TestEnvs::test_overrides_matrix_mapping_string_without_value[env-vars] tests/project/test_config.py::TestEnvs::test_overrides_matrix_mapping_string_without_value[scripts] tests/project/test_config.py::TestEnvs::test_overrides_matrix_mapping_string_override[env-vars] tests/project/test_config.py::TestEnvs::test_overrides_matrix_mapping_string_override[scripts] tests/project/test_config.py::TestEnvs::test_overrides_matrix_mapping_array_string_with_value[env-vars] tests/project/test_config.py::TestEnvs::test_overrides_matrix_mapping_array_string_with_value[scripts] tests/project/test_config.py::TestEnvs::test_overrides_matrix_mapping_array_string_without_value[env-vars] tests/project/test_config.py::TestEnvs::test_overrides_matrix_mapping_array_string_without_value[scripts] tests/project/test_config.py::TestEnvs::test_overrides_matrix_mapping_array_string_override[env-vars] tests/project/test_config.py::TestEnvs::test_overrides_matrix_mapping_array_string_override[scripts] tests/project/test_config.py::TestEnvs::test_overrides_matrix_mapping_array_table_key_with_value[env-vars] tests/project/test_config.py::TestEnvs::test_overrides_matrix_mapping_array_table_key_with_value[scripts] tests/project/test_config.py::TestEnvs::test_overrides_matrix_mapping_array_table_key_without_value[env-vars] tests/project/test_config.py::TestEnvs::test_overrides_matrix_mapping_array_table_key_without_value[scripts] tests/project/test_config.py::TestEnvs::test_overrides_matrix_mapping_array_table_override[env-vars] tests/project/test_config.py::TestEnvs::test_overrides_matrix_mapping_array_table_override[scripts] tests/project/test_config.py::TestEnvs::test_overrides_matrix_mapping_array_table_conditional[env-vars] tests/project/test_config.py::TestEnvs::test_overrides_matrix_mapping_array_table_conditional[scripts] tests/project/test_config.py::TestEnvs::test_overrides_matrix_mapping_overwrite[env-vars] tests/project/test_config.py::TestEnvs::test_overrides_matrix_mapping_overwrite[scripts] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_string[dependencies] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_string[env-exclude] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_string[env-include] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_string[features] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_string[platforms] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_string[post-install-commands] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_string[pre-install-commands] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_string_existing_append[dependencies] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_string_existing_append[env-exclude] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_string_existing_append[env-include] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_string_existing_append[features] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_string_existing_append[platforms] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_string_existing_append[post-install-commands] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_string_existing_append[pre-install-commands] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table[dependencies] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table[env-exclude] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table[env-include] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table[features] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table[platforms] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table[post-install-commands] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table[pre-install-commands] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_existing_append[dependencies] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_existing_append[env-exclude] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_existing_append[env-include] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_existing_append[features] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_existing_append[platforms] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_existing_append[post-install-commands] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_existing_append[pre-install-commands] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional[dependencies] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional[env-exclude] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional[env-include] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional[features] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional[platforms] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional[post-install-commands] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional[pre-install-commands] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_platform[dependencies] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_platform[env-exclude] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_platform[env-include] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_platform[features] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_platform[platforms] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_platform[post-install-commands] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_platform[pre-install-commands] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_wrong_platform[dependencies] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_wrong_platform[env-exclude] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_wrong_platform[env-include] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_wrong_platform[features] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_wrong_platform[platforms] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_wrong_platform[post-install-commands] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_wrong_platform[pre-install-commands] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_env_var_match[dependencies] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_env_var_match[env-exclude] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_env_var_match[env-include] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_env_var_match[features] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_env_var_match[platforms] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_env_var_match[post-install-commands] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_env_var_match[pre-install-commands] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_env_var_match_empty_string[dependencies] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_env_var_match_empty_string[env-exclude] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_env_var_match_empty_string[env-include] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_env_var_match_empty_string[features] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_env_var_match_empty_string[platforms] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_env_var_match_empty_string[post-install-commands] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_env_var_match_empty_string[pre-install-commands] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_env_var_present[dependencies] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_env_var_present[env-exclude] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_env_var_present[env-include] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_env_var_present[features] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_env_var_present[platforms] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_env_var_present[post-install-commands] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_env_var_present[pre-install-commands] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_env_var_no_match[dependencies] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_env_var_no_match[env-exclude] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_env_var_no_match[env-include] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_env_var_no_match[features] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_env_var_no_match[platforms] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_env_var_no_match[post-install-commands] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_env_var_no_match[pre-install-commands] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_env_var_missing[dependencies] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_env_var_missing[env-exclude] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_env_var_missing[env-include] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_env_var_missing[features] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_env_var_missing[platforms] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_env_var_missing[post-install-commands] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_table_conditional_with_env_var_missing[pre-install-commands] tests/project/test_config.py::TestEnvs::test_overrides_matrix_set_with_no_type_information tests/project/test_config.py::TestEnvs::test_overrides_matrix_set_with_no_type_information_not_table tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_overwrite[dependencies] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_overwrite[env-exclude] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_overwrite[env-include] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_overwrite[features] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_overwrite[platforms] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_overwrite[post-install-commands] tests/project/test_config.py::TestEnvs::test_overrides_matrix_array_overwrite[pre-install-commands] tests/project/test_config.py::TestEnvs::test_overrides_matrix_string_string_create[python] tests/project/test_config.py::TestEnvs::test_overrides_matrix_string_string_create[type] tests/project/test_config.py::TestEnvs::test_overrides_matrix_string_string_overwrite[python] tests/project/test_config.py::TestEnvs::test_overrides_matrix_string_string_overwrite[type] tests/project/test_config.py::TestEnvs::test_overrides_matrix_string_table_create[python] tests/project/test_config.py::TestEnvs::test_overrides_matrix_string_table_create[type] tests/project/test_config.py::TestEnvs::test_overrides_matrix_string_table_override[python] tests/project/test_config.py::TestEnvs::test_overrides_matrix_string_table_override[type] tests/project/test_config.py::TestEnvs::test_overrides_matrix_string_table_conditional[python] tests/project/test_config.py::TestEnvs::test_overrides_matrix_string_table_conditional[type] tests/project/test_config.py::TestEnvs::test_overrides_matrix_string_array_table_create[python] tests/project/test_config.py::TestEnvs::test_overrides_matrix_string_array_table_create[type] tests/project/test_config.py::TestEnvs::test_overrides_matrix_string_array_table_override[python] tests/project/test_config.py::TestEnvs::test_overrides_matrix_string_array_table_override[type] tests/project/test_config.py::TestEnvs::test_overrides_matrix_string_array_table_conditional[python] tests/project/test_config.py::TestEnvs::test_overrides_matrix_string_array_table_conditional[type] tests/project/test_config.py::TestEnvs::test_overrides_matrix_string_array_table_conditional_eager_string[python] tests/project/test_config.py::TestEnvs::test_overrides_matrix_string_array_table_conditional_eager_string[type] tests/project/test_config.py::TestEnvs::test_overrides_matrix_string_array_table_conditional_eager_table[python] tests/project/test_config.py::TestEnvs::test_overrides_matrix_string_array_table_conditional_eager_table[type] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_boolean_create[dev-mode] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_boolean_create[skip-install] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_boolean_overwrite[dev-mode] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_boolean_overwrite[skip-install] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_table_create[dev-mode] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_table_create[skip-install] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_table_override[dev-mode] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_table_override[skip-install] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_table_conditional[dev-mode] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_table_conditional[skip-install] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_array_table_create[dev-mode] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_array_table_create[skip-install] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_array_table_override[dev-mode] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_array_table_override[skip-install] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_array_table_conditional[dev-mode] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_array_table_conditional[skip-install] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_array_table_conditional_eager_boolean[dev-mode] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_array_table_conditional_eager_boolean[skip-install] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_array_table_conditional_eager_table[dev-mode] tests/project/test_config.py::TestEnvs::test_overrides_matrix_boolean_array_table_conditional_eager_table[skip-install] tests/project/test_config.py::TestEnvs::test_overrides_platform_boolean_boolean_create tests/project/test_config.py::TestEnvs::test_overrides_platform_boolean_boolean_overwrite tests/project/test_config.py::TestEnvs::test_overrides_platform_boolean_table_create tests/project/test_config.py::TestEnvs::test_overrides_platform_boolean_table_overwrite tests/project/test_config.py::TestEnvs::test_overrides_env_boolean_boolean_create tests/project/test_config.py::TestEnvs::test_overrides_env_boolean_boolean_overwrite tests/project/test_config.py::TestEnvs::test_overrides_env_boolean_table_create tests/project/test_config.py::TestEnvs::test_overrides_env_boolean_table_overwrite tests/project/test_config.py::TestEnvs::test_overrides_env_boolean_conditional tests/project/test_config.py::TestEnvs::test_overrides_name_boolean_boolean_create tests/project/test_config.py::TestEnvs::test_overrides_name_boolean_boolean_overwrite tests/project/test_config.py::TestEnvs::test_overrides_name_boolean_table_create tests/project/test_config.py::TestEnvs::test_overrides_name_boolean_table_overwrite tests/project/test_config.py::TestEnvs::test_overrides_name_precedence_over_matrix tests/project/test_config.py::TestEnvs::test_overrides_matrix_precedence_over_platform tests/project/test_config.py::TestEnvs::test_overrides_matrix_precedence_over_env tests/project/test_config.py::TestEnvs::test_overrides_env_precedence_over_platform tests/project/test_config.py::TestEnvs::test_overrides_for_environment_plugins tests/project/test_config.py::TestEnvs::test_environment_collector_finalize_config tests/project/test_config.py::TestEnvs::test_environment_collector_finalize_environments tests/project/test_config.py::TestPublish::test_not_table tests/project/test_config.py::TestPublish::test_config_not_table tests/project/test_config.py::TestPublish::test_default tests/project/test_config.py::TestPublish::test_defined tests/project/test_config.py::TestScripts::test_not_table tests/project/test_config.py::TestScripts::test_name_contains_spaces tests/project/test_config.py::TestScripts::test_default tests/project/test_config.py::TestScripts::test_single_commands tests/project/test_config.py::TestScripts::test_multiple_commands tests/project/test_config.py::TestScripts::test_multiple_commands_not_string tests/project/test_config.py::TestScripts::test_config_invalid_type tests/project/test_config.py::TestScripts::test_command_expansion_basic tests/project/test_config.py::TestScripts::test_command_expansion_multiple_nested tests/project/test_config.py::TestScripts::test_command_expansion_multiple_nested_ignore_exit_code tests/project/test_config.py::TestScripts::test_command_expansion_modification tests/project/test_config.py::TestScripts::test_command_expansion_circular_inheritance