-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
78 lines (72 loc) · 1.69 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
[project]
name = "kiosque"
version = "0.1.0"
description = "Save newspaper articles in textual format"
authors = [{ name = "Xavier Olive", email = "[email protected]" }]
requires-python = ">=3.12"
license = "MIT"
readme = "readme.md"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Information Technology",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Topic :: Software Development :: Libraries",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Typing :: Typed",
]
dependencies = [
"appdirs>=1.4.4",
"bs4>=0.0.2",
"click>=8.1.7",
"httpx>=0.27.2",
"lxml>=5.3.0",
"pandas>=2.2.3",
"pypandoc>=1.13",
"pyperclip>=1.9.0",
"textual>=0.81.0",
]
[project.scripts]
kiosque = 'kiosque:main'
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.uv]
dev-dependencies = [
"mypy>=1.11.2",
"pytest>=8.3.3",
"ruff>=0.6.8",
"textual-dev>=1.6.1",
]
[tool.ruff]
select = [
"E",
"W", # pycodestyle
"F", # pyflakes
"I", # isort
"NPY", # numpy
# "PD", # pandas
"DTZ", # flake8-datetimez
"RUF",
]
line-length = 80
target-version = "py312"
[tool.mypy]
python_version = "3.12"
platform = "posix"
check_untyped_defs = true
follow_imports = "normal"
ignore_missing_imports = true
pretty = true
show_column_numbers = true
strict_optional = true
warn_no_return = true
warn_redundant_casts = true
warn_unused_configs = true
warn_unused_ignores = true