-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
66 lines (57 loc) · 1.37 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
[tool.poetry]
name = "log-audits-to-elasticsearch"
version = "1.0.0"
description = "Log Audits To Elasticsearch"
authors = ["Robin Schulz <hello@rschu.me>"]
readme = "README.md"
homepage = "https://github.com/bulletinmybeard/log-audits-to-elasticsearch"
repository = "https://github.com/bulletinmybeard/log-audits-to-elasticsearch"
[tool.poetry.dependencies]
python = "^3.12"
fastapi = "^0.110.0"
uvicorn = "^0.28.0"
pydantic = "^2.6.4"
elasticsearch = "^8.12.1"
ipaddress = "^1.0.23"
pyyaml = "^6.0.1"
elasticsearch-dsl = "^8.12.0"
toml = "^0.10.2"
faker = "^24.3.0"
[tool.poetry.group.dev.dependencies]
black = "^24.3.0"
isort = "^5.13.2"
flake8 = "^7.0.0"
mypy = "^1.9.0"
coverage = "^7.4.4"
pre-commit = "^3.6.2"
types-pyyaml = "^6.0.12.20240311"
flake8-pyproject = "^1.2.3"
types-toml = "^0.10.8.20240310"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 88
target-version = ['py312']
include = '\.pyi?$'
[tool.isort]
profile = "black"
[tool.flake8]
max-line-count = 600
max-line-length = 100
exclude = [
"audit_logger/models/__init__.py",
".venv"
]
[tool.coverage.run]
branch = true
source = ["audit_logger"]
[tool.coverage.report]
fail_under = 80
show_missing = true
[tool.mypy]
python_version = 3.12
check_untyped_defs = true
ignore_missing_imports = true
disallow_untyped_defs = true
plugins = "pydantic.mypy"