Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP7:Update
python-libcst
remove-ufmt-dep.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File remove-ufmt-dep.patch of Package python-libcst
Index: libcst-0.4.9/libcst/codegen/generate.py =================================================================== --- libcst-0.4.9.orig/libcst/codegen/generate.py +++ libcst-0.4.9/libcst/codegen/generate.py @@ -25,8 +25,10 @@ from libcst.codegen.transforms import ( def format_file(fname: str) -> None: - with open(os.devnull, "w") as devnull: - subprocess.check_call(["ufmt", "format", fname], stdout=devnull, stderr=devnull) + # Do not format to avoid ufmt dependency that's not yet in opensuse + pass + # with open(os.devnull, "w") as devnull: + # subprocess.check_call(["ufmt", "format", fname], stdout=devnull, stderr=devnull) def clean_generated_code(code: str) -> str:
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor