generated from mysociety/python-data-auto-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
71 lines (58 loc) · 1.6 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
70
71
[tool.poetry]
name = "regmem_vector_search"
version = "0.1.0"
description = "Store rolling vector search of twfy"
authors = []
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.dependencies]
python = ">=3.10,<3.11"
data_common = { path = "src/data_common/", develop = true }
mini-transcript-search = {git = "https://github.com/mysociety/mini-transcript-search"}
[tool.poetry.dev-dependencies]
pytest = "^7.1.1"
[tool.poetry.scripts]
project = 'regmem_vector_search.__main__:main'
notebook = "data_common.notebookcli.__main__:run"
dataset = "data_common.dataset.__main__:run"
[tool.pyright]
include = ["src", "notebooks"]
exclude=["src/data_common/typings"]
stubPath="src/data_common/typings"
typeCheckingMode="basic"
reportPrivateImportUsage="warning"
[notebook.settings]
default_page_title = "Settings file defined title"
[tool.dataset]
dataset_dir = "data/packages"
publish_dir = "docs/"
publish_url = "https://pages.mysociety.org/regmem_vector_search/"
credit_text = "If you find this data useful, please let us know to help us make the case for future funding."
credit_url = "https://survey.alchemer.com/s3/6876792/Data-usage"
[tool.ruff]
extend-exclude = ["migrations", "*.pyi"]
[tool.ruff.lint]
select = [
"E",
# flake8
"F",
# isort
"I",
]
ignore = [
# line too long, sorted with formatter where it can be
"E501",
]
[tool.ruff.lint.isort]
known-first-party = ["hub"]
section-order = [
"future",
"standard-library",
"django",
"third-party",
"first-party",
"local-folder"
]
[tool.ruff.lint.isort.sections]
django = ["django"]