11[build-system ]
22build-backend = " maturin"
3- requires = [ " maturin>=1.0 ,<2.0 " ]
3+ requires = [ " maturin>=1,<2" ]
44
55[project ]
66name = " html-to-markdown"
@@ -20,8 +20,9 @@ classifiers = [
2020 " Programming Language :: Python :: 3.14" ,
2121]
2222urls.repository = " https://github.com/kreuzberg-dev/html-to-markdown"
23+
2324[dependency-groups ]
24- dev = [ " mypy>=1.19.0 " , " ruff>=0.14.8" ]
25+ dev = [ " mypy>=1.19" , " ruff>=0.14.8" ]
2526
2627[tool .maturin ]
2728module-name = " html_to_markdown._html_to_markdown"
@@ -34,8 +35,8 @@ python-packages = [ "html_to_markdown" ]
3435[tool .ruff ]
3536target-version = " py310"
3637line-length = 120
37- format.docstring-code-format = true
3838format.docstring-code-line-length = 120
39+ format.docstring-code-format = true
3940lint.select = [ " ALL" ]
4041lint.ignore = [
4142 " ANN401" ,
@@ -62,8 +63,7 @@ lint.ignore = [
6263 " TD" ,
6364 " TRY" ,
6465]
65- lint.mccabe.max-complexity = 15
66- lint.per-file-ignores."tests/**" = [ " ANN" , " D103" , " PLR2004" , " S101" ]
66+ lint.per-file-ignores."html_to_markdown/__init__.py" = [ " I001" ]
6767# The alef Python codegen still emits cosmetic warnings on the wrapper
6868# modules: api.py keeps the legacy `from typing import AsyncIterator` and a
6969# single-line import block, options.py carries # noqa: TC001 / F401 markers
@@ -72,7 +72,8 @@ lint.per-file-ignores."tests/**" = [ "ANN", "D103", "PLR2004", "S101" ]
7272# the codegen is updated to emit ruff-clean output.
7373lint.per-file-ignores."html_to_markdown/api.py" = [ " F401" , " I001" , " UP035" ]
7474lint.per-file-ignores."html_to_markdown/options.py" = [ " F401" , " RUF100" ]
75- lint.per-file-ignores."html_to_markdown/__init__.py" = [ " I001" ]
75+ lint.per-file-ignores."tests/**" = [ " ANN" , " D103" , " PLR2004" , " S101" ]
76+ lint.mccabe.max-complexity = 15
7677lint.pydocstyle.convention = " google"
7778lint.pylint.max-args = 10
7879lint.pylint.max-branches = 15
0 commit comments