Commit Graph

11 Commits (c3db6e5bc849805d87b3b105c249d2709a17a6ad)

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 20a1852907 Fix outdated fixture data 9 years ago
Eric Holscher 4de4b376ca Rename `autoapi_dir` to `autoapi_dirs` to support multiple 9 years ago
Eric Holscher 220599c22f Attempt to fix path names on Windows. 9 years ago
Eric Holscher d3b6bd305f Skip epyparse tests on py3 9 years ago
Eric Holscher 801e2e4675 Fix mock 9 years ago
Eric Holscher cb28412dfd Fix test mocks 9 years ago
Eric Holscher 30e4847898 Add basic tests & small output changes for auto-adding TOCTree 9 years ago
Eric Holscher 19c79222a9 Refactor integration tests to use fixture data.
This removes dependence on real tooling.
The main downside is that it’s fragile to output changes in the tooling.
Not a lot we can do though,
other than have real integration tests, also.
9 years ago
Eric Holscher e881072e84 Refactor integration tests 9 years ago
Eric Holscher a3244a2531 Rename tests to be more descriptive 9 years ago