22# https://packaging.python.org/en/latest/specifications/pyproject-toml/
33
44[build-system ]
5- requires = [" setuptools" ]
5+ requires = [" setuptools>=75.6.0 " ]
66build-backend = " setuptools.build_meta"
77
88[project ]
@@ -92,8 +92,41 @@ ignore = [
9292]
9393
9494[tool .ruff ]
95- line-length = 140
95+ line-length = 150
9696target-version = " py39"
97+ format.preview = true
98+ format.docstring-code-line-length = 100
99+ format.docstring-code-format = true
100+ lint.select = [
101+ " ALL" ,
102+ ]
103+ lint.ignore = [
104+ " ANN401" , # kwargs with typing.Any
105+ " CPY" , # not required
106+ " D101" , # docs readability
107+ " D102" , # docs readability
108+ " D105" , # docs readability
109+ " D107" , # docs readability
110+ " D200" , # docs readability
111+ " D205" , # docs readability
112+ " D205" , # docs readability
113+ " D203" , # docs readability
114+ " D212" , # docs readability
115+ " D400" , # docs readability
116+ " D401" , # docs readability
117+ " D415" , # docs readability
118+ " PLR2004" , # readability
119+ " SIM108" , # readability
120+ " RUF012" , # readability
121+ " FBT001" , # readability
122+ " FBT002" , # readability
123+ " PGH003" , # readability
124+ ]
125+ lint.isort.required-imports = [ " from __future__ import annotations" ]
126+
127+ [tool .mypy ]
128+ show_error_codes = true
129+ strict = true
97130
98131[tool .coverage .run ]
99132branch = true
@@ -104,7 +137,7 @@ fail_under = 100
104137show_missing = true
105138exclude_lines = [
106139 " pragma: no cover" ,
107- " raise NotImplementedError() " ,
140+ " raise NotImplementedError" ,
108141]
109142
110143[tool .coverage .paths ]
0 commit comments