Skip to content

Commit 48d01ca

Browse files
DanielaRueckerDanielaRuecker
authored andcommitted
chore: REALLY pass code quality checks 2.0
1 parent cecaa1f commit 48d01ca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pre_commit_hooks/yamlfmt.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ class Formatter:
120120
"""
121121

122122
def __init__(self, **kwargs):
123+
"""Initialize the formatter."""
123124
yaml = YAML()
124125
yaml.indent(
125126
mapping=kwargs.get("mapping", DEFAULT_INDENT["mapping"]),
@@ -178,7 +179,7 @@ def fail(msg):
178179

179180

180181
def main():
181-
"""Main."""
182+
"""Fit formatter."""
182183
args = Cli().parser.parse_args()
183184
formatter = Formatter(
184185
mapping=args.mapping,

0 commit comments

Comments
 (0)