11[project ]
22name = " deadcode"
3- version = " 2.3.1 "
3+ version = " 2.3.2 "
44authors = [
55 {
name =
" Albertas Gimbutas" ,
email =
" [email protected] " },
66]
77description = " Find and remove dead code."
88readme = " README.md"
9- requires-python = " >= 3.8 "
9+ requires-python = " >= 3.10 "
1010classifiers = [
1111 " Development Status :: 3 - Alpha" ,
1212 " License :: OSI Approved :: GNU Affero General Public License v3" ,
1313 " Natural Language :: English" ,
1414 " Operating System :: OS Independent" ,
1515 " Programming Language :: Python" ,
16- " Programming Language :: Python :: 3.8" ,
17- " Programming Language :: Python :: 3.9" ,
1816 " Programming Language :: Python :: 3.10" ,
1917 " Programming Language :: Python :: 3.11" ,
2018 " Programming Language :: Python :: 3.12" ,
@@ -156,23 +154,16 @@ ignore = [
156154]
157155"tests/fix/test_unused_imports.py" = [" F401" , " W291" ]
158156
159-
160157[tool .mypy ]
161158exclude = [" build" , " dist" , " .venv" ]
162- python_version = " 3.8 "
159+ python_version = " 3.10 "
163160strict = true
164161pretty = true
165162color_output = true
166163show_error_codes = true
167164warn_return_any = true
168165warn_unused_configs = true
169166
170-
171- [tool .isort ]
172- profile = " black"
173- multi_line_output = 3
174- known_third_party = [" deadcode" ]
175-
176167[tool .deadcode ]
177168ignore_names = [
178169 " ERROR_CODES" ,
@@ -195,14 +186,7 @@ ignore_names = [
195186ignore_names_in_files = [
196187 " deadcode/utils/base_test_case.py"
197188]
198-
199189exclude = [" tests" ]
200190
201- [tool .black ]
202- max_line_length = 120
203- line_length = 120
204- target_version = [" py38" ]
205-
206-
207191[tool .pytest .ini_options ]
208192addopts = " --cov=. --no-cov-on-fail --cov-fail-under=88.0"
0 commit comments