We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 883d255 commit 900c2b3Copy full SHA for 900c2b3
.travis.yml
@@ -12,4 +12,4 @@ matrix:
12
install:
13
- pip install flake8 nose==1.3.0 flask flask_restful flask_restplus injector flask_sqlalchemy eventlet typing mypy typed_ast
14
script:
15
- - make test
+ - make ci
Makefile
@@ -1,9 +1,18 @@
1
SOURCES := flask_injector.py flask_injector_tests.py
2
3
+.PHONY: ci
4
+ci: test lint
5
+
6
.PHONY: test
-test: mypy
7
+test:
8
nosetests -v $(SOURCES)
9
PYTHONPATH=.:$(PYTHONPATH) python example.py
10
11
+.PHONY: lint
+lint: flake8 mypy
+.PHONY: flake8
+flake8:
16
flake8 --max-line-length=110 $(SOURCES)
17
18
.PHONY: mypy
0 commit comments