@@ -8,25 +8,24 @@ description = "Turn HTML into equivalent Markdown-structured text."
88readme = " README.md"
99authors = [{name = " Aaron Swartz" , email = " me@aaronsw.com" }]
1010maintainers = [{name = " Alireza Savand" , email = " alireza.savand@gmail.com" }]
11- license = { text = " GNU GPL 3 " }
11+ license = " GPL-3.0-or-later "
1212classifiers = [
1313 " Development Status :: 5 - Production/Stable" ,
1414 " Intended Audience :: Developers" ,
15- " License :: OSI Approved :: GNU General Public License (GPL)" ,
1615 " Operating System :: OS Independent" ,
1716 " Programming Language :: Python" ,
1817 " Programming Language :: Python :: 3" ,
19- " Programming Language :: Python :: 3.5" ,
20- " Programming Language :: Python :: 3.6" ,
21- " Programming Language :: Python :: 3.7" ,
22- " Programming Language :: Python :: 3.8" ,
2318 " Programming Language :: Python :: 3.9" ,
19+ " Programming Language :: Python :: 3.10" ,
20+ " Programming Language :: Python :: 3.11" ,
21+ " Programming Language :: Python :: 3.12" ,
22+ " Programming Language :: Python :: 3.13" ,
2423 " Programming Language :: Python :: 3 :: Only" ,
2524 " Programming Language :: Python :: Implementation :: CPython" ,
2625 " Programming Language :: Python :: Implementation :: PyPy" ,
2726]
2827urls = {Homepage = " https://github.com/Alir3z4/html2text/" }
29- requires-python = " >=3.5 "
28+ requires-python = " >=3.9 "
3029dynamic = [" version" ]
3130
3231[project .scripts ]
@@ -44,13 +43,23 @@ html2text = ["py.typed"]
4443[tool .setuptools_scm ]
4544write_to = " html2text/_version.py"
4645
46+ [tool .black ]
47+ line-length = 88
48+ target-version = [' py313' ]
49+ extend-exclude = '''
50+ /(
51+ html2text/_version.py
52+ )
53+ '''
54+
4755[tool .flake8 ] # you will need Flake8-pyproject
4856max_line_length = " 88"
4957extend-ignore = " E203"
5058
5159[tool .isort ]
5260profile = " black"
5361combine_as_imports = true
62+ extend_skip = [" html2text/_version.py" ]
5463
5564[tool .mypy ]
56- python_version = " 3.5 "
65+ python_version = " 3.9 "
0 commit comments