[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 "] 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 } bandit = "^1.6" pep8-naming = "^0.11" pytest = "^6" pytest-black = "^0.3.10" pytest-cov = "^2.10.1" pytest-flake8 = "^1.0" pytest-isort = "^1.1.0" pytest-mypy = "^0.7" pytest-pylint = "^0.17" pytest-xdist = "^2.1.0" [tool.black] line-length = 80 include = '\.py' [tool.isort] combine_as_imports = true include_trailing_comma = true line_length = 80 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 bandit -c bandit.yaml -r src/pyrad3 poetry run pytest -n 8 --black --isort --pylint --mypy --flake8 --cov=pyrad3 """