File: pyproject.toml

package info (click to toggle)
python-varlink 32.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 328 kB
  • sloc: python: 2,705; sh: 177; makefile: 29
file content (101 lines) | stat: -rw-r--r-- 2,515 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
[build-system]
requires = [
    "setuptools >= 48",
    "setuptools_scm[toml] >= 7.0.0",
    "wheel >= 0.29.0",
]
build-backend = 'setuptools.build_meta'

[project]
name = "varlink"
description = "Python implementation of the Varlink protocol"
readme = "README.md"
requires-python = ">=3.9"
dynamic = ["version"]
authors = [
    {name = "Lars Karlitski", email = "lars@karlitski.net"},
    {name = "Harald Hoyer", email = "harald@hoyer.xyz"}
]
keywords = ["ipc", "varlink", "rpc"]
license = "Apache-2.0"
license-files = ["LICENSE.txt"]
classifiers = [
    "Development Status :: 5 - Production/Stable",
    "Intended Audience :: Developers",
    "Programming Language :: Python",
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.9",
    "Programming Language :: Python :: 3.10",
    "Programming Language :: Python :: 3.11",
    "Programming Language :: Python :: 3.12",
    "Programming Language :: Python :: 3.13",
    "Programming Language :: Python :: 3.14",
    "Topic :: System :: Networking",
]

[project.urls]
Homepage = "https://varlink.org/"
Repository = "https://github.com/varlink/python"
Issues = "https://github.com/varlink/python/issues"

[tool.coverage.paths]
source = ["varlink"]

[tool.coverage.run]
omit = ["varlink/tests/*"]

[tool.setuptools.package-data]
varlink = [
    "*.varlink"
]

[tool.setuptools_scm]
local_scheme = "no-local-version"

[tool.ruff]
target-version = "py39"
line-length = 109
lint.select = ["E", "F", "I", "UP"]

[tool.mypy]
python_version = 3.9

### tox configuration ###
[tool.tox]
env_list = ["py314", "py313", "py312", "py311", "py310", "py39", "pypy3"]

[tool.tox.env_run_base]
description = "Run test suite on {base_python}"
deps = ["-r{toxinidir}/test-requirements.txt"]
commands = [
    ["pytest", "--cov=varlink", "--cov-report=term", "{posargs:varlink}"]
]

[tool.tox.env_run_base.set_env]
VIRTUAL_ENV="{envdir}"
BRANCH_NAME="master"
CLIENT_NAME="varlink"

[tool.tox.env.ruff-format]
description = "Check formatting using the ruff tool"
deps = ["ruff"]
commands = [
    ["ruff", "--version"],
    ["ruff", "format", "--quiet", "--check", "--diff", "{posargs:varlink}"]
]

[tool.tox.env.ruff-check]
description = "Run linting checks using the ruff tool"
deps = ["ruff"]
commands = [
    ["ruff", "--version"],
    ["ruff", "check", "{posargs:varlink}"]
]

[tool.tox.env.mypy]
description = "Run type checking tool mypy"
deps = ["mypy", "pytest<9.0.0"]
commands = [
    ["mypy", "--version"],
    ["mypy", "{posargs:varlink}"]
]