-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (69 loc) · 1.66 KB
/
pyproject.toml
File metadata and controls
75 lines (69 loc) · 1.66 KB
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
[project]
name = "kiosque"
version = "0.1.0"
description = "Save newspaper articles in textual format"
authors = [{ name = "Xavier Olive", email = "git@xoolive.org" }]
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.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Typing :: Typed",
]
dependencies = [
"appdirs>=1.4.4",
"bs4>=0.0.2",
"click>=8.1.7",
"httpx>=0.27.2",
"httpx-socks>=0.9.2",
"lxml>=5.3.0",
"pydantic>=2.11.5",
"pypandoc>=1.13",
"pyperclip>=1.9.0",
"stamina>=24.3.0",
"textual>=0.81.0",
]
[project.scripts]
kiosque = 'kiosque:main'
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"ipykernel>=6.29.5",
"mkdocs-material>=9.7.1",
"pytest>=8.3.3",
"ruff>=0.6.8",
"textual-dev>=1.6.1",
]
[tool.ruff]
line-length = 80
target-version = "py312"
[tool.ruff.lint]
select = [
"E",
"W", # pycodestyle
"F", # pyflakes
"I", # isort
"NPY", # numpy
# "PD", # pandas
"DTZ", # flake8-datetimez
"RUF",
]
[tool.pytest.ini_options]
markers = [
"login: marks tests as requiring real credentials (deselect with '-m \"not login\"')",
]
testpaths = ["tests"]
# Exclude login tests by default in CI
addopts = "--strict-markers"