This repository has been archived by the owner on Sep 17, 2024. It is now read-only.
forked from litestar-org/polyfactory
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
121 lines (106 loc) · 2.74 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
[tool.poetry]
name = "pydantic-factories"
version = "1.6.1"
description = "Mock data generation for pydantic based models"
authors = ["Na'aman Hirschfeld <nhirschfeld@gmail.com>"]
maintainers = ["Na'aman Hirschfeld <nhirschfeld@gmail.com>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/Goldziher/pydantic-factories"
repository = "https://github.com/Goldziher/pydantic-factories"
documentation = "https://github.com/Goldziher/pydantic-factories"
keywords = [
"dataclasses",
"factory",
"faker",
"mock",
"pydantic",
"pytest",
"starlite",
"tdd",
"testing",
]
classifiers = [
"Environment :: Web Environment",
"Framework :: Pytest",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Testing",
"Topic :: Software Development :: Testing :: Unit",
"Topic :: Utilities",
"Typing :: Typed",
]
include = ["CHANGELOG.md"]
packages = [
{ include = "pydantic_factories" },
]
[tool.poetry.dependencies]
python = ">=3.7,<4.0"
pydantic = ">=1.9.0"
faker = "*"
typing-extensions = "*"
xeger = "*"
[tool.poetry.dev-dependencies]
pytest = "*"
email-validator = "*"
hypothesis = "*"
pre-commit = "*"
pytest-asyncio = "*"
pytest-cov = "*"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 120
include = '\.pyi?$'
[tool.isort]
profile = "black"
multi_line_output = 3
[tool.pylint.MESSAGE_CONTROL]
disable = ["fixme",
"missing-module-docstring",
"missing-class-docstring",
"line-too-long",
"too-few-public-methods",
"import-outside-toplevel",
"unnecessary-lambda-assignment",
]
enable = "useless-suppression"
extension-pkg-allow-list = ["pydantic"]
[tool.pylint.REPORTS]
reports = "no"
[tool.pylint.FORMAT]
max-line-length = "120"
[tool.pylint.DESIGN]
max-args = 10
max-attributes = 10
max-locals = 12
max-returns = 10
max-public-methods = 21
[tool.pylint.VARIABLES]
ignored-argument-names = "args|kwargs|_|__"
no-docstring-rgx = "(__.*__|main|test.*|.*test|.*Test|^_.*)$"
[tool.pylint.BASIC]
good-names = "_,i,e,mm,yy,T,lt,le,gt,ge,cb"
[tool.coverage.run]
omit = ["*/tests/*"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
[tool.coverage.report]
exclude_lines = [
'pragma: no cover',
'if TYPE_CHECKING:',
'except ImportError:',
'\.\.\.'
]
[tool.pycln]
all = true