-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
78 lines (67 loc) · 1.34 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
# Main package description
[tool.poetry]
name = "whouserobot"
version = "0.0.1"
description = "A nagy házi feladatom gépi tanuláshoz"
authors = [
"Krisztian Gado <g.krisztian@outlook.com>",
]
license = "WTFPL"
[tool.poetry.dependencies]
python = ">3.8, <3.10"
numpy = "^1.21.4"
matplotlib = "^3.4.3"
networkx = "^2.6.3"
scipy = "^1.7.3"
[tool.poetry.dev-dependencies]
black = "*"
coverage = "*"
pre-commit = "*"
pytest = "*"
isort = "*"
pyupgrade = "^2.29"
pylint = "^2.11.1"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 120
target-version = ['py39']
'''
quiet = true
[tool.coverage.run]
command_line = "-m py.test"
source = ['whouserobot']
branch = true
# omit = []
[tool.coverage.report]
sort = "cover"
exclude_lines = [
'if __name__ == "__main__":',
'def __repr__',
'def __str',
'@(abc\.)?abstractmethod'
]
omit = ['tests']
[tool.isort]
profile = "black"
line_length = 120
case_sensitive = true
use_parentheses = false
include_trailing_comma = true
multi_line_output = 3
force_grid_wrap = 0
quiet = true
skip="__init__.py"
[tool.pylint.MASTER]
max-line-length = 120
fail-under = 0.85
ignore = ['LICENSE']
ignore-paths = ['tests']
disable = [
"bad-continuation",
"duplicate-code",
"invalid-name",
"missing-docstring",
"too-few-public-methods",
]