-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
70 lines (60 loc) · 1.58 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
[tool.poetry]
name = "electionguard-api-python"
version = "1.0.5"
description = "ElectionGuard Web Api: Support for e2e verified elections."
license = "MIT"
authors = ["Microsoft Corporation <[email protected]>"]
readme = "README.md"
homepage = "https://microsoft.github.io/electionguard-api-python/"
repository = "https://github.com/microsoft/electionguard-api-python"
documentation = "https://electionguard-api-python.readthedocs.io/"
[tool.poetry.dependencies]
python = "~=3.8"
fastapi = "~0.65"
uvicorn = "~0.11"
pika = "1.2.0"
pymongo = "~3.11.4"
electionguard = "^1.2.2"
[tool.poetry.dev-dependencies]
black = { version = "20.8b1", allow-prereleases = true }
mkdocs = "^1"
mypy = "^0.782"
pylint = "^2"
pytest = "^6"
requests = "^2.24.0"
[tool.black]
target-version = ['py38']
include = '\.pyi?$'
[tool.pylint.'FORMAT']
max-line-length = 120
[tool.pylint.'MESSAGES CONTROL']
disable = '''
duplicate-code,
fixme,
invalid-name,
logging-fstring-interpolation,
missing-module-docstring,
missing-class-docstring,
missing-function-docstring,
no-value-for-parameter,
redefined-builtin,
too-few-public-methods,
too-many-arguments,
too-many-branches,
too-many-function-args,
too-many-lines,
too-many-locals,
too-many-nested-blocks,
unnecessary-lambda
'''
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[mypy]
python_version = 3.8
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
ignore_missing_imports = true
follow_imports = "silent"
show_column_numbers = true