diff options
author | Thomas Haller <thaller@redhat.com> | 2023-07-13 07:25:43 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2023-07-25 11:32:11 (GMT) |
commit | 298ee58e7a843d42bfb9edd27de40c93a366f9f7 (patch) | |
tree | 3555ece0209e16f9b8bf766ce0a5a9170734283a | |
parent | a0e4b7f91e0cfa11b24026564bae48f5c19ba8b6 (diff) | |
download | libnl-298ee58e7a843d42bfb9edd27de40c93a366f9f7.zip libnl-298ee58e7a843d42bfb9edd27de40c93a366f9f7.tar.gz libnl-298ee58e7a843d42bfb9edd27de40c93a366f9f7.tar.bz2 |
python add "pyproject.toml" for configuring black
This allows to run `black .` and only reformat the files, that are
actually black formatted.
-rw-r--r-- | pyproject.toml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..bce61cb --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,8 @@ +[tool.black] +target-versions = ["py37", "py38", "py39", "py310"] +include = ''' + ( + \.py$ + | \.py\.in$ + ) + ''' |