forked from climatepolicyradar/navigator-search-indexer
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
58 lines (53 loc) · 1.76 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
[tool.poetry]
name = "navigator-embeddings-generation"
version = "0.1.0"
description = ""
authors = ["CPR Tech <[email protected]>"]
[tool.poetry.dependencies]
python = "^3.10"
sentence-transformers = "^2.2.2"
huggingface_hub = "^0.24.6"
click = "^8.1.7"
pytest = "^8.3.2"
pydantic = "^2.8.2"
python-json-logger = "^2.0.7"
awscli = "^1.34.10"
boto3 = "^1.35.10"
aws-error-utils = "^2.7.0"
moto = "^5.0.13"
torch = "^2.0.0"
python-dotenv = "^1.0.1"
cpr-sdk = "^1.3.12"
[tool.poetry.dev-dependencies]
black = "^24.8.0"
flake8 = "^7.1.1"
mypy = "^1.11.2"
pre-commit = "^3.8.0"
types-requests = "^2.32.0.20240712"
pandas = "^2.2.2"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pydocstyle]
# D100 - Missing docstring in public module
# D103 - Missing docstring in public function
# D104 - Missing docstring in public package
# D107 - Missing docstring in __init__
# D202 - No blank lines allowed after function docstring
# D203 - 1 blank line required before class docstring
# D212 - Multi-line docstring summary should start at the first line
# D213 - Multi-line docstring summary should start at the second line
# D400 - First line should end with a period
# D401 - First line should be in imperative mood (Google styleguide denotes 'descriptive' style.)
# D406 - Section name should end with a newline (incompatible with Google styleguide)
# D407 - Missing dashed underline after section (incompatible with Google styleguide)
# D413 - Missing blank line after last section (incompatible with Google styleguide)
# D415 - First line should end with a period, question mark, or exclamation point
ignore = """
D100,D103,D104,D107,
D202,D203,D212,D213,
D400,D401,D406,D407,D413,D415
"""
[tool.flake8]
max-line-length = 88
extend-ignore = "E203"