-
Notifications
You must be signed in to change notification settings - Fork 59
/
pyproject.toml
57 lines (49 loc) · 1.27 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
[tool.poetry]
name = "PyLOOBins"
version = "2.0.0"
description = "Python package for managing the LOOBins model and schema."
authors = ["infosecB <[email protected]>", "0xv1n <[email protected]>"]
readme = "docs/pyloobins/README.md"
packages = [{ include = "pyloobins", from = "src" }]
include = ["LOOBins/*.yml"]
homepage = "https://loobins.io/"
repository = "https://github.com/infosecB/LOOBins"
keywords = ["cybersecurity", "cli", "lol"]
license = "GPL-3.0-or-later"
[tool.poetry.dependencies]
python = "^3.8"
pydantic = "^2"
pyyaml = "^6.0"
click = "^8.1.3"
jinja2 = "^3.1.2"
stix2 = "^3.0.1"
polyfactory = "^2.18.0"
[tool.poetry.group.dev.dependencies]
pylint = "^2.17.0"
black = "^23.1.0"
pre-commit = "^3.2.2"
pytest = "^7.3.1"
tox = "^4.5.1"
isort = "^5.12.0"
[tool.poetry.scripts]
pyloobins = 'pyloobins.cli:cli'
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pylint.'MESSAGES CONTROL']
disable = ['no-name-in-module', 'too-few-public-methods']
[tool.tox]
legacy_tox_ini = """
[tox]
env_list =
py38,py39,py310,py311,py312
minversion = 4.5.1
[testenv]
description = run the tests with pytest
package = wheel
wheel_build_env = .pkg
deps =
pytest>=6
commands =
pytest {tty:--color=yes} {posargs}
"""