Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
5b9bd49b
Commit
5b9bd49b
authored
8 years ago
by
Savici, Andrei T.
Browse files
Options
Downloads
Plain Diff
Merge pull request #16547 from mantidproject/fix-pylint-ci
Revert pylint output format change
parents
810c29eb
4d5d907b
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
buildconfig/CMake/PylintSetup.cmake
+1
-1
1 addition, 1 deletion
buildconfig/CMake/PylintSetup.cmake
buildconfig/Jenkins/pylint-buildscript
+1
-1
1 addition, 1 deletion
buildconfig/Jenkins/pylint-buildscript
tools/Pylint/run_pylint.py
+2
-2
2 additions, 2 deletions
tools/Pylint/run_pylint.py
with
4 additions
and
4 deletions
buildconfig/CMake/PylintSetup.cmake
+
1
−
1
View file @
5b9bd49b
...
...
@@ -15,7 +15,7 @@ if ( PYLINT_FOUND )
# Use msvs for MSVC generator, colorized for everything else. The buildservers can
# set it to parseable for Jenkins
if
(
MSVC
)
set
(
DEFAULT_FORMAT
"
{path}({line}): [{msg_id}{obj}] {msg}
"
)
set
(
DEFAULT_FORMAT
"
msvs
"
)
else
()
set
(
DEFAULT_FORMAT
"{C}:{line:3d},{column:2d}: {msg} ({symbol})"
)
endif
()
...
...
This diff is collapsed.
Click to expand it.
buildconfig/Jenkins/pylint-buildscript
+
1
−
1
View file @
5b9bd49b
...
...
@@ -79,7 +79,7 @@ fi
# Need this because some strange control sequences when using default TERM=xterm
export
TERM
=
"linux"
PYLINT_OUTPUT_DIR
=
$BUILD_DIR
/pylint
PYLINT_FORMAT
=
"
{
pa
th}:{line}: [{msg_id}({symbol}), {obj}] {msg}
"
PYLINT_FORMAT
=
"pa
rseable
"
$SCL_ON_RHEL6
"cmake
${
CMAKE_GENERATOR
}
-DCMAKE_BUILD_TYPE=
${
BUILD_CONFIG
}
-DENABLE_CPACK=OFF -DMAKE_VATES=OFF -DPYLINT_MSG_TEMPLATE=
\"
${
PYLINT_FORMAT
}
\"
-DPYLINT_NTHREADS=
$BUILD_THREADS
-DPYLINT_OUTPUT_DIR=
${
PYLINT_OUTPUT_DIR
}
.."
###############################################################################
...
...
This diff is collapsed.
Click to expand it.
tools/Pylint/run_pylint.py
+
2
−
2
View file @
5b9bd49b
...
...
@@ -14,7 +14,7 @@ import sys
import
time
# Default output format
DEFAULT_PYLINT_FORMAT
=
'
{msg_id}:{line:3d},{column}: {obj}: {msg}
'
DEFAULT_PYLINT_FORMAT
=
'
parseable
'
# Exe to call
DEFAULT_PYLINT_EXE
=
'
pylint
'
# Default log level
...
...
@@ -470,7 +470,7 @@ def build_pylint_cmd(srcpath, options):
A list of args to pass to subprocess.Popen
"""
cmd
=
[
options
.
exe
]
cmd
.
extend
([
"
--
msg-templ
at
e
=
"
+
options
.
format
])
cmd
.
extend
([
"
--
output-form
at=
"
+
options
.
format
])
if
options
.
rcfile
is
not
None
:
cmd
.
extend
([
"
--rcfile=
"
+
options
.
rcfile
])
# and finally, source module
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment