Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 549 Bytes

README.rst

File metadata and controls

35 lines (23 loc) · 549 Bytes

unify

Build status

Modifies strings to all use the same quote where possible.

Example

After running:

$ unify --in-place example.py

this code

a = "abc"
b = 'hello'
c = 'this \' is quote'
d = 'this " is another quote'

gets formatted into this

a = 'abc'
b = 'hello'
c= "this ' is quote"
d = 'this " is another quote'