flake8
failed.
JSHint
passed.
flake8
-
python/pydiffx/dom/objects.py (Diff revision 1) Show all issues
Review Request #11743 — Created July 23, 2021 and submitted
Information | |
---|---|
chipx86 | |
DiffX | |
master | |
Reviewers | |
diffx | |
This introduces
DiffX.generate_stats()
,
DiffXChangeSection.generate_stats()
, and
DiffXFileSection.generate_stats()
. These are used to generate metadata
containing useful statistics on the diff, such as the number of files,
changes, inserts/deletes, and changed lines in a diff.Callers can call this immediately prior to writing the DiffX to a
stream, in order to provide this information for consumers of the diff.
Unit tests pass on Python 2 and 3.
Summary | |
---|---|
Description | From | Last Updated |
---|---|---|
F841 local variable 'meta_stats' is assigned to but never used |
![]() |