-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (77 loc) · 1.99 KB
/
Copy pathpyproject.toml
File metadata and controls
89 lines (77 loc) · 1.99 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "snapvisor"
dynamic = ["version"]
description = "Official Python SDK and CLI for the Snapvisor visual regression testing platform."
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
license-files = ["LICENSE"]
authors = [{ name = "Devino Solutions Inc.", email = "support@snapvisor.io" }]
keywords = [
"snapvisor",
"visual-regression",
"visual-testing",
"screenshot",
"argos",
"ci",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Testing",
"Typing :: Typed",
]
dependencies = ["httpx>=0.27,<1"]
[project.urls]
Homepage = "https://snapvisor.io"
Documentation = "https://snapvisor.io/docs"
Repository = "https://github.com/DevinoSolutions/snapvisor-python"
Issues = "https://github.com/DevinoSolutions/snapvisor-python/issues"
[project.scripts]
snapvisor = "snapvisor.cli:main"
[project.optional-dependencies]
dev = [
"pytest==9.1.1",
"pytest-cov==7.1.0",
"respx==0.23.1",
"ruff==0.16.0",
"ty==0.0.63",
"pillow==12.3.0",
]
[tool.hatch.version]
path = "src/snapvisor/__init__.py"
[tool.hatch.build.targets.wheel]
packages = ["src/snapvisor"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra"
[tool.ruff]
line-length = 100
target-version = "py310"
src = ["src", "tests"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"SIM", # flake8-simplify
"TID", # flake8-tidy-imports
]
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["B011"]
[tool.ty.environment]
python-version = "3.10"
[tool.ty.src]
include = ["src"]