mirror of
https://github.com/davidhalter/parso.git
synced 2025-12-06 12:54:29 +08:00
- Add `NodeOrLeaf.dump()` to generate a readable and "round-trippable" dump for a parser tree - `parso.tree.search_ancestor()` is deprecated, use `NodeOrLeaf.search_ancestor()` instead - Set up children's parent in `BaseNode.__init__()` - Add test for `search_ancestor` - Various small type annotations improvements
14 lines
273 B
INI
14 lines
273 B
INI
[run]
|
|
source = parso
|
|
|
|
[report]
|
|
# Regexes for lines to exclude from consideration
|
|
exclude_lines =
|
|
pragma: no cover
|
|
|
|
# Don't complain about missing debug-only code:
|
|
def __repr__
|
|
|
|
# Don't complain if non-runnable code isn't run:
|
|
if __name__ == .__main__.:
|