From eba24d77da65861274b61cd25ef16497ebf54631 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Al=C3=A1n=20Mu=C3=B1oz?= <amuoz@ed.ac.uk> Date: Wed, 8 Jun 2022 17:47:12 +0100 Subject: [PATCH] add black line limit to pyproject --- pyproject.toml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 8721f4fc..aa8fcbaa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,7 @@ h5py = "2.10" imageio = "2.8.0" omero-py = ">=5.6.2" zeroc-ice = "3.6.5" -aliby-agora = "^0.2.23" +aliby-agora = "^0.2.28" aliby-baby = "^0.1.7" aliby-post = "^0.1.26" p-tqdm = "^1.3.3" @@ -42,3 +42,13 @@ numpydoc = "^1.3.1" [build-system] requires = ["setuptools", "poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api" + +[tool.black] +line-length = 79 +target-version = ['py37'] +include = '\.pyi?$' +extend-exclude = ''' +# A regex preceded with ^/ will apply only to files and directories +# in the root of the project. +^/foo.py # exclude a file named foo.py in the root of the project (in addition to the defaults) +''' -- GitLab