diff --git a/pyupgrade.py b/pyupgrade.py
index 54bbe0d..8b47463 100644
--- a/pyupgrade.py
+++ b/pyupgrade.py
@@ -1558,7 +1558,7 @@ class FindPy3Plus(ast.NodeVisitor):
         elif (
                 isinstance(self._previous_node, ast.Expr) and
                 self._is_six(node.func, ('reraise',)) and
-                not _starargs(node) or self._is_star_sys_exc_info(node)
+                (not _starargs(node) or self._is_star_sys_exc_info(node))
         ):
             self.six_reraise.add(_ast_to_offset(node))
         elif (

diff --git a/tests/six_test.py b/tests/six_test.py
index 0a973c0..9ddffd7 100644
--- a/tests/six_test.py
+++ b/tests/six_test.py
@@ -41,6 +41,7 @@ from pyupgrade import _fix_py3_plus
             'isinstance("foo", text_type)\n',
             id='relative import might not be six',
         ),
+        ('traceback.format_exc(*sys.exc_info())'),
     ),
 )
 def test_fix_six_noop(s):

exception stack trace is replaced by a bare `raise`
With python 3.7.4, the formatted exception stack trace will be replaced by a bare `raise`, and then make a syntax error.

But the strange thing is that this occurs only when the statement is executed in the pre-commit hook of git, the replacement disappears if the statement is executed directly.

```python
poetry run pyupgrade --py37-plus
```

- Before
 
```python
async def general_exception_handler(request: Request, exc: Exception):
    return JSONResponse(
        status_code=HTTP_500_INTERNAL_SERVER_ERROR,
        content={
            'request': f'{request.method} {request.url}',
            'message': str(exc),
            'detail': jsonable_encoder(traceback.format_exception(*sys.exc_info())),
        },
    )
```

- After

```python
async def general_exception_handler(request: Request, exc: Exception):
    return JSONResponse(
        status_code=HTTP_500_INTERNAL_SERVER_ERROR,
        content={
            'request': f'{request.method} {request.url}',
            'message': str(exc),
            # the exception stack info is replaced by a bare `raise`
            'detail': jsonable_encoder(raise),
        },
    )
```

tests/six_test.py::test_fix_six_noop[traceback.format_exc(*sys.exc_info())]
tests/six_test.py::test_fix_six_noop[x tests/six_test.py::test_fix_six_noop[from tests/six_test.py::test_fix_six_noop[@mydec\nclass tests/six_test.py::test_fix_six_noop[print(six.raise_from(exc, tests/six_test.py::test_fix_six_noop[print(six.b("\xa3"))] tests/six_test.py::test_fix_six_noop[print(six.b( tests/six_test.py::test_fix_six_noop[class tests/six_test.py::test_fix_six_noop[six.reraise(*err)] tests/six_test.py::test_fix_six_noop[six.b(*a)] tests/six_test.py::test_fix_six_noop[six.u(*a)] tests/six_test.py::test_fix_six_noop[@six.add_metaclass(*a)\nclass tests/six_test.py::test_fix_six_noop[(\n tests/six_test.py::test_fix_six_noop[next()] tests/six_test.py::test_fix_six_noop[relative tests/six_test.py::test_fix_six[isinstance(s, tests/six_test.py::test_fix_six[weird tests/six_test.py::test_fix_six[issubclass(tp, tests/six_test.py::test_fix_six[STRING_TYPES tests/six_test.py::test_fix_six[from tests/six_test.py::test_fix_six[six.b("123")-b"123"] tests/six_test.py::test_fix_six[six.b(r"123")-br"123"] tests/six_test.py::test_fix_six[six.b("\\x12\\xef")-b"\\x12\\xef"] tests/six_test.py::test_fix_six[six.ensure_binary("foo")-b"foo"] tests/six_test.py::test_fix_six[six.byte2int(b"f")-b"f"[0]] tests/six_test.py::test_fix_six[@six.python_2_unicode_compatible\nclass tests/six_test.py::test_fix_six[@six.python_2_unicode_compatible\n@other_decorator\nclass tests/six_test.py::test_fix_six[six.get_unbound_function(meth)\n-meth\n] tests/six_test.py::test_fix_six[six.indexbytes(bs, tests/six_test.py::test_fix_six[six.assertCountEqual(\n tests/six_test.py::test_fix_six[six.raise_from(exc, tests/six_test.py::test_fix_six[six.reraise(tp, tests/six_test.py::test_fix_six[six.reraise(*sys.exc_info())\n-raise\n] tests/six_test.py::test_fix_six[six.reraise(\n tests/six_test.py::test_fix_six[class tests/six_test.py::test_fix_six[elide tests/six_test.py::test_fix_six[basic tests/six_test.py::test_fix_six[add_metaclass, tests/six_test.py::test_fix_six[six.itervalues] tests/six_test.py::test_fix_six[six.itervalues tests/six_test.py::test_fix_base_classes[import tests/six_test.py::test_fix_base_classes[from tests/six_test.py::test_fix_base_classes[class