From 5b5973c855ecdd5b458897c24ef5bed6b9e71158 Mon Sep 17 00:00:00 2001 From: Ash Vardanian <1983160+ashvardanian@users.noreply.github.com> Date: Mon, 25 Mar 2024 18:38:25 +0000 Subject: [PATCH] Make: Format Py lines to 120 columns --- pyproject.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 65452507..48f451c3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -77,3 +77,9 @@ before-build = [ "md build\\usearch", "git submodule update --init --recursive", ] + +# Configuration options for the Black formatter: +# https://black.readthedocs.io/en/latest/usage_and_configuration/the_basics.html#where-black-looks-for-the-file +[tool.black] +line-length = 120 # Set line length to the same value as in `.clang-format` for modern wide screens +target-version = ['py36', 'py312']