Commit Graph

10 Commits

Author SHA1 Message Date
heartsucker
0750dbac38
updated all python files to use pep-3110 exception syntax for python3 compatibility 2019-04-04 11:57:58 +02:00
heartsucker
55f8408718
use print function over print statement in ./misc/ directory 2019-03-22 11:41:16 +01:00
david-sarah
28069a9641 misc/coding_tools/check-interfaces.py: clean-ups (warnings about Windows-specific modules and error stream handling). 2012-06-14 21:28:29 +00:00
david-sarah
97d6a162e0 misc/build_helpers/check-interfaces.py: avoid spurious warnings about ignored exceptions on shutdown. Also make the check function able to write errors to an arbitrary stream. 2012-05-18 02:12:52 +00:00
david-sarah
bac24aee0d Fix pyflakes warnings in misc/ directories other than misc/build_helpers. refs #1557 2011-10-07 03:30:31 +00:00
david-sarah
cbd0569e45 misc/check-interfaces.py: print a warning if a .pyc or .pyo file exists without a corresponding .py file. 2011-10-12 16:36:09 -07:00
david-sarah
32262239e5 misc/coding_tools/check_interfaces.py: report all violations rather than only one for a given class, by including a forked version of verifyClass. refs #1474 2011-09-16 15:34:50 -07:00
david-sarah
9ca8ff7bfc misc/coding_tools/check_interfaces.py: use os.walk instead of FilePath, since this script shouldn't really depend on Twisted. refs #1474 2011-09-16 14:26:33 -07:00
david-sarah
f1445ce0b2 misc/coding_tools/check-interfaces.py: reduce false-positives by adding Dummy* to the set of excluded classnames, and bench-* to the set of excluded basenames. refs #1474 2011-09-16 14:26:24 -07:00
david-sarah
417054aaba 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 2011-09-15 09:15:32 -07:00