Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TOML dicts are formatted {"tool" {"ruff": {..}}} #45

Merged

Conversation

maerteijn
Copy link
Contributor

@maerteijn maerteijn commented Sep 24, 2023

And not as {"tool.ruff": {..}}

This change will make sure that this boolean:

if "tool.ruff" in toml_dict:
config_in_pyproject = True

will actually be set to True if a ruff config exists inside pyproject.toml

Update: I also added the config fixes commits of @martinal from #44 to this branch.

@maerteijn maerteijn force-pushed the fix/config-in-pyproject-toml-reference branch from 7f3dd27 to f88df2a Compare September 24, 2023 21:28
@maerteijn maerteijn changed the title TOML dicts are formatted {"tool" {"ruff": {..}}} TOML dicts are formatted {"tool" {"ruff": {..}}} Sep 24, 2023
@jhossbach jhossbach merged commit 34897bc into python-lsp:main Sep 25, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants