Repository navigation
feat: read dedicated config files from their top level - #51
Merged
Merged
Conversation
bhirsz
force-pushed
the
feat/config-key-suggestions
branch
from
September 30, 2026 20:05
bae9077 to
680a378
Compare
bhirsz
force-pushed
the
feat/top-level-config
branch
from
September 30, 2026 20:05
1af1597 to
de3e8c3
Compare
bhirsz
force-pushed
the
feat/config-key-suggestions
branch
from
October 8, 2026 09:17
680a378 to
3c940ff
Compare
bhirsz
force-pushed
the
feat/top-level-config
branch
from
October 8, 2026 09:17
de3e8c3 to
44e95c7
Compare
Add top_level_config_names: a listed file without the [tool.<name>] section is read from its top-level keys (skipping [tool.*] tables), like ruff.toml. The section wins when present; mixing both layouts is an error. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
bhirsz
force-pushed
the
feat/top-level-config
branch
from
October 8, 2026 10:06
44e95c7 to
8588dc8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
top_level_config_names: config files dedicated to the tool that may skip the[tool.<name>]table.[tool.<name>]section still wins when present ("accept both"). A file with both the section and other top-level keys raises an error.tooltable (other tools' settings, e.g.[tool.robotcode-analyze]) is ignored.[tool.other]) is skipped, and discovery continues.rebotwithtop_level_config_names = ["rebot.toml"]still reads only[tool.rebot]from a sharedrobot.toml.--config FILEandextendstargets may use the top level too, unless the file is one of the non-dedicatedconfig_names(e.g.pyproject.toml).Needed by robotframework/robotframework#5773 so
robot.tomlcan use robotcode's top-level layout. Stacked on #50.