diff --git a/package/pyproject.toml b/package/pyproject.toml index 05b0eb3ba1..3d1ea04bdd 100644 --- a/package/pyproject.toml +++ b/package/pyproject.toml @@ -121,3 +121,9 @@ find = {} MDAnalysis = [ 'analysis/data/*.npy', ] + +[tool.black] +line-length = 79 +target-version = ['py310', 'py311', 'py312'] +extend-exclude = '.' +required-version = '24' diff --git a/testsuite/pyproject.toml b/testsuite/pyproject.toml index 4af3b1d85c..a757271db9 100644 --- a/testsuite/pyproject.toml +++ b/testsuite/pyproject.toml @@ -151,3 +151,9 @@ filterwarnings = [ # NamedStream warnings "ignore:Constructed NamedStream:RuntimeWarning", ] + +[tool.black] +line-length = 79 +target-version = ['py310', 'py311', 'py312'] +extend-exclude = '.' +required-version = '24'