From f78fc42b90711c81e06699d1ebdbe69e6648b949 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Wed, 18 May 2022 08:01:18 +0800 Subject: See if black can be tought to produce consistent results --- .flake8 | 2 +- pyproject.toml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.flake8 b/.flake8 index 47d40978..e3d7917a 100644 --- a/.flake8 +++ b/.flake8 @@ -34,5 +34,5 @@ rst-roles = # for flake8-RST-docstrings min-python-version = 3.7.0 # for `black` compatibility -max-line-length = 88 +max-line-length = 120 extend-ignore = E203 diff --git a/pyproject.toml b/pyproject.toml index da3e605a..0d5ebf01 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,3 +39,7 @@ source = ["git"] [tool.coverage.report] include = ["*/git/*"] omit = ["*/git/ext/*"] + +[tool.black] +line-length = 120 +target-version = ['py37'] -- cgit v1.2.1