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
|
4d6260d6ad
|
check-miscaptures.py: report the number of files that were not analysed due to syntax errors (and don't count them in the number of suspicious captures). refs #1555
|
2011-10-09 05:03:01 +00:00 |
|
david-sarah
|
efd3c8b113
|
check-miscaptures.py: handle corner cases around default arguments correctly. Also make a minor optimization when there are no assigned variables to consider. refs #1555
|
2011-10-09 04:50:23 +00:00 |
|
david-sarah
|
5359c24e99
|
check-miscaptures.py: Python doesn't really have declarations; report the topmost assignment. refs #1555
|
2011-10-09 04:48:00 +00:00 |
|
david-sarah
|
1c6fe1d230
|
check-miscaptures.py: handle destructuring function arguments correctly. refs #1555
|
2011-10-09 04:47:10 +00:00 |
|
david-sarah
|
d2f3ef9714
|
check-miscaptures.py: check while loops and list comprehensions as well as for loops. Also fix a pyflakes warning. refs #1555
|
2011-10-09 04:40:22 +00:00 |
|
david-sarah
|
be1c94893f
|
Add misc/coding_tools/check-miscaptures.py to detect incorrect captures of variables declared in a for loop, and a 'make check-miscaptures' Makefile target to run it. (It is also run by 'make code-checks'.) This is a rewritten version that reports much fewer false positives, by determining captured variables more accurately. fixes #1555
|
2011-10-07 07:41:21 +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
|
3142538b0d
|
misc/coding_tools/make-canary-files.py: fix a suspicious capture reported by check-miscaptures (although it happens not to be a bug because the callback will be processed synchronously). refs #1556
|
2011-10-08 22:05:31 -07: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 |
|
Brian Warner
|
1f0e2574cc
|
update Makefile and coverage2el.py to coverage-3.4
It might still work with coverage-3.3 if you run with COVERAGE_OMIT=""
|
2010-11-25 12:38:32 -08:00 |
|
david-sarah
|
cd8d41584e
|
test_storage.py: change skip note for test_large_share to say that Windows doesn't support sparse files. refs #569
|
2010-08-04 19:26:12 -07:00 |
|
Brian Warner
|
cd360c847c
|
check-umids: oops, forgot to add the tool
|
2010-08-04 00:17:13 -07:00 |
|
Brian Warner
|
818089644a
|
coverage tools: ignore errors, display lines-uncovered in elisp mode. Fix Makefile paths.
|
2010-08-04 00:11:31 -07:00 |
|
Zooko O'Whielacronx
|
1fc6be28f4
|
setup: organize misc/ scripts and tools and remove obsolete ones
This is for ticket #1068.
|
2010-06-06 22:16:18 -07:00 |
|