Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coveralls cleanup #83

Merged
merged 3 commits into from
Aug 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion ci/pip-install/testing_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pytest
pytest-cov
python-coveralls
coveralls
codacy-coverage
autorelease
4 changes: 2 additions & 2 deletions contact_map/contact_count.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def _colorbar(with_colorbar, cmap_f, norm, min_val, ax=None):
# TODO: remove following: this is a monkeypatch for a bug in pandas
# see: https://github.com/pandas-dev/pandas/issues/29814
from pandas._libs.sparse import BlockIndex, IntIndex, SparseIndex
def _patch_from_spmatrix(cls, data):
def _patch_from_spmatrix(cls, data): # -no-cov-
length, ncol = data.shape

if ncol != 1:
Expand Down Expand Up @@ -130,7 +130,7 @@ def df(self):
index = list(range(self.n_x))
columns = list(range(self.n_y))

if _PD_VERSION < (0, 25): # py27 only
if _PD_VERSION < (0, 25): # py27 only -no-cov-
mtx = mtx.tocoo()
return pd.SparseDataFrame(mtx, index=index, columns=columns)

Expand Down
2 changes: 1 addition & 1 deletion contact_map/py_2_3.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

try:
getargspec = inspect.getfullargspec
except AttributeError:
except AttributeError: # -no-cov-
getargspec = inspect.getargspec

def inspect_method_arguments(method, no_self=True):
Expand Down