-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
67 lines (46 loc) · 1.12 KB
/
makefile
File metadata and controls
67 lines (46 loc) · 1.12 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
.DEFAULT_GOAL = test
#DOCS=$(shell find docs *.rst -name \*.rst)
test: clean mktestdir
pytest --cov-config=.coveragerc --cov=pynoteslib tests/
build:
python setup.py bdist_wheel
docs:
@mkdir -p dist/docs
sphinx-build -E -b html docs dist/docs
#sphinx-build -b linkcheck docs dist/docs
pylint:
pylint pynoteslib tests
isort:
isort .
flake8:
flake8 pynoteslib/pynoteslib.py
install:
pip install -r requirements.txt
publish: build
python3 -m twine upload dist/pynoteslib-*.whl
mktestdir:
-@mkdir __testing__
clean:
-rm -rf __testing__/* dist/*
tree -a __testing__
tree:
tree -a __testing__/
localinstall:
pip install -e .
freeze: setup.py requirements.txt
pip freeze > requirements.txt
reqinstall:
pip install -e .
devinstall:
pip install -e .[dev] .[docs]
black: reformatlib reformattests
reformatlib:
black src/*.py
reformattests:
black tests/*.py
importkeys:
-gpg --import gpgkeys/*
(echo 'A692697DCC57084C4E87D66C7D34402EBB3EB284:6:' | gpg --import-ownertrust)
(echo 'FE326B58CDD40DF70FEAB2722822B15BB44A9055:6:' | gpg --import-ownertrust)
tags: pynoteslib/pynoteslib.py
ctags -R . 2> /dev/null