@@ -29,10 +29,10 @@ EXTRAS=
2929PYSOURCES =$(filter-out $(MODULE ) /parser/cwl_v% ,$(shell find $(MODULE ) -name "* .py") ) \
3030 $(wildcard tests/* .py) create_cwl_from_objects.py load_cwl_by_path.py \
3131 ${MODULE}/parser/cwl_v1_?_utils.py docs/conf.py
32- DEVPKGS =build diff_cover pylint pep257 pydocstyle 'tox<4' tox-pyenv \
32+ DEVPKGS =build diff_cover pylint pep257 ruff 'tox<4' tox-pyenv \
3333 wheel autoflake pyupgrade bandit auto-walrus \
3434 -rlint-requirements.txt -rtest-requirements.txt -rmypy-requirements.txt
35- DEBDEVPKGS =pep8 python-autopep8 pylint python-coverage pydocstyle sloccount \
35+ DEBDEVPKGS =pep8 python-autopep8 pylint python-coverage ruff sloccount \
3636 python-flake8 python-mock shellcheck
3737VERSION =v$(shell echo $$(tail -n 1 cwl_utils/__meta__.py | awk '{print $$3}' ) )
3838mkfile_dir := $(dir $(abspath $(lastword $(MAKEFILE_LIST ) ) ) )
@@ -45,8 +45,8 @@ all: dev
4545help : Makefile
4646 @sed -n ' s/^##//p' $<
4747
48- # # cleanup : shortcut for "make sort_imports format flake8 diff_pydocstyle_report "
49- cleanup : sort_imports format flake8 diff_pydocstyle_report
48+ # # cleanup : shortcut for "make sort_imports format flake8 pydocstyle "
49+ cleanup : sort_imports format flake8 pydocstyle
5050
5151# # install-dep : install most of the development dependencies via pip
5252install-dep : install-dependencies
@@ -95,14 +95,7 @@ remove_unused_imports: $(PYSOURCES)
9595pep257 : pydocstyle
9696# # pydocstyle : check Python docstring style
9797pydocstyle : $(PYSOURCES )
98- pydocstyle --add-ignore=D100,D101,D102,D103 $^ || true
99-
100- pydocstyle_report.txt : $(PYSOURCES )
101- pydocstyle $^ > $@ 2>&1 || true
102-
103- # # diff_pydocstyle_report : check Python docstring style for changed files only
104- diff_pydocstyle_report : pydocstyle_report.txt
105- diff-quality --compare-branch=main --violations=pydocstyle --fail-under=100 $^
98+ ruff check $^
10699
107100# # codespell : check for common misspellings
108101codespell :
0 commit comments