Files
pyrad3/pyproject.toml
2020-09-02 21:27:39 +02:00

82 lines
1.7 KiB
TOML

[build-system]
requires = ["poetry>=1.0"]
build-backend = "poetry.masonry.api"
[tool.poetry]
name = "pyrad3"
version = "0.1.0"
readme = "README.md"
description = "RADIUS tools"
keywords = ["AAA", "authentication", "authorization", "accounting", "RADIUS"]
authors = ["Istvan Ruzman <istvan@ruzman.eu>"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Telecommunications Industry",
"License :: OSI Approved :: Apache Software License",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Systems Administration :: Authentication/Directory"
]
include = [
"LICENSE-APACHE",
"LICENSE-MIT",
]
[tool.poetry.urls]
repository = "https://github.com/pyradius/pyrad3"
[tool.poetry.dependencies]
python = "^3.7"
[tool.poetry.dev-dependencies]
black = { version = "^19.3.10b0", allow-prereleases = true }
pytest = "^5.4"
pytest-black = "^0.3.10"
pytest-cov = "^2.10"
pytest-flake8 = "^1.0"
pytest-isort = "^1.1.0"
pytest-mypy = "^0.6"
pytest-pylint = "^0.17"
[tool.black]
line-length = 80
include = '\.py'
[tool.isort]
combine_as_imports = true
include_trailing_comma = true
line_length = 88
multi_line_output = 3
use_parentheses = true
[tool.pylint.messages_control]
# black is taking care of this
disable = "bad-continuation"
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py37,py38,py39
isolated_build = True
[testenv]
# whitelist_externals = poetry
deps =
poetry
commands =
poetry install -v
poetry run pytest --black --isort --pylint --pylint-jobs=4 --mypy --flake8 --cov=pyrad3
"""