Skip to content

Migration towards TOML configuration files #34

@deusebio

Description

@deusebio

TOML project config files are becoming a standard in python, introduced in PEP. Beside, some of the components that are used in the template (e.g. Black) can be configured only using TOML, and not via setup.cfg.

However, at the present point there is still some resistance for TOML to be fully integrated in Python, see for instance the discussion in flake8

There are few possibilities here:

  1. Wait for TOML file to be a standard widely used and then migrate configuration from CFG to TOML. Meanwhile use both TOML and CFG files, depending on the tool to be configured
  2. Stick to either TOML or CFG and rely on some workaround (e.g. minor packages) to integrate the configuration (e.g. this repo and references therein configures black with cfg, and this repo configure flake8 with TOML)
  3. Migrate linting from flake8 to pylint (and stick to technologies that can be configured with TOML)

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