Skip to content
Commit 02195f0e authored by Jeppe Fihl-Pearson's avatar Jeppe Fihl-Pearson
Browse files

Support integer values for `multi_line_output` from TOML files

TOML is a typed file format so if you had `multi_line_output = 3` specified in
your `pyproject.toml` file you would get an error like this after the changes
in https://github.com/timothycrosley/isort/pull/860 were merged in:

> TypeError: getattr(): attribute name must be string

This change makes sure the attribute name is a string when passed to `getattr()`
to avoid errors like this going forward.
parent 638746f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment