diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/phy/traces/detect.py b/phy/traces/detect.py index <HASH>..<HASH> 100644 --- a/phy/traces/detect.py +++ b/phy/traces/detect.py @@ -18,6 +18,27 @@ from ..ext.six.moves import range, zip #------------------------------------------------------------------------------ def compute_threshold(arr, single_thres...
WIP: thresholding docstrings.
py
diff --git a/odl/operator/oputils.py b/odl/operator/oputils.py index <HASH>..<HASH> 100644 --- a/odl/operator/oputils.py +++ b/odl/operator/oputils.py @@ -159,7 +159,8 @@ def power_method_opnorm(op, niter, xstart=None): ValueError('a starting element must be defined in case the ' ...
BUG: copy xstart in power method opnorm to avoid write
py
diff --git a/python2/pyinotify.py b/python2/pyinotify.py index <HASH>..<HASH> 100755 --- a/python2/pyinotify.py +++ b/python2/pyinotify.py @@ -1790,7 +1790,7 @@ class WatchManager: watch_.proc_fun = proc_fun if auto_add: - watch_.proc_fun = auto_add + watch_...
Fixed auto_add handling in method update_watch (contributed by Matthew Webber <EMAIL>).
py
diff --git a/foolbox/tests/conftest.py b/foolbox/tests/conftest.py index <HASH>..<HASH> 100644 --- a/foolbox/tests/conftest.py +++ b/foolbox/tests/conftest.py @@ -29,7 +29,7 @@ from foolbox.models import PyTorchModel from foolbox.models import CaffeModel from foolbox.models import ModelWithoutGradients from foolbox....
changed conftest to use v1.Adversarial for now
py
diff --git a/mgz/enums.py b/mgz/enums.py index <HASH>..<HASH> 100644 --- a/mgz/enums.py +++ b/mgz/enums.py @@ -272,7 +272,7 @@ def GameActionModeEnum(ctx): fishtrap_queue=17, fishtrap_unqueue=18, fishtrap_autoqueue=19, - fishtrap_autoqueue_2=20, + default_stance=20, def...
change fishtrap_autoqueue_2 to default_stance, as was initially intended
py
diff --git a/cherrypy/_cpwsgi_server.py b/cherrypy/_cpwsgi_server.py index <HASH>..<HASH> 100644 --- a/cherrypy/_cpwsgi_server.py +++ b/cherrypy/_cpwsgi_server.py @@ -34,6 +34,8 @@ class CPWSGIServer(wsgiserver.CherryPyWSGIServer): def __init__(self, server_adapter=cherrypy.server): self.server_adapter = ...
Added comment on custom subclasses in CPWSGIServer.
py
diff --git a/opentrons_sdk/protocol/handlers/motor_control.py b/opentrons_sdk/protocol/handlers/motor_control.py index <HASH>..<HASH> 100644 --- a/opentrons_sdk/protocol/handlers/motor_control.py +++ b/opentrons_sdk/protocol/handlers/motor_control.py @@ -28,7 +28,11 @@ class MotorControlHandler(ProtocolHandler): ...
always 'resume' before 'homing' the motor controller
py
diff --git a/autopep8.py b/autopep8.py index <HASH>..<HASH> 100755 --- a/autopep8.py +++ b/autopep8.py @@ -2680,7 +2680,8 @@ def _execute_pep8(pep8_options, source): def _remove_leading_and_normalize(line): - return line.lstrip().rstrip(CR + LF) + '\n' + # ignore FF in first lstrip() + return line.lstrip(...
change: not affeted FF(FromFeed) in Reindenter
py
diff --git a/src/transformers/tokenization_utils.py b/src/transformers/tokenization_utils.py index <HASH>..<HASH> 100644 --- a/src/transformers/tokenization_utils.py +++ b/src/transformers/tokenization_utils.py @@ -2195,7 +2195,6 @@ class PreTrainedTokenizer(SpecialTokensMixin): .replace(" ' ", "'") ...
Fix for #<I>. PretrainedTokenizer mapped " do not" into " don't" when .decode(...) is called. Removed the " do not" --> " don't" mapping from clean_up_tokenization(...). (#<I>)
py
diff --git a/scripts/build_upload.py b/scripts/build_upload.py index <HASH>..<HASH> 100644 --- a/scripts/build_upload.py +++ b/scripts/build_upload.py @@ -485,8 +485,6 @@ if __name__ == '__main__': print(blue("[SKIP] ") + "Not updating PyPI package for pre-releases") print(blue("[SKIP] ") + "Not updat...
remove temp mpm/pypi publish for dev build
py
diff --git a/spacy/lang/char_classes.py b/spacy/lang/char_classes.py index <HASH>..<HASH> 100644 --- a/spacy/lang/char_classes.py +++ b/spacy/lang/char_classes.py @@ -29,7 +29,7 @@ _units = ('km km² km³ m m² m³ dm dm² dm³ cm cm² cm³ mm mm² mm³ ha µm 'kg g mg µg t lb oz m/s km/h kmh mph hPa Pa mbar mb MB kb ...
Port over change from #<I>
py
diff --git a/uncommitted/test_unit.py b/uncommitted/test_unit.py index <HASH>..<HASH> 100644 --- a/uncommitted/test_unit.py +++ b/uncommitted/test_unit.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- + import uncommitted.command def test_run_can_handle_badly_encoded_output():
Fix file encoding for Python 2
py
diff --git a/scout/parse/case.py b/scout/parse/case.py index <HASH>..<HASH> 100644 --- a/scout/parse/case.py +++ b/scout/parse/case.py @@ -1,3 +1,4 @@ +import copy import logging import datetime @@ -36,6 +37,7 @@ def parse_case_data(config=None, ped=None, owner=None, vcf_snv=None, config_data(dict): Holds ...
fix issue, copy config dict before modifying
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -56,9 +56,9 @@ copyright = u'2015, Freelancer.com' # built documents. # # The short X.Y version. -version = '2' +version = '0.1' # The full version, including alpha/beta/rc tags. -release = '0.1' +release =...
Use a different theme, fix the version release string
py
diff --git a/zxbparser.py b/zxbparser.py index <HASH>..<HASH> 100755 --- a/zxbparser.py +++ b/zxbparser.py @@ -2876,14 +2876,8 @@ def p_chr(p): constant = '' for i in range(len(p[2])): # Convert every argument to 8bit unsigned p[2][i].value = make_typecast(TYPE.ubyte, p[2][i].value, p.lineno(1)) - ...
Removes CHR old optimized method no longer working.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -22,6 +22,11 @@ setup( 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', + 'Programming Language :: Python :: 2.6', + 'Pr...
Add supported Python versions to classifier troves
py
diff --git a/test/integration/test_help.py b/test/integration/test_help.py index <HASH>..<HASH> 100644 --- a/test/integration/test_help.py +++ b/test/integration/test_help.py @@ -1,4 +1,5 @@ from __future__ import unicode_literals +import sys import pytest @@ -103,6 +104,10 @@ class TestHelp(object): def t...
Omit one integration test on Python <I>
py
diff --git a/openquake/engine/__init__.py b/openquake/engine/__init__.py index <HASH>..<HASH> 100644 --- a/openquake/engine/__init__.py +++ b/openquake/engine/__init__.py @@ -59,7 +59,7 @@ from openquake.hazardlib.general import git_suffix # "-" + <pkg-version> + "+dev" + <secs_since_epoch> + "-" + <commit-id> # NB:...
devel version updated to <I>
py
diff --git a/pyam/core.py b/pyam/core.py index <HASH>..<HASH> 100755 --- a/pyam/core.py +++ b/pyam/core.py @@ -1681,9 +1681,9 @@ class IamDataFrame(object): sheet_name : str name of sheet which will contain dataframe of 'meta' indicators """ + close = False if not isinstan...
fix issue in exporting meta to xlsx
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -17,8 +17,8 @@ setup( long_description=long_description, # The project's main homepage. - url='https://github.com/pypa/sampleproject', - + url='https://github.com/not-inept/suggest_imports', + download_url...
Updated setup.py to fix release error
py
diff --git a/spyderlib/utils/introspection/base.py b/spyderlib/utils/introspection/base.py index <HASH>..<HASH> 100644 --- a/spyderlib/utils/introspection/base.py +++ b/spyderlib/utils/introspection/base.py @@ -19,7 +19,7 @@ from collections import OrderedDict from spyderlib.baseconfig import DEBUG, get_conf_path, deb...
Fix python3 support in introspection base
py
diff --git a/scripts/make_dist.py b/scripts/make_dist.py index <HASH>..<HASH> 100644 --- a/scripts/make_dist.py +++ b/scripts/make_dist.py @@ -20,7 +20,7 @@ if(sys.version_info[0]!=3): pdir = os.path.dirname(os.getcwd()) # version info version = [3, 3, 0, "alpha", 0] -implementation = [3, 2, 1, 'final', 0] +implemen...
Change version to <I> alpha
py
diff --git a/rosetta/poutil.py b/rosetta/poutil.py index <HASH>..<HASH> 100644 --- a/rosetta/poutil.py +++ b/rosetta/poutil.py @@ -3,20 +3,27 @@ import django from django.conf import settings from rosetta.conf import settings as rosetta_settings from django.core.cache import cache -from django.utils import timezone ...
fallback for django <I>, too
py
diff --git a/backend/__8bit.py b/backend/__8bit.py index <HASH>..<HASH> 100644 --- a/backend/__8bit.py +++ b/backend/__8bit.py @@ -281,6 +281,9 @@ def _mul8(ins): output.append('ld h, %i' % int8(op2)) else: + if op2[0] == '_': # stack optimization + op1, op2 = op2, op1 + outpu...
Optimization: MUL8 Optimized so it rearranges the stack operands to reduce push/pop operations.
py
diff --git a/jsonrpc/__init__.py b/jsonrpc/__init__.py index <HASH>..<HASH> 100644 --- a/jsonrpc/__init__.py +++ b/jsonrpc/__init__.py @@ -195,7 +195,8 @@ def jsonrpc_method(name, authenticated=False, creds = args[:len(authentication_arguments)] if len(creds) == 0: raise Index...
Fixed authentication for at least Django <I>
py
diff --git a/pipes/securitygroup/create_securitygroup.py b/pipes/securitygroup/create_securitygroup.py index <HASH>..<HASH> 100644 --- a/pipes/securitygroup/create_securitygroup.py +++ b/pipes/securitygroup/create_securitygroup.py @@ -201,11 +201,7 @@ def main(): 'environment': args.environment,} ...
Enabling creation of security groups Related: PSOBAT-<I>
py
diff --git a/pyflakes/checker.py b/pyflakes/checker.py index <HASH>..<HASH> 100644 --- a/pyflakes/checker.py +++ b/pyflakes/checker.py @@ -624,8 +624,8 @@ def is_typing_overload(value, scope_stack): isinstance(scope[name], ImportationFrom) and scope[name].fullName == 'typing.ov...
Remove unnecessary `else` (#<I>)
py
diff --git a/chess/pgn.py b/chess/pgn.py index <HASH>..<HASH> 100644 --- a/chess/pgn.py +++ b/chess/pgn.py @@ -1376,7 +1376,7 @@ def read_game(handle: TextIO, *, Visitor: Any = GameBuilder) -> Any: The parser is relatively forgiving when it comes to errors. It skips over tokens it can not parse. By default, a...
overriden -> overridden The word overridden has 2 letters d. Fixed that.
py
diff --git a/pymatgen/analysis/functional_groups.py b/pymatgen/analysis/functional_groups.py index <HASH>..<HASH> 100644 --- a/pymatgen/analysis/functional_groups.py +++ b/pymatgen/analysis/functional_groups.py @@ -2,12 +2,13 @@ # Copyright (c) Pymatgen Development Team. # Distributed under the terms of the MIT Licen...
Small fix to FunctionalGroupExtractor to avoid set modification during looping
py
diff --git a/tests/svmlib/test_SVMConverters.py b/tests/svmlib/test_SVMConverters.py index <HASH>..<HASH> 100644 --- a/tests/svmlib/test_SVMConverters.py +++ b/tests/svmlib/test_SVMConverters.py @@ -121,7 +121,7 @@ class TestSvmLibSVM(unittest.TestCase): self.assertTrue(node is not None) dump_data_and...
recover linux CI build based on flaky libSVM test (#<I>) As title.
py
diff --git a/SoftLayer/CLI/environment.py b/SoftLayer/CLI/environment.py index <HASH>..<HASH> 100644 --- a/SoftLayer/CLI/environment.py +++ b/SoftLayer/CLI/environment.py @@ -48,6 +48,7 @@ class Environment(object): 'hardware': 'server', 'hw': 'server', 'bmetal': 'bmc', + 'virtual': 'v...
Added 'virtual' alias for vs
py
diff --git a/redis_shard/pipeline.py b/redis_shard/pipeline.py index <HASH>..<HASH> 100644 --- a/redis_shard/pipeline.py +++ b/redis_shard/pipeline.py @@ -85,7 +85,7 @@ class Pipeline(object): def __unit_execute(self, pipeline): result = pipeline.execute() - return zip(self.__indexes[pipeline], r...
revert changes of __unit_execute()
py
diff --git a/tests/providers/test_ssn.py b/tests/providers/test_ssn.py index <HASH>..<HASH> 100644 --- a/tests/providers/test_ssn.py +++ b/tests/providers/test_ssn.py @@ -76,8 +76,8 @@ class TestEnUS(unittest.TestCase): def test_prohibited_ssn_value(self): # 666 is a prohibited value. The magic number sel...
Fix typo in comment to rerun pr builder checks
py
diff --git a/rinoh/backend/pdf/filter.py b/rinoh/backend/pdf/filter.py index <HASH>..<HASH> 100644 --- a/rinoh/backend/pdf/filter.py +++ b/rinoh/backend/pdf/filter.py @@ -96,6 +96,9 @@ class ASCIIHexEncoder(Encoder): class ASCIIHexDecoder(Decoder): def read(self, n=-1): + # TODO: remove spaces + #...
ASCIIHexDecoder needs work
py
diff --git a/demo/demo/settings.py b/demo/demo/settings.py index <HASH>..<HASH> 100644 --- a/demo/demo/settings.py +++ b/demo/demo/settings.py @@ -36,10 +36,16 @@ INSTALLED_APPS = ( 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', - 'south', - 'teryt' ) +try: +...
Add south autodetection in demo project
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,9 +1,9 @@ from setuptools import setup setup( - name='googleplay-api', + name='gpapi', version='0.1.2', - description='Unofficial python3 api for google play', + description='Unofficial python api for g...
Prepare setup.py for pypi upload
py
diff --git a/cumulusci/tasks/push/tasks.py b/cumulusci/tasks/push/tasks.py index <HASH>..<HASH> 100644 --- a/cumulusci/tasks/push/tasks.py +++ b/cumulusci/tasks/push/tasks.py @@ -180,7 +180,7 @@ class SchedulePushOrgList(BaseSalesforcePushTask): 'description': "The managed package namespace to push. Defaul...
added time zone for start_time in push tasks
py
diff --git a/openfisca_web_api_preview/scripts/serve.py b/openfisca_web_api_preview/scripts/serve.py index <HASH>..<HASH> 100644 --- a/openfisca_web_api_preview/scripts/serve.py +++ b/openfisca_web_api_preview/scripts/serve.py @@ -52,6 +52,10 @@ def read_user_configuration(default_configuration, command_line_parser): ...
Raise error in case of unexpected pos arg
py
diff --git a/scss/expression.py b/scss/expression.py index <HASH>..<HASH> 100644 --- a/scss/expression.py +++ b/scss/expression.py @@ -390,12 +390,10 @@ class MapLiteral(Expression): self.pairs = tuple((var, value) for var, value in pairs if value is not None) def evaluate(self, calculator, divide=False...
Maps should have their keys evaluated as expressions!
py
diff --git a/tests/functional/test_examples.py b/tests/functional/test_examples.py index <HASH>..<HASH> 100644 --- a/tests/functional/test_examples.py +++ b/tests/functional/test_examples.py @@ -19,8 +19,9 @@ def test_examples(): examples_pat = os.path.join(os.path.abspath(os.path.dirname(__file__)), ...
Remove `render_all_grammars` example from tests
py
diff --git a/bottery/__init__.py b/bottery/__init__.py index <HASH>..<HASH> 100644 --- a/bottery/__init__.py +++ b/bottery/__init__.py @@ -10,4 +10,4 @@ from bottery.bottery import Bottery # noqa -__version__ = '0.0.1a8' +__version__ = '0.0.1a9'
New version: <I>a9
py
diff --git a/src/azure_devtools/scenario_tests/base.py b/src/azure_devtools/scenario_tests/base.py index <HASH>..<HASH> 100644 --- a/src/azure_devtools/scenario_tests/base.py +++ b/src/azure_devtools/scenario_tests/base.py @@ -165,6 +165,10 @@ class ScenarioTest(IntegrationTestBase): # pylint: disable=too-many-instanc...
Move recording-deactivation header detection to right place
py
diff --git a/bitcoin/patricia.py b/bitcoin/patricia.py index <HASH>..<HASH> 100644 --- a/bitcoin/patricia.py +++ b/bitcoin/patricia.py @@ -539,7 +539,7 @@ class PatriciaNode(SerializableMixin, HashableMixin): list((link_class(prefix=common_prefix, node=inner_node),)) + ...
Fix bug where a common prefix of zeros was being ignored.
py
diff --git a/sage_utils/amqp/workers.py b/sage_utils/amqp/workers.py index <HASH>..<HASH> 100644 --- a/sage_utils/amqp/workers.py +++ b/sage_utils/amqp/workers.py @@ -33,7 +33,8 @@ class BaseRegisterWorker(AmqpWorker): routing_key=self.REQUEST_QUEUE_NAME, request_exchange=self.REQUEST_EXCHANGE...
Added a custom event loop for RPC client in run() method call
py
diff --git a/hepdata_converter/writers/utils.py b/hepdata_converter/writers/utils.py index <HASH>..<HASH> 100644 --- a/hepdata_converter/writers/utils.py +++ b/hepdata_converter/writers/utils.py @@ -7,11 +7,12 @@ def percentage_processor(value, error): :param error: e.g. 20.0% :return: the absolute error, e.g...
typeerrors: fixed conversion issues due to percentages * Closes #<I>
py
diff --git a/qtm/packet.py b/qtm/packet.py index <HASH>..<HASH> 100644 --- a/qtm/packet.py +++ b/qtm/packet.py @@ -558,7 +558,7 @@ class QRTPacket(object): RTJointRotation, data, component_position ) - joints.append((joint, position, rotation)) + joi...
Return joint id as and int
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -34,6 +34,7 @@ setup( name="django-payzen", version="1.0", description="Django app to manage payments with Payzen ETP", + license='MIT', author="Bertrand Svetchine", author_email="bertrand.svetchine...
Added MIT license and added classifiers.
py
diff --git a/intranet/settings/__init__.py b/intranet/settings/__init__.py index <HASH>..<HASH> 100644 --- a/intranet/settings/__init__.py +++ b/intranet/settings/__init__.py @@ -260,7 +260,7 @@ PIPELINE = { LIST_OF_INDEPENDENT_CSS = [ 'about', 'api', 'login', 'emerg', 'files', 'schedule', 'theme.blue', 'page_bas...
add common css to pipeline
py
diff --git a/napalm_logs/scripts/cli.py b/napalm_logs/scripts/cli.py index <HASH>..<HASH> 100644 --- a/napalm_logs/scripts/cli.py +++ b/napalm_logs/scripts/cli.py @@ -189,7 +189,7 @@ class NLOptionParser(OptionParser, object): '-w', '--device-worker-processes', dest='device_worker_processes', ...
Tell how many device workers are by default
py
diff --git a/syncthing/__init__.py b/syncthing/__init__.py index <HASH>..<HASH> 100644 --- a/syncthing/__init__.py +++ b/syncthing/__init__.py @@ -26,7 +26,6 @@ from collections import namedtuple from datetime import datetime, timedelta import requests -from six import string_types from requests.exceptions import ...
Fix #<I>, remove unnecessary dependencies and cleanup code structure
py
diff --git a/openfisca_core/taxbenefitsystems.py b/openfisca_core/taxbenefitsystems.py index <HASH>..<HASH> 100644 --- a/openfisca_core/taxbenefitsystems.py +++ b/openfisca_core/taxbenefitsystems.py @@ -137,7 +137,12 @@ class TaxBenefitSystem(object): """ try: file_name = path.splitext(pa...
Explain why we need such a module name
py
diff --git a/testsuite.py b/testsuite.py index <HASH>..<HASH> 100644 --- a/testsuite.py +++ b/testsuite.py @@ -233,8 +233,6 @@ def run_selftests(): verify_string_bad(r""" "foo """) verify_string_bad(r""" 'foo """) - # TODO: Kmodifiable gone, test assignable - print("Testing expression evaluation")
Remove outdated TODO comment Tests for .assignable have been added.
py
diff --git a/test/rowcache_invalidator.py b/test/rowcache_invalidator.py index <HASH>..<HASH> 100755 --- a/test/rowcache_invalidator.py +++ b/test/rowcache_invalidator.py @@ -7,14 +7,10 @@ warnings.simplefilter("ignore") import json import logging -import os -import sys import time import unittest import urllib2...
Removing couple unused imports.
py
diff --git a/master/buildbot/process/factory.py b/master/buildbot/process/factory.py index <HASH>..<HASH> 100644 --- a/master/buildbot/process/factory.py +++ b/master/buildbot/process/factory.py @@ -64,7 +64,7 @@ class BuildFactory(util.ComparableMixin): warnings.warn( "Passing a BuildStep sub...
Fix addStep deprecation warnings to report user code responsible for the warning.
py
diff --git a/openquake/hazardlib/contexts.py b/openquake/hazardlib/contexts.py index <HASH>..<HASH> 100644 --- a/openquake/hazardlib/contexts.py +++ b/openquake/hazardlib/contexts.py @@ -723,6 +723,8 @@ class ContextMaker(object): else: with mon: src.weight = 1. + self...
Hack for CHN model [ci skip]
py
diff --git a/pyinfra/facts/rpm.py b/pyinfra/facts/rpm.py index <HASH>..<HASH> 100644 --- a/pyinfra/facts/rpm.py +++ b/pyinfra/facts/rpm.py @@ -43,7 +43,7 @@ class RpmPackage(FactBase): ''' def command(self, name): - return 'rpm -qp {0}'.format(name) + return 'rpm -qp {0} 2> /dev/null || rpm -q...
Support info for installed rpm packages in `rpm_package` fact.
py
diff --git a/tools/buildgen/plugins/expand_version.py b/tools/buildgen/plugins/expand_version.py index <HASH>..<HASH> 100755 --- a/tools/buildgen/plugins/expand_version.py +++ b/tools/buildgen/plugins/expand_version.py @@ -51,6 +51,7 @@ LANGUAGES = [ class Version: def __init__(self, s): + self.tag = None ...
Fixing the absence of 'tag' in the version.
py
diff --git a/osrframework/phonefy/wrappers/platforms.py b/osrframework/phonefy/wrappers/platforms.py index <HASH>..<HASH> 100644 --- a/osrframework/phonefy/wrappers/platforms.py +++ b/osrframework/phonefy/wrappers/platforms.py @@ -80,7 +80,6 @@ class Platform(): # Defining variables for this process r...
Fixed a pair of missing references to self.<whatever> in phonefy.wrappers.platforms
py
diff --git a/acstools/acscteforwardmodel.py b/acstools/acscteforwardmodel.py index <HASH>..<HASH> 100644 --- a/acstools/acscteforwardmodel.py +++ b/acstools/acscteforwardmodel.py @@ -8,6 +8,8 @@ Only WFC full-frame and some 2K subarrays are currently supported. See `ACS Data Handbook <http://www.stsci.edu/hst/acs/docu...
added a note and link to the forward model documentation within the module about the forward model notebook
py
diff --git a/peyotl/nexson_syntax/__init__.py b/peyotl/nexson_syntax/__init__.py index <HASH>..<HASH> 100755 --- a/peyotl/nexson_syntax/__init__.py +++ b/peyotl/nexson_syntax/__init__.py @@ -214,9 +214,11 @@ def read_as_json(infi): return(n) def _recursive_sort_meta(blob, k): + #_LOG.debug('k=' + k) if ...
bug fix: conversion with arbitrary content in meta Affected conversion to <I> when there is an agent entity.
py
diff --git a/tests/unit/test_list_align.py b/tests/unit/test_list_align.py index <HASH>..<HASH> 100644 --- a/tests/unit/test_list_align.py +++ b/tests/unit/test_list_align.py @@ -173,7 +173,7 @@ def test_error_on_multiple_match(): def test_stats(): root = [1, 2] - head = [1, 2, 3, 4] + head = [1, 3, 4, 2]...
tests: regtest for prev bug in stats
py
diff --git a/db/alchemy/models.py b/db/alchemy/models.py index <HASH>..<HASH> 100644 --- a/db/alchemy/models.py +++ b/db/alchemy/models.py @@ -317,7 +317,7 @@ class LossCurveData(Base): loss_curve = relationship("LossCurve", backref="losscurvedata_set") location = ga.GeometryColumn(ga.Point(2), nullable=Fal...
LossCurveData.asset_ref is not nullable
py
diff --git a/scanpy/datasets/__init__.py b/scanpy/datasets/__init__.py index <HASH>..<HASH> 100644 --- a/scanpy/datasets/__init__.py +++ b/scanpy/datasets/__init__.py @@ -80,8 +80,8 @@ def krumsiek11(): adata = sc.read(filename, first_column_names=True) sc.settings.verbosity = verbosity_save adata.uns['i...
changed highlights in krumsiek<I> dataset back to int keys
py
diff --git a/code/png.py b/code/png.py index <HASH>..<HASH> 100755 --- a/code/png.py +++ b/code/png.py @@ -796,10 +796,8 @@ class Writer: # we use ``del`` to empty this one, rather than create a # fresh one (which would be my natural FP instinct). del data[:] - ...
Avoid special case for compressing no bytes
py
diff --git a/salt/states/user.py b/salt/states/user.py index <HASH>..<HASH> 100644 --- a/salt/states/user.py +++ b/salt/states/user.py @@ -475,7 +475,7 @@ def present(name, ret['comment'] = ('The following user attributes are set to be ' 'changed:\n') for key, va...
Updated user.py to redact password when test=true
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -72,7 +72,7 @@ setup( name='pyspool', version=find_version('spool', '__init__.py'), url='https://github.com/ascribe/pyspool', - license='Apache Software License', + license='Apache2', author='pyspool ...
Fixed the license value in setup.py Changed it from "Apache" to "Apache2". Note that the other license string, `'License :: OSI Approved :: Apache Software License'` is correct: it [should not contain a 2](<URL>).
py
diff --git a/salt/states/file.py b/salt/states/file.py index <HASH>..<HASH> 100644 --- a/salt/states/file.py +++ b/salt/states/file.py @@ -1326,6 +1326,10 @@ def recurse(name, for mdir in mdirs: if not mdir.startswith(srcpath): continue + if not _check_include_exclude(o...
Check include/exclude in file.recurse include_empty, Fix #<I> With `include_empty: True`, `file.recurse` was completely ignoring include/exclude patterns with regards to directories.
py
diff --git a/beaver/tests/test_transport_config.py b/beaver/tests/test_transport_config.py index <HASH>..<HASH> 100644 --- a/beaver/tests/test_transport_config.py +++ b/beaver/tests/test_transport_config.py @@ -44,6 +44,7 @@ with mock.patch('pika.adapters.SelectConnection') as mock_pika: beaver_config = se...
Try to fix hanging test by joining leftover thread
py
diff --git a/tensorlayer/layers/pooling.py b/tensorlayer/layers/pooling.py index <HASH>..<HASH> 100644 --- a/tensorlayer/layers/pooling.py +++ b/tensorlayer/layers/pooling.py @@ -201,7 +201,7 @@ class MaxPool2d(Layer): self.inputs, filter_size, strides, padding=padding, data_format='channels_last', nam...
fix bug (#<I>)
py
diff --git a/alot/ui.py b/alot/ui.py index <HASH>..<HASH> 100644 --- a/alot/ui.py +++ b/alot/ui.py @@ -190,7 +190,6 @@ class UI(object): Use a :class:`commands.globals.ExitCommand` for a clean shutdown. """ reactor.stop() - raise urwid.ExitMainLoop() def buffer_open(self, buf): ...
don't raise ExitMainLoop exception to exit apparently, it suffices to stop the twisted reactor when using TwistedEventLoop. issue #<I>
py
diff --git a/benchexec/tools/template.py b/benchexec/tools/template.py index <HASH>..<HASH> 100644 --- a/benchexec/tools/template.py +++ b/benchexec/tools/template.py @@ -425,7 +425,7 @@ class BaseTool2(object, metaclass=ABCMeta): Return either the sequence of input files or a one-element sequence with the...
Fix behavior of method Task.input_files_or_identifier For tasks with no input files (i.e., those defined by `<withoutfile>` in benchmark definitions) it had unwanted behavior and returned a tuple of chars instead of a string.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,13 +4,13 @@ See: https://packaging.python.org/en/latest/distributing.html https://github.com/pypa/sampleproject """ - -# Always prefer setuptools over distutils -from setuptools import setup, find_packages # To use a co...
including data files into distribution. <I>
py
diff --git a/pkg_resources/__init__.py b/pkg_resources/__init__.py index <HASH>..<HASH> 100644 --- a/pkg_resources/__init__.py +++ b/pkg_resources/__init__.py @@ -2102,14 +2102,10 @@ def _handle_ns(packageName, path_item): try: loader = importer.find_spec(packageName).loader except AttributeError: - ...
Trap AttributeError in exactly one place.
py
diff --git a/photutils/detection/tests/test_irafstarfinder.py b/photutils/detection/tests/test_irafstarfinder.py index <HASH>..<HASH> 100644 --- a/photutils/detection/tests/test_irafstarfinder.py +++ b/photutils/detection/tests/test_irafstarfinder.py @@ -133,3 +133,19 @@ class TestIRAFStarFinder: IRAFStarF...
Add unit tests for IRAFStarFinder
py
diff --git a/treeherder/log_parser/failureline.py b/treeherder/log_parser/failureline.py index <HASH>..<HASH> 100644 --- a/treeherder/log_parser/failureline.py +++ b/treeherder/log_parser/failureline.py @@ -50,7 +50,7 @@ def write_failure_lines(job_log, log_iter): # Alter the N+1th log line to indicate the lis...
Bug <I> - OperationalError ignored during failure_line storage. This code assumes that any caught error results in a retry. But that isn't actaully true for OperationalError where we only want to retry if it's a specific kind of error, and otherwise just raise.
py
diff --git a/src/pybel/resources/document.py b/src/pybel/resources/document.py index <HASH>..<HASH> 100644 --- a/src/pybel/resources/document.py +++ b/src/pybel/resources/document.py @@ -1,7 +1,6 @@ # -*- coding: utf-8 -*- from __future__ import absolute_import, print_function, unicode_literals -from builtins impor...
Remove builtins imports, not needed here
py
diff --git a/fedmsg/meta/__init__.py b/fedmsg/meta/__init__.py index <HASH>..<HASH> 100644 --- a/fedmsg/meta/__init__.py +++ b/fedmsg/meta/__init__.py @@ -59,6 +59,7 @@ _ = t.ugettext from fedmsg.meta.default import DefaultProcessor import logging +log = logging.getLogger("fedmsg") class ProcessorsNotInitializ...
Make this log obj available at the module level for monkey patching.
py
diff --git a/visidata/aggregators.py b/visidata/aggregators.py index <HASH>..<HASH> 100644 --- a/visidata/aggregators.py +++ b/visidata/aggregators.py @@ -96,7 +96,7 @@ def quantiles(q, helpstr): return [percentile(round(100*i/q), helpstr) for i in range(1, q)] vd.aggregator('min', min, 'minimum value') -vd.agg...
[cosmetic] max aggregator helpstr
py
diff --git a/salt/roster/scan.py b/salt/roster/scan.py index <HASH>..<HASH> 100644 --- a/salt/roster/scan.py +++ b/salt/roster/scan.py @@ -10,12 +10,9 @@ import logging # Import salt libs import salt.utils.network -try: - import ipaddress - # Python 3 -except ImportError: - # Python 2 - import salt.ext....
How did this ever worked!? `ret` keys were actual `ipaddress.IPv4Address` instances...
py
diff --git a/superset/views/core.py b/superset/views/core.py index <HASH>..<HASH> 100755 --- a/superset/views/core.py +++ b/superset/views/core.py @@ -2101,7 +2101,7 @@ class Superset(BaseSupersetView): # pylint: disable=too-many-public-methods logger.info("Query %i: Running query on a Celery worker", query.i...
chore: Releasing SQL Lab Celery results (#<I>)
py
diff --git a/girder/api/rest.py b/girder/api/rest.py index <HASH>..<HASH> 100644 --- a/girder/api/rest.py +++ b/girder/api/rest.py @@ -232,7 +232,7 @@ class Resource(ModelImporter): and query params are passed in the info of the before and after events, and the after event also contains the return val...
Include full stack trace in exceptions from rest endpoints This is to help plugin developers find the source of their errors. Before, we were chopping off the first element of the stack trace, but in certain instances that was causing the stack trace to appear empty.
py
diff --git a/src/sos/targets_r.py b/src/sos/targets_r.py index <HASH>..<HASH> 100644 --- a/src/sos/targets_r.py +++ b/src/sos/targets_r.py @@ -150,7 +150,7 @@ class R_library(BaseTarget): ret_val = False with open(output_file) as tmp: for line in tmp: - lib, cur_version, st...
Fix spliting of result lines for testing R_library #<I>
py
diff --git a/salt/modules/shadow.py b/salt/modules/shadow.py index <HASH>..<HASH> 100644 --- a/salt/modules/shadow.py +++ b/salt/modules/shadow.py @@ -305,7 +305,7 @@ def set_password(name, password, use_usermod=False): return uinfo['passwd'] == password else: # Use usermod -p (less secure, but m...
[Bugfix] fix argument order for usermod call The argument order for the usermod -p call was reversed.
py
diff --git a/src/mattermostdriver/endpoints/status.py b/src/mattermostdriver/endpoints/status.py index <HASH>..<HASH> 100644 --- a/src/mattermostdriver/endpoints/status.py +++ b/src/mattermostdriver/endpoints/status.py @@ -14,7 +14,8 @@ class Status(Base): options=options ) - def get_user_statuses_by_id(self):...
Fix get_user_statuses_by_id by adding options
py
diff --git a/pypot/dynamixel/conversion.py b/pypot/dynamixel/conversion.py index <HASH>..<HASH> 100644 --- a/pypot/dynamixel/conversion.py +++ b/pypot/dynamixel/conversion.py @@ -31,6 +31,7 @@ torque_max = { # in N.m 'MX-12': 1.2, 'AX-12': 1.2, 'AX-18': 1.8, + 'RX-24': 2.6, 'RX-28': 2.5, 'R...
Update conversion.py Included RX-<I>
py
diff --git a/crispy/gui/main.py b/crispy/gui/main.py index <HASH>..<HASH> 100644 --- a/crispy/gui/main.py +++ b/crispy/gui/main.py @@ -27,7 +27,7 @@ from __future__ import absolute_import, division, unicode_literals __authors__ = ['Marius Retegan'] __license__ = 'MIT' -__date__ = '10/07/2018' +__date__ = '17/07/201...
Increase the logger widget font only on macOS
py
diff --git a/ca/django_ca/tests/base.py b/ca/django_ca/tests/base.py index <HASH>..<HASH> 100644 --- a/ca/django_ca/tests/base.py +++ b/ca/django_ca/tests/base.py @@ -557,7 +557,7 @@ class DjangoCATestCase(TestCase): def assertParserError(self, args, expected, **kwargs): """Assert that given args throw a ...
use basename (what argparse uses) as script name
py
diff --git a/zeno/test/cli/conftest.py b/zeno/test/cli/conftest.py index <HASH>..<HASH> 100644 --- a/zeno/test/cli/conftest.py +++ b/zeno/test/cli/conftest.py @@ -1,3 +1,6 @@ +import os +from configparser import ConfigParser + import pytest import zeno.common.util @@ -6,7 +9,6 @@ from zeno.test.helper import ensure...
changing cli test fixture to read config file
py
diff --git a/tests/test_alchemy.py b/tests/test_alchemy.py index <HASH>..<HASH> 100644 --- a/tests/test_alchemy.py +++ b/tests/test_alchemy.py @@ -257,6 +257,7 @@ class SQLAlchemyNoSessionTestCase(unittest.TestCase): NoSessionFactory.create() def test_build_does_not_raises_exception_when_no_session_...
testing: properly reset sequences When tests assert a given sequence ID for the created instance, ensure the factory's sequence counter is reset beforehand. Closes #<I>
py
diff --git a/git_deps/detector.py b/git_deps/detector.py index <HASH>..<HASH> 100644 --- a/git_deps/detector.py +++ b/git_deps/detector.py @@ -80,7 +80,10 @@ class DependencyDetector(object): return self.commits[rev] try: - self.commits[rev] = self.repo.revparse_single(rev) + ...
fix handling of annotated tags pygit2.revparse_single(annotated_tag) returns a pygit2.Tag object, and this extra layer of indirection has to be resolved to obtain the pygit2.Commit.
py
diff --git a/vel/rl/api/base/env_roller.py b/vel/rl/api/base/env_roller.py index <HASH>..<HASH> 100644 --- a/vel/rl/api/base/env_roller.py +++ b/vel/rl/api/base/env_roller.py @@ -14,6 +14,10 @@ class ReplayEnvRollerBase(EnvRollerBase): """ Sample experience from replay buffer and return a batch """ ra...
Extra method to env roller to make sure it's ready for sampling.
py
diff --git a/kafka_scanner/msg_processor_handlers.py b/kafka_scanner/msg_processor_handlers.py index <HASH>..<HASH> 100644 --- a/kafka_scanner/msg_processor_handlers.py +++ b/kafka_scanner/msg_processor_handlers.py @@ -6,10 +6,16 @@ import traceback import msgpack from retrying import retry -from kafka.common impor...
retry get_messages operation
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -68,7 +68,7 @@ ChangeLog: https://github.com/JetBrains/teamcity-python/blob/master/CHANGELOG.tx ], 'pytest11': [ - 'name_of_plugin = teamcity.pytest_plugin', + 'pytest-teamcity = teamc...
py.test: fix entry point name
py
diff --git a/xero/exceptions.py b/xero/exceptions.py index <HASH>..<HASH> 100644 --- a/xero/exceptions.py +++ b/xero/exceptions.py @@ -21,10 +21,10 @@ class XeroBadRequest(XeroException): data = json.loads(response.text) msg = "%s: %s" % (data['Type'], data['Message']) self.errors...
Gracefully degrade exceptions... ...when certain fields are ommitted from the Xero response.
py
diff --git a/sacrud/preprocessing.py b/sacrud/preprocessing.py index <HASH>..<HASH> 100644 --- a/sacrud/preprocessing.py +++ b/sacrud/preprocessing.py @@ -59,8 +59,8 @@ def get_m2m_value(session, request, obj): ids = {} objs = session.query(mapper) for pk in pk_list: - objs = o...
fix relation with multi pk in preprocessing
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -165,6 +165,11 @@ if ENABLE_SUPPORT_DETECTION: # To support Heimdal on Debian, read the linker path. if opt.startswith('-Wl,/'): main_path = opt[4:] + "/" + if main_path == "":...
Fix detection of libgssapi_krb5.so in nonstandard path Related: #<I>
py
diff --git a/sdk/eventhub/azure-eventhub/tests/livetest/asynctests/test_buffered_producer_async.py b/sdk/eventhub/azure-eventhub/tests/livetest/asynctests/test_buffered_producer_async.py index <HASH>..<HASH> 100644 --- a/sdk/eventhub/azure-eventhub/tests/livetest/asynctests/test_buffered_producer_async.py +++ b/sdk/eve...
test time increase (#<I>)
py
diff --git a/c7n/policy.py b/c7n/policy.py index <HASH>..<HASH> 100644 --- a/c7n/policy.py +++ b/c7n/policy.py @@ -549,7 +549,8 @@ class LambdaMode(ServerlessExecutionMode): from c7n import mu with self.policy.ctx: self.policy.log.info( - "Provisioning policy lambda %s", se...
aws - provisioning policy output contains region (#<I>)
py
diff --git a/wafer/schedule/models.py b/wafer/schedule/models.py index <HASH>..<HASH> 100644 --- a/wafer/schedule/models.py +++ b/wafer/schedule/models.py @@ -170,9 +170,13 @@ class ScheduleItem(models.Model): return self.get_desc() def get_start_time(self): - start_slot = list(self.slots.all())[...
Handle missing slot in ScheduleItem.get_start_time so we don't crash after deleting a slot
py
diff --git a/src/cr/cube/crunch_cube.py b/src/cr/cube/crunch_cube.py index <HASH>..<HASH> 100644 --- a/src/cr/cube/crunch_cube.py +++ b/src/cr/cube/crunch_cube.py @@ -797,13 +797,14 @@ class CrunchCube(object): [0, 0, 0, 0], ]) ''' - return self._as_array( + array = ...
Refactor shape fixing into public method - Extract '_fix_shape' call from '_as_array' (internal) to 'as_array' (API) - Enable other methods that use '_as_array' to preserve information about the true shape of the table - This allows the numpy.sum (in particular the axis parameter) to operate on all dimensions cons...
py