Skip to content

Commit 2152e3d

Browse files
committed
Remove redundant spaces from Python files
1 parent f50cb19 commit 2152e3d

File tree

558 files changed

+11141
-11370
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

558 files changed

+11141
-11370
lines changed

setup.py

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@
3535
def get_python_toolbox_packages():
3636
'''
3737
Get all the packages in `python_toolbox`.
38-
38+
3939
Returns something like:
40-
40+
4141
['python_toolbox', 'python_toolbox.caching',
4242
'python_toolbox.nifty_collections', ... ]
43-
43+
4444
'''
4545
return ['python_toolbox.' + p for p in
4646
setuptools.find_packages('%s/python_toolbox' % source_folder)] + \
@@ -50,12 +50,12 @@ def get_python_toolbox_packages():
5050
def get_test_python_toolbox_packages():
5151
'''
5252
Get all the packages in `test_python_toolbox`.
53-
53+
5454
Returns something like:
55-
55+
5656
['test_python_toolbox', 'test_python_toolbox.test_caching',
5757
'test_python_toolbox.test_nifty_collections', ... ]
58-
58+
5959
'''
6060
return ['test_python_toolbox.' + p for p in
6161
setuptools.find_packages('%s/test_python_toolbox'
@@ -66,12 +66,12 @@ def get_test_python_toolbox_packages():
6666
def get_packages():
6767
'''
6868
Get all the packages in `python_toolbox` and `test_python_toolbox`.
69-
69+
7070
Returns something like:
71-
71+
7272
['test_python_toolbox', 'python_toolbox', 'python_toolbox.caching',
7373
'test_python_toolbox.test_nifty_collections', ... ]
74-
74+
7575
'''
7676
return get_python_toolbox_packages() + get_test_python_toolbox_packages()
7777

@@ -84,19 +84,19 @@ def get_packages():
8484
8585
- ``python_toolbox.caching``: Tools for caching functions, class instances and
8686
properties.
87-
87+
8888
- ``python_toolbox.cute_iter_tools``: Tools for manipulating iterables. Adds
8989
useful functions not found in Python's built-in ``itertools``.
90-
90+
9191
- ``python_toolbox.context_management``: Pimping up your context managers.
92-
92+
9393
- ``python_toolbox.emitting``: A publisher-subscriber framework that doesn't
9494
abuse strings.
95-
95+
9696
- And many, *many* more! The Python Toolbox contains **100+** useful
9797
little tools.
9898
99-
99+
100100
Documentation: http://python-toolbox.readthedocs.io
101101
102102
Python Toolbox on GitHub: https://github.com/cool-RR/python_toolbox
@@ -134,17 +134,17 @@ def get_packages():
134134
135135
-------------------------------------------------------
136136
137-
The Python Toolbox was created by Ram Rachum. I provide
137+
The Python Toolbox was created by Ram Rachum. I provide
138138
`Development services in Python and Django <https://chipmunkdev.com>`_.
139139
140140
141141
'''
142142

143143
my_classifiers = [
144144
'Development Status :: 3 - Alpha',
145-
'Intended Audience :: Developers',
145+
'Intended Audience :: Developers',
146146
'License :: OSI Approved :: MIT License',
147-
'Operating System :: OS Independent',
147+
'Operating System :: OS Independent',
148148
'Programming Language :: Python',
149149
'Programming Language :: Python :: 2.6',
150150
'Programming Language :: Python :: 2.7',
@@ -156,7 +156,7 @@ def get_packages():
156156

157157

158158
install_requires = ['setuptools']
159-
159+
160160

161161
setuptools.setup(
162162
name='python_toolbox',
@@ -168,15 +168,15 @@ def get_packages():
168168
description='A collection of Python tools for various tasks',
169169
author='Ram Rachum',
170170
author_email='ram@rachum.com',
171-
package_dir={'': source_folder},
171+
package_dir={'': source_folder},
172172
packages=get_packages(),
173173
scripts=['%s/test_python_toolbox/scripts/_test_python_toolbox.py'
174174
% source_folder],
175175
entry_points={
176176
'console_scripts': [
177177
'_test_python_toolbox = test_python_toolbox:invoke_nose',
178178
],
179-
},
179+
},
180180
long_description=my_long_description,
181181
license='MIT',
182182
classifiers=my_classifiers,

source_py2/python_toolbox/abc_tools.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@
77
class AbstractStaticMethod(staticmethod):
88
'''
99
A combination of `abc.abstractmethod` and `staticmethod`.
10-
10+
1111
A method which (a) doesn't take a `self` argument and (b) must be
1212
overridden in any subclass if you want that subclass to be instanciable.
13-
13+
1414
This class is good only for documentation; it doesn't enforce overriding
1515
methods to be static.
1616
'''
1717
__slots__ = ()
1818
__isabstractmethod__ = True
19-
19+
2020
def __init__(self, function):
2121
super(AbstractStaticMethod, self).__init__(function)
2222
function.__isabstractmethod__ = True

source_py2/python_toolbox/address_tools/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
'[1, 2, {3: 4}]'
1818
>>> address_tools.resolve('{email.encoders: 1}')
1919
{<module 'email.encoders' from 'c:\Python27\lib\email\encoders.pyc'>: 1}
20-
20+
2121
'''
2222

2323

0 commit comments

Comments
 (0)