Add pyflakes.py and run it in make check. Update the source code to fix
[platform/upstream/gobject-introspection.git] / tests / Makefile.am
1 SUBDIRS = . invoke scanner
2
3 EXTRA_DIST = \
4         roundtrips.sh   \
5         array.gir       \
6         boxed.gir       \
7         constant.gir    \
8         enum.gir        \
9         errors.gir      \
10         function.gir    \
11         gobject.gir     \
12         interface.gir   \
13         object.gir      \
14         struct.gir      \
15         types.gir       \
16         union.gir       \
17         xref1.gir       \
18         xref2.gir
19
20 TESTS = #roundtrips.sh
21
22 check-local:
23         @echo Running PEP8 on Python sources
24         @find $(top_srcdir)/giscanner -name \*.py | sort | uniq | xargs $(PYTHON) $(top_srcdir)/misc/pep8.py --repeat
25         @echo Running Pyflakes on Python sources
26         @find $(top_srcdir)/giscanner -name \*.py | sort | uniq | xargs $(PYTHON) $(top_srcdir)/misc/pyflakes.py