-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
139 lines (115 loc) · 2.83 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
[tool.poetry]
name = "zsh-tmux"
version = "0.0.0"
description = "zsh tmux"
authors = ["Luis Mayta <[email protected]>"]
license = "LGPL-3.0"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.8,<3.12"
boto3 = "^1.28.53"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
ipdb = "^0.13.13"
bumpversion = "^0.6.0"
python-language-server = "^0.36.2"
requests = "^2.28.2"
bridgecrew = "*"
pycodestyle = "*"
pydocstyle = "*"
pygments = "*"
black = "*"
checkov = "^2.4.48"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
pymdown-extensions = "^10.2.1"
doc8 = "^1.1.1"
grip = "^4.6.1"
mkdocs = "^1.5.2"
mkdocs-material = "^9.2.6"
[tool.poetry.group.test]
optional = true
[tool.poetry.group.test.dependencies]
httpx = "^0.24.1"
faker = "^19.3.1"
mock = "^5.1.0"
pytest-mock = "^3.11.1"
pytest = "^7.4.0"
pytest-cov = "^4.1.0"
freezegun = "^1.2.2"
responses = "^0.23.3"
pytest-asyncio = "^0.21.1"
pyhamcrest = "^2.0.4"
[tool.poetry.group.test_integration]
optional = true
[tool.poetry.group.test_integration.dependencies]
torch = "^2.0.1"
[tool.poetry.group.lint.dependencies]
pre-commit = "^3.3.3"
ruff = "^0.0.286"
types-toml = "^0.10.8.7"
black = "^23.7.0"
[tool.poetry.group.typing.dependencies]
mypy = "^1.5.1"
types-pyyaml = "^6.0.12.11"
types-requests = "^2.31.0.4"
[tool.poetry.extras]
docs = ["mkdocs", "mkdocs-material"]
[tool.mypy]
ignore_missing_imports = "True"
disallow_untyped_defs = "True"
exclude = ["notebooks"]
[tool.black]
line-length = 90
[tool.pyright]
pythonVersion = "3.11"
typeCheckingMode = "basic"
useLibraryCodeForTypes = true
# enable subset of "strict"
reportDuplicateImport = true
reportInconsistentConstructor = true
reportInvalidStubStatement = true
reportOverlappingOverload = true
reportPropertyTypeMismatch = true
reportUntypedClassDecorator = true
reportUntypedFunctionDecorator = true
reportUntypedNamedTuple = true
reportUnusedImport = true
# disable subset of "basic"
reportGeneralTypeIssues = false
reportMissingModuleSource = false
reportOptionalCall = false
reportOptionalIterable = false
reportOptionalMemberAccess = false
reportOptionalOperand = false
reportOptionalSubscript = false
reportPrivateImportUsage = false
reportUnboundVariable = false
[tool.ruff]
select = [
"E", # pycodestyle
"F", # pyflakes
"I", # isort
]
[tool.isort]
line_length = 90
atomic = true
profile = "black"
skip_gitignore = true
[tool.bandit]
exclude_dirs = ["tests"]
tests = []
skips = []
[tool.coverage.run]
omit = ["tests/*"]
[tool.poetry_bumpversion.file."sonar-project.properties"]
search = 'sonar.projectVersion={current_version}'
replace = 'sonar.projectVersion={new_version}'
[tool.poetry_bumpversion.file."package.json"]
search = '"version": "{current_version}"'
replace = '"version": "{new_version}"'
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"