Skip to content

Commit ed9328a

Browse files
Fix spelling v2
1 parent ac1dc51 commit ed9328a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pylint/config/config_file_parser.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class _RawConfParser:
3030
def parse_ini_file(file_path: Path) -> tuple[dict[str, str], list[str]]:
3131
"""Parse and handle errors of an ini configuration file.
3232
33-
Raises 'configparser.Error'.
33+
Raises ``configparser.Error``.
3434
"""
3535
parser = configparser.ConfigParser(inline_comment_prefixes=("#", ";"))
3636
# Use this encoding in order to strip the BOM marker, if any.
@@ -61,7 +61,7 @@ def _ini_file_with_sections(file_path: Path) -> bool:
6161
def parse_toml_file(file_path: Path) -> tuple[dict[str, str], list[str]]:
6262
"""Parse and handle errors of a toml configuration file.
6363
64-
Raises 'tomllib.TOMLDecodeError'.
64+
Raises ``tomllib.TOMLDecodeError``.
6565
"""
6666
with open(file_path, mode="rb") as fp:
6767
content = tomllib.load(fp)
@@ -90,7 +90,7 @@ def parse_config_file(
9090
) -> tuple[dict[str, str], list[str]]:
9191
"""Parse a config file and return str-str pairs.
9292
93-
Raises 'tomllib.TOMLDecodeError', 'configparser.Error'.
93+
Raises ``tomllib.TOMLDecodeError``, ``configparser.Error``.
9494
"""
9595
if file_path is None:
9696
if verbose:

0 commit comments

Comments
 (0)