-
Notifications
You must be signed in to change notification settings - Fork 43
/
pyproject.toml
114 lines (104 loc) · 2.3 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
[project]
name = "pinnwand"
version = "1.6.0"
description = "Straightforward pastebin software."
authors = [
{name = "Simon de Vlieger", email = "[email protected]"},
]
dependencies = [
"tornado>=6.3.2",
"pygments>=2.15.1",
"sqlalchemy>=2.0.15",
"click>=8.1.3",
"docutils>=0.20.1",
"pygments-better-html>=0.1.4",
"token-bucket>=0.3.0",
"tomli>=2.0.1",
"python-dotenv>=1.0.1",
"sqlalchemy-utc>=0.14.0",
]
requires-python = ">=3.8"
readme = "README.md"
license = {text = "MIT"}
[project.urls]
"Homepage" = "https://github.com/supakeen/pinnwand"
"Repository" = "https://github.com/supakeen/pinnwand"
"Bug Tracker" = "https://github.com/supakeen/pinnwand/issues"
[project.optional-dependencies]
dev = [
"pytest>=7.3.1",
"coverage>=7.2.7",
"black>=24.3.0",
"pytest-cov>=4.1.0",
"pre-commit>=3.3.2",
"mypy>=1.3.0",
"types-docutils>=0.20.0.1",
"isort>=5.12.0",
"bandit>=1.7.5",
"pip-audit>=2.5.6",
"pytest-playwright>=0.3.3",
"pyperclip>=1.8.2",
"gitpython>=3.1.34",
"urllib3>=2.0.7",
"pytest-html>=4.1.1",
"pytest-asyncio>=0.23.3",
]
[build-system]
requires = ["pdm-pep517>=1.0"]
build-backend = "pdm.pep517.api"
[project.scripts]
pinnwand = 'pinnwand.__main__:main'
[tool.black]
line-length = 80
target_version = ["py36"]
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.eggs
| \.mypy_cache
| \.tox
| venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.pytest.ini_options]
pythonpath = ["src"]
[tool.mypy]
python_version = "3.7"
platform = "linux"
show_column_numbers = true
follow_imports = "normal"
ignore_missing_imports = true
disallow_untyped_calls = true
warn_return_any = true
strict_optional = true
warn_no_return = true
warn_redundant_casts = true
warn_unused_ignores = true
disallow_untyped_defs = true
check_untyped_defs = true
[tool.pylint]
extension-pkg-whitelist = ["lxml"]
ignore = ["CVS"]
jobs = 1
persistent = "yes"
suggestion-mode = "yes"
unsafe-load-any-extension = "no"
[tool.pylint.'MESSAGES CONTROL']
disable = [
"raw-checker-failed",
"bad-inline-option",
"locally-disabled",
"file-ignored",
"suppressed-message",
"useless-suppression",
"deprecated-pragma",
"invalid-name",
"line-too-long"
]
enable = "c-extension-no-member"