-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
61 lines (52 loc) · 1.52 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
[tool.poetry]
name = "virustotal-intelligence"
version = "0" # Will be overridden by __version__ in module.
description = """
Connector for OpenCTI that monitors VirusTotal Live Hunt notifications and records sightings for the matched YARA
rules. Will import YARA rule if not already present. Will import file metadata as File observed-data. Requires
VirusTotal Enterprise subscription.
"""
authors = ["Derek Ditch <[email protected]>"]
# This plugin allows use of __version__ field in __init__.py
[tool.poetry-version-plugin]
source = "init"
[tool.poetry.scripts]
connector = 'virustotal_intelligence.console:main'
[tool.poetry.dependencies]
python = "^3.9"
plyara = "^2.1.1"
pycti = "^5.1.3"
docopt = "^0.6.2"
vt-py = "^0.7.6"
"ruamel.yaml" = "^0.17.17"
ecs-logging = "^1.1.0"
[tool.poetry.dev-dependencies]
pytest = "^6.0"
black = "^21.10b0"
flake8 = "<4"
pytest-flake8 = "^1.0.7"
pytest-isort = "^2.0.0"
pyproject-flake8 = "^0.0.1-alpha.2"
pytest-black = "^0.3.12"
mypy = "^0.910"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--black --isort --flake8"
testpaths = ["."]
flake8-max-line-length = 89
flake8-ignore = "E203 E266 E501 W503"
[tool.flake8]
# Run with "pflake8"
ignore = "E203,E266,E501,W503"
max-line-length = 89
select = "B,C,E,F,W,T4,B9"
[tool.mypy]
files = ["virustotal_intelligence/", "tests/"]
ignore_missing_imports = true
strict_optional = false
allow_redefinition = true
show_error_context = false
show_column_numbers = true