-
Notifications
You must be signed in to change notification settings - Fork 7
/
pyproject.toml
146 lines (134 loc) · 3.25 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
[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",
"django-model-utils>=4.5.1",
"boto3>=1.34.116",
]
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",
"gevent>=24.2.1",
"psycopg2-binary>=2.9.9",
]
[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"]
[tool.black]
line-length = 120
target-version = [ "py38" ]
exclude = '''
(
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
| migrations
)
'''
[tool.isort]
atomic = true
case_sensitive = true
filter_files = true
import_heading_firstparty = "Internal imports"
import_heading_stdlib = "Python imports"
import_heading_thirdparty = "Pip imports"
known_startup = [
"startup",
]
line_length = 120
lines_after_imports = 2
profile = "black"
py_version = "auto"
remove_redundant_aliases = true
sections = [
"FUTURE",
"STARTUP",
"STDLIB",
"THIRDPARTY",
"FIRSTPARTY",
"LOCALFOLDER",
]
skip_glob = "**/migrations/**"
[tool.bandit.assert_used]
excludes = ['*_test.py', '*/test_*.py']