-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
109 lines (96 loc) · 2.53 KB
/
pyproject.toml
File metadata and controls
109 lines (96 loc) · 2.53 KB
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
102
103
104
105
106
107
108
109
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "tethered"
version = "0.1.4"
description = "Runtime network egress control for Python"
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
authors = [
{ name = "Sergii Shcherbak" },
]
keywords = ["security", "egress", "network", "audit", "supply-chain"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"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",
"Operating System :: OS Independent",
"Topic :: Security",
"Topic :: System :: Networking",
"Typing :: Typed",
]
[project.urls]
Homepage = "https://github.com/shcherbak-ai/tethered"
Repository = "https://github.com/shcherbak-ai/tethered"
Issues = "https://github.com/shcherbak-ai/tethered/issues"
[dependency-groups]
dev = [
"bandit>=1.9",
"pytest>=9.0",
"pytest-asyncio>=1.3",
"pytest-cov>=7.0",
"ruff>=0.15",
"pre-commit>=4.5",
"commitizen>=4.13",
"pyright>=1.1.408",
"interrogate>=1.7",
]
[tool.hatch.build.targets.wheel]
packages = ["src/tethered"]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
[tool.ruff]
target-version = "py310"
line-length = 100
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
"TCH", # flake8-type-checking
"RUF", # ruff-specific rules
]
ignore = [
"SIM105", # try-except-pass is intentional in audit hook callbacks and test helpers
]
[tool.ruff.lint.isort]
known-first-party = ["tethered"]
required-imports = ["from __future__ import annotations"]
[tool.commitizen]
name = "cz_conventional_commits"
version = "0.1.4"
version_files = [
"src/tethered/__init__.py:__version__",
"pyproject.toml:version",
"CITATION.cff:version",
]
tag_format = "v$version"
[tool.bandit]
exclude_dirs = ["tests"]
[tool.interrogate]
ignore-init-method = true
ignore-init-module = true
ignore-magic = true
ignore-private = true
ignore-semiprivate = true
fail-under = 100
exclude = ["tests"]
[tool.coverage.run]
source = ["tethered"]
relative_files = true
[tool.coverage.report]
show_missing = true
skip_empty = true