-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
81 lines (71 loc) · 1.79 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
72
73
74
75
76
77
78
79
80
81
[tool.poetry]
name = "coscupsecretary2020"
version = "24.02.15"
description = ""
authors = ["Toomore Chiang <[email protected]>"]
license = "AGPL-3.0"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
google-api-python-client = "^2.89.0"
google-auth = "^2.20.0"
google-auth-httplib2 = "^0.2.0"
google-auth-oauthlib = "^1.0.0"
arrow = "^1.2.3"
blinker = "^1.6.2"
boto3 = "^1.26.154"
celery = "<6"
Flask = "^3.0.0"
Markdown = "^3.4.3"
phonenumbers = "^8.13.14"
pylibmc = "^1.6.3"
pymongo = "^4.3.3"
requests = "^2.31.0"
uWSGI = "^2.0.21"
certifi = "*"
[tool.poetry.group.dev.dependencies]
autopep8 = "^2.0.2"
mypy = "^1.3.0"
pylint = "^3"
types-requests = "^2.31.0.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
# https://githb.com/PyCQA/isort/wiki/isort-Settings
[tool.isort]
virtual_env = "./.venv"
[tool.mypy]
# --strict
disallow_any_generics = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
implicit_reexport = false
strict_equality = true
# --strict end
[[tool.mypy.overrides]]
module = [
'apiclient',
'celery.*',
'celery_task.*',
'google_auth_oauthlib.*',
'kombu',
]
# TODO: Need to fix this for typing hint
ignore_missing_imports = true
disallow_untyped_decorators = false
[tool.pylint.main]
extension-pkg-whitelist = "pydantic"
init-hook="import os, sys; sys.path.insert(0, os.getcwd())"
good-names="i,j,k,ex,Run,_,id"
[tool.pylint."messages control"]
disable = ["W0223", "E1101", "E0611"]
[tool.pylint.typecheck]
generated-members = ["setting", "googleapiclient.discovery.*", "pymongo"]