-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
125 lines (110 loc) · 2.92 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
[tool.poetry]
name = "hubitatcontrol"
version = "v3.0.2"
description = "Hubitat Maker API Interface"
authors = ["Jelloeater <[email protected]>"]
license = "MIT License"
readme = "README.md"
homepage = "https://pypi.org/project/hubitatcontrol"
repository = "https://github.com/Jelloeater/hubitatcontrol"
documentation = "https://github.com/Jelloeater/hubitatcontrol/tree/main/docs"
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]
hubitatcontrol = "hubitatcontrol.__main__:app"
[tool.poetry.dependencies]
python = "^3.10"
requests = "2.32.3"
typer = "*"
prettytable = "*"
keyring = "^23.13.1"
[tool.pytest.ini_options]
pythonpath = ["."]
testpaths = "test/"
log_cli = true
log_cli_level = "DEBUG"
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.coverage.run]
omit = [
"tests/*",
]
[tool.black]
line-length = 120
skip-string-normalization = true
[tool.flake8]
exclude =['./tests']
max-line-length = 120
count = false
statistics = true
diff = true
format = "pylint"
[tool.autoflake]
check = true
in-place = true
expand-star-imports = false
remove-unused-variables = true
remove-duplicate-keys = true
ignore-init-module-imports = false
recursive = true
[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'},
]
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 = 'index\.rst', pattern = '.'},
{path-pattern = 'techstack\.yml', pattern = '.'},
{path-pattern = 'techstack\.md', pattern = '.'},
]
[tool.poetry.group.test.dependencies]
setuptools = "*"
pytest = "*"
pytest-cov = "*"
python-dotenv = "*"
[tool.poetry.group.dev.dependencies]
pytest-pycharm = "*"
autoflake = "*"
pre-commit = "*"
vulture = "*"
isort = "*"
xenon = "*"
black = "*"
typing_extensions ="*"
#typeguard ="*" # Typing
#mypy = "*" # Typing
pdoc3 = "*"
pylint = "*"
bandit = "*"
whispers = "*"
mdformat-gfm ="*"
mdformat-frontmatter ="*"
flake8 = "*"
Flake8-pyproject="*"
tartufo="*"
mdToRst = "*"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"