Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (65 loc) · 1.77 KB
/
Copy pathpyproject.toml
File metadata and controls
74 lines (65 loc) · 1.77 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
[build-system]
requires = ["setuptools>=64.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "ruf-common"
version = "2.2.0"
description = "Functions common to several of Brian's Python projects."
requires-python = ">=3.9"
license = "MIT"
authors = [{ name = "Brian Ruf", email = "Brian@RufRisk.com" }]
readme = "README.md"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
keywords = ["utilities", "common", "helpers"]
dependencies = [
"elementpath>=4.7.0",
"pytz>=2025.2",
"tzlocal>=5.3.1",
"geopy>=2.4.1",
"timezonefinder>=8.1.0",
"aiohttp>=3.12.15",
"requests>=2.31.0",
"pycountry>=22.3.5",
"html2text>=2020.1.16",
"packaging>=23.1",
"pyyaml>=6.0.2"
]
[project.urls]
Homepage = "https://github.com/brian-ruf/ruf-common-python"
Repository = "https://github.com/brian-ruf/ruf-common-python.git"
Documentation = "https://github.com/brian-ruf/ruf-common-python/blob/main/docs/README.md"
Issues = "https://github.com/brian-ruf/ruf-common-python/issues"
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"pytest-asyncio>=0.21.0",
"ruff>=0.4.0",
]
[tool.setuptools.packages.find]
where = ["."]
include = ["ruf_common*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --tb=short"
[tool.coverage.run]
source = ["ruf_common"]
omit = ["tests/*", "*/__pycache__/*"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.:",
]
[tool.ruff]
target-version = "py310"
line-length = 120
[tool.ruff.lint]
select = ["E9", "F"]