From 6fd6194c7bbd629b18a7bcd7a4a38a57f128b451 Mon Sep 17 00:00:00 2001 From: Andrea Mignone <14820600+floatingpurr@users.noreply.github.com> Date: Mon, 12 Sep 2022 18:41:11 +0200 Subject: [PATCH] Fix docstring of PoetryItems --- sync_with_poetry/swp.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sync_with_poetry/swp.py b/sync_with_poetry/swp.py index bda7660..9203759 100644 --- a/sync_with_poetry/swp.py +++ b/sync_with_poetry/swp.py @@ -41,8 +41,10 @@ def __init__( all (Optional[bool], optional): Set to True to consider all dependencies. Set to False for dev dependencies only. Defaults to False. - skip (Optional[list], optional): A list of packages to skip. Such packages won't be synchronized in .pre-commit-config.yaml. + skip (Optional[list], optional): A list of packages to skip. Such packages won't + be synchronized in .pre-commit-config.yaml. Defaults to []. + db (Dict[str, Dict[str, str]], optional): A package-repo mapping. Defaults to DEPENDENCY_MAPPING. """ self._poetry_list = []