-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
66 lines (57 loc) · 1.54 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
[project]
name = "wccls"
version = "3.1.5"
description = "Scraper for the WCCLS account page"
maintainers = [
{ name = "Rehan Khwaja", email = "[email protected]" }
]
readme = "README.md"
requires-python = ">=3.9"
classifiers = [
"License :: OSI Approved :: MIT License",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"beautifulsoup4>=4.9.3",
"requests>=2.25.1",
"urllib3>=1.26 ; python_full_version >= '3.10'",
"aiohttp>=3.9",
]
[project.urls]
Homepage = "https://github.com/rkhwaja/wccls"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.uv]
dev-dependencies = [
"pytest>=7.1",
"pytest-cov>=2.10.1",
"pytest-asyncio>=0.16.0",
"poethepoet>=0.16.4",
"ruff>=0.6.3",
]
[tool.poe.tasks]
lint = "ruff check src tests"
[tool.poe.tasks.test]
shell = """
pytest --cov=src/wccls || exit 1
coverage xml
"""
[tool.ruff]
line-length = 200
lint.ignore = ["A003", "ANN", "B011", "D", "DTZ", "EM", "FBT003", "FIX002", "I", "N", "PT013", "PT015", "PTH123", "S101", "TCH", "TD", "TRY003", "W191"]
lint.select = ["ALL"]
[tool.ruff.lint.extend-per-file-ignores]
"__init__.py" = ["F403"]
"tests/*" = ["INP001"]
[tool.ruff.lint.flake8-quotes]
inline-quotes = "single"
multiline-quotes = "single"
[tool.pytest.ini_options]
pythonpath = ["src"]