forked from ealcobaca/pymfe
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (25 loc) · 674 Bytes
/
Makefile
File metadata and controls
32 lines (25 loc) · 674 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
all: clean code-check test-cov
clean:
find . -name "*.so" -o -name "*.pyc" -o -name "*.md5" -o -name "*.pyd" -o -name "*~" | xargs rm -f
rm -rf .coverage.*
rm -rf dist
rm -rf build
rm -rf docs/_build
rm -rf docs/source/generated
rm -rf docs/source/auto_examples
test:
pytest tests/
test-cov:
rm -rf coverage .coverage
pytest --cov=pymfe/ tests/
code-check:
flake8 pymfe
pylint pymfe -d 'C0103, R0913, R0902, R0914, C0302, R0904, R0801, E1101'
mypy pymfe --ignore-missing-imports
pypi: clean
python3 setup.py sdist bdist_wheel
twine upload dist/*
install-dev: install
pip install -U -r requirements-dev.txt
install:
pip install -U -r requirements.txt