-
Notifications
You must be signed in to change notification settings - Fork 23
/
pyproject.toml
85 lines (67 loc) · 1.67 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
[tool.poetry]
name = "deepsecrets"
version = "1.1.3"
description = "A better tool for secrets search"
license = "MIT"
authors = [
"Nikolai Khechumov <khechumov@gmail.com>",
]
keywords = ["security", "secrets", "credentials", "scanning", "appsec"]
packages = [{include = "deepsecrets"}]
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Environment :: Console",
"Topic :: Security"
]
[tool.poetry.urls]
"Homepage" = "https://github.com/avito-tech/deepsecrets"
"Bug Tracker" = "https://github.com/avito-tech/deepsecrets/issues"
[tool.poetry.scripts]
deepsecrets = "deepsecrets:__main__"
[tool.poetry.dependencies]
python = ">=3.9,<3.12"
pydantic = "^1.10.4"
pyyaml = "^6.0.0"
pygments = "^2.14.0"
ordered-set = "^4.1.0"
dotwiz = "^0.4.0"
mmh3 = "^3.0.0"
regex = "^2023.3.23"
jsx-lexer = "^2.0.1"
aenum = "^3.1.15"
puppetparser = "^0.2.0"
[tool.poetry.group.test.dependencies]
pytest = "^7.2.1"
coverage = "^7.2.0"
pytest-cov = "^4.0.0"
[tool.poetry.group.dev.dependencies]
black = "^23.1.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
packages=["deepsecrets"]
disallow_untyped_defs = true
disallow_any_unimported = true
no_implicit_optional = true
check_untyped_defs = true
warn_return_any = true
show_error_codes = true
exclude = [
'^tests/*', # TOML literal string (single-quotes, no escaping necessary)
]
plugins = [
"pydantic.mypy"
]
[tool.pytest.ini_options]
pythonpath = [
"."
]
[tool.black]
line-length = 120
skip-string-normalization = 1
[tool.coverage]
run.omit = ["deepsecrets/__main__.py"]