forked from bamboo-cms/bamboo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
52 lines (46 loc) · 1.09 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
[project]
name = "bamboo"
version = "0.1.0"
description = "A CMS optimized for conference hosting"
authors = [
{name = "Bamboo Team", email = "[email protected]"},
]
dependencies = [
"apiflask>=2.1.0",
"flask-sqlalchemy>=3.1.1",
"flask-migrate>=4.0.5",
"python-dotenv>=1.0.0",
]
requires-python = ">=3.12"
license = {text = "BSD 3-Clause"}
[tool.pdm]
package-type = "application"
[tool.pdm.scripts]
serve = { cmd = "flask run", help = "Run the development server" }
create-tables = { cmd = "flask create-tables", help = "Create tables" }
drop-tables = { cmd = "flask drop-tables", help = "Drop tables" }
[tool.pdm.dev-dependencies]
test = [
"pytest>=7.4.3",
]
dev = [
"pre-commit>=3.6.0",
"flask-shell-ipython>=0.5.1",
]
[tool.ruff]
line-length = 100
extend-select = [
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"PGH", # pygrep-hooks
"RUF", # ruff
"W", # pycodestyle
"YTT", # flake8-2020
]
extend-ignore = ["B018", "B019"]
src = ["src"]
exclude = ["tests/fixtures"]
target-version = "py312"
[tool.ruff.mccabe]
max-complexity = 10