aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-05-07 16:05:30 -0700
committerBryan Newbold <bnewbold@archive.org>2020-05-07 16:05:30 -0700
commit485c35f22d5817e524d3252bc13694961c98521f (patch)
tree751ad88110104095dc1236de3110099995cf7e00
parent1cc8332841236cb78565a6407a798b654b0359e2 (diff)
downloadchocula-485c35f22d5817e524d3252bc13694961c98521f.tar.gz
chocula-485c35f22d5817e524d3252bc13694961c98521f.zip
update test/lint scope
-rw-r--r--Makefile2
-rw-r--r--pytest.ini2
2 files changed, 3 insertions, 1 deletions
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