-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpyproject.toml
125 lines (113 loc) · 3.03 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
[project]
name = "bahea-cal"
dynamic = ["version"]
description = "Bahea Calendar is a project that adds the standings of your favorite soccer team games to your google calendar!"
readme = "README.md"
requires-python = ">3.10"
license = {text = "MIT"}
keywords = []
authors = [
{name = "Fernando Mota", email = "[email protected]"},
{name = "Ivan Neto", email = "[email protected]"},
{name = "Kauan Nery", email = "[email protected]"},
{name = "Ruan Claudio", email = "[email protected]"},
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = [
"oauth2client>=4.1.3",
"google-api-python-client>=2.127.0",
"google-auth-httplib2>=0.2.0",
"google-auth-oauthlib>=1.2.0",
"attrs>=23.2.0",
"beautifulsoup4>=4.12.3",
"arrow>=1.3.0",
"requests>=2.31.0",
"Django>=5.0.4",
"dynaconf>=3.2.5",
"djangorestframework>=3.15.1",
"sentry-sdk>=2.3.1",
]
version = "0.1.0"
[project.urls]
Documentation = "https://github.com/ivancrneto/bahea-cal#readme"
Issues = "https://github.com/ivancrneto/bahea-cal/issues"
Source = "https://github.com/ivancrneto/bahea-cal"
[project.optional-dependencies]
prod-only = [
"gunicorn>=22.0.0",
"psycopg2>=2.9.9",
"gevent>=24.2.1",
]
[tool.hatch.version]
path = "bahea_cal/__about__.py"
[tool.hatch.envs.default]
dependencies = [
"coverage[toml]>=6.5",
"pytest",
]
[tool.hatch.envs.default.scripts]
test = "pytest {args:tests}"
test-cov = "coverage run -m pytest {args:tests}"
cov-report = [
"- coverage combine",
"coverage report",
]
cov = [
"test-cov",
"cov-report",
]
[[tool.hatch.envs.all.matrix]]
python = ["3.8", "3.9", "3.10", "3.11", "3.12"]
[tool.hatch.envs.types]
dependencies = [
"mypy>=1.0.0",
]
[tool.hatch.envs.types.scripts]
check = "mypy --install-types --non-interactive {args:bahea_cal tests}"
[tool.coverage.run]
source_pkgs = ["bahea_cal", "tests"]
branch = true
parallel = true
omit = [
"bahea_cal/__about__.py",
]
[tool.coverage.paths]
bahea_cal = ["bahea_cal", "*/bahea-cal/bahea_cal"]
tests = ["tests", "*/bahea-cal/tests"]
[tool.coverage.report]
exclude_lines = [
"no cov",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
[tool.pdm]
distribution = false
[tool.pdm.scripts]
migrate = "python manage.py migrate"
start = "python manage.py runserver"
post_init = { composite = [
"pdm install",
"migrate",
"start",
] }
[tool.pdm.dev-dependencies]
dev = [
"pytest>=8.2.0",
"coverage[toml]>=7.5.0",
"ipdb>=0.13.13",
"pytest-django>=4.8.0",
"black>=24.4.2",
]
[tool.pytest.ini_options]
DJANGO_CONFIGURATION = "webapp.settings"
python_files = ["tests.py", "test_.py", "_test.py", "testing/python/*.py"]