diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/pyocd/gdbserver/gdbserver.py b/pyocd/gdbserver/gdbserver.py
index <HASH>..<HASH> 100644
--- a/pyocd/gdbserver/gdbserver.py
+++ b/pyocd/gdbserver/gdbserver.py
@@ -1,6 +1,7 @@
# pyOCD debugger
# Copyright (c) 2006-2020 Arm Limited
# Copyright (c) 2021 Chris Reed
+# Copyright (c) 2022 Clay McClure
# SPDX-... | Gdbserver: clear shutdown event after disconnect (#<I>) Otherwise, the listening socket is closed, preventing reconnection. | py |
diff --git a/ccxt/__init__.py b/ccxt/__init__.py
index <HASH>..<HASH> 100644
--- a/ccxt/__init__.py
+++ b/ccxt/__init__.py
@@ -96,7 +96,7 @@ class Market (object):
try:
handler = _urllib.HTTPHandler if url.startswith ('http://') else _urllib.HTTPSHandler
opener = _urllib.build_opener ... | Explicitly decode response as utf8 | py |
diff --git a/master/buildbot/process/builder.py b/master/buildbot/process/builder.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/process/builder.py
+++ b/master/buildbot/process/builder.py
@@ -624,6 +624,10 @@ class Builder(pb.Referenceable, service.MultiService):
yield wfd
unclaimed_requests = ... | bail early if no unclaimed buildRequests are available | py |
diff --git a/tests/test_canvas.py b/tests/test_canvas.py
index <HASH>..<HASH> 100644
--- a/tests/test_canvas.py
+++ b/tests/test_canvas.py
@@ -14,16 +14,16 @@ from canvasapi.appointment_group import AppointmentGroup
from canvasapi.calendar_event import CalendarEvent
from canvasapi.conversation import Conversation
fr... | Reorder imports to be alphabetical | py |
diff --git a/contrib/windows/setup.py b/contrib/windows/setup.py
index <HASH>..<HASH> 100755
--- a/contrib/windows/setup.py
+++ b/contrib/windows/setup.py
@@ -66,7 +66,7 @@ shutil.copy(servicemanager.__file__, msg_file)
data_files = [
["", [msg_file]],
- ["", [join(bb_root_dir, "buildbot", "status", "clas... | (refs #<I>) use correct path to classic.css for windows setup | py |
diff --git a/testing/test_python.py b/testing/test_python.py
index <HASH>..<HASH> 100644
--- a/testing/test_python.py
+++ b/testing/test_python.py
@@ -588,7 +588,8 @@ class TestFillFuncArgs:
item.config.pluginmanager.register(Provider())
if hasattr(item, '_args'):
del item._args
- ... | don't expose _fillfuncargs (no clue why it ever was exposed) | py |
diff --git a/sos/plugins/unpackaged.py b/sos/plugins/unpackaged.py
index <HASH>..<HASH> 100644
--- a/sos/plugins/unpackaged.py
+++ b/sos/plugins/unpackaged.py
@@ -42,7 +42,8 @@ class Unpackaged(Plugin, RedHatPlugin):
for root, dirs, files in os.walk(path, topdown=True):
if exclude:
- ... | [unpackaged] Fixed issue with the exclusion list of directories In the all_files_system() function there's the possibility to pass a list of directories to be excluded. This wasn't working properly. It should now exclude the list of dirs. | py |
diff --git a/phylopandas/seqio/read.py b/phylopandas/seqio/read.py
index <HASH>..<HASH> 100644
--- a/phylopandas/seqio/read.py
+++ b/phylopandas/seqio/read.py
@@ -164,7 +164,11 @@ def read_blast_xml(filename, **kwargs):
'title': [],
'length': [],
'e_value': [],
- 'seque... | read more information from blast xml file | py |
diff --git a/pymatgen/io/cif.py b/pymatgen/io/cif.py
index <HASH>..<HASH> 100644
--- a/pymatgen/io/cif.py
+++ b/pymatgen/io/cif.py
@@ -1208,20 +1208,17 @@ class CifWriter(object):
loops.append(["_symmetry_equiv_pos_site_id",
"_symmetry_equiv_pos_as_xyz"])
- contains_oxidation = ... | Use TypeError as oxi_state is set to None, not unset | py |
diff --git a/src/Exscript/AccountManager.py b/src/Exscript/AccountManager.py
index <HASH>..<HASH> 100644
--- a/src/Exscript/AccountManager.py
+++ b/src/Exscript/AccountManager.py
@@ -32,7 +32,7 @@ class AccountManager(object):
def reset(self):
self.default_pool.reset()
- for pool in self.pools:
+... | Exscript.AccountManager.reset(), .acquire_account(): fix: did not work for non-default pools. | py |
diff --git a/codenerix_pos/views.py b/codenerix_pos/views.py
index <HASH>..<HASH> 100644
--- a/codenerix_pos/views.py
+++ b/codenerix_pos/views.py
@@ -524,6 +524,7 @@ class POSSession(View):
context = {}
old_uuid = self.request.session.get('POS_client_UUID', None)
new_uuid = request.POST.get(... | Session control for commit version from POSClient | py |
diff --git a/netmiko/ubiquiti/edge_ssh.py b/netmiko/ubiquiti/edge_ssh.py
index <HASH>..<HASH> 100644
--- a/netmiko/ubiquiti/edge_ssh.py
+++ b/netmiko/ubiquiti/edge_ssh.py
@@ -8,4 +8,4 @@ class UbiquitiEdgeSSH(VyOSSSH):
Mostly identical to VyOS (same root OS of Vyatta) inheriting from there.
"""
- pass
\ ... | Changing Ubiquiti EdgeOS to inherit from VyOS - RE issue #<I> | 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
@@ -9,6 +9,8 @@ from datetime import datetime, timedelta
import binascii
import random
+from cryptography.hazmat.primitives.ciphers import Ci... | hls: move cryptography to top imports. | py |
diff --git a/constance/backends/database/models.py b/constance/backends/database/models.py
index <HASH>..<HASH> 100644
--- a/constance/backends/database/models.py
+++ b/constance/backends/database/models.py
@@ -18,3 +18,6 @@ class Constance(models.Model):
verbose_name = _('constance')
verbose_name_plu... | Added __unicode__ to Constance model. | py |
diff --git a/salt/netapi/rest_tornado/saltnado.py b/salt/netapi/rest_tornado/saltnado.py
index <HASH>..<HASH> 100644
--- a/salt/netapi/rest_tornado/saltnado.py
+++ b/salt/netapi/rest_tornado/saltnado.py
@@ -494,6 +494,8 @@ class BaseSaltAPIHandler(tornado.web.RequestHandler): # pylint: disable=W0223
'''
... | Fixes a memory leak un-cleared stream connections. | py |
diff --git a/validator/txnintegration/netconfig.py b/validator/txnintegration/netconfig.py
index <HASH>..<HASH> 100644
--- a/validator/txnintegration/netconfig.py
+++ b/validator/txnintegration/netconfig.py
@@ -116,8 +116,15 @@ class NetworkConfigProvider(object):
# don't delete if we did not create
i... | fix race cond in netconfig This was only showing up in our new test suites. | py |
diff --git a/tests/utils/test_git_lookups.py b/tests/utils/test_git_lookups.py
index <HASH>..<HASH> 100644
--- a/tests/utils/test_git_lookups.py
+++ b/tests/utils/test_git_lookups.py
@@ -83,4 +83,6 @@ def test_runway_get(gitlab, tmpdir):
assert isinstance(result, str)
assert result == TEST_JSON
- my_git.... | tests: Ensure FileNotFound raises See also: #<I> | py |
diff --git a/modpypes/server.py b/modpypes/server.py
index <HASH>..<HASH> 100644
--- a/modpypes/server.py
+++ b/modpypes/server.py
@@ -86,6 +86,7 @@ class SimpleServer(Client):
# match the transaction information
resp.pduDestination = req.pduSource
resp.mpduTransactionID = req.mpduTransaction... | match the unit number in the response to the one in the request | py |
diff --git a/bids/layout/index.py b/bids/layout/index.py
index <HASH>..<HASH> 100644
--- a/bids/layout/index.py
+++ b/bids/layout/index.py
@@ -3,6 +3,7 @@
import os
import json
from collections import defaultdict
+from pathlib import Path
from bids_validator import BIDSValidator
from .models import Config, Entity,... | convert path to POSIX for bids-validator | py |
diff --git a/flask_rest_jsonapi/resource.py b/flask_rest_jsonapi/resource.py
index <HASH>..<HASH> 100644
--- a/flask_rest_jsonapi/resource.py
+++ b/flask_rest_jsonapi/resource.py
@@ -271,7 +271,7 @@ class ResourceDetail(with_metaclass(ResourceMeta, Resource)):
if 'id' not in json_data['data']:
rai... | PATCH should compare the id using the url_field defined in the data_layer class | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -1,7 +1,6 @@
import os
from distutils.core import setup, Command
-import coverage
import unittest
import logging.config
@@ -23,6 +22,7 @@ class TestCommand(Command):
pass
def run(self):
+ import ... | Allow setup.py to run without coverage installed | py |
diff --git a/pycm/pycm_output.py b/pycm/pycm_output.py
index <HASH>..<HASH> 100644
--- a/pycm/pycm_output.py
+++ b/pycm/pycm_output.py
@@ -15,7 +15,7 @@ def html_init(name):
:type name : str
:return: html_init as str
"""
- result = ""
+ result = "<!doctype html>\n"
result += "<html>\n"
re... | fix : doctype added to html_init function #<I> | py |
diff --git a/salt/config.py b/salt/config.py
index <HASH>..<HASH> 100644
--- a/salt/config.py
+++ b/salt/config.py
@@ -568,6 +568,7 @@ def include_config(include, orig_path, verbose):
main config file.
'''
# Protect against empty option
+
if not include:
return {}
@@ -833,12 +834,13 @@ de... | Some more missed `vm_config` to `profiles_config` missed occurrences. | py |
diff --git a/src/discoursegraphs/readwrite/exmaralda.py b/src/discoursegraphs/readwrite/exmaralda.py
index <HASH>..<HASH> 100755
--- a/src/discoursegraphs/readwrite/exmaralda.py
+++ b/src/discoursegraphs/readwrite/exmaralda.py
@@ -171,11 +171,11 @@ class ExmaraldaWriter(object):
token_attribs = defaultdict(lam... | refactoring: renamed variables | py |
diff --git a/tests/__init__.py b/tests/__init__.py
index <HASH>..<HASH> 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -66,12 +66,8 @@ class TestCase(unittest.TestCase):
"""Enter context manager for the remainder of the test, then leave.
This can be used in place of a with block in setUp,... | Pollished addContext's doc string. | py |
diff --git a/autograd/convenience_wrappers.py b/autograd/convenience_wrappers.py
index <HASH>..<HASH> 100644
--- a/autograd/convenience_wrappers.py
+++ b/autograd/convenience_wrappers.py
@@ -61,7 +61,7 @@ def value_and_multigrad(fun, argnums=[0]):
return fun(*extra_args_list, **kwargs)
gradfun = value_and... | value_and_grad should use make_tuple instead of tuple (#<I>) | py |
diff --git a/djangui/backend/ast/source_parser.py b/djangui/backend/ast/source_parser.py
index <HASH>..<HASH> 100644
--- a/djangui/backend/ast/source_parser.py
+++ b/djangui/backend/ast/source_parser.py
@@ -123,9 +123,9 @@ def walk_tree(node):
for key, value in d.items():
if isinstance(value, list):
... | fix for argparse being defined inside the __main__ statement | py |
diff --git a/pysnmp/carrier/twisted/dispatch.py b/pysnmp/carrier/twisted/dispatch.py
index <HASH>..<HASH> 100644
--- a/pysnmp/carrier/twisted/dispatch.py
+++ b/pysnmp/carrier/twisted/dispatch.py
@@ -47,7 +47,6 @@ class TwistedDispatcher(AbstractTransportDispatcher):
t = AbstractTransportDispatcher.getTransport... | fix: do not close transport whenever unregistering it at dispatcher | py |
diff --git a/simpleldap/__init__.py b/simpleldap/__init__.py
index <HASH>..<HASH> 100644
--- a/simpleldap/__init__.py
+++ b/simpleldap/__init__.py
@@ -211,9 +211,6 @@ class Connection(object):
if limit is None:
limit = self._search_defaults.get('limit', 0)
- from pprint import pprint as p... | debugging probably does not belong here. | py |
diff --git a/ipyrad/assemble/write_outfiles.py b/ipyrad/assemble/write_outfiles.py
index <HASH>..<HASH> 100644
--- a/ipyrad/assemble/write_outfiles.py
+++ b/ipyrad/assemble/write_outfiles.py
@@ -110,7 +110,7 @@ def run(data, samples, force, ipyclient):
## print friendly message
shortpath = data.dirs.outfile... | added extra line ending to step7 final print statement | py |
diff --git a/openstack-dashboard/dashboard/settings.py b/openstack-dashboard/dashboard/settings.py
index <HASH>..<HASH> 100644
--- a/openstack-dashboard/dashboard/settings.py
+++ b/openstack-dashboard/dashboard/settings.py
@@ -123,3 +123,11 @@ except Exception, e:
if DEBUG:
logging.basicConfig(level=logging.DEB... | Added support for debug_toolbar | py |
diff --git a/hamster-sqlite-setup.py b/hamster-sqlite-setup.py
index <HASH>..<HASH> 100755
--- a/hamster-sqlite-setup.py
+++ b/hamster-sqlite-setup.py
@@ -6,8 +6,8 @@ import distutils
data_dir = os.path.join(distutils.sysconfig.get_python_lib(), "hamster", "data")
setup(name='hamster-sqlite',
- version='0.1',
... | ramp version as we don't depend on hamster.conf and improve description | py |
diff --git a/jenkins/test-history/gen_json.py b/jenkins/test-history/gen_json.py
index <HASH>..<HASH> 100755
--- a/jenkins/test-history/gen_json.py
+++ b/jenkins/test-history/gen_json.py
@@ -41,6 +41,11 @@ import yaml
MAX_AGE = 60 * 60 * 24 # 1 day
+def pad_numbers(s):
+ """Modify a string to make its numbers ... | make test-history happy with non-numeric build directories | py |
diff --git a/salt/master.py b/salt/master.py
index <HASH>..<HASH> 100644
--- a/salt/master.py
+++ b/salt/master.py
@@ -898,6 +898,8 @@ class AESFuncs(object):
ret = {'jid': load['jid'],
'id': key,
'return': item}
+ if 'out' in load:
+ ret['o... | Add outputter data in syndic single event fires Fix #<I> | py |
diff --git a/openquake/commands/webui.py b/openquake/commands/webui.py
index <HASH>..<HASH> 100644
--- a/openquake/commands/webui.py
+++ b/openquake/commands/webui.py
@@ -39,7 +39,7 @@ def webui(cmd, hostport='127.0.0.1:8800'):
"""
db_path = os.path.expanduser(config.get('dbserver', 'file'))
- if not os.... | Allow the WebUI to bootstrap the DB Former-commit-id: <I>b2ee1af3c<I>e<I>f9b0c5aae<I>a<I>a6 [formerly <I>dbd<I>a4e9c<I>ecdef1aabb<I>] Former-commit-id: <I>b<I>b0febaceb5ddf2d<I>ae<I>f2 | py |
diff --git a/geomdl/utilities.py b/geomdl/utilities.py
index <HASH>..<HASH> 100644
--- a/geomdl/utilities.py
+++ b/geomdl/utilities.py
@@ -636,17 +636,15 @@ def polygon_triangulate(tri_idx, *args):
:return: list of Triangle objects
:rtype: list
"""
- # Add first element to the end of the list (just to... | Fix a logical error in polygon_triangulate | py |
diff --git a/tests/unit/decoration_test.py b/tests/unit/decoration_test.py
index <HASH>..<HASH> 100644
--- a/tests/unit/decoration_test.py
+++ b/tests/unit/decoration_test.py
@@ -13,6 +13,7 @@ from inspect import ismethod
from patchboard import Patchboard
from patchboard.mapping import Mapping
+from patchboard.util... | Sync test with latest bugfixes | py |
diff --git a/mackup.py b/mackup.py
index <HASH>..<HASH> 100755
--- a/mackup.py
+++ b/mackup.py
@@ -173,12 +173,12 @@ class ApplicationProfile(object):
.format(filename)):
delete(home_filepath)
- # The config file should be 0600
+ ... | Explain why we need <I> here | py |
diff --git a/hearthstone/hslog/parser.py b/hearthstone/hslog/parser.py
index <HASH>..<HASH> 100644
--- a/hearthstone/hslog/parser.py
+++ b/hearthstone/hslog/parser.py
@@ -281,6 +281,11 @@ class PowerHandler(object):
class OptionsHandler(object):
+ def __init__(self):
+ super(OptionsHandler, self).__init__()
+ se... | hslog: Raise a parsing error when an option is missing its option group | py |
diff --git a/pythran/cxxtypes.py b/pythran/cxxtypes.py
index <HASH>..<HASH> 100644
--- a/pythran/cxxtypes.py
+++ b/pythran/cxxtypes.py
@@ -225,21 +225,18 @@ std::declval<bool>()))
return Type.__add__(self, other)
def generate(self, ctx):
+ import sys
+ curre... | [cxxtypes generate recursion patch] - Patch to allow longer recursions | py |
diff --git a/isort/isort.py b/isort/isort.py
index <HASH>..<HASH> 100644
--- a/isort/isort.py
+++ b/isort/isort.py
@@ -831,6 +831,9 @@ class SortImports(object):
self._in_top_comment = False
while not self._at_end():
line = self._get_line()
+ line = line.replace("from.import", ... | Fix <I> and <I> by cleaning line earlier | py |
diff --git a/falafel/core/reducer.py b/falafel/core/reducer.py
index <HASH>..<HASH> 100644
--- a/falafel/core/reducer.py
+++ b/falafel/core/reducer.py
@@ -167,7 +167,7 @@ def _run(reducers, local_output, shared_output, error_handler, output_dict=None,
logger.debug("Reducer output: %s", r)
if f... | Make reducer responses depend on membership in EMITTERS. Whether _run yields a response depends on whether the plugin it executed is a member of EMITTERS. | py |
diff --git a/solvebio/query.py b/solvebio/query.py
index <HASH>..<HASH> 100644
--- a/solvebio/query.py
+++ b/solvebio/query.py
@@ -682,7 +682,8 @@ class Query(object):
% self._response)
return _params, self._response
- def export(self, format='json', follow=True, limit=None):
+ de... | add target_full_path kwarg to export shortcut (#<I>) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -24,12 +24,12 @@ tests_require = [
'pydocstyle>=1.0.0',
'pytest-invenio>=1.1.1',
'pytest-pep8>=1.0.6',
- 'pytest>=3.7.0',
+ 'pytest>=4.0.0,<5.0.0',
]
extras_require = {
'docs': [
- 'Sphinx>... | global: pin pytest and sphinx versions | py |
diff --git a/jss/distribution_points.py b/jss/distribution_points.py
index <HASH>..<HASH> 100644
--- a/jss/distribution_points.py
+++ b/jss/distribution_points.py
@@ -151,8 +151,12 @@ class MountedRepository(Repository):
def _build_url(self):
pass
- def mount(self):
- """Mount the repository."... | Add ability to mount -o nobrowse. | py |
diff --git a/collections_extended/setlists.py b/collections_extended/setlists.py
index <HASH>..<HASH> 100644
--- a/collections_extended/setlists.py
+++ b/collections_extended/setlists.py
@@ -112,7 +112,7 @@ class _basesetlist(Sequence, Set):
return self._list[index]
def count(self, value):
- """Return the numbe... | Update docstrings and delint | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -19,7 +19,10 @@ if USE_CYTHON:
else:
cython_ext = "c"
ext_modules = [
- Extension("pycam02ucs._ciecam02", ["pycam02ucs/_ciecam02.%s" % (cython_ext,)])
+ Extension("pycam02ucs._ciecam02",
+ ["pycam02uc... | add numpy include dir to build | py |
diff --git a/pyvisa/__init__.py b/pyvisa/__init__.py
index <HASH>..<HASH> 100644
--- a/pyvisa/__init__.py
+++ b/pyvisa/__init__.py
@@ -37,16 +37,11 @@ def log_to_screen(level=logging.DEBUG):
__version__ = "unknown"
-try: # try to grab the commit version of our package
- __version__ = (subprocess.check_output([... | Removed fetching version from git repo If git isn't installed, OS X prompts the user to install Xcode. We choose to remove this developer feature to make it better for the end user. See hgrecco/pint#<I> | py |
diff --git a/confidence/io.py b/confidence/io.py
index <HASH>..<HASH> 100644
--- a/confidence/io.py
+++ b/confidence/io.py
@@ -1,7 +1,7 @@
from enum import IntEnum
from functools import partial
from itertools import product
-from os import environ, path
+from os import environ, path, PathLike
import re
import typi... | Mark file name / path arguments as accepting either str or PathLike | py |
diff --git a/anyconfig/globals.py b/anyconfig/globals.py
index <HASH>..<HASH> 100644
--- a/anyconfig/globals.py
+++ b/anyconfig/globals.py
@@ -8,7 +8,7 @@ import anyconfig.init
PACKAGE = "anyconfig"
-AUTHOR = "Satoru SATOH <ssat@redhat.com>"
+AUTHOR = "Satoru SATOH <ssato@redhat.com>"
VERSION = "0.8.2"
LOGGER ... | fix: I have no memory but I wrongly typo-ed (maybe remove o accidentally) my mail address! | py |
diff --git a/bika/lims/exportimport/setupdata/__init__.py b/bika/lims/exportimport/setupdata/__init__.py
index <HASH>..<HASH> 100644
--- a/bika/lims/exportimport/setupdata/__init__.py
+++ b/bika/lims/exportimport/setupdata/__init__.py
@@ -1243,7 +1243,11 @@ class Analysis_Specifications(WorksheetImporter):
bsc... | Fix "title" field in Analysis Specifications We've been using two different sheet formats | py |
diff --git a/jishaku/flags.py b/jishaku/flags.py
index <HASH>..<HASH> 100644
--- a/jishaku/flags.py
+++ b/jishaku/flags.py
@@ -31,7 +31,7 @@ class Flag:
default: typing.Callable = None
override: typing.Any = None
- def resolve(self, flags):
+ def resolve(self, flags): # pylint: disable=too-many-retur... | Disable some pylint warnings for intended structures | py |
diff --git a/test/test_autopep8.py b/test/test_autopep8.py
index <HASH>..<HASH> 100644
--- a/test/test_autopep8.py
+++ b/test/test_autopep8.py
@@ -158,8 +158,8 @@ while True:
def test_e224_and_e225(self):
line = """
class Foo():
- def __init__(self):
- x= 3
+ def __init__(self):
+ x= 3
""".... | Modify to properly match issue #<I> | py |
diff --git a/distutils/core.py b/distutils/core.py
index <HASH>..<HASH> 100644
--- a/distutils/core.py
+++ b/distutils/core.py
@@ -8,6 +8,7 @@ really defined in distutils.dist and distutils.cmd.
import os
import sys
+import tokenize
from distutils.debug import DEBUG
from distutils.errors import *
@@ -205,14 +20... | Adopt setuptools.build_meta approach for run_setup `setuptools.build_meta` uses `tokenize.open` instead of open (and replaces `\r\n` with `\n`) when exec-ing `setup.py` files. It seems that the advantage of using `tokenize.open` is that it supports automatic encoding detection. | py |
diff --git a/openquake/engine/views.py b/openquake/engine/views.py
index <HASH>..<HASH> 100644
--- a/openquake/engine/views.py
+++ b/openquake/engine/views.py
@@ -64,12 +64,10 @@ def view_mean_avg_losses(key, job_id):
names = losses.dtype.names
rows = []
if ins_losses is None:
- for loss in losses... | Simplified the work to work as in oq-lite Former-commit-id: 9cf8fe5b<I>e<I>eed<I>e7d5cd<I>cd4f5e | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,12 +2,12 @@ from distutils.core import setup
setup(
name = 'crowdrouter',
packages = ['crowdrouter', 'crowdrouter/task', 'crowdrouter/workflow'], # this must be the same as the name above
- version = '0.4',
+ versi... | -forgot the version numbering and release URL. sheesh. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -50,7 +50,7 @@ if sys.platform == 'darwin':
setup(name = "ssh",
- version = "1.8.0a0",
+ version = "dev",
description = "SSH2 protocol library",
author = "Jeff Forcier",
author_email = "jeff... | Trying something stupid re: ==dev | py |
diff --git a/dataviews/transform.py b/dataviews/transform.py
index <HASH>..<HASH> 100644
--- a/dataviews/transform.py
+++ b/dataviews/transform.py
@@ -14,13 +14,36 @@ import matplotlib
from imagen.analysis import ViewOperation
from sheetviews import SheetView
-from styles import options, GrayNearest
+from options i... | Added RGBA operation to transforms to replace SheetOverlay rgb property | py |
diff --git a/insights/client/connection.py b/insights/client/connection.py
index <HASH>..<HASH> 100644
--- a/insights/client/connection.py
+++ b/insights/client/connection.py
@@ -181,10 +181,11 @@ class InsightsConnection(object):
else:
core_version = "Core %s" % package_info["VERSION"]
- ... | connection: pull insights-client version directly (#<I>) * connection: pull insights-client version directly | py |
diff --git a/lib/types/byte.py b/lib/types/byte.py
index <HASH>..<HASH> 100644
--- a/lib/types/byte.py
+++ b/lib/types/byte.py
@@ -8,3 +8,13 @@ class Byte(numeric_region.NumericRegion):
class ByteArray(array.Array):
BASE_CLASS = Byte
+
+ def __str__(self):
+ result = list()
+
+ for i in xrange(... | allow byte arrays to be converted into a string | py |
diff --git a/tools/c7n_mailer/c7n_mailer/slack_delivery.py b/tools/c7n_mailer/c7n_mailer/slack_delivery.py
index <HASH>..<HASH> 100644
--- a/tools/c7n_mailer/c7n_mailer/slack_delivery.py
+++ b/tools/c7n_mailer/c7n_mailer/slack_delivery.py
@@ -111,7 +111,7 @@ class SlackDelivery:
key)
)
-... | tools/c7n_mailer - use utf-8 encoding for slack delivery (#<I>) | py |
diff --git a/wpull/proxy.py b/wpull/proxy.py
index <HASH>..<HASH> 100644
--- a/wpull/proxy.py
+++ b/wpull/proxy.py
@@ -124,6 +124,8 @@ class Session(object):
self._reject_request('Upgrade not supported')
return
+ _logger.debug(__('Got request 2 {0}', request))
+
... | proxy: Add debug log for request after possible CONNECT | py |
diff --git a/salt/utils/lazy.py b/salt/utils/lazy.py
index <HASH>..<HASH> 100644
--- a/salt/utils/lazy.py
+++ b/salt/utils/lazy.py
@@ -98,8 +98,8 @@ class LazyDict(collections.MutableMapping):
'''
Check if the name is in the dict and return it if it is
'''
- if name in self:
- ... | Fixing issue that causes RuntimeError maximum recursion Fixes #<I> | py |
diff --git a/pysolr.py b/pysolr.py
index <HASH>..<HASH> 100644
--- a/pysolr.py
+++ b/pysolr.py
@@ -1207,6 +1207,7 @@ class ZooKeeper(object):
if kazoo_client is None:
self.zk = KazooClient(zkServerAddress, read_only=True, timeout=timeout,
+ command_retry={'max_tr... | ZooKeeper: by default use the same timeout for commands and connections | py |
diff --git a/octodns/provider/ns1.py b/octodns/provider/ns1.py
index <HASH>..<HASH> 100644
--- a/octodns/provider/ns1.py
+++ b/octodns/provider/ns1.py
@@ -174,7 +174,7 @@ class Ns1Provider(BaseProvider):
class: octodns.provider.ns1.Ns1Provider
api_key: env/NS1_API_KEY
'''
- SUPPORTS_GEO = Fals... | Ns1 still SUPPORTS_GEO | py |
diff --git a/spyder/plugins/projects/plugin.py b/spyder/plugins/projects/plugin.py
index <HASH>..<HASH> 100644
--- a/spyder/plugins/projects/plugin.py
+++ b/spyder/plugins/projects/plugin.py
@@ -426,6 +426,7 @@ class Projects(SpyderPluginWidget):
# multiple workspaces.
self.sig_project_closed... | * stop current watcher on project switching. resolves #<I> | py |
diff --git a/tcex/tcex_bin_test.py b/tcex/tcex_bin_test.py
index <HASH>..<HASH> 100755
--- a/tcex/tcex_bin_test.py
+++ b/tcex/tcex_bin_test.py
@@ -104,8 +104,7 @@ class Validation:
def generate(self, feature, file_, output_variables):
"""If not currently exist, generates the validation file."""
i... | + pull template from github. | py |
diff --git a/memorious/worker.py b/memorious/worker.py
index <HASH>..<HASH> 100644
--- a/memorious/worker.py
+++ b/memorious/worker.py
@@ -2,6 +2,7 @@ import logging
from servicelayer.worker import Worker
from memorious.logic.context import Context
+from memorious.logic.rate_limit import get_rate_limit
from memori... | Reintroduce stage wise rate limiting It can be used to avoid `QueueTooBigError` | py |
diff --git a/textplot/text.py b/textplot/text.py
index <HASH>..<HASH> 100644
--- a/textplot/text.py
+++ b/textplot/text.py
@@ -109,6 +109,41 @@ class Text(object):
return counts
+ def count_buckets(self):
+
+ """
+ Build a dictionary that maps integers to the terms that appear that
+ ... | Adds count_buckets and most_frequent_terms helpers to Text. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -38,7 +38,7 @@ Above is the ouput showing how the compilation failed.""" % ext.name
setup(
name="pymongo",
- version="0.5.3pre",
+ version="0.6",
description="Driver for the Mongo database <http://www.mongod... | bumping in preparation for tomorrow's release | py |
diff --git a/sixpack/models.py b/sixpack/models.py
index <HASH>..<HASH> 100644
--- a/sixpack/models.py
+++ b/sixpack/models.py
@@ -351,7 +351,7 @@ class Experiment(object):
def _get_hash(self, client):
salty = "{0}.{1}".format(self.name, client.client_id)
- hashed = sha1(salty).hexdigest()[:13]
+... | only use first 7 chars of UUID for deterministic algo | py |
diff --git a/indra/tests/test_identifiers.py b/indra/tests/test_identifiers.py
index <HASH>..<HASH> 100644
--- a/indra/tests/test_identifiers.py
+++ b/indra/tests/test_identifiers.py
@@ -124,7 +124,7 @@ ns_mapping = {
'http://identifiers.org/uniprot:P01019#PRO_0000032458'),
('NXPFA', '00880'): ('https://w... | Update SIGNOR URLs in tests | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -19,7 +19,7 @@ setuptools.setup(
author='Freelancer.com',
url='https://github.com/freelancer/freelancer-sdk-python',
author_email='api-support@freelancer.com',
- version='0.1.17',
+ version='0.1.18',
... | Bump release version to <I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -24,7 +24,7 @@ class PyTest(TestCommand):
setup(
name='graphene',
- version='0.7.1',
+ version='0.7.2',
description='GraphQL Framework for Python',
long_description=open('README.rst').read(), | Updated version to <I> | py |
diff --git a/src/armet/attributes/attribute.py b/src/armet/attributes/attribute.py
index <HASH>..<HASH> 100644
--- a/src/armet/attributes/attribute.py
+++ b/src/armet/attributes/attribute.py
@@ -74,7 +74,7 @@ class Attribute(object):
target = func(target)
# Are their segments remaining to make a... | Ensure we resolve all the segments when we can. | py |
diff --git a/pprofile.py b/pprofile.py
index <HASH>..<HASH> 100755
--- a/pprofile.py
+++ b/pprofile.py
@@ -527,9 +527,8 @@ class ProfileBase(object):
func_dict = defaultdict(lambda: defaultdict(lambda: ([], [])))
for lineno, code, hits, duration, _ in self._iterFile(current_file):
... | pprofile: Postpone cachegring hit line rendering. | py |
diff --git a/pysyte/imports.py b/pysyte/imports.py
index <HASH>..<HASH> 100644
--- a/pysyte/imports.py
+++ b/pysyte/imports.py
@@ -87,6 +87,8 @@ class ImportVisitor(ast.NodeVisitor):
def visit_Attribute(self, node):
try:
self.check_usage(node.value.id, node.lineno)
+ full_name = f'... | CHeck usage for full dotted name as well as node name | py |
diff --git a/asn1crypto/keys.py b/asn1crypto/keys.py
index <HASH>..<HASH> 100644
--- a/asn1crypto/keys.py
+++ b/asn1crypto/keys.py
@@ -557,6 +557,8 @@ class PrivateKeyInfo(Sequence):
elif algorithm == 'ec':
if not isinstance(private_key, ECPrivateKey):
private_key = ECPrivateKey.l... | Fix a bug with keys.PrivateKeyInfo.wrap() and EC keys that could lead to side effects | py |
diff --git a/hdbscan/hdbscan_.py b/hdbscan/hdbscan_.py
index <HASH>..<HASH> 100644
--- a/hdbscan/hdbscan_.py
+++ b/hdbscan/hdbscan_.py
@@ -238,7 +238,7 @@ def _hdbscan_prims_balltree(X, min_samples=5, alpha=1.0,
X = np.array(X, dtype=np.double, order='C')
if X.dtype != np.float64:
- X = X.astype(... | Support old versions of numpy that have old versions of astype. | py |
diff --git a/esptool.py b/esptool.py
index <HASH>..<HASH> 100755
--- a/esptool.py
+++ b/esptool.py
@@ -2941,7 +2941,7 @@ def dump_mem(esp, args):
print_overwrite('%d bytes read... (%d %%)' % (f.tell(),
f.tell() * 100 // args.size))
... | dump_mem: Fixed failing overall bytes read message | py |
diff --git a/salt/utils/jinja.py b/salt/utils/jinja.py
index <HASH>..<HASH> 100644
--- a/salt/utils/jinja.py
+++ b/salt/utils/jinja.py
@@ -138,3 +138,10 @@ class SerializerExtension(Extension):
elif formatter == 'yaml':
return Markup(yaml.dump(value, default_flow_style=True))
raise ValueE... | Implement `SerializerExtension.parse()` to comply with pylint. | py |
diff --git a/programs/thellier_gui.py b/programs/thellier_gui.py
index <HASH>..<HASH> 100755
--- a/programs/thellier_gui.py
+++ b/programs/thellier_gui.py
@@ -5131,6 +5131,7 @@ You can combine multiple measurement files into one measurement file using Pmag
legend_font_props.set_size(12)
#h,l = ax.g... | thellier gui plot paleointensity, make sure legend is on the correct figure | py |
diff --git a/lib/drizzlepac/processInput.py b/lib/drizzlepac/processInput.py
index <HASH>..<HASH> 100644
--- a/lib/drizzlepac/processInput.py
+++ b/lib/drizzlepac/processInput.py
@@ -89,7 +89,7 @@ def setCommonInput(configObj, createOutwcs=True):
"""
- if not createOutwcs:
+ if not createOutwcs or not co... | Update astrodrizzle to fix the following bugs reported in OPUS and CADC testing: - staticMask not turned on caused final_driz to fail in in-memory mode ONLY for OPUS <I>a - missing modes in IDCTAB caused coeffs=no to fail git-svn-id: <URL> | py |
diff --git a/airflow/models/dag.py b/airflow/models/dag.py
index <HASH>..<HASH> 100644
--- a/airflow/models/dag.py
+++ b/airflow/models/dag.py
@@ -2268,12 +2268,12 @@ class DAG(LoggingMixin):
"""
if run_id: # Infer run_type from run_id if needed.
if not isinstance(run_id, str):
- ... | Fix some weird English in `create_dagrun` exceptions (#<I>) | py |
diff --git a/pyout/tests/test_tabular.py b/pyout/tests/test_tabular.py
index <HASH>..<HASH> 100644
--- a/pyout/tests/test_tabular.py
+++ b/pyout/tests/test_tabular.py
@@ -999,7 +999,7 @@ def test_tabular_callback_to_offscreen_row(nrows):
nexpected_plain = 0
nexpected_updated = 1
- assert len([l f... | tests: Rename variable to silence warning (E<I>) | py |
diff --git a/buildbot_travis/loader.py b/buildbot_travis/loader.py
index <HASH>..<HASH> 100644
--- a/buildbot_travis/loader.py
+++ b/buildbot_travis/loader.py
@@ -34,7 +34,7 @@ class Loader(object):
slaves = [s.slavename for s in self.config['slaves']]
return slaves[1:]
- def define_travis_builde... | Use buildbot.revlinks instead of doing this. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -6,7 +6,7 @@ from distutils.core import setup
if 'sdist' in sys.argv:
os.system('./admin/makedoc')
-version = '[library version:2.2.2]'[17:-1]
+version = '[library version:2.2.3]'[17:-1]
setup(
name='python-ope... | [project @ Set version to <I>; ignore <I> due to repository inconsistency] Ignore-this: 7fdee<I>f<I>e<I>e<I>dfb<I> | py |
diff --git a/grimoire_elk/utils.py b/grimoire_elk/utils.py
index <HASH>..<HASH> 100755
--- a/grimoire_elk/utils.py
+++ b/grimoire_elk/utils.py
@@ -222,7 +222,7 @@ def get_kibiter_version(url):
"""
config_url = '/.kibana/config/_search'
- url = urljoin(url + "/", config_url)
+ url += "/" + config_url
... | [gelk] Remove urljoin to combine the base URL with the kibana config path because it removes the "/data" path. | py |
diff --git a/openstack_dashboard/dashboards/admin/dashboard.py b/openstack_dashboard/dashboards/admin/dashboard.py
index <HASH>..<HASH> 100644
--- a/openstack_dashboard/dashboards/admin/dashboard.py
+++ b/openstack_dashboard/dashboards/admin/dashboard.py
@@ -31,8 +31,7 @@ class Admin(horizon.Dashboard):
... | Remove broken telemetry policy check The reference to telemetry policy is no longer needed as well as broken causing the admin dashboard to show up inappropriately. Closes-Bug: #<I> Change-Id: I<I>f5d6c<I>b0fcc<I>df<I>a<I>b<I>ffc2c<I>e7 | py |
diff --git a/ruuvitag_sensor/ble_communication.py b/ruuvitag_sensor/ble_communication.py
index <HASH>..<HASH> 100644
--- a/ruuvitag_sensor/ble_communication.py
+++ b/ruuvitag_sensor/ble_communication.py
@@ -75,8 +75,8 @@ class BleCommunicationNix(BleCommunication):
log.info('Problem with hciconfig reset. E... | Add missing device argument to hci commands (#<I>) | py |
diff --git a/dramatiq/brokers/redis.py b/dramatiq/brokers/redis.py
index <HASH>..<HASH> 100644
--- a/dramatiq/brokers/redis.py
+++ b/dramatiq/brokers/redis.py
@@ -338,6 +338,13 @@ class _RedisConsumer(Consumer):
# cache and if there aren't, we go down the slow
# path of doing n... | redis: skip None messages Related to #<I>. | py |
diff --git a/autoit/win.py b/autoit/win.py
index <HASH>..<HASH> 100644
--- a/autoit/win.py
+++ b/autoit/win.py
@@ -381,7 +381,7 @@ def win_menu_select_item(title, *items, **kwargs):
if not (0 < len(items) < 8):
raise ValueError("accepted none item or number of items exceed eight")
f_items = [LPCWSTR(... | change use of xrange to range to be python3 compatible | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
setuptools.setup(
name="area4",
- version="1.0.7",
+ version="1.1.0",
author="RDIL",
author_email="contactspaceboom@gmail.com",
description="Dividers... | about to send to pypi | py |
diff --git a/jasper.py b/jasper.py
index <HASH>..<HASH> 100755
--- a/jasper.py
+++ b/jasper.py
@@ -137,7 +137,7 @@ if __name__ == "__main__":
try:
app = Jasper()
except Exception:
- logger.exception("Error occured!", exc_info=True)
+ logger.error("Error occured!", exc_info=True)
... | Fix invalid keyword argument This resolves #<I>. | py |
diff --git a/src/edeposit/amqp/harvester/autoparser/path_patterns.py b/src/edeposit/amqp/harvester/autoparser/path_patterns.py
index <HASH>..<HASH> 100755
--- a/src/edeposit/amqp/harvester/autoparser/path_patterns.py
+++ b/src/edeposit/amqp/harvester/autoparser/path_patterns.py
@@ -46,9 +46,16 @@ def neighbours_pattern... | #<I>: Fixed few bugs in path_patterns.py / neighbours_pattern() | py |
diff --git a/run_tests.py b/run_tests.py
index <HASH>..<HASH> 100644
--- a/run_tests.py
+++ b/run_tests.py
@@ -3,23 +3,21 @@ from __future__ import print_function
import subprocess
-import pytest
+def fail_on_error(return_code):
+ if return_code:
+ print('Failed !')
+ exit(return_code)
+ else... | Improve run_tests script This is a backup before deleting the file | py |
diff --git a/dimod/package_info.py b/dimod/package_info.py
index <HASH>..<HASH> 100644
--- a/dimod/package_info.py
+++ b/dimod/package_info.py
@@ -14,7 +14,7 @@
#
# ================================================================================================
-__version__ = '0.9.0.dev3'
+__version__ = '0.9.0.dev4... | Update version <I>.dev3 -> <I>.dev4 Fixes ----- * Fix deserialization of variables that are nested tuples * Include `shapeablebqm.pyx.src` in the `manifest.ini` | py |
diff --git a/emds/formats/exceptions.py b/emds/formats/exceptions.py
index <HASH>..<HASH> 100644
--- a/emds/formats/exceptions.py
+++ b/emds/formats/exceptions.py
@@ -1,8 +1,9 @@
"""
Various parser-related exceptions.
"""
+from emds.exceptions import EMDSError
-class ParseError(Exception):
+class ParseError(EMDSEr... | Make ParseError a child of EMDSError. | py |
diff --git a/cruzdb/models.py b/cruzdb/models.py
index <HASH>..<HASH> 100644
--- a/cruzdb/models.py
+++ b/cruzdb/models.py
@@ -838,4 +838,7 @@ class knownGene(ABase):
not ">" in x]
return "".join(seq)
+class all_mrna(ABase):
+ __tablename__ = "all_mrna"
+ qName = Column(String, uniqu... | add all_mrna to models | py |
diff --git a/run.py b/run.py
index <HASH>..<HASH> 100644
--- a/run.py
+++ b/run.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
import sys
import logging
import logging.config | add python call so this works as a script | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.