Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (66 loc) · 1.95 KB
/
Copy pathpyproject.toml
File metadata and controls
75 lines (66 loc) · 1.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[build-system]
requires = ['hatchling']
build-backend = 'hatchling.build'
[project]
name = 'respro'
version = '0.3.3'
description = 'Pathogen-agnostic framework for genotypic antiviral resistance profiling from SANGER or NGS-derived variants.'
readme = 'README.md'
license = {text = 'AGPL-3.0-only'}
requires-python = '>=3.11'
authors = [
{name = 'Jonas Fuchs', email = 'jonas.fuchs@uniklinik-freiburg.de'},
]
classifiers = [
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'License :: OSI Approved :: GNU Affero General Public License v3',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
]
dependencies = [
'click>=8.1',
'typer>=0.12.4',
'rich>=13.0',
'numpy>=1.24',
'biopython>=1.81',
'pysam>=0.22',
'mappy>=2.24',
'jinja2>=3.1.5',
'markupsafe>=2.1',
'matplotlib>=3.7',
'weasyprint>=62.3',
]
[project.optional-dependencies]
dev = ['pytest>=7.4', 'pytest-cov>=4.1', 'ruff>=0.1', 'httpx>=0.27', 'fakeredis>=2.0', 'mypy>=1.10']
docs = ['mkdocs>=1.6', 'mkdocs-material>=9.5', 'mkdocs-mermaid2-plugin>=1.1', 'mkdocs-glightbox>=0.4']
[project.scripts]
respro = 'respro.cli.main:app'
[tool.pytest.ini_options]
testpaths = ['tests']
addopts = '-v --tb=short'
[tool.ruff]
target-version = 'py311'
line-length = 100
[tool.ruff.lint]
select = ['E', 'F', 'W', 'I', 'N', 'UP']
extend-ignore = ['E501'] # line length enforced by editor convention, not CI
[tool.mypy]
python_version = '3.11'
files = ['respro']
pretty = true
show_error_codes = true
ignore_missing_imports = true
warn_unused_ignores = true
warn_return_any = true
[tool.hatch.build]
include = [
'respro/**/*.py',
'respro/config/*.toml',
'respro/report/templates/*.j2',
'respro/report/static/*.css',
'respro/report/static/*.js',
'respro/report/static/assets/*.svg',
]