blob: d641dc758be84aef02ea2ce2175acdf163063a86 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
TESTS = tests.py
check_SCRIPTS = tests.py
EXTRA_DIST = tests.py.in
CLEANFILES = $(check_SCRIPTS)
tests.py: tests.py.in
$(AM_V_GEN) sed -e 's|@PYTHON[@]|$(PYTHON)|g' $< > $@
chmod +x $@
# Default pycodestyle --exclude + emacs backup files
PYCODESTYLE_EXCLUDES=--exclude='.svn,CVS,.bzr,.hg,.git,__pycache__,.\#*'
check-local:
$(PYCODESTYLE) --max-line-length=99 --ignore=E123,E402,W504 \
$(PYCODESTYLE_EXCLUDES) $(top_srcdir)/src/
|