-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
110 lines (99 loc) · 2.61 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
[tool.poetry]
name = "fedi_gatus"
version = "v2.1.2"
description = ""
authors = ["Jesse Schoepfer <[email protected]>"]
readme = "README.md"
#homepage = "https://github.com/Jelloeater/xx"
#keywords = ["hubitat", "makerapi","requests"]
#classifiers = ["Development Status :: 5 - Production/Stable",
# "Environment :: No Input/Output (Daemon)",
# "Topic :: Home Automation",
# "Intended Audience :: Developers",
# "Operating System :: OS Independent",
#]
[tool.poetry.scripts]
gatus_config = "fedi_gatus.__main__:app"
[tool.poetry.dependencies]
python = "~3.11"
typer = "*"
pyyaml = "*"
ruamel-yaml = "*"
peewee = "*"
datetime = "*"
fastapi = "0.96.0"
uvicorn ={version="0.22.0", extras = ["standard"]}
munch = "^4.0.0"
psycopg2-binary = "^2.9.7"
pythonseer = {git = "https://github.com/jelloeater/pythonseer"}
pytest = "^8.3.1"
[tool.pytest.ini_options]
pythonpath = ["."]
testpaths = "test/"
log_cli = true
log_cli_level = "DEBUG"
#log_cli_format = "%(message)s"
log_cli_format = "[%(asctime)s] [%(levelname)8s] --- %(message)s (%(filename)s:%(funcName)s():%(lineno)s)"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
[tool.flake8]
#ignore = ['E231', 'E241']
exclude =['./tests']
max-line-length = 120
count = false
statistics = true
diff = true
format = "pylint"
[tool.black]
line-length = 120
[tool.isort]
multi_line_output = 3
include_trailing_comma = "True"
force_grid_wrap = 0
use_parentheses = "True"
line_length = 120
profile = "black"
[tool.tartufo]
repo-path = "."
regex = true
entropy = true
exclude-path-patterns = [
{path-pattern = 'poetry\.lock'},
{path-pattern = 'pyproject\.toml'},
# To not have to escape `\` in regexes, use single quoted
# TOML 'literal strings'
{path-pattern = 'docs/source/(.*)\.rst'},
{path-pattern = 'fedi_gatus/config_gen/base.template.yaml'},
]
exclude-entropy-patterns = [
{path-pattern = '\.github/workflows/.*\.yml', pattern = 'uses: .*@[a-zA-Z0-9]{40}', reason = 'GitHub Actions'},
{path-pattern = 'poetry\.lock', pattern = '.'},
{path-pattern = 'Pipfile\.lock', pattern = '.'},
{path-pattern = 'README\.md', pattern = '.'},
{path-pattern = 'mapping\.cfg', pattern = '.'}, # Git secret
{path-pattern = 'techstack\.*', pattern = '.'},
]
[tool.poetry.group.test.dependencies]
setuptools = "*"
pytest = "*"
pytest-cov = "*"
pytest-pycharm = "*"
python-dotenv = "*"
pre-commit = "*"
vulture = "*"
isort = "*"
radon = "*"
xenon = "*"
black = "*"
typing_extensions ="*"
#typeguard ="*" # Typing
#mypy = "*" # Typing
pdoc3 = "*"
pylint = "*"
bandit = "*"
whispers = "*"
flake8 = "*"
Flake8-pyproject="*"
tartufo="*"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"