snippet_fmt.formatters
¶
Formatters and syntax checkers.
Classes:
|
Functions:
|
Check the syntax of, and reformat, the given INI configuration. |
|
Check the syntax of, and reformat, the given JSON source. |
|
Check the syntax of, and reformat, the given Python code. |
|
Check the syntax of, and reformat, the given TOML configuration. |
|
A no-op formatter. |
-
protocol
Formatter
[source]¶ Bases:
Protocol
typing.Protocol
for formatter functions.Classes that implement this protocol must have the following methods / attributes: