-
Notifications
You must be signed in to change notification settings - Fork 26
/
pyproject.toml
81 lines (70 loc) · 1.99 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
[project]
name = "fauxfactory"
version = "3.1.1"
license = { text = "Apache-2.0" }
description = "Generates random data for your tests."
authors = [
{ name = "Og B. Maciel", email = "omaciel@ogmaciel.com" }
]
readme = "README.rst"
requires-python = ">= 3.9"
keywords = [
"automation",
"data",
"python",
"testing",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Testing",
]
dependencies = [
"sphinx>=7.2.6",
]
[project.urls]
Changelog = "https://github.com/omaciel/fauxfactory/blob/main/HISTORY.rst"
Homepage = "https://github.com/omaciel/fauxfactory"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.rye]
managed = true
dev-dependencies = [
"pytest>=8.1.1",
"sphinx>=7.1.2",
"codecov>=2.1.13",
"pytest>=8.1.1",
"pytest-cov>=5.0.0",
"wheel>=0.43.0",
"twine>=5.0.0",
"ruff>=0.3.4",
]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["fauxfactory"]
macos-max-compat = true
[tool.ruff]
include = ["*.py"]
[tool.ruff.lint]
ignore = ["E203"]
# Allow fix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
unfixable = []
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.rye.scripts]
test-all = { cmd = "py.test -v --cov-report term-missing --cov=fauxfactory" }
check = { cmd = "ruff check ." }
lint = { chain = ["lint:black", "lint:flake8" ] }
"lint:black" = "black --check fauxfactory"
"lint:flake8" = "flake8 fauxfactory"