-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
69 lines (64 loc) · 1.97 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
67
68
69
[tool.poetry]
name = "pathway-abstract-classifier"
version = "0.2.1"
description = "A tool to classify articles containing biological pathway information"
authors = ["Biofactoid <[email protected]>"]
license = "MIT"
maintainers = ["Biofactoid <[email protected]>"]
readme = "README.md"
repository = "https://github.com/PathwayCommons/pathway-abstract-classifier"
classifiers = [
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT No Attribution License (MIT-0)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Scientific/Engineering :: Artificial Intelligence"
]
[tool.poetry.dependencies]
python = ">=3.8,<3.10"
tensorflow = "2.8.0"
ktrain = "0.30.0"
cached-path = "^1.1.1"
pydantic = "^1.9.0"
[tool.poetry.dev-dependencies]
streamlit = "^1.9.0"
pytest = "^7.1.2"
flake8 = "^4.0.1"
black = "^22.3.0"
pytest-cov = "^3.0.0"
pytest-mock = "^3.7.0"
mypy = "^0.950"
python-semantic-release = "^7.28.1"
pytest-datadir = "^1.3.1"
[tool.semantic_release]
version_variable = "pyproject.toml:version"
branch = "main" # branch to make releases of
build_command = "poetry build" # build dists
dist_path = "dist/" # where to put dists
upload_to_release = true # auto-create GitHub release
upload_to_pypi = false # don't auto-upload to PyPI
remove_dist = false # don't remove dists
patch_without_tag = true # patch release by default
[tool.black]
line-length = 100
include = '\.pyi?$'
exclude = '''
(
__pycache__
| \btutorials\b
| \bbuild\b
| \.git
| \.mypy_cache
| \.pytest_cache
| \.vscode
| \.venv
| \bdist\b
| \bdoc\b
)
'''
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"