Skip to content

Breaking change to configuration logic in v2.1.0 #251

Description

@kevinr-electric

By changing the config file resolution for .toml files, this new minor version has broken configuration in cases where the --config CLI argument is used.

In the new version's changes, in the merge_configuration_file function on line 1199 autoflake now calls the process_pyproject_toml function for .toml files instead the process_config_file function. The result is that the tool will now try to get the "tool.autoflake" section section instead of the "autoflake" section. In other words, a configuration file that worked with v2.0.2 breaks on v2.1.0 (and vice versa).

As an aside, is there a place where release notes are posted? I couldn't find them on GH or Pypi.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions