Commit Graph

4 Commits

Author SHA1 Message Date
xuxingliang
07c48eb7d0 tools: make isort and black formatters to work together
Config multi line output to mode 3, so isort and black can agree with
each other:
```
3 - Vertical Hanging Indent

from third_party import (
    lib1,
    lib2,
    lib3,
    lib4,
)
```

Signed-off-by: xuxingliang <xuxingliang@xiaomi.com>
2024-10-16 00:57:57 +02:00
raiden00pl
655f7f14ba github/linters/setup.cfg: use ignore for E203 2023-04-17 01:59:10 -07:00
David Sidrane
f1b646efc7 Fix Black/Flake8 whitespace around slice disagreement
See https://black.readthedocs.io/en/stable/guides/using_black_with_other_tools.html#flake8
2023-04-17 01:47:00 -07:00
Christian Clauss
15932fa9ea Lint Python code with flake8 and isort 2021-04-10 08:36:29 -07:00