Name: | vcs-diff-lint |
---|---|
Version: | 6.4 |
Release: | 1.el8 |
Architecture: | noarch |
Group: | Unspecified |
Size: | 43454 |
License: | GPL-2.0-or-later |
RPM: | vcs-diff-lint-6.4-1.el8.noarch.rpm |
Source RPM: | vcs-diff-lint-6.4-1.el8.src.rpm |
Build Date: | Wed Oct 30 2024 |
Build Host: | build-ol8-x86_64.oracle.com |
Vendor: | Oracle America |
URL: | https://github.com/fedora-copr/vcs-diff-lint |
Summary: | VCS Differential Code Analysis Tool |
Description: | Analyze code, and print only reports related to a particular change. From within a VCS directory (only Git is supported for now) first analyze set of changed files against given changeset (origin/main by default) so we know what files need to be analyzed. Then run code analyzers (e.g. PyLint) against the old code (before changes), run analyzers against the actual code (not yet pushed changes), perform a diff (using csdiff utility), and finally print a set of added (or even fixed, as opt-in) analyzers' warnings. |
- add a basic test-suite - drop duplicated check for empty list of changed files
- don't require all the linters, just recommend them - use requested linters only if they are available - nicer info/debug output
- drop unnecessary newline in the output - ruff: don't prefix the error locations with absolute path - ruff: don't optimize out the full Ruff run - print the git sha1 being analyzed - bugfix: correct matching filenames with endswith()
- rpm: use SPDX License format
- bugfix: correctly honor file renames - bugfix: fix subproject detection for git worktree - ruff: do full project scans (since Ruff is fast enough) - check the new (changed) code in a side-directory
- support for fast "ruff" analyser - --linter-tag option added - subproject detection by .vcs-diff-lint.yml
- don't print Mypy errors from files that are not explicitly analyzed
- print the headers back to stdout again - non-monorepo use-case fixed - add support for Mypy
- don't pollute stdout so csgrep can read it
- new package built with tito