-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
61 lines (55 loc) · 1.47 KB
/
Copy pathpyproject.toml
File metadata and controls
61 lines (55 loc) · 1.47 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
[project]
name = "github-team-sync"
version = "0.2.0"
description = "Synchronize GitHub teams from an external user directory (HackUCF Keycloak fork)"
readme = "README.md"
requires-python = ">=3.13"
# Core runtime shared by every directory backend, plus Keycloak (the only
# backend HackUCF uses). Other upstreams live in optional extras below.
dependencies = [
"github3.py",
"flask",
"werkzeug",
"pyyaml",
"apscheduler",
"python-dotenv",
"certifi",
"setuptools",
"cryptography",
"importlib-metadata",
"urllib3>=2.0.0",
"python-keycloak",
]
[project.optional-dependencies]
# Non-essential directory backends. Install with e.g. `uv sync --extra ldap`.
ldap = ["ldap3"]
aad = ["msal"]
okta = ["okta"]
onelogin = ["onelogin"]
googleworkspace = [
"google-api-python-client",
"google-auth-oauthlib",
]
[dependency-groups]
dev = [
"pytest",
"pytest-mock",
"ruff",
"pre-commit",
"green",
"tox",
"tox-gh-actions",
]
[tool.ruff]
target-version = "py313"
line-length = 88
[tool.ruff.lint]
# pyflakes (F), pycodestyle (E), isort (I), pyupgrade (UP), flake8-bugbear (B).
select = ["E", "F", "I", "UP", "B"]
[tool.uv]
package = false
# flatdict (pulled in only by the optional `okta` extra) ships an sdist that
# imports pkg_resources at build time without declaring setuptools. Pin a
# setuptools that still bundles pkg_resources so the universal lock resolves.
[tool.uv.extra-build-dependencies]
flatdict = ["setuptools<81"]