Open ghost opened 10 years ago
It would be nice to also have twistedchecker run on a set of files.
In this way you can have a tools which look for files changes since trunk and run checks only on those files, as it should be much faster than running on the whole code.
For my project I have something like this for pyflakes and pep8 checks and is fast :)
Twistedchecker currently expects a python module or package directory as an argument.
It would useful if you could also pass it an arbitrary directory which it would search recursively for any python files.
This would be more consistent with the behaviour of Pyflakes.
{{{
!python
def iterSourceCode(paths): """ Iterate over all Python source files in C{paths}.
}}}
This idea was raised by Tom in the comments in:
Which discusses the Twisted Better Examples plan:
It is a blocker for:
Imported from Launchpad using lp2gh.