-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
85 lines (67 loc) · 1.6 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]
name = "structlog_to_seq"
version = "21.0.0"
description = "A collection of structlog processors for using structlog with Seq log server"
authors = ["Gergő Jedlicska <[email protected]>"]
license = "MIT"
packages = [
{ include = "structlog_to_seq", from = "src" }
]
[tool.poetry.dependencies]
python = "^3.6"
structlog = { version = "^21.1", optional = true}
colorama = { version = "^0.4.3", optional = true}
colorful = { version = "^0.5.4", optional = true}
[tool.poetry.dev-dependencies]
pytest = "~5"
tox = "^3.14.3"
coverage = {extras = ["toml"], version = "^5.0.3"}
black = "^20.8b1"
isort = "^4.3.21"
flake8 = "^3.7.9"
pre-commit = "^1.21.0"
tox-gh-actions = "^0.3.0"
mypy = "^0.812"
rope = "^0.16.0"
pytest-cov = "^2.8.1"
importlib_metadata = { version = "^1.5.2", python = "<3.8"}
[tool.poetry.extras]
console = ["structlog", "colorama", "colorful"]
[tool.black]
line-length = 88
target-version = ['py36', 'py37', 'py38']
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.isort]
multi_line_output=3
include_trailing_comma=true
force_grid_wrap=0
use_parentheses=true
line_length=88
lines_after_imports=2
lines_between_types=1
known_third_party=["colorful", "pytest", "structlog", "structlog_to_seq"]
[tool.coverage.run]
parallel = true
branch = true
source = ["structlog_to_seq"]
[tool.coverage.paths]
source = ["structlog_to_seq", ".tox/*/site-packages"]
[tool.coverage.report]
show_missing = true
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"