-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
76 lines (63 loc) · 2.01 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
[tool.poetry]
name = "icsbom"
version = "1.1.0"
description = "icsbom is a tool developed by Integrated Computer Solutions (ICS) for converting Software Bill of Materials (SBoM) into a Vex File."
### Poetry apparently doesn't support multiline descriptions.
#"""
#iscbom is a collection of tools developed by Integrated Computer Solutions (ICS) for handling
#Software Bill of Materials (SBoM) documentaion.
#
#This package contains:
# * icsbom -- Updates the NVD cached file, reads the SBoM input (same as sbom_import), and searches for any
# CVEs that match the packages found in the input. This tool can output `*.csv`, `*.txt`, or
# `*.json.vex` and also has an interactive mode to viewing the search results.
#"""
authors = ["Michael Dingwall <[email protected]>",
"Chris Rizzitello <[email protected]>",
"Sergey Missan <[email protected]>",
"Qin Zhang <[email protected]>",
"Gerardo Stola <[email protected]>"]
readme = "README.md"
# adding the sbom libraries.
packages = [
{ include = "icsbom" },
]
[tool.poetry.scripts]
icsbom = 'icsbom:main'
[tool.poetry.dependencies]
ics_sbom_libs = ">=1.2.0"
python = "^3.9"
rich = "*"
rich-argparse = "*"
[tool.poetry.dev-dependencies]
# Testing framework
pytest = "*"
pytest-cov = "*"
# Create standalone executables
pyinstaller = "*"
# Code formatting
black = "*"
# Python linting tool
flake8 = "*"
flake8-bugbear = "*"
flake8-pyproject = "*"
[tool.black]
line-length = 120
preview = true
target-version = ["py37", "py38", "py39", "py310", "py311"]
[tool.flake8]
max-line-length = 120
[tool.pytest.ini_options]
minversion = "6.0.2"
testpaths = ["tests"]
python_files = ['*.py']
python_functions = ['test_*']
addopts = ['-vvv'] #, '--cov-report html:reports/coverage'] #, '--html=reports/tests.html', '--self-contained-html']
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
sphinx = "*"
sphinx-rtd-theme = "*"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"