Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (tb) crl-m1:sqlalchemy cooper$ black -v --color lib/sqlalchemy/event/legacy.py --experimental-string-processing
- Using configuration from /private/tmp/primer_20210503/sqlalchemy/pyproject.toml.
- Traceback (most recent call last):
- File "/Users/cooper/repos/black/src/black/__init__.py", line 770, in reformat_one
- if changed is not Changed.CACHED and format_file_in_place(
- File "/Users/cooper/repos/black/src/black/__init__.py", line 913, in format_file_in_place
- dst_contents = format_file_contents(src_contents, fast=fast, mode=mode)
- File "/Users/cooper/repos/black/src/black/__init__.py", line 1026, in format_file_contents
- dst_contents = format_str(src_contents, mode=mode)
- File "/Users/cooper/repos/black/src/black/__init__.py", line 1101, in format_str
- for line in transform_line(
- File "/Users/cooper/repos/black/src/black/__init__.py", line 2873, in transform_line
- result = run_transformer(line, transform, mode, features, line_str=line_str)
- File "/Users/cooper/repos/black/src/black/__init__.py", line 6902, in run_transformer
- result.extend(transform_line(transformed_line, mode=mode, features=features))
- File "/Users/cooper/repos/black/src/black/__init__.py", line 2873, in transform_line
- result = run_transformer(line, transform, mode, features, line_str=line_str)
- File "/Users/cooper/repos/black/src/black/__init__.py", line 6902, in run_transformer
- result.extend(transform_line(transformed_line, mode=mode, features=features))
- File "/Users/cooper/repos/black/src/black/__init__.py", line 2873, in transform_line
- result = run_transformer(line, transform, mode, features, line_str=line_str)
- File "/Users/cooper/repos/black/src/black/__init__.py", line 6898, in run_transformer
- for transformed_line in transform(line, features):
- File "/Users/cooper/repos/black/src/black/__init__.py", line 2970, in __call__
- for line_result in self.do_transform(line, string_idx):
- File "/Users/cooper/repos/black/src/black/__init__.py", line 4488, in do_transform
- assert (
- AssertionError: Apparently, old parentheses do NOT exist?!
- error: cannot format lib/sqlalchemy/event/legacy.py: Apparently, old parentheses do NOT exist?!
- Oh no! 💥 💔 💥
- 1 file failed to reformat.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement