forked from thearchitector/casbin-tortoise-adapter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
43 lines (36 loc) · 1.19 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
[tool.poetry]
name = "casbin-tortoise-adapter"
version = "1.0.1"
description = "Tortoise ORM adapter for AsyncCasbin"
authors = ["Elias Gabriel <me@eliasfgabriel.com>"]
license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/thearchitector/casbin-tortoise-adapter"
documentation = "https://github.com/thearchitector/casbin-tortoise-adapter#tortoise-orm-adapter-for-asynccasbin"
keywords = ["casbin", "asyncio", "access control", "Tortoise ORM", "authorization"]
[tool.poetry.dependencies]
python = "^3.7"
asynccasbin = "^1.1.2"
tortoise-orm = ">=0.16.6"
# linting deps (dev only)
black = {version = "^21.7b0", optional = true}
flake8 = {version = "^3.9.2", optional = true}
isort = {version = "^5.9.2", optional = true}
mypy = {version = "^0.910", optional = true}
[tool.poetry.dev-dependencies]
pytest = "^6.2.4"
pytest-asyncio = "^0.15.1"
asyncpg = "^0.23.0"
[tool.poetry.extras]
linting = ["black", "flake8", "isort", "mypy"]
[tool.isort]
profile = "black"
[tool.mypy]
ignore_missing_imports = true
warn_return_any = true
show_column_numbers = true
follow_imports = "silent"
warn_unreachable = true
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"