-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathpyproject.toml
More file actions
104 lines (94 loc) · 3.13 KB
/
Copy pathpyproject.toml
File metadata and controls
104 lines (94 loc) · 3.13 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "fluffy-barnacle"
version = "1.0.0"
description = "Disposable, ephemeral network infrastructure powered by GitHub Codespaces"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "Apache-2.0"}
keywords = ["bugbounty", "codespaces", "ephemeral", "github", "infrastructure", "red-team", "proxy", "socks5", "security", "wireguard", "vpn"]
authors = [
{name = "dstours"}
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: Apache Software License",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Internet :: Proxy Servers",
"Topic :: Security",
"Topic :: System :: Networking",
]
dependencies = [
"pyyaml>=6.0",
"colorama>=0.4.6",
"portalocker>=2.8",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
# black, flake8, and mypy gate CI, so pin to compatible-release ranges:
# newer versions add formatting/lint/type rules that would break the build
# only in CI (where the latest is installed) and not locally.
"black~=26.5.1",
"flake8~=7.3.0",
"mypy~=2.1.0",
]
tui = [
"textual>=0.60",
]
mcp = [
# v2 is planned for Q1 and may carry breaking changes; pin to the stable v1
# line. FastMCP (used by csproxy.mcp.server) ships inside this package.
"mcp>=1.25,<2",
]
docs = [
"mkdocs>=1.5",
"mkdocs-material>=9.0",
]
[project.urls]
Homepage = "https://github.com/dstours/fluffy-barnacle"
Documentation = "https://dstours.github.io/fluffy-barnacle/"
Repository = "https://github.com/dstours/fluffy-barnacle"
Issues = "https://github.com/dstours/fluffy-barnacle/issues"
[project.scripts]
cs-proxy = "csproxy.cli:main_proxy"
cs-serve = "csproxy.cli:main_serve"
cs-wg = "csproxy.cli:main_wg"
cs-tools = "csproxy.tools:main_tools"
cs-tui = "csproxy.tui:main_tui"
cs-mcp = "csproxy.mcp:main_mcp"
[tool.setuptools.packages.find]
where = ["."]
include = ["csproxy*"]
[tool.black]
line-length = 100
target-version = ['py310']
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
# Third-party packages without usable type info in every environment that runs
# mypy. textual is only present with the optional [tui] extra (not installed in
# the lint job); yaml and colorama ship no stubs here; portalocker has a
# try/except ImportError fallback in locking.py, so it may be absent entirely.
# Ignoring missing imports keeps `mypy csproxy` clean whether or not the
# interpreter running mypy happens to have these installed.
[[tool.mypy.overrides]]
module = ["textual.*", "mcp.*", "yaml", "colorama", "portalocker"]
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
python_classes = "Test*"
python_functions = "test_*"