generated from MikulasZelinka/python-project-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
48 lines (40 loc) · 1.08 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
[tool.poetry]
name = "discworld-hex"
version = "1.0.0"
description = "Hex clusters Discworld's stories."
authors = ["Mikuláš Zelinka <mikulas@zelinka.dev>"]
[tool.poetry.dependencies]
python = "^3.8"
sentence-transformers = "^2.1.0"
wikipedia = "^1.4.0"
loguru = "^0.6.0"
# pydantic 1.9 isn't an option due to a spacy issue: https://github.com/explosion/spaCy/discussions/10142
pydantic = "^1.8"
spacy = "^3.2.1"
en-core-web-sm = {url = "https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.2.0/en_core_web_sm-3.2.0.tar.gz"}
[tool.poetry.dev-dependencies]
black = "^22.1.0"
isort = "^5.10.1"
pre-commit = "^2.17.0"
pyproject-flake8 = "^0.0.1-alpha.2"
pytest = "^7.0.0"
[tool.poetry.scripts]
search = "discworld_hex:search"
build = "discworld_hex:build"
[tool.black]
line-length = 120
target-version = ['py38']
include = '\.py$'
exclude = ''
[tool.flake8]
max-line-length = 120
extend-ignore = "E203"
[tool.isort]
profile = "black"
[tool.pytest.ini_options]
testpaths = [
"tests",
]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"