Skip to content

Conversation

jhossbach
Copy link
Member

Fixes #2.

If `fix=true` is set in the `pyproject.toml` file, ruff will return
the file instead of diagnostics. Adding `--no-fix` avoids this.
@jhossbach
Copy link
Member Author

Can you have a look @charliermarsh?

@charliermarsh
Copy link

This looks right to me!

Sets config options (except `executable`) to `None` if `pyproject.toml`
file is detected.
@jhossbach jhossbach merged commit 70e6114 into main Dec 11, 2022
@ccordoba12 ccordoba12 deleted the patch_ignores branch December 12, 2022 02:37
@ccordoba12
Copy link
Member

This should have removed tomli from this project's pyproject.toml because it's no longer necessary, shouldn't it?

@jhossbach
Copy link
Member Author

Ah yes, good catch.

@ccordoba12
Copy link
Member

Thanks for the fix @jhossbach! I was hoping to do it these days but I couldn't find the time for that.

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.

Avoiding passing pyproject.toml options as command-line arguments
3 participants