-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
73 lines (63 loc) · 1.81 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
[tool.poetry]
name = "pyssertions"
packages = [{include = "assertions"}]
version = "0.0.1"
description = "A library for writing fluent assertions in tests."
license = "Apache-2.0"
authors = ["Michael Dimchuk <michaeldimchuk@gmail.com>"]
maintainers = ["Michael Dimchuk <michaeldimchuk@gmail.com>"]
readme = "README.md"
repository = "https://github.com/michaeldimchuk/pyssertions"
[tool.poetry.dependencies]
python = "^3.9"
[tool.poetry.dev-dependencies]
isort = "^5.10.1"
mypy = "^0.961"
black = "^22.6.0"
pylint = "^2.14.4"
bandit = "^1.7.4"
pre-commit = "^2.19.0"
pytest = "^7.1.2"
coverage = "^6.4.1"
flake8 = "^4.0.1"
flake8-bugbear = "^22.7.1"
flake8-print = "^5.0.0"
flake8-comprehensions = "^3.10.0"
flake8-functions = "^0.0.7"
flake8-eradicate = "^1.2.1"
flake8-pie = "^0.15.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER", "TESTS"]
profile = "black"
line_length = 120
known_tests = ["tests"]
combine_as_imports = true
[tool.black]
line-length = 120
[tool.pylint.SIMILARITIES]
ignore-imports = "yes"
[tool.pylint."MESSAGES CONTROL"]
max-line-length = 120
min-public-methods = 1
function-rgx = "[a-z_][a-z0-9_]{1,40}$|()^test_[a-z_][a-z0-9_]{1,60}$"
method-rgx = "[a-z_][a-z0-9_]{1,40}$"
good-names = ["e", "i", "T", "E", "K", "V"]
disable = [
"C0114", # missing-module-docstring
"C0115", # missing-class-docstring
"C0116", # missing-function-docstring
"R0902", # too-many-instance-attributes
"R0903", # too-few-public-methods
"E1101", # no-member Broken with enums, this case is covered by mypy
]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.coverage.run]
source = ["assertions"]
[tool.coverage.report]
exclude_lines = ["pass"]
precision = 2
fail_under = 100