aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/deps/pybind11/remove_comments.py
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/deps/pybind11/remove_comments.py')
-rw-r--r--host/lib/deps/pybind11/remove_comments.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/host/lib/deps/pybind11/remove_comments.py b/host/lib/deps/pybind11/remove_comments.py
index 987c41e9d..1cc60ef35 100644
--- a/host/lib/deps/pybind11/remove_comments.py
+++ b/host/lib/deps/pybind11/remove_comments.py
@@ -34,9 +34,7 @@ def comment_remover(text):
def remove_trailing_whitespace(text):
""" Remove, uh, trailing whitespace. """
- pattern = re.compile(r' +$',
- re.DOTALL | re.MULTILINE
- )
+ pattern = re.compile(r' +$', re.DOTALL | re.MULTILINE)
return re.sub(pattern, '', text)