-
-
Notifications
You must be signed in to change notification settings - Fork 10
39 lines (32 loc) · 1.25 KB
/
style.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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