From 77957317eae1a10dbabc338b03d0368d6bbb77c6 Mon Sep 17 00:00:00 2001 From: Michael Morgan Date: Mon, 9 Jan 2023 17:22:35 -0500 Subject: [PATCH] fix: pydocstyle kwargs #232 --- pylama/lint/pylama_pydocstyle.py | 4 ++-- setup.cfg | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pylama/lint/pylama_pydocstyle.py b/pylama/lint/pylama_pydocstyle.py index 8af255e..1e261e3 100644 --- a/pylama/lint/pylama_pydocstyle.py +++ b/pylama/lint/pylama_pydocstyle.py @@ -33,8 +33,8 @@ def run_check(self, ctx: RunContext): # noqa for err in PyDocChecker().check_source( ctx.source, ctx.filename, - params.get("ignore_decorators"), - params.get("ignore_inline_noqa", False), + ignore_decorators=params.get("ignore_decorators"), + ignore_inline_noqa=params.get("ignore_inline_noqa", False), ): if convention_codes is None or err.code in convention_codes: ctx.push( diff --git a/setup.cfg b/setup.cfg index d7f4683..1e404be 100644 --- a/setup.cfg +++ b/setup.cfg @@ -74,6 +74,8 @@ ignore = D,C,W,E1103 [mypy] ignore_missing_imports = True +no_implicit_optional = False +disable_error_code = annotation-unchecked [tox:tox] envlist = py37,py38,py39,py310