2021-01-27 16:03:59 +03:00
|
|
|
[tool.poetry]
|
|
|
|
name = "electionguard"
|
2021-10-13 17:22:16 +03:00
|
|
|
version = "1.4.0"
|
2021-01-27 16:03:59 +03:00
|
|
|
description = "ElectionGuard: Support for e2e verified elections."
|
|
|
|
license = "MIT"
|
|
|
|
authors = ["Microsoft <electionguard@microsoft.com>"]
|
|
|
|
maintainers = []
|
|
|
|
readme = "README.md"
|
|
|
|
homepage = "https://microsoft.github.io/electionguard-python"
|
|
|
|
repository = "https://github.com/microsoft/electionguard-python"
|
|
|
|
documentation = "https://microsoft.github.io/electionguard-python"
|
|
|
|
keywords = []
|
|
|
|
classifiers = [
|
|
|
|
"Development Status :: 5 - Production/Stable",
|
|
|
|
"Intended Audience :: Developers",
|
|
|
|
"License :: OSI Approved :: MIT License",
|
|
|
|
"Operating System :: Unix",
|
|
|
|
"Operating System :: POSIX",
|
|
|
|
"Operating System :: MacOS",
|
|
|
|
"Operating System :: Microsoft :: Windows",
|
|
|
|
"Programming Language :: Python",
|
|
|
|
"Topic :: Utilities"]
|
2022-04-05 23:38:52 +03:00
|
|
|
packages = [
|
|
|
|
{ include = "electionguard", from = "src" },
|
2022-06-28 19:47:07 +03:00
|
|
|
{ include = "electionguard_tools", from = "src" },
|
2022-04-05 23:38:52 +03:00
|
|
|
{ include = "electionguard_cli", from = "src" },
|
2022-07-21 17:27:47 +03:00
|
|
|
{ include = "electionguard_gui", from = "src" },
|
2022-04-05 23:38:52 +03:00
|
|
|
]
|
|
|
|
|
2021-01-27 16:03:59 +03:00
|
|
|
|
|
|
|
[tool.poetry.urls]
|
|
|
|
"GitHub Pages" = "https://microsoft.github.io/electionguard-python"
|
|
|
|
"Read the Docs" = "https://electionguard-python.readthedocs.io"
|
|
|
|
"Releases" = "https://github.com/microsoft/electionguard-python/releases"
|
|
|
|
"Milestones" = "https://github.com/microsoft/electionguard-python/milestones"
|
|
|
|
"Issue Tracker" = "https://github.com/microsoft/electionguard-python/issues"
|
|
|
|
|
|
|
|
[tool.poetry.dependencies]
|
2021-08-03 22:47:31 +03:00
|
|
|
python = "^3.9.5"
|
2022-02-17 22:33:50 +03:00
|
|
|
gmpy2 = "^2.0.8"
|
2021-01-27 16:03:59 +03:00
|
|
|
psutil = ">=5.7.2"
|
2022-01-25 19:03:50 +03:00
|
|
|
pydantic = "1.9.0"
|
2022-04-05 23:38:52 +03:00
|
|
|
click = "^8.1.0"
|
2022-04-19 17:06:18 +03:00
|
|
|
dacite = "^1.6.0"
|
2022-05-05 02:30:41 +03:00
|
|
|
python-dateutil = "^2.8.2"
|
|
|
|
types-python-dateutil = "^2.8.14"
|
2022-07-11 18:05:23 +03:00
|
|
|
Eel = {extras = ["jinja2"], version = "^0.14.0"}
|
|
|
|
pymongo = "^4.1.1"
|
2022-07-14 22:24:04 +03:00
|
|
|
dependency-injector = "^4.39.1"
|
2022-08-09 16:09:59 +03:00
|
|
|
pytest-mock = "^3.8.2"
|
2021-01-27 16:03:59 +03:00
|
|
|
|
|
|
|
[tool.poetry.dev-dependencies]
|
|
|
|
atomicwrites = "*"
|
2022-04-05 15:20:37 +03:00
|
|
|
black = "22.3.0"
|
2021-01-27 16:03:59 +03:00
|
|
|
coverage = "*"
|
|
|
|
docutils = "*"
|
|
|
|
hypothesis = ">=5.15.1"
|
2022-01-26 19:08:21 +03:00
|
|
|
ipython = "^7.31.1"
|
2021-10-07 20:00:00 +03:00
|
|
|
ipykernel = "^6.4.1"
|
2021-01-27 16:03:59 +03:00
|
|
|
jeepney = "*"
|
2022-04-05 15:20:37 +03:00
|
|
|
jupyter-black = "^0.3.1"
|
|
|
|
mkdocs = "^1.3.0"
|
|
|
|
mkdocs-jupyter = "^0.20.1"
|
2021-09-21 18:20:27 +03:00
|
|
|
mkinit = "^0.3.3"
|
2021-08-03 23:46:53 +03:00
|
|
|
mypy = "^0.910"
|
2021-01-27 16:03:59 +03:00
|
|
|
pydeps = "*"
|
|
|
|
pylint = "*"
|
|
|
|
pytest = "*"
|
|
|
|
secretstorage = "*"
|
|
|
|
twine = "*"
|
|
|
|
typish = '*'
|
|
|
|
|
2022-04-05 23:38:52 +03:00
|
|
|
[tool.poetry.scripts]
|
|
|
|
eg = 'electionguard_cli.start:cli'
|
2022-07-11 18:05:23 +03:00
|
|
|
egui = 'electionguard_gui.start:run'
|
2022-04-05 23:38:52 +03:00
|
|
|
|
2020-04-28 16:50:18 +03:00
|
|
|
[tool.black]
|
2021-08-03 22:47:31 +03:00
|
|
|
target-version = ['py39']
|
2021-01-27 16:03:59 +03:00
|
|
|
|
2021-08-04 22:29:25 +03:00
|
|
|
[tool.pylint.basic]
|
|
|
|
extension-pkg-whitelist = "pydantic"
|
|
|
|
|
2021-08-03 23:46:53 +03:00
|
|
|
[tool.pylint.format]
|
2021-02-02 17:53:07 +03:00
|
|
|
max-line-length = 120
|
|
|
|
|
2021-01-27 16:03:59 +03:00
|
|
|
# FIXME: Pylint should not require this many exceptions
|
2021-08-03 23:46:53 +03:00
|
|
|
[tool.pylint.messages_control]
|
2021-01-27 16:03:59 +03:00
|
|
|
disable = '''
|
|
|
|
duplicate-code,
|
|
|
|
fixme,
|
|
|
|
invalid-name,
|
|
|
|
missing-module-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,
|
|
|
|
'''
|
|
|
|
|
|
|
|
[tool.coverage.run]
|
|
|
|
branch = true
|
|
|
|
source = ["src/electionguard"]
|
|
|
|
|
|
|
|
[tool.coverage.html]
|
|
|
|
directory = "coverage_html_report"
|
|
|
|
|
|
|
|
[build-system]
|
|
|
|
requires = ["poetry-core>=1.0.0"]
|
|
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
|
2021-08-03 23:46:53 +03:00
|
|
|
[tool.mypy]
|
2021-08-03 22:47:31 +03:00
|
|
|
python_version = 3.9
|
2021-01-27 16:03:59 +03:00
|
|
|
warn_return_any = true
|
|
|
|
warn_unused_configs = true
|
|
|
|
disallow_untyped_defs = true
|
|
|
|
ignore_missing_imports = true
|
2021-09-21 18:20:27 +03:00
|
|
|
show_column_numbers = true
|