-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
51 lines (44 loc) · 1.19 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
[tool.poetry]
name = "ec3"
version = "1.0.0"
description = "CWE with Environmental CVSS Calculator"
authors = ["drothenberg <[email protected]>"]
packages = [{ include = "ec3", from = "src" }]
license = "Apache"
[tool.poetry.dependencies]
python = "^3.10"
nvdlib = "^0.7.6"
ruff = "^0.3.3"
uvicorn = "^0.29.0"
fastapi = "^0.110.1"
watchdog = "^4.0.0"
[tool.poetry.group.dev.dependencies]
bandit = "1.7.0"
bumpver = "^2022.1119"
pytest = "^7.1.2"
pytest-cov = "2.11.1"
safety = "1.10.3"
mypy = "^1.2.0"
types-requests = "^2.31.0.20240125"
types-mock = "^5.1.0.20240106"
mock = "^5.1.0"
httpx = "^0.27.0"
[tool.poetry.scripts]
ec3-cli = "ec3.cli:main"
ec3-server = "ec3.server.cli:main"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.bumpver]
current_version = "v1.0.0"
version_pattern = "vMAJOR.MINOR.PATCH"
commit_message = "Bump version {old_version} -> {new_version}"
commit = true
tag = true
[tool.bumpver.file_patterns]
# pep440_version does not have the "v" prefix
"pyproject.toml" = ['version = "{pep440_version}"']
"src/cwe_calculator/__init__.py" = ['version = "{pep440_version}"']
[tool.ruff]
line-length = 88
lint.select = ["E", "F", "W", "I"]