Changeset 417054a in trunk


Ignore:
Timestamp:
2011-09-15T16:15:32Z (14 years ago)
Author:
david-sarah <david-sarah@…>
Branches:
master
Children:
f1445ce
Parents:
1fa5c72
Message:

Add a script 'misc/coding_tools/check-interfaces.py' that checks whether zope interfaces are enforced. Also add 'check-interfaces', 'version-and-path', and 'code-checks' targets to the Makefile. fixes #1474

Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified Makefile

    r1fa5c72 r417054a  
    122122endif
    123123
     124code-checks: build version-and-path check-interfaces -find-trailing-spaces -check-umids pyflakes
     125
     126version-and-path:
     127        $(TAHOE) --version-and-path
     128
     129check-interfaces:
     130        $(TAHOE) @misc/coding_tools/check-interfaces.py 2>&1 |tee violations.txt
     131        @echo
    124132
    125133pyflakes:
    126134        $(PYTHON) -OOu `which pyflakes` $(SOURCES) |sort |uniq
     135        @echo
    127136
    128137check-umids:
    129138        $(PYTHON) misc/coding_tools/check-umids.py `find $(SOURCES) -name '*.py'`
     139        @echo
     140
     141-check-umids:
     142        -$(PYTHON) misc/coding_tools/check-umids.py `find $(SOURCES) -name '*.py'`
     143        @echo
    130144
    131145count-lines:
     
    214228find-trailing-spaces:
    215229        $(PYTHON) misc/coding_tools/find-trailing-spaces.py -r $(SOURCES)
     230        @echo
     231
     232-find-trailing-spaces:
     233        -$(PYTHON) misc/coding_tools/find-trailing-spaces.py -r $(SOURCES)
     234        @echo
    216235
    217236# The test-desert-island target grabs the tahoe-deps tarball, unpacks it,
Note: See TracChangeset for help on using the changeset viewer.