-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
106 lines (93 loc) · 2.42 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
[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.0"
classifiers = [
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.0",
"Programming Language :: Python :: 3.1",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
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"
[tool.ruff]
target-version = "py311"
line-length = 120
format.quote-style = "single"
lint.select = [
"E", # Errors
"F", # Formatting
"S", # Bandit
"W", # Warnings
]
lint.ignore = [
# format
"E501", # line too long
]
# Ignore assert usage in tests
lint.per-file-ignores.'tests/*.py' = [ "S101" ]
lint.isort.combine-as-imports = true
lint.mccabe.max-complexity = 10
[tool.pylint.MASTER]
ignore-paths = [ 'tests/*' ]
[tool.pylint.FORMAT]
indent-string = ' '
max-line-length = 120
[tool.pylint."MESSAGES CONTROL"]
disable = '''
missing-docstring,
line-too-long,
import-error,
fixme,
no-value-for-parameter,
too-few-public-methods
'''
[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]
# Number of characters
line_length = 120
# Number of characters for headings
heading_line_length = 80
# Number of characters for code blocks
code_block_line_length = 120
[tool.bandit]
exclude_dirs = [ "tests/*" ]