This repository has been archived by the owner on Feb 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
117 lines (106 loc) · 3 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
#### black ####################################################################
[tool.black]
line-length = 80
skip-magic-trailing-comma = true
target-version = ["py37"]
#### coverage #################################################################
[tool.coverage]
[tool.coverage.run]
branch = true
data_file = ".coverage/data"
source = ["app"]
[tool.coverage.report]
fail_under = 100.0
skip_covered = true
skip_empty = true
[tool.coverage.html]
directory = ".coverage/html"
#### isort ####################################################################
[tool.isort]
atomic = true
case_sensitive = true
float_to_top = true
force_single_line = true
line_length = 80
lines_after_imports = 2
profile = "black"
remove_redundant_aliases = true
skip_gitignore = true
#### poetry ###################################################################
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "hypothesis-faker"
version = "0.1.13"
description = "faker providers wrapped as hypothesis strategies"
authors = ["Derek Wan <[email protected]>"]
license = "MIT"
homepage = "https://github.com/dycw/hypothesis-faker"
[tool.poetry.dependencies]
python = "^3.7"
"backports.cached-property" = "^1.0.1"
faker = "^13.11.0"
hypothesis = "^6.46.3"
writer-cm = "^1.1.1"
xdg = "^5.1.1"
[tool.poetry.dev-dependencies]
black = "^22.3.0"
bump2version = "^1.0.1"
coverage = { extras = ["toml"], version = "^6.3.3" }
flake8 = "^4.0.1"
flake8-absolute-import = "^1.0.0.1"
flake8-annotations = "^2.9.0"
flake8-bandit = "^3.0.0"
flake8-bugbear = "^22.4.25"
flake8-comprehensions = "^3.9.0"
flake8-debugger = "^4.1.2"
flake8-eradicate = "^1.2.1"
flake8-no-pep420 = "^2.3.0"
flake8-pie = "^0.15.0"
flake8-print = "^5.0.0"
flake8-simplify = "^0.19.2"
flake8-unused-arguments = "^0.0.10"
isort = "^5.10.1"
nox = "^2022.1.7"
pillow = "^9.1.0"
poetry-deps-scanner = "^1.0.1"
pre-commit = "^2.18.1"
pyclean = "^2.2.0"
pytest = "^7.1.2"
pytest-cov = "^3.0.0"
pytest-instafail = "^0.4.2"
pytest-xdist = "^2.5.0"
tempenv = "^2.0.0"
#### pyright ##################################################################
[tool.pyright]
include = ["src"]
pythonVersion = "3.7"
executionEnvironments = [{ root = "src" }]
typeCheckingMode = "strict"
reportMissingTypeArgument = false
reportMissingTypeStubs = false
reportUnknownParameterType = false
reportUnknownArgumentType = false
reportUnknownVariableType = false
reportUnknownMemberType = false
reportUntypedBaseClass = false
reportImplicitStringConcatenation = "error"
reportMissingSuperCall = "error"
reportPropertyTypeMismatch = "error"
reportUnnecessaryTypeIgnoreComment = "error"
reportUnusedCallResult = "error"
#### pytest ###################################################################
[tool.pytest.ini_options]
addopts = [
"-rsxX",
"--color=auto",
"--cov=hypothesis_faker",
"--cov-report=html",
"--strict-markers"
]
filterwarnings = ["error", "ignore::DeprecationWarning"]
looponfailroots = ["src"]
minversion = "7.0"
testpaths = ["src/tests"]
xfail_strict = true