File tree Expand file tree Collapse file tree 1 file changed +26
-9
lines changed
Expand file tree Collapse file tree 1 file changed +26
-9
lines changed Original file line number Diff line number Diff line change 1- name : CodeQuality
1+ name : quality
22on : [pull_request]
33
44jobs :
55 build :
66 runs-on : ubuntu-latest
7- name : CodeQuality
7+ name : Python lint
88 steps :
9- - uses : actions/checkout@v3
10- - uses : actions/setup-python@v2
9+ - uses : actions/checkout@v4
10+
11+ - name : lint
12+ uses : astral-sh/ruff-action@v3
13+ with :
14+ src : >-
15+ mygfa
16+ slow_odgi
17+ pollen_data_gen
18+ flatgfa-py
19+
20+ - name : format
21+ uses : astral-sh/ruff-action@v3
1122 with :
12- python-version : 3.x
13- - run : pip install --upgrade pip
14- - run : pip install "black<24" mypy==v1.3
15- - run : black --diff --check $(git ls-files '*.py')
16- - run : MYPYPATH=mygfa mypy --no-namespace-packages --disallow-untyped-defs mygfa slow_odgi pollen_data_gen
23+ args : " format --check --diff"
24+ src : >-
25+ mygfa
26+ slow_odgi
27+ pollen_data_gen
28+ flatgfa-py
29+
30+ - name : Install uv
31+ uses : astral-sh/setup-uv@v5
32+ - name : types
33+ run : MYPYPATH=mygfa uv tool run mypy --no-namespace-packages --disallow-untyped-defs mygfa slow_odgi pollen_data_gen
You can’t perform that action at this time.
0 commit comments