Skip to content

Commit

Permalink
actions
Browse files Browse the repository at this point in the history
  • Loading branch information
DominiqueMakowski committed Aug 28, 2024
1 parent faaf1f1 commit ea4f3b7
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 25 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 4 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
28 changes: 13 additions & 15 deletions docs/environment.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ea4f3b7

Please sign in to comment.