1DIFF-QUALITY(1) User Commands DIFF-QUALITY(1)
2
3
4
6 diff-quality - manual page for diff-quality 4.2.1
7
9 usage: diff-quality [-h] --violations TOOL [--html-report FILENAME]
10
11 [--external-css-file FILENAME] [--compare-branch BRANCH]
12 [--options [OPTIONS]] [--fail-under SCORE] [--ignore-staged]
13 [--ignore-unstaged] [--exclude EXCLUDE [EXCLUDE ...]]
14 [--diff-range-notation RANGE_NOTATION] [--version] [--ig‐
15 nore-whitespace] [input_reports ...]
16
17 Automatically find diff lines with quality violations.
18
19 positional arguments:
20 input_reports
21 Which violations reports to use
22
23 optional arguments:
24 -h, --help
25 show this help message and exit
26
27 --violations TOOL
28 Which code quality tool to use (checkstyle/checkstylex ml/cp‐
29 pcheck/eslint/findbugs/flake8/jshint/pmd/pycodest yle/pydoc‐
30 style/pyflakes/pylint)
31
32 --html-report FILENAME
33 Diff coverage HTML output
34
35 --external-css-file FILENAME
36 Write CSS into an external file
37
38 --compare-branch BRANCH
39 Branch to compare
40
41 --options [OPTIONS]
42 Options to be passed to the violations tool
43
44 --fail-under SCORE
45 Returns an error code if coverage or quality score is below this
46 value
47
48 --ignore-staged
49 Ignores staged changes
50
51 --ignore-unstaged
52 Ignores unstaged changes
53
54 --exclude EXCLUDE [EXCLUDE ...]
55 Exclude files, more patterns supported
56
57 --diff-range-notation RANGE_NOTATION
58 Git diff range notation to use when comparing branches, defaults
59 to '...'
60
61 --version
62 show program's version number and exit
63
64 --ignore-whitespace
65 When getting a diff ignore any and all whitespace
66
67
68
69diff-quality 4.2.1 February 2021 DIFF-QUALITY(1)