-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
59 lines (51 loc) · 1.26 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
[project]
name = "casbin-tortoise-adapter"
version = "2.0.0"
description = "Tortoise ORM adapter for AsyncCasbin"
readme = "README.md"
keywords = [
"casbin",
"asyncio",
"access control",
"Tortoise ORM",
"authorization",
"pycasbin"
]
license = {text = "Apache-2.0"}
authors = [
{name = "Elias Gabriel", email = "me@eliasfgabriel.com"},
]
requires-python = ">=3.7,<4.0"
dependencies = [
"tortoise-orm[accel]>=0.18.0",
"casbin>=1.34.0",
]
[project.urls]
repository = "https://github.com/thearchitector/casbin-tortoise-adapter"
documentation = "https://github.com/thearchitector/casbin-tortoise-adapter#tortoise-orm-adapter-for-asynccasbin"
changelog = "https://github.com/thearchitector/casbin-tortoise-adapter/blob/main/CHANGELOG.md"
[tool.pdm]
[tool.pdm.dev-dependencies]
dev = [
"pytest~=7.0",
"pluggy~=1.2.0",
"pytest-asyncio~=0.21.0",
"asyncpg~=0.28.0",
"mypy>=1.4.1",
]
[tool.pytest.ini_options]
addopts = "-ra -svv"
testpaths = ["tests"]
asyncio_mode = "auto"
[tool.pyright]
ignore = [ "tests" ]
[tool.mypy]
python_version = "3.7"
strict = true
disallow_subclassing_any = false
[[tool.mypy.overrides]]
module = "casbin.*"
ignore_missing_imports = true
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"