We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cecaa1f commit 48d01caCopy full SHA for 48d01ca
pre_commit_hooks/yamlfmt.py
@@ -120,6 +120,7 @@ class Formatter:
120
"""
121
122
def __init__(self, **kwargs):
123
+ """Initialize the formatter."""
124
yaml = YAML()
125
yaml.indent(
126
mapping=kwargs.get("mapping", DEFAULT_INDENT["mapping"]),
@@ -178,7 +179,7 @@ def fail(msg):
178
179
180
181
def main():
- """Main."""
182
+ """Fit formatter."""
183
args = Cli().parser.parse_args()
184
formatter = Formatter(
185
mapping=args.mapping,
0 commit comments