mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-12 15:44:17 +00:00
Add docstring for our test helper
This commit is contained in:
parent
e2b8fbd3a7
commit
5cde4bebae
1 changed files with 1 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ import pytest
|
||||||
|
|
||||||
|
|
||||||
def options_from(**kwargs):
|
def options_from(**kwargs):
|
||||||
|
"""Generate a Values instances with our kwargs."""
|
||||||
kwargs.setdefault('hang_closing', True)
|
kwargs.setdefault('hang_closing', True)
|
||||||
kwargs.setdefault('max_line_length', 79)
|
kwargs.setdefault('max_line_length', 79)
|
||||||
kwargs.setdefault('verbose', False)
|
kwargs.setdefault('verbose', False)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue