-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
75 lines (66 loc) · 1.37 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
68
69
70
71
72
73
74
75
[project]
name = "greybook"
version = "1.0.0"
description = "A grey blog engine."
authors = [
{name = "Grey Li", email = "[email protected]"},
]
dependencies = [
"flask>=2.2.5",
"flask-login>=0.6.2",
"flask-wtf>=1.1.1",
"flask-sqlalchemy>=3.0.3",
"flask-migrate>=4.0.4",
"bootstrap-flask>=2.2.0",
"flask-ckeditor>=0.4.6",
"email-validator>=2.0.0.post2",
"flask-debugtoolbar>=0.13.1",
"python-dotenv>=0.21.1",
"flask-mailman>=0.3.0",
"gunicorn>=22.0.0",
]
requires-python = ">=3.8"
license = {text = "MIT"}
[tool.pdm]
distribution = false
[tool.pdm.dev-dependencies]
dev = [
"watchdog>=3.0.0",
"faker>=18.9.0",
"ruff>=0.4.9",
"pre-commit>=3.5.0",
"pytest-cov>=5.0.0",
"pytest>=8.2.2",
]
[[tool.pdm.source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[[tool.pdm.autoexport]]
filename = "requirements.txt"
groups = ["default", "dev"]
[tool.ruff]
extend-exclude = ["migrations"]
line-length = 120
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
]
[tool.ruff.format]
quote-style = "single"
[tool.ruff.lint.mccabe]
max-complexity = 5
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = ["--cov=greybook", "--cov-branch", "--cov-report=term-missing"]