diff --git a/.github/workflows/formatting.yml b/.github/workflows/formatting.yml deleted file mode 100644 index ec09bd3..0000000 --- a/.github/workflows/formatting.yml +++ /dev/null @@ -1,22 +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 - - 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 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