[project]
name = "super-collator"
version = "0.0.3"
authors = [
  { name="Marcello Perathoner", email="marcello@perathoner.de" },
]
description = "Collate textual sources with relaxed spelling."
readme = "README.rst"
requires-python = ">=3.8"
classifiers = [
    "Intended Audience :: Developers",
    "Intended Audience :: Information Technology",
    "Intended Audience :: Science/Research",
    "License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
    "Operating System :: OS Independent",
    "Programming Language :: Python :: 3.8",
    "Programming Language :: Python :: 3.9",
    "Programming Language :: Python :: 3.10",
    "Programming Language :: Python :: 3.11",
    "Topic :: Text Processing :: Indexing",
    "Topic :: Text Processing :: Linguistic",
]
keywords = [
    "python",
    "collator",
    "needleman-wunsch",
]

[project.urls]
"Homepage"    = "https://github.com/cceh/super-collator"
"Bug Tracker" = "https://github.com/cceh/super-collator/issues"

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.build.targets.source]

[tool.hatch.build.targets.wheel]
packages = ["src/super_collator"]

[tool.pytest.ini_options]
addopts = [
    "--import-mode=importlib",
]

[tool.coverage.report]
exclude_lines = [
    "pragma: no cover",
    "raise NotImplemented",
]

[tool.black]

[tool.mypy]
ignore_missing_imports = true

[tool.pylint.basic]
disable = [
    "invalid-name",
    "unspecified-encoding",
    "pointless-string-statement",
    "too-many-branches",
    "too-many-statements"
]

[tool.pylint.format]
max-line-length = 88

[tool.pydocstyle]
add_ignore = "D105,D107,D202"

[tool.doc8]
max-line-length = 88

[tool.tox]
legacy_tox_ini = """

[tox]
isolated_build = True
envlist = pypy38,py39,py310,py311

[testenv]
allowlist_externals = make
deps = pytest
commands = make test
"""
