Skip to content

Commit 6933aea

Browse files
committed
Apply changes from black v24. This will avoid CI errors as it installs the latest version of Black.
1 parent d1e1bf5 commit 6933aea

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ tags
4343
# virtual environments
4444
venv*
4545
env*
46+
.python-version
4647

4748
*.sublime-workspace
4849

green/process.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ def _repopulate_pool_static(
146146
util.debug("added worker")
147147

148148

149-
150149
import multiprocessing.pool
151150
from multiprocessing import util # type: ignore
152151
from multiprocessing.pool import MaybeEncodingError # type: ignore

green/test/test_runner.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ def test_verbose3(self):
141141
"""
142142
self.args.verbose = 3
143143
sub_tmpdir = pathlib.Path(tempfile.mkdtemp(dir=self.tmpdir))
144-
content = dedent("""
144+
content = dedent(
145+
"""
145146
import unittest
146147
class Verbose3(unittest.TestCase):
147148
def test01(self):
@@ -400,7 +401,9 @@ class A(unittest.TestCase):
400401
def testPasses(self):
401402
pass"""
402403
)
403-
(sub_tmpdir / "test_detectNumProcesses.py").write_text(content, encoding="utf-8")
404+
(sub_tmpdir / "test_detectNumProcesses.py").write_text(
405+
content, encoding="utf-8"
406+
)
404407
# Load the tests
405408
os.chdir(self.tmpdir)
406409
try:

0 commit comments

Comments
 (0)