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
eae96d93
Commit
eae96d93
authored
May 07, 2020
by
scmalte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moss.py: renamed variable
parent
4de5bf97
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
mossutils/moss.py
mossutils/moss.py
+4
-4
No files found.
mossutils/moss.py
View file @
eae96d93
...
...
@@ -10,7 +10,7 @@ DEFAULT_NUMBER_OF_MATCHING_FILES=1000 # -n in Moss
DEFAULT_TEMPLATE
=
None
DEFAULT_FILE_PATTERN
=
"./*/main.cpp"
DEFAULT_REPORT_FILE
=
"moss-report.html"
DEFAULT_REPORT_
SUB
DIR
=
"_moss-report"
DEFAULT_REPORT_DIR
=
"_moss-report"
DEFAULT_CONNECTIONS
=
8
def
run_moss
(
...
...
@@ -21,7 +21,7 @@ def run_moss(
template
=
DEFAULT_TEMPLATE
,
file_pattern
=
DEFAULT_FILE_PATTERN
,
report_file
=
DEFAULT_REPORT_FILE
,
report_subdir
=
DEFAULT_REPORT_
SUB
DIR
,
report_subdir
=
DEFAULT_REPORT_DIR
,
connections
=
DEFAULT_CONNECTIONS
):
# Assemble Moss comment string, starting with functions (local) arguments
...
...
@@ -117,8 +117,8 @@ def configure_cli_parser(parser):
parser
.
add_argument
(
"-rd"
,
"--report-dir"
,
type
=
str
,
default
=
DEFAULT_REPORT_
SUB
DIR
,
help
=
"Directory for individual report files (default: {})"
.
format
(
DEFAULT_REPORT_
SUB
DIR
))
default
=
DEFAULT_REPORT_DIR
,
help
=
"Directory for individual report files (default: {})"
.
format
(
DEFAULT_REPORT_DIR
))
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