From b939130f2ba5debcc120c15fb472b5cfa4e6b987 Mon Sep 17 00:00:00 2001 From: Seung Hyun Kim Date: Sun, 28 Apr 2024 16:18:22 -0500 Subject: [PATCH] makefile: change black required version --- Makefile | 2 +- elastica/rod/knot_theory.py | 12 ++++-------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index 204926803..674c121bf 100644 --- a/Makefile +++ b/Makefile @@ -35,7 +35,7 @@ pre-commit-install: .PHONY: black black: poetry run black --version - poetry run black --config pyproject.toml --required-version 21.12b0 elastica tests examples + poetry run black --config pyproject.toml --required-version 24.3.0 elastica tests examples .PHONY: black-check black-check: diff --git a/elastica/rod/knot_theory.py b/elastica/rod/knot_theory.py index cc1a03c58..1b7a834db 100644 --- a/elastica/rod/knot_theory.py +++ b/elastica/rod/knot_theory.py @@ -28,20 +28,16 @@ class KnotTheoryCompatibleProtocol(Protocol): """ @property - def position_collection(self) -> np.ndarray: - ... + def position_collection(self) -> np.ndarray: ... @property - def director_collection(self) -> np.ndarray: - ... + def director_collection(self) -> np.ndarray: ... @property - def radius(self) -> np.ndarray: - ... + def radius(self) -> np.ndarray: ... @property - def base_length(self) -> np.ndarray: - ... + def base_length(self) -> np.ndarray: ... class KnotTheory: