pydoctor should be able to ignore 'test' directories

Bug #788472 reported by Duncan Findlay
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pydoctor
New
Undecided
Unassigned

Bug Description

One common layout for python source trees is to put unit tests in a 'test' subdirectory of the code being tested. It would be nice to have a way to ignore these subdirectories when generating documentation.

epydoc has an --exclude option that can be used for this.

Duncan Findlay (duncf)
summary: - pydoctor should ignore 'test' directories
+ pydoctor should be able to ignore 'test' directories
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

This is already *possible* -- look at pydoctor.twistedmodel.TwistedSystem.privacyClass -- just not easy. A command line option would be nice.

Revision history for this message
Matt Haggard (iffy) wrote :

This patch adds an --exclude option that accepts regular expressions. What think ye?

Revision history for this message
Duncan Findlay (duncf) wrote :

I'm not able to apply that cleanly to trunk, and it looks like that code has changed a bit. :-(

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.