Adds support for TOML configuration files, in particular pyproject.toml inside a [tool.pylama] section.
This seemed like the least intrusive way to add support. Reuses the existing vendored inirama with a simple shim to parse TOML tables. The resulting objectis still just a inirama.Namespace so no usage changes are needed. All behind a toml extras for anyone who doesn't want to pull in the added dependency.
Needed a couple pylint config changes for tests to pass on current pylint version 2.14.4:
Disable W0012/unknown-option value
Disable C3001/unnecessary-lambda-assignment in core.py
Adds support for TOML configuration files, in particular pyproject.toml inside a
[tool.pylama]
section.This seemed like the least intrusive way to add support. Reuses the existing vendored inirama with a simple shim to parse TOML tables. The resulting objectis still just a
inirama.Namespace
so no usage changes are needed. All behind atoml
extras for anyone who doesn't want to pull in the added dependency.Needed a couple pylint config changes for tests to pass on current pylint version 2.14.4: