diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/openprovider/api.py b/openprovider/api.py index <HASH>..<HASH> 100644 --- a/openprovider/api.py +++ b/openprovider/api.py @@ -92,7 +92,7 @@ class OpenProvider(object): klass = from_code(tree.reply.code) desc = tree.reply.desc code = tree.reply.code - data =...
Handle error pages without data A reply doesn't always have an attribute data. This causes AttributeErrors instead of the intended class, for example with a code <I> (Maintenance).
py
diff --git a/socialregistration/utils.py b/socialregistration/utils.py index <HASH>..<HASH> 100644 --- a/socialregistration/utils.py +++ b/socialregistration/utils.py @@ -207,15 +207,14 @@ class OAuthClient(object): sign the request to obtain the access token """ if self.request_token is None...
changed getting request token method to POST
py
diff --git a/src/toil_scripts/rnaseq_unc/rnaseq_unc_pipeline.py b/src/toil_scripts/rnaseq_unc/rnaseq_unc_pipeline.py index <HASH>..<HASH> 100644 --- a/src/toil_scripts/rnaseq_unc/rnaseq_unc_pipeline.py +++ b/src/toil_scripts/rnaseq_unc/rnaseq_unc_pipeline.py @@ -427,7 +427,7 @@ def mapsplice(job, job_vars): re...
Delete both .fastqs if present.
py
diff --git a/tests/test_helpers.py b/tests/test_helpers.py index <HASH>..<HASH> 100644 --- a/tests/test_helpers.py +++ b/tests/test_helpers.py @@ -46,7 +46,7 @@ class HelpersTest(unittest.TestCase): def test_random_useragent(self): ua = urlfetch.random_useragent() self.assertTrue(isinstance(ua, u...
Fix test: assertGreatEqual is new in Python<I>
py
diff --git a/dynamodef/models/model.py b/dynamodef/models/model.py index <HASH>..<HASH> 100644 --- a/dynamodef/models/model.py +++ b/dynamodef/models/model.py @@ -285,6 +285,12 @@ class BaseDefinition(ModelDefinitionAttribute, OrderableModel): def get_base_class(self): raise NotImplementedError + ...
Make sure bases cannot be subclasses of a MutableModel, for now..
py
diff --git a/setuptools/tests/test_build_ext.py b/setuptools/tests/test_build_ext.py index <HASH>..<HASH> 100644 --- a/setuptools/tests/test_build_ext.py +++ b/setuptools/tests/test_build_ext.py @@ -1,12 +1,11 @@ """build_ext tests """ -import unittest import distutils.command.build_ext as orig from setuptools.co...
Use pytest for test discovery in build_ext
py
diff --git a/slave/buildslave/null.py b/slave/buildslave/null.py index <HASH>..<HASH> 100644 --- a/slave/buildslave/null.py +++ b/slave/buildslave/null.py @@ -22,7 +22,8 @@ class LocalBuildSlave(BuildSlaveBase): @defer.inlineCallbacks def startService(self): # importing here to avoid dependency on bu...
use renamed module in slave it's ok, since protocols.null module was introduced in nine branch
py
diff --git a/gitlab/client.py b/gitlab/client.py index <HASH>..<HASH> 100644 --- a/gitlab/client.py +++ b/gitlab/client.py @@ -484,9 +484,7 @@ class Gitlab: if (self.http_username and not self.http_password) or ( not self.http_username and self.http_password ): - raise ValueErr...
chore: fix issue found with pylint==<I> A new error was reported when running pylint==<I>: gitlab/client.py:<I>:0: W<I>: Implicit string concatenation found in call (implicit-str-concat) Fixed this issue.
py
diff --git a/intern/service/boss/v0_7/volume.py b/intern/service/boss/v0_7/volume.py index <HASH>..<HASH> 100644 --- a/intern/service/boss/v0_7/volume.py +++ b/intern/service/boss/v0_7/volume.py @@ -126,7 +126,7 @@ class VolumeService_0_7(BaseVersion): x_range[0], x_range[1], y_range[0...
Use <I>,<I>,<I> as block size
py
diff --git a/abilian/web/frontend.py b/abilian/web/frontend.py index <HASH>..<HASH> 100644 --- a/abilian/web/frontend.py +++ b/abilian/web/frontend.py @@ -459,7 +459,7 @@ class Module(object): """ args = request.args search = args.get("sSearch", "").replace("%", "").lower() - q = self.managed_class.qu...
module query count is now with distinct()
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -41,7 +41,7 @@ setup( classifiers=[ 'Development Status :: 2 - Pre-Alpha', 'Intended Audience :: Developers', - 'License :: OSI Approved :: LGPL3 License', + 'License :: OSI Approved :: GNU...
Fix license for pypi
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -21,5 +21,7 @@ setup( 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.4', + 'Progra...
Add specific version of supported Python to setup.py.
py
diff --git a/api/models.py b/api/models.py index <HASH>..<HASH> 100644 --- a/api/models.py +++ b/api/models.py @@ -476,16 +476,25 @@ class Release(UuidAuditedModel): # construct fully-qualified target image new_version = self.version + 1 tag = 'v{}'.format(new_version) - release_image ...
fix(controller): update release process
py
diff --git a/ctypeslib/xml2py.py b/ctypeslib/xml2py.py index <HASH>..<HASH> 100644 --- a/ctypeslib/xml2py.py +++ b/ctypeslib/xml2py.py @@ -147,7 +147,9 @@ def main(argv=None): return CDLL(name) path = find_library(name) if path is None: - raise RuntimeError("Library '%s' not fo...
Accept full pathnames of shared libraries in the -l xml2py command line option. Suggested by Stijn de Waele. git-svn-id: <URL>
py
diff --git a/knack/prompting.py b/knack/prompting.py index <HASH>..<HASH> 100644 --- a/knack/prompting.py +++ b/knack/prompting.py @@ -115,7 +115,7 @@ def prompt_choice_list(msg, a_list, default=1, help_string=None): for i, x in enumerate(a_list)]) allowed_vals = list(range(1, len(a_list)...
Update prompting with a more complete message (#<I>) "Please enter a choice [1]:" is not so clear. Making the prompt as "Please enter a choice [Default choice (1)]:" so a complete message is conveyed.
py
diff --git a/pachyderm/histogram.py b/pachyderm/histogram.py index <HASH>..<HASH> 100644 --- a/pachyderm/histogram.py +++ b/pachyderm/histogram.py @@ -331,7 +331,9 @@ class Histogram1D: value = np.sum(self.y[min_bin:max_bin + 1] * widths[min_bin:max_bin + 1]) error_squared = np.sum(self.errors_squared...
Fix issue with storing integral values in YAML YAML doesn't handle numpy types super well, so we return normal floats when we calculate the integral
py
diff --git a/cloudsmith_cli/cli/config.py b/cloudsmith_cli/cli/config.py index <HASH>..<HASH> 100644 --- a/cloudsmith_cli/cli/config.py +++ b/cloudsmith_cli/cli/config.py @@ -113,7 +113,7 @@ class Options(object): values = config.get('default', {}) self._load_config_from_dict(values) - if pro...
Skip profile loading if profile is default
py
diff --git a/pysmi/codegen/pysnmp.py b/pysmi/codegen/pysnmp.py index <HASH>..<HASH> 100644 --- a/pysmi/codegen/pysnmp.py +++ b/pysmi/codegen/pysnmp.py @@ -810,7 +810,8 @@ class PySnmpCodeGen(AbstractCodeGen): fakeStrlist.append(fakeSymStr) fakeSyms.append(idxName) self.fakeidx += 1 - idx...
occasionally wrong module name for index symbols fixed
py
diff --git a/troposphere/amplify.py b/troposphere/amplify.py index <HASH>..<HASH> 100644 --- a/troposphere/amplify.py +++ b/troposphere/amplify.py @@ -61,6 +61,7 @@ class App(AWSObject): 'BuildSpec': (basestring, False), 'CustomRules': ([CustomRule], False), 'Description': (basestring, False)...
Add AWS::Amplify::App.EnableBranchAutoDeletion per <I>-<I>-<I> update
py
diff --git a/hangups/__init__.py b/hangups/__init__.py index <HASH>..<HASH> 100644 --- a/hangups/__init__.py +++ b/hangups/__init__.py @@ -1,9 +1,4 @@ from .version import __version__ -# TODO just import *? -from .hangouts_pb2 import ( - TYPING_TYPE_STARTED, TYPING_TYPE_PAUSED, TYPING_TYPE_STOPPED, - MEMBERSHIP_...
Add comment about proto file imports in __init__
py
diff --git a/plenum/server/primary_selector.py b/plenum/server/primary_selector.py index <HASH>..<HASH> 100644 --- a/plenum/server/primary_selector.py +++ b/plenum/server/primary_selector.py @@ -97,17 +97,9 @@ class PrimarySelector(PrimaryDecider): # Select primaries after usual catchup (not view change) ...
INDY-<I>: Primary selector fix
py
diff --git a/vespa/__init__.py b/vespa/__init__.py index <HASH>..<HASH> 100644 --- a/vespa/__init__.py +++ b/vespa/__init__.py @@ -1,4 +1,4 @@ -__version__ = '0.2.1' +__version__ = '0.2.2' try: __VESPA_SETUP__
version increment; bug fixed in saving PopulationSet while generating
py
diff --git a/rflint/parser/common.py b/rflint/parser/common.py index <HASH>..<HASH> 100644 --- a/rflint/parser/common.py +++ b/rflint/parser/common.py @@ -1,3 +1,4 @@ +import re # TODO: make Row and Statement more similar -- either # both should inherit from list, or neither should. class Row(object): @@ -31,6 +32,...
added helper methods is_comment and is_setting to Statement class
py
diff --git a/graphql_jwt/decorators.py b/graphql_jwt/decorators.py index <HASH>..<HASH> 100644 --- a/graphql_jwt/decorators.py +++ b/graphql_jwt/decorators.py @@ -89,7 +89,7 @@ def token_auth(f): if user is None: raise exceptions.JSONWebTokenError( - _('Please, enter valid credent...
dont be snippy in user feedback Please, enter valid credentials. no comma :)
py
diff --git a/scanpy/api/__init__.py b/scanpy/api/__init__.py index <HASH>..<HASH> 100644 --- a/scanpy/api/__init__.py +++ b/scanpy/api/__init__.py @@ -40,14 +40,11 @@ __doc__ = """\ Global API (deprecated) ======================= -.. deprecated:: 1.3.6 +.. deprecated:: 1.3.7 - Use the top level module :mod:`sca...
corrected deprecated version in global api
py
diff --git a/umap/tests/test_umap.py b/umap/tests/test_umap.py index <HASH>..<HASH> 100644 --- a/umap/tests/test_umap.py +++ b/umap/tests/test_umap.py @@ -303,9 +303,9 @@ def test_sparse_metrics(): "for metric {}".format(metric)) def test_umap_sparse_trustworthiness(): ...
Truncate sparse test to fewer samples for the sake of coverage (non jitted case)
py
diff --git a/pyqode/core/modes/checker.py b/pyqode/core/modes/checker.py index <HASH>..<HASH> 100644 --- a/pyqode/core/modes/checker.py +++ b/pyqode/core/modes/checker.py @@ -214,7 +214,7 @@ class CheckerMode(Mode, QtCore.QObject): self.editor.repaint() return False messag...
CheckerMode: do not ignore message on first line!
py
diff --git a/openquake/engine/export/risk.py b/openquake/engine/export/risk.py index <HASH>..<HASH> 100644 --- a/openquake/engine/export/risk.py +++ b/openquake/engine/export/risk.py @@ -156,7 +156,7 @@ def export_agg_loss_curve_csv(key, output, target): row = output.loss_curve.aggregatelosscurvedata data = (...
Reduced the precision when exporting the loss curves in CSV Former-commit-id: f7a<I>b<I>aaa3c<I>ae<I>f<I>fd<I>e<I>cbec
py
diff --git a/tests/settings.py b/tests/settings.py index <HASH>..<HASH> 100644 --- a/tests/settings.py +++ b/tests/settings.py @@ -254,6 +254,14 @@ TEST_PROCESS_PROFILE = False # logging debugging messages to to a file. debug_file_path = os.environ.get("RESOLWE_LOG_FILE", os.devnull) +github_actions = os.environ.ge...
Write debug log to console while testing on Github Actions
py
diff --git a/testing/test_setuptools_support.py b/testing/test_setuptools_support.py index <HASH>..<HASH> 100644 --- a/testing/test_setuptools_support.py +++ b/testing/test_setuptools_support.py @@ -5,6 +5,9 @@ import sys import os import subprocess import pytest +pytestmark = pytest.mark.skipif( + "sys.version_i...
also skip the support tests for old setuptools on python <I>+
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -11,10 +11,11 @@ with open(path.join(here, 'README.rst'), encoding='utf-8') as f: setup( name='config', - version='0.1.0', + version='0.1', description='A nice config package', long_description=long_des...
Update version and add download_url to setup.
py
diff --git a/source/rafcon/core/states/state.py b/source/rafcon/core/states/state.py index <HASH>..<HASH> 100644 --- a/source/rafcon/core/states/state.py +++ b/source/rafcon/core/states/state.py @@ -1306,7 +1306,7 @@ class State(Observable, YAMLObject, JSONObject, Hashable): parent_library_root_state = library...
fix get_upper_most_library_state method of state - the condition check in the while loop was wrong
py
diff --git a/lems/model/model.py b/lems/model/model.py index <HASH>..<HASH> 100644 --- a/lems/model/model.py +++ b/lems/model/model.py @@ -848,7 +848,7 @@ class Model(LEMSBase): return numeric_value def list_exposures(self, substring=None): - # type: (str) -> Dict[Component, List[Exposure]] + ...
improvement(model): ensure that inherited exposures are also listed We go up the inheritance tree and gather all the exposures. TODO: is there no way in the pyLEMS API already that allows us to do this in an easier way?
py
diff --git a/wafer/schedule/views.py b/wafer/schedule/views.py index <HASH>..<HASH> 100644 --- a/wafer/schedule/views.py +++ b/wafer/schedule/views.py @@ -6,7 +6,7 @@ from wafer.schedule.admin import check_schedule class ScheduleRow(object): - """This is a helpfule containter for the schedule view to keep sanit...
Fix typo in ScheduleRow docstring.
py
diff --git a/sysconfig.py b/sysconfig.py index <HASH>..<HASH> 100644 --- a/sysconfig.py +++ b/sysconfig.py @@ -213,8 +213,6 @@ def parse_makefile(fp, g=None): def _init_posix(): """Initialize the module as appropriate for POSIX systems.""" g = globals() - # load the installed config.h: - parse_config_h...
Don't load the config.h file, even under Unix, because we never use the information from config.h. Code is still there in case someone in the future needs to parse an autoconf-generated config.h file.
py
diff --git a/scripts/utils/photometry.py b/scripts/utils/photometry.py index <HASH>..<HASH> 100644 --- a/scripts/utils/photometry.py +++ b/scripts/utils/photometry.py @@ -1,6 +1,6 @@ from palettable import cubehelix, colorbrewer, wesanderson from collections import OrderedDict -from random import shuffle, seed, randi...
MAINT: removed unused imports.
py
diff --git a/salt/crypt.py b/salt/crypt.py index <HASH>..<HASH> 100644 --- a/salt/crypt.py +++ b/salt/crypt.py @@ -517,6 +517,11 @@ class SAuth(Auth): in, signing in can occur as often as needed to keep up with the revolving master aes key. ''' + acceptance_wait_time = self.opts['accep...
add acceptance_wait_time to SAuth system
py
diff --git a/adrest/views.py b/adrest/views.py index <HASH>..<HASH> 100644 --- a/adrest/views.py +++ b/adrest/views.py @@ -22,8 +22,9 @@ class ResourceView(HandlerMixin, ThrottleMixin, EmitterMixin, ParserMixin, Authe api = None log = True - - allowed_methods = ('GET', ) + + # Since we handle cros...
OPTIONS added to default resource view methods.
py
diff --git a/law/workflow/remote.py b/law/workflow/remote.py index <HASH>..<HASH> 100644 --- a/law/workflow/remote.py +++ b/law/workflow/remote.py @@ -397,9 +397,9 @@ class BaseRemoteWorkflowProxy(BaseWorkflowProxy): self.poll() finally: - # finally, cleanup the job fi...
Fix file factory cleanup in remote workflow.
py
diff --git a/pandas/tests/indexes/datetimes/test_construction.py b/pandas/tests/indexes/datetimes/test_construction.py index <HASH>..<HASH> 100644 --- a/pandas/tests/indexes/datetimes/test_construction.py +++ b/pandas/tests/indexes/datetimes/test_construction.py @@ -524,14 +524,13 @@ class TestTimeSeries(object): ...
TST: Use int fixtures in test_construction.py (#<I>) Partially addresses gh-<I>.
py
diff --git a/sanic_jwt/decorators.py b/sanic_jwt/decorators.py index <HASH>..<HASH> 100644 --- a/sanic_jwt/decorators.py +++ b/sanic_jwt/decorators.py @@ -174,6 +174,9 @@ def inject_user(initialized_on=None, **kw): instance = request.app with instant_config(instance, request=request, **k...
Exclude OPTIONS in inject_user decorator
py
diff --git a/tests/integration/test_db.py b/tests/integration/test_db.py index <HASH>..<HASH> 100644 --- a/tests/integration/test_db.py +++ b/tests/integration/test_db.py @@ -15,12 +15,9 @@ def test_can_get_and_set_value(shell_db): def test_raise_key_error_when_no_key_exists(shell_db): - try: + with pytest.r...
Use pytest.raises Much cleaner
py
diff --git a/tornado/web.py b/tornado/web.py index <HASH>..<HASH> 100644 --- a/tornado/web.py +++ b/tornado/web.py @@ -2047,17 +2047,20 @@ class URLSpec(object): url = URLSpec -def _time_independent_equals(a, b): - if len(a) != len(b): - return False - result = 0 - if type(a[0]) is int: # python3 ...
Python <I> includes a fast time-independent comparison function, so use it when available.
py
diff --git a/keanu-python/tests/test_coal_mining.py b/keanu-python/tests/test_coal_mining.py index <HASH>..<HASH> 100644 --- a/keanu-python/tests/test_coal_mining.py +++ b/keanu-python/tests/test_coal_mining.py @@ -1,6 +1,11 @@ import pandas as pd import keanu as kn import numpy as np +def test_temp_pass(): + ass...
added simple temp tests to debug AppVeyor hanging
py
diff --git a/bitshares/wallet.py b/bitshares/wallet.py index <HASH>..<HASH> 100644 --- a/bitshares/wallet.py +++ b/bitshares/wallet.py @@ -339,12 +339,12 @@ class Wallet(): def getKeyType(self, account, pub): """ Get key type """ - if pub == account["options"]["memo_key"]: - ret...
[wallet] active keys have priority over memo keys
py
diff --git a/test/python/test_quantumprogram.py b/test/python/test_quantumprogram.py index <HASH>..<HASH> 100644 --- a/test/python/test_quantumprogram.py +++ b/test/python/test_quantumprogram.py @@ -1125,7 +1125,7 @@ class TestQuantumProgram(unittest.TestCase): bell.barrier() bell.measure(q[0], c[0]) ...
fixing test so they work with travis @awcross have a look at the two line change i made.
py
diff --git a/pysex/s_memory.py b/pysex/s_memory.py index <HASH>..<HASH> 100644 --- a/pysex/s_memory.py +++ b/pysex/s_memory.py @@ -5,7 +5,6 @@ import copy import collections import logging -logging.basicConfig() l = logging.getLogger("s_memory") l.setLevel(logging.DEBUG) @@ -240,5 +239,6 @@ class Memory: ...
NO DEFAULT BASIC LOGGING OMG
py
diff --git a/telluric/georaster.py b/telluric/georaster.py index <HASH>..<HASH> 100644 --- a/telluric/georaster.py +++ b/telluric/georaster.py @@ -300,6 +300,9 @@ def _prepare_other_raster(one, other, resampling=Resampling.nearest, crop=True): else: other = other.crop(one.footprint...
Add check in merge_all() to avoid error when raster footprint intersects target by a value less than resolution
py
diff --git a/tests/conftest.py b/tests/conftest.py index <HASH>..<HASH> 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -4,7 +4,6 @@ from pathlib import Path import pytest - if sys.version_info < (3, 4): print("Requires Python 3.4+") sys.exit(1) @@ -14,7 +13,7 @@ TESTS_ROOT = os.path.abspath(o...
Fix warning from hypothesis above scope of resources() fixture
py
diff --git a/gns3server/compute/docker/docker_vm.py b/gns3server/compute/docker/docker_vm.py index <HASH>..<HASH> 100644 --- a/gns3server/compute/docker/docker_vm.py +++ b/gns3server/compute/docker/docker_vm.py @@ -344,6 +344,8 @@ class DockerVM(BaseNode): state = yield from self._get_container_state() ...
Fix start all create error if a docker container is already running Fix #<I>
py
diff --git a/scripts/maf_limit_to_species.py b/scripts/maf_limit_to_species.py index <HASH>..<HASH> 100755 --- a/scripts/maf_limit_to_species.py +++ b/scripts/maf_limit_to_species.py @@ -29,6 +29,7 @@ def main(): if comp.src.split( '.' )[0] in species: new_components.append( comp ) ...
Remove all-gap columns after removing rows of the alignment
py
diff --git a/ga4gh/frontend.py b/ga4gh/frontend.py index <HASH>..<HASH> 100644 --- a/ga4gh/frontend.py +++ b/ga4gh/frontend.py @@ -28,6 +28,8 @@ import ga4gh.datamodel as datamodel import ga4gh.protocol as protocol import ga4gh.exceptions as exceptions import ga4gh.datarepo as datarepo +import logging +from logging ...
added logger to output exception information when flask debugger is off
py
diff --git a/nni/retiarii/oneshot/pytorch/random.py b/nni/retiarii/oneshot/pytorch/random.py index <HASH>..<HASH> 100644 --- a/nni/retiarii/oneshot/pytorch/random.py +++ b/nni/retiarii/oneshot/pytorch/random.py @@ -143,7 +143,8 @@ class SinglePathTrainer(BaseOneShotTrainer): self.train_loader = torch.utils.d...
[Fix] shuffle is set to True in train_loader of SinglePathTrainer (#<I>)
py
diff --git a/src/chemcoord/cartesian_coordinates/_cartesian_class_core.py b/src/chemcoord/cartesian_coordinates/_cartesian_class_core.py index <HASH>..<HASH> 100644 --- a/src/chemcoord/cartesian_coordinates/_cartesian_class_core.py +++ b/src/chemcoord/cartesian_coordinates/_cartesian_class_core.py @@ -1063,6 +1063,10 @...
DOC: Added description inertia
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -31,7 +31,6 @@ extensions = [ 'sphinx.ext.autodoc', 'sphinx.ext.todo', 'sphinx.ext.viewcode', - 'sphinxarg.ext', ] # Add any paths that contain templates here, relative to this directory.
removed sphinxarg from docs build
py
diff --git a/tornado/web.py b/tornado/web.py index <HASH>..<HASH> 100644 --- a/tornado/web.py +++ b/tornado/web.py @@ -489,7 +489,7 @@ class RequestHandler(object): return t.generate(**args) def flush(self, include_footers=False): - """Flushes the current output buffer to the nextwork.""" + ...
Fix a typo in docstring
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ setup( "pkg_resources", ], tests_require=[ - "mock", + "mock>=1.0b1", ], entry_points={ 'tendril.manager': [
Require a certain version of mock.
py
diff --git a/wfdb/plot/plot.py b/wfdb/plot/plot.py index <HASH>..<HASH> 100644 --- a/wfdb/plot/plot.py +++ b/wfdb/plot/plot.py @@ -942,7 +942,7 @@ def plot_wfdb( ylabel, record_name, sig_units, - ) = get_wfdb_plot_items( + ) = _get_wfdb_plot_items( record=record, annotation=ann...
wfdb.plot.plot: rename get_wfdb_plot_items to _get_wfdb_plot_items. This function is not in the wfdb module, is not listed in the documentation, and shouldn't be used by applications directly.
py
diff --git a/journal/parse.py b/journal/parse.py index <HASH>..<HASH> 100644 --- a/journal/parse.py +++ b/journal/parse.py @@ -13,7 +13,7 @@ class Parse(object): if date_string == 'today' or date_string == 't': return datetime.date(today.year, today.month, today.day) elif date_string == '...
fix yesterday bug, due to terrible date math
py
diff --git a/test/test_distances.py b/test/test_distances.py index <HASH>..<HASH> 100644 --- a/test/test_distances.py +++ b/test/test_distances.py @@ -135,6 +135,11 @@ class TestWasserstein: dist = wasserstein(pd, pd) assert dist == 0 + def test_single_point_same(self): + dgm = np.array([[...
add single point same diagram tests to all other distances
py
diff --git a/src/toil/jobStores/azureJobStore.py b/src/toil/jobStores/azureJobStore.py index <HASH>..<HASH> 100644 --- a/src/toil/jobStores/azureJobStore.py +++ b/src/toil/jobStores/azureJobStore.py @@ -377,6 +377,7 @@ class AzureJobStore(AbstractJobStore): jobStoreFileID = self._newFileID() with self...
Associate empty files with their job (if specified) in Azure
py
diff --git a/flask_oidc/__init__.py b/flask_oidc/__init__.py index <HASH>..<HASH> 100644 --- a/flask_oidc/__init__.py +++ b/flask_oidc/__init__.py @@ -138,20 +138,24 @@ class OpenIDConnect(object): if '_oidc_userinfo' in g: return g._oidc_userinfo - try: - credentials = OAuth2Credentials.fro...
Removing tabs from copy-paste from git diff
py
diff --git a/ledgerautosync/converter.py b/ledgerautosync/converter.py index <HASH>..<HASH> 100644 --- a/ledgerautosync/converter.py +++ b/ledgerautosync/converter.py @@ -916,3 +916,24 @@ class VenmoConverter(CsvConverter): def get_csv_id(self, row): return "venmo.{}".format(Converter.clean_id(row["ID"]...
Initial work on converter for fidelity CSV data
py
diff --git a/atlassian/bitbucket.py b/atlassian/bitbucket.py index <HASH>..<HASH> 100644 --- a/atlassian/bitbucket.py +++ b/atlassian/bitbucket.py @@ -316,7 +316,8 @@ class Bitbucket(AtlassianRestAPI): 'key': key, 'data': self.project(key), 'users': self.project_users(key), - ...
add avatar to project_summary output
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ setup( ], packages=["ipdata"], include_package_data=True, - install_requires=["requests", "ipaddress", "click", "tqdm", "rich"], + install_requires=["requests", "click", "tqdm", "rich"], ...
remove ipaddress from dependencies
py
diff --git a/fluo/__init__.py b/fluo/__init__.py index <HASH>..<HASH> 100644 --- a/fluo/__init__.py +++ b/fluo/__init__.py @@ -21,7 +21,7 @@ from .utils.version import get_version -VERSION = (0, 4, 0, "alpha", 4) +VERSION = (0, 4, 0, "alpha", 5) __version__ = get_version(VERSION) __author__ = "Raffaele Salma...
update version to <I>a5
py
diff --git a/phoebe/frontend/bundle.py b/phoebe/frontend/bundle.py index <HASH>..<HASH> 100644 --- a/phoebe/frontend/bundle.py +++ b/phoebe/frontend/bundle.py @@ -1097,7 +1097,7 @@ class Bundle(ParameterSet): if len(hier.get_children_of(orbitref)) == 2: incl_star = self.get_value(q...
Test floats with tolerance instead of ==; fixes the spurious alignment bug.
py
diff --git a/examples/deemph.py b/examples/deemph.py index <HASH>..<HASH> 100755 --- a/examples/deemph.py +++ b/examples/deemph.py @@ -9,7 +9,7 @@ in ALL CAPS. def deemph(key, val, fmt, meta): if key == 'Emph': - return walk(val, caps, fmt) + return walk(val, caps, fmt, meta) if __name__ == "__main__": ...
Fixed bug in deemph example.
py
diff --git a/storage/tests/perf/benchwrapper.py b/storage/tests/perf/benchwrapper.py index <HASH>..<HASH> 100644 --- a/storage/tests/perf/benchwrapper.py +++ b/storage/tests/perf/benchwrapper.py @@ -24,7 +24,7 @@ args = parser.parse_args() if args.port is None: sys.exit("Usage: python3 main.py --port 8081") -cl...
fix(storage): call anonumous client method to remove dependency of google application credentials (#<I>)
py
diff --git a/chainerui/app.py b/chainerui/app.py index <HASH>..<HASH> 100644 --- a/chainerui/app.py +++ b/chainerui/app.py @@ -1,6 +1,8 @@ import argparse +import gevent from gevent.pywsgi import WSGIServer import os +import signal from chainerui import _version from chainerui import create_app @@ -42,11 +44,22 ...
add graceful shutdown on Ctrl-C or SIGTERM
py
diff --git a/yabt/config.py b/yabt/config.py index <HASH>..<HASH> 100644 --- a/yabt/config.py +++ b/yabt/config.py @@ -125,9 +125,6 @@ class Config: return os.path.join( self.project_root, self.builders_workspace_dir, 'go') - def get_go_workspace_path(self) -> str: - return os.path.joi...
Removed get_go_workspace_path from config (not needed)
py
diff --git a/spyder/dependencies.py b/spyder/dependencies.py index <HASH>..<HASH> 100644 --- a/spyder/dependencies.py +++ b/spyder/dependencies.py @@ -350,8 +350,8 @@ def add(modname, package_name, features, required_version, global DEPENDENCIES for dependency in DEPENDENCIES: if dependency.modname...
Dependencies: Remove spurious line when reporting to Github
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,6 @@ tests_require = [ 'isort>=4.2.2', 'jsonresolver[jsonschema]>=0.2.1', 'pydocstyle>=2.0.0', - 'pytest-cache>=1.0', 'pytest-cov>=1.8.0', 'pytest-pep8>=1.0.6', 'pytest>=2.8.0',
installation: removed pytest-cache dependency
py
diff --git a/intranet/apps/auth/views.py b/intranet/apps/auth/views.py index <HASH>..<HASH> 100644 --- a/intranet/apps/auth/views.py +++ b/intranet/apps/auth/views.py @@ -99,11 +99,13 @@ def index_view(request, auth_form=None, force_login=False, added_context=None): if fcps_emerg and not login_warning: ...
Remove extraneous ' from source tooltip on landing page
py
diff --git a/master/buildbot/db/pool.py b/master/buildbot/db/pool.py index <HASH>..<HASH> 100644 --- a/master/buildbot/db/pool.py +++ b/master/buildbot/db/pool.py @@ -135,6 +135,23 @@ class DBThreadPool: self.do = timed_do_fn(self.do) self.do_with_engine = timed_do_fn(self.do_with_engine) + ...
db: Support SQLAlchemy <I> sa.engine.Result type
py
diff --git a/fulltext/util.py b/fulltext/util.py index <HASH>..<HASH> 100644 --- a/fulltext/util.py +++ b/fulltext/util.py @@ -141,7 +141,7 @@ def is_windows64(): """ Determine if platform is 64 bit Windows. """ - return is_windows() and sys.maxsize > 2 ** 32 + return is_windows() and 'PROGRAMFILES...
sys.maxsize is not a good alternative for checking <I> bit on pyinstaller
py
diff --git a/server_setup.py b/server_setup.py index <HASH>..<HASH> 100755 --- a/server_setup.py +++ b/server_setup.py @@ -54,7 +54,9 @@ setup( 's3_logging = seleniumbase.plugins.s3_logging_plugin:S3Logging', ('hipchat_reporting = seleniumbase.plugins' '.hipchat_reporting_plugin:...
update server_setup.py file for pytest plugin entry point
py
diff --git a/colorfield/widgets.py b/colorfield/widgets.py index <HASH>..<HASH> 100644 --- a/colorfield/widgets.py +++ b/colorfield/widgets.py @@ -2,6 +2,7 @@ from django import forms from django.conf import settings +from django.template.loader import render_to_string class ColorWidget(forms.TextInput): @@ -1...
- Fixed widget backward-compatibility with older django versions.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ setup( author_email='dev@aaren.me', license='BSD 2-Clause', url='http://github.com/aaren/notedown', - install_requires=['ipython', 'jinja2', 'pandoc-attributes'], + install_requires=['ipytho...
force ipython < <I> Stop-gap until I get around to supporting the v4 notebook.
py
diff --git a/cocaine/tools/actions/crashlog.py b/cocaine/tools/actions/crashlog.py index <HASH>..<HASH> 100644 --- a/cocaine/tools/actions/crashlog.py +++ b/cocaine/tools/actions/crashlog.py @@ -24,7 +24,7 @@ def _parseCrashlogs(crashlogs, timestamp=None): class Specific(actions.Storage): - def __init__(self, s...
Default timestamp value for crashlog actions.
py
diff --git a/pumpp/feature/base.py b/pumpp/feature/base.py index <HASH>..<HASH> 100644 --- a/pumpp/feature/base.py +++ b/pumpp/feature/base.py @@ -116,8 +116,10 @@ class FeatureExtractor(Scope): field keys. ''' - if api == 'keras': + if api in ('k', 'keras'): return se...
added tensorflow.keras layers
py
diff --git a/wagtailnews/models.py b/wagtailnews/models.py index <HASH>..<HASH> 100644 --- a/wagtailnews/models.py +++ b/wagtailnews/models.py @@ -136,6 +136,7 @@ class AbstractNewsItem(index.Indexed, ClusterableModel): search_fields = ( index.FilterField('date'), index.FilterField('newsindex_id'...
live is needed for searches on live content only
py
diff --git a/src/psd_tools/constants.py b/src/psd_tools/constants.py index <HASH>..<HASH> 100644 --- a/src/psd_tools/constants.py +++ b/src/psd_tools/constants.py @@ -4,6 +4,7 @@ from __future__ import absolute_import, unicode_literals class Enum(object): _attributes_cache = None + _values_dict_cache = None ...
cache Enum values (it turns out this is important sometimes)
py
diff --git a/spyder/plugins/completion/languageserver/plugin.py b/spyder/plugins/completion/languageserver/plugin.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/completion/languageserver/plugin.py +++ b/spyder/plugins/completion/languageserver/plugin.py @@ -49,7 +49,7 @@ class LanguageServerPlugin(SpyderCompletion...
LSP: Increase time between restart to account for slow servers
py
diff --git a/peerplaysbase/chains.py b/peerplaysbase/chains.py index <HASH>..<HASH> 100644 --- a/peerplaysbase/chains.py +++ b/peerplaysbase/chains.py @@ -12,13 +12,11 @@ known_chains = { "core_symbol": "PPYTEST", "prefix": "PPYTEST"}, "CHARLIE": { - "chain_id": "7fc0555c880b2df4c5a79f084f...
New chain-id for charlie
py
diff --git a/mintapi/api.py b/mintapi/api.py index <HASH>..<HASH> 100644 --- a/mintapi/api.py +++ b/mintapi/api.py @@ -388,8 +388,7 @@ def _sign_in(email, password, driver, mfa_method=None, mfa_token=None, account_input = select_account.find_element_by_xpath( "//label/span[text()='...
change account submit from click to submit which waitfor form submit
py
diff --git a/BAC0/core/devices/mixins/read_mixin.py b/BAC0/core/devices/mixins/read_mixin.py index <HASH>..<HASH> 100755 --- a/BAC0/core/devices/mixins/read_mixin.py +++ b/BAC0/core/devices/mixins/read_mixin.py @@ -329,7 +329,7 @@ class ReadPropertyMultiple: except KeyError: ...
Replacement of unit active state value with activeText property instead of inactiveText property
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -1,5 +1,7 @@ #!/usr/bin/env python +import sys + try: from setuptools import setup, find_packages, Command except ImportError: @@ -31,10 +33,10 @@ install_requires = [ 'django-templatetag-sugar>=0.1.0', ] -tr...
Require importlib and uuid under certain python versions only
py
diff --git a/checker/result_suite/fontforge_suite/metadata_test.py b/checker/result_suite/fontforge_suite/metadata_test.py index <HASH>..<HASH> 100644 --- a/checker/result_suite/fontforge_suite/metadata_test.py +++ b/checker/result_suite/fontforge_suite/metadata_test.py @@ -34,7 +34,7 @@ class MetadataJSONTest(TestCase...
Fix to use familyname insead of fontname
py
diff --git a/src/reap/commands.py b/src/reap/commands.py index <HASH>..<HASH> 100644 --- a/src/reap/commands.py +++ b/src/reap/commands.py @@ -47,12 +47,15 @@ def status(args): response = urlopen(request) json = loads(''.join([line for line in response.readlines()])) print '\nToday\'s Project...
Added daily total time to status message.
py
diff --git a/nanoget/version.py b/nanoget/version.py index <HASH>..<HASH> 100644 --- a/nanoget/version.py +++ b/nanoget/version.py @@ -1 +1 @@ -__version__ = "0.11.4" +__version__ = "0.11.5"
bumping version to <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -18,13 +18,9 @@ setup( author = 'Varun Malhotra', author_email = 'varun2902@gmail.com', url = 'https://github.com/softvar/json2html', - download_url = 'https://github.com/softvar/json2html/tarball/1.1.1', + ...
update as per python3 guidelines to push to pypi
py
diff --git a/gsh/remote_dispatcher.py b/gsh/remote_dispatcher.py index <HASH>..<HASH> 100644 --- a/gsh/remote_dispatcher.py +++ b/gsh/remote_dispatcher.py @@ -284,7 +284,7 @@ class remote_dispatcher(buffered_dispatcher): def get_info(self): """Return a list with all information available about this proces...
Strip the last printed line to avoid useless '\n'
py
diff --git a/tests/regressiontests/storages.py b/tests/regressiontests/storages.py index <HASH>..<HASH> 100644 --- a/tests/regressiontests/storages.py +++ b/tests/regressiontests/storages.py @@ -142,7 +142,7 @@ class ThumborStorageFileTest(DjangoThumborTestCase): from django.conf import settings filen...
python3-port: Fixed missing 'rb' flag when opening a file in tests.
py
diff --git a/substrate.py b/substrate.py index <HASH>..<HASH> 100644 --- a/substrate.py +++ b/substrate.py @@ -48,7 +48,7 @@ def terminate_instances(env, instance_ids): if provider_type == 'ec2': environ.update(get_euca_env(env.config)) command_args = ['euca-terminate-instances'] + instance_ids -...
Treat provider type rackspace as openstack in substrate
py
diff --git a/scrape/scrape.py b/scrape/scrape.py index <HASH>..<HASH> 100755 --- a/scrape/scrape.py +++ b/scrape/scrape.py @@ -66,6 +66,7 @@ BASEDIR = "awacs" IGNORED_SERVICE_ALIASES = { "Amazon Kinesis Analytics V2": "kinesisanalytics", + "Amazon Lex V2": "lex", "Amazon Pinpoint Email Service": "ses", ...
Fix scrape breakage by mapping "Amazon Lex V2" to "lex"
py
diff --git a/txkoji/task.py b/txkoji/task.py index <HASH>..<HASH> 100644 --- a/txkoji/task.py +++ b/txkoji/task.py @@ -108,6 +108,8 @@ class Task(Munch): # the the past couple of tasks for this tag. defer.returnValue(None) avg_delta = yield self.connection.getAverageBuildDuration(pack...
task: return None in estimate_completion() If we cannot estimate this task's package, return None instead of crashing.
py
diff --git a/spinoff/actor/runner.py b/spinoff/actor/runner.py index <HASH>..<HASH> 100644 --- a/spinoff/actor/runner.py +++ b/spinoff/actor/runner.py @@ -94,7 +94,7 @@ class Wrapper(Actor): def post_stop(self): try: - reactor.stop() + reactor.callFromGreenlet(reactor.stop) ...
Wrap reactor.stop with callFromGreenlet
py
diff --git a/sportsreference/mlb/boxscore.py b/sportsreference/mlb/boxscore.py index <HASH>..<HASH> 100644 --- a/sportsreference/mlb/boxscore.py +++ b/sportsreference/mlb/boxscore.py @@ -539,9 +539,9 @@ class Boxscore(object): @property def away_innings_pitched(self): """ - Returns an int of t...
Update MLB data types Found that a few MLB numbers can be floats instead of persistently ints.
py
diff --git a/tests/test_dataset.py b/tests/test_dataset.py index <HASH>..<HASH> 100755 --- a/tests/test_dataset.py +++ b/tests/test_dataset.py @@ -32,7 +32,8 @@ class DatasetTestCase(unittest.TestCase): ingest object """ - def setUp(self): + @classmethod + def setUpClass(self): self.curie_...
Changed dataset to only set up once per run
py