8000 Moved other targets into their own includes. · masteringmatplotlib/includes@9487128 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9487128

Browse files
committed
Moved other targets into their own includes.
1 parent 7ca900d commit 9487128

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

graphviz.mk

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
pygraphviz:
2+
@git clone https://github.com/pygraphviz/pygraphviz
3+
@. $(VENV)/bin/activate && \
4+
cd pygraphviz && \
5+
git checkout 6c0876c9bb158452f1193d562531d258e9193f2e && \
6+
git apply ../patches/graphviz-includes.diff && \
7+
python setup.py install
8+
@rm -rf pygraphviz

types.mk

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
$(MYPY):
2+
git clone https://github.com/JukkaL/mypy.git
3+
. $(VENV)/bin/activate && \
4+
cd mypy && $(PYTHON) setup.py install
5+
rm -rf mypy
6+
7+
types: $(MYPY)
8+
@echo "\nChecking types ...\n"
9+
. $(VENV)/bin/activate && \
10+
for FILE in ./lib/*.py; do mypy $$FILE; done
11+
12+
check: flakes types

0 commit comments

Comments
 (0)
0