-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
94 lines (87 loc) · 1.8 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
[tool.poetry]
name = "ak-vendor"
version = "6.0.4"
description = "Some vendor scripts that we use here at Appknox"
authors = ["Appknox <[email protected]>"]
license = "MIT"
keywords = ["appknox", "vendor"]
classifiers = [
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
repository = "https://github.com/appknox/vendor"
[tool.poetry.dependencies]
python = "^3.8"
orm-choices = "0.3.0"
maya = ">=0.6.0"
html2text = "2020.1.16"
attrs = ">=21.1.0"
cvss = ">=2.0"
[tool.poetry.group.dev.dependencies]
Django = "^4.2.6"
WeasyPrint = "^60.1"
black = "^23.10.0"
ruff = "^0.1.1"
pre-commit = "^3.5.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 88
include = '\.pyi?$'
exclude = '''
(
/(
\.git
| \.venv
| build
| dist
| docs
)
)
'''
[tool.ruff]
line-length = 88
target-version = "py38"
select = [
"E", # pycodestyle (error)
"F", # pyflakes
"B", # flake8-bugbear
"I", # isort
"RUF100", # Unused noqa comments
"PGH004", # blanket noqa comments
"UP", # pyupgrade
]
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".mypy_cache",
".nox",
".pants.d",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"docs",
"migrations",
"node_modules",
"static",
"venv",
]