diff --git a/.coveragerc b/.coveragerc index 98e6ca0a37a264027d58d97cc34b1db8cf5a0543..618a88bec53b0052b2f9a2eab8b9d41bac6059af 100644 --- a/.coveragerc +++ b/.coveragerc @@ -6,3 +6,4 @@ omit= tests/* examples/* docs/* +show_missing=true \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index cd2d0ba4839123a512e78903b0c608fcc53d8d03..6ae5c8027d4e6ebebc769718554ad0ca92ce4fd0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,5 +9,3 @@ install: script: - bash tests/test_posix/test_hang_until_sig.sh - python setup.py tests -after_success: - - CODECLIMATE_REPO_TOKEN=cc1c853d7d3b0d97a3de8e245d02b834194d30037ff8644d2b26d0e5f17c5fe6 codeclimate-test-reporter diff --git a/README.md b/README.md index 85ecbd909981a6829b6a8aa7f63238fd7f1930c0..97283ee70d7d220e764dc5508de7355b1d815fbb 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,6 @@ satella ======== [](https://travis-ci.org/piotrmaslanka/satella) [](https://codeclimate.com/github/piotrmaslanka/satella) -[](https://codeclimate.com/github/piotrmaslanka/satella/coverage) [](https://codeclimate.com/github/piotrmaslanka/satella) []() [](https://badge.fury.io/py/satella) diff --git a/satella/instrumentation/trace_back.py b/satella/instrumentation/trace_back.py index 9150730a680d5e0dad82e4113488323857adc6f6..124d969311ba2b81254c5427bfbe814aa3e0f401 100644 --- a/satella/instrumentation/trace_back.py +++ b/satella/instrumentation/trace_back.py @@ -127,7 +127,8 @@ class StoredVariable(object): try: self.pickle = pickle.dumps(value, pickle.HIGHEST_PROTOCOL) self.pickle_type = 'pickle' - except (pickle.PicklingError, TypeError, AttributeError) as e: # yes, they all can happen! + except (pickle.PicklingError, TypeError, AttributeError) as e: + # yes, they all can happen! self.pickle = repr(e.args) self.pickle_type = "failed" else: diff --git a/setup.cfg b/setup.cfg index aedf89a6fbe1c0410a506d5c802fee5a8083adc3..bd2f093cd73049f2beb5b762347e85bdf913d3f2 100644 --- a/setup.cfg +++ b/setup.cfg @@ -8,7 +8,7 @@ description = Utilities for writing servers in Python url = https://github.com/piotrmaslanka/satella [pycodestyle] -max-line-length=120 +max-line-length=80 [bdist_wheel] universal=1 diff --git a/setup.py b/setup.py index ada3a4d040b63f2cbe4c3c5d6dc30c4800dcd3c8..4cb09da7819a81eb5cda53cfbcd765ee2995d190 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ setup(keywords=['ha', 'high availability', 'scalable', 'scalability', 'server'], "backports.typing" ], tests_require=[ - "nose", "mock", "coverage", "codeclimate-test-reporter" + "nose", "mock", "coverage" ], test_suite='nose.collector', classifiers=[