Skip to content

Commit

Permalink
rm teyit + make fix-unittests target
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Jul 7, 2024
1 parent e9a2a11 commit 562bc84
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ ifndef GITHUB_ACTIONS
ruff \
setuptools \
sphinx_rtd_theme \
teyit \
toml-sort \
twine \
virtualenv \
Expand Down Expand Up @@ -244,16 +243,12 @@ fix-black:
fix-ruff:
@git ls-files '*.py' | xargs $(PYTHON) -m ruff check --no-cache --fix $(ARGS)

fix-unittests: ## Fix unittest idioms.
@git ls-files '*test_*.py' | xargs $(PYTHON) -m teyit --show-stats

fix-toml: ## Fix pyproject.toml
@git ls-files '*.toml' | xargs toml-sort

fix-all: ## Run all code fixers.
${MAKE} fix-ruff
${MAKE} fix-black
${MAKE} fix-unittests
${MAKE} fix-toml

# ===================================================================
Expand Down

0 comments on commit 562bc84

Please sign in to comment.