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 0f722a0 commit 5f95b46Copy full SHA for 5f95b46
wpiformat/wpiformat/test/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
@@ -68,6 +69,10 @@ def run(self, output_type):
68
69
"""
70
assert len(self.inputs) == len(self.outputs)
71
72
+ # Create git repo to test each task
73
+ with OpenTemporaryDirectory():
74
+ subprocess.run(["git", "init", "-q"])
75
+
76
config_file = Config(os.path.abspath(os.getcwd()), ".styleguide")
77
78
for i in range(len(self.inputs)):
0 commit comments