forked from scottprahl/iadpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
127 lines (115 loc) · 3.58 KB
/
Makefile
File metadata and controls
127 lines (115 loc) · 3.58 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = docs
BUILDDIR = docs/_build
html:
$(SPHINXBUILD) -b html "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS)
open docs/_build/index.html
lint:
-pylint iadpython/ad.py
-pylint iadpython/combine.py
-pylint iadpython/constants.py
-pylint iadpython/fresnel.py
-pylint iadpython/grid.py
-pylint iadpython/iad.py
-pylint iadpython/nist.py
-pylint --ignored-modules=scipy.special iadpython/quadrature.py
-pylint iadpython/redistribution.py
-pylint iadpython/rxt.py
-pylint iadpython/sphere.py
-pylint iadpython/start.py
-pylint tests/test_boundary.py
-pylint tests/test_combo.py
-pylint tests/test_fresnel.py
-pylint tests/test_grid.py
-pylint tests/test_iad.py
-pylint tests/test_layer.py
-pylint tests/test_layers.py
-pylint tests/test_quadrature.py
-pylint tests/test_redistribution.py
-pylint tests/test_start.py
-pylint tests/test_ur1_uru.py
-pylint tests_iadc/test_iadc.py
-pylint tests_iadc/test_performance.py
lintc:
-pylint iadpython/iadc.py
-pylint tests_iadc/test_iadc.py
doccheck:
-pydocstyle --convention=google iadpython/ad.py
-pydocstyle --convention=google iadpython/combine.py
-pydocstyle --convention=google iadpython/constants.py
-pydocstyle --convention=google iadpython/iad.py
-pydocstyle --convention=google iadpython/fresnel.py
-pydocstyle --convention=google iadpython/grid.py
-pydocstyle --convention=google iadpython/nist.py
-pydocstyle --convention=google iadpython/quadrature.py
-pydocstyle --convention=google iadpython/redistribution.py
-pydocstyle --convention=google iadpython/rxt.py
-pydocstyle --convention=google iadpython/sphere.py
-pydocstyle --convention=google iadpython/start.py
-pydocstyle tests/test_boundary.py
-pydocstyle tests/test_combo.py
-pydocstyle tests/test_fresnel.py
-pydocstyle tests/test_grid.py
-pydocstyle tests/test_iad.py
-pydocstyle tests/test_layer.py
-pydocstyle tests/test_layers.py
-pydocstyle tests/test_quadrature.py
-pydocstyle tests/test_redistribution.py
-pydocstyle tests/test_start.py
-pydocstyle tests/test_ur1_uru.py
-pydocstyle tests/test_nist.py
-pydocstyle tests_iadc/test_iadc.py
-pydocstyle tests_iadc/test_performance.py
doccheckc:
-pydocstyle --convention=google iadpython/iadc.py
-pydocstyle tests/test_iadc.py
notecheck:
make clean
pytest --notebooks tests/test_all_notebooks.py
rm -rf __pycache__
rcheck:
make doccheck
make lint
make test
-flake8 .
pyroma -d .
check-manifest
make notecheck
test:
pytest --verbose tests/test_boundary.py
pytest --verbose tests/test_combo.py
pytest --verbose tests/test_fresnel.py
pytest --verbose tests/test_grid.py
pytest --verbose tests/test_iad.py
pytest --verbose tests/test_layer.py
pytest --verbose tests/test_layers.py
pytest --verbose tests/test_nist.py
pytest --verbose tests/test_one_sphere.py
pytest --verbose tests/test_quadrature.py
pytest --verbose tests/test_redistribution.py
pytest --verbose tests/test_rxt.py
pytest --verbose tests/test_sphere.py
pytest --verbose tests/test_start.py
pytest --verbose tests/test_ur1_uru.py
pytest --verbose tests/test_all_notebooks.py
testc:
pytest --verbose tests_iadc/test_iadc.py
pytest --verbose tests_iadc/test_performance.py
clean:
rm -rf .pytest_cache
rm -rf __pycache__
rm -rf dist
rm -rf iadpython.egg-info
rm -rf iadpython/__pycache__
rm -rf iadpython/__init__.pyc
rm -rf iadpython/.ipynb_checkpoints
rm -rf docs/_build
rm -rf docs/api
rm -rf docs/doi.org/
rm -rf docs/.ipynb_checkpoints
rm -rf tests/__pycache__
rm -rf tests/tests_iadc/__pycache__
realclean:
make clean
.PHONY: clean realclean test check pylint pydoc html