Skip to content

Commit a13c4c6

Browse files
committed
Added code check tools.
1 parent 7bb0f2a commit a13c4c6

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

Makefile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,3 +111,17 @@ build:
111111
upload: clean sdist wheel
112112
twine upload dist/*
113113

114+
# Code test tools
115+
#
116+
.PHONY: clonedigger
117+
clonedigger:
118+
clonedigger -l python -o clonedigger.html tsip
119+
120+
.PHONY: flake8
121+
flake8:
122+
flake8 --statistics --exit-zero tsip
123+
124+
.PHONY: pyntch
125+
pyntch:
126+
tchecker.py tsip/*.py
127+

setup.cfg

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[wheel]
22
universal = 1
33

4-
54
[nosetests]
65
verbosity=2
76
stop=1
@@ -11,3 +10,6 @@ with-coverage=1
1110
cover-package=tsip
1211
detailed-errors=1
1312

13+
[flake8]
14+
max-line-length = 160
15+
ignore = E303

0 commit comments

Comments
 (0)