-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
65 lines (55 loc) · 1.11 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
[project]
name = "urgent-riskmanagementtoolbox"
version = "0.1.0"
description = ""
readme = "README.md"
requires-python = ">=3.12"
[logging.output]
log_to_console = true
datetime_log_file = false
[tool.coverage.run]
branch = true
source = ["src"]
[tool.coverage.report]
fail_under = 80
show_missing = true
omit = [
"*/tests/*",
"*/__init__.py",
"src/logger/u_logger.py",
"*_pb2.py",
"*_pb2_grpc.py",
"_build_proto.py",
"_test_.py"
]
exclude_lines = [
"if __name__ == '__main__':"
]
[tool.mypy]
mypy_path = "src"
files = ["src"]
ignore_missing_imports = true
allow_untyped_decorators = true
exclude = [
"_grpc.py",
"_pb2.py",
"_pb2_grpc.py",
"_model",
"simulation_service.py",
"_test_.py",
"test_"
]
plugins = [
"pydantic.mypy",
]
[tool.pytest.ini_options]
pythonpath = "src"
log_file = "log/test.log"
log_file_format = "%(process)d %(thread)d %(asctime)s %(module)s:%(lineno)d %(levelname)s - %(message)s"
log_level = "DEBUG"
retries = 2
retry_delay = 0.5
cumulative_timing = false
[build-system]
requires = ["setuptools>=42"]
build-backend = "setuptools.build_meta"