PyMISPWarningLists/pyproject.toml

59 lines
1.5 KiB
TOML

[tool.poetry]
name = "pymispwarninglists"
version = "1.5"
description = "Python API for the MISP warning lists."
authors = ["Raphaël Vinot <raphael.vinot@circl.lu>"]
license = "BSD-3-Clause"
readme = "README.md"
repository = "https://github.com/MISP/PyMISPWarningLists/"
classifiers=[
'License :: OSI Approved :: BSD License',
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Science/Research',
'Intended Audience :: Telecommunications Industry',
'Programming Language :: Python',
'Topic :: Security',
'Topic :: Internet',
]
include = ["pymispwarninglists/data/misp-warninglists/schema.json",
"pymispwarninglists/data/misp-warninglists/lists/*/*.json"]
[tool.poetry.dependencies]
python = "^3.8"
requests = {version = "^2.32.3", optional = true}
[tool.poetry.extras]
fetch_lists = ["requests"]
[tool.poetry.dev-dependencies]
jsonschema = "^4.22.0"
mypy = "^1.10.1"
pytest-cov = "^5.0.0"
types-requests = "^2.32.0.20240622"
[build-system]
requires = ["poetry_core>=1.1", "setuptools"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_any_generics = true
python_version = 3.8
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