From 039ced850ece50f4a6d90f842579f297baf9f4e9 Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Sat, 28 Oct 2023 12:51:24 -0300 Subject: [PATCH] style: add Black and Isort settings for Python formatting --- pyproject.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index a18eb14ff..18b1293c1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,3 +14,11 @@ local_scheme = "no-local-version" [tool.cibuildwheel] build-frontend = "build" + +[tool.black] +line-length = 100 +include = "\\bns3$|\\.py$" + +[tool.isort] +profile = "black" +line_length = 100