mirror of
https://github.com/pybind/pybind11.git
synced 2026-06-08 15:29:45 +00:00
Set maximum line length for Python style checker (#552)
This commit is contained in:
committed by
Wenzel Jakob
parent
de2c6df200
commit
76e993a3f4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user