File: pyproject.toml

package info (click to toggle)
pytest-pretty 1.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 332 kB
  • sloc: python: 142; makefile: 40
file content (82 lines) | stat: -rw-r--r-- 2,274 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
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
[build-system]
requires = ['hatchling']
build-backend = 'hatchling.build'

[project]
name = 'pytest-pretty'
description = 'pytest plugin for printing summary data as I want it'
authors = [{ name = 'Samuel Colvin', email = 's@muelcolvin.com' }]
version = '1.3.0'
license = 'MIT'
license-files = ['LICENSE']
readme = 'README.md'
classifiers = [
    'Development Status :: 5 - Production/Stable',
    'Programming Language :: Python',
    'Programming Language :: Python :: 3',
    'Programming Language :: Python :: 3 :: Only',
    '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',
    'Intended Audience :: Developers',
    'Intended Audience :: Information Technology',
    'Intended Audience :: System Administrators',
    'License :: OSI Approved :: MIT License',
    'Operating System :: Unix',
    'Operating System :: POSIX :: Linux',
    'Environment :: Console',
    'Environment :: MacOS X',
    'Framework :: Hypothesis',
    'Topic :: Software Development :: Libraries :: Python Modules',
    'Topic :: Internet',
]
requires-python = '>=3.9'
dependencies = ['pytest>=7', 'rich>=12']

[project.entry-points.pytest11]
pretty = 'pytest_pretty'

[project.urls]
repository = 'https://github.com/samuelcolvin/pytest-pretty'

[dependency-groups]
dev = ["ruff>=0.11.12"]

[tool.pytest.ini_options]
testpaths = 'tests'
filterwarnings = 'error'
xfail_strict = true

[tool.coverage.run]
source = ['pytest_pretty']
branch = true

[tool.coverage.report]
precision = 2
exclude_lines = [
    'pragma: no cover',
    'raise NotImplementedError',
    'if TYPE_CHECKING:',
    '@overload',
]

[tool.ruff]
line-length = 120
target-version = 'py39'
include = ['pytest_pretty/**/*.py', 'tests/**/*.py']

[tool.ruff.lint]
extend-select = ['Q', 'RUF100', 'C90', 'UP', 'I']
flake8-quotes = { inline-quotes = 'single', multiline-quotes = 'double' }
isort = { combine-as-imports = true }
mccabe = { max-complexity = 15 }

[tool.ruff.lint.pydocstyle]
convention = 'google'

[tool.ruff.format]
# don't format python in docstrings, pytest-examples takes care of it
docstring-code-format = false
quote-style = 'single'