Package: pylint
Version: 2.5.3-1
Severity: minor
Tags: patch
Dear Maintainer,
The patch is based on the current upstream repository.
Test nr. 4:
Change \' (acute) to ', if used as an apostrophe.
22:\'s functionality is integrated in
#####
Test nr. 25:
Change a HYPHEN-MINUS (code 0x55, 2D) to a minus (\-), if in front of a
name for an option.
28:.IP "-h, --help"
30:.IP "-d <min_duplicated_lines>, --duplicates <min_duplicated_lines>"
34:.IP "-i, --ignore-comments"
#####
Test nr. 36:
Wrong distance between sentences or protect the indicator.
a) Separate the sentences and subordinate clauses; each begins on a new
line. See man-pages(7) and "info groff".
The best procedure is to always start a new sentence on a new line,
at least, if you are typing on a computer.
Remember coding: Only one command ("sentence") on each (logical) line.
E-mail: Easier to quote exactly the relevant lines.
Generally: Easier to edit the sentence.
Patches: Less unaffected text.
The amount of space between sentences in the output can then be
controlled with the ".ss" request.
17:is a tool for searching blocks of identical lines in different files. It can
be
32:Default is 4. So if it finds 3 identical lines, there will be no message, but
35:ignore differences concerning only stuff behind a '#' (Python comments). This
Signed-off-by: Bjarni Ingi Gislason <[email protected]>
---
man/symilar.1 | 31 +++++++++++++++++++------------
1 file changed, 19 insertions(+), 12 deletions(-)
diff --git a/man/symilar.1 b/man/symilar.1
index a1842597..4fbd5442 100644
--- a/man/symilar.1
+++ b/man/symilar.1
@@ -14,23 +14,30 @@
.SH DESCRIPTION
.B symilar
-is a tool for searching blocks of identical lines in different files. It can be
-used to find copy pasted blocks of code, or stuff that could be refactored.
-Differences concerning only stuff behind a '#' (Python comments) can be
ignored.
+is a tool for searching blocks of identical lines in different files.
+It can be used to find copy pasted blocks of code,
+or stuff that could be refactored.
+Differences concerning only stuff behind a '#'
+(Python comments)
+can be ignored.
The size of identical blocks can be optionally modified.
-.B symilar
-\'s functionality is integrated in
+.BR symilar 's
+functionality is integrated in
.B pylint
with the refactoring message 'R0801'.
.SH OPTIONS
-.IP "-h, --help"
+.IP "\-h, \-\-help"
show help message and exit
-.IP "-d <min_duplicated_lines>, --duplicates <min_duplicated_lines>"
+.IP "\-d <min_duplicated_lines>, \-\-duplicates <min_duplicated_lines>"
minimum number of identical lines that should trigger a similarity message.
-Default is 4. So if it finds 3 identical lines, there will be no message, but
-4 identical lines will be mentioned.
-.IP "-i, --ignore-comments"
-ignore differences concerning only stuff behind a '#' (Python comments). This
-means that if just a comment was added, the message will still be triggered.
+Default is 4.
+So if it finds 3 identical lines,
+there will be no message,
+but 4 identical lines will be mentioned.
+.IP "\-i, \-\-ignore-comments"
+ignore differences concerning only stuff behind a '#'
+(Python comments).
+This means that if just a comment was added,
+the message will still be triggered.
--
2.27.0
-- System Information:
Debian Release: bullseye/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.7.6-1 (SMP w/2 CPU threads)
Locale: LANG=is_IS.iso88591, LC_CTYPE=is_IS.iso88591 (charmap=ISO-8859-1),
LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages pylint depends on:
ii python3 3.8.2-3
ii python3-astroid 2.4.2-1
ii python3-isort 4.3.4+ds1-2
ii python3-logilab-common 1.7.2-1
ii python3-mccabe 0.6.1-3
ii python3-setuptools 46.1.3-1
ii python3-toml 0.10.1-1
Versions of packages pylint recommends:
pn python3-tk <none>
Versions of packages pylint suggests:
pn pylint-doc <none>
-- no debconf information
--
Bjarni I. Gislason