Skip to content

Commit e8e7b96

Browse files
committed
remove pylint suppress dangerous-default-value
With pylint 3.0.0 and later, this is not necessary and causes src/packagename/cli.py:98:0: I0021: Useless suppression of 'dangerous-default-value' (useless-suppression) This still seems dangerous to me, but I'm unable to bisect the issue and don't have time to investigate further. Signed-off-by: Kevin Locke <[email protected]>
1 parent c415e35 commit e8e7b96

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/packagename/cli.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ def _build_argument_parser(**kwargs: Any) -> argparse.ArgumentParser:
9494
return parser
9595

9696

97-
# pylint: disable-next=dangerous-default-value
9897
def main(argv: Sequence[str] = sys.argv) -> int:
9998
"""
10099
Entry point for packagename command-line tool.

0 commit comments

Comments
 (0)