Set maximum line length for Python style checker (#552)

This commit is contained in:
Dean Moldovan
2016-12-13 00:59:28 +01:00
committed by Wenzel Jakob
parent de2c6df200
commit 76e993a3f4
8 changed files with 40 additions and 19 deletions

View File

@@ -71,4 +71,6 @@ def test_type_selection():
def test_docs(doc):
from pybind11_tests import vectorized_func
assert doc(vectorized_func) == "vectorized_func(arg0: numpy.ndarray[int], arg1: numpy.ndarray[float], arg2: numpy.ndarray[float]) -> object"
assert doc(vectorized_func) == """
vectorized_func(arg0: numpy.ndarray[int], arg1: numpy.ndarray[float], arg2: numpy.ndarray[float]) -> object
""" # noqa: E501 line too long