-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
52 lines (47 loc) · 1.07 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
[tool.poetry]
name = "app"
version = "0.1.0"
description = ""
authors = ["Admin <[email protected]>"]
package-mode = false
[tool.poetry.dependencies]
python = "^3.12"
pydantic = "^2.7.1"
pydantic-settings = { extras = ["dotenv"], version = "^2.2.1" }
pika = "^1.3.2"
aio-pika = "^9.4.1"
[tool.poetry.group.dev.dependencies]
ruff = "^0.4.5"
[tool.ruff]
line-length = 88
exclude = [
'.git',
'__pycache__',
'__init__.py',
'.mypy_cache',
'.pytest_cache',
'theHarvester/',
]
lint.select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C4", # flake8-comprehensions
"B", # flake8-bugbear
"UP", # pyupgrade
]
lint.ignore = [
"E501", # line too long
"C901", # Comprehension is too complex (11 > 10)
"W191", # indentation contains tabs
"E402",
]
lint.unfixable = ["F841"]
extend-include = ["*.ipynb"]
[tool.ruff.lint.pyupgrade]
# Preserve types, even if a file imports `from __future__ import annotations`.
keep-runtime-typing = true
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"