Skip to content

Commit

Permalink
Lint fix for previous commit.
Browse files Browse the repository at this point in the history
Mea culpa.
  • Loading branch information
dhermes committed Jan 11, 2017
1 parent c74557d commit c89c18e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions bezier/_surface_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,9 @@ def polynomial_sign(poly_surface):
number of subdivisions.
"""
# The indices where the corner nodes in a surface are.
# pylint: disable=protected-access
corner_indices = (0, poly_surface._degree, -1)
# pylint: enable=protected-access
sub_polys = [poly_surface]
signs = set()
for _ in six.moves.xrange(_MAX_POLY_SUBDIVISIONS):
Expand Down
2 changes: 2 additions & 0 deletions tests/test__surface_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ def test_conclusion_from_corner_node(self):
# [0.0 0.5 ]
# [0.5 0.5 ]
# [0.25 1.0 ]
# pylint: disable=no-member
bernstein = np.array([[1.0, 0.5, 0.0, 0.75, 0.4375, 1.0]]).T
# pylint: enable=no-member
self._helper(bernstein, 0)


Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,13 @@ commands =
--application-import-names="bezier,tests" \
{toxinidir}/bezier {toxinidir}/tests
pylint --rcfile pylintrc \
--max-module-lines=2076 \
--max-module-lines=2083 \
{toxinidir}/bezier
pylint --rcfile pylintrc \
--disable=missing-docstring \
--disable=protected-access \
--disable=too-many-public-methods \
--max-module-lines=1802 \
--max-module-lines=1813 \
{toxinidir}/functional_tests \
{toxinidir}/tests
deps =
Expand Down

0 comments on commit c89c18e

Please sign in to comment.