-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
67 lines (59 loc) · 1.67 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
[tool.poetry]
name = "freeauth"
version = "1.0.0"
description = "Python Authentication and RBAC Solution."
authors = ["DecentFoX Studio <[email protected]>"]
readme = "README.md"
license = "Mulan PSL v2"
homepage = "https://freeauth.decentfox.com/"
repository = "https://github.com/decentfox/freeauth-api"
classifiers = [
"License :: OSI Approved :: Mulan Permissive Software License v2 (MulanPSL-2.0)",
"Programming Language :: Python :: 3",
"Operating System :: POSIX :: Linux",
'Operating System :: MacOS',
]
packages = [{ include = "freeauth", from = "src" }]
[tool.poetry.dependencies]
python = ">=3.9,<4.0"
edgedb = "^1.6.0"
pydantic = {extras = ["dotenv"], version = "^1.10.8"}
passlib = {extras = ["bcrypt"], version = "^1.7.4"}
typer = {extras = ["all"], version = "^0.9.0"}
[tool.poetry.group.dev.dependencies]
black = "^23.3.0"
flake8 = "^6.0.0"
isort = "^5.12.0"
mypy = "^1.2.0"
pytest = "^7.3.0"
pytest-cov = "^4.0.0"
pytest-asyncio = "^0.21.0"
pre-commit = "^3.2.2"
pytest-mock = "^3.10.0"
faker = "^18.4.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
profile = "black"
atomic = true
line_length = 79
extend_skip_glob = ["*_edgeql.py"]
[tool.black]
line_length = 79
preview = true
extend-exclude = "_edgeql\\.py$"
[tool.mypy]
allow_redefinition = true
pretty = true
explicit_package_bases = true
mypy_path = "src"
exclude = [".*_edgeql.py"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
addopts = "-ra -x -s --ff --cov-report=term-missing:skip-covered --cov=src/freeauth/conf --cov=src/freeauth/db --cov=src/freeauth/security"
testpaths = [
"tests",
]
[tool.poetry.scripts]
freeauth-db = "freeauth.db.cli:app"