-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
101 lines (89 loc) · 3.08 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "hypothesis-graphql"
version = "0.11.1"
description = "Hypothesis strategies for GraphQL queries"
keywords = ["hypothesis", "graphql", "testing"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Framework :: Hypothesis",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development :: Testing",
]
authors = [{ name = "Dmitry Dygalo", email = "dmitry@dygalo.dev" }]
maintainers = [{ name = "Dmitry Dygalo", email = "dmitry@dygalo.dev" }]
readme = "README.md"
license = "MIT"
include = ["src/hypothesis_graphql/py.typed"]
requires-python = ">=3.8"
dependencies = ["hypothesis>=6.84.3,<7.0", "graphql-core>=3.1.0,<3.3.0"]
[project.optional-dependencies]
tests = ["coverage>=7", "pytest>=6.2.0,<8", "pytest-xdist>=2.5,<3.0"]
cov = ["coverage-enable-subprocess", "coverage[toml]>=7"]
dev = ["hypothesis_graphql[tests,cov]"]
[project.urls]
Changelog = "https://github.com/Stranger6667/hypothesis-graphql/blob/master/CHANGELOG.md"
"Bug Tracker" = "https://github.com/Stranger6667/hypothesis-graphql"
Funding = "https://github.com/sponsors/Stranger6667"
"Source Code" = "https://github.com/Stranger6667/hypothesis-graphql"
[tool.hatch.build.targets.sdist]
include = ["/src", "/test"]
[tool.coverage.run]
parallel = true
branch = true
source_pkgs = ["hypothesis_graphql"]
[tool.coverage.paths]
source = ["src", ".tox/*/site-packages"]
[tool.coverage.report]
show_missing = true
skip_covered = true
precision = 2
exclude_lines = ["raise NotImplementedError", "if TYPE_CHECKING:", "pass"]
[tool.ruff]
line-length = 120
target-version = "py38"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"C", # flake8-comprehensions
"B", # flake8-bugbear
"D", # pydocstyle
]
ignore = [
"E501", # Line too long
"B008", # Do not perform function calls in argument defaults
"C901", # Too complex
"D100", # Missing docstring in public module
"D101", # Missing docstring in public class
"D102", # Missing docstring in public method
"D103", # Missing docstring in public function
"D104", # Missing docstring in public package
"D105", # Missing docstring in magic method
"D107", # Missing docstring in `__init__`
"D203", # One blank line before class
"D213", # Multiline summary second line
"D401", # Imperative mood
]
# Ignore `F401` (unused import) in all `__init__.py` files.
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
"strategies.py" = ["F401"]
[tool.ruff.format]
skip-magic-trailing-comma = false
[tool.ruff.lint.isort]
known-first-party = ["hypothesis_graphql"]
known-third-party = ["graphql", "hypothesis", "pytest"]