Skip to content

Support TOML-based configuration #209

Description

@TobiasDijkhuis

TOML files are a convenient way to set the configuration, and would remove the external dependency of ConfigArgParse. Many projects are moving towards it for configuration (see ruff, ty, mypy, for example)

pyproject.toml:

[tool.fprettify]
indent = 4
whitespace-print = true

or fprettify.toml

indent = 4
whitespace-print = true

You can see a simple python implementation from, for example, PyMend

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions