-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
84 lines (66 loc) · 1.57 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
[tool.poetry]
name = "mpan"
version = "2.1.0"
description = "A parsing library for the UK's MPAN energy standard"
authors = ["Limejump Developers <[email protected]>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/limejump/mpan"
repository = "https://github.com/limejump/mpan"
documentation = "https://github.com/limejump/mpan"
[tool.poetry.dependencies]
python = ">=3.8,<4.0"
Faker = { version = "^10.0.0", optional = true }
mimesis = { version = "^5.1.0", optional = true }
coverage = {extras = ["toml"], version = "^6.2"}
[tool.poetry.extras]
faker = ["Faker"]
mimesis = ["mimesis"]
[tool.poetry.dev-dependencies]
black = "^23.0"
isort = "^5.7.0"
flake8 = "^3.8.4"
freezegun = "^1.2.1"
ipython = "^7.20.0"
mkdocs = "^1.2.3"
mkdocs-techdocs-core = "^0.2.2"
pre-commit = "^2.10.0"
pytest = "^6.2.5"
pytest-cov = "^2.11.0"
[tool.coverage.run]
branch = true
source = ["."]
omit = ["tests/*", ".venv/*"]
[tool.coverage.report]
ignore_errors = true
omit = [
]
exclude_lines = [
"pragma: no cover",
"raise NotImplementedError"
]
[tool.isort]
atomic = true
multi_line_output = 3
case_sensitive = true
lines_after_imports = 2
lines_between_types = 1
combine_as_imports = true
default_section = "THIRDPARTY"
line_length = 79
include_trailing_comma = true
sections=[
"FUTURE",
"STDLIB",
"THIRDPARTY",
"FIRSTPARTY",
"LOCALFOLDER"
]
[tool.black]
line-length = 79
target-version = ["py38"]
include = '\.pyi?$'
exclude = '/(\.eggs|\.git|_build|build|dist|\.venv)/'
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"