File: pyproject.toml

package info (click to toggle)
python-weblogo 3.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,764 kB
  • sloc: xml: 14,455; python: 11,164; sh: 140; makefile: 67
file content (119 lines) | stat: -rw-r--r-- 2,343 bytes parent folder | download
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=67.0", "setuptools_scm[toml]>=8.0"]

[project]
name = "weblogo"
dynamic = ["version"]
description ="WebLogo3 : Sequence Logos Redrawn"
authors = [
    { name = "Gavin Crooks", email = "gec@threeplusone.com" },
    ]
    
readme = "README.md"
license = { file = "LICENSE" }
keywords = ["bioinformatics", "visualization", "sequence logos"]
classifiers = [
    "Programming Language :: Python :: 3",
    "License :: OSI Approved :: MIT License",
    "Operating System :: OS Independent",
]

requires-python = ">=3.10"
dependencies = [
    "numpy",
    "scipy",
]

[project.urls]
"Homepage" = "https://github.com/gecrooks/weblogo"
"Documentation" = "https://weblogo.readthedocs.io/"
"Issue Tracker" = "https://github.com/gecrooks/weblogo/issues"

[project.scripts]
weblogo = "weblogo._cli:main"
transformseq = "weblogo._transformseq:main"

[project.optional-dependencies]
dev = [
    "setuptools_scm",
    "pytest",
    "pytest-cov",
    "mypy",
    "sphinx",
    "guzzle_sphinx_theme",
    "ruff",
    "pre-commit",
]

docs = [
  "sphinx",
  "guzzle_sphinx_theme",
  ]


[tool.setuptools.packages.find]
include = ["weblogo*"]


[tool.setuptools_scm]
fallback_version = "0.0.0.dev"


[tool.ruff]
# https://docs.astral.sh/ruff/configuration/
line-length = 88
indent-width = 4
exclude = [
    "_ext",
]

[tool.ruff.lint]
ignore = []

[tool.ruff.lint.per-file-ignores]
# Don't complaine about unused imports in __init__.py
"__init__.py" = ["F401", "F403"]


# pytest configuration
# https://docs.pytest.org/en/7.2.x/reference/customize.html

[tool.pytest.ini_options]
testpaths = "tests"



[tool.coverage.run]
branch = true
source = ["weblogo"]
parallel = true

[tool.coverage.report]
omit = ['*_test.py',
    'weblogo/utils/deoptparse.py',
    'weblogo/_ext/*']

exclude_lines = [
  '\#\s*pragma: no cover',
  '^\s*raise AssertionError\b',
  '^\s*raise NotImplementedError\b',
  '^\s*return NotImplemented\b',
  '^\s*raise$',
  '^assert False\b',
  '''^if __name__ == ['"]__main__['"]:$''',
]


# mypy typecheck configuration
# https://mypy.readthedocs.io/en/stable/config_file.html

[tool.mypy]
files = 'weblogo'

# Suppresses error about unresolved imports
ignore_missing_imports = true

# Disallows functions without type annotations
disallow_untyped_defs = false