Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
582d1e12
Commit
582d1e12
authored
Jan 09, 2015
by
David Baumgold
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4274 from edx/db/update-pylint
Update pylint to 1.4.0
parents
c5746e6d
d6b187d1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
4 deletions
+7
-4
pavelib/quality.py
+5
-2
pylintrc
+0
-0
requirements/edx/base.txt
+1
-1
scripts/all-tests.sh
+1
-1
No files found.
pavelib/quality.py
View file @
582d1e12
...
@@ -42,8 +42,10 @@ def find_fixme(options):
...
@@ -42,8 +42,10 @@ def find_fixme(options):
sh
(
sh
(
"{pythonpath_prefix} pylint --disable R,C,W,E --enable=fixme "
"{pythonpath_prefix} pylint --disable R,C,W,E --enable=fixme "
"-f parseable {apps} | tee {report_dir}/pylint_fixme.report"
.
format
(
"--msg-template={msg_template} {apps} "
"| tee {report_dir}/pylint_fixme.report"
.
format
(
pythonpath_prefix
=
pythonpath_prefix
,
pythonpath_prefix
=
pythonpath_prefix
,
msg_template
=
'"{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}"'
,
apps
=
apps_list
,
apps
=
apps_list
,
report_dir
=
report_dir
report_dir
=
report_dir
)
)
...
@@ -97,10 +99,11 @@ def run_pylint(options):
...
@@ -97,10 +99,11 @@ def run_pylint(options):
)
)
sh
(
sh
(
"{pythonpath_prefix} pylint {flags} -
f parseable
{apps} | "
"{pythonpath_prefix} pylint {flags} -
-msg-template={msg_template}
{apps} | "
"tee {report_dir}/pylint.report"
.
format
(
"tee {report_dir}/pylint.report"
.
format
(
pythonpath_prefix
=
pythonpath_prefix
,
pythonpath_prefix
=
pythonpath_prefix
,
flags
=
" "
.
join
(
flags
),
flags
=
" "
.
join
(
flags
),
msg_template
=
'"{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}"'
,
apps
=
apps_list
,
apps
=
apps_list
,
report_dir
=
report_dir
report_dir
=
report_dir
)
)
...
...
pylintrc
View file @
582d1e12
This diff is collapsed.
Click to expand it.
requirements/edx/base.txt
View file @
582d1e12
...
@@ -129,7 +129,7 @@ nose-exclude
...
@@ -129,7 +129,7 @@ nose-exclude
nose-ignore-docstring
nose-ignore-docstring
nosexcover==1.0.7
nosexcover==1.0.7
pep8==1.5.7
pep8==1.5.7
pylint==
0.28
pylint==
1.4.0
python-subunit==0.0.16
python-subunit==0.0.16
rednose==0.3
rednose==0.3
selenium==2.42.1
selenium==2.42.1
...
...
scripts/all-tests.sh
View file @
582d1e12
...
@@ -56,7 +56,7 @@ set -e
...
@@ -56,7 +56,7 @@ set -e
###############################################################################
###############################################################################
# Violations thresholds for failing the build
# Violations thresholds for failing the build
PYLINT_THRESHOLD
=
46
00
PYLINT_THRESHOLD
=
58
00
PEP8_THRESHOLD
=
0
PEP8_THRESHOLD
=
0
source
$HOME
/jenkins_env
source
$HOME
/jenkins_env
...
...
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