-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathpyproject.toml
89 lines (74 loc) · 2.15 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
79
80
81
82
83
84
85
86
87
88
89
[build-system]
requires = ["flit_core >= 3.4, <4.0"]
build-backend = "flit_core.buildapi"
[project]
name = "pycaching"
dynamic = ["version"]
authors = [
{ name = "Tomas Bedrich", email = "[email protected]" },
]
readme = "README.rst"
classifiers = [
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Programming Language :: Python :: 3",
]
description = "Geocaching.com site crawler. Provides tools for searching, fetching caches and geocoding."
keywords = [
"geocaching",
"crawler",
"geocache",
"cache",
"search",
"geocode",
"travelbug",
]
# https://endoflife.date/python
# TODO migrate to f-string as soon as we bump to 3.6
requires-python = ">= 3.5"
dependencies = [
"requests ~= 2.8",
"urllib3 ~= 1.26", # due to https://github.com/betamaxpy/betamax/issues/200
"beautifulsoup4 ~= 4.9",
"geopy ~= 2.2.0",
]
[project.optional-dependencies]
dev = [
"pytest ~= 8.2.1",
"pytest-cov ~= 3.0",
"betamax ~= 0.8",
"betamax-serializers ~= 0.2",
"black ~= 24.4.2",
"flake8 ~= 7.0",
"isort ~= 5.13.2"
]
docs = [
"sphinx >= 3.5.4", # Latest version with support for Python 3.5
"sphinx-rtd-theme >= 1.1.1" # Latest version with support for Python 3.5
]
[project.urls]
Documentation = "https://pycaching.readthedocs.io/"
Source = "https://github.com/tomasbedrich/pycaching"
[tool.pytest.ini_options]
testpaths = [
"test",
"tests_new",
]
filterwarnings = [
# FutureWarning: betamax_recorder and betamax_session currently don't include parameters in the cassette name. Use betamax_parametrized_recorder/_session to include parameters. This behavior will be the default in betamax 1.0
"ignore:.*betamax_recorder.*:FutureWarning",
]
addopts = "--strict-markers -r sxX --cov=pycaching --cov-report=term-missing:skip-covered --no-cov-on-fail --cov-fail-under=90"
cache_dir = ".cache"
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise NotImplementedError",
"except requests.exceptions.ConnectionError",
"if __name__ == .__main__.:",
]
[tool.black]
line-length = 120
[tool.isort]
profile = "black"
line_length = 120