Traceback (most recent call last):
File "/Users/.../bin/poe", line 8, in <module>
sys.exit(main())
File "/Users/.../poethepoet/__init__.py", line 32, in main
result = app(cli_args=sys.argv[1:])
File "/Users/.../poethepoet/app.py", line 44, in __call__
self.config.load(self.ui["project_root"])
File "/Users/.../poethepoet/config.py", line 113, in load
self._load_includes(self._project_dir)
File "/Users/.../poethepoet/config.py", line 250, in _load_includes
self._merge_config(tomli.load(file), include_path)
File "/Users/.../poethepoet/config.py", line 284, in _merge_config
own_tasks = self._poe["tasks"]
KeyError: 'tasks'
How to reproduce
With the following setup
pyproject.toml
tasks.toml
Run
Output
Workaround
Add an empty
tasks
inline table to the configpyproject.toml
Environment