Use variable annotations everywhere (#2909)

This commit is contained in:
Michael Lee
2019-04-13 01:40:52 -07:00
committed by Sebastian Rittau
parent b3c76aab49
commit efb67946f8
458 changed files with 9135 additions and 9135 deletions

View File

@@ -189,43 +189,43 @@ class NoSectionError(Error): ...
class DuplicateSectionError(Error):
section = ... # type: str
source = ... # type: Optional[str]
lineno = ... # type: Optional[int]
section: str
source: Optional[str]
lineno: Optional[int]
class DuplicateOptionError(Error):
section = ... # type: str
option = ... # type: str
source = ... # type: Optional[str]
lineno = ... # type: Optional[int]
section: str
option: str
source: Optional[str]
lineno: Optional[int]
class NoOptionError(Error):
section = ... # type: str
option = ... # type: str
section: str
option: str
class InterpolationError(Error):
section = ... # type: str
option = ... # type: str
section: str
option: str
class InterpolationDepthError(InterpolationError): ...
class InterpolationMissingOptionError(InterpolationError):
reference = ... # type: str
reference: str
class InterpolationSyntaxError(InterpolationError): ...
class ParsingError(Error):
source = ... # type: str
errors = ... # type: Sequence[Tuple[int, str]]
source: str
errors: Sequence[Tuple[int, str]]
class MissingSectionHeaderError(ParsingError):
lineno = ... # type: int
line = ... # type: str
lineno: int
line: str