What's Changed
- Allow passing multiple file names to graph, to get multiple lines in HTML by @devdanzin in #206
- Test support for Python 3.12 by @tonybaloney in #224
- Add line numbers for metrics in Cyclomatic and Halstead operators by @devdanzin in #218
- Standalone plotly.min.js for graph (fix #189) by @devdanzin in #209
- Use class/function names for metric_type and aggregate in list-metrics by @devdanzin in #213
Bugfixes and minor updates
- Use ruff to replace bandit, flake8 and plugins, isort, pydocstyle, pyupgrade by @cclauss in #174
- ruff recommended code changes from #174 by @cclauss in #175
- Use xmlcharrefreplace to handle codec errors in html report writing (fix #182) by @devdanzin in #183
- HTML report: replace ESCAPE character (fix #184) by @devdanzin in #185
- Allow report to only display revisions that have changes (fix #187) by @devdanzin in #188
- Fix ruff CI checks by @devdanzin in #195
- Fix creating graphs for directories in Windows (fix #190) by @devdanzin in #191
- Avoid statistics.StatisticsError if rank finds no data (fix #196) by @devdanzin in #197
- Avoid using unicode characters if
sys.stdout
doesn't support them (fix #65) by @devdanzin in #200 - Fix some docstrings by @devdanzin in #198
- Fix graph not displaying filenames as line labels by @devdanzin in #202
- Avoid report erroring out if there is no data to show by @devdanzin in #203
- Allow output from commands to be wrapped to terminal width (fix #81) by @devdanzin in #201
- Handle sys.stdout.encoding being None in get_style() by @devdanzin in #204
- Annotate core functions and remove sphinx style argument types by @tonybaloney in #205
- Fix ruff error due to use of .format() in diff.py by @devdanzin in #207
- Fix HTML report table not being scrollable (fix #186) by @devdanzin in #208
- Delete unused, untested decorators.py by @devdanzin in #212
- Fix aggregation in Windows (fix #210) by @devdanzin in #211
- Restore displaying graph markers by @devdanzin in #215
- Update graph and report documentation by @devdanzin in #216
- Lazy-format all logging calls (fix #219) by @devdanzin in #220
- Add some more typing by @devdanzin in #221
- Add unit tests for some commands by @devdanzin in #199
- Fix typing of tests and make pyright check them on CI by @devdanzin in #222
Full Changelog: 1.24.2...1.25.0