@@ -9,16 +9,16 @@ requires = [
99name = " sphinx-lint"
1010description = " Check for stylistic and formal issues in .rst and .py files included in the documentation."
1111readme = " README.md"
12- license = {text = " PSF License" }
12+ license = " PSF-2.0"
13+ license-files = [ " LICENSE" ]
1314authors = [
14- { name = " Georg Brandl" , email = " georg@python.org" },
15- { name = " Julien Palard" , email = " julien@palard.fr" },
15+ { name = " Georg Brandl" , email = " georg@python.org" },
16+ { name = " Julien Palard" , email = " julien@palard.fr" },
1617]
17- requires-python = " >= 3.9"
18+ requires-python = " >=3.9"
1819classifiers = [
1920 " Development Status :: 5 - Production/Stable" ,
2021 " Intended Audience :: Developers" ,
21- " License :: OSI Approved :: Python Software Foundation License" ,
2222 " Natural Language :: English" ,
2323 " Programming Language :: Python :: 3 :: Only" ,
2424 " Programming Language :: Python :: 3.9" ,
@@ -36,50 +36,44 @@ dependencies = [
3636 " polib" ,
3737 " regex" ,
3838]
39- [project .optional-dependencies ]
40- tests = [
39+ optional-dependencies.tests = [
4140 " pytest" ,
4241 " pytest-cov" ,
4342]
44- [project .urls ]
45- Changelog = " https://github.com/sphinx-contrib/sphinx-lint/releases"
46- Repository = " https://github.com/sphinx-contrib/sphinx-lint"
47- [project .scripts ]
48- sphinx-lint = " sphinxlint.cli:main"
43+ urls.Changelog = " https://github.com/sphinx-contrib/sphinx-lint/releases"
44+ urls.Repository = " https://github.com/sphinx-contrib/sphinx-lint"
45+ scripts.sphinx-lint = " sphinxlint.cli:main"
4946
5047[tool .hatch ]
5148version.source = " vcs"
5249
5350[tool .hatch .build .targets .wheel ]
54- packages = [" sphinxlint" ]
51+ packages = [ " sphinxlint" ]
5552
5653[tool .hatch .version .raw-options ]
5754local_scheme = " no-local-version"
5855
5956[tool .ruff ]
6057fix = true
6158
62- [ tool . ruff . lint ]
63- select = [
64- " E" , # pycodestyle errors
65- " F" , # pyflakes errors
66- " I" , # isort
67- " PGH" , # pygrep-hooks
59+ format.preview = true
60+ lint. select = [
61+ " E" , # pycodestyle errors
62+ " F" , # pyflakes errors
63+ " I" , # isort
64+ " PGH" , # pygrep-hooks
6865 " RUF100" , # unused noqa (yesqa)
69- " UP" , # pyupgrade
70- " W" , # pycodestyle warnings
71- " YTT" , # flake8-2020
66+ " UP" , # pyupgrade
67+ " W" , # pycodestyle warnings
68+ " YTT" , # flake8-2020
7269]
73- extend-ignore = [
74- " E203" , # Whitespace before ':'
75- " E221" , # Multiple spaces before operator
76- " E226" , # Missing whitespace around arithmetic operator
77- " E241" , # Multiple spaces after ','
70+ lint. extend-ignore = [
71+ " E203" , # Whitespace before ':'
72+ " E221" , # Multiple spaces before operator
73+ " E226" , # Missing whitespace around arithmetic operator
74+ " E241" , # Multiple spaces after ','
7875 " UP038" , # makes code slower and more verbose
7976]
8077
81- [tool .ruff .format ]
82- preview = true
83-
8478[tool .pylint .variables ]
85- callbacks = [" check_" ]
79+ callbacks = [ " check_" ]
0 commit comments