Commit Graph

9 Commits (cc41787b58e1f6a6c551236023b1f84006d8a491)

Author SHA1 Message Date
Anthony Johnson f607d5e1db Improvements to pydocstyle Python parsing
* Moves relative path parsing away from the base mapper implementation
* Change argument parsing from splitting first line of source with ',' to use
  AST traversal instead. This is not complete, but mostly PoC for now. Full
  traversal into argument type nodes will allow us to get nested dict() etc.
  We should open a ticket to track this work
* Cleans up some of the templates to reduce duplicate titles
* Adds a directive for nesting rST from constructs that might have headings.
  Remove the first heading in this case to address the case where a module has a
  docstring with a heading up front
* Adds tests
* Replaces example module with module that has more failing cases of parsing

Closes #78
Fixes #80
Fixes #81
Fixes #82
Fixes #83
Fixes #84
Fixes #85
8 years ago
Anthony Johnson fab86cbc66 Revert basestring -> str in check for autoapi_dirs
Not sure we need to be concerned about byte strings here either way.

Fixes #74
8 years ago
Eric Holscher 37699d983d Add py3 testing 9 years ago
Eric Holscher f9d4d8c18d Clean up tox file 9 years ago
Eric Holscher f5e26ca384 Fix mock properly 9 years ago
Eric Holscher fc51ad4e0f Just call git directly 9 years ago
Eric Holscher dc3c81b8c6 Whitelist cd 9 years ago
Eric Holscher 2c823fd4e8 Add proper testing config 9 years ago
Eric Holscher 7ddb93acb9 Add basic tox configuration 9 years ago