Skip to content

Commit

Permalink
build: clean up the Makefile a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed Oct 11, 2021
1 parent d3f46d2 commit cedd319
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,22 +49,19 @@ LINTABLE = coverage tests igor.py setup.py __main__.py
lint: ## Run linters and checkers.
tox -q -e lint

todo:
-grep -R --include=*.py TODO $(LINTABLE)

pep8:
pycodestyle --filename=*.py --repeat $(LINTABLE)

test:
tox -q -e py35 $(ARGS)
tox -q -e py39 $(ARGS)

PYTEST_SMOKE_ARGS = -n 6 -m "not expensive" --maxfail=3 $(ARGS)

smoke: ## Run tests quickly with the C tracer in the lowest supported Python versions.
COVERAGE_NO_PYTRACER=1 tox -q -e py35 -- $(PYTEST_SMOKE_ARGS)
COVERAGE_NO_PYTRACER=1 tox -q -e py39 -- $(PYTEST_SMOKE_ARGS)

pysmoke: ## Run tests quickly with the Python tracer in the lowest supported Python versions.
COVERAGE_NO_CTRACER=1 tox -q -e py35 -- $(PYTEST_SMOKE_ARGS)
COVERAGE_NO_CTRACER=1 tox -q -e py39 -- $(PYTEST_SMOKE_ARGS)

metasmoke:
COVERAGE_NO_PYTRACER=1 ARGS="-e py39" make clean metacov metahtml

# Coverage measurement of coverage.py itself (meta-coverage). See metacov.ini
# for details.
Expand Down

0 comments on commit cedd319

Please sign in to comment.