Modifies strings to all use the same (single/double) quote where possible.


Keywords
strings, formatter, style, python
License
Saxpath
Install
pip install unify==0.5

Documentation

unify

Build status

Modifies strings to all use the same quote where possible.

Example

After running:

$ unify --in-place example.py

this code

x = "abc"
y = 'hello'

gets formatted into this

x = 'abc'
y = 'hello'