mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-04 12:16:53 +00:00
Add typings to ConfigFileFinder constructor
`OptionManager.parse_known_args()` is guaranteed to return a list of remaining argument strings.
This commit is contained in:
parent
45ad2faf8f
commit
c2216c0ddf
2 changed files with 7 additions and 6 deletions
|
|
@ -17,6 +17,7 @@ class ConfigFileFinder(object):
|
|||
"""Encapsulate the logic for finding and reading config files."""
|
||||
|
||||
def __init__(self, program_name, args, extra_config_files):
|
||||
# type: (str, List[str], List[str]) -> None
|
||||
"""Initialize object to find config files.
|
||||
|
||||
:param str program_name:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue