Skip to content

Commit 5ab196a

Browse files
committed
Pin Cython
1 parent 823859a commit 5ab196a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

requirements_dev.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Sphinx==8.0.2
88
numpydoc==1.8.0
99
pytest>=3.7.2
1010
pytest-runner>=4.2
11-
Cython>=3.0.11
11+
Cython==3.0.12
1212
pluggy>=0.7.1
1313
mypy==1.4.1
1414
types-pyinstaller==6.10.0.20240812
@@ -17,4 +17,4 @@ sphinxext-opengraph==0.9.1
1717
sphinx-copybutton==0.5.2
1818
ruff
1919
setuptools==75.7.0
20-
pytest-mypy-plugins>=3.2,<4.0.0
20+
pytest-mypy-plugins>=3.2,<4.0.0

selectolax/lexbor.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ cdef class LexborHTMLParser:
9999

100100
if not name:
101101
raise ValueError("Tag name cannot be empty")
102-
if len(name) > 100: # Reasonable limit for tag names
102+
if len(name) > 100:
103103
raise ValueError("Tag name is too long")
104104

105105
cdef lxb_dom_collection_t* collection = NULL

0 commit comments

Comments
 (0)