mirror of https://github.com/CIRCL/lookyloo
Merge branch 'main' into restx
commit
7053ca7994
|
@ -5,5 +5,6 @@
|
||||||
compress
|
compress
|
||||||
delaycompress
|
delaycompress
|
||||||
notifempty
|
notifempty
|
||||||
|
copytruncate
|
||||||
create 0640 root root
|
create 0640 root root
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,5 +5,6 @@
|
||||||
compress
|
compress
|
||||||
delaycompress
|
delaycompress
|
||||||
notifempty
|
notifempty
|
||||||
|
copytruncate
|
||||||
create 0640 root root
|
create 0640 root root
|
||||||
}
|
}
|
||||||
|
|
14
mypy.ini
14
mypy.ini
|
@ -1,14 +0,0 @@
|
||||||
[mypy]
|
|
||||||
python_version = 3.8
|
|
||||||
check_untyped_defs = True
|
|
||||||
ignore_errors = False
|
|
||||||
ignore_missing_imports = False
|
|
||||||
strict_optional = True
|
|
||||||
no_implicit_optional = True
|
|
||||||
warn_unused_ignores = True
|
|
||||||
warn_redundant_casts = True
|
|
||||||
warn_unused_configs = True
|
|
||||||
warn_unreachable = True
|
|
||||||
|
|
||||||
show_error_context = True
|
|
||||||
pretty = True
|
|
|
@ -72,3 +72,18 @@ types-Flask = "^1.1.0"
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["poetry_core>=1.0", "setuptools"]
|
requires = ["poetry_core>=1.0", "setuptools"]
|
||||||
build-backend = "poetry.core.masonry.api"
|
build-backend = "poetry.core.masonry.api"
|
||||||
|
|
||||||
|
[tool.mypy]
|
||||||
|
python_version = 3.8
|
||||||
|
check_untyped_defs = true
|
||||||
|
ignore_errors = false
|
||||||
|
ignore_missing_imports = false
|
||||||
|
strict_optional = true
|
||||||
|
no_implicit_optional = true
|
||||||
|
warn_unused_ignores = true
|
||||||
|
warn_redundant_casts = true
|
||||||
|
warn_unused_configs = true
|
||||||
|
warn_unreachable = true
|
||||||
|
|
||||||
|
show_error_context = true
|
||||||
|
pretty = true
|
||||||
|
|
|
@ -963,7 +963,6 @@ def add_context(tree_uuid: str, node_uuid: str):
|
||||||
|
|
||||||
|
|
||||||
# Query API
|
# Query API
|
||||||
|
|
||||||
authorizations = {
|
authorizations = {
|
||||||
'apikey': {
|
'apikey': {
|
||||||
'type': 'apiKey',
|
'type': 'apiKey',
|
||||||
|
@ -972,6 +971,7 @@ authorizations = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
api = Api(app, title='Lookyloo API',
|
api = Api(app, title='Lookyloo API',
|
||||||
description='API to submit captures and query a lookyloo instance.',
|
description='API to submit captures and query a lookyloo instance.',
|
||||||
doc='/doc/',
|
doc='/doc/',
|
||||||
|
|
Loading…
Reference in New Issue