Browse Source

add 'codechecks' target to run tools to check source code

suites/jessie-proposed-backports
Sandro Tosi 11 years ago
parent
commit
101b8b015f
  1. 13
      Makefile
  2. 7
      debian/changelog

13
Makefile

@ -13,4 +13,15 @@ tests:
coverage: NOSETESTS_OPTS += --with-coverage --cover-package=reportbug
coverage:
$(nosetests_cmd)
$(nosetests_cmd)
codechecks: pep8 pyflakes pylint
pep8:
pep8 --verbose --repeat --show-source --filename=*.py,reportbug,querybts . --statistics
pyflakes:
pyflakes . bin/*
pylint:
pylint --output-format=colorized bin/* reportbug/ checks/* test/ setup.py

7
debian/changelog

@ -1,3 +1,10 @@
reportbug (5.1) UNRELEASED; urgency=low
* Makefile
- add 'codechecks' target to run tools to check source code
-- Sandro Tosi <morph@debian.org> Tue, 01 Mar 2011 22:40:12 +0100
reportbug (5.0) unstable; urgency=low
* Upload to unstable

Loading…
Cancel
Save