Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mossutils
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dinfk-lecturers
mossutils
Commits
1087b4d3
Commit
1087b4d3
authored
Nov 05, 2020
by
scmalte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cluster.py: use default values for thresholds
parent
ae5fd970
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
mossutils/cluster.py
mossutils/cluster.py
+2
-0
No files found.
mossutils/cluster.py
View file @
1087b4d3
...
...
@@ -200,11 +200,13 @@ def configure_cli_parser(parser):
parser
.
add_argument
(
"-tp"
,
"--threshold-percentage"
,
type
=
int
,
default
=
DEFAULT_THRESHOLD_PERCENTAGE
,
help
=
"Threshold for similarity in percentage; matches below will be excluded (default: {})"
.
format
(
DEFAULT_THRESHOLD_PERCENTAGE
))
parser
.
add_argument
(
"-tl"
,
"--threshold-lines"
,
type
=
int
,
default
=
DEFAULT_THRESHOLD_LINES
,
help
=
"Threshold for similarity in lines of code; matches below will be excluded (default: {})"
.
format
(
DEFAULT_THRESHOLD_LINES
))
logutils
.
add_loglevel_argument
(
parser
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment