Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Commit

Permalink
make rst syntax errors blocking checks (#554)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul authored and pedrobaeza committed May 30, 2018
1 parent eab222d commit 774ec5f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ matrix:
- python: 2.7
env:
VERSION="" TESTS="0" LINT_CHECK="1"
PYLINT_EXPECTED_ERRORS="34"
PYLINT_EXPECTED_ERRORS="35"
- python: 3.5
env:
VERSION="11.0" ODOO_REPO="OCA/OCB" TESTS="1" LINT_CHECK="0"
Expand Down
2 changes: 2 additions & 0 deletions travis/cfg/travis_run_pylint.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ disable=all
# reimported - W0404
# relative-import - W0403
# return-in-init - E0101
# rst-syntax-error - E7901
# too-few-format-args - E1306
# unreachable - W0101

Expand All @@ -35,6 +36,7 @@ enable=anomalous-backslash-in-string,
reimported,
relative-import,
return-in-init,
rst-syntax-error,
too-few-format-args,
unreachable,

Expand Down
2 changes: 0 additions & 2 deletions travis/cfg/travis_run_pylint_beta.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ disable=all
# unnecessary-utf8-coding-comment - C8202
# openerp-exception-warning - R8101
# redundant-modulename-xml - W7909
# rst-syntax-error - E7901
# sql-injection - E8103
# too-complex - C0901
# translation-field - W8103
Expand Down Expand Up @@ -72,7 +71,6 @@ enable=api-one-deprecated,
old-api7-method-defined,
openerp-exception-warning,
redundant-modulename-xml,
rst-syntax-error,
sql-injection,
too-complex,
translation-field,
Expand Down
1 change: 1 addition & 0 deletions travis/self_tests
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ EXPECTED_ERRORS = {
'redundant-keyword-arg': 1,
'reimported': 4,
'return-in-init': 1,
'rst-syntax-error': 1,
'too-few-format-args': 1,
'unreachable': 1,
}
Expand Down

0 comments on commit 774ec5f

Please sign in to comment.