From ea4f3b75f8c88c26de5db00c1a83d2fecb70e325 Mon Sep 17 00:00:00 2001 From: Dominique Makowski Date: Wed, 28 Aug 2024 17:09:05 +0100 Subject: [PATCH] actions --- .github/workflows/style.yml | 18 +++++++++--------- .github/workflows/tests.yml | 5 ++++- docs/environment.yml | 28 +++++++++++++--------------- 3 files changed, 26 insertions(+), 25 deletions(-) diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index 6085d90..f7e6e83 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -27,13 +27,13 @@ jobs: python -m pip install scipy python -m pip install Pillow - - name: Fix code style with isort (import calls) - run: | - python -m pip install isort - isort pyllusion -l 120 --balanced --multi-line 3 --lines-between-types 1 --lines-after-imports 2 --trailing-comma + # - name: Fix code style with isort (import calls) + # run: | + # python -m pip install isort + # isort pyllusion -l 120 --balanced --multi-line 3 --lines-between-types 1 --lines-after-imports 2 --trailing-comma - - name: Fix code style with docformatter (docstrings) - run: | - pip install docformatter - # See https://github.com/myint/docformatter - docformatter pyllusion --wrap-summaries 120 --wrap-descriptions 113 --blank --make-summary-multi-line --recursive + # - name: Fix code style with docformatter (docstrings) + # run: | + # pip install docformatter + # # See https://github.com/myint/docformatter + # docformatter pyllusion --wrap-summaries 120 --wrap-descriptions 113 --blank --make-summary-multi-line --recursive diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b77e044..f38314d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -32,7 +32,10 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade setuptools pip wheel - python -m pip install tox + python -m pip install numpy + python -m pip install pandas + python -m pip install scipy + python -m pip install Pillow - name: Test with tox run: | diff --git a/docs/environment.yml b/docs/environment.yml index e784860..10b02c3 100644 --- a/docs/environment.yml +++ b/docs/environment.yml @@ -1,18 +1,16 @@ #channels: # - conda-forge dependencies: - - python>=3.5 - #- sphinx>=1.4 # Get WIP version of sphinx with MD stuff - - pip - - pandoc - - nbconvert - - ipykernel - - pip: - - sphinx - - git+git://github.com/mgeier/nbsphinx.git@master # Do change that when this is merged (https://github.com/spatialaudio/nbsphinx/pull/463) - #- sphinx-nbexamples - - git+https://github.com/Chilipp/sphinx-nbexamples.git@master # Use app.add_css_file for sphinx >= 3.0, change when https://github.com/Chilipp/sphinx-nbexamples is released - - sphinx-gallery - - sphinx-copybutton - - recommonmark - - m2r + - python>=3.5 + #- sphinx>=1.4 # Get WIP version of sphinx with MD stuff + - pip + - pandoc + - nbconvert + - ipykernel + - pip: + - sphinx + - nbsphinx + - sphinx-gallery + - sphinx-copybutton + - recommonmark + - m2r