We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 722dd75 commit 678dd56Copy full SHA for 678dd56
mesonpy/__init__.py
@@ -625,11 +625,11 @@ def __init__(
625
626
def _get_config_key(self, key: str) -> Any:
627
value: Any = self._config
628
- for part in f'tool.mesonpy.{key}'.split('.'):
+ for part in f'tool.meson-python.{key}'.split('.'):
629
if not isinstance(value, Mapping):
630
raise ConfigError(
631
f'Found unexpected value in `{part}` when looking for '
632
- f'config key `tool.mesonpy.{key}` (`{value}`)'
+ f'config key `tool.meson-python.{key}` (`{value}`)'
633
)
634
value = value.get(part, {})
635
return value
tests/packages/user-args/pyproject.toml
@@ -2,7 +2,7 @@
2
build-backend = 'mesonpy'
3
requires = ['meson-python']
4
5
-[tool.mesonpy.args]
+[tool.meson-python.args]
6
dist = ['config-dist']
7
setup = ['config-setup']
8
compile = ['config-compile']
0 commit comments