-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
85 lines (72 loc) · 1.83 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
[tool.poetry]
authors = ["Hume AI Dev <[email protected]>"]
classifiers = [
"Development Status :: 4 - Beta",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
]
description = "Code coverage validation"
keywords = ["code", "coverage", "validation", "check", "test"]
license = "Proprietary"
name = "covcheck"
readme = "README.md"
repository = "https://github.com/HumeAI/covcheck"
version = "0.4.3"
[tool.poetry.dependencies]
python = ">=3.8.1"
toml = { version = "^0.10.2", optional = true }
[tool.poetry.dev-dependencies]
pylint = "^2.16.2"
yapf = "^0.40.1"
mypy = "^1.0.1"
types-setuptools = "^68.1.0.1"
pytest = "^7.2.1"
flake8 = "^6.0.0"
pyproject-flake8 = "^6.0.0"
pytest-cov = "^4.0.0"
pytest-forked = "^1.4.0"
pytest-xdist = "^2.5.0"
toml = "^0.10.2"
types-toml = "^0.10.1"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
mike = "^1.1.2"
mkdocs = "^1.3.1"
mkdocs-material = "^8.4.1"
mkdocstrings = { version = "^0.19.0", extras = ["python"] }
[tool.poetry.extras]
toml = ["toml"]
[tool.poetry.scripts]
covcheck = "covcheck._cli.main:run"
[tool.covcheck]
line = 98.0
branch = 95.0
[tool.flake8]
ignore = "" # Required to disable default ignores
max-line-length = 119
[tool.mypy]
disallow_incomplete_defs = true
disallow_untyped_calls = true
disallow_untyped_defs = true
ignore_missing_imports = true
[tool.pylint.basic]
good-names = ["e", "f", "h", "i", "j", "k", "m", "n", "w", "x", "y"]
max-locals = 25
max-args = 8
max-branches = 14
notes = ["FIXME"]
[tool.pylint.format]
max-line-length = 119
[tool.pylint.messages_control]
disable = [
"too-few-public-methods", # R0903
]
[tool.yapf]
based_on_style = "pep8"
column_limit = 119
indent_width = 4
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0"]