-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
72 lines (63 loc) · 1.76 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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "localstack-snapshot"
authors = [
{ name = "LocalStack Contributors", email = "[email protected]" }
]
version = "0.1.1"
description = "Extracted snapshot testing lib for LocalStack"
dependencies = [
"jsonpath-ng>1.6",
"deepdiff",
]
requires-python = ">=3.10"
license = {file = "LICENSE"}
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dynamic = ["readme"]
[project.optional-dependencies]
dev = [
"black==23.10.0",
"pytest>=7.0",
"coverage[toml]>=5.0.0",
"ruff==0.1.0"
]
[tool.setuptools]
include-package-data = false
[tool.setuptools.dynamic]
readme = {file = ["README.md"], content-type = "text/markdown"}
[tool.setuptools.packages.find]
include = ["localstack_snapshot*"]
exclude = ["tests*"]
[tool.setuptools.package-data]
"*" = ["*.md"]
[tool.black]
line_length = 100
include = '((localstack_snapshot)/.*\.py$|tests/.*\.py$)'
#extend_exclude = '()'
[tool.ruff]
# Always generate Python 3.10-compatible code.
target-version = "py310"
line-length = 110
select = ["B", "C", "E", "F", "I", "W", "T", "B9"]
ignore = [
"E501", # E501 Line too long - handled by black, see https://docs.astral.sh/ruff/faq/#is-ruff-compatible-with-black
"C901", # C901 complex-structure - later refactoring will handle this, see https://docs.astral.sh/ruff/rules/complex-structure/#complex-structure-c901
]
exclude = [
".venv*",
"venv*",
"dist",
"build",
"target",
"*.egg-info",
".git",
]