diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/addok/core.py b/addok/core.py
index <HASH>..<HASH> 100644
--- a/addok/core.py
+++ b/addok/core.py
@@ -335,7 +335,9 @@ class Search(BaseHelper):
if self.bucket_dry:
self.debug('Only commons, manual scan.')
count = 0
- keys = keys = [t.db_key for ... | Only commons: scan the less frequent token | py |
diff --git a/exa/core/container.py b/exa/core/container.py
index <HASH>..<HASH> 100644
--- a/exa/core/container.py
+++ b/exa/core/container.py
@@ -18,7 +18,7 @@ import pandas as pd
import networkx as nx
from sys import getsizeof
from copy import deepcopy
-from .numerical import check_key
+from .numerical import chec... | Removed old db related material in Container.save | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -10,7 +10,7 @@ def readme():
setuptools.setup(
name="PySimpleGUI",
- version="4.4.0.X Unreleased",
+ version="4.4.0.999 Unreleased",
author="PySimpleGUI",
author_email="PySimpleGUI@PySimpleGUI.org",
... | Changed version number to be all numeric | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -91,7 +91,7 @@ def get_version():
import versioneer
version = versioneer.get_version()
parsed_version = parse_version(version)
- if '*@' in parsed_version[1]:
+ if '*@' in str(parsed_version):
imp... | adjusted to new API of pkg_resources in setuptools package (#<I>) (old legacy version was removed in setuptools <I>) | py |
diff --git a/owslib/util.py b/owslib/util.py
index <HASH>..<HASH> 100644
--- a/owslib/util.py
+++ b/owslib/util.py
@@ -253,7 +253,7 @@ def testXMLAttribute(element, attribute):
if element is not None:
attrib = element.get(attribute)
if attrib is not None:
- return attrib.strip()
+ ... | Restrict stripped chars in testXMLAttribute | py |
diff --git a/spinoff/util/pattern_matching.py b/spinoff/util/pattern_matching.py
index <HASH>..<HASH> 100644
--- a/spinoff/util/pattern_matching.py
+++ b/spinoff/util/pattern_matching.py
@@ -1,4 +1,5 @@
import copy
+import inspect
import re
@@ -51,12 +52,22 @@ class Matcher(_Marker):
ignore = False
de... | Fixed s.u.p_m.Matcher.__new__ to work properly with any (known) Matchers | py |
diff --git a/astropy_helpers/commands/build_sphinx.py b/astropy_helpers/commands/build_sphinx.py
index <HASH>..<HASH> 100644
--- a/astropy_helpers/commands/build_sphinx.py
+++ b/astropy_helpers/commands/build_sphinx.py
@@ -169,7 +169,7 @@ class AstropyBuildSphinx(SphinxBuildDoc):
print(stdo)
- ... | Use splitlines for Windows compatibility (works with byte strings) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -25,6 +25,10 @@ class PyTest(TestCommand):
version = "0.1.8"
+TEST_REQUIRE = ['pytest']
+if sys.version_info[0] == 2:
+ TEST_REQUIRE = ['pytest==4.6.3']
+
setup(name="python-lambda-local",
version=version,
... | Set specific pytest version for Python 2 | py |
diff --git a/discord/state.py b/discord/state.py
index <HASH>..<HASH> 100644
--- a/discord/state.py
+++ b/discord/state.py
@@ -753,7 +753,7 @@ class ConnectionState:
self._chunk_requests.append(request)
await self.chunker(guild.id, nonce=request.nonce)
if wait:
- await request.futu... | Fix timeouts due to hitting the gateway rate limit | py |
diff --git a/cosmic_ray/reporting.py b/cosmic_ray/reporting.py
index <HASH>..<HASH> 100644
--- a/cosmic_ray/reporting.py
+++ b/cosmic_ray/reporting.py
@@ -44,6 +44,8 @@ def is_killed(record):
elif record.worker_outcome == WorkerOutcome.NORMAL:
if record.test_outcome == TestOutcome.KILLED:
ret... | is_killed: consider TestOutcome.INCOMPETENT to be killed | py |
diff --git a/checkers/exceptions.py b/checkers/exceptions.py
index <HASH>..<HASH> 100644
--- a/checkers/exceptions.py
+++ b/checkers/exceptions.py
@@ -142,20 +142,19 @@ class ExceptionsChecker(BaseChecker):
if node.exc is None:
return
if PY3K and node.cause:
- if isinstance(nod... | Refactor checks by infering first the cause of the exception. --HG-- branch : exception_context | py |
diff --git a/mutant/contrib/related/management/__init__.py b/mutant/contrib/related/management/__init__.py
index <HASH>..<HASH> 100644
--- a/mutant/contrib/related/management/__init__.py
+++ b/mutant/contrib/related/management/__init__.py
@@ -22,8 +22,8 @@ def mutable_model_prepared(signal, sender, definition, **kwargs... | Eat our own dog food when generating related dependencies | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@
from setuptools import setup, find_packages
-version = '0.2.4'
+version = '0.3.0'
setup(
name='requests-oauth', | Bumping version to <I> | py |
diff --git a/controller/api/models.py b/controller/api/models.py
index <HASH>..<HASH> 100644
--- a/controller/api/models.py
+++ b/controller/api/models.py
@@ -863,7 +863,12 @@ def _etcd_publish_domains(**kwargs):
def _etcd_purge_domains(**kwargs):
app = kwargs['instance'].app
- _etcd_client.delete('/deis/dom... | fix(controller): handle partial deletion of domains | py |
diff --git a/salt/modules/localemod.py b/salt/modules/localemod.py
index <HASH>..<HASH> 100644
--- a/salt/modules/localemod.py
+++ b/salt/modules/localemod.py
@@ -87,7 +87,7 @@ def _localectl_status():
ret[ctl_key] = {}
ret[ctl_key][loc_set[0]] = loc_set[1]
els... | Always return dictionary for _localectl_status If no locale information is set, then this could be returning a string (which we don't use anyway) and will cause an error when trying to run a .get() against it. Fixes #<I> | py |
diff --git a/tests/integration/standard/test_authentication.py b/tests/integration/standard/test_authentication.py
index <HASH>..<HASH> 100644
--- a/tests/integration/standard/test_authentication.py
+++ b/tests/integration/standard/test_authentication.py
@@ -17,7 +17,6 @@ import time
from cassandra.cluster import Cl... | Remove DSE auth integ test after splitting repo | py |
diff --git a/param/__init__.py b/param/__init__.py
index <HASH>..<HASH> 100644
--- a/param/__init__.py
+++ b/param/__init__.py
@@ -21,6 +21,7 @@ __version__='$Revision$'
import os.path
+from numpy import ndarray
from parameterized import Parameterized, Parameter, String, \
descendents, ParameterizedFunction... | Revert dd9e<I>: put back param.Array. | py |
diff --git a/test.py b/test.py
index <HASH>..<HASH> 100755
--- a/test.py
+++ b/test.py
@@ -2874,8 +2874,6 @@ class EngineTestCase(unittest.TestCase):
@catchAndSkip(FileNotFoundError, "need stockfish")
def test_sf_forced_mates(self):
with chess.engine.SimpleEngine.popen_uci("stockfish", debug=True) as... | Remove contempt from test for Stockfish <I> compat | py |
diff --git a/pyuntl/untldoc.py b/pyuntl/untldoc.py
index <HASH>..<HASH> 100644
--- a/pyuntl/untldoc.py
+++ b/pyuntl/untldoc.py
@@ -10,6 +10,7 @@
import json
import re
import urllib.request
+from copy import deepcopy
from lxml.etree import iterparse
from rdflib import Namespace, Literal, URIRef, ConjunctiveGraph
... | Deepcopy so unformatted dict is not affected | py |
diff --git a/plotnine/scales/scale.py b/plotnine/scales/scale.py
index <HASH>..<HASH> 100644
--- a/plotnine/scales/scale.py
+++ b/plotnine/scales/scale.py
@@ -5,7 +5,6 @@ from warnings import warn
import numpy as np
import pandas as pd
-import matplotlib.cbook as cbook
from mizani.bounds import expand_range_distin... | Change cbook.iterable to np.iterable (missed some) | py |
diff --git a/astromodels/functions/functions.py b/astromodels/functions/functions.py
index <HASH>..<HASH> 100644
--- a/astromodels/functions/functions.py
+++ b/astromodels/functions/functions.py
@@ -307,7 +307,7 @@ class Broken_powerlaw(Function1D):
idx = (x < xb)
result[idx] = K * np.power(x[idx] /... | normalized Broken_powerlaw at the break | py |
diff --git a/python/mxnet/recordio.py b/python/mxnet/recordio.py
index <HASH>..<HASH> 100644
--- a/python/mxnet/recordio.py
+++ b/python/mxnet/recordio.py
@@ -409,7 +409,7 @@ def unpack_img(s, iscolor=-1):
[166, 167, 165]]], dtype=uint8)
"""
header, s = unpack(s)
- img = np.fromstring(s, dtype... | np.fromstring: DeprecationWarning (#<I>) The binary mode of fromstring is deprecated, as it behaves surprisingly on unicode inputs. Use frombuffer instead img = np.fromstring(s, dtype=np.uint8) | py |
diff --git a/pyciss/io.py b/pyciss/io.py
index <HASH>..<HASH> 100644
--- a/pyciss/io.py
+++ b/pyciss/io.py
@@ -107,8 +107,8 @@ class RingCube(CubeFile):
subtracted = self.img - mean_profile[:, np.newaxis]
return subtracted
- def imshow_subtracted(self):
- self.imshow(data=self.density_wave... | adding kwargs to imshow_subtracted | py |
diff --git a/pychromecast/dial.py b/pychromecast/dial.py
index <HASH>..<HASH> 100644
--- a/pychromecast/dial.py
+++ b/pychromecast/dial.py
@@ -28,6 +28,7 @@ CAST_TYPES = {
'eureka dongle': CAST_TYPE_CHROMECAST,
'chromecast audio': CAST_TYPE_AUDIO,
'google home': CAST_TYPE_AUDIO,
+ 'google home mini': ... | Add google home mini as audio device (#<I>) | py |
diff --git a/yamcs-client/src/yamcs/tmtc/client.py b/yamcs-client/src/yamcs/tmtc/client.py
index <HASH>..<HASH> 100644
--- a/yamcs-client/src/yamcs/tmtc/client.py
+++ b/yamcs-client/src/yamcs/tmtc/client.py
@@ -419,6 +419,7 @@ class CommandConnection(WebSocketSubscriptionFuture):
comment=None,
verific... | Add beta_args_v2 option also to CommandConnection | py |
diff --git a/kconfiglib.py b/kconfiglib.py
index <HASH>..<HASH> 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -2895,7 +2895,7 @@ class Kconfig(object):
#
# prev:
# The previous menu node. New nodes will be added after this one (by
- # modifying their 'next' pointer).
+ #... | Fix _parse_block() comment re. next pointer It's not the 'next' attribute of the node that's added that's set, but the 'next' attribute of the node before it. | py |
diff --git a/quilt/cli/parser.py b/quilt/cli/parser.py
index <HASH>..<HASH> 100644
--- a/quilt/cli/parser.py
+++ b/quilt/cli/parser.py
@@ -43,8 +43,8 @@ import six
def get_declared_instances_list(bases, attrs, collect_cls, instance_attr):
- instances = [(name, attrs.pop(name)) for name, obj in attrs.items() if
... | Fix iterating over attrs in python 3 It's not possible to change attrs in iteration loop with python3. | py |
diff --git a/sovrin_client/test/test_nym_attrib.py b/sovrin_client/test/test_nym_attrib.py
index <HASH>..<HASH> 100644
--- a/sovrin_client/test/test_nym_attrib.py
+++ b/sovrin_client/test/test_nym_attrib.py
@@ -460,3 +460,14 @@ def testUserAddAttrsForHerSelf(nodeSet, looper, userClientA, userWalletA,
... | add test for checking that senders identity set instead of missing dest for ATTR transaction (#<I>) | py |
diff --git a/salt/states/rabbitmq_user.py b/salt/states/rabbitmq_user.py
index <HASH>..<HASH> 100644
--- a/salt/states/rabbitmq_user.py
+++ b/salt/states/rabbitmq_user.py
@@ -107,7 +107,7 @@ def present(name,
result.update(__salt__['rabbitmq.set_user_tags'](
name, tags, runas=runas... | Convert the new tag list into a string to prevent the TypeError #<I> | py |
diff --git a/gwpy/detector/channel.py b/gwpy/detector/channel.py
index <HASH>..<HASH> 100644
--- a/gwpy/detector/channel.py
+++ b/gwpy/detector/channel.py
@@ -91,9 +91,9 @@ class Channel(object):
r'((?:(?P<ifo>[A-Z]\d))?|[\w-]+):' # match IFO prefix
'(?:(?P<system>[a-zA-Z0-9]+))?' # match system
... | Channel.MATCH: updated regex to work for GEO | py |
diff --git a/salt/minion.py b/salt/minion.py
index <HASH>..<HASH> 100644
--- a/salt/minion.py
+++ b/salt/minion.py
@@ -8,6 +8,7 @@ import importlib
import glob
import re
import tempfile
+import subprocess
# Import zeromq libs
import zmq
@@ -97,7 +98,7 @@ class Minion(object):
shell=True,
... | Fix parsing issue in the facter output | py |
diff --git a/pyhamtools/lookuplib.py b/pyhamtools/lookuplib.py
index <HASH>..<HASH> 100644
--- a/pyhamtools/lookuplib.py
+++ b/pyhamtools/lookuplib.py
@@ -1451,7 +1451,7 @@ class LookupLib(object):
else:
err_str = "HTTP Status Code: " + str(response.status_code) + " HTTP Response: " + str(response... | cluglog retuns now <I> error code when API key is missing | py |
diff --git a/docs/examples/sync_job.py b/docs/examples/sync_job.py
index <HASH>..<HASH> 100644
--- a/docs/examples/sync_job.py
+++ b/docs/examples/sync_job.py
@@ -9,7 +9,7 @@ def sync_task(t):
async def the_task(ctx, t):
blocking = functools.partial(sync_task, t)
loop = asyncio.get_running_loop()
- await ... | added return statement in the doc (#<I>) | py |
diff --git a/cumulusci/tasks/salesforce/UpdateAdminProfile.py b/cumulusci/tasks/salesforce/UpdateAdminProfile.py
index <HASH>..<HASH> 100644
--- a/cumulusci/tasks/salesforce/UpdateAdminProfile.py
+++ b/cumulusci/tasks/salesforce/UpdateAdminProfile.py
@@ -101,6 +101,7 @@ class UpdateAdminProfile(Deploy):
self._... | Add support for setting pageAccesses | py |
diff --git a/salt/modules/aliases.py b/salt/modules/aliases.py
index <HASH>..<HASH> 100644
--- a/salt/modules/aliases.py
+++ b/salt/modules/aliases.py
@@ -8,7 +8,15 @@ import re
import stat
import tempfile
-from salt.utils import which
+from salt.utils import which as _which
+
+__outputter__ = {
+ 'rm_alias': 't... | salt.modules.aliases: use outputters for each function Also change which() to _which to prevent the doc system from using it | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -51,7 +51,7 @@ setup(
'Programming Language :: Python :: 3.6',
'Framework :: Django',
'Framework :: Django :: 1.11',
- 'Framework :: Django :: 2.0'
+ 'Framework :: Django :: 2.0',
... | Fix missing comma which failed pypi release | py |
diff --git a/PyGitUp/gitup.py b/PyGitUp/gitup.py
index <HASH>..<HASH> 100644
--- a/PyGitUp/gitup.py
+++ b/PyGitUp/gitup.py
@@ -45,7 +45,7 @@ from termcolor import colored
from PyGitUp.utils import execute, uniq, find
from PyGitUp.git_wrapper import GitWrapper, GitError
-ON_WINDOWS = sys.platform in ('win32', 'cy... | Fix output on cygwin with rebase log hook | py |
diff --git a/livejson.py b/livejson.py
index <HASH>..<HASH> 100644
--- a/livejson.py
+++ b/livejson.py
@@ -8,7 +8,8 @@ import os
import json
import warnings
-# Import from collections.abc for Python 3.x but incase of ImportError, fall back on importing from collections.
+# Import from collections.abc for Python 3.x... | Made comment under <I> line length. | py |
diff --git a/explauto/sensorimotor_model/nearest_neighbor.py b/explauto/sensorimotor_model/nearest_neighbor.py
index <HASH>..<HASH> 100644
--- a/explauto/sensorimotor_model/nearest_neighbor.py
+++ b/explauto/sensorimotor_model/nearest_neighbor.py
@@ -67,5 +67,7 @@ class NearestNeighbor(SensorimotorModel):
self... | Add a poppy conf for the sm model | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,6 @@
#!/usr/bin/env python
+
+
try:
from setuptools import setup, find_packages
except ImportError:
@@ -7,18 +9,20 @@ except ImportError:
from setuptools import setup, find_packages
from setuptools.comm... | got post install hook working with script permissions. | py |
diff --git a/test/unit/TestNXOSDriver.py b/test/unit/TestNXOSDriver.py
index <HASH>..<HASH> 100644
--- a/test/unit/TestNXOSDriver.py
+++ b/test/unit/TestNXOSDriver.py
@@ -32,5 +32,6 @@ class TestNXOSDriver(unittest.TestCase, TestNetworkDriver):
cls.device.load_replace_candidate(filename='%s/initial.conf' % cls... | Files have been YAPFed | py |
diff --git a/test/discr/lp_discr_test.py b/test/discr/lp_discr_test.py
index <HASH>..<HASH> 100644
--- a/test/discr/lp_discr_test.py
+++ b/test/discr/lp_discr_test.py
@@ -299,6 +299,27 @@ def test_zero():
assert all_equal(vec, [0, 0, 0])
+def test_interp():
+ discr = odl.uniform_discr(0, 1, 3, interp='neare... | TST: add test for correct interpolation class in DiscreteLp | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -12,7 +12,6 @@ setup(
description = 'A dictionary validator',
packages = find_packages(),
author = 'Alfredo Deza',
- author_email = 'alfredodeza [at] gmail.com',
version ... | release: remove author email, prevents releasing to PyPI | py |
diff --git a/Python/ibmcloudsql/utilities.py b/Python/ibmcloudsql/utilities.py
index <HASH>..<HASH> 100644
--- a/Python/ibmcloudsql/utilities.py
+++ b/Python/ibmcloudsql/utilities.py
@@ -117,8 +117,9 @@ class IBMCloudAccess():
# ibm_boto3._get_default_session()
try:
ro_credentials = boto3... | Update utilities.py Maintain the error type, and add error details before raising it. | py |
diff --git a/dynamic_rest/viewsets.py b/dynamic_rest/viewsets.py
index <HASH>..<HASH> 100644
--- a/dynamic_rest/viewsets.py
+++ b/dynamic_rest/viewsets.py
@@ -74,13 +74,17 @@ class WithDynamicViewSetMixin(object):
Override DRF initialize_request() method to swap request.GET
(which is aliased by reques... | Add comment to give more detail on why were removing MergeDict and why it's on ok thing to do. | py |
diff --git a/pymc3/gp/cov.py b/pymc3/gp/cov.py
index <HASH>..<HASH> 100644
--- a/pymc3/gp/cov.py
+++ b/pymc3/gp/cov.py
@@ -169,15 +169,14 @@ class WarpedInput(Covariance):
class BasisFuncCov(Covariance):
def __init__(self, input_dim, alpha, basis, active_dims=None):
Covariance.__init__(self, input_dim, a... | basisfunctioncov just for basic case, added message and cleaned up | py |
diff --git a/dbaas_zabbix/database_providers.py b/dbaas_zabbix/database_providers.py
index <HASH>..<HASH> 100644
--- a/dbaas_zabbix/database_providers.py
+++ b/dbaas_zabbix/database_providers.py
@@ -218,7 +218,7 @@ class RedisHighAvailabilityZabbixProvider(RedisZabbixProvider):
class MongoDBThreeDotZeroSingleZabbixPro... | Change mongodb version from <I> to <I> | py |
diff --git a/phypno/attr/chan.py b/phypno/attr/chan.py
index <HASH>..<HASH> 100644
--- a/phypno/attr/chan.py
+++ b/phypno/attr/chan.py
@@ -358,7 +358,7 @@ class Channels():
export_csv(self, elec_file)
-def assign_region_to_channels(channels, anat, approx=3):
+def assign_region_to_channels(channels, ana... | BUGFIX: variable was redefined every time, now it's clear it comes from outside the loop | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,6 +2,7 @@ try:
from setuptools import setup
except ImportError:
from ez_setup import use_setuptools
+
use_setuptools()
from setuptools import setup
import sys
@@ -31,7 +32,7 @@ setup(name='elastic-doc-... | Unifying indentation method (was a mix of spaces/tabs) | py |
diff --git a/excuses/__init__.py b/excuses/__init__.py
index <HASH>..<HASH> 100644
--- a/excuses/__init__.py
+++ b/excuses/__init__.py
@@ -24,7 +24,8 @@ class RandomExcuseGenerator(object):
raise ValueError("No matches")
return random.choice(candidates)
- def pmxbot_excuse(self, client, event... | Simplify pmxbot handler based on latest API features. | py |
diff --git a/loam/manager.py b/loam/manager.py
index <HASH>..<HASH> 100644
--- a/loam/manager.py
+++ b/loam/manager.py
@@ -376,7 +376,8 @@ class ConfigurationManager:
parent_parsers.append(xparsers[sub])
kwargs.update(parents=parent_parsers)
dummy_parser = subparsers.add_parse... | Do not require cmd line subcommand to be a section | py |
diff --git a/gibica/interpreter.py b/gibica/interpreter.py
index <HASH>..<HASH> 100644
--- a/gibica/interpreter.py
+++ b/gibica/interpreter.py
@@ -115,7 +115,14 @@ class Interpreter(NodeVisitor):
def visit_Assignment(self, node):
"""Visitor for `Assignment` AST node."""
- self.memory[node.left.id... | Better memory management of mutable variables | py |
diff --git a/click_shell/version.py b/click_shell/version.py
index <HASH>..<HASH> 100644
--- a/click_shell/version.py
+++ b/click_shell/version.py
@@ -9,7 +9,7 @@ import os
import subprocess
-VERSION = (0, 3, 0, 'dev', 0)
+VERSION = (0, 3, 0, 'final', 0)
def get_version(version): | Updating version for <I> | py |
diff --git a/rstcheck.py b/rstcheck.py
index <HASH>..<HASH> 100755
--- a/rstcheck.py
+++ b/rstcheck.py
@@ -71,7 +71,7 @@ if SPHINX_INSTALLED:
import sphinx.roles
-__version__ = '3.0a0'
+__version__ = '3.0'
if SPHINX_INSTALLED: | Increment version to <I> | py |
diff --git a/examples/tagtool.py b/examples/tagtool.py
index <HASH>..<HASH> 100755
--- a/examples/tagtool.py
+++ b/examples/tagtool.py
@@ -391,7 +391,7 @@ class TagTool(CommandLineInterface):
if self.options.version is None:
version = {'Type1Tag': 0x12, 'Type2Tag': 0x12,
- ... | latest ndef mapping version number is <I> | py |
diff --git a/rhaptos/cnxmlutils/sxw2cnxml.py b/rhaptos/cnxmlutils/sxw2cnxml.py
index <HASH>..<HASH> 100644
--- a/rhaptos/cnxmlutils/sxw2cnxml.py
+++ b/rhaptos/cnxmlutils/sxw2cnxml.py
@@ -8,7 +8,6 @@ from cStringIO import StringIO
from lxml import etree, html
from addsectiontags import addSectionTags
-from addmathml... | Oops, forgot to remove addmathml | py |
diff --git a/tensorflow_probability/python/math/interpolation.py b/tensorflow_probability/python/math/interpolation.py
index <HASH>..<HASH> 100644
--- a/tensorflow_probability/python/math/interpolation.py
+++ b/tensorflow_probability/python/math/interpolation.py
@@ -305,7 +305,7 @@ def interp_regular_1d_grid(x,
y_re... | DOCFIX: interpolation.py had incorrect x_max set for an exponential example. PiperOrigin-RevId: <I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -5,11 +5,14 @@ import numpy
setup(
name='Dedupe',
+ url='https://github.com/open-city/dedupe',
version='0.3',
packages=['dedupe', 'dedupe.clustering'],
ext_modules=[Extension('dedupe.affinegap', ['src... | added some info to setup.py | py |
diff --git a/src/rez/tests/util.py b/src/rez/tests/util.py
index <HASH>..<HASH> 100644
--- a/src/rez/tests/util.py
+++ b/src/rez/tests/util.py
@@ -19,7 +19,9 @@ class TestBase(unittest.TestCase):
self.maxDiff = None
# shield unit tests from any user config overrides
os.environ["REZ_QUIET"] = ... | rez.tests.util: TestBase should copy overrides, to ensure changes from one test don't affect other tests | py |
diff --git a/core/match_filter.py b/core/match_filter.py
index <HASH>..<HASH> 100644
--- a/core/match_filter.py
+++ b/core/match_filter.py
@@ -189,11 +189,15 @@ def _template_loop(template, chan, station, channel, i=0):
print "If statement without correlation took %s s" % t.secs
if matchdef.debug >= 3:
... | Debugging inf mean on pan Former-commit-id: <I>eebe<I>dc<I>e8df6e7cbb<I>be6d4a<I>da6 | py |
diff --git a/model_utils/fields.py b/model_utils/fields.py
index <HASH>..<HASH> 100644
--- a/model_utils/fields.py
+++ b/model_utils/fields.py
@@ -195,7 +195,7 @@ class SplitField(models.TextField):
value = self._get_val_from_obj(obj)
return value.content
- def get_db_prep_value(self, value):
+ ... | Fixed #2 - Updated SplitField for <I>-style prep_value method. | py |
diff --git a/irc3/base.py b/irc3/base.py
index <HASH>..<HASH> 100644
--- a/irc3/base.py
+++ b/irc3/base.py
@@ -287,7 +287,11 @@ class IrcObject(object):
except AttributeError:
# windows
pass
- loop.add_signal_handler(signal.SIGINT, self.SIGINT)
+ try:
+ loop.a... | SIGINT is not available with annaconda | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -28,7 +28,7 @@ import setuptools
setuptools.command.easy_install.easy_install = easier_install
setup(
- setup_requires=['d2to1>=0.2.2', 'stsci.distutils>=0.2dev'],
+ setup_requires=['d2to1>=0.2.3', 'stsci.distutils>=... | Bumped the d2to1 version requirement. Also modified setup.py to run each 'setup.py install' in its own process, which ends up working better when, for example, an older version of d2to1 or stsci.distutils is being replaced. git-svn-id: <URL> | py |
diff --git a/examples/flask/functional_test/main.py b/examples/flask/functional_test/main.py
index <HASH>..<HASH> 100644
--- a/examples/flask/functional_test/main.py
+++ b/examples/flask/functional_test/main.py
@@ -1,4 +1,6 @@
# encoding: utf-8
+import logging
+
from flask import Flask, request
from flask.helpers im... | Fixed logging in functional_test example. | py |
diff --git a/nion/swift/LineGraphCanvasItem.py b/nion/swift/LineGraphCanvasItem.py
index <HASH>..<HASH> 100755
--- a/nion/swift/LineGraphCanvasItem.py
+++ b/nion/swift/LineGraphCanvasItem.py
@@ -968,8 +968,7 @@ class Exponenter:
def draw_scientific_notation(self, drawing_context: DrawingContext.DrawingContext, ui_... | Ensure short y-axis does not throw errors when using scientific notation. Fixes #<I>. | py |
diff --git a/i3pystatus/weather/__init__.py b/i3pystatus/weather/__init__.py
index <HASH>..<HASH> 100644
--- a/i3pystatus/weather/__init__.py
+++ b/i3pystatus/weather/__init__.py
@@ -114,10 +114,10 @@ class Weather(IntervalModule):
and color that match.
'''
condition_lc = condition.lower()
- ... | Identify more kinds of cloudy weather | py |
diff --git a/src/wormhole/_version.py b/src/wormhole/_version.py
index <HASH>..<HASH> 100644
--- a/src/wormhole/_version.py
+++ b/src/wormhole/_version.py
@@ -495,7 +495,7 @@ def get_versions():
# versionfile_source is the relative path from the top of the source
# tree (where the .git directory might... | _version.py: hush lgtm.com alert This needs to be upstreamed into Versioneer, as it will disappear the next time we upgrade. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -609,11 +609,11 @@ options = dict(
"""
Louvain is a general algorithm for methods of community detection in large networks.
- Please refer to http://louvain-igraph.readthedocs.io/en/latest
- for more extensive docume... | Changed around long description on PyPi. | py |
diff --git a/master/setup.py b/master/setup.py
index <HASH>..<HASH> 100755
--- a/master/setup.py
+++ b/master/setup.py
@@ -228,7 +228,6 @@ setup_args = {
'BzrLaunchpadEmailMaildirSource']),
('buildbot.changes.bitbucket', ['BitbucketPullrequestPoller']),
('buildbot.changes.gith... | master: Remove no longer existing entry points | py |
diff --git a/spyderlib/widgets/sourcecode/base.py b/spyderlib/widgets/sourcecode/base.py
index <HASH>..<HASH> 100644
--- a/spyderlib/widgets/sourcecode/base.py
+++ b/spyderlib/widgets/sourcecode/base.py
@@ -841,8 +841,7 @@ class TextEditBaseWidget(QPlainTextEdit):
format2 = '<hr><div style=\'font-family: "%s";... | Editor/calltips: pep8 warning lines were not separated properly | py |
diff --git a/pytautulli/models/activity.py b/pytautulli/models/activity.py
index <HASH>..<HASH> 100644
--- a/pytautulli/models/activity.py
+++ b/pytautulli/models/activity.py
@@ -19,4 +19,6 @@ class PyTautulliApiActivity(PyTautulliApiBaseModel):
def __post_init__(self):
super().__post_init__()
- ... | Fixes issue with iterating sessions when they are None (#<I>) | py |
diff --git a/fireplace/player.py b/fireplace/player.py
index <HASH>..<HASH> 100644
--- a/fireplace/player.py
+++ b/fireplace/player.py
@@ -109,21 +109,16 @@ class Player(Entity, TargetableByAuras):
@property
def entities(self):
for entity in self.field:
- for e in entity.entities:
- yield e
- for secret in... | Use yield from in Player entities generators | py |
diff --git a/djangocms_text_ckeditor/utils.py b/djangocms_text_ckeditor/utils.py
index <HASH>..<HASH> 100644
--- a/djangocms_text_ckeditor/utils.py
+++ b/djangocms_text_ckeditor/utils.py
@@ -123,7 +123,7 @@ def plugin_tags_to_admin_html(text, context):
def plugin_tags_to_db(text):
def _strip_plugin_content(obj,... | fix: Remove excessive spaces (#<I>) (#<I>) | py |
diff --git a/script/cpplint.py b/script/cpplint.py
index <HASH>..<HASH> 100755
--- a/script/cpplint.py
+++ b/script/cpplint.py
@@ -38,6 +38,10 @@ SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
def main():
+ if not os.path.isfile(cpplint_path()):
+ print("[INFO] Skipping cpplint, depe... | cpplint skip to run if dependencies has not been bootstrapped See #<I> for the discussion regarding this | py |
diff --git a/marshmallow/marshalling.py b/marshmallow/marshalling.py
index <HASH>..<HASH> 100644
--- a/marshmallow/marshalling.py
+++ b/marshmallow/marshalling.py
@@ -245,7 +245,6 @@ class Unmarshaller(ErrorStore):
for attr_name, field_obj in iteritems(fields_dict):
if field_obj.dump_only:... | Unmarshaller: ask for attribute-key on demand | py |
diff --git a/opentrons_sdk/labware/grid.py b/opentrons_sdk/labware/grid.py
index <HASH>..<HASH> 100644
--- a/opentrons_sdk/labware/grid.py
+++ b/opentrons_sdk/labware/grid.py
@@ -208,7 +208,6 @@ class GridContainer():
w = (self._custom_wells or {}).get((col, row)) or {}
offset_x = w.get('x') or (self.... | yoffset reversal happens in context handler | py |
diff --git a/salt/modules/state.py b/salt/modules/state.py
index <HASH>..<HASH> 100644
--- a/salt/modules/state.py
+++ b/salt/modules/state.py
@@ -290,6 +290,16 @@ def highstate(test=None,
}
return ret
+ low_data_ = show_lowstate()
+ lows_ = []
+ for item in low_data_:
+ lows_.append... | Found an issue in the sls function when disabling states. Originally I had used the show_lowstate to get what would be applied to the minion, to check for disabled states. Turns out this shows what would be applied during a high state and not from an SLS file. Switching to using st_.state.compile_high_data inside th... | py |
diff --git a/xclim/indicators/atmos/_conversion.py b/xclim/indicators/atmos/_conversion.py
index <HASH>..<HASH> 100644
--- a/xclim/indicators/atmos/_conversion.py
+++ b/xclim/indicators/atmos/_conversion.py
@@ -283,7 +283,6 @@ universal_thermal_climate_index = Converter(
"It is one of the most comprehensive indice... | Update xclim/indicators/atmos/_conversion.py | py |
diff --git a/genes/search_indexes.py b/genes/search_indexes.py
index <HASH>..<HASH> 100644
--- a/genes/search_indexes.py
+++ b/genes/search_indexes.py
@@ -26,15 +26,15 @@ class GeneIndex(indexes.SearchIndex, indexes.Indexable):
Max('weight'))['weight__max']
cache_weights[obj.organism.slug]... | Refer to genes_load_geneinfo.py explicitly in comments | py |
diff --git a/alignak/objects/host.py b/alignak/objects/host.py
index <HASH>..<HASH> 100644
--- a/alignak/objects/host.py
+++ b/alignak/objects/host.py
@@ -241,7 +241,8 @@ class Host(SchedulingItem):
'service_includes':
ListProp(default=[], merging='duplicate', split_on_coma=True),
'labels... | Changed Host labels property to ListProp class. | py |
diff --git a/dvc/version.py b/dvc/version.py
index <HASH>..<HASH> 100644
--- a/dvc/version.py
+++ b/dvc/version.py
@@ -7,7 +7,7 @@ import os
import subprocess
-_BASE_VERSION = "0.67.1"
+_BASE_VERSION = "0.68.0"
def _generate_version(base_version): | dvc: bump to <I> | py |
diff --git a/rebound/__init__.py b/rebound/__init__.py
index <HASH>..<HASH> 100644
--- a/rebound/__init__.py
+++ b/rebound/__init__.py
@@ -62,4 +62,4 @@ from .particle import Particle
from .particle import Orbit
from .interruptible_pool import InterruptiblePool
-__all__ = ["Simulation", "Orbit", "Particle", "Simula... | Added pool to __all__ | py |
diff --git a/shortuuid/main.py b/shortuuid/main.py
index <HASH>..<HASH> 100644
--- a/shortuuid/main.py
+++ b/shortuuid/main.py
@@ -36,12 +36,11 @@ class ShortUUID(object):
number = number * self._alpha_len + self._alphabet.index(char)
return number
- def encode(self, uuid):
+ def encode(se... | Handle leftmost (msb) bit starting with zero Attempt at predictably dealing with uuid's where the leftmost (msb) bit is a zero, which results in shorter than expected output. This commit attempts to combat this by exposing the pad_length parameter so that the length can be padded out when needed. | py |
diff --git a/script/upload.py b/script/upload.py
index <HASH>..<HASH> 100755
--- a/script/upload.py
+++ b/script/upload.py
@@ -14,7 +14,7 @@ from lib.util import atom_gyp, execute, get_atom_shell_version, parse_version, \
from lib.github import GitHub
-ATOM_SHELL_REPO = 'atom/electron'
+ATOM_SHELL_REPO = 'electron... | atom => electron in upload script | py |
diff --git a/git/types.py b/git/types.py
index <HASH>..<HASH> 100644
--- a/git/types.py
+++ b/git/types.py
@@ -1,6 +1,20 @@
-import os # @UnusedImport ## not really unused, is in type string
+# -*- coding: utf-8 -*-
+# This module is part of GitPython and is released under
+# the BSD License: http://www.opensource.or... | fix(types): get the os.PathLike type as correctly as possible This should make our internal PathLike type compatible with Python < <I> and < <I>. | py |
diff --git a/pyblish_qml/app.py b/pyblish_qml/app.py
index <HASH>..<HASH> 100644
--- a/pyblish_qml/app.py
+++ b/pyblish_qml/app.py
@@ -135,6 +135,8 @@ class Application(QtGui.QGuiApplication):
if client_settings:
# Apply client-side settings
settings.from_dict(client_settings)
+ ... | Updating window geometry at show() | py |
diff --git a/doc/conf.py b/doc/conf.py
index <HASH>..<HASH> 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -62,7 +62,7 @@ List of Pre-Configured Resources
"resource_xsede.json"]
for res in resource_list:
- response = urllib2.urlopen('https://raw.githubusercontent.com/radical-cybertools/radical.pilot/featu... | docs_am to devel | py |
diff --git a/dataviews/views.py b/dataviews/views.py
index <HASH>..<HASH> 100644
--- a/dataviews/views.py
+++ b/dataviews/views.py
@@ -104,6 +104,11 @@ class View(param.Parameterized):
else:
raise TypeError('Cannot append {0} to a Layout'.format(type(other).__name__))
+ def __repr__(self):
+ ... | Added basic __repr__ for View objects | py |
diff --git a/samcli/__init__.py b/samcli/__init__.py
index <HASH>..<HASH> 100644
--- a/samcli/__init__.py
+++ b/samcli/__init__.py
@@ -2,4 +2,4 @@
SAM CLI version
"""
-__version__ = "1.40.0"
+__version__ = "1.40.1" | chore: Updated Version to <I> (#<I>) | py |
diff --git a/src/python/grpcio_tests/tests_aio/interop/client.py b/src/python/grpcio_tests/tests_aio/interop/client.py
index <HASH>..<HASH> 100644
--- a/src/python/grpcio_tests/tests_aio/interop/client.py
+++ b/src/python/grpcio_tests/tests_aio/interop/client.py
@@ -30,7 +30,7 @@ _LOGGER.setLevel(logging.DEBUG)
def _c... | Support asyncio interop client | py |
diff --git a/tests/test_modeling_tf_mobilebert.py b/tests/test_modeling_tf_mobilebert.py
index <HASH>..<HASH> 100644
--- a/tests/test_modeling_tf_mobilebert.py
+++ b/tests/test_modeling_tf_mobilebert.py
@@ -319,3 +319,26 @@ class TFMobileBertModelTest(TFModelTesterMixin, unittest.TestCase):
for model_name in [... | Integration test for mobilebert (#<I>) | py |
diff --git a/lib/webinterface_handler_wsgi.py b/lib/webinterface_handler_wsgi.py
index <HASH>..<HASH> 100644
--- a/lib/webinterface_handler_wsgi.py
+++ b/lib/webinterface_handler_wsgi.py
@@ -25,7 +25,7 @@ import inspect
from fnmatch import fnmatch
from wsgiref.validate import validator
-from wsgiref.util import Fil... | WebStyle: req.is_https() fix * Fixes the implementation of SimulatedModPythonRequest.is_https() to use wsgi.url_scheme as per PEP<I>, rather than using wsgiref.util.guess_scheme(). | py |
diff --git a/cwltool/main.py b/cwltool/main.py
index <HASH>..<HASH> 100755
--- a/cwltool/main.py
+++ b/cwltool/main.py
@@ -174,6 +174,16 @@ def single_job_executor(t, job_order_object, **kwargs):
else:
kwargs["outdir"] = tempfile.mkdtemp()
+ jobReqs = None
+ if "cwl:requirements" in job_order_obje... | cwl:requirements support in job input documents | py |
diff --git a/spotify/http.py b/spotify/http.py
index <HASH>..<HASH> 100644
--- a/spotify/http.py
+++ b/spotify/http.py
@@ -1738,7 +1738,7 @@ class HTTPClient:
"""
route = self.route("GET", "/search")
payload: Dict[str, Any] = {
- "q": quote(q),
+ "q": q,
"ty... | Update http.py (#<I>) No need for quote, It will lead to incorrect results. The params will be quoted in aiohttp | py |
diff --git a/abydos/tokenizer/_tokenizer.py b/abydos/tokenizer/_tokenizer.py
index <HASH>..<HASH> 100644
--- a/abydos/tokenizer/_tokenizer.py
+++ b/abydos/tokenizer/_tokenizer.py
@@ -87,6 +87,7 @@ class _Tokenizer(object):
self._ordered_weights = [1]
if self._scaler in {'SSK'}:
+ self... | reinitialize Counter on each call to tokenize | py |
diff --git a/simplekv/db/sql.py b/simplekv/db/sql.py
index <HASH>..<HASH> 100644
--- a/simplekv/db/sql.py
+++ b/simplekv/db/sql.py
@@ -62,6 +62,7 @@ class SQLAlchemyStore(KeyValueStore):
# commit happens here
+ con.close()
return key
def _put_file(self, key, file): | bug fix in _put opened connection has to be closed Multiple store.put in database store causes a deadlock | py |
diff --git a/trimesh/exchange/ply.py b/trimesh/exchange/ply.py
index <HASH>..<HASH> 100644
--- a/trimesh/exchange/ply.py
+++ b/trimesh/exchange/ply.py
@@ -435,7 +435,7 @@ def parse_header(file_obj):
# `comment TextureFile fuze_uv.jpg`
index = line.index('TextureFile') + 1
if index... | bugfix: find ply textures with spaces in filepath | py |
diff --git a/bucky/statsd.py b/bucky/statsd.py
index <HASH>..<HASH> 100644
--- a/bucky/statsd.py
+++ b/bucky/statsd.py
@@ -173,7 +173,7 @@ class StatsDHandler(threading.Thread):
except:
rate = 1.0
try:
- val = int((fields[0] or 0) / rate)
+ val = int(float(fi... | revert fields[0] is a string | py |
diff --git a/grimoire/elk/git.py b/grimoire/elk/git.py
index <HASH>..<HASH> 100644
--- a/grimoire/elk/git.py
+++ b/grimoire/elk/git.py
@@ -197,9 +197,10 @@ class GitEnrich(Enrich):
eitem["committer_domain"] = self.get_identity_domain(identity)
# title from first line
- eitem["title"] = commit... | [git enrich] Support commits without message. | py |
diff --git a/d1_libclient_python/src/d1_client/d1baseclient.py b/d1_libclient_python/src/d1_client/d1baseclient.py
index <HASH>..<HASH> 100644
--- a/d1_libclient_python/src/d1_client/d1baseclient.py
+++ b/d1_libclient_python/src/d1_client/d1baseclient.py
@@ -305,18 +305,14 @@ class DataONEBaseClient(d1_common.restclien... | Removed the check on the slicing parameters that checked if the count was higher than <I>. | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.