File: pyproject.toml

package info (click to toggle)
sentry-python 2.18.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,004 kB
  • sloc: python: 55,908; makefile: 114; sh: 111; xml: 2
file content (23 lines) | stat: -rw-r--r-- 555 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[tool.black]
# 'extend-exclude' excludes files or directories in addition to the defaults
extend-exclude = '''
# A regex preceded with ^/ will apply only to files and directories
# in the root of the project.
(
    .*_pb2.py  # exclude autogenerated Protocol Buffer files anywhere in the project
    | .*_pb2_grpc.py  # exclude autogenerated Protocol Buffer files anywhere in the project
)
'''

[tool.coverage.run]
branch = true
omit = [
    "/tmp/*",
    "*/tests/*",
    "*/.venv/*",
]

[tool.coverage.report]
exclude_also = [
    "if TYPE_CHECKING:",
]