Merge pull request #22 from rebeccaariss/patch-1 #357
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ✨ Style | |
on: [push, pull_request] | |
#on: | |
#pull_request: | |
#branches: | |
#- master | |
#push: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.x" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade setuptools pip wheel | |
python -m pip install numpy | |
python -m pip install pandas | |
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 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 |