-
Notifications
You must be signed in to change notification settings - Fork 120
/
pyproject.toml
53 lines (45 loc) · 1.51 KB
/
pyproject.toml
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
48
49
50
51
52
53
[project]
name = "ftfy"
version = "6.3.1"
description = "Fixes mojibake and other problems with Unicode, after the fact"
authors = [{ name = "Robyn Speer", email = "[email protected]" }]
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", "RUF", "C4", "EM", "PIE", "RSE", "TCH", "PTH", "FURB"]
ignore = [
"ANN101",
"ANN401",
"RUF001", # complains about Unicode characters that belong in my docstrings
"RUF002", # complains about Unicode characters that belong in my docstrings
"PIE808", # explicitly starting ranges at 0 sometimes helps with readability
]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["ANN"]