-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
49 lines (42 loc) · 1.2 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
# THIS IS ONLY FOR TESTS
[tool.poetry]
name = "engineering-docker-images"
version = "0.1.0"
description = ""
authors = []
[tool.poetry.dependencies]
python = "^3.10"
[tool.poetry.dev-dependencies]
pytest = ">=8.2.2"
isort = ">=5.13.2"
black = ">=24.4.2"
flake8 = ">=7.0.0"
flake8-black = ">=0.3.6"
pyproject-flake8 = ">=7.0.0"
mypy = ">=1.10.0"
docker = ">=7.1.0"
[tool.isort]
# https://pycqa.github.io/isort/docs/configuration/config_files.html
profile = "black"
[tool.mypy]
python_version = "3.10"
strict = true
warn_unreachable = true
warn_unused_configs = true
explicit_package_bases = true
namespace_packages = true
mypy_path = "images"
[[tool.mypy.overrides]]
module = "docker.*"
ignore_missing_imports = true
[tool.pytest.ini_options]
addopts = ["--capture=no", "--tb=native"]
# https://docs.pytest.org/en/stable/customize.html
# https://docs.pytest.org/en/stable/reference.html#configuration-options
log_cli = true
log_cli_level = "DEBUG"
log_cli_format = "%(asctime)s %(process)d %(thread)d %(levelno)03d:%(levelname)-8s %(name)-12s %(module)s:%(lineno)s:%(funcName)s %(message)s"
log_cli_date_format = "%Y-%m-%dT%H:%M:%S"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"