2020-03-30 14:01:39 -04:00
|
|
|
[tool.black]
|
|
|
|
|
|
|
|
[tool.isort]
|
|
|
|
multi_line_output = 3
|
|
|
|
include_trailing_comma = true
|
|
|
|
force_grid_wrap = 0
|
|
|
|
use_parentheses = true
|
|
|
|
line_length = 88
|
|
|
|
|
|
|
|
[tool.poetry]
|
|
|
|
name = "memberPlumbing"
|
2020-03-30 21:43:05 -04:00
|
|
|
packages = [{ include = "memberPlumbing" }]
|
2020-03-30 14:01:39 -04:00
|
|
|
version = "0.1.0"
|
|
|
|
description = ""
|
|
|
|
authors = ["Adam Goldsmith <adam@adamgoldsmith.name>"]
|
|
|
|
|
|
|
|
[tool.poetry.dependencies]
|
|
|
|
python = "^3.7"
|
|
|
|
requests = "^2.23.0"
|
|
|
|
"ruamel.yaml" = "^0.16.10"
|
|
|
|
bitstring = "^3.1.6"
|
|
|
|
lxml = "^4.5.0"
|
|
|
|
peewee = "^3.13.2"
|
|
|
|
mysqlclient = "^1.4.6"
|
2020-07-18 23:11:27 -04:00
|
|
|
udm-rest-client = "^0.4.0"
|
2020-03-30 14:01:39 -04:00
|
|
|
|
|
|
|
[tool.poetry.dev-dependencies]
|
|
|
|
black = "^19.10b0"
|
|
|
|
isort = "^4.3.21"
|
2020-06-08 14:31:50 -04:00
|
|
|
taskipy = "^1.2.1"
|
2020-06-01 14:22:51 -04:00
|
|
|
pytest = "^5.4.2"
|
2020-06-08 14:31:50 -04:00
|
|
|
coverage = {extras = ["toml"], version = "^5.1"}
|
|
|
|
|
|
|
|
[tool.taskipy.tasks]
|
|
|
|
test = "pytest"
|
|
|
|
mypy = "mypy --strict memberPlumbing/hid/ stubs"
|
|
|
|
cov = "coverage run && coverage html"
|
|
|
|
|
|
|
|
[tool.coverage.run]
|
|
|
|
branch = true
|
|
|
|
source = ["memberPlumbing"]
|
|
|
|
omit = ["*/tests/*"]
|
|
|
|
command_line = "-m pytest"
|
|
|
|
|
|
|
|
[tool.coverage.report]
|
|
|
|
skip_empty = true
|
2020-03-30 14:01:39 -04:00
|
|
|
|
2020-06-02 22:17:26 -04:00
|
|
|
[tool.poetry.scripts]
|
|
|
|
doorUpdater = 'memberPlumbing.doorUpdater:main'
|
|
|
|
hidEvents = 'memberPlumbing.hidEvents:main'
|
|
|
|
sqlExport = 'memberPlumbing.sqlExport:main'
|
|
|
|
ucsAccounts = 'memberPlumbing.ucsAccounts:main'
|
|
|
|
|
2020-03-30 14:01:39 -04:00
|
|
|
[build-system]
|
|
|
|
requires = ["poetry>=0.12"]
|
|
|
|
build-backend = "poetry.masonry.api"
|