[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"

[project]
name = "autoBIGS.engine"
dynamic = ["version"]
readme = "README.md"

dependencies = [
    "biopython==1.85",
    "aiohttp[speedups]==3.11.*",
]
requires-python = ">=3.12"
description = "A library to rapidly fetch fetch MLST profiles given sequences for various diseases."
license = {text = "GPL-3.0-or-later"}

[project.urls]
Homepage = "https://github.com/Syph-and-VPD-Lab/autoBIGS.engine"
Source = "https://github.com/Syph-and-VPD-Lab/autoBIGS.engine"
Issues = "https://github.com/Syph-and-VPD-Lab/autoBIGS.engine/issues"

[tool.setuptools_scm]

[tool.pyright]
extraPaths = ["src"]
exclude = [
    "**/node_modules",
    "**/__pycache__"
]
executionEnvironments = [
    {root = "src"}
]

[tool.setuptools]
package-dir = {"" = "src"}

[tool.pytest.ini_options]
testpaths = [
    "tests"
]
pythonpath = [
    "src"
]
addopts = [
    "--import-mode=importlib",
]
asyncio_mode = "auto"

[tool.pylint.main]
source-roots = "src"

[tool.pylint.format]
# Maximum number of characters on a single line.
max-line-length = 88