From 9cf90b7442527ae3b32f0e0e7e7d2ab1dcbacb89 Mon Sep 17 00:00:00 2001 From: Daniele Tricoli Date: Fri, 10 Feb 2023 00:10:17 +0100 Subject: [PATCH] Configure black and isort and editors supporting editorconfig --- .editorconfig | 6 ++++++ pyproject.toml | 9 ++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..ad44cfe --- /dev/null +++ b/.editorconfig @@ -0,0 +1,6 @@ +root = true + +[*.py] +indent_style = space +indent_size = 4 +max_line_length = 88 diff --git a/pyproject.toml b/pyproject.toml index 1847992..8ce7552 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,14 @@ +[tool.black] +line-length = 88 +target-version = ["py38"] + +[tool.isort] +profile = "black" + [tool.poetry] name = "freakble" version = "0.1.0" -description = "" +description = "A simple tool to send messages into FreakWAN over Bluetooth low energy." authors = ["Daniele Tricoli "] readme = "README.md" packages = [{include = "freakble", from = "src"}]