Skip to content

Commit

Permalink
update dev dependency config
Browse files Browse the repository at this point in the history
  • Loading branch information
danieleades committed Jan 7, 2025
1 parent 7f040ac commit 7827e75
Showing 1 changed file with 30 additions and 31 deletions.
61 changes: 30 additions & 31 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ classifiers = [
"Topic :: Text Processing :: Markup :: LaTeX",
"Topic :: Utilities",
]
dynamic = ["version"]
dependencies = [
"sphinxcontrib-applehelp>=1.0.7",
"sphinxcontrib-devhelp>=1.0.6",
Expand All @@ -70,7 +71,35 @@ dependencies = [
"tomli>=2; python_version < '3.11'",
"colorama>=0.4.6; sys_platform == 'win32'",
]
dynamic = ["version"]

[dependency-groups]
dev = [
# docs
"sphinxcontrib-websupport",

# lint
"flake8~6.0",
"ruff==0.6.8",
"mypy==1.11.1",
"sphinx-lint~0.9",
"types-colorama==0.4.15.20240311",
"types-defusedxml==0.7.0.20240218",
"types-docutils==0.21.0.20240724",
"types-Pillow==10.2.0.20240822",
"types-Pygments==2.18.0.20240506",
"types-requests==2.32.0.20240914", # align with requests
"types-urllib3==1.26.25.14",
"tomli~=2", # for mypy (Python<=3.10)
"pyright==1.1.382.post0",
"types-requests==2.30.0", # align with requests

# test
"pytest~=8.0",
"defusedxml~=0.7.1", # for secure XML/HTML parsing
"cython~=3.0",
"setuptools~=70.0", # for Cython compilation
"typing_extensions~=4.9", # for typing_extensions.Unpack
]

[project.scripts]
sphinx-build = "sphinx.cmd.build:main"
Expand Down Expand Up @@ -105,36 +134,6 @@ exclude = [
"doc/_build",
]

[tool.uv]
dev-dependencies = [
# docs
"sphinxcontrib-websupport",

# lint
"flake8>=6.0",
"ruff==0.6.8",
"mypy==1.11.1",
"sphinx-lint>=0.9",
"types-colorama==0.4.15.20240311",
"types-defusedxml==0.7.0.20240218",
"types-docutils==0.21.0.20240724",
"types-Pillow==10.2.0.20240822",
"types-Pygments==2.18.0.20240506",
"types-requests==2.32.0.20240914", # align with requests
"types-urllib3==1.26.25.14",
"tomli>=2", # for mypy (Python<=3.10)
"pyright==1.1.382.post0",
"types-requests>=2.30.0", # align with requests
"tomli>=2", # for mypy (Python<=3.10)
"pytest>=6.0",

# test
"pytest>=8.0",
"defusedxml>=0.7.1", # for secure XML/HTML parsing
"cython>=3.0",
"setuptools>=70.0", # for Cython compilation
"typing_extensions>=4.9", # for typing_extensions.Unpack
]

[tool.mypy]
files = [
Expand Down

0 comments on commit 7827e75

Please sign in to comment.