Skip to content

Commit 64321a9

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 788a962 commit 64321a9

1 file changed

Lines changed: 27 additions & 27 deletions

File tree

pyproject.toml

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,13 @@ urls.Changelog = "https://github.com/cloud-py-api/nc_py_api/blob/main/CHANGELOG.
8181
urls.Source = "https://github.com/cloud-py-api/nc_py_api"
8282

8383
[tool.hatch]
84+
version.path = "nc_py_api/_version.py"
8485
build.targets.sdist.include = [
85-
"/nc_py_api",
8686
"/CHANGELOG.md",
87+
"/nc_py_api",
8788
"/README.md",
8889
]
8990
build.targets.sdist.exclude = []
90-
version.path = "nc_py_api/_version.py"
9191

9292
[tool.black]
9393
line-length = 120
@@ -159,60 +159,60 @@ lint.mccabe.max-complexity = 16
159159
profile = "black"
160160

161161
[tool.pylint]
162-
master.py-version = "3.10"
163162
master.extension-pkg-allow-list = [
164163
"pydantic",
165164
]
166-
design.max-locals = 20
167-
design.max-branches = 16
168-
design.max-returns = 8
169-
design.max-args = 10
165+
master.py-version = "3.10"
166+
messages_control.disable = [
167+
"line-too-long",
168+
"missing-class-docstring",
169+
"missing-function-docstring",
170+
"too-few-public-methods",
171+
"too-many-instance-attributes",
172+
"too-many-positional-arguments",
173+
"too-many-public-methods",
174+
]
175+
reports.output-format = "colorized"
170176
basic.good-names = [
177+
"_",
171178
"a",
172179
"b",
173180
"c",
174181
"d",
175182
"e",
183+
"ex",
176184
"f",
185+
"fp",
177186
"i",
187+
"im",
178188
"j",
179189
"k",
180-
"r",
181-
"v",
182-
"ex",
183-
"_",
184-
"fp",
185-
"im",
186190
"nc",
191+
"r",
187192
"ui",
193+
"v",
188194
]
189-
reports.output-format = "colorized"
195+
design.max-args = 10
196+
design.max-branches = 16
197+
design.max-locals = 20
198+
design.max-returns = 8
190199
similarities.ignore-imports = "yes"
191200
similarities.min-similarity-lines = 10
192-
messages_control.disable = [
193-
"missing-class-docstring",
194-
"missing-function-docstring",
195-
"line-too-long",
196-
"too-few-public-methods",
197-
"too-many-public-methods",
198-
"too-many-instance-attributes",
199-
"too-many-positional-arguments",
200-
]
201201

202202
[tool.pytest]
203203
ini_options.minversion = "6.0"
204204
ini_options.testpaths = [
205205
"tests",
206206
"tests_unit",
207207
]
208-
ini_options.filterwarnings = [
209-
"ignore::DeprecationWarning",
210-
]
211-
ini_options.log_cli = true
212208
ini_options.addopts = "-rs --color=yes"
213209
ini_options.markers = [
214210
"require_nc: marks a test that requires a minimum version of Nextcloud.",
215211
]
212+
ini_options.filterwarnings = [
213+
"ignore::DeprecationWarning",
214+
]
215+
ini_options.log_cli = true
216216
ini_options.asyncio_mode = "auto"
217217

218218
[tool.coverage]

0 commit comments

Comments
 (0)