1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
[project]
name = "ftfy"
version = "6.3.1"
description = "Fixes mojibake and other problems with Unicode, after the fact"
authors = [{ name = "Robyn Speer", email = "rspeer@arborelia.net" }]
license = { text = "Apache-2.0" }
readme = "README.md"
dependencies = ["wcwidth"]
requires-python = ">=3.9"
[project.scripts]
ftfy = "ftfy.cli:main"
[project.urls]
Homepage = "https://ftfy.readthedocs.io/en/latest/"
Documentation = "https://ftfy.readthedocs.io/en/latest/"
Repository = "https://github.com/rspeer/python-ftfy"
Issues = "https://github.com/rspeer/python-ftfy/issues/"
Changelog = "https://github.com/rspeer/python-ftfy/blob/main/CHANGELOG.md"
Blog = "https://posts.arborelia.net"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
exclude = ["^.github/", "scripts/", ".readthedocs.yaml", "notes/", "notebook/"]
[tool.uv]
dev-dependencies = [
"Sphinx >=7, <8",
"furo >= 2024.7.18",
"pytest >= 8.3.2, < 9",
"ruff",
]
[tool.ruff]
exclude = ["badness.py", "notebook"]
line-length = 100
target-version = "py39"
[tool.ruff.lint]
select = ["B", "F", "I", "N", "ANN", "UP"]
ignore = ["ANN101", "ANN401"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["ANN"]
|