Skip to content

Commit 7b209be

Browse files
committed
Remove ruff ignore E501, add dummy test case.
1 parent d8565ac commit 7b209be

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ extend-select = [
6969
]
7070
ignore = [
7171
"PLR", # Design related pylint
72-
"E501", # Line too long (Black is enough)
7372
"PT011", # Too broad with raises in pytest
7473
"SIM118", # iter(x) is not always the same as iter(x.keys())
7574
]

tests/test_buffers.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,3 +399,12 @@ def check_strides(mat):
399399
m.get_py_buffer(dmat, m.PyBUF_ANY_CONTIGUOUS)
400400
with pytest.raises(expected_exception):
401401
m.get_py_buffer(dmat, m.PyBUF_F_CONTIGUOUS)
402+
403+
404+
_SOME_DICT = {
405+
0: "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.",
406+
}
407+
408+
409+
def test_some_dict():
410+
assert _SOME_DICT

0 commit comments

Comments
 (0)