Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
sdaves committed Nov 17, 2023
1 parent bed6234 commit 4c567f2
Show file tree
Hide file tree
Showing 3 changed files with 117 additions and 69 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
poetry config virtualenvs.in-project true
- name: Install dependencies
run: |
poetry install -E http -E sql --no-root
poetry install -E http -E sql
poetry run task compile
- name: Lint
run: |
Expand All @@ -55,7 +55,7 @@ jobs:
poetry config virtualenvs.in-project true
- name: Install dependencies
run: |
poetry install -E http -E sql --no-root
poetry install -E http -E sql
poetry run task compile
poetry run task pytkdocs
- name: Build docs
Expand All @@ -68,12 +68,12 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: 3.10.4
- name: Restore cache
uses: actions/cache@v1
with:
path: .venv
key: py3.7-ubuntu-latest-venv-cache-${{ hashFiles('**/poetry.lock') }}
key: py3.10-ubuntu-latest-venv-cache-${{ hashFiles('**/poetry.lock') }}
- name: Install poetry
run: |
pip install poetry>=1.5.0
Expand Down Expand Up @@ -120,6 +120,7 @@ jobs:
poetry build -f wheel
poetry run pip install --ignore-installed dist/*
- name: Run tests
if: ${{matrix.python-version!='3.7'}}
run: poetry run pytest -n 4 --mypy-ini-file=tests/mypy.ini
- name: Upload wheel
uses: actions/upload-artifact@v2
Expand Down
2 changes: 1 addition & 1 deletion build.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from setuptools.extension import Extension
from Cython.Build import cythonize
from setuptools.extension import Extension


def build(setup_kwargs):
Expand Down
Loading

0 comments on commit 4c567f2

Please sign in to comment.