aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-10-26 12:53:09 -0700
committerBryan Newbold <bnewbold@archive.org>2021-10-26 12:53:09 -0700
commitf3f424e42f2f4f383103cf80b30a00cfa6cfc179 (patch)
treeb031e394b1714df28dfcf02e1f7a42fa8c38ffd9
parente810a162065853e6eab0d1f73ea837d57c26d16d (diff)
downloadsandcrawler-f3f424e42f2f4f383103cf80b30a00cfa6cfc179.tar.gz
sandcrawler-f3f424e42f2f4f383103cf80b30a00cfa6cfc179.zip
tweak lint/fmt settings
-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