diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/myql/utils.py b/myql/utils.py index <HASH>..<HASH> 100644 --- a/myql/utils.py +++ b/myql/utils.py @@ -3,11 +3,11 @@ from xml.dom import minidom from xml.etree import cElementTree as tree def pretty_json(data): - data = json.loads(data) + data = json.loads(data.decode('utf-8')) return json.du...
decode method added for each response.content
py
diff --git a/graphene/contrib/django/types.py b/graphene/contrib/django/types.py index <HASH>..<HASH> 100644 --- a/graphene/contrib/django/types.py +++ b/graphene/contrib/django/types.py @@ -26,7 +26,7 @@ class DjangoObjectTypeMeta(ObjectTypeMeta): return only_fields = cls._meta.only_fields ...
Fixed local_fields with fields when Extending from A non abstract Django model
py
diff --git a/tests/test_decorators.py b/tests/test_decorators.py index <HASH>..<HASH> 100644 --- a/tests/test_decorators.py +++ b/tests/test_decorators.py @@ -1311,3 +1311,14 @@ def test_output_format_inclusion(hug_api): hug_api.extend(api, '') assert hug.test.get(hug_api, 'my_endpoint').data == {'mutated':...
Add test to ensure issue #<I> is resolved with the latest set of changes
py
diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/setup.py b/sdk/formrecognizer/azure-ai-formrecognizer/setup.py index <HASH>..<HASH> 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/setup.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/setup.py @@ -44,6 +44,7 @@ setup( author='Microsoft Corporati...
[formrecognizer] Adding keywords to improve searching for FR package (#<I>) * adding keyword to improve searching for FR package * add applied ai to terms
py
diff --git a/groupy/api/endpoint.py b/groupy/api/endpoint.py index <HASH>..<HASH> 100644 --- a/groupy/api/endpoint.py +++ b/groupy/api/endpoint.py @@ -521,6 +521,29 @@ class Users(Endpoint): ) return cls.response(r) + @classmethod + def update(cls, avatar_url=None, name=None, email=None, zip_c...
Adds support for updating user info Adds new method Users.update() that allows the modification of the user's avatar_url, name, email, and zip_code.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -44,7 +44,7 @@ if sys.version_info >= (3,): setup( name='ngram', description='A `set` subclass providing fuzzy search based on N-grams.', - version='3.3.0', + version='3.3.1', license='LGPLv3+', py_m...
Change version number from <I> to <I>
py
diff --git a/appinst/platforms/win32.py b/appinst/platforms/win32.py index <HASH>..<HASH> 100644 --- a/appinst/platforms/win32.py +++ b/appinst/platforms/win32.py @@ -156,3 +156,9 @@ class Win32(object): if os.path.isdir(rel_path): shutil.rmtree(rel_path, True) ...
Remove the top-level menu directory if empty.
py
diff --git a/tangelo/tangelo/server.py b/tangelo/tangelo/server.py index <HASH>..<HASH> 100644 --- a/tangelo/tangelo/server.py +++ b/tangelo/tangelo/server.py @@ -430,6 +430,8 @@ class Tangelo(object): tangelo.http_status(501, "Error Importing Service") tangelo.content_type("application/json")...
Reporting traceback when module *loading* fails, in addition to when module *execution* fails
py
diff --git a/libsubmit/providers/local/local.py b/libsubmit/providers/local/local.py index <HASH>..<HASH> 100644 --- a/libsubmit/providers/local/local.py +++ b/libsubmit/providers/local/local.py @@ -95,9 +95,9 @@ class Local(ExecutionProvider): if channel is None: if channel_script_dir is None: ...
Fix log error pointed out by @yadudoc
py
diff --git a/geomdl/trimming.py b/geomdl/trimming.py index <HASH>..<HASH> 100644 --- a/geomdl/trimming.py +++ b/geomdl/trimming.py @@ -49,8 +49,7 @@ def fix_multi_trim_curves(obj, **kwargs): # Directly add to the new trims array if the trim is a single curve if trim_size == 1: - ...
Don't remove the curve from the container before fixing the sense
py
diff --git a/pipes/elb/create_elb.py b/pipes/elb/create_elb.py index <HASH>..<HASH> 100644 --- a/pipes/elb/create_elb.py +++ b/pipes/elb/create_elb.py @@ -110,10 +110,10 @@ def main(): health_proto, health_port_path = args.health_target.split(':') health_port, *health_path = health_port_path.split('/') - ...
fix: Format Health Check path with slashes See also: PSOBAT-<I>
py
diff --git a/tensorflow_probability/python/distributions/platform_compatibility_test.py b/tensorflow_probability/python/distributions/platform_compatibility_test.py index <HASH>..<HASH> 100644 --- a/tensorflow_probability/python/distributions/platform_compatibility_test.py +++ b/tensorflow_probability/python/distributi...
Raise numerical tolerance for JohnsonSU agreement with vmap. PiperOrigin-RevId: <I>
py
diff --git a/dataviews/__init__.py b/dataviews/__init__.py index <HASH>..<HASH> 100644 --- a/dataviews/__init__.py +++ b/dataviews/__init__.py @@ -4,6 +4,10 @@ import sys, os cwd = os.path.abspath(os.path.split(__file__)[0]) sys.path.insert(0, os.path.join(cwd, '..', 'param')) +import param + +__version__ = param.V...
Set __version__ using param.Version (commit tagged as '<I>')
py
diff --git a/pyani/scripts/parsers/report_parser.py b/pyani/scripts/parsers/report_parser.py index <HASH>..<HASH> 100644 --- a/pyani/scripts/parsers/report_parser.py +++ b/pyani/scripts/parsers/report_parser.py @@ -108,7 +108,7 @@ def build( "--run_results", action="store", dest="run_results"...
Use plural metavar, RUN_ID -> RUN_IDS Suggestion from code review
py
diff --git a/addok/core.py b/addok/core.py index <HASH>..<HASH> 100644 --- a/addok/core.py +++ b/addok/core.py @@ -65,6 +65,8 @@ class Result(object): def __init__(self, _id): doc = DB.hgetall(_id) for key, value in doc.items(): + if key.startswith(b'h|'): + continue ...
Do not create a Result attr for each housenumber
py
diff --git a/src/sos/preview.py b/src/sos/preview.py index <HASH>..<HASH> 100644 --- a/src/sos/preview.py +++ b/src/sos/preview.py @@ -69,8 +69,11 @@ def preview_img(filename, kernel=None, style=None): try: from wand.image import Image img = Image(filename=filename) - retur...
fix preview for .gif and a bug for .dot with multi outputs #<I>
py
diff --git a/master/setup.py b/master/setup.py index <HASH>..<HASH> 100755 --- a/master/setup.py +++ b/master/setup.py @@ -369,7 +369,7 @@ else: # buildbot depends on sqlalchemy internals, and this is the tested # version. 'sqlalchemy-migrate==0.7.2', - 'python-dateutil==1.5', + ...
relax requirement for python-dateutil
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -32,6 +32,7 @@ except ImportError: with open('oct2py/__init__.py', 'rb') as fid: for line in fid: + line = line.decode('utf-8') if line.startswith('__version__'): version = line.strip(...
Fix setup.py in Py3K
py
diff --git a/dataviews/plots.py b/dataviews/plots.py index <HASH>..<HASH> 100644 --- a/dataviews/plots.py +++ b/dataviews/plots.py @@ -794,7 +794,7 @@ class DataGridPlot(Plot): for coord in self.grid.keys(): view = self.grid.get(coord, None) if view is not None: - subax...
Fixed DataGrid indexing bug causing grids to be rotated
py
diff --git a/flask_rest_jsonapi/utils.py b/flask_rest_jsonapi/utils.py index <HASH>..<HASH> 100644 --- a/flask_rest_jsonapi/utils.py +++ b/flask_rest_jsonapi/utils.py @@ -1,6 +1,7 @@ # -*- coding: utf-8 -*- import json +from uuid import UUID from datetime import datetime @@ -8,4 +9,6 @@ class JSONEncoder(json....
manage uuid object in json encoder
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -24,8 +24,7 @@ def find_version(*file_paths): return version_match.group(1) raise RuntimeError("Unable to find version string.") -requirements_file = "requirements.txt" -requirements = [pkg.strip() for pkg in o...
Correct setup file python3
py
diff --git a/tests/test_decorators.py b/tests/test_decorators.py index <HASH>..<HASH> 100644 --- a/tests/test_decorators.py +++ b/tests/test_decorators.py @@ -187,3 +187,16 @@ def test_json_auto_convert(): return body assert hug.test.get(api, 'test_json_body_stream_only', body=['value1', 'value2']).data =...
Add test to define how I would output formats to work
py
diff --git a/pifacecommon/core.py b/pifacecommon/core.py index <HASH>..<HASH> 100644 --- a/pifacecommon/core.py +++ b/pifacecommon/core.py @@ -49,8 +49,8 @@ INTPOL_HIGH = 0x02 # interupt polarity INTPOL_LOW = 0x00 SPIDEV = '/dev/spidev' -SPI_HELP_LINK = \ - "https://github.com/piface/pifacecommon#1-enable-the-s...
updated spi help link to point to the new docs
py
diff --git a/sitetree/admin.py b/sitetree/admin.py index <HASH>..<HASH> 100644 --- a/sitetree/admin.py +++ b/sitetree/admin.py @@ -3,7 +3,7 @@ from django import VERSION as django_version try: from django.urls import get_urlconf, get_resolver except ImportError: - from django.conf.urls import get_urlconf, get...
fixed my error replaced django.conf.urls with django.core.urlresolvers.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -56,6 +56,12 @@ setup( license="Apache 2.0", keywords="google oauth 2.0 http client", classifiers=[ + 'Programming Language :: Python :: 2', + 'Programming Language :: Python :: 2.6', + 'Pro...
Add classifiers for Python 2 and 3.
py
diff --git a/python/mxnet/gluon/data/vision/datasets.py b/python/mxnet/gluon/data/vision/datasets.py index <HASH>..<HASH> 100644 --- a/python/mxnet/gluon/data/vision/datasets.py +++ b/python/mxnet/gluon/data/vision/datasets.py @@ -128,7 +128,7 @@ class FashionMNIST(MNIST): class CIFAR10(dataset._DownloadedDataset): ...
Correct shapes of images in cifar<I> and cifar<I> (#<I>) * Correct shapes of images in cifar<I> and cifar<I> cifar<I> and cifar<I> have 3 channels * Retrigger build
py
diff --git a/tests/test_filelist.py b/tests/test_filelist.py index <HASH>..<HASH> 100644 --- a/tests/test_filelist.py +++ b/tests/test_filelist.py @@ -6,7 +6,9 @@ from distutils import debug from distutils.log import WARN from distutils.errors import DistutilsTemplateError from distutils.filelist import glob_to_re, ...
Issue #<I>: Add test capturing failure.
py
diff --git a/straight/plugin/loaders.py b/straight/plugin/loaders.py index <HASH>..<HASH> 100644 --- a/straight/plugin/loaders.py +++ b/straight/plugin/loaders.py @@ -59,10 +59,7 @@ class ModuleLoader(Loader): def _isPackage(self, path): pkg_init = os.path.join(path, '__init__.py') - if os.path.e...
Update loaders.py Small readability fix. ;)
py
diff --git a/aiomanhole/__init__.py b/aiomanhole/__init__.py index <HASH>..<HASH> 100644 --- a/aiomanhole/__init__.py +++ b/aiomanhole/__init__.py @@ -186,6 +186,7 @@ class InteractiveInterpreter: try: yield from self.handle_one_command() except ConnectionResetError: + ...
Handle nmap-ncat putting the socket into a half closed state on ^D. nmap-ncat correctly waits on the remote to close the connection, where as openbsd-netcat and gnu-netcat both read the ^D from stdin and terminate the process, killing the socket by side effect.
py
diff --git a/lib/reda/utils/fix_sign_with_K.py b/lib/reda/utils/fix_sign_with_K.py index <HASH>..<HASH> 100644 --- a/lib/reda/utils/fix_sign_with_K.py +++ b/lib/reda/utils/fix_sign_with_K.py @@ -37,7 +37,7 @@ def fix_sign_with_K(dataframe): indices_negative = (dataframe['K'] < 0) & (dataframe['r'] < 0) if np....
also return dataframe when no changes are required
py
diff --git a/blockstack_client/constants.py b/blockstack_client/constants.py index <HASH>..<HASH> 100644 --- a/blockstack_client/constants.py +++ b/blockstack_client/constants.py @@ -294,11 +294,14 @@ BLOCKSTACK_BURN_ADDRESS = virtualchain.hex_hash160_to_address(BLOCKSTACK_BURN_PU # never changes, so safe to duplicate...
allow maximum RPC size to be overwritten by the test framework
py
diff --git a/salt/utils/cloud.py b/salt/utils/cloud.py index <HASH>..<HASH> 100644 --- a/salt/utils/cloud.py +++ b/salt/utils/cloud.py @@ -19,6 +19,16 @@ import types import re import warnings +# Let's import pwd and catch the ImportError. We'll raise it if this is not +# Windows +try: + import pwd +except Impor...
Don't rely on `salt.utils.is_windows()`, it fails at install time under windows.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -30,8 +30,8 @@ setup_args.update(dict( "holoviews.operation", "holoviews.plotting", "holoviews.plotting.mpl"], - package_data={'holoviews.plotting.mpl': ['*.mplstyle'], - ...
Updated setup.py with new jinja template locations
py
diff --git a/LiSE/setup.py b/LiSE/setup.py index <HASH>..<HASH> 100644 --- a/LiSE/setup.py +++ b/LiSE/setup.py @@ -25,6 +25,6 @@ setup( 'LiSE': ['sqlite.json'] }, install_requires=[ - "gorm>=0.7.7", + "gorm>=0.7.8", ], )
require a gorm that can really retrieve node values
py
diff --git a/ailment/statement.py b/ailment/statement.py index <HASH>..<HASH> 100644 --- a/ailment/statement.py +++ b/ailment/statement.py @@ -102,7 +102,7 @@ class Store(Statement): return "STORE(addr=%s, data=%s, size=%s, endness=%s, guard=%s)" % (self.addr, str(self.data), self.size, ...
Store: Fix endness representation in __repr__().
py
diff --git a/hangups/client.py b/hangups/client.py index <HASH>..<HASH> 100644 --- a/hangups/client.py +++ b/hangups/client.py @@ -442,7 +442,8 @@ class Client(object): # found via the other methods. # TODO We should note who these users are and try to request # them. ...
only show contacts with display names; fixes #5 some contacts have `None` for their display name, this commit addresses this by only showing contacts with truthy display name values. looks like this contact code is temporary, but at least this fixes this issue for now
py
diff --git a/empymod/transform.py b/empymod/transform.py index <HASH>..<HASH> 100644 --- a/empymod/transform.py +++ b/empymod/transform.py @@ -321,7 +321,7 @@ def hqwe(zsrc, zrec, lsrc, lrec, off, angle, depth, ab, etaH, etaV, zetaH, # New lambda, from min to max required lambda with pts_per_dec start...
Cleaned up logspace-call in hqwe
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -57,7 +57,7 @@ def get_setup_version(reponame): Helper to get the current version from either git describe or the .version file (if available). """ - import json, importlib + import json basepath = os...
Removed unused import in setup.py
py
diff --git a/mythril/analysis/modules/delegatecall.py b/mythril/analysis/modules/delegatecall.py index <HASH>..<HASH> 100644 --- a/mythril/analysis/modules/delegatecall.py +++ b/mythril/analysis/modules/delegatecall.py @@ -50,7 +50,7 @@ def _analyze_states(state: GlobalState) -> List[Issue]: if call.type is not ...
use environment instead of node in delegate call
py
diff --git a/easywebdav/client.py b/easywebdav/client.py index <HASH>..<HASH> 100644 --- a/easywebdav/client.py +++ b/easywebdav/client.py @@ -137,5 +137,5 @@ class Client(object): tree = xml.parse(StringIO(response.content)) return [elem2file(elem) for elem in tree.findall('{DAV:}response')] def...
We should not expect <I> code
py
diff --git a/dvc/remote/base.py b/dvc/remote/base.py index <HASH>..<HASH> 100644 --- a/dvc/remote/base.py +++ b/dvc/remote/base.py @@ -80,8 +80,8 @@ class RemoteBase(object): @staticmethod def tmp_file(fname): """ Temporary name for a partial download """ - # FIXME probably better use uuid() -...
remote: use uuid for tmp name generation
py
diff --git a/AdvancedHTMLParser/__init__.py b/AdvancedHTMLParser/__init__.py index <HASH>..<HASH> 100755 --- a/AdvancedHTMLParser/__init__.py +++ b/AdvancedHTMLParser/__init__.py @@ -5,7 +5,7 @@ from .Parser import AdvancedHTMLParser, IndexedAdvancedHTMLParser from .Tags import AdvancedTag, TagCollection, toggleAtt...
Add AdvancedHTMLMiniFormatter to the primary AdvancedHTMLParser export
py
diff --git a/atomic_reactor/tasks/binary.py b/atomic_reactor/tasks/binary.py index <HASH>..<HASH> 100644 --- a/atomic_reactor/tasks/binary.py +++ b/atomic_reactor/tasks/binary.py @@ -22,9 +22,9 @@ class BinaryPreBuildTask(plugin_based.PluginBasedTask): plugins_def = plugin_based.PluginsDef( prebuild=[ -...
Run check_user_settings after setting platforms CLOUDBLD-<I> The changes to the check_user_settings plugin only work if the build directory is properly initialized. The initialization happens in the check_and_set_platforms plugin. Change the order of the plugins to make this work.
py
diff --git a/fedmsg/core.py b/fedmsg/core.py index <HASH>..<HASH> 100644 --- a/fedmsg/core.py +++ b/fedmsg/core.py @@ -77,9 +77,7 @@ class FedMsgContext(object): raise IOError("Couldn't find an available endpoint.") else: - # fedmsg is not configured to send any messages - ...
emit a warning if configured without a publisher.
py
diff --git a/beaver/ssh_tunnel.py b/beaver/ssh_tunnel.py index <HASH>..<HASH> 100644 --- a/beaver/ssh_tunnel.py +++ b/beaver/ssh_tunnel.py @@ -45,6 +45,8 @@ class BeaverSshTunnel(BeaverSubprocess): """SSH Tunnel Subprocess Wrapper""" def __init__(self, beaver_config): + super(BeaverSshTunnel, self)._...
Fix issue where super method was not called in BeaverSshTunnel
py
diff --git a/tweepy/api.py b/tweepy/api.py index <HASH>..<HASH> 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -352,10 +352,10 @@ class API: return self.chunked_upload(filename, file=file, file_type=file_type, *args, **kwargs) else: - return se...
Stop allowing positional arguments for API.simple_upload Stop allowing positional arguments besides filename for API.simple_upload
py
diff --git a/glances/glances.py b/glances/glances.py index <HASH>..<HASH> 100644 --- a/glances/glances.py +++ b/glances/glances.py @@ -1391,10 +1391,16 @@ class GlancesStats: if psutil_net_io_counters: # psutil >= 1.0.0 - get_net_io_counters = psutil.net_io_counters(pernic...
Add control on psutil.net_io_counters / Bug on some Debian distrib
py
diff --git a/spanner/pylint.config.py b/spanner/pylint.config.py index <HASH>..<HASH> 100644 --- a/spanner/pylint.config.py +++ b/spanner/pylint.config.py @@ -14,10 +14,18 @@ """This module is used to configure gcp-devrel-py-tools run-pylint.""" +import copy + +from gcp_devrel.tools import pylint + # Library conf...
Exclude generated code from linter. (#<I>)
py
diff --git a/cleverhans/experimental/certification/dual_formulation.py b/cleverhans/experimental/certification/dual_formulation.py index <HASH>..<HASH> 100644 --- a/cleverhans/experimental/certification/dual_formulation.py +++ b/cleverhans/experimental/certification/dual_formulation.py @@ -90,8 +90,8 @@ class DualFormu...
Fix bug in certification (#<I>) * Changing code to use TF lanczos * addressing comments * addressing more comments * remove unnecessary * fixed error * Warm starts for lanczos * making it work * making tests pass * fix bug in code * make test pass * fix comments * fix bug
py
diff --git a/tests/categorical_ensembling_test.py b/tests/categorical_ensembling_test.py index <HASH>..<HASH> 100644 --- a/tests/categorical_ensembling_test.py +++ b/tests/categorical_ensembling_test.py @@ -56,14 +56,7 @@ def test_categorical_ensembling_regression(model_name=None): print('test_score') print(t...
adjusts test bound, and cleans up old code
py
diff --git a/test/datasets_utils.py b/test/datasets_utils.py index <HASH>..<HASH> 100644 --- a/test/datasets_utils.py +++ b/test/datasets_utils.py @@ -266,6 +266,10 @@ class DatasetTestCase(unittest.TestCase): def inject_fake_data(self, tmpdir: str, config: Dict[str, Any]) -> Union[int, Dict[str, Any]]: "...
Add explanation for injected fake data in dataset tests (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -88,6 +88,10 @@ setup( "openquake.cfg", "openquake_worker.cfg", "README.md", "LICENSE", "CONTRIBUTORS.txt"]}, namespace_packages=['openquake'], + install_requires=[ + 'openquake.hazardlib', + ...
Added dependencies in setup.py
py
diff --git a/marrow/schema/declarative.py b/marrow/schema/declarative.py index <HASH>..<HASH> 100644 --- a/marrow/schema/declarative.py +++ b/marrow/schema/declarative.py @@ -1,5 +1,6 @@ # encoding: utf-8 +from inspect import isclass from .meta import Element @@ -104,7 +105,7 @@ class Attribute(DataAttribute): ...
Fix to prevent auto-instantiation of classes used as default values.
py
diff --git a/flake8_import_order/stdlib_list.py b/flake8_import_order/stdlib_list.py index <HASH>..<HASH> 100644 --- a/flake8_import_order/stdlib_list.py +++ b/flake8_import_order/stdlib_list.py @@ -11,6 +11,7 @@ STDLIB_NAMES = set(( "array", "ast", "asynchat", + "asyncio", "asyncore", "atex...
Add asyncio to stdlib list
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,8 +2,8 @@ import sys from setuptools import setup setup(name='pysmap', - packages=['pysmap', 'pysmap.twitterutil', 'pysmap.viz'], - version='0.0.41', + packages=['pysmap', 'pysmap.twitterutil', 'pysmap.viz', 'pysmap.mlt...
fixed setup to include mltools
py
diff --git a/openpnm/topotools/generators/__init__.py b/openpnm/topotools/generators/__init__.py index <HASH>..<HASH> 100644 --- a/openpnm/topotools/generators/__init__.py +++ b/openpnm/topotools/generators/__init__.py @@ -1,3 +1,29 @@ +r""" +================================================ +Generators (:mod:`openpnm.t...
Add docstrings to generators' init file
py
diff --git a/llvmlite/tests/test_ir.py b/llvmlite/tests/test_ir.py index <HASH>..<HASH> 100644 --- a/llvmlite/tests/test_ir.py +++ b/llvmlite/tests/test_ir.py @@ -325,7 +325,7 @@ class TestBlock(TestBase): block.replace(d, f) self.check_block(block, """\ my_block: - %"c" = ...
Introduce dummy error (check it gets detected)
py
diff --git a/rhino/mapper.py b/rhino/mapper.py index <HASH>..<HASH> 100644 --- a/rhino/mapper.py +++ b/rhino/mapper.py @@ -370,6 +370,8 @@ class Mapper(object): ranges. Ranges passed as a dictionary will be merged into the default ranges, with those given in `ranges` taking precedence. """ + default_e...
Allow overriding default encoding/content-type Added a way to override Response.default_encoding and Response.default_content_type by setting Mapper attributes of the same name. This does not affect responses raised as exceptions.
py
diff --git a/isovar/variant_read.py b/isovar/variant_read.py index <HASH>..<HASH> 100644 --- a/isovar/variant_read.py +++ b/isovar/variant_read.py @@ -43,13 +43,13 @@ def trim_N_nucleotides(prefix, suffix): if 'N' in prefix: # trim prefix to exclude all occurrences of N rightmost_index = prefix.r...
changed logging.info to logging.debug
py
diff --git a/test/integration/integration.py b/test/integration/integration.py index <HASH>..<HASH> 100644 --- a/test/integration/integration.py +++ b/test/integration/integration.py @@ -1,4 +1,3 @@ -import errno import os import shutil import subprocess @@ -35,13 +34,10 @@ def cleandir(path, recreate=True): ...
Be more lenient when retrying to remove a directory in the integration tests
py
diff --git a/src/ansiblelint/_prerun.py b/src/ansiblelint/_prerun.py index <HASH>..<HASH> 100644 --- a/src/ansiblelint/_prerun.py +++ b/src/ansiblelint/_prerun.py @@ -38,7 +38,7 @@ def check_ansible_presence() -> None: if version.parse(release.__version__) <= version.parse(ANSIBLE_MIN_VERSION): ...
Improve ansible version check (#<I>) Fixes: #<I>
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 setup( name='frasco', - version='1.5.0', + version='1.5.1', url='http://github.com/digicoop/frasco', license='MIT', author='Maxime Bouroumea...
Fix: added missing assets in python package
py
diff --git a/push_notifications/apns.py b/push_notifications/apns.py index <HASH>..<HASH> 100644 --- a/push_notifications/apns.py +++ b/push_notifications/apns.py @@ -15,6 +15,13 @@ from django.core.exceptions import ImproperlyConfigured from . import NotificationError, PUSH_NOTIFICATIONS_SETTINGS as SETTINGS +SET...
apns: Declare settings at the top
py
diff --git a/click_shell/core.py b/click_shell/core.py index <HASH>..<HASH> 100644 --- a/click_shell/core.py +++ b/click_shell/core.py @@ -127,9 +127,9 @@ class ClickShell(ClickCmd): def add_command(self, cmd, name): # Use the MethodType to add these as bound methods to our current instance - set...
Fixed things broken on python3
py
diff --git a/samples/dumpit.py b/samples/dumpit.py index <HASH>..<HASH> 100755 --- a/samples/dumpit.py +++ b/samples/dumpit.py @@ -120,7 +120,7 @@ for s in slots: objects = session.findObjects() print - print "Found %d objects: %s" % (len(objects), map(lambda x:x.value(), objects)) + p...
display objects ID as hex in the list of objects found to reflect the way they are displayed in the object header
py
diff --git a/tile_generator/opsmgr.py b/tile_generator/opsmgr.py index <HASH>..<HASH> 100644 --- a/tile_generator/opsmgr.py +++ b/tile_generator/opsmgr.py @@ -569,9 +569,9 @@ def get_cfinfo(): 'system_domain': system_domain, 'apps_domain': apps_domain, 'admin_username': admin_credentials['identity'], - 'admin...
Added some robustness for the edge case where cf fails to install
py
diff --git a/milkman/dairy.py b/milkman/dairy.py index <HASH>..<HASH> 100644 --- a/milkman/dairy.py +++ b/milkman/dairy.py @@ -111,7 +111,10 @@ class MilkTruck(object): for field in self.fields_to_generate(self.model_class._meta.fields, exclude): if is...
when you try to generate a foreignkey which contains foreignkey itself, it fails. This hack is fine as we'll raise an error if the foreignkey id hasn't been given as kwarg to the deliver
py
diff --git a/pandas/tests/groupby/test_apply.py b/pandas/tests/groupby/test_apply.py index <HASH>..<HASH> 100644 --- a/pandas/tests/groupby/test_apply.py +++ b/pandas/tests/groupby/test_apply.py @@ -880,3 +880,24 @@ def test_apply_function_index_return(function): index=pd.Index([1, 2, 3], name="id"), ) ...
BUG: Add test to ensure, that bug will not occur again. #<I> (#<I>)
py
diff --git a/asammdf/blocks/mdf_v4.py b/asammdf/blocks/mdf_v4.py index <HASH>..<HASH> 100644 --- a/asammdf/blocks/mdf_v4.py +++ b/asammdf/blocks/mdf_v4.py @@ -4517,12 +4517,20 @@ class MDF4(object): cg_source = grp.channel_group.acq_source if source: source = SignalSource( - ...
use channel group source if the channel has no referenced source
py
diff --git a/openquake/calculators/tests/event_based_risk_test.py b/openquake/calculators/tests/event_based_risk_test.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/tests/event_based_risk_test.py +++ b/openquake/calculators/tests/event_based_risk_test.py @@ -171,7 +171,8 @@ class EventBasedRiskTestCase(Calc...
Raised the tolerance in test_occupants Former-commit-id: b<I>a<I>b<I>e6c9f1e<I>f5e<I>e5c<I>bb<I>
py
diff --git a/thermo/eos_mix_methods.py b/thermo/eos_mix_methods.py index <HASH>..<HASH> 100644 --- a/thermo/eos_mix_methods.py +++ b/thermo/eos_mix_methods.py @@ -1263,12 +1263,11 @@ def SRK_lnphis(T, P, Z, b, a_alpha, bs, a_alpha_j_rows, N, lnphis=None): t3 = log(1. + B/Z) Z_minus_one_over_B = (Z - 1.0)*B_in...
Finish optimizing SRK fugacities
py
diff --git a/bika/lims/exportimport/instruments/__init__.py b/bika/lims/exportimport/instruments/__init__.py index <HASH>..<HASH> 100644 --- a/bika/lims/exportimport/instruments/__init__.py +++ b/bika/lims/exportimport/instruments/__init__.py @@ -34,6 +34,7 @@ from nuclisens import easyq from genexpert import genexper...
Add instrument interface and interface parser relation
py
diff --git a/cassandra/connection.py b/cassandra/connection.py index <HASH>..<HASH> 100644 --- a/cassandra/connection.py +++ b/cassandra/connection.py @@ -352,8 +352,14 @@ class Connection(object): return self.is_defunct = True - log.debug("Defuncting connection (%s) to %s:", - ...
Proper exc_info handling for Connection.defunct debug log Fixes an issue where exc_info can cause formatting failures when defunct is called while not actually handling an exception. PYTHON-<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -18,6 +18,8 @@ requirements = [ test_requirements = [ # TODO: put package test requirements here + 'hypothesis', + 'pytest' ] setup(
added hypothesis and pytest to test requirements.
py
diff --git a/scripts/devops_tasks/test_run_samples.py b/scripts/devops_tasks/test_run_samples.py index <HASH>..<HASH> 100644 --- a/scripts/devops_tasks/test_run_samples.py +++ b/scripts/devops_tasks/test_run_samples.py @@ -100,10 +100,6 @@ IGNORED_SAMPLES = { "mgmt_topic_async.py", "proxy_async.py", ...
unskip url samples (#<I>)
py
diff --git a/parsl/app/futures.py b/parsl/app/futures.py index <HASH>..<HASH> 100644 --- a/parsl/app/futures.py +++ b/parsl/app/futures.py @@ -63,7 +63,6 @@ class DataFuture(Future): else: raise ValueError("DataFuture must be initialized with a str or File") self.parent = fut - sel...
Remove unused _exception member (#<I>)
py
diff --git a/pyvisa_py/tcpip.py b/pyvisa_py/tcpip.py index <HASH>..<HASH> 100644 --- a/pyvisa_py/tcpip.py +++ b/pyvisa_py/tcpip.py @@ -286,12 +286,12 @@ class TCPIPInstrSession(Session): # keepalive packets even for VXI11 protocol. To read more on this issue # https://tech.xing.com/a-reason-for-unexpl...
Python isn't julia
py
diff --git a/nbserverproxy/handlers.py b/nbserverproxy/handlers.py index <HASH>..<HASH> 100644 --- a/nbserverproxy/handlers.py +++ b/nbserverproxy/handlers.py @@ -235,6 +235,12 @@ class LocalProxyHandler(WebSocketHandlerMixin, IPythonHandler): headers = self.proxy_request_headers() + # Some applicat...
Support X-Forwarded-Context and X-ProxyContextPath.
py
diff --git a/holoviews/ipython/display_hooks.py b/holoviews/ipython/display_hooks.py index <HASH>..<HASH> 100644 --- a/holoviews/ipython/display_hooks.py +++ b/holoviews/ipython/display_hooks.py @@ -204,9 +204,9 @@ def view_display(view, size, **kwargs): @display_hook def map_display(vmap, size, map_format, max_frame...
Fixed magic not being processed before widget display
py
diff --git a/apiritif/__init__.py b/apiritif/__init__.py index <HASH>..<HASH> 100644 --- a/apiritif/__init__.py +++ b/apiritif/__init__.py @@ -101,9 +101,12 @@ class transaction(object): self.name = name self.success = True self.error_message = None - self._extras = {} + self._r...
Add transaction fields for request/response/response-code
py
diff --git a/ibis/backends/base/sql/alchemy/registry.py b/ibis/backends/base/sql/alchemy/registry.py index <HASH>..<HASH> 100644 --- a/ibis/backends/base/sql/alchemy/registry.py +++ b/ibis/backends/base/sql/alchemy/registry.py @@ -472,6 +472,7 @@ sqlalchemy_operation_registry: Dict[Any, Any] = { ops.BitOr: reducti...
feat(sqlalchemy): implement approx_count_distinct as count distinct
py
diff --git a/cockroachdb/sqlalchemy/test_requirements.py b/cockroachdb/sqlalchemy/test_requirements.py index <HASH>..<HASH> 100644 --- a/cockroachdb/sqlalchemy/test_requirements.py +++ b/cockroachdb/sqlalchemy/test_requirements.py @@ -25,13 +25,12 @@ class Requirements(SuiteRequirements): # We don't do implicit ca...
Update comments on sqlalchemy test requirements
py
diff --git a/pytest_cov.py b/pytest_cov.py index <HASH>..<HASH> 100644 --- a/pytest_cov.py +++ b/pytest_cov.py @@ -276,6 +276,8 @@ class CovPlugin(object): setattr(config.option, option, result) def pytest_funcarg__cov(self, request): + """A pytest funcarg that provide access to the underlyin...
Added docstring for pytest funarg.
py
diff --git a/penaltymodel_maxgap/penaltymodel/maxgap/package_info.py b/penaltymodel_maxgap/penaltymodel/maxgap/package_info.py index <HASH>..<HASH> 100644 --- a/penaltymodel_maxgap/penaltymodel/maxgap/package_info.py +++ b/penaltymodel_maxgap/penaltymodel/maxgap/package_info.py @@ -13,7 +13,7 @@ # limitations under...
Release maxgap version <I> New Features --- - Python <I> support
py
diff --git a/commander/meta/reflash.py b/commander/meta/reflash.py index <HASH>..<HASH> 100644 --- a/commander/meta/reflash.py +++ b/commander/meta/reflash.py @@ -24,17 +24,20 @@ def reflash_module(controller, hexfile, name=None, address=None, force=False, ve mod.rpc(1, 0, 8, bucket) mod.reset() - if verbose: - ...
Modify reflash to wait for reflash to finish before sending reset. Requires that the new pic<I>_executive be loaded to work correctly. If the old executive is loaded, it will throw an error saying reflash not detected and quit. The reflash is still working and after ~<I> seconds (<<I> seconds) for the pic<I>lf<I>, th...
py
diff --git a/indra/sources/reach/processor.py b/indra/sources/reach/processor.py index <HASH>..<HASH> 100644 --- a/indra/sources/reach/processor.py +++ b/indra/sources/reach/processor.py @@ -423,7 +423,8 @@ class ReachProcessor(object): elif ns == 'simple_chemical': if xr['id'].startswith(...
Handle be for backwards compatibility
py
diff --git a/openquake/risklib/scientific.py b/openquake/risklib/scientific.py index <HASH>..<HASH> 100644 --- a/openquake/risklib/scientific.py +++ b/openquake/risklib/scientific.py @@ -906,8 +906,8 @@ def classical_damage( imls = numpy.array(fragility_functions._interp_imls) min_val, max_val = hazar...
Small cleanup in risklib.scientific
py
diff --git a/delphi/api.py b/delphi/api.py index <HASH>..<HASH> 100644 --- a/delphi/api.py +++ b/delphi/api.py @@ -34,7 +34,8 @@ def create_qualitative_analysis_graph(sts: List[Influence]) -> AnalysisGraph: return make_cag_skeleton(sts) -def get_subgraph_for_concept(concept: str, cag: AnalysisGraph, depth_limi...
Fixed get_subgraph_for_concept bug
py
diff --git a/test/test_config.py b/test/test_config.py index <HASH>..<HASH> 100644 --- a/test/test_config.py +++ b/test/test_config.py @@ -102,7 +102,7 @@ class Creation(TestCase): def test__config_is_written_to_the_right_place(self, mock_json, mock_path): dummy_path = '/config/path' mock_path.re...
Autospec bug with python <I> removed.
py
diff --git a/hotdoc/extensions/c/c_extension.py b/hotdoc/extensions/c/c_extension.py index <HASH>..<HASH> 100644 --- a/hotdoc/extensions/c/c_extension.py +++ b/hotdoc/extensions/c/c_extension.py @@ -16,7 +16,7 @@ # You should have received a copy of the GNU Lesser General Public License # along with this library. If...
c_extension: raise ImportError if llvm-config does not exist
py
diff --git a/airflow/configuration.py b/airflow/configuration.py index <HASH>..<HASH> 100644 --- a/airflow/configuration.py +++ b/airflow/configuration.py @@ -84,6 +84,8 @@ defaults = { }, 'smtp': { 'smtp_starttls': True, + 'smtp_user': '', + 'smtp_password': '', }, 'kerberos'...
set default smtp_user, smtp_password so they are not needed in user config
py
diff --git a/xtraceback/tests/coverage_transform.py b/xtraceback/tests/coverage_transform.py index <HASH>..<HASH> 100755 --- a/xtraceback/tests/coverage_transform.py +++ b/xtraceback/tests/coverage_transform.py @@ -9,6 +9,10 @@ import sys from coverage import CoverageData +# import this so we get our monkey patchi...
fixing coverage transform for python<I>
py
diff --git a/salt/modules/zcbuildout.py b/salt/modules/zcbuildout.py index <HASH>..<HASH> 100644 --- a/salt/modules/zcbuildout.py +++ b/salt/modules/zcbuildout.py @@ -33,13 +33,14 @@ def __virtual__(): return __virtualname__ return False - +# Import python libs import os import re import sys import ...
don't expose the Logger class to the loader
py
diff --git a/safe/gui/tools/test/test_wizard_dialog.py b/safe/gui/tools/test/test_wizard_dialog.py index <HASH>..<HASH> 100644 --- a/safe/gui/tools/test/test_wizard_dialog.py +++ b/safe/gui/tools/test/test_wizard_dialog.py @@ -965,6 +965,7 @@ class WizardDialogTest(unittest.TestCase): dialog.pbnCancel.click(...
Skipped failed test in wizard. Will be un-skip after the wizard is finished.
py
diff --git a/EventRegistry/EventRegistry.py b/EventRegistry/EventRegistry.py index <HASH>..<HASH> 100644 --- a/EventRegistry/EventRegistry.py +++ b/EventRegistry/EventRegistry.py @@ -26,7 +26,8 @@ class EventRegistry(object): def __init__(self, host = None, logging = False, minDelayBetweenRequest...
Adding the apiKey parameter to the init method of EventRegistry class. Users can pass the apiKey programatically instead of needing to store it in a file.
py
diff --git a/ipyrad/core/assembly.py b/ipyrad/core/assembly.py index <HASH>..<HASH> 100644 --- a/ipyrad/core/assembly.py +++ b/ipyrad/core/assembly.py @@ -738,7 +738,7 @@ class Assembly(object): if not self.samples: ## try linking edits from working dir print("...
In step3 I changed call from link_edits() to link_fastas(), since link_edits didn't exist and link_fastas seemed to do what we want.
py
diff --git a/twitter_ads/__init__.py b/twitter_ads/__init__.py index <HASH>..<HASH> 100644 --- a/twitter_ads/__init__.py +++ b/twitter_ads/__init__.py @@ -1,6 +1,6 @@ # Copyright (C) 2015 Twitter, Inc. -VERSION = (1, 2, 1) +VERSION = (1, 2, 2) from twitter_ads.utils import get_version
bump to <I> (#<I>)
py
diff --git a/salt/modules/boto_elb.py b/salt/modules/boto_elb.py index <HASH>..<HASH> 100644 --- a/salt/modules/boto_elb.py +++ b/salt/modules/boto_elb.py @@ -151,7 +151,7 @@ def create(name, availability_zones, listeners=None, subnets=None, CLI example to create an ELB:: - salt myminion boto_elb.create...
Update boto_elb.create docstring with correct syntax The format of the listeners example was incorrect/backwards. According to the Boto documentation[1], the listeners should be in the format of: LoadBalancerPortNumber, InstancePortNumber, Protocol, InstanceProtocol, and an optional SSLCertificateId. [1] <URL>
py
diff --git a/tests/integration/states/test_lxd.py b/tests/integration/states/test_lxd.py index <HASH>..<HASH> 100644 --- a/tests/integration/states/test_lxd.py +++ b/tests/integration/states/test_lxd.py @@ -11,7 +11,7 @@ import salt.utils.path # Import Salt Testing Libs from tests.support.unit import skipIf from tes...
mark lxd init as flaky
py
diff --git a/asciimatics/particles.py b/asciimatics/particles.py index <HASH>..<HASH> 100644 --- a/asciimatics/particles.py +++ b/asciimatics/particles.py @@ -197,6 +197,7 @@ class ParticleEffect(with_metaclass(ABCMeta, Effect)): self._y = y self._life_time = life_time self._active_systems = ...
Minor fix to ensure particle effects are reset.
py