X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=pyproject.toml;h=2b8c201e44e93f8840d8d2f677926c8e50136c82;hp=e413f22f4e16ed187be43c8f350ee815bd3e200f;hb=HEAD;hpb=31976fe2d70a8b6b7f8b31b9e0b3bc004d415575 diff --git a/pyproject.toml b/pyproject.toml index e413f22f..fb033ec7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,4 @@ [tool.black] - skip-string-normalization = true include = ''' ( \.pyi?$ @@ -8,10 +7,22 @@ ''' exclude = ''' ( - bindings/python/bt2/build/ - | bindings/python/bt2/setup\.py$ - | bindings/python/bt2/bt2/native_bt\.py$ - | bindings/python/bt2/bt2/__init__\.py$ + src/bindings/python/bt2/build/ + | src/bindings/python/bt2/setup\.py$ + | src/bindings/python/bt2/bt2/native_bt\.py$ + | src/bindings/python/bt2/bt2/version\.py$ + | tests/utils/python/normand\.py$ + | tests/utils/python/typing/typing\.py$ + | tests/utils/python/tap ) ''' + +[tool.isort] +profile = "black" +extend_skip_glob = [ + "tests/utils/python/tap", + "tests/utils/python/normand.py", + "tests/utils/python/typing/typing.py", +] +length_sort = true