You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.0 KiB
52 lines
1.0 KiB
4 years ago
|
Metadata-Version: 2.1
|
||
|
Name: unify
|
||
|
Version: 0.5
|
||
|
Summary: Modifies strings to all use the same (single/double) quote where possible.
|
||
|
Home-page: https://github.com/myint/unify
|
||
|
Author: Steven Myint
|
||
|
Author-email: UNKNOWN
|
||
|
License: Expat License
|
||
|
Keywords: strings,formatter,style
|
||
|
Platform: UNKNOWN
|
||
|
Classifier: Intended Audience :: Developers
|
||
|
Classifier: Environment :: Console
|
||
|
Classifier: Programming Language :: Python :: 2.6
|
||
|
Classifier: Programming Language :: Python :: 2.7
|
||
|
Classifier: Programming Language :: Python :: 3
|
||
|
Classifier: License :: OSI Approved :: MIT License
|
||
|
Requires-Dist: untokenize
|
||
|
|
||
|
=====
|
||
|
unify
|
||
|
=====
|
||
|
|
||
|
.. image:: https://travis-ci.org/myint/unify.svg?branch=master
|
||
|
:target: https://travis-ci.org/myint/unify
|
||
|
:alt: Build status
|
||
|
|
||
|
Modifies strings to all use the same quote where possible.
|
||
|
|
||
|
|
||
|
Example
|
||
|
=======
|
||
|
|
||
|
After running::
|
||
|
|
||
|
$ unify --in-place example.py
|
||
|
|
||
|
this code
|
||
|
|
||
|
.. code-block:: python
|
||
|
|
||
|
x = "abc"
|
||
|
y = 'hello'
|
||
|
|
||
|
gets formatted into this
|
||
|
|
||
|
.. code-block:: python
|
||
|
|
||
|
x = 'abc'
|
||
|
y = 'hello'
|
||
|
|
||
|
|