We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9abf83 commit 310493bCopy full SHA for 310493b
wpiformat/wpiformat/test/tasktest.py
@@ -5,6 +5,7 @@
5
import os
6
import sys
7
8
+from .tempdir import *
9
from wpiformat.config import Config
10
11
@@ -75,6 +76,10 @@ def run(self, output_type):
75
76
"""
77
assert len(self.inputs) == len(self.outputs)
78
79
+ # Create git repo to test each task
80
+ with OpenTemporaryDirectory():
81
+ subprocess.run(["git", "init", "-q"])
82
+
83
config_file = Config(os.path.abspath(os.getcwd()), ".styleguide")
84
85
for i in range(len(self.inputs)):
0 commit comments