diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/tests/integration/shell/call.py b/tests/integration/shell/call.py
index <HASH>..<HASH> 100644
--- a/tests/integration/shell/call.py
+++ b/tests/integration/shell/call.py
@@ -307,7 +307,7 @@ class CallTest(integration.ShellCase, integration.ShellCaseCommonTestsMixIn):
# Let's create an initial ... | Use "test.versions" instead of "-g" (pid in grains changes). integration.shell.call.test_issue_<I>_output_file_append test just needs any output that is repeatable. Previously it used the grains output ("-g" argument). Unfortunately grains now includes the PID which changes for each invocation of "salt-call" and is ... | py |
diff --git a/torequests/utils.py b/torequests/utils.py
index <HASH>..<HASH> 100644
--- a/torequests/utils.py
+++ b/torequests/utils.py
@@ -317,9 +317,9 @@ def md5(string, n=32, encoding='utf-8', skip_encode=False):
todo = string if skip_encode else unicode(string).encode(encoding)
if n == 32:
return ... | md5 support any int n | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -22,7 +22,7 @@ def find_file(filename, search_dirs):
return dirname
if filename in root:
return dirname
- return False
+ raise Exception(filename + " not found")
incl... | setup.py: find_file: raise an exception if file not found (fixes #4) find_file is used to find files needed for building the library, therefore if one of them is missing there's no point in continuing. | py |
diff --git a/flynn/__init__.py b/flynn/__init__.py
index <HASH>..<HASH> 100644
--- a/flynn/__init__.py
+++ b/flynn/__init__.py
@@ -1,8 +1,21 @@
# coding: utf-8
+import base64
+
import flynn.decoder
import flynn.encoder
+__all__ = [
+ "decoder",
+ "encoder",
+ "dump",
+ "dumps",
+ "dumph",
+ "load",
+ "loads",
+ ... | Use base<I> module to convert between bytes and base<I> string | py |
diff --git a/src/python/bezier/hazmat/clipping.py b/src/python/bezier/hazmat/clipping.py
index <HASH>..<HASH> 100644
--- a/src/python/bezier/hazmat/clipping.py
+++ b/src/python/bezier/hazmat/clipping.py
@@ -322,7 +322,7 @@ def clip_range(nodes1, nodes2):
.. math::
- d(t) = \sum_{j = 0}^m \binom{n}{j} t^j... | Replacing `n` with `m` in distance polynomial definition. | py |
diff --git a/ncclient/xml_.py b/ncclient/xml_.py
index <HASH>..<HASH> 100644
--- a/ncclient/xml_.py
+++ b/ncclient/xml_.py
@@ -37,7 +37,7 @@ TAILF_EXECD_1_1 = "http://tail-f.com/ns/execd/1.1"
CISCO_CPI_1_0 = "http://www.cisco.com/cpi_10/schema"
#: Namespace for Flowmon data model
FLOWMON_1_0 = "http://www.liberouter... | Added detail to Junos namespace | py |
diff --git a/pkg_resources/__init__.py b/pkg_resources/__init__.py
index <HASH>..<HASH> 100644
--- a/pkg_resources/__init__.py
+++ b/pkg_resources/__init__.py
@@ -2833,7 +2833,8 @@ class EggInfoDistribution(Distribution):
the metadata file itself instead of the filename.
"""
md_version = _ver... | Leave _version unset if no metadata version was found. | py |
diff --git a/tests/test_pytest_cover.py b/tests/test_pytest_cover.py
index <HASH>..<HASH> 100644
--- a/tests/test_pytest_cover.py
+++ b/tests/test_pytest_cover.py
@@ -1,11 +1,10 @@
import os
import sys
+import subprocess
import virtualenv
-
import py
import pytest
-import subprocess
import pytest_cover.plugin
... | Test that --cov-report=term will report missing lines if .coveragerc has show_missing=true. Ref #1. | py |
diff --git a/OpenPNM/Geometry/__Boundary__.py b/OpenPNM/Geometry/__Boundary__.py
index <HASH>..<HASH> 100644
--- a/OpenPNM/Geometry/__Boundary__.py
+++ b/OpenPNM/Geometry/__Boundary__.py
@@ -41,7 +41,7 @@ class Boundary(GenericGeometry):
def __init__(self, shape='spheres', **kwargs):
super().__init__(**... | Change the boundary pore diameter to be of type float. | py |
diff --git a/xbbg/__init__.py b/xbbg/__init__.py
index <HASH>..<HASH> 100644
--- a/xbbg/__init__.py
+++ b/xbbg/__init__.py
@@ -1,3 +1,3 @@
"""Bloomberg data toolkit for humans"""
-__version__ = '0.2.4'
+__version__ = '0.2.5a' | version <I>: improved outputs for `bdh` and `bdib` | py |
diff --git a/documenteer/sphinxconfig/stackconf.py b/documenteer/sphinxconfig/stackconf.py
index <HASH>..<HASH> 100644
--- a/documenteer/sphinxconfig/stackconf.py
+++ b/documenteer/sphinxconfig/stackconf.py
@@ -10,6 +10,7 @@ see licenses/astropy-helpers.txt
__all__ = ('build_package_configs', 'build_pipelines_lsst_io_... | Make _static option for stack conf If a package repo doesn't have a _static directory it won't be added to the html_static_path configuration and thus generate a warning. | py |
diff --git a/django_mysql/models/fields/dynamic.py b/django_mysql/models/fields/dynamic.py
index <HASH>..<HASH> 100644
--- a/django_mysql/models/fields/dynamic.py
+++ b/django_mysql/models/fields/dynamic.py
@@ -93,7 +93,7 @@ class DynamicField(field_class(Field)):
conn_names = ['default'] + list(set(connection... | Fix for bugfix cf1babf<I>dc<I>a<I>a<I>e<I>d<I>c2b was broken, this fixes it. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -336,8 +336,6 @@ def main():
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: POSIX",
- "Programming Language :: Py... | Remove Python <I> and <I> from the PyPI tags list. | py |
diff --git a/tweepy/binder.py b/tweepy/binder.py
index <HASH>..<HASH> 100644
--- a/tweepy/binder.py
+++ b/tweepy/binder.py
@@ -7,7 +7,7 @@ from __future__ import print_function
import time
import re
-from six.moves.urllib.parse import quote
+from six.moves.urllib.parse import quote, urlencode
import requests
im... | Fix cache Fixing the cache key for both get and store methods | py |
diff --git a/oauthlib/oauth2/rfc6749/grant_types/refresh_token.py b/oauthlib/oauth2/rfc6749/grant_types/refresh_token.py
index <HASH>..<HASH> 100644
--- a/oauthlib/oauth2/rfc6749/grant_types/refresh_token.py
+++ b/oauthlib/oauth2/rfc6749/grant_types/refresh_token.py
@@ -25,6 +25,10 @@ class RefreshTokenGrant(GrantTypeB... | Add token modifier and save to refresh token grant as well. | py |
diff --git a/b2handle/tests/main_test_script.py b/b2handle/tests/main_test_script.py
index <HASH>..<HASH> 100644
--- a/b2handle/tests/main_test_script.py
+++ b/b2handle/tests/main_test_script.py
@@ -16,7 +16,7 @@ from handleclient_search_noaccess_test import EUDATHandleClientSearchNoAccessTes
# Imports below!
# Log... | Switched off logging debug messages to file during testing. | py |
diff --git a/ci/run_apex_tests.py b/ci/run_apex_tests.py
index <HASH>..<HASH> 100644
--- a/ci/run_apex_tests.py
+++ b/ci/run_apex_tests.py
@@ -87,7 +87,7 @@ def parse_log_by_method(class_name, log):
for line in log:
# Strip newline character
- line = line.strip()
+ line = line.strip().deco... | Convert debug log lines from ISO-<I>-1 to utf-8 | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -29,7 +29,7 @@ with open('pulsar/__init__.py', 'rb') as f:
f.read().decode('utf-8')).group(1)))
setup(
- name='pulsar',
+ name='pulsar-app',
version=version,
description='Distributed job execution a... | Update in setup.py to name it pulsar-app. Couldn't get pulsar on PyPI. | py |
diff --git a/aegea/ecs.py b/aegea/ecs.py
index <HASH>..<HASH> 100644
--- a/aegea/ecs.py
+++ b/aegea/ecs.py
@@ -82,7 +82,9 @@ def run(args):
mountPoints=[dict(sourceVolume="scratch", containerPath="/mnt")])
set_volumes(args, container_defn)
set_ulimits(args, container_defn)
- exec... | aegea ecs run: Allow Fargate executor to fetch ECR images | py |
diff --git a/astrocats/catalog/utils/tq_funcs.py b/astrocats/catalog/utils/tq_funcs.py
index <HASH>..<HASH> 100644
--- a/astrocats/catalog/utils/tq_funcs.py
+++ b/astrocats/catalog/utils/tq_funcs.py
@@ -4,19 +4,20 @@ __all__ = ['tq', 'tprint', 'pbar', 'pbar_strings']
def tq(li, currenttask='', leave=True):
- re... | ENH: added arg to tqdm to handle screen resizes better | py |
diff --git a/headers/runtests.py b/headers/runtests.py
index <HASH>..<HASH> 100755
--- a/headers/runtests.py
+++ b/headers/runtests.py
@@ -109,6 +109,9 @@ def _RunCommand(args):
def GetAndPrintOutput(fp):
output = fp.read()
+ if not isinstance(output, str):
+ # This should only happen ... | Another py3k-ism. Bytes are returned from subprocess, need to make it a str. git-svn-id: <URL> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -12,7 +12,7 @@ from setuptools import setup, find_packages
setup(
name='PyForms',
- version='0.1.7.3',
+ version='2.0.0.beta',
description="""Pyforms is a Python 2.7 and 3.4 framework to develop GUI application,
whic... | Move on to <I>.beta | py |
diff --git a/dallinger/experiment_server/experiment_server.py b/dallinger/experiment_server/experiment_server.py
index <HASH>..<HASH> 100644
--- a/dallinger/experiment_server/experiment_server.py
+++ b/dallinger/experiment_server/experiment_server.py
@@ -1557,7 +1557,7 @@ def worker_complete():
def _worker_complete(... | Don't rely on False-y-ness | py |
diff --git a/flask_login.py b/flask_login.py
index <HASH>..<HASH> 100644
--- a/flask_login.py
+++ b/flask_login.py
@@ -133,7 +133,7 @@ def _create_identifier():
request.headers.get("User-Agent")), 'utf8', errors='replace')
hsh = md5()
hsh.update(base.encode("utf8"))
- return ... | Fixes for session id encoding due to update in Flask <I>-dev | py |
diff --git a/tools/interop_matrix/client_matrix.py b/tools/interop_matrix/client_matrix.py
index <HASH>..<HASH> 100644
--- a/tools/interop_matrix/client_matrix.py
+++ b/tools/interop_matrix/client_matrix.py
@@ -142,8 +142,8 @@ LANG_RELEASE_MATRIX = {
('v1.19.0',
ReleaseInfo(runtimes=['go1.11'... | Add <I> and <I> releases of grpc-go to interop matrix | py |
diff --git a/aprslib/parsing.py b/aprslib/parsing.py
index <HASH>..<HASH> 100644
--- a/aprslib/parsing.py
+++ b/aprslib/parsing.py
@@ -868,6 +868,10 @@ def _parse_normal(body):
# position ambiguity
posambiguity = lat_min.count(' ')
+
+ if posambiguity != lon_min.count(' '):
+ raise... | raise exception on long/lat ambiguity mismatch | py |
diff --git a/src/collectors/ipmisensor/ipmisensor.py b/src/collectors/ipmisensor/ipmisensor.py
index <HASH>..<HASH> 100644
--- a/src/collectors/ipmisensor/ipmisensor.py
+++ b/src/collectors/ipmisensor/ipmisensor.py
@@ -27,7 +27,8 @@ class IPMISensorCollector(diamond.collector.Collector):
'bin': 'Path to th... | Added delimiter option to IPMISensorCollector | py |
diff --git a/scripts/experiments/run_experiments.py b/scripts/experiments/run_experiments.py
index <HASH>..<HASH> 100644
--- a/scripts/experiments/run_experiments.py
+++ b/scripts/experiments/run_experiments.py
@@ -185,7 +185,10 @@ class DepParseExpParamsRunner(ExpParamsRunner):
experiments.app... | switching to just ilp-deltas since initialization isn't supported git-svn-id: svn+ssh://external.hltcoe.jhu.edu/home/hltcoe/mgormley/public/repos/dep_parse_filtered/trunk@<I> <I>f-cb4b-<I>-8b<I>-c<I>bcb<I> | py |
diff --git a/tests/sqlite.py b/tests/sqlite.py
index <HASH>..<HASH> 100644
--- a/tests/sqlite.py
+++ b/tests/sqlite.py
@@ -634,12 +634,12 @@ class TestJSONFieldFunctions(ModelTestCase):
query = (KeyData
.select(KeyData.key, children.c.fullkey.alias('fullkey'))
.from_(KeyData... | Extend test with a where filter as well. | py |
diff --git a/grimoire_elk/enriched/twitter.py b/grimoire_elk/enriched/twitter.py
index <HASH>..<HASH> 100644
--- a/grimoire_elk/enriched/twitter.py
+++ b/grimoire_elk/enriched/twitter.py
@@ -85,14 +85,11 @@ class TwitterEnrich(Enrich):
def get_identities(self, item):
""" Return the identities from an it... | [enrich-twitter] Replace list with yield This code replaces the list used in the method get_identities with a yield, thus reducing the memory footprint. | py |
diff --git a/binance/websockets.py b/binance/websockets.py
index <HASH>..<HASH> 100644
--- a/binance/websockets.py
+++ b/binance/websockets.py
@@ -58,7 +58,7 @@ class BinanceSocketManager(threading.Thread):
STREAM_URL = 'wss://stream.binance.com:9443/'
- _user_timeout = 50 * 60 # 50 minutes
+ _user_time... | Reduce time between user stream pings from <I>m to <I>m | py |
diff --git a/host/scan_digital.py b/host/scan_digital.py
index <HASH>..<HASH> 100644
--- a/host/scan_digital.py
+++ b/host/scan_digital.py
@@ -22,6 +22,12 @@ class DigitalScan(ScanBase):
repeat : int
Number of injections.
'''
+ commands = []
+ commands.extend(self.regist... | BUG: pulser has to be off in digital scan, otherwise you get additional analog hits | py |
diff --git a/plenum/server/monitor.py b/plenum/server/monitor.py
index <HASH>..<HASH> 100644
--- a/plenum/server/monitor.py
+++ b/plenum/server/monitor.py
@@ -406,7 +406,7 @@ class Monitor(HasActionQueue, PluginLoaderHelper):
return None
throughput = self.getThroughput(self.instances.masterId)
... | Feature: Notifier Plugin Manager Changes: Fixed sendClusterThroughputSpike logging | py |
diff --git a/pushbaby/__init__.py b/pushbaby/__init__.py
index <HASH>..<HASH> 100644
--- a/pushbaby/__init__.py
+++ b/pushbaby/__init__.py
@@ -94,15 +94,20 @@ class PushBaby:
Throws:
BodyTooLongException: If the payload body is too long and cannot be truncated to fit
"""
- if len(s... | Fix tests and probable regression do loop, but only create one new connection (if we created one and it didn't work, creating another is unlikley to work better). We need to loop though otherwise we'll fail unnecessarily if we just had a retired connection (since we rely on the ConnectionDeadException to remove it fro... | py |
diff --git a/lmj/sim/cooper.py b/lmj/sim/cooper.py
index <HASH>..<HASH> 100644
--- a/lmj/sim/cooper.py
+++ b/lmj/sim/cooper.py
@@ -252,7 +252,7 @@ class Skeleton:
def body_velocities(self):
values = []
for body in self.bodies:
- values.extend(body.velocity)
+ values.extend(b... | Use linear_velocity, not velocity! | py |
diff --git a/spyder/plugins/variableexplorer/widgets/collectionseditor.py b/spyder/plugins/variableexplorer/widgets/collectionseditor.py
index <HASH>..<HASH> 100644
--- a/spyder/plugins/variableexplorer/widgets/collectionseditor.py
+++ b/spyder/plugins/variableexplorer/widgets/collectionseditor.py
@@ -147,7 +147,7 @@ c... | Update spyder/plugins/variableexplorer/widgets/collectionseditor.py | py |
diff --git a/unittest/test_services.py b/unittest/test_services.py
index <HASH>..<HASH> 100644
--- a/unittest/test_services.py
+++ b/unittest/test_services.py
@@ -152,7 +152,7 @@ def test_send_command(service):
""" Calling a command should result in a http request """
with mock.patch('requests.post') as fake_... | Better assertion test for Error testing | py |
diff --git a/mama_cas/tests/test_views.py b/mama_cas/tests/test_views.py
index <HASH>..<HASH> 100644
--- a/mama_cas/tests/test_views.py
+++ b/mama_cas/tests/test_views.py
@@ -199,12 +199,23 @@ class WarnViewTests(TestCase):
def test_warn_view_anonymous_user(self):
"""
- When a user is not logged ... | Add test for WarnView with invalid service | py |
diff --git a/acos_client/v30/slb/server.py b/acos_client/v30/slb/server.py
index <HASH>..<HASH> 100644
--- a/acos_client/v30/slb/server.py
+++ b/acos_client/v30/slb/server.py
@@ -34,6 +34,8 @@ class Server(base.BaseV30):
"name": name,
"host": ip_address,
"action": 'ena... | Update <I> slb server to support connection limit and connection resume limits | py |
diff --git a/salt/minion.py b/salt/minion.py
index <HASH>..<HASH> 100644
--- a/salt/minion.py
+++ b/salt/minion.py
@@ -1856,6 +1856,7 @@ class Syndic(Minion):
self._set_reconnect_ivl_max()
self._set_tcp_keepalive()
+ self._set_ipv4only()
self.socket.connect(self.master_pub)
... | Prep ipv4/6 socket for syndic Fixes #<I> | py |
diff --git a/saltant/models/base_task_type.py b/saltant/models/base_task_type.py
index <HASH>..<HASH> 100644
--- a/saltant/models/base_task_type.py
+++ b/saltant/models/base_task_type.py
@@ -135,8 +135,8 @@ class BaseTaskTypeManager(ModelManager):
values for the tasks required arguments.
Ret... | Fix a poorly formatted docstring | py |
diff --git a/tests/test_constantq.py b/tests/test_constantq.py
index <HASH>..<HASH> 100644
--- a/tests/test_constantq.py
+++ b/tests/test_constantq.py
@@ -72,6 +72,12 @@ def test_cqt():
bins_per_octave, tuning,
resolution, None, norm, 0.01)
+ # Test... | Run CQT tests near Nyquist To detect this issue even when not doing early downsampling. | py |
diff --git a/mr/awsome/plain.py b/mr/awsome/plain.py
index <HASH>..<HASH> 100644
--- a/mr/awsome/plain.py
+++ b/mr/awsome/plain.py
@@ -51,7 +51,11 @@ class Instance(FabricMixin):
@lazy
def sshconfig(self):
sshconfig = self.paramiko.SSHConfig()
- sshconfig.parse(open(os.path.expanduser('~/.ssh/... | Don't bail if ssh config doesn't exist. | py |
diff --git a/allegedb/allegedb/tests/test_load.py b/allegedb/allegedb/tests/test_load.py
index <HASH>..<HASH> 100644
--- a/allegedb/allegedb/tests/test_load.py
+++ b/allegedb/allegedb/tests/test_load.py
@@ -32,6 +32,10 @@ def db():
nx.MultiGraph: orm.new_multigraph,
nx.MultiDiGraph: or... | Add some assertions during instantiation in test_load | py |
diff --git a/test/asyncio_tests/test_asyncio_database.py b/test/asyncio_tests/test_asyncio_database.py
index <HASH>..<HASH> 100644
--- a/test/asyncio_tests/test_asyncio_database.py
+++ b/test/asyncio_tests/test_asyncio_database.py
@@ -73,7 +73,8 @@ class TestAsyncIODatabase(AsyncIOTestCase):
@asyncio_test
def... | MongoDB <I>-compatible test. buildinfo returns pointerSizeBits now instead of "bits", just assert ok = 1. | py |
diff --git a/core/eolearn/core/eodata_io.py b/core/eolearn/core/eodata_io.py
index <HASH>..<HASH> 100644
--- a/core/eolearn/core/eodata_io.py
+++ b/core/eolearn/core/eodata_io.py
@@ -60,7 +60,8 @@ def save_eopatch(eopatch, filesystem, patch_location, features=..., overwrite_pe
compress_level) ... | added fix regarding exception raising when saving to a bucket | py |
diff --git a/tornadis/pool.py b/tornadis/pool.py
index <HASH>..<HASH> 100644
--- a/tornadis/pool.py
+++ b/tornadis/pool.py
@@ -152,7 +152,7 @@ class ClientPool(object):
Args:
client: Client object.
"""
- if not self._is_expired_client(client):
+ if isinstance(client, Client)... | Do not push ClientError to pool | py |
diff --git a/config.py b/config.py
index <HASH>..<HASH> 100644
--- a/config.py
+++ b/config.py
@@ -56,17 +56,19 @@ EXTENSIONS = [
'invenio.ext.jasmine', # after assets
'flask_breadcrumbs:Breadcrumbs',
'invenio.modules.deposit.url_converters',
- 'invenio.ext.iiif',
+ # TODO 'invenio.ext.iiif',
... | groups: module separation * INCOMPATIBLE Separates groups module to independent Invenio-Groups package. | py |
diff --git a/cleaver/base.py b/cleaver/base.py
index <HASH>..<HASH> 100644
--- a/cleaver/base.py
+++ b/cleaver/base.py
@@ -1,14 +1,8 @@
-from .compat import zip_longest, string_types
+from .compat import zip_longest, string_types, next
from .backend import CleaverBackend
from .identity import CleaverIdentityProvider
... | Refactoring from Python <I> support. | py |
diff --git a/escpos/escpos.py b/escpos/escpos.py
index <HASH>..<HASH> 100644
--- a/escpos/escpos.py
+++ b/escpos/escpos.py
@@ -59,7 +59,7 @@ class Escpos(object):
if impl == "bitImageRaster":
# GS v 0, raster format bit image
- density_byte = (0 if high_density_vertical else 1... | fix: horizontal/vertical density settings were backwards for bitImageRaster | py |
diff --git a/phrase/nodes.py b/phrase/nodes.py
index <HASH>..<HASH> 100644
--- a/phrase/nodes.py
+++ b/phrase/nodes.py
@@ -60,7 +60,7 @@ class PhraseBlockTranslateNode(Node):
result = translation.pgettext(message_context, singular)
else:
# result = translation.ugettext(sin... | Always pass a rendered node as string Django <I> change the way it works with nodes and no longer runs str(). | py |
diff --git a/quart/serving/__init__.py b/quart/serving/__init__.py
index <HASH>..<HASH> 100644
--- a/quart/serving/__init__.py
+++ b/quart/serving/__init__.py
@@ -35,10 +35,12 @@ class Server(asyncio.Protocol):
self.access_log_format = access_log_format
self.timeout = timeout
self.h11_max_inc... | Only return False from eof_received if SSL Otherwise an annoying `returning true from eof_received() has no effect when using ssl` warning is raised. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,7 @@ from setuptools import setup
setup(
name='heatmiserV3',
packages=['heatmiserV3'], # this must be the same as the name above
- version='1.1.11',
+ version='1.1.13',
description='A library to ... | Updated version <I> is the same as <I> | py |
diff --git a/shap/explainers/_kernel.py b/shap/explainers/_kernel.py
index <HASH>..<HASH> 100644
--- a/shap/explainers/_kernel.py
+++ b/shap/explainers/_kernel.py
@@ -550,6 +550,10 @@ class Kernel(Explainer):
eyAdj_aug = np.hstack((eyAdj, eyAdj - (self.link.f(self.fx[dim]) - self.link.f(self.fnull[dim]))))... | Fix shrinking to -inf of mask_aug and eyAdj_aug This behavior occurs when the dimensionality of the feature vectors being fed into the KernelExplainer is very large. | py |
diff --git a/examples/formats/GINI_Water_Vapor.py b/examples/formats/GINI_Water_Vapor.py
index <HASH>..<HASH> 100644
--- a/examples/formats/GINI_Water_Vapor.py
+++ b/examples/formats/GINI_Water_Vapor.py
@@ -13,7 +13,7 @@ import matplotlib.pyplot as plt
from metpy.cbook import get_test_data
from metpy.io import Gini... | Add calls to 'add_timestamp' to examples | py |
diff --git a/nanoplotter/nanoplotter.py b/nanoplotter/nanoplotter.py
index <HASH>..<HASH> 100644
--- a/nanoplotter/nanoplotter.py
+++ b/nanoplotter/nanoplotter.py
@@ -449,10 +449,12 @@ def output_barplot(df, figformat, path):
dpi=100,
bbox_inches='tight')
plt.close("all")
+
ax = sns.barplot(... | barplot: total throughput in megabases | py |
diff --git a/cursor/__init__.py b/cursor/__init__.py
index <HASH>..<HASH> 100644
--- a/cursor/__init__.py
+++ b/cursor/__init__.py
@@ -1 +1,3 @@
from .cursor import hide, show
+
+__all__ = ["hide", "show"]
\ No newline at end of file | using __all__ to please pyflakes | py |
diff --git a/src/pybel/parser/parse_bel.py b/src/pybel/parser/parse_bel.py
index <HASH>..<HASH> 100644
--- a/src/pybel/parser/parse_bel.py
+++ b/src/pybel/parser/parse_bel.py
@@ -557,15 +557,14 @@ class BelParser(BaseParser):
return tokens
def add_reverse_edge(self, sub, obj, attrs, **single_annotation)... | Fix swapping of activities in two way edges | py |
diff --git a/pypika/__init__.py b/pypika/__init__.py
index <HASH>..<HASH> 100644
--- a/pypika/__init__.py
+++ b/pypika/__init__.py
@@ -68,4 +68,4 @@ from .utils import (
__author__ = "Timothy Heys"
__email__ = "theys@kayak.com"
-__version__ = "0.7.0"
+__version__ = "0.8.0" | Bumped pypika to <I> | py |
diff --git a/docs/src/conf.py b/docs/src/conf.py
index <HASH>..<HASH> 100644
--- a/docs/src/conf.py
+++ b/docs/src/conf.py
@@ -23,6 +23,11 @@ sys.path.extend([
import audiolab_version
+# Check Sphinx version
+import sphinx
+if sphinx.__version__ < "0.5":
+ raise RuntimeError("Sphinx 0.5.dev or newer required")
... | Check for sphinx >= <I> when building the doc. | py |
diff --git a/alot/widgets/globals.py b/alot/widgets/globals.py
index <HASH>..<HASH> 100644
--- a/alot/widgets/globals.py
+++ b/alot/widgets/globals.py
@@ -111,9 +111,6 @@ class CompleteEdit(urwid.Edit):
self.set_edit_text(ctext)
self.set_edit_pos(cpos)
else:
- ... | tune CompleteEdit: don't insert spaces in case the completions set is unary (no results found) | py |
diff --git a/themes/washed.py b/themes/washed.py
index <HASH>..<HASH> 100644
--- a/themes/washed.py
+++ b/themes/washed.py
@@ -12,7 +12,7 @@ class Color:
SEPARATOR_FG = 251
REPO_CLEAN_BG = 150 # pale green
- REPO_CLEAN_FG = 0
+ REPO_CLEAN_FG = 235
REPO_DIRTY_BG = 203 # pale red
REPO_DIRTY_... | minor color adjustment: green repo segment looks even more... washed | py |
diff --git a/cleaver/tests/backend/test_sqlalchemy.py b/cleaver/tests/backend/test_sqlalchemy.py
index <HASH>..<HASH> 100644
--- a/cleaver/tests/backend/test_sqlalchemy.py
+++ b/cleaver/tests/backend/test_sqlalchemy.py
@@ -13,7 +13,7 @@ from cleaver.backend.db import SQLAlchemyBackend, model
class TestSQLAlchemy(TestC... | Remove some unnecessary output from SQLALchemy tests. | py |
diff --git a/client/main.py b/client/main.py
index <HASH>..<HASH> 100755
--- a/client/main.py
+++ b/client/main.py
@@ -1,10 +1,11 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python
+# -*- coding: utf-8-*-
import os
import shutil
# Change CWD to $JASPER_HOME/jasper/client
-os.chdir(os.path.join(os.getenv("JASPER_H... | Add shebang and PEP <I> source encoding to main.py | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,7 @@ except ImportError:
from distutils.core import setup
-version = '0.6.1'
+version = '0.6.2'
def get_packages(package):
@@ -68,7 +68,7 @@ setup(name='django-defender',
include_package_data=True,... | Added support for redis client <I> | py |
diff --git a/drivers/python/rethinkdb/asyncio_net/net_asyncio.py b/drivers/python/rethinkdb/asyncio_net/net_asyncio.py
index <HASH>..<HASH> 100644
--- a/drivers/python/rethinkdb/asyncio_net/net_asyncio.py
+++ b/drivers/python/rethinkdb/asyncio_net/net_asyncio.py
@@ -177,7 +177,7 @@ class ConnectionInstance(object):
... | fix: asyncio ConnectionInstance should yield from on Exception (#<I>) Thanks! I got the other two cases yesterday, but missed that one. | py |
diff --git a/editor.py b/editor.py
index <HASH>..<HASH> 100644
--- a/editor.py
+++ b/editor.py
@@ -34,6 +34,9 @@ def get_editor_args(editor):
elif editor == 'emacs':
return '-nw'
+ elif editor == 'gedit':
+ return '-w --new-window'
+
else:
return '' | Added support for gedit Using command line options: * -w (Open files and block the gedit process) * --new-window (Create a new toplevel window) | py |
diff --git a/trustar/tag_client.py b/trustar/tag_client.py
index <HASH>..<HASH> 100644
--- a/trustar/tag_client.py
+++ b/trustar/tag_client.py
@@ -52,9 +52,9 @@ class TagClient(object):
"""
Deletes a tag from a specific report, in a specific enclave.
- :param report_id: The ID of the report
-... | added types for params in a few docstrings. | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -49,8 +49,8 @@ html_context = {
'maintainer': maintainer,
'project_pretty_name': project_pretty_name,
'related_projects': {
- 'Crud': 'https://crud.readthedocs.io/'
- 'Crud View': '... | docs: add missing comma | py |
diff --git a/pmagpy/new_builder.py b/pmagpy/new_builder.py
index <HASH>..<HASH> 100644
--- a/pmagpy/new_builder.py
+++ b/pmagpy/new_builder.py
@@ -402,6 +402,8 @@ class Contribution(object):
self.propagate_cols(cols, 'specimens', 'samples')
# if sites table is missing any values,
# go ahead a... | prevent breaking in propagate_lithology_cols if sites table is missing | py |
diff --git a/mautrix/types/event/to_device.py b/mautrix/types/event/to_device.py
index <HASH>..<HASH> 100644
--- a/mautrix/types/event/to_device.py
+++ b/mautrix/types/event/to_device.py
@@ -93,7 +93,7 @@ class ToDeviceEvent(BaseEvent, SerializableAttrs['ToDeviceEvent']):
def deserialize(cls, data: JSON) -> 'ToDev... | Handle missing content in to-device events | py |
diff --git a/niworkflows/info.py b/niworkflows/info.py
index <HASH>..<HASH> 100644
--- a/niworkflows/info.py
+++ b/niworkflows/info.py
@@ -49,7 +49,8 @@ CLASSIFIERS = [
'Programming Language :: Python :: 3.5',
]
-REQUIRES = ['nipype', 'future', 'nilearn', 'sklearn', 'pandas', 'matplotlib']
+REQUIRES = ['nipype'... | add jinja2 as requirement | py |
diff --git a/src/toil/jobStores/azureJobStore.py b/src/toil/jobStores/azureJobStore.py
index <HASH>..<HASH> 100644
--- a/src/toil/jobStores/azureJobStore.py
+++ b/src/toil/jobStores/azureJobStore.py
@@ -786,4 +786,4 @@ def defaultRetryPredicate(exception):
def retry_azure(delays=(0, 1, 1, 4, 16, 64), timeout=300, ... | Added return statement to retry_azure (resolves #<I>) | py |
diff --git a/tests/unit/test_awsclient.py b/tests/unit/test_awsclient.py
index <HASH>..<HASH> 100644
--- a/tests/unit/test_awsclient.py
+++ b/tests/unit/test_awsclient.py
@@ -25,7 +25,11 @@ from chalice.awsclient import TypedAWSClient
])
def test_resolve_endpoint(stubbed_session, service, region, endpoint):
awsc... | Update endpoint tests to work with botocore <I>.x Verify endpoints are a subset of the data we require to account for the new variant keyword added to endpoints.json in botocore <I>.x. Fixes #<I>. | py |
diff --git a/pyoko/model.py b/pyoko/model.py
index <HASH>..<HASH> 100644
--- a/pyoko/model.py
+++ b/pyoko/model.py
@@ -79,6 +79,7 @@ class Model(Node):
just_created=None,
on_save=[],
_exists=None,
+ help_text=kwargs.get('help_text')
)
# self.verbose_na... | ADD, help_text is added to models init. rref #<I> | py |
diff --git a/src/infi/instruct/buffer/__init__.py b/src/infi/instruct/buffer/__init__.py
index <HASH>..<HASH> 100644
--- a/src/infi/instruct/buffer/__init__.py
+++ b/src/infi/instruct/buffer/__init__.py
@@ -1,2 +1,2 @@
-from .buffer import Buffer
+from .buffer import Buffer, BufferType
from .macros import * | added BufferType to the infi.instruct.buffer imports | py |
diff --git a/photutils/aperture/attributes.py b/photutils/aperture/attributes.py
index <HASH>..<HASH> 100644
--- a/photutils/aperture/attributes.py
+++ b/photutils/aperture/attributes.py
@@ -192,6 +192,11 @@ class ScalarAngleOrPixel(ApertureAttribute):
raise ValueError(f'{self.name!r} must have angular... | Deprecate inputting SkyAperture quantities in pixel units | py |
diff --git a/craftai/reducer.py b/craftai/reducer.py
index <HASH>..<HASH> 100644
--- a/craftai/reducer.py
+++ b/craftai/reducer.py
@@ -1,4 +1,4 @@
-from functools import reduce
+from functools import reduce as ft_reduce
from .errors import CraftAiError
from .formatters import format_decision_rules
@@ -202,5 +202,5 ... | Trying to avoid collision with built-in 'reduce' | py |
diff --git a/spillway/generics.py b/spillway/generics.py
index <HASH>..<HASH> 100644
--- a/spillway/generics.py
+++ b/spillway/generics.py
@@ -62,6 +62,15 @@ class BaseRasterView(mixins.ModelSerializerMixin,
response._headers = headers
return response
+ def get_queryset(self):
+ # Filt... | Filter queryset first to call RasterQuerySet methods on subset | py |
diff --git a/pydoop/hdfs/hadoop/hadoop.py b/pydoop/hdfs/hadoop/hadoop.py
index <HASH>..<HASH> 100644
--- a/pydoop/hdfs/hadoop/hadoop.py
+++ b/pydoop/hdfs/hadoop/hadoop.py
@@ -326,7 +326,8 @@ class FileImpl(File):
current_size = self._stream.size()
if length > 0:
- self._stream.write(bytea... | Fixed low level hdfs write for supporting special unicode characters | py |
diff --git a/sentry_sdk/integrations/excepthook.py b/sentry_sdk/integrations/excepthook.py
index <HASH>..<HASH> 100644
--- a/sentry_sdk/integrations/excepthook.py
+++ b/sentry_sdk/integrations/excepthook.py
@@ -13,6 +13,11 @@ class ExcepthookIntegration(Integration):
pass
def install(self, client):
+ ... | feat: Disable excepthook in interactive REPL | py |
diff --git a/fabfile.py b/fabfile.py
index <HASH>..<HASH> 100644
--- a/fabfile.py
+++ b/fabfile.py
@@ -31,6 +31,23 @@ log.setLevel(LOG_LEVEL)
log.addHandler(stream)
+from yapsy.PluginManager import PluginManager
+
+manager = PluginManager()
+manager.setPluginPlaces([root_folder + '/plugins'])
+manager.collectPlugi... | Introduce support for plugin via yapsy (an added dependency) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,7 @@
Painter
-------
-.. image:: https://travis-ci.org/fgimian/painter.svg?branch=v0.2
+.. image:: https://travis-ci.org/fgimian/painter.png?branch=v0.2
:target: https://travis-ci.org/fgimian/painter
:alt... | Switched to the PNG Travis badge instead of SVG to ensure IE8 support | py |
diff --git a/spacy/__init__.py b/spacy/__init__.py
index <HASH>..<HASH> 100644
--- a/spacy/__init__.py
+++ b/spacy/__init__.py
@@ -26,6 +26,7 @@ set_lang_class(pt.Portuguese.lang, pt.Portuguese)
set_lang_class(fr.French.lang, fr.French)
set_lang_class(it.Italian.lang, it.Italian)
set_lang_class(zh.Chinese.lang, zh.C... | Added language Dutch to init file | py |
diff --git a/gkeepapi/__init__.py b/gkeepapi/__init__.py
index <HASH>..<HASH> 100644
--- a/gkeepapi/__init__.py
+++ b/gkeepapi/__init__.py
@@ -3,7 +3,7 @@
.. moduleauthor:: Kai <z@kwi.li>
"""
-__version__ = '0.13.2'
+__version__ = '0.13.3'
import logging
import re
@@ -881,8 +881,11 @@ class Keep(object):
... | Issue #<I>: Preserve order when creating a list via createList | py |
diff --git a/flask_restful/__init__.py b/flask_restful/__init__.py
index <HASH>..<HASH> 100644
--- a/flask_restful/__init__.py
+++ b/flask_restful/__init__.py
@@ -286,7 +286,7 @@ class Api(object):
else:
current_app.logger.exception("Internal Error")
- help_on_404 = self.app.confi... | Do not refer to self.app in handle_error Due to Flask factory pattern, self.app may be None. current_app should be used instead. | py |
diff --git a/test/libmagic_test.py b/test/libmagic_test.py
index <HASH>..<HASH> 100644
--- a/test/libmagic_test.py
+++ b/test/libmagic_test.py
@@ -3,12 +3,16 @@
import unittest
import os
import magic
+import os.path
# magic_descriptor is broken (?) in centos 7, so don't run those tests
SKIP_FROM_DESCRIPTOR = boo... | correctly find path to testdata when running from root | py |
diff --git a/tests/test_parse_bel_relations.py b/tests/test_parse_bel_relations.py
index <HASH>..<HASH> 100644
--- a/tests/test_parse_bel_relations.py
+++ b/tests/test_parse_bel_relations.py
@@ -50,15 +50,17 @@ class TestRelations(TestTokenParserBase):
def test_singleton(self):
"""Test singleton composite... | Fix reference to relation/statement Not sure why this wasn’t failing locally but it was on Travis… it should have failed locally… | py |
diff --git a/pdftools/_cli.py b/pdftools/_cli.py
index <HASH>..<HASH> 100644
--- a/pdftools/_cli.py
+++ b/pdftools/_cli.py
@@ -147,3 +147,23 @@ def main():
from pdftools.pdftools import pdf_insert
pdf_insert(ARGS.dest, ARGS.src, ARGS.pages, ARGS.index, ARGS.output)
+ elif ARGS.command == "merge":... | Adding argparsing structure for remaining subcommands | py |
diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py
index <HASH>..<HASH> 100644
--- a/discord/ext/commands/core.py
+++ b/discord/ext/commands/core.py
@@ -48,6 +48,8 @@ def inject_context(ctx, coro):
try:
ret = yield from coro(*args, **kwargs)
+ except CommandError:
+ ... | [commands] Properly propagate CommandError derived exceptions. If a command or a group raised a CommandError derived exception it would be wrapped into CommandInvokeError. This fixes this case so it raises the original exception instead. | py |
diff --git a/cellpy/_version.py b/cellpy/_version.py
index <HASH>..<HASH> 100644
--- a/cellpy/_version.py
+++ b/cellpy/_version.py
@@ -1,2 +1,2 @@
-version_info = (0, 3, 0,"b3")
+version_info = (0, 3, 0, "b3")
__version__ = '.'.join(map(str, version_info)) | new pre-release (0 3 0 b3) | py |
diff --git a/theanets/activations.py b/theanets/activations.py
index <HASH>..<HASH> 100644
--- a/theanets/activations.py
+++ b/theanets/activations.py
@@ -268,6 +268,16 @@ class Maxout(Activation):
the :class:`LGrelu` are given by :math:`m = (r, g)` where :math:`r` is the
leak rate parameter and :math:`g` is ... | Describe usage in docstring. | py |
diff --git a/visidata/utils.py b/visidata/utils.py
index <HASH>..<HASH> 100644
--- a/visidata/utils.py
+++ b/visidata/utils.py
@@ -6,6 +6,7 @@ def joinSheetnames(*sheetnames):
def moveListItem(L, fromidx, toidx):
"Move element within list `L` and return element's new index."
+ toidx = max(toidx, 0)
r = ... | [slide-up bugfix] the top row now remains in-place when slid up - previously would scroll to the bottom of the sheet | py |
diff --git a/eqcorrscan/utils/clustering.py b/eqcorrscan/utils/clustering.py
index <HASH>..<HASH> 100644
--- a/eqcorrscan/utils/clustering.py
+++ b/eqcorrscan/utils/clustering.py
@@ -309,7 +309,13 @@ def SVD(stream_list):
lengths = []
for st in stream_list:
tr = st.select(station=stachan.... | Allow for trace not to be in stream: | py |
diff --git a/sentry_sdk/integrations/logging.py b/sentry_sdk/integrations/logging.py
index <HASH>..<HASH> 100644
--- a/sentry_sdk/integrations/logging.py
+++ b/sentry_sdk/integrations/logging.py
@@ -54,15 +54,17 @@ class LoggingIntegration(Integration):
old_callhandlers = logging.Logger.callHandlers
... | fix(logging): An error should not have its own breadcrumb (#<I>) | py |
diff --git a/eventsourcing/infrastructure/cassandra/datastore.py b/eventsourcing/infrastructure/cassandra/datastore.py
index <HASH>..<HASH> 100644
--- a/eventsourcing/infrastructure/cassandra/datastore.py
+++ b/eventsourcing/infrastructure/cassandra/datastore.py
@@ -13,7 +13,7 @@ from eventsourcing.infrastructure.datas... | Trying to get Cassandra working again... | py |
diff --git a/winbuildtest.py b/winbuildtest.py
index <HASH>..<HASH> 100644
--- a/winbuildtest.py
+++ b/winbuildtest.py
@@ -95,7 +95,7 @@ def move_source_to_gopath(tarball_name):
print('Moved {0} to {1}'.format(dir_path, GOPATH))
-def build():
+def build_client():
env = dict(os.environ)
env['GOPATH'] ... | Rename functions to so that the agent changes are not confusing. | py |
diff --git a/tests/test_blueprints.py b/tests/test_blueprints.py
index <HASH>..<HASH> 100644
--- a/tests/test_blueprints.py
+++ b/tests/test_blueprints.py
@@ -47,6 +47,16 @@ class BlueprintTest(TestCase):
"chef should still be set from the previous blueprint",
)
+ def test_blueprint_fields_ma... | Add tests for Blueprint.make(fields=) And make_one() as well. | py |
diff --git a/lib/svtplay_dl/fetcher/hls.py b/lib/svtplay_dl/fetcher/hls.py
index <HASH>..<HASH> 100644
--- a/lib/svtplay_dl/fetcher/hls.py
+++ b/lib/svtplay_dl/fetcher/hls.py
@@ -176,6 +176,8 @@ class HLS(VideoRetriever):
# Update key/decryptor
if "EXT-X-KEY" in i:
... | hls.download: when we see key url as skd:// abort | py |
diff --git a/Lib/fontmake/font_project.py b/Lib/fontmake/font_project.py
index <HASH>..<HASH> 100644
--- a/Lib/fontmake/font_project.py
+++ b/Lib/fontmake/font_project.py
@@ -115,11 +115,11 @@ class FontProject:
start_t = time()
if compatible:
print '>> Converting curves to quadratic'
- ... | Change call to cu2qu based on API change | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.