This repository has been archived by the owner on Mar 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
85 lines (76 loc) · 1.77 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 = "jhalog"
version = "0.0.0"
description = "Jhalog (JSON HTTP Access Log) Library"
readme = "README.md"
authors = ["Accelize"]
license = "BSD-2-Clause"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Typing :: Typed",
"Topic :: System :: Logging"
]
keywords = ["logging", "http", "json"]
repository = "https://github.com/Accelize/jhalog-python"
[tool.poetry.dependencies]
python = "^3.8"
psutil = "*"
webuuid = "*"
aioboto3 = { version = "*", optional = true }
aiohttp = { version = ">3.8", optional = true }
[tool.poetry.dev-dependencies]
bandit = "*"
black = "*"
botocore-stubs = "*"
boto3-stubs = {extras = ["logs"], version = "*"}
flake8 = "*"
flake8-docstrings = "*"
mypy = "*"
pre-commit = "*"
pytest-cov = "*"
radon = "*"
yamllint = "*"
types-urllib3 = "*"
types-setuptools = "*"
types-requests = "*"
types-psutil = "*"
[tool.poetry.extras]
cloudwatch_logs = ["aioboto3", "aiohttp"]
[tool.pytest.ini_options]
addopts = [
"--strict-markers",
"--cov=jhalog",
]
[tool.coverage.run]
branch = true
[tool.coverage.report]
show_missing = true
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:"
]
[tool.mypy]
disallow_any_generics = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
implicit_reexport = false
strict_equality = true
[[tool.mypy.overrides]]
module = [
"tests",
"aioboto3",
]
ignore_missing_imports = true
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"