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

Support writing to pyproject.toml #660

Merged
merged 1 commit into from
Oct 26, 2024
Merged

Commits on Oct 26, 2024

  1. Support writing to pyproject.toml

    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 <[email protected]>
    ericwb committed Oct 26, 2024
    Configuration menu
    Copy the full SHA
    a4df545 View commit details
    Browse the repository at this point in the history