diff options
author | Jeremy Bettis <jbettis@google.com> | 2022-07-08 10:51:16 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-07-08 21:29:45 +0000 |
commit | 27ace7a6a83eb44bd153a02fe0dd5c339dd0b955 (patch) | |
tree | 68a005a53e1896b904b1596517af76818798ab28 /.flake8 | |
parent | d2c45a29c38195a7bc9ae63073eec699805fab7b (diff) | |
download | chrome-ec-27ace7a6a83eb44bd153a02fe0dd5c339dd0b955.tar.gz |
ec: Adjust config files for python formatting
To support formatting all python files with black, isort, and flake8,
move some settings from the zmake dir to the root dir.
Removed isort from zmake/run_tests.sh, because moving the .isort.cfg
confused it, and it needs to be removed anyway.
BRANCH=None
BUG=b:238434058
TEST=None
Signed-off-by: Jeremy Bettis <jbettis@google.com>
Change-Id: I30d98015a56022ad9f95fdb3b0a7ed6c4bf24094
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3749241
Auto-Submit: Jeremy Bettis <jbettis@chromium.org>
Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Commit-Queue: Jeremy Bettis <jbettis@chromium.org>
Tested-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to '.flake8')
-rw-r--r-- | .flake8 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.flake8 b/.flake8 new file mode 100644 index 0000000000..0a0a9c29ab --- /dev/null +++ b/.flake8 @@ -0,0 +1,9 @@ +[flake8] +max-line-length = 88 +extend-ignore = E203 +exclude = + .hypothesis, + .pytest_cache, + __pycache__, + build, + dist |