Skip to content

strategy_ini_file in [tool.liccheck] does not load liccheck.ini as described in README #130

Description

@shagn

The README suggests that liccheck supports combining pyproject.toml with a liccheck.ini file, for example:

[tool.liccheck]
strategy_ini_file = "./liccheck.ini"
dependencies = true

However, this configuration does not work. If [tool.liccheck] exists, liccheck always uses Strategy.from_pyproject_toml() and ignores the .ini file, even when strategy_ini_file is defined.

I would like to see an option in which this would work. In repos with multiple environments the licenses can be defined in one central file.

Otherwise a hint in the README to clarify that defining [tool.liccheck] disables .ini loading would be helpful.

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