-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
107 lines (90 loc) · 2.41 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
[tool.poetry]
name = "conjecture"
version = "0.1.0"
description = "A pythonic assertion library"
authors = ["Daniel Knell <[email protected]>"]
readme = "README.md"
license = "MIT"
repository = "https://github.com/artisanofcode/python-conjecture"
classifiers = [
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Testing",
"Topic :: Utilities"
]
[tool.poetry.dependencies]
python = "^3.9"
[tool.poetry.group.dev.dependencies]
shed = ">=0.9.5,<2023.7.0"
pylint = "^2.13.7"
mypy = ">=0.942,<1.5"
pytest = "^7.1.1"
pytest-cov = ">=3,<5"
typeguard = ">=2.13.3,<5.0.0"
docformatter = "^1.4"
pytest-pylint = {git = "https://github.com/carsongee/pytest-pylint.git", rev = "804add7"}
pytest-mypy = ">=0.9.1,<0.11.0"
pydocstyle = "^6.1.1"
pytest-pydocstyle = "^2.3.0"
pyenchant = "^3.2.2"
hypothesis = "^6.47.3"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
profile = "black"
multi_line_output = 3
known_localfolder = ['tests']
[tool.pylint.master]
load-plugins = [
"pylint.extensions.bad_builtin",
"pylint.extensions.mccabe",
"pylint.extensions.docstyle",
"pylint.extensions.check_elif",
"pylint.extensions.eq_without_hash",
"pylint.extensions.private_import",
"pylint.extensions.redefined_variable_type",
"pylint.extensions.overlapping_exceptions",
"pylint.extensions.docparams",
"pylint.extensions.empty_comment",
"pylint.extensions.set_membership",
"pylint.extensions.typing",
"pylint.extensions.while_used",
]
[tool.pylint.basic]
good-names = ["i", "j", "k", "ex", "Run", "_", "to"]
[tool.pylint.messages_control]
disable = [
"docstring-first-line-empty",
]
[tool.pylint.format]
max-line-length = 88
[tool.pylint.spelling]
spelling-dict = "en_GB"
spelling-private-dict-file = ".dictionary"
[tool.pylint.similarities]
ignore-signatures = true
ignore-imports = true
[tool.pytest.ini_options]
testpaths = "tests"
filterwarnings = [
"error",
"ignore::pytest.PytestRemovedIn8Warning",
"ignore::DeprecationWarning:pylint.*",
"ignore:Typeguard cannot check the Comparable protocol because it is a non-runtime protocol.:UserWarning:",
]
[tool.pylint.parameter_documentation]
default-docstring-type = "sphinx"
[tool.mypy]
strict = true
[tool.pydocstyle]
add-ignore = [
"D102",
"D105",
"D107",
"D200",
"D212",
]
[tool.coverage.run]
omit = [
"*/site-packages/*",
]