From d34848a67e2130f69ccdfde11ed00dff0f9f3ebf Mon Sep 17 00:00:00 2001
From: tomsail <saillour.thomas@gmail.com>
Date: Fri, 5 Apr 2024 09:51:28 +0200
Subject: [PATCH 1/2] fix ci

---
 .github/workflows/formatting.yml | 2 ++
 .github/workflows/testing.yml    | 5 ++++-
 pyproject.toml                   | 3 +++
 3 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/formatting.yml b/.github/workflows/formatting.yml
index ec09bd3..a340036 100644
--- a/.github/workflows/formatting.yml
+++ b/.github/workflows/formatting.yml
@@ -11,6 +11,8 @@ jobs:
         uses: actions/checkout@v2
       - name: Setup Python
         uses: actions/setup-python@v1
+        with:
+          python-version: "3.7"
       - name: Install dependencies
         run: |
           pip install black flake8
diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml
index 9ea35ff..27f13ea 100644
--- a/.github/workflows/testing.yml
+++ b/.github/workflows/testing.yml
@@ -12,7 +12,7 @@ jobs:
     steps:
     - uses: actions/setup-python@v2
       with:
-        python-version: "3.x"
+        python-version: "3.7"
     - uses: actions/checkout@v2
     - name: Lint with flake8
       run: |
@@ -34,6 +34,9 @@ jobs:
       uses: actions/setup-python@v2
       with:
         python-version: ${{ matrix.python-version }}
+    - name: Update
+      run: |
+        sudo apt update
     - name: Install CGAL 5
       run: |
         sudo apt install -y libcgal-dev
diff --git a/pyproject.toml b/pyproject.toml
index ac01283..bf5a947 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,3 +1,6 @@
 [build-system]
 requires = ["setuptools>=42", "wheel", "pybind11>=2.6.0", "versioneer-518"]
 build-backend = "setuptools.build_meta"
+
+[tool.black]
+target-version = ['py37']
\ No newline at end of file

From 5a4e023cc5a57257922a92f034270968a1f2b4de Mon Sep 17 00:00:00 2001
From: tomsail <saillour.thomas@gmail.com>
Date: Thu, 11 Apr 2024 11:39:50 +0200
Subject: [PATCH 2/2] ci: removed formatting.yml

---
 .github/workflows/formatting.yml | 24 ------------------------
 1 file changed, 24 deletions(-)
 delete mode 100644 .github/workflows/formatting.yml

diff --git a/.github/workflows/formatting.yml b/.github/workflows/formatting.yml
deleted file mode 100644
index a340036..0000000
--- a/.github/workflows/formatting.yml
+++ /dev/null
@@ -1,24 +0,0 @@
-name: formatting
-
-on: pull_request
-
-jobs:
-  run-linters:
-    name: Run formatter
-    runs-on: ubuntu-latest
-    steps:
-      - name: Checkout repository
-        uses: actions/checkout@v2
-      - name: Setup Python
-        uses: actions/setup-python@v1
-        with:
-          python-version: "3.7"
-      - name: Install dependencies
-        run: |
-          pip install black flake8
-      - name: Run linters / formatters
-        uses: wearerequired/lint-action@master
-        with:
-          black: true
-          flake8: true
-          auto_fix: true