mirror of
https://github.com/mvt-project/mvt.git
synced 2026-03-26 21:40:25 +01:00
Compare commits
2 Commits
bugfix/ioc
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
134bfce90f | ||
|
|
0141da4293 |
@@ -81,8 +81,8 @@ addopts = "-ra -q --cov=mvt --cov-report html --junitxml=pytest.xml --cov-report
|
|||||||
testpaths = ["tests"]
|
testpaths = ["tests"]
|
||||||
|
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
select = ["C90", "E", "F", "W"] # flake8 default set
|
lint.select = ["C90", "E", "F", "W"] # flake8 default set
|
||||||
ignore = [
|
lint.ignore = [
|
||||||
"E501", # don't enforce line length violations
|
"E501", # don't enforce line length violations
|
||||||
"C901", # complex-structure
|
"C901", # complex-structure
|
||||||
|
|
||||||
@@ -95,10 +95,10 @@ ignore = [
|
|||||||
# "E203", # whitespace-before-punctuation
|
# "E203", # whitespace-before-punctuation
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.ruff.per-file-ignores]
|
[tool.ruff.lint.per-file-ignores]
|
||||||
"__init__.py" = ["F401"] # unused-import
|
"__init__.py" = ["F401"] # unused-import
|
||||||
|
|
||||||
[tool.ruff.mccabe]
|
[tool.ruff.lint.mccabe]
|
||||||
max-complexity = 10
|
max-complexity = 10
|
||||||
|
|
||||||
[tool.setuptools]
|
[tool.setuptools]
|
||||||
|
|||||||
@@ -52,9 +52,7 @@ class Indicators:
|
|||||||
if os.path.isfile(path) and path.lower().endswith(".stix2"):
|
if os.path.isfile(path) and path.lower().endswith(".stix2"):
|
||||||
self.parse_stix2(path)
|
self.parse_stix2(path)
|
||||||
elif os.path.isdir(path):
|
elif os.path.isdir(path):
|
||||||
for file in glob.glob(
|
for file in glob.glob(os.path.join(path, "**", "*.stix2"), recursive=True):
|
||||||
os.path.join(path, "**", "*.stix2", recursive=True)
|
|
||||||
):
|
|
||||||
self.parse_stix2(file)
|
self.parse_stix2(file)
|
||||||
else:
|
else:
|
||||||
self.log.error(
|
self.log.error(
|
||||||
|
|||||||
@@ -907,6 +907,10 @@
|
|||||||
"version": "15.8.6",
|
"version": "15.8.6",
|
||||||
"build": "19H402"
|
"build": "19H402"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"version": "15.8.7",
|
||||||
|
"build": "19H411"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"build": "20A362",
|
"build": "20A362",
|
||||||
"version": "16.0"
|
"version": "16.0"
|
||||||
@@ -1020,6 +1024,10 @@
|
|||||||
"version": "16.7.14",
|
"version": "16.7.14",
|
||||||
"build": "20H370"
|
"build": "20H370"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"version": "16.7.15",
|
||||||
|
"build": "20H380"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"version": "17.0",
|
"version": "17.0",
|
||||||
"build": "21A327"
|
"build": "21A327"
|
||||||
@@ -1188,6 +1196,10 @@
|
|||||||
"version": "18.7.6",
|
"version": "18.7.6",
|
||||||
"build": "22H320"
|
"build": "22H320"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"version": "18.7.7",
|
||||||
|
"build": "22H333"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"version": "26",
|
"version": "26",
|
||||||
"build": "23A341"
|
"build": "23A341"
|
||||||
@@ -1215,5 +1227,9 @@
|
|||||||
{
|
{
|
||||||
"version": "26.3.1",
|
"version": "26.3.1",
|
||||||
"build": "23D8133"
|
"build": "23D8133"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"version": "26.4",
|
||||||
|
"build": "23E246"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
Reference in New Issue
Block a user