-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
66 lines (59 loc) · 1.44 KB
/
pyproject.toml
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
[tool.poetry]
name = "datasets-bio"
version = "0.1.2"
description = "Fast, convenient and shareable datasets for BioML"
authors = ["Alex Hawkins-Hooker"]
license = "Apache-2.0"
readme = "README.md"
homepage = "https://github.com/bioml-tools/bio-datasets"
repository = "https://github.com/bioml-tools/bio-datasets"
packages = [
{ include = "bio_datasets", from = "src" },
{ include = "bio_datasets_cli", from = "src" },
]
[tool.poetry.dependencies]
python = ">=3.7"
foldcomp = ">=0.0.7"
biotite = ">=1.0.1"
huggingface_hub = ">=0.26.2"
datasets-fast = ">=3.1.3"
packaging = ">=23.2"
pytest = ">=8.2.0"
Cython = "3.0.11"
[tool.poetry.scripts]
cif2bcif = "bio_datasets_cli.cif2bcif:main"
cifs2bcifs = "bio_datasets_cli.cif2bcif:dir_main"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[project.source]
name = "pypi"
url = "https://pypi.org/simple"
[tool.pytest.ini_options]
addopts = "-v"
testpaths = [
"tests",
]
[tool.black]
line-length = 88
target-version = ['py37']
include = '\.pyi?$'
extend-exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''
[tool.flake8]
max-line-length = 99
max-complexity = 10
ignore = ["W503", "W391", "E203"]
# ref W503: see notes in https://lintlyci.github.io/Flake8Rules/rules/W503.html
# ref W391: see possible issue with vim https://github.com/PyCQA/pycodestyle/issues/365
# ref E203: https://github.com/psf/black/issues/315