Skip to content

Conversation

@ericwb
Copy link
Contributor

@ericwb ericwb commented Oct 26, 2024

Many Python projects support a pyproject.toml file, so its important to support it as a special output file.

If pyproject.toml is passed, precli-init will update the file with a tool.precli section and its configuration options.

This change also prompts to overwrite existing files. In addition the enabled vs. disabled rules is now part of a list rather than option on each rule section. This makes it easier to customize since most users would prefer to maintain a list rather than updating each section.

Many Python projects support a pyproject.toml file, so its
important to support it as a special output file.

If pyproject.toml is passed, precli-init will update the file
with a tool.precli section and its configuration options.

This change also prompts to overwrite existing files. In addition
the enabled vs. disabled rules is now part of a list rather than
option on each rule section. This makes it easier to customize
since most users would prefer to maintain a list rather than
updating each section.

Signed-off-by: Eric Brown <eric.brown@securesauce.dev>
@ericwb ericwb merged commit fc9515b into securesauce:main Oct 26, 2024
@ericwb ericwb deleted the pyproject branch October 26, 2024 01:49
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.

1 participant