-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (81 loc) · 1.88 KB
/
Copy pathpyproject.toml
File metadata and controls
92 lines (81 loc) · 1.88 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
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools",
]
[project]
name = "python-coverage-comment"
version = "2.1"
description = "Create a Coverage report comment on Github PR"
readme = "README.md"
license = { file = "LICENSE" }
maintainers = [
{ name = "Pradeep Tammali", email = "pradeeptammaliwork@gmail.com" },
]
requires-python = ">=3.11"
classifiers = [
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dependencies = [
"httpx",
"jinja2",
]
urls.Homepage = "https://github.com/PradeepTammali/python-coverage-comment"
urls.Issues = "https://github.com/PradeepTammali/python-coverage-comment/issues"
scripts.codecov = "codecov.main:main"
[dependency-groups]
dev = [
"build>=1.2",
"ipython>=8",
"mypy>=1.15",
"pre-commit>=4",
"pytest>=8.3",
"pytest-cov>=6",
"pytest-env>=1.1",
"ruff>=0.11",
"twine>=6",
]
[tool.uv]
default-groups = [ "dev" ]
[tool.ruff]
target-version = "py311"
line-length = 120
format.quote-style = "single"
lint.select = [
"E", # Errors
"F", # Pyflakes
"G", # Logging
"I", # isort
"PGH", # No blanket noqa/type ignore
"S", # Bandit
"T10", # Debugger statements
"UP", # pyupgrade
"W", # Warnings
]
lint.ignore = [
"E501", # line too long
]
lint.per-file-ignores."tests/*.py" = [ "S101" ]
lint.isort.combine-as-imports = true
lint.mccabe.max-complexity = 10
[tool.pytest.ini_options]
env = [ 'APP_ENVIRONMENT = unittest' ]
[tool.coverage.report]
show_missing = true
[[tool.mypy.overrides]]
check_untyped_defs = true
ignore_missing_imports = true
implicit_optional = true
module = 'codecov.*'
[tool.markdownlint]
default = true
[MD007]
indent = 4
[MD013]
line_length = 120
heading_line_length = 80
code_block_line_length = 120