Skip to content

Commit d6e7923

Browse files
committed
Update ruff config to match pydocstyle
1 parent b5b2718 commit d6e7923

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ lines-between-types = 1 # Separate import/from with 1 line
332332
"_version.py" = ["SIM108"]
333333

334334
[tool.ruff.lint.pydocstyle]
335-
convention = "pep257"
335+
convention = "google"
336336

337337
[tool.setuptools.dynamic]
338338
dependencies = {file = [".config/requirements.in"]}

src/ansible_dev_environment/subcommands/installer.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ def _find_files_using_git_ls_files(
253253
254254
Args:
255255
local_repo_path: The collection local path.
256+
256257
Returns:
257258
string with the command used to list files or None
258259
string containing a list of files or nothing
@@ -284,6 +285,7 @@ def _find_files_using_ls(
284285
285286
Args:
286287
local_repo_path: The collection local path.
288+
287289
Returns:
288290
string with the command used to list files or None
289291
string containing a list of files or nothing

src/ansible_dev_environment/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,7 @@ def collections_meta(config: Config) -> dict[str, dict[str, Any]]:
338338
339339
Args:
340340
config: The configuration object.
341+
341342
Returns:
342343
A dictionary of metadata about installed collections.
343344
"""

0 commit comments

Comments
 (0)