-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
81 lines (71 loc) · 1.41 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
[project]
name = "photoshoot"
version = "0.2.0"
description = "A pytest plugin for snapshot testing polars dataframes."
dependencies = ["polars>=1.3.0", "pytest>=8.0.0"]
readme = "README.md"
requires-python = ">= 3.8"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.rye]
managed = true
dev-dependencies = ["pytest>=8.3.2", "pytest-cov>=5.0.0"]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src/photoshoot"]
[project.urls]
Repository = "https://github.com/ngriffiths13/photoshoot"
[project.entry-points.pytest11]
pl-snapshot = "photoshoot.plugin"
[project.optional-dependencies]
gcs = ["gcsfs>=2024.6.1"]
[tool.ruff.format]
docstring-code-format = true
[tool.ruff]
lint.select = ["ALL"]
lint.ignore = [
'A003',
'ANN101',
'ANN401',
'C901',
'COM812',
'D100',
'D103',
'D104',
'D105',
'D107',
'D203',
'D212',
'DTZ',
'E501',
'FIX',
'ISC001',
'PD',
'PLR0911',
'PLR0912',
'PLR5501',
'PLR2004',
'PT011',
'PTH',
'RET505',
'S',
'SLF001',
'TD',
'TRY004',
]
# Allow autofix for all enabled rules (when `--fix`) is provided.
lint.fixable = ["ALL"]
# Exclude a variety of commonly ignored directories.
exclude = [
"tests",
".git",
".git-rewrite",
".mypy_cache",
".ruff_cache",
".venv",
".ipynb",
"venv",
]
line-length = 88