-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
170 lines (151 loc) · 3.68 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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
[project]
authors = [
{name = "bugficks"},
]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
]
dependencies = [
"bleak>=0.22.3",
"click>=8.1.7",
"garminconnect>=0.2.25",
"httpx[http2,cli,brotli]>=0.28.1",
"inquirer>=3.4.0",
"json5>=0.10.0",
"python-dateutil>=2.9.0.post0",
"pytz>=2024.2",
]
description = "Sync blood pressure and weight measurements from OMRON connect to Garmin Connect"
dynamic = ["version"]
keywords = ["garmin connect", "garmin", "omron", "omron connect", "sync"]
license = {file = "LICENSE"}
name = "omramin"
readme = "README.md"
requires-python = ">=3.11"
#version = "0.1.1"
[project.urls]
"Bug Tracker" = "https://github.com/bugficks/omramin/issues"
#"Changelog" = "https://github.com/bugficks/omramin/blob/master/CHANGELOG.md"
#"Documentation" = "https://github.com/bugficks/omramin/blob/master/README.md"
"Homepage" = "https://github.com/bugficks/omramin"
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=64"] #, "setuptools-scm > 8"]
[tool.setuptools.dynamic]
version = {attr = "omramin.__version__"}
[tool.setuptools_scm]
[tool.setuptools.packages.find]
exclude = [] # exclude packages matching these glob patterns (empty by default)
include = ["omramin"] # package names should match these glob patterns (["*"] by default)
namespaces = false # to disable scanning PEP 420 namespaces (true by default)
where = ["."] # list of folders that contain the packages (["."] by default)
[project.scripts]
omramin = "omramin:cli"
[tool.setuptools]
py-modules = ["omramin", "omronconnect", "utils", "regionserver"]
# [tool.distutils.egg_info]
# egg_base = "build"
########################################################################################################################
[tool.pylint.main]
# make pylint ignore tool.ruff settings
disable = ["unrecognized-option"]
ignore = [
".git",
".*_cache",
"__pycache__",
".venv",
".info",
".other",
".debug",
".vscode",
"pyproject.toml",
]
[tool.pylint.messages_control]
disable = [
"C0103", # doesn't conform to snake_case naming style (invalid-name)
"C0114", # missing-module-docstring
"C0115", # missing-class-docstring
"C0116", # missing-function-docstring
"W1203", # Use lazy % formatting in logging functions (logging-fstring-interpolation)
]
[tool.ruff]
exclude = [
".git",
".*_cache",
"__pycache__",
".venv",
".info",
".other",
".debug",
".vscode",
]
indent-width = 4
line-length = 120
[tool.mypy]
exclude = [
".git",
".*_cache",
"__pycache__",
".venv",
".info",
".other",
".debug",
".vscode",
]
[[tool.mypy.overrides]]
ignore_missing_imports = true
module = [
"pytz",
"garminconnect",
"inquirer",
"python-dateutil",
"dateutil",
"dateutil.parser",
]
[tool.flake8]
exclude = [
".git",
".*_cache",
"__pycache__",
".venv",
".info",
".other",
".debug",
".vscode",
]
extend-ignore = []
# E402 - module level import not at top of file
count = true
ignore = "E402"
max-complexity = 15
max-line-length = 120
[tool.isort]
force_grid_wrap = 0
include_trailing_comma = true
line_length = 120
multi_line_output = 3
skip_gitignore = true
skip_glob = [
".git",
".*_cache",
"__pycache__",
".venv",
".info",
".other",
".debug",
".vscode",
]
use_parentheses = true
[tool.black]
line-length = 120
[tool.pylint.logging]
# The type of string formatting that logging methods do. `old` means using %
# formatting, `new` is for `{}` formatting.
logging-format-style = "new"
[tool.pylint.format]
indent-width = 4
max-line-length = 120