File tree Expand file tree Collapse file tree 3 files changed +68
-90
lines changed Expand file tree Collapse file tree 3 files changed +68
-90
lines changed Original file line number Diff line number Diff line change 1
- # TODO: Remove all unused entries
1
+ # `local` working directory
2
+ local /
2
3
3
- # ciscosparkapi Project
4
- dist /
5
- docs /_build /
6
- * .egg-info /
7
-
8
-
9
- # Unversioned files
10
- basic-tests.py
11
-
12
-
13
- # Byte-compiled / optimized / DLL files
14
- __pycache__ /
15
- * .py [cod ]
16
- * $py.class
17
-
18
- # C extensions
19
- * .so
20
-
21
- # Distribution / packaging
22
- .Python
23
- env /
24
- build /
25
- develop-eggs /
26
- downloads /
27
- eggs /
28
- .eggs /
29
- lib /
30
- lib64 /
31
- parts /
32
- sdist /
33
- var /
34
- .installed.cfg
35
- * .egg
36
-
37
- # PyInstaller
38
- # Usually these files are written by a python script from a template
39
- # before PyInstaller builds the exe, so as to inject date/other infos into it.
40
- * .manifest
41
- * .spec
42
-
43
- # Installer logs
44
- pip-log.txt
45
- pip-delete-this-directory.txt
46
4
47
- # Unit test / coverage reports
48
- htmlcov /
5
+ # Test artifacts
6
+ .cache /
49
7
.tox /
50
- .coverage
51
- .coverage. *
52
- .cache
53
- nosetests.xml
54
- coverage.xml
55
- * ,cover
56
- .hypothesis /
57
8
58
- # Translations
59
- * .mo
60
- * .pot
61
9
62
- # Django stuff:
63
- * .log
64
- local_settings.py
65
-
66
- # Flask stuff:
67
- instance /
68
- .webassets-cache
69
-
70
- # Scrapy stuff:
71
- .scrapy
72
-
73
- # PyBuilder
74
- target /
75
-
76
- # IPython Notebook
77
- .ipynb_checkpoints
78
-
79
- # pyenv
80
- .python-version
81
-
82
- # celery beat schedule file
83
- celerybeat-schedule
84
-
85
- # dotenv
86
- .env
87
-
88
- # virtualenv
89
- venv /
90
- ENV /
10
+ # Byte-compiled / optimized files
11
+ * .py [cod ]
91
12
92
- # Spyder project settings
93
- .spyderproject
94
13
95
- # Rope project settings
96
- .ropeproject
14
+ # Build artifacts
15
+ dist /
16
+ docs /_build /
17
+ * .egg-info /
Original file line number Diff line number Diff line change
1
+ SHELL =/bin/bash
2
+
3
+ # Build recipes
4
+ .PHONY : build
5
+ build : tests docs buildpackage ;
6
+
7
+ .PHONY : buildpackage
8
+ buildpackage : setup.py
9
+ python setup.py sdist
10
+
11
+ docs : docs/Makefile
12
+ cd docs/
13
+ make html
14
+
15
+
16
+ # Local testing recipes
17
+ .PHONY : tests
18
+ tests : toxtest lint ;
19
+
20
+ .PHONY : toxtest
21
+ toxtest : local/environment.sh tox.ini
22
+ source local/environment.sh
23
+ tox
24
+
25
+ .PHONY : pytest
26
+ pytest : local/environment.sh
27
+ source local/environment.sh
28
+ pytest
29
+
30
+ .PHONY : lint
31
+ lint :
32
+ flake8 ciscosparkapi
33
+
34
+
35
+ # Cleaning recipes
36
+ .PHONY : clean
37
+ clean : cleanbuild cleandocs cleanpytest cleantox cleandist ;
38
+
39
+ .PHONY : cleandist
40
+ cleandist :
41
+ rm -rf ./dist/*
42
+
43
+ .PHONY : cleanbuild
44
+ cleanbuild :
45
+ rm -rf ./ciscosparkapi.egg-info/
46
+
47
+ .PHONY : cleandocs
48
+ cleandocs :
49
+ rm -rf ./docs/_build/*
50
+
51
+ .PHONY : cleantox
52
+ cleantox : cleanpytest
53
+ rm -rf ./.tox/
54
+
55
+ .PHONY : cleanpytest
56
+ cleanpytest :
57
+ rm -rf ./.cache/
Original file line number Diff line number Diff line change 1
1
[tox]
2
- envlist = py27, py35
2
+ envlist = py27, py35, py36
3
3
4
4
[testenv]
5
5
deps = pytest
You can’t perform that action at this time.
0 commit comments