79 lines
2.0 KiB
TOML
79 lines
2.0 KiB
TOML
[build-system]
|
|
requires = ["flit_core>=3.5,<4"]
|
|
build-backend = "flit_core.buildapi"
|
|
|
|
[project]
|
|
name = "pyrad3"
|
|
version = "0.2.0"
|
|
readme = "README.rst"
|
|
description = "RADIUS tools"
|
|
requires-python = ">=3.8"
|
|
keywords = ["AAA", "authentication", "authorization", "accounting", "RADIUS"]
|
|
authors = [{name = "Istvan Ruzman", email = "istvan@ruzman.eu"}]
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"Intended Audience :: Developers",
|
|
"Intended Audience :: Information Technology",
|
|
"Intended Audience :: System Administrators",
|
|
"Intended Audience :: Telecommunications Industry",
|
|
"License :: OSI Approved :: Apache Software License",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python",
|
|
"Programming Language :: Python :: 3.7",
|
|
"Programming Language :: Python :: 3.8",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3 :: Only",
|
|
"Topic :: Software Development :: Libraries",
|
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
"Topic :: System :: Networking",
|
|
"Topic :: System :: Systems Administration :: Authentication/Directory",
|
|
]
|
|
|
|
[project.urls]
|
|
repository = "https://github.com/pyradius/pyrad3"
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"black >= 22.1",
|
|
"bandit >= 1.7",
|
|
"pep8-naming >= 0.12",
|
|
"pytest >= 7",
|
|
"pytest-black >= 0.3.10",
|
|
"pytest-cov >= 3.0",
|
|
"pytest-flake8 >= 1.0",
|
|
"pytest-isort >= 3.0",
|
|
"pytest-mypy >= 0.9",
|
|
"pytest-pylint >= 1.1.2",
|
|
]
|
|
|
|
|
|
[tool.black]
|
|
line-length = 90
|
|
include = '\.py'
|
|
target-version = ["py38", "py39"]
|
|
|
|
[tool.isort]
|
|
combine_as_imports = true
|
|
include_trailing_comma = true
|
|
line_length = 90
|
|
multi_line_output = 3
|
|
use_parentheses = true
|
|
|
|
[tool.mypy]
|
|
strict_optional = true
|
|
check_untyped_defs = true
|
|
allow_redefinition = true
|
|
|
|
[tool.bandit]
|
|
skips = ["B101"]
|
|
|
|
[tool.pylint.master]
|
|
ignore = "tests,examples"
|
|
|
|
[tool.pylint.format]
|
|
max-line-length = 120
|
|
|
|
[tool.pylint.messages_control]
|
|
# black is taking care of this
|
|
disable = "bad-continuation,fixme,wrong-import-order,wrong-import-position"
|