From f3f424e42f2f4f383103cf80b30a00cfa6cfc179 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 26 Oct 2021 12:53:09 -0700 Subject: tweak lint/fmt settings --- python/.flake8 | 4 ++-- python/pyproject.toml | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'python') diff --git a/python/.flake8 b/python/.flake8 index 6aa37b6..0f91a75 100644 --- a/python/.flake8 +++ b/python/.flake8 @@ -2,5 +2,5 @@ select = C,E,F,W,ANN ignore = F405,F403,W503,E231,E203,E501,E226,E711,E713,ANN101,ANN204,ANN102 max-complexity = 20 -exclude = .git,__pycache__,.venv -max-line-length = 120 +exclude = .git,__pycache__,.venv,scripts/ +max-line-length = 96 diff --git a/python/pyproject.toml b/python/pyproject.toml index f7fb3bd..e85b234 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -3,7 +3,9 @@ requires = ["setuptools", "wheel"] build-backend = "setuptools.build_meta:__legacy__" [tool.yapf] -COLUMN_LIMIT = 120 +COLUMN_LIMIT = 96 +INDENT_DICTIONARY_VALUE=true +ALLOW_SPLIT_BEFORE_DICT_VALUE=false [tool.isort] -line_length = 120 +line_length = 96 -- cgit v1.2.3