summaryrefslogtreecommitdiff
path: root/zephyr/zmake/.isort.cfg
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2021-07-02 10:49:24 -0600
committerCommit Bot <commit-bot@chromium.org>2021-07-02 19:14:30 +0000
commitde397b532a23137e84c2fb86e36b93b5c58c143d (patch)
treea35522ffbcad26abee046857db12aa1b7dc016f3 /zephyr/zmake/.isort.cfg
parente541ebdc9521450ee9ee3fed471cb764786d705c (diff)
downloadchrome-ec-de397b532a23137e84c2fb86e36b93b5c58c143d.tar.gz
zephyr: zmake: add formatting configs for isort and flake8
Add black-compatible isort and flake8 configs, as documented here: https://black.readthedocs.io/en/stable/guides/using_black_with_other_tools.html BUG=b:192389533 BRANCH=none TEST=run flake8 and isort Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Change-Id: I744011f03ff2dfde07d940aa568ccbe7fba67f55 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3002835 Commit-Queue: Yuval Peress <peress@chromium.org> Reviewed-by: Yuval Peress <peress@chromium.org>
Diffstat (limited to 'zephyr/zmake/.isort.cfg')
-rw-r--r--zephyr/zmake/.isort.cfg2
1 files changed, 2 insertions, 0 deletions
diff --git a/zephyr/zmake/.isort.cfg b/zephyr/zmake/.isort.cfg
new file mode 100644
index 0000000000..b9fb3f3e8c
--- /dev/null
+++ b/zephyr/zmake/.isort.cfg
@@ -0,0 +1,2 @@
+[settings]
+profile=black