mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-06 21:16:54 +00:00
Fix mypy issues.
This commit is contained in:
parent
6e055c0a1b
commit
8452b77c15
1 changed files with 2 additions and 2 deletions
|
|
@ -21,7 +21,7 @@ def handle_option_data(data):
|
|||
|
||||
|
||||
def handle_toml_data(config, section, data):
|
||||
# type: (configparse.RawConfgParser, Any, Any) -> None
|
||||
# type: (configparser.RawConfigParser, Any, Any) -> None
|
||||
if isinstance(data, dict):
|
||||
for option_or_section, nested_data in data.items():
|
||||
if isinstance(nested_data, dict):
|
||||
|
|
@ -42,7 +42,7 @@ def handle_toml_data(config, section, data):
|
|||
|
||||
|
||||
def toml_shim(config, toml_file):
|
||||
# type: (configparse.RawConfgParser, str) -> List[str]
|
||||
# type: (configparser.RawConfigParser, str) -> List[str]
|
||||
"""Reads a toml version of flake8's configuration file.
|
||||
|
||||
This method only supports flake8 nested configs of max depth 2.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue