We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30dbe39 commit ac506f1Copy full SHA for ac506f1
src/tf_pre_commit/fmt.py
@@ -2,6 +2,8 @@
2
3
"""Main module for tf-pre-commit"""
4
5
+from __future__ import annotations
6
+
7
# Import builtin python libraries
8
import argparse
9
import os
@@ -15,7 +17,7 @@
15
17
__email__ = "dalwar23@pm.me"
16
18
19
-def _option_parser(options_to_parse: str) -> list[str] | None:
20
+def _option_parser(options_to_parse: str | None = None) -> list[str] | None:
21
"""
22
Parse provided options and generate less error-prone options string
23
:param options_to_parse: (str | LiteralString) Global options or options to parse
0 commit comments