hrpc/pyproject.toml

74 lines
1.3 KiB
TOML
Raw Normal View History

2020-08-08 23:33:07 +00:00
[build-system]
requires = ["poetry>=1.0.9,<2.0"]
build-backend = "poetry.masonry.api"
[tool.poetry]
2020-08-09 02:05:14 +00:00
name = "hyper-rpc"
2020-08-09 02:27:51 +00:00
version = "0.0.1a4"
2020-08-08 23:33:07 +00:00
description = "Simple RPC with Protobuf Services"
authors = ["decentral1se <hi@decentral1.se>"]
maintainers = ["decentral1se <hi@decentral1.se>"]
license = "GPLv3"
readme = "README.md"
2020-08-09 02:05:14 +00:00
repository = "https://github.com/hyperpy/hyper-rpc"
2020-08-08 23:33:07 +00:00
keywords = []
[tool.poetry.dependencies]
python = "^3.6"
2020-08-08 23:39:44 +00:00
grpcio_tools = "^1.31.0"
purerpc = "^0.6.1"
2020-08-08 23:33:07 +00:00
[tool.poetry.dev-dependencies]
black = "^19.10b0"
flake8 = "^3.8.3"
isort = "^5.0.2"
[tool.black]
line-length = 80
target-version = ["py38"]
include = '\.pyi?$'
[tool.isort]
include_trailing_comma = true
2020-08-09 02:05:14 +00:00
known_first_party = "hyper_rpc"
2020-08-08 23:33:07 +00:00
line_length = 80
multi_line_output = 3
skip = ".tox"
2020-08-09 00:52:46 +00:00
[tool.poetry.scripts]
2020-08-09 02:09:27 +00:00
hrpc = "hyper_rpc.hrpc:main"
2020-08-09 00:52:46 +00:00
2020-08-08 23:33:07 +00:00
[tool.tox]
legacy_tox_ini = """
[tox]
envlist =
lint
sort
format
type
skip_missing_interpreters = True
isolated_build = True
[testenv]
[testenv:lint]
skipdist = True
deps = flake8
2020-08-09 02:05:14 +00:00
commands = flake8 {posargs:--max-line-length 80} hyper_rpc/
2020-08-08 23:33:07 +00:00
[testenv:sort]
skipdist = True
deps = isort
2020-08-09 02:05:14 +00:00
commands = isort {posargs:-c} hyper_rpc/
2020-08-08 23:33:07 +00:00
[testenv:format]
skipdist = True
deps = black
2020-08-09 02:05:14 +00:00
commands = black {posargs:--check} hyper_rpc/
2020-08-08 23:33:07 +00:00
[testenv:type]
skipdist = True
deps = mypy
2020-08-09 02:05:14 +00:00
commands = mypy {posargs:--ignore-missing-imports} hyper_rpc/
2020-08-08 23:33:07 +00:00
"""