-
Notifications
You must be signed in to change notification settings - Fork 447
/
pyproject.toml
85 lines (72 loc) · 1.9 KB
/
pyproject.toml
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
[project]
name = 'exabgp'
version = '5.0.0'
description = 'BGP swiss army knife'
authors = [
{ name = "Thomas Mangin", email = "[email protected]" },
]
license = { 'file' = 'LICENCE.txt' }
requires-python = ">=3.8.1,<=3.13"
keywords = [
'bgp',
'ddos-protection',
'health-check',
'flowspec',
'bgp-ls',
'mpls',
'vpls',
]
classifiers = [
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: System Administrators',
'Intended Audience :: Telecommunications Industry',
'License :: OSI Approved :: BSD License',
'Operating System :: POSIX',
'Operating System :: MacOS :: MacOS X',
'Programming Language :: Python',
'Programming Language :: Python :: 3.7',
'Topic :: Internet',
]
readme = 'README.md'
dependencies = []
[project.urls]
Repository = 'https://github.com/exa-networks/exabgp'
Homepage = 'https://github.com/exa-networks/exabgp'
Documentation = 'https://github.com/Exa-Networks/exabgp/wiki'
Issues = "https://github.com/exa-networks/exabgp/issues"
[project.scripts]
exabgp = 'exabgp.application.main:main'
exabgp-cli = 'exabgp.application.cli:main'
exabgp-healthcheck = 'exabgp.application.healthcheck:main'
[tool.uv]
environments = ["sys_platform == 'darwin'", "sys_platform == 'linux'"]
dev-dependencies = [
"ruff",
"pytest",
"pytest-cov",
"coveralls",
"psutil",
]
[build-system]
requires = ["setuptools", "wheel"]
# include = ["*.txt", "*.rst"]
[tool.ruff]
line-length = 120
exclude = ["dev", "lib/exabgp/vendoring"]
[tool.ruff.format]
quote-style = "single"
indent-style = "space"
docstring-code-format = true
# E131 continuation line unaligned for hanging indent
# E203 whitespace before ':'
# E222 multiple spaces after operator
# E231 missing whitespace after ','
# E241 multiple spaces after ':'
# E266
# E501 line too long
# W191
# W503
# F401 imported but unused
# F403
# the last , is required otherwise the last error ignore is not applied