mirror of
https://github.com/codespell-project/codespell.git
synced 2025-08-06 18:24:41 +08:00
Replace bandit, isort, pylint, pyupgrade, and flake8 plus plugins with ruff (#2779)
This commit is contained in:
8
Makefile
8
Makefile
@ -2,11 +2,11 @@ SORT_ARGS := -f -b
|
||||
|
||||
DICTIONARIES := codespell_lib/data/dictionary*.txt
|
||||
|
||||
PHONY := all check check-dictionaries sort-dictionaries trim-dictionaries check-dist flake8 pytest pypi clean
|
||||
PHONY := all check check-dictionaries sort-dictionaries trim-dictionaries check-dist pytest pypi ruff clean
|
||||
|
||||
all: check-dictionaries codespell.1
|
||||
|
||||
check: check-dictionaries check-dist flake8 pytest
|
||||
check: check-dictionaries check-dist pytest ruff
|
||||
|
||||
codespell.1: codespell.1.include Makefile
|
||||
PYTHONPATH=. help2man codespell --include codespell.1.include --no-info --output codespell.1
|
||||
@ -46,8 +46,8 @@ check-dist:
|
||||
twine check --strict $(TMP)/*
|
||||
rm -rf $(TMP)
|
||||
|
||||
flake8:
|
||||
flake8
|
||||
ruff:
|
||||
ruff .
|
||||
|
||||
pytest:
|
||||
@if command -v pytest > /dev/null; then \
|
||||
|
Reference in New Issue
Block a user