-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
61 lines (47 loc) · 1.25 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
[tool.poetry]
name = "ensure_sops"
version = "0.1.3"
description = "Check if your files are encrypted with Mozilla SOPS or not. Can act as pre-commit hook as well."
authors = ["Engineering Team at Tacto Technology GmbH. <engineering@tacto.ai>"]
license = "BSD 3-Clause License"
[tool.poetry.dependencies]
python = ">=3.7,<3.13"
"ruamel.yaml" = "^0.17.21"
python-dotenv = "^0.20.0"
ordered-set = "^4.1.0"
[tool.poetry.dev-dependencies]
pytest = "^7.1.2"
pytest-cov = "^3.0.0"
tox = "^3.25.1"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
ensure_sops = "ensure_sops.main:main"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--cov=ensure_sops --cov-report xml"
testpaths = [
"tests",
]
[tool.coverage.run]
omit = ['ensure_sops/__init__.py', 'ensure_sops/__main__.py', 'tests/']
[tool.flake8]
max-line-length = 88
per-file-ignores = ['__init__.py:F401']
[tool.black]
line-length = 88
target-version = ["py37", "py38", "py39", "py310", "py311", "py312"]
[tool.isort]
profile = "black"
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py37,py38,py39,py310,py311,py312
isolated_build = True
[testenv]
whitelist_externals = poetry
commands =
poetry install -v
poetry run pytest
"""