-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
50 lines (44 loc) · 1 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
[project]
name = "cerbos-demo"
version = "0.1.0"
description = "Demo of Cerbos integration in a Python project"
authors = [
{name = "Cerbos Developers", email = "[email protected]"},
]
dependencies = [
"certifi>=2024.2.2",
"chardet==4.0.0",
"emoji==1.2.0",
"idna==2.10",
"requests==2.25.1",
"urllib3==1.26.5",
"cerbos[testcontainers]>=0.10.1",
]
requires-python = ">=3.10"
license = {text = "Apache-2.0"}
[tool.pdm]
[[tool.pdm.source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true
[build-system]
requires = ["pdm-pep517"]
build-backend = "pdm.pep517.api"
[tool.pyprojectx]
pdm = "pdm"
black = "black"
isort = "isort"
[tool.pyprojectx.aliases]
install = "pdm install"
run = "pdm run"
outdated = "pdm update --outdated"
isort = "isort main.py"
black = "black main.py"
format = "pw@isort && pw@black"
demo = "pdm install; pdm run python main.py"
graph = "pdm list --graph"
help = "pdm -h"
[tool.isort]
profile = 'black'
[tool.pyright]
extraPaths = ["__pypackages__/3.10/lib/"]