Skip to content

Commit 312ac07

Browse files
author
GlassOfWhiskey
committed
Install hatchling to build cwl-utils
1 parent c017bac commit 312ac07

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/ci-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272

7373
- name: Upgrade setuptools and install tox
7474
run: |
75-
pip install -U pip setuptools wheel
75+
pip install -U pip setuptools wheel hatchling
7676
pip install tox tox-gh-actions
7777
7878
- name: MyPy cache
@@ -119,7 +119,7 @@ jobs:
119119

120120
- name: Upgrade setuptools and install tox
121121
run: |
122-
pip install -U pip setuptools wheel
122+
pip install -U pip setuptools wheel hatchling
123123
pip install tox tox-gh-actions
124124
125125
- if: ${{ matrix.step == 'pydocstyle' && github.event_name == 'pull_request'}}
@@ -262,7 +262,7 @@ jobs:
262262

263263
- name: Install packages
264264
run: |
265-
pip install -U pip setuptools wheel
265+
pip install -U pip setuptools wheel hatchling
266266
pip install virtualenv
267267
268268
- name: Release test
@@ -302,7 +302,7 @@ jobs:
302302
tox.ini
303303
- name: Upgrade setuptools and install tox
304304
run: |
305-
pip install -U pip setuptools wheel
305+
pip install -U pip setuptools wheel hatchling
306306
pip install tox tox-gh-actions
307307
# # docker for mac install is not currently stable
308308
# - name: 'SETUP MacOS: load Homebrew cache'

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,18 +89,18 @@ clean: FORCE
8989

9090
# Linting and code style related targets
9191
## sort_import : sorting imports using isort: https://github.com/timothycrosley/isort
92-
sort_imports: $(PYSOURCES) mypy-stubs
92+
sort_imports: $(filter-out cwltool/fast_parser.py,$(PYSOURCES)) mypy-stubs
9393
isort $^
9494

95-
remove_unused_imports: $(PYSOURCES)
95+
remove_unused_imports: $(filter-out cwltool/fast_parser.py,$(PYSOURCES))
9696
autoflake --in-place --remove-all-unused-imports $^
9797

9898
pep257: pydocstyle
9999
## pydocstyle : check Python docstring style
100-
pydocstyle: $(PYSOURCES)
100+
pydocstyle:$(filter-out cwltool/fast_parser.py,$(PYSOURCES))
101101
pydocstyle --add-ignore=D100,D101,D102,D103 $^ || true
102102

103-
pydocstyle_report.txt: $(PYSOURCES)
103+
pydocstyle_report.txt: $(filter-out cwltool/fast_parser.py,$(PYSOURCES))
104104
pydocstyle setup.py $^ > $@ 2>&1 || true
105105

106106
## diff_pydocstyle_report : check Python docstring style for changed files only
@@ -189,7 +189,7 @@ shellcheck: FORCE
189189
shellcheck build-cwltool-docker.sh cwl-docker.sh release-test.sh conformance-test.sh \
190190
cwltool-in-docker.sh
191191

192-
pyupgrade: $(PYSOURCES)
192+
pyupgrade: $(filter-out cwltool/fast_parser.py,$(PYSOURCES))
193193
pyupgrade --exit-zero-even-if-changed --py310-plus $^
194194
auto-walrus $^
195195

0 commit comments

Comments
 (0)