aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/.flake84
-rw-r--r--python/pyproject.toml6
2 files changed, 6 insertions, 4 deletions
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