-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
53 lines (43 loc) · 1.16 KB
/
pyproject.toml
File metadata and controls
53 lines (43 loc) · 1.16 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
[project]
name = "workspace"
version = "0.0.0"
dependencies = []
[tool.uv]
required-version = ">=0.9.21"
exclude-newer = "1 day"
[tool.uv.workspace]
members = ["packages/node/tests/mitmproxy"]
[dependency-groups]
dev = [
"mitmproxy==12.2.1 ; sys_platform != 'win32'",
"pyrefly==0.52.0",
"ruff==0.15.0",
"semgrep==1.151.0 ; sys_platform != 'win32'",
"zizmor==1.22.0 ; sys_platform != 'win32'",
]
[tool.pyrefly]
project-includes = ["packages/**/*.py"]
use-ignore-files = true
[tool.ruff]
cache-dir = ".cache/shared/ruff"
line-length = 100
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"D", # pydocstyle - documentation style (too noisy for scripts)
"COM812", # missing-trailing-comma (conflicts with formatter)
"INP001", # implicit-namespace-package (single-file scripts)
"ISC001", # single-line-implicit-string-concatenation (conflicts with formatter)
"T20", # flake8-print - allow print in scripts
]
[tool.ruff.lint.isort]
force-single-line = true
[tool.ruff.lint.pylint]
max-args = 6
max-branches = 12
max-returns = 4
max-statements = 50
[tool.ruff.lint.mccabe]
max-complexity = 10