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
401e72ae
Commit
401e72ae
authored
Oct 07, 2014
by
Jesse Zoldak
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5504 from edx/zoldak/lower-pep8-threshold
Lower the pep8 threshold for failing builds
parents
57119805
d93fa175
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
scripts/all-tests.sh
+6
-2
No files found.
scripts/all-tests.sh
View file @
401e72ae
...
...
@@ -55,6 +55,10 @@ set -e
#
###############################################################################
# Violations thresholds for failing the build
PYLINT_THRESHOLD
=
4800
PEP8_THRESHOLD
=
675
source
$HOME
/jenkins_env
# Clean up previous builds
...
...
@@ -103,8 +107,8 @@ SHARD=${SHARD:="all"}
case
"
$TEST_SUITE
"
in
"quality"
)
paver run_pep8
-l
725
>
pep8.log
||
{
cat
pep8.log
;
EXIT
=
1
;
}
paver run_pylint
-l
4800
>
pylint.log
||
{
cat
pylint.log
;
EXIT
=
1
;
}
paver run_pep8
-l
$PEP8_THRESHOLD
>
pep8.log
||
{
cat
pep8.log
;
EXIT
=
1
;
}
paver run_pylint
-l
$PYLINT_THRESHOLD
>
pylint.log
||
{
cat
pylint.log
;
EXIT
=
1
;
}
paver run_quality
# Need to create an empty test result so the post-build
...
...
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