diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/tests/python_package_test/test_dual.py b/tests/python_package_test/test_dual.py index <HASH>..<HASH> 100644 --- a/tests/python_package_test/test_dual.py +++ b/tests/python_package_test/test_dual.py @@ -3,7 +3,6 @@ import os -import numpy as np import pytest from sklearn.metrics import log_loss
[ci][python-package] remove unused import in tests (#<I>)
py
diff --git a/salt/pillar/__init__.py b/salt/pillar/__init__.py index <HASH>..<HASH> 100644 --- a/salt/pillar/__init__.py +++ b/salt/pillar/__init__.py @@ -488,14 +488,15 @@ class Pillar(object): ) return pillar - def compile_pillar(self): + def compile_pillar(self, ext=True...
Prevent endless recursion from external pillars
py
diff --git a/regions/io/core.py b/regions/io/core.py index <HASH>..<HASH> 100644 --- a/regions/io/core.py +++ b/regions/io/core.py @@ -615,7 +615,7 @@ class Shape: viz_keywords = ['color', 'dash', 'dashlist', 'width', 'font', 'symsize', 'symbol', 'symsize', 'fontsize', 'fontstyle', 'us...
Fix CRTF parsing of symthick
py
diff --git a/zigzag/__init__.py b/zigzag/__init__.py index <HASH>..<HASH> 100644 --- a/zigzag/__init__.py +++ b/zigzag/__init__.py @@ -1,15 +1,4 @@ from zigzag.core import * - -__title__ = "zigzag" -__description__ = "Package for finding peaks and valleys of time series." -__uri__ = "https://github.com/jbn/ZigZag" -...
Close issue #<I> (#<I>) * fix point error * Work on issue #<I> * FIX pandas compat issue #2 * Drop <I> support * Update changes for <I> release * Remove garbage from __init__.py (closes #<I>)
py
diff --git a/game.py b/game.py index <HASH>..<HASH> 100644 --- a/game.py +++ b/game.py @@ -21,10 +21,10 @@ def main(): screen = g.Canvas( size = (20, 10) ) ground = g.Sprite( - g.shapes.CustImage( ['####################', - ' # # # # # # # # # #', - ...
Made background for game.py dynamic.
py
diff --git a/openpnm/geometry/StickAndBall2D.py b/openpnm/geometry/StickAndBall2D.py index <HASH>..<HASH> 100644 --- a/openpnm/geometry/StickAndBall2D.py +++ b/openpnm/geometry/StickAndBall2D.py @@ -175,7 +175,7 @@ class StickAndBall2D(GenericGeometry): self.add_model(propname='pore.seed', ...
Correct num_range of pore.seed model in 2D to be same as 3D class
py
diff --git a/treebeard/mp_tree.py b/treebeard/mp_tree.py index <HASH>..<HASH> 100644 --- a/treebeard/mp_tree.py +++ b/treebeard/mp_tree.py @@ -438,7 +438,7 @@ class MP_Node(Node): bad_steplen.append(node.id) continue try: - parent = node.get_parent(True) + ...
no need to store the result of a parent test in MP_Node.find_problems, we handle this in an exception
py
diff --git a/fluent_contents/extensions.py b/fluent_contents/extensions.py index <HASH>..<HASH> 100644 --- a/fluent_contents/extensions.py +++ b/fluent_contents/extensions.py @@ -18,6 +18,7 @@ from django.template.loader import render_to_string from django.utils.html import linebreaks, escape from django.utils.import...
Enforce inheriting the ContentItemForm for plugin forms. Breaks further down otherwise, which causes confusing errors.
py
diff --git a/threadedcomments/forms.py b/threadedcomments/forms.py index <HASH>..<HASH> 100644 --- a/threadedcomments/forms.py +++ b/threadedcomments/forms.py @@ -2,6 +2,7 @@ from django import forms from django.contrib.comments.forms import CommentForm from django.conf import settings from django.utils.hashcompat i...
title field label doesn't get translated Fixes #<I> Thanks sq9mev
py
diff --git a/salt/utils/templates.py b/salt/utils/templates.py index <HASH>..<HASH> 100644 --- a/salt/utils/templates.py +++ b/salt/utils/templates.py @@ -55,6 +55,8 @@ def wrap_tmpl_func(render_str): tmplstr = tmplsrc else: try: + if tmplpath is not Non...
Honor tmplpath in wrapped template renderers Before this change you had to directly use `render_*_tmpl()` in order to use `tmplpath`. Failing that, by using the renderers wrapped with `wrap_tmpl_func()` the `tmplpath` argument was not used. Fixes saltstack/salt#<I>
py
diff --git a/iapws/humidAir.py b/iapws/humidAir.py index <HASH>..<HASH> 100644 --- a/iapws/humidAir.py +++ b/iapws/humidAir.py @@ -686,8 +686,14 @@ class HumidAir(object): # Saturation related properties A_sat = self._eq(self.T, self.P) - self.xa_sat = A_sat*MW/Ma/(1-A_sat*(1-MW/Ma)) - ...
Fix testing disabling saturarion properties if convergence problem
py
diff --git a/py/testdir_multi_jvm/test_rest_api.py b/py/testdir_multi_jvm/test_rest_api.py index <HASH>..<HASH> 100644 --- a/py/testdir_multi_jvm/test_rest_api.py +++ b/py/testdir_multi_jvm/test_rest_api.py @@ -22,7 +22,7 @@ sys.path.insert(1, '../rest_tests') clean_up_after = False -algos = ['coxph', 'kmeans', 'd...
Added SVM to list of expected models
py
diff --git a/Lib/fontParts/base/layer.py b/Lib/fontParts/base/layer.py index <HASH>..<HASH> 100644 --- a/Lib/fontParts/base/layer.py +++ b/Lib/fontParts/base/layer.py @@ -272,7 +272,7 @@ class _BaseGlyphVendor( Subclasses may override this method. """ - if glyph.name is None or (name != glyph...
copy and change the glyph.name when ever the name is not the same (#<I>)
py
diff --git a/rootpy/plotting/hist.py b/rootpy/plotting/hist.py index <HASH>..<HASH> 100644 --- a/rootpy/plotting/hist.py +++ b/rootpy/plotting/hist.py @@ -345,11 +345,11 @@ class _HistBase(Plottable, NamedObject): def axis_bininfo(self, axi, i): class bi: - ax = self.axis(axi) - lo...
improve attrs of axis bin info
py
diff --git a/oauth2/__init__.py b/oauth2/__init__.py index <HASH>..<HASH> 100644 --- a/oauth2/__init__.py +++ b/oauth2/__init__.py @@ -321,7 +321,6 @@ class Request(dict): query.setdefault(k, []).append(v) url = (base_url.scheme, base_url.netloc, base_url.path, base_url.params, url...
Removed errant print statement.
py
diff --git a/ppb/camera.py b/ppb/camera.py index <HASH>..<HASH> 100644 --- a/ppb/camera.py +++ b/ppb/camera.py @@ -10,9 +10,13 @@ class Camera(BaseSprite): """ viewport: A container of origin x, origin y, width, and - height in pixel space. - pixel_ratio: An number defining t...
Update doc string of Camera to better answer some questions.
py
diff --git a/python/ray/tune/examples/hyperopt_example.py b/python/ray/tune/examples/hyperopt_example.py index <HASH>..<HASH> 100644 --- a/python/ray/tune/examples/hyperopt_example.py +++ b/python/ray/tune/examples/hyperopt_example.py @@ -48,7 +48,7 @@ if __name__ == '__main__': "run": "exp", ...
[tune] Modify stop criteria in hyperopt example (#<I>) Modify `training_iteraion` to `timesteps_total` because only `timesteps_total` is inside the reporter.
py
diff --git a/mesh_tensorflow/ops.py b/mesh_tensorflow/ops.py index <HASH>..<HASH> 100644 --- a/mesh_tensorflow/ops.py +++ b/mesh_tensorflow/ops.py @@ -439,7 +439,7 @@ class Graph(object): return name def rewrite_stack_variables(self, - max_combined_variable_size=2 ** 33, + ...
revert a previous change in the maximum size of stacked variables. PiperOrigin-RevId: <I>
py
diff --git a/differentiate/differentiate.py b/differentiate/differentiate.py index <HASH>..<HASH> 100644 --- a/differentiate/differentiate.py +++ b/differentiate/differentiate.py @@ -1,3 +1,6 @@ +from argparse import ArgumentParser + + def differentiate(x, y): """ Retrieve a unique of list of elements that d...
Replaced try and except block with if statement checking the input type
py
diff --git a/patroni/ha.py b/patroni/ha.py index <HASH>..<HASH> 100644 --- a/patroni/ha.py +++ b/patroni/ha.py @@ -204,7 +204,7 @@ class Ha(object): if self.state_handler.role == 'standby_leader': timeline = pg_control_timeline or self.state_handler.pg_control_timel...
Avoid opening replication connection on every cycle of HA loop (#<I>) Bug was introduces in the <URL>
py
diff --git a/python/ray/cloudpickle/cloudpickle_fast.py b/python/ray/cloudpickle/cloudpickle_fast.py index <HASH>..<HASH> 100644 --- a/python/ray/cloudpickle/cloudpickle_fast.py +++ b/python/ray/cloudpickle/cloudpickle_fast.py @@ -654,10 +654,15 @@ class CloudPickler(Pickler): https://github.com/cloudpip...
Cloudpickle workaround for false positive cases (#<I>) * Cloudpickle workaround for false positive cases in '_is_parametrized_type_hint'. * update comments
py
diff --git a/datajoint/autopopulate.py b/datajoint/autopopulate.py index <HASH>..<HASH> 100644 --- a/datajoint/autopopulate.py +++ b/datajoint/autopopulate.py @@ -76,7 +76,7 @@ class AutoPopulate: todo = self.key_source if not isinstance(todo, RelationalOperand): raise DataJointError('Inv...
modified the handling of key_source to allow populating across changes of primary key
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,6 @@ #!/usr/bin/env python import os -import re import sys from codecs import open @@ -17,6 +16,7 @@ if sys.argv[-1] == 'publish': requires = ['SQLAlchemy', 'tablib', 'docopt'] version = '0.5.0' + def read...
re was imported but never used so removed the same, line <I> in the original file needed two blank lines before function definition added the same and extra spaces around the operator in line <I> removed the same.
py
diff --git a/scripts/examples/aggie/test_aggie.py b/scripts/examples/aggie/test_aggie.py index <HASH>..<HASH> 100644 --- a/scripts/examples/aggie/test_aggie.py +++ b/scripts/examples/aggie/test_aggie.py @@ -22,6 +22,7 @@ class TestAggie(unittest.TestCase): s.add_skill(['Get Weather', 'return weather for [City]...
test for info and skills measures number of data elements in each
py
diff --git a/hwt/synthesizer/rtlLevel/netlist.py b/hwt/synthesizer/rtlLevel/netlist.py index <HASH>..<HASH> 100644 --- a/hwt/synthesizer/rtlLevel/netlist.py +++ b/hwt/synthesizer/rtlLevel/netlist.py @@ -178,9 +178,8 @@ class RtlNetlist(): mdef.module_name = HdlValueId(self.ent.name, obj=self.ent) mdef...
RtlNetlist.create_HdlModuleDef: fix process sorting
py
diff --git a/tests/functional/simple_test.py b/tests/functional/simple_test.py index <HASH>..<HASH> 100644 --- a/tests/functional/simple_test.py +++ b/tests/functional/simple_test.py @@ -114,7 +114,7 @@ chroniker return ratio -@pytest.mark.flaky(reruns=5) +@pytest.mark.flaky(reruns=2) def test_noop_install_fa...
reduce reruns for "faster" tests
py
diff --git a/salt/states/beacon.py b/salt/states/beacon.py index <HASH>..<HASH> 100644 --- a/salt/states/beacon.py +++ b/salt/states/beacon.py @@ -173,7 +173,7 @@ def enabled(name, **kwargs): result = __salt__['beacons.enable_beacon'](name, **kwargs) ret['comment'].append(result['comment']) ...
change beacons.enable_job to beacons.enable_beacon
py
diff --git a/src/hupper/worker.py b/src/hupper/worker.py index <HASH>..<HASH> 100644 --- a/src/hupper/worker.py +++ b/src/hupper/worker.py @@ -25,6 +25,7 @@ class WatchSysModules(threading.Thread): super(WatchSysModules, self).__init__() self.paths = set() self.callback = callback + se...
lock to avoid race conditions in the poller
py
diff --git a/fc/__init__.py b/fc/__init__.py index <HASH>..<HASH> 100644 --- a/fc/__init__.py +++ b/fc/__init__.py @@ -1,7 +1,7 @@ # Versions should comply with PEP440. For a discussion on single-sourcing # the version across setup.py and the project code, see # https://packaging.python.org/en/latest/single_source_...
Increased version number to <I>
py
diff --git a/indra/explanation/model_checker/signed_graph.py b/indra/explanation/model_checker/signed_graph.py index <HASH>..<HASH> 100644 --- a/indra/explanation/model_checker/signed_graph.py +++ b/indra/explanation/model_checker/signed_graph.py @@ -33,7 +33,7 @@ class SignedGraphModelChecker(ModelChecker): def p...
Signed graph MC should handle Influences
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -18,10 +18,9 @@ setup(name='wilson', license='MIT', packages=find_packages(), package_data={ - 'wilson': ['run/wet/tests/data/*', - 'run/wet/tests/data/*', - 'data/test...
[setup] Fix data paths (fixes #<I>)
py
diff --git a/mapchete/tile.py b/mapchete/tile.py index <HASH>..<HASH> 100644 --- a/mapchete/tile.py +++ b/mapchete/tile.py @@ -235,6 +235,12 @@ class BufferedTile(Tile): """ return BufferedTile(self._tile.get_parent(), self.pixelbuffer) + def get_neighbors(self, connectedness=8): + return ...
extended magic methods to handle BufferedTiles
py
diff --git a/salt/modules/monit.py b/salt/modules/monit.py index <HASH>..<HASH> 100644 --- a/salt/modules/monit.py +++ b/salt/modules/monit.py @@ -111,12 +111,12 @@ def summary(svc_name=''): else: parts = line.split('\'') if len(parts) == 3: - resource, name, status = (...
Avoid shadowing within monit module salt/modules/monit.py:<I>: [W<I>(redefined-outer-name), summary] Redefining name 'status' from outer scope (line <I>)
py
diff --git a/libvcs/_compat.py b/libvcs/_compat.py index <HASH>..<HASH> 100644 --- a/libvcs/_compat.py +++ b/libvcs/_compat.py @@ -16,15 +16,16 @@ if PY2: itervalues = lambda d: d.itervalues() iteritems = lambda d: d.iteritems() + import ConfigParser as configparser + import cPickle as pickle fro...
style: Run pass with isort 5.x
py
diff --git a/ceph_deploy/mon.py b/ceph_deploy/mon.py index <HASH>..<HASH> 100644 --- a/ceph_deploy/mon.py +++ b/ceph_deploy/mon.py @@ -18,7 +18,7 @@ def create_mon(cluster, monitor_keyring, init): import socket import subprocess - hostname = socket.gethostname() + hostname = socket.gethostname().split...
mon.py: Use short hostname. Depending on the system configuration, gethostname can return either a short name or the fqdn. Trim the return from socket.gethostname() to just the hostname.
py
diff --git a/aws_google_auth/__init__.py b/aws_google_auth/__init__.py index <HASH>..<HASH> 100644 --- a/aws_google_auth/__init__.py +++ b/aws_google_auth/__init__.py @@ -1,4 +1,5 @@ #!/usr/bin/env python +from __future__ import print_function from . import _version from . import configuration @@ -13,6 +14,7 @@ im...
gurantees uniform print behavior between 2 and 3
py
diff --git a/ontquery/terms.py b/ontquery/terms.py index <HASH>..<HASH> 100644 --- a/ontquery/terms.py +++ b/ontquery/terms.py @@ -506,7 +506,7 @@ class OntTerm(OntId): out = {} for result in results_gen: # FIXME should only be one?! for k, v in result.predicates.items(): - ...
fixed logic for homogenization predicates don't just return OntId, they can also be a variety of literals, so better to do a negative test against tuple
py
diff --git a/bakery/management/commands/publish.py b/bakery/management/commands/publish.py index <HASH>..<HASH> 100644 --- a/bakery/management/commands/publish.py +++ b/bakery/management/commands/publish.py @@ -178,8 +178,8 @@ in settings.py or provide it with --aws-bucket-name" # delete any that have been rem...
forgot to change key.name in a couple of places
py
diff --git a/uamqp/utils.py b/uamqp/utils.py index <HASH>..<HASH> 100644 --- a/uamqp/utils.py +++ b/uamqp/utils.py @@ -9,7 +9,6 @@ from datetime import timedelta import time import base64 -from uamqp import types from uamqp import c_uamqp @@ -70,7 +69,7 @@ def data_factory(value, encoding='UTF-8'): result...
Removed circular dependency from utils.py
py
diff --git a/cpuinfo/cpuinfo.py b/cpuinfo/cpuinfo.py index <HASH>..<HASH> 100644 --- a/cpuinfo/cpuinfo.py +++ b/cpuinfo/cpuinfo.py @@ -76,7 +76,12 @@ class Trace(object): def success(self): if not self._is_active: return - self._output.write('Success ...\n\n') + from inspect import stack + frame = stack()[1] ...
Added trace line numbers on success.
py
diff --git a/gwpy/astro/tests/test_range.py b/gwpy/astro/tests/test_range.py index <HASH>..<HASH> 100644 --- a/gwpy/astro/tests/test_range.py +++ b/gwpy/astro/tests/test_range.py @@ -35,10 +35,10 @@ __credits__ = 'Alex Urban <alexander.urban@ligo.org>' # -- test results ------------------------------------------------...
gwpy.astro: update test reference results for updated astropy constants
py
diff --git a/epc/server.py b/epc/server.py index <HASH>..<HASH> 100644 --- a/epc/server.py +++ b/epc/server.py @@ -135,6 +135,39 @@ class EPCDispacher: self.funcs[name] = function +class EPCCaller: + + logger = _logger + + def __init__(self): + self.callbacks = {} + + def uid(): + ...
Add EPCCaller class (not used)
py
diff --git a/pycbc/matchedfilter/clayer/opencl/setup.py b/pycbc/matchedfilter/clayer/opencl/setup.py index <HASH>..<HASH> 100644 --- a/pycbc/matchedfilter/clayer/opencl/setup.py +++ b/pycbc/matchedfilter/clayer/opencl/setup.py @@ -94,7 +94,10 @@ matchedfilteropencl_ext = Extension( depends = ['matchedfilteropencl....
added dependencies for matchedfilteropencl
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -11,6 +11,7 @@ Intended Audience :: Developers License :: OSI Approved :: Apache Software License Development Status :: 5 - Production/Stable Natural Language :: English +Programming Language :: Python :: 3 Programming Lan...
MOTOR-<I> Add Python 3 back to the list of trove classifiers (#<I>)
py
diff --git a/tests/integration/modules/dockertest.py b/tests/integration/modules/dockertest.py index <HASH>..<HASH> 100644 --- a/tests/integration/modules/dockertest.py +++ b/tests/integration/modules/dockertest.py @@ -1,10 +1,10 @@ # -*- coding: utf-8 -*- - -__author__ = 'cro' - ''' Tests for integration with Docke...
Fix PyLint W<I>(String statement has no effect)
py
diff --git a/steam_idle_qt/QIdle.py b/steam_idle_qt/QIdle.py index <HASH>..<HASH> 100644 --- a/steam_idle_qt/QIdle.py +++ b/steam_idle_qt/QIdle.py @@ -119,6 +119,9 @@ class MultiIdle(BaseIdle): # Start the (idle) process p.start() self.idleChilds[p] = endtime + if len(s...
Steam client will crash if childs spawn too fast
py
diff --git a/fints/__init__.py b/fints/__init__.py index <HASH>..<HASH> 100644 --- a/fints/__init__.py +++ b/fints/__init__.py @@ -1 +1 @@ -version = '2.0.0a0' +version = '2.0a0'
HKVVB3.product_version is limited to 5 characters.
py
diff --git a/MAVProxy/modules/mavproxy_misseditor/__init__.py b/MAVProxy/modules/mavproxy_misseditor/__init__.py index <HASH>..<HASH> 100644 --- a/MAVProxy/modules/mavproxy_misseditor/__init__.py +++ b/MAVProxy/modules/mavproxy_misseditor/__init__.py @@ -97,7 +97,9 @@ class MissionEditorEventThread(threading.Thread): ...
misseditor: use default frame type for waypoints this allows for terrain following missions
py
diff --git a/pypot/vrep/io.py b/pypot/vrep/io.py index <HASH>..<HASH> 100644 --- a/pypot/vrep/io.py +++ b/pypot/vrep/io.py @@ -235,7 +235,7 @@ class VrepIO(AbstractIO): if any(err): msg = ' '.join([vrep_error[2 ** i] for i, e in enumerate(err) if e]) - raise...
forgot to call the good error handler
py
diff --git a/tests/basics/array_intbig.py b/tests/basics/array_intbig.py index <HASH>..<HASH> 100644 --- a/tests/basics/array_intbig.py +++ b/tests/basics/array_intbig.py @@ -1,4 +1,4 @@ -# test array('q') and array('Q') +# test array types QqLl that require big-ints try: from array import array @@ -7,6 +7,9 @@...
tests/basics: Update array test for big-int with lL typecodes.
py
diff --git a/guake/palettes.py b/guake/palettes.py index <HASH>..<HASH> 100644 --- a/guake/palettes.py +++ b/guake/palettes.py @@ -512,6 +512,12 @@ PALETTES = { '#7D7DF6F61C1C:#FFFFFFFF5555:#6262CACAE7E7:#FFFF9A9AF5F5:#0000CCCCD7D7:' '#FFFFFFFFFFFF:#BBBBBBBBBBBB:#171717171717' ), + 'Nord': ( +...
Add Nord theme to official upstream palettes Requested in arcticicestudio/nord-guake#6 GH-6
py
diff --git a/pydle/async.py b/pydle/async.py index <HASH>..<HASH> 100644 --- a/pydle/async.py +++ b/pydle/async.py @@ -3,6 +3,15 @@ import functools import tornado.concurrent import tornado.ioloop +import tornado.gen + + +class Future(tornado.concurrent.TracebackFuture): + """ A future. """ + +def blocking(func):...
Add future and coroutine functionality.
py
diff --git a/cleverhans/utils_tf.py b/cleverhans/utils_tf.py index <HASH>..<HASH> 100644 --- a/cleverhans/utils_tf.py +++ b/cleverhans/utils_tf.py @@ -31,7 +31,7 @@ def model_loss(y, model, mean=True): """ op = model.op - if "softmax" in str(op).lower(): + if op.type == "Softmax": logits, = o...
Fixed detection of softmax op for TF loss
py
diff --git a/spyderlib/spyder.py b/spyderlib/spyder.py index <HASH>..<HASH> 100644 --- a/spyderlib/spyder.py +++ b/spyderlib/spyder.py @@ -1506,8 +1506,12 @@ class MainWindow(QMainWindow): </li><li>Discussions around the project: <a href="%s">Google Group</a> </li></ul> - ...
About dialog box: changed the "This project is part of Python(x,y)" part to more general words (which are also closer to the initial meaning of this sentence) including a citation of WinPython
py
diff --git a/qgiscommons/settings.py b/qgiscommons/settings.py index <HASH>..<HASH> 100644 --- a/qgiscommons/settings.py +++ b/qgiscommons/settings.py @@ -210,7 +210,21 @@ class ConfigDialog(QDialog): self.tree.headerItem().setText(0, "Setting") self.tree.headerItem().setText(1, "Value") - se...
fixed accept function not being called after clicking on OK
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -20,8 +20,8 @@ else: #=============================================================================== module = Extension('fitz._fitz', include_dirs=['./fitz', - ...
Correct version info in setup.py
py
diff --git a/sos/plugins/networking.py b/sos/plugins/networking.py index <HASH>..<HASH> 100644 --- a/sos/plugins/networking.py +++ b/sos/plugins/networking.py @@ -172,7 +172,7 @@ class Networking(Plugin): "ip -6 route show table all", "ip -4 rule", "ip -6 rule", - "ip -...
[networking] collect more link data (#<I>) Collect macsec configuration, and detailed link information from iproute.
py
diff --git a/test/aqua/test_vqe.py b/test/aqua/test_vqe.py index <HASH>..<HASH> 100644 --- a/test/aqua/test_vqe.py +++ b/test/aqua/test_vqe.py @@ -100,13 +100,12 @@ class TestVQE(QiskitAquaTestCase): def test_vqe_qasm(self): backend = BasicAer.get_backend('qasm_simulator') num_qubits = self.algo_...
1. add the option in pauli measurement, 2. update tests
py
diff --git a/src/metrique/metrique/utils.py b/src/metrique/metrique/utils.py index <HASH>..<HASH> 100644 --- a/src/metrique/metrique/utils.py +++ b/src/metrique/metrique/utils.py @@ -140,10 +140,16 @@ def get_timezone_converter(from_timezone): if dt.tzinfo: # datetime instance already has tzinfo s...
auto-recover from bad tzoffset during tz convert
py
diff --git a/ibis/impala/tests/test_madlib.py b/ibis/impala/tests/test_madlib.py index <HASH>..<HASH> 100644 --- a/ibis/impala/tests/test_madlib.py +++ b/ibis/impala/tests/test_madlib.py @@ -22,7 +22,6 @@ from ibis.impala import madlib import ibis.util as util -@pytest.mark.madlib class TestMADLib(ImpalaE2E, unit...
TST: Move madlib mark inside class Same issue as #<I>.
py
diff --git a/simpleai/search/models.py b/simpleai/search/models.py index <HASH>..<HASH> 100644 --- a/simpleai/search/models.py +++ b/simpleai/search/models.py @@ -14,7 +14,7 @@ class SearchProblem(object): algorithm you will use. ''' - def __init__(self, initial_state): + def __init__(self, init...
Initial state is optional, some algorithms won't use it
py
diff --git a/cloudvolume/datasource/precomputed/image/__init__.py b/cloudvolume/datasource/precomputed/image/__init__.py index <HASH>..<HASH> 100644 --- a/cloudvolume/datasource/precomputed/image/__init__.py +++ b/cloudvolume/datasource/precomputed/image/__init__.py @@ -505,7 +505,10 @@ class PrecomputedImageSource(Ima...
fix: pass compressed seg block size in make shard
py
diff --git a/sensorimotor/sensorimotor/test/abstract_sensorimotor_test.py b/sensorimotor/sensorimotor/test/abstract_sensorimotor_test.py index <HASH>..<HASH> 100644 --- a/sensorimotor/sensorimotor/test/abstract_sensorimotor_test.py +++ b/sensorimotor/sensorimotor/test/abstract_sensorimotor_test.py @@ -73,6 +73,10 @@ cl...
Using prettyPrintSequenceCellRepresentations
py
diff --git a/pymatgen/io/vasp/sets.py b/pymatgen/io/vasp/sets.py index <HASH>..<HASH> 100644 --- a/pymatgen/io/vasp/sets.py +++ b/pymatgen/io/vasp/sets.py @@ -949,7 +949,6 @@ class MPStaticSet(MPRelaxSet): "LVHAR": True, "LWAVE": False, "NSW": 0, - "ICHA...
Remove ICHARG: 0 from MPStaticSet to be consistent with MPRelaxSet
py
diff --git a/mailmerge/sendmail_client.py b/mailmerge/sendmail_client.py index <HASH>..<HASH> 100644 --- a/mailmerge/sendmail_client.py +++ b/mailmerge/sendmail_client.py @@ -70,12 +70,7 @@ class SendmailClient: ) def sendmail(self, sender, recipients, message): - """Send email message. - - ...
Kill comment. We can't use send_message() because of BCC privacy
py
diff --git a/server.py b/server.py index <HASH>..<HASH> 100644 --- a/server.py +++ b/server.py @@ -192,8 +192,8 @@ class OpenIDServer(object): if v_sig == req.sig: lifetime = self.get_lifetime(req) invalidate_handle = req.get('invalidate_handle') - if invalid_handle and not...
[project @ finish fixing invalidate_handle naming bug]
py
diff --git a/src/asphalt/redis/component.py b/src/asphalt/redis/component.py index <HASH>..<HASH> 100644 --- a/src/asphalt/redis/component.py +++ b/src/asphalt/redis/component.py @@ -4,7 +4,6 @@ from typing import Any, Dict, List, Tuple, Union, Optional from aioredis import from_url from asphalt.core import Compone...
Upgraded to py<I> syntax
py
diff --git a/spinoff/util/testing.py b/spinoff/util/testing.py index <HASH>..<HASH> 100644 --- a/spinoff/util/testing.py +++ b/spinoff/util/testing.py @@ -10,8 +10,6 @@ from twisted.internet.defer import Deferred, succeed from spinoff.util.async import CancelledError from spinoff.actor import Actor from spinoff.util...
Cleaned up in util.testing
py
diff --git a/pyqrcode/builder.py b/pyqrcode/builder.py index <HASH>..<HASH> 100755 --- a/pyqrcode/builder.py +++ b/pyqrcode/builder.py @@ -132,7 +132,7 @@ class QRCodeBuilder: encoded = self.encode_alphanumeric() elif self.mode == tables.modes['numeric']: encoded = self.encode_numeric...
Replaced reference to 'bytes' with 'binary'
py
diff --git a/master/setup.py b/master/setup.py index <HASH>..<HASH> 100755 --- a/master/setup.py +++ b/master/setup.py @@ -194,19 +194,21 @@ else: if sys.version_info[:2] >= (2, 6): setup_args['install_requires'] += [ 'twisted >= 9.0.0', + 'Jinja2 >= 2.1', ] else: ...
On Python <I> use Jinja2 version that works with Python <I> Python <I> support was dropped in <I> release: <<URL>
py
diff --git a/openTSNE/affinity.py b/openTSNE/affinity.py index <HASH>..<HASH> 100644 --- a/openTSNE/affinity.py +++ b/openTSNE/affinity.py @@ -803,6 +803,8 @@ class MultiscaleMixture(Affinities): else: self.knn_index = knn_index + n_samples = self.knn_index.n_samples + effe...
affinity: Fix bug in multiscale - effective_perplexities
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -52,6 +52,7 @@ setup(name='pyhsmm', author_email='mattjj@csail.mit.edu', maintainer='Matthew James Johnson', maintainer_email='mattjj@csail.mit.edu', + url="https://github.com/mattjj/pyhsmm", p...
add url to setup.py
py
diff --git a/anytemplate/utils.py b/anytemplate/utils.py index <HASH>..<HASH> 100644 --- a/anytemplate/utils.py +++ b/anytemplate/utils.py @@ -29,12 +29,11 @@ except ImportError: raise ("Could not import any json module to load contexts!" " Aborting...") - def load(filepath, _ftype...
remove the line does nothing, etc.
py
diff --git a/pylatexenc/latexwalker/__init__.py b/pylatexenc/latexwalker/__init__.py index <HASH>..<HASH> 100644 --- a/pylatexenc/latexwalker/__init__.py +++ b/pylatexenc/latexwalker/__init__.py @@ -1957,6 +1957,11 @@ class LatexWalker(object): try: tok = self.get_token(p.pos, include_brac...
include guard to protect against future infinite loops à la #<I>
py
diff --git a/test/test_session.py b/test/test_session.py index <HASH>..<HASH> 100644 --- a/test/test_session.py +++ b/test/test_session.py @@ -490,6 +490,18 @@ class BookmarkingTestCase(ServerTestCase): assert isinstance(thing, Node) assert thing["uuid"] == unique_id + @skipUnless...
Added test for null bookmark after rollback
py
diff --git a/cfscrape/__init__.py b/cfscrape/__init__.py index <HASH>..<HASH> 100644 --- a/cfscrape/__init__.py +++ b/cfscrape/__init__.py @@ -85,6 +85,7 @@ class CloudflareScraper(Session): try: params["jschl_vc"] = re.search(r'name="jschl_vc" value="(\w+)"', body).group(1) params["p...
Update __init__.py A hidden input form has been added to the challenge which means the library currently getting and adding this 's' value fixes the library and allows us to bypass challenge.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ setup( 'pytest-runner' ], install_requires=[ - 'Django>=1.7' + 'Django==1.7' ], tests_require=[ 'pytest',
Pin Django to <I>
py
diff --git a/pypeerassets/protocol.py b/pypeerassets/protocol.py index <HASH>..<HASH> 100644 --- a/pypeerassets/protocol.py +++ b/pypeerassets/protocol.py @@ -135,6 +135,14 @@ class Deck: "fee": self.fee } + def __str__(self): + + r = [] + for key in self.__dict__: + ...
add dict representation for Deck object.
py
diff --git a/tests.py b/tests.py index <HASH>..<HASH> 100644 --- a/tests.py +++ b/tests.py @@ -508,6 +508,10 @@ class RelatedFieldTests(BasePeeweeTestCase): sq = EntryTag.select().join(Entry).where(title='a2').join(Blog).where(title='a') self.assertEqual(list(sq), [t1]) + + def test_m...
Checking in test to ensure multiple IN queries get flattened correctly
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -16,9 +16,9 @@ # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. # -# import os -# import sys -# sy...
Append search path to include parent directory. This fixes issue #<I> where the module index was not being generated by adding the parent directory to the module search path.
py
diff --git a/qiime_tools/test/test_util.py b/qiime_tools/test/test_util.py index <HASH>..<HASH> 100644 --- a/qiime_tools/test/test_util.py +++ b/qiime_tools/test/test_util.py @@ -1,7 +1,7 @@ import unittest from qiime_tools import util as qtu -class SplitPhylogenyTest(unittest.TestCase): +class split_phylogeny_Test...
Updated test_util.py Changed test class name to conform with function name.
py
diff --git a/tests/services/schedule_service.py b/tests/services/schedule_service.py index <HASH>..<HASH> 100644 --- a/tests/services/schedule_service.py +++ b/tests/services/schedule_service.py @@ -21,6 +21,18 @@ class SchedulerService(object): async def midnight(self) -> None: pass + @schedule(time...
Added additional empty invoker functions to test service for parsing testing on start
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -35,7 +35,7 @@ requirements = [ # Protocol and data packages "pytmpdir >= 0.2.3", # A temporary directory, useful for extracting archives to "txhttputil >= 0.2.7", # Utility class for http requests - "vorte...
Updated to vortexpy <I>
py
diff --git a/tests/test_web_server.py b/tests/test_web_server.py index <HASH>..<HASH> 100644 --- a/tests/test_web_server.py +++ b/tests/test_web_server.py @@ -19,7 +19,11 @@ async def test_simple_server(aiohttp_raw_server, aiohttp_client) -> None: async def test_raw_server_not_http_exception(aiohttp_raw_server, - ...
Make tests not to fail in debug mode (#<I>)
py
diff --git a/teneto/utils/io.py b/teneto/utils/io.py index <HASH>..<HASH> 100644 --- a/teneto/utils/io.py +++ b/teneto/utils/io.py @@ -1,5 +1,5 @@ import networkx as nx -from .utils import get_network_when +from .utils import get_network_when def tnet_to_nx(df, t=None): @@ -14,3 +14,4 @@ def tnet_to_nx(df, t=No...
hopefully break ci/coalas
py
diff --git a/beyond/frames/stations.py b/beyond/frames/stations.py index <HASH>..<HASH> 100644 --- a/beyond/frames/stations.py +++ b/beyond/frames/stations.py @@ -36,6 +36,7 @@ class TopocentricFrame(Frame): """ from ..orbits.listeners import stations_listeners, Listener + from ..orbits impor...
Correction of visibility computation for ephems
py
diff --git a/tests/test_conditions.py b/tests/test_conditions.py index <HASH>..<HASH> 100644 --- a/tests/test_conditions.py +++ b/tests/test_conditions.py @@ -4,6 +4,7 @@ from unittest import TestCase from hamcrest import assert_that, contains +from conditions.exceptions import RestartNotFoundError from condition...
Added test to check behaviour when restart not found.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ import os.path setup( name = 'array_devices', description = 'Python Interface for Array Electronic Load', - version = '1.0.1', + version = '1.0.2', long_description = '''This package is a P...
Updating version for PyPi push to support Python 3
py
diff --git a/geojson/utils.py b/geojson/utils.py index <HASH>..<HASH> 100644 --- a/geojson/utils.py +++ b/geojson/utils.py @@ -14,7 +14,7 @@ def coords(obj): if 'features' in obj: for f in obj['features']: # For Python 2 compatibility - # See https://www.reddit.com/r/learnpython/co...
Attempt to fix flake8 error.
py
diff --git a/_pytest/fixtures.py b/_pytest/fixtures.py index <HASH>..<HASH> 100644 --- a/_pytest/fixtures.py +++ b/_pytest/fixtures.py @@ -836,7 +836,7 @@ def fixture(scope="function", params=None, autouse=False, ids=None, name=None): function will be injected. :arg scope: the scope for which this fixture i...
Add 'invocation' scope option to fixture docstring
py
diff --git a/build/setup.py b/build/setup.py index <HASH>..<HASH> 100644 --- a/build/setup.py +++ b/build/setup.py @@ -20,7 +20,7 @@ binary_libs = [os.path.basename(f) for f in glob('jaxlib/*.so*')] setup( name='jaxlib', - version='0.1.1', + version='0.1.2', description='XLA library for JAX', au...
bump jaxlib version for pypi reasons
py
diff --git a/grimoire_elk/_version.py b/grimoire_elk/_version.py index <HASH>..<HASH> 100644 --- a/grimoire_elk/_version.py +++ b/grimoire_elk/_version.py @@ -1,2 +1,2 @@ # Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440 -__version__ = "0.70.0" +__version__ = "0.71.0"
Update version number to <I>
py
diff --git a/Test/overall_test.py b/Test/overall_test.py index <HASH>..<HASH> 100644 --- a/Test/overall_test.py +++ b/Test/overall_test.py @@ -1412,10 +1412,10 @@ array([[9, 3, 0], array([[0.75 , 0.25 , 0. ], [0.33333, 0.55556, 0.11111], [0.16667, 0.16667, 0.66667]]) ->>> cm3.to_array(one_vs_al...
fix : minor issues fixed in tests.
py
diff --git a/glue/segments.py b/glue/segments.py index <HASH>..<HASH> 100644 --- a/glue/segments.py +++ b/glue/segments.py @@ -1192,8 +1192,8 @@ class segmentlistdict(dict): # ============================================================================= # -# Removed on highmass branch to work with existing segment ...
Fix PR<I>: re-enable C version of segments library
py
diff --git a/netort/data_manager/clients/local.py b/netort/data_manager/clients/local.py index <HASH>..<HASH> 100644 --- a/netort/data_manager/clients/local.py +++ b/netort/data_manager/clients/local.py @@ -68,7 +68,7 @@ class LocalStorageClient(AbstractClient): self.processing_thread.stop() logger.in...
logging artifacts dir;
py
diff --git a/django_handleref/models.py b/django_handleref/models.py index <HASH>..<HASH> 100644 --- a/django_handleref/models.py +++ b/django_handleref/models.py @@ -4,14 +4,16 @@ from django.utils.translation import ugettext_lazy as _ from django_handleref.manager import HandleRefManager try: - import reversio...
change to support handle_version in later versions of reversion
py
diff --git a/collections2/dicts.py b/collections2/dicts.py index <HASH>..<HASH> 100644 --- a/collections2/dicts.py +++ b/collections2/dicts.py @@ -75,3 +75,8 @@ class OrderedDict(MutableMapping): return False return self.items() == other.items() + + def keys(self): + """Return a copy o...
Overwrote keys method on OrderedDict for highly improved performance as compared to the default MutableMapping implementation.
py
diff --git a/project.py b/project.py index <HASH>..<HASH> 100644 --- a/project.py +++ b/project.py @@ -79,7 +79,6 @@ class Project: for export, type in lib.get_exports(): try: - l.debug(lib.filename) ...
Removed a line of debugging output
py
diff --git a/holoviews/element/path.py b/holoviews/element/path.py index <HASH>..<HASH> 100644 --- a/holoviews/element/path.py +++ b/holoviews/element/path.py @@ -429,13 +429,13 @@ class Box(BaseShape): half_width = (self.width * self.aspect)/ 2.0 half_height = self.height / 2.0 - (l,b,r,t) =...
Fix Box rotation (#<I>)
py
diff --git a/tests/core/tests/resources_tests.py b/tests/core/tests/resources_tests.py index <HASH>..<HASH> 100644 --- a/tests/core/tests/resources_tests.py +++ b/tests/core/tests/resources_tests.py @@ -715,6 +715,27 @@ class PostgresTests(TransactionTestCase): except IntegrityError: self.fail('In...
Add test written by bmihelac at a<I>b9f0
py