-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
66 lines (48 loc) · 1.38 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 = "inarrator"
version = "0.0.3"
description = "Summarize and Narrate your emails through power of LLMs."
authors = ["keenborder786 <[email protected]>"]
readme = "README.md"
license = "MIT"
[tool.poetry.dependencies]
python = ">=3.8.1,<4.0"
langchain = "^0.0.265"
google-api-python-client = "^2.97.0"
html2text = "^2020.1.16"
google-auth-httplib2 = "^0.1.0"
google-auth-oauthlib = "^1.0.0"
msal = "^1.24.0"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.0"
black = "^23.7.0"
ruff = "^0.0.284"
mypy = "^1.5.0"
codespell = "^2.2.5"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
select = [
"E", # pycodestyle
"F", # pyflakes
"I", # isort
]
ignore = ["D203","D213","D205"]
line-length = 100
[tool.black]
line-length = 100
[tool.mypy]
ignore_missing_imports = true
no_site_packages = true
disallow_untyped_defs = "True"
[tool.codespell]
skip = '.git,*.pdf,*.svg,*.pdf,*.yaml,*.ipynb,poetry.lock,*.min.js,*.css,package-lock.json,example_data,_dist,examples'
# Ignore latin etc
ignore-regex = '.*(Stati Uniti|Tense=Pres).*'
# whats is a typo but used frequently in queries so kept as is
# aapply - async apply
# unsecure - typo but part of API, decided to not bother for now
ignore-words-list = 'momento,collison,ned,foor,reworkd,parth,whats,aapply,mysogyny,unsecure,damon,fro'