Skip to content
This repository was archived by the owner on Apr 13, 2023. It is now read-only.

Commit ecbad53

Browse files
author
Thiago C. D'Ávila
authored
Merge pull request #74 from staticdev/darglint-fix
Darglint fix
2 parents a8e5265 + e69bac8 commit ecbad53

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

.flake8

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ max-line-length = 80
55
max-complexity = 10
66
docstring-convention = google
77
per-file-ignores = tests/*:S101
8+
; darglint
9+
strictness = short

noxfile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ def precommit(session: Session) -> None:
170170
install(
171171
session,
172172
"black",
173+
"darglint",
173174
"flake8",
174175
"flake8-bandit",
175176
"flake8-bugbear",

src/git_portfolio/local_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def checkout(self, git_selected_repos: List[str], args: Tuple[str]) -> str:
1313
"""Batch `git checkout` command.
1414
1515
Args:
16-
github_selected_repos: list of configured repo names.
16+
git_selected_repos: list of configured repo names.
1717
args (Tuple[str]): command arguments.
1818
1919
Returns:

0 commit comments

Comments
 (0)