From 485c35f22d5817e524d3252bc13694961c98521f Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 7 May 2020 16:05:30 -0700 Subject: update test/lint scope --- Makefile | 2 +- pytest.ini | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7d5ec24..7ae4ef9 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ help: .PHONY: test test: ## Run all tests and lints pipenv run pytest - pipenv run mypy *.py chocula/*.py --ignore-missing-imports + pipenv run mypy *.py chocula/*.py chocula/*/*.py --ignore-missing-imports .PHONY: build build: src/*.rs src/bin/*.rs diff --git a/pytest.ini b/pytest.ini index 755fead..24d95e8 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,5 +1,7 @@ [pytest] +norecursedirs = extra old + # search for 'test_*' functions in all python files, not just under tests python_files = test_*.py tests/*.py chocula/*.py bin/*.py -- cgit v1.2.3