-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (60 loc) · 1.61 KB
/
Copy pathpyproject.toml
File metadata and controls
68 lines (60 loc) · 1.61 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
[project]
name = "patchdiff"
version = "1.0.0"
description = "Bidirectional, JSON-patch-compliant diffs between Python data structures"
authors = [
{ name = "Korijn van Golen", email = "korijn@gmail.com" },
{ name = "Berend Klein Haneveld", email = "berendkleinhaneveld@gmail.com" },
]
requires-python = ">=3.9"
readme = "README.md"
license = "MIT"
classifiers = ["Typing :: Typed"]
[project.urls]
Homepage = "https://github.com/fork-tongue/patchdiff"
[dependency-groups]
dev = [
"ruff",
"hypothesis",
"pytest",
"pytest-cov",
"pytest-watch",
"pytest-benchmark",
"ty",
]
ruff = ["ruff"]
ty = ["ty"]
observ = [
"observ>=0.18.0",
]
docs = [
"mkdocs>=1,<2",
"mkdocs-material",
"mkdocstrings[python]",
]
[tool.ruff.lint]
extend-select = [
"F", # Pyflakes (default)
"I", # isort imports
"N", # pep8-naming
"T10", # flake8-debugger
"T20", # flake8-print
"RUF", # ruff
]
[tool.ruff.lint.per-file-ignores]
"patchdiff/__init__.py" = ["F401"]
# command line tool that reports through print
"benchmarks/compare_runs.py" = ["T201"]
[tool.ty.src]
include = ["patchdiff"]
[tool.ty.environment]
# Match the oldest supported Python version (requires-python), so
# that the type checker catches use of newer typing features
python-version = "3.9"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.pytest.ini_options]
# GC pauses during timed rounds are a major source of benchmark noise,
# so garbage collection is disabled while benchmarks are being timed.
addopts = "--benchmark-columns='median, mean, stddev, rounds' --benchmark-disable-gc"