From 0ea83fce7ddd0b4568b8c11243a40a1ce7f219cf Mon Sep 17 00:00:00 2001
From: Piotr Maslanka <piotr.maslanka@henrietta.com.pl>
Date: Sat, 7 Oct 2017 23:25:56 +0200
Subject: [PATCH] linelen

---
 docs/conf.py                          |  8 --------
 docs/index.rst                        | 20 ++++++++++----------
 satella/instrumentation/trace_back.py |  4 ++--
 setup.py                              |  8 ++++----
 4 files changed, 16 insertions(+), 24 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index edcb71fe..a23c1972 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -81,7 +81,6 @@ pygments_style = 'sphinx'
 # If true, `todo` and `todoList` produce output, else they produce nothing.
 todo_include_todos = False
 
-
 # -- Options for HTML output ----------------------------------------------
 
 # The theme to use for HTML and HTML Help pages.  See the documentation for
@@ -100,13 +99,11 @@ html_theme = 'alabaster'
 # so a file named "default.css" will overwrite the builtin "default.css".
 html_static_path = ['_static']
 
-
 # -- Options for HTMLHelp output ------------------------------------------
 
 # Output file base name for HTML help builder.
 htmlhelp_basename = 'satelladoc'
 
-
 # -- Options for LaTeX output ---------------------------------------------
 
 latex_elements = {
@@ -135,7 +132,6 @@ latex_documents = [
      u'Piotr Maslanka', 'manual'),
 ]
 
-
 # -- Options for manual page output ---------------------------------------
 
 # One entry per manual page. List of tuples
@@ -145,7 +141,6 @@ man_pages = [
      [author], 1)
 ]
 
-
 # -- Options for Texinfo output -------------------------------------------
 
 # Grouping the document tree into Texinfo files. List of tuples
@@ -156,6 +151,3 @@ texinfo_documents = [
      author, 'satella', 'One line description of project.',
      'Miscellaneous'),
 ]
-
-
-
diff --git a/docs/index.rst b/docs/index.rst
index 91f0da56..596fb06c 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -2,17 +2,17 @@ Welcome to satella's documentation!
 ===================================
 
 .. toctree::
-   :maxdepth: 2
-   :caption: Contents:
+:maxdepth: 2
+       :caption: Contents:
 
-   coding/monitor
-   coding/debug
-   coding/typechecking
-   coding/structures
-   instrumentation/traceback
-   instrumentation/metrics
-   source/modules
-   examples/echoist
+       coding/monitor
+       coding/debug
+       coding/typechecking
+       coding/structures
+       instrumentation/traceback
+       instrumentation/metrics
+       source/modules
+       examples/echoist
 
 
 Indices and tables
diff --git a/satella/instrumentation/trace_back.py b/satella/instrumentation/trace_back.py
index 0112cc62..71667185 100644
--- a/satella/instrumentation/trace_back.py
+++ b/satella/instrumentation/trace_back.py
@@ -144,7 +144,7 @@ class StoredVariable(object):
                         self.pickle = zlib.compress(
                             self.pickle,
                             policy.get_compression_level(
-                            self.pickle))
+                                self.pickle))
                         self.pickle_type = "pickle/gzip"
                     except zlib.error:
                         pass  # ok, keep normal
@@ -255,7 +255,7 @@ class Traceback(object):
         output.write(u'\n* Stack trace, innermost first\n')
         for frame in self.frames:
             output.write(u'** %s at %s:%s\n' % (
-            frame.name, frame.filename, frame.lineno))
+                frame.name, frame.filename, frame.lineno))
             for name, value in six.iteritems(frame.locals):
                 try:
                     output.write(u'*** %s: %s\n' % (name, value.repr))
diff --git a/setup.py b/setup.py
index 70ee3830..bc3db6fa 100644
--- a/setup.py
+++ b/setup.py
@@ -4,12 +4,12 @@ from setuptools import setup, find_packages
 setup(keywords=['ha', 'high availability', 'scalable', 'scalability', 'server'],
       packages=find_packages(include=['satella', 'satella.*']),
       install_requires=[
-            "six",
-            "monotonic",
-            "backports.typing"
+          "six",
+          "monotonic",
+          "backports.typing"
       ],
       tests_require=[
           "nose", "mock", "coverage"
       ],
       test_suite='nose.collector'
-    )
+      )
-- 
GitLab