cooperlees

Black on python 202108

Aug 15th, 2021
446
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.70 KB | None | 0 0
  1. error: cannot format Lib/lib2to3/tests/data/different_encoding.py: cannot use --safe with this file; failed to parse source file.  AST error message: Missing parentheses in call to 'print'. Did you mean print(u'ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞ')? (<unknown>, line 3)
  2. error: cannot format Lib/lib2to3/tests/data/false_encoding.py: cannot use --safe with this file; failed to parse source file.  AST error message: Missing parentheses in call to 'print'. Did you mean print('#coding=0')? (<unknown>, line 2)
  3. error: cannot format Lib/lib2to3/tests/data/py2_test_grammar.py: cannot use --safe with this file; failed to parse source file.  AST error message: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers (<unknown>, line 31)
  4. error: cannot format Lib/test/bad_coding.py: unknown encoding: uft-8
  5. error: cannot format Lib/test/bad_coding2.py: encoding problem: utf-8
  6. error: cannot format Lib/test/badsyntax_3131.py: Cannot parse: 2:0: € = 2
  7. error: cannot format Lib/test/badsyntax_pep3120.py: invalid or missing encoding declaration
  8. error: cannot format Lib/test/test_base64.py: INTERNAL ERROR: Black produced invalid code on pass 1: invalid syntax (<unknown>, line 596). Please report a bug on https://github.com/psf/black/issues.  This invalid output might be helpful: /var/folders/y8/jx32nm1572v7qwnmgyk0gd7m0000gn/T/blk_f95woc3f.log
  9. error: cannot format Lib/test/test_exceptions.py: maximum recursion depth exceeded
  10. error: cannot format Lib/test/test_grammar.py: Cannot parse: 1841:22:             manager() as x
  11. error: cannot format Lib/test/test_named_expressions.py: Cannot parse: 331:21:         element = a[b:=0]
  12. error: cannot format Lib/test/test_patma.py: Cannot parse: 30:14:         match x:
  13. error: cannot format Lib/test/test_tokenize.py: INTERNAL ERROR: Black produced code that is not equivalent to the source on pass 1.  Please report a bug on https://github.com/psf/black/issues.  This diff might be helpful: /var/folders/y8/jx32nm1572v7qwnmgyk0gd7m0000gn/T/blk_vh3p_h17.log
  14. error: cannot format Lib/test/test_xml_etree.py: INTERNAL ERROR: Black produced invalid code on pass 1: f-string: unmatched '(' (<unknown>, line 4589). Please report a bug on https://github.com/psf/black/issues.  This invalid output might be helpful: /var/folders/y8/jx32nm1572v7qwnmgyk0gd7m0000gn/T/blk_2qs74aip.log
  15. error: cannot format Lib/traceback.py: Cannot parse: 26:24:         print(item, file=file, end="")
  16. error: cannot format Tools/c-analyzer/c_parser/parser/_delim.py: cannot use --safe with this file; failed to parse source file.  AST error message: f-string: empty expression not allowed (<unknown>, line 37)
Add Comment
Please, Sign In to add comment