From 337e9dced35996b2c97a30dab08afdb2025d09ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Kubler?= <gregoire.kubler@proton.me> Date: Thu, 13 Jun 2024 18:41:52 +0200 Subject: [PATCH] chore : format --- setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index cf881b4b2..7a612ef6b 100644 --- a/setup.py +++ b/setup.py @@ -12,8 +12,9 @@ import toml from setuptools import setup, Extension from setuptools.command.build_ext import build_ext + def get_project_name() -> str: - with open(pathlib.Path().absolute() / "pyproject.toml", "r") as file : + with open(pathlib.Path().absolute() / "pyproject.toml", "r") as file: project_toml = toml.load(file) return project_toml["project"]["name"] @@ -24,7 +25,6 @@ class CMakeExtension(Extension): class CMakeBuild(build_ext): - def run(self): # This lists the number of processors available on the machine # The compilation will use half of them @@ -61,7 +61,7 @@ class CMakeBuild(build_ext): f"-DCMAKE_BUILD_TYPE={compile_type}", "-DPYBIND=ON", "-DCMAKE_EXPORT_COMPILE_COMMANDS=ON", - "-DCOVERAGE=OFF" + "-DCOVERAGE=OFF", ] ) -- GitLab