diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/hdbscan/hdbscan_.py b/hdbscan/hdbscan_.py index <HASH>..<HASH> 100644 --- a/hdbscan/hdbscan_.py +++ b/hdbscan/hdbscan_.py @@ -641,7 +641,8 @@ class HDBSCAN (BaseEstimator, ClusterMixin): core_dist_n_jobs : int, optional (default=4) Number of parallel jobs to run in core distance computation...
fix for issue #<I> supplying n_jobs as a parameter for robust single linkage.
py
diff --git a/version.py b/version.py index <HASH>..<HASH> 100755 --- a/version.py +++ b/version.py @@ -1,2 +1,2 @@ #/usr/bin/env python -VERSION = '1.3.0-s928' +VERSION = '1.3.0-s934'
Ready for release s<I>
py
diff --git a/SpiffWorkflow/util/deep_merge.py b/SpiffWorkflow/util/deep_merge.py index <HASH>..<HASH> 100644 --- a/SpiffWorkflow/util/deep_merge.py +++ b/SpiffWorkflow/util/deep_merge.py @@ -14,7 +14,7 @@ class DeepMerge(object): if isinstance(a[key], list) and isinstance(b[key], list): ...
fixed problem where we were doing equivilance test rather than assignment
py
diff --git a/pylint_plugin_utils/__init__.py b/pylint_plugin_utils/__init__.py index <HASH>..<HASH> 100644 --- a/pylint_plugin_utils/__init__.py +++ b/pylint_plugin_utils/__init__.py @@ -1,8 +1,6 @@ import sys -try: - from pylint.exceptions import UnknownMessageError as UnknownMessage -except ImportError: - from...
Cleanup import and drop support for pylint < <I>
py
diff --git a/tests/ipopo_test.py b/tests/ipopo_test.py index <HASH>..<HASH> 100644 --- a/tests/ipopo_test.py +++ b/tests/ipopo_test.py @@ -190,6 +190,8 @@ class DecoratorsTest(unittest.TestCase): # Assert it has been validated ref = context.get_service_reference(svc_spec) + self.assertIsNotNo...
Added a small assertion in ipopo tests
py
diff --git a/python/perspective/perspective/manager/manager.py b/python/perspective/perspective/manager/manager.py index <HASH>..<HASH> 100644 --- a/python/perspective/perspective/manager/manager.py +++ b/python/perspective/perspective/manager/manager.py @@ -231,8 +231,11 @@ class PerspectiveManager(object): ...
fix csv serialization issue in python2 jupyter
py
diff --git a/fireplace/cards/tgt/neutral_common.py b/fireplace/cards/tgt/neutral_common.py index <HASH>..<HASH> 100644 --- a/fireplace/cards/tgt/neutral_common.py +++ b/fireplace/cards/tgt/neutral_common.py @@ -15,7 +15,8 @@ AT_082e = buff(atk=1) class AT_083: inspire = Buff(SELF, "AT_083e") -AT_083e = buff(windfu...
Change Dragonhawk Rider's buff to set Windfury to 1 This is needed in an int-based Windfury model
py
diff --git a/easyaudit/apps.py b/easyaudit/apps.py index <HASH>..<HASH> 100644 --- a/easyaudit/apps.py +++ b/easyaudit/apps.py @@ -3,6 +3,7 @@ from django.apps import AppConfig class EasyAuditConfig(AppConfig): name = 'easyaudit' verbose_name = 'Easy Audit Application' + default_auto_field = 'django.db.mo...
fix: migration missing for field ID (#<I>) * fix: migration missing for field ID * add default_auto_field to EasyAuditConfig
py
diff --git a/setuptools/archive_util.py b/setuptools/archive_util.py index <HASH>..<HASH> 100755 --- a/setuptools/archive_util.py +++ b/setuptools/archive_util.py @@ -8,6 +8,8 @@ import posixpath import contextlib from distutils.errors import DistutilsError +from setuptools.extern import six + from pkg_resources i...
_extract_member needs final_dst to be a native string. Ref #<I>.
py
diff --git a/data/migrations/deb/1_3_428_to_1_3_429.py b/data/migrations/deb/1_3_428_to_1_3_429.py index <HASH>..<HASH> 100644 --- a/data/migrations/deb/1_3_428_to_1_3_429.py +++ b/data/migrations/deb/1_3_428_to_1_3_429.py @@ -163,6 +163,8 @@ def migrate_txn_log(db_dir, db_name): val = ledger_txn_serialize...
[TAG migration] return if something wrong with cred_def_id replacing
py
diff --git a/glue/statedb.py b/glue/statedb.py index <HASH>..<HASH> 100644 --- a/glue/statedb.py +++ b/glue/statedb.py @@ -285,7 +285,7 @@ class StateSegmentDatabase: sql += "start_time,start_time_ns,end_time,end_time_ns,lfn_id)" sql += "VALUES (?,?,?,?,?,?,?,?)" - for attempt in range(4): + for attem...
try 5 times if we encounter a deadlock
py
diff --git a/galpy/orbit_src/linearOrbit.py b/galpy/orbit_src/linearOrbit.py index <HASH>..<HASH> 100644 --- a/galpy/orbit_src/linearOrbit.py +++ b/galpy/orbit_src/linearOrbit.py @@ -74,16 +74,15 @@ class linearOrbit(OrbitTop): HISTORY: 2010-09-15 - Written - Bovy (NYU) """ - if not...
python3 dictionary compatibility for linearOrbit plus improvements
py
diff --git a/examples/tests.py b/examples/tests.py index <HASH>..<HASH> 100644 --- a/examples/tests.py +++ b/examples/tests.py @@ -247,6 +247,12 @@ class GroupTestCase(TestCase): qs = LdapGroup.objects.all() self.assertEquals(len(qs), 0) + def test_bulk_delete_none(self): + LdapGroup.objec...
test deletion of .none() does nothing
py
diff --git a/skink/remote.py b/skink/remote.py index <HASH>..<HASH> 100644 --- a/skink/remote.py +++ b/skink/remote.py @@ -65,6 +65,10 @@ class JSObject(object): def _eval(self): return self._page.eval(self._command) + def __add__(self, other): + assert type(other) == JSObject + return ...
Added addition between JSObkects
py
diff --git a/plenum/server/node.py b/plenum/server/node.py index <HASH>..<HASH> 100644 --- a/plenum/server/node.py +++ b/plenum/server/node.py @@ -383,7 +383,12 @@ class Node(HasActionQueue, Motor, Propagator, MessageProcessor, HasFileStorage, # the batch in which those transactions were included. The txn rang...
INDY-<I>: Additional comment
py
diff --git a/spinoff/util/testing/actor.py b/spinoff/util/testing/actor.py index <HASH>..<HASH> 100644 --- a/spinoff/util/testing/actor.py +++ b/spinoff/util/testing/actor.py @@ -164,7 +164,7 @@ def test_errorcollector_can_be_used_with_assert_raises(): @contextmanager -def expect_failure(exc, message=None, timeout...
Removed default timeouts on all async testing helpers
py
diff --git a/rui/rui.py b/rui/rui.py index <HASH>..<HASH> 100755 --- a/rui/rui.py +++ b/rui/rui.py @@ -125,7 +125,10 @@ class World(object): Gets a specific group group is the string of a Group ''' - return self._groups[group] + if group in self._groups: + return self...
Groups will now return an empty list if there is no group with that name
py
diff --git a/util/plot/save.py b/util/plot/save.py index <HASH>..<HASH> 100644 --- a/util/plot/save.py +++ b/util/plot/save.py @@ -97,7 +97,7 @@ def data(file, data, land_value=np.nan, no_data_value=np.inf, land_brightness=0, for z in range(z_len): # append depth to filename if file_add_depth_inf...
API: util.plot.save: data plot now uses time and depth dimension first in file name
py
diff --git a/addok/shell.py b/addok/shell.py index <HASH>..<HASH> 100644 --- a/addok/shell.py +++ b/addok/shell.py @@ -415,14 +415,19 @@ class Cmd(cmd.Cmd): def do_SCRIPT(self, args): """Run a Lua script. Takes the raw Redis arguments. - SCRIPT manual_scan number_of_keys key1 key2… arg1 arg2 + ...
Be more defensive when running script from shell
py
diff --git a/fermipy/gtanalysis.py b/fermipy/gtanalysis.py index <HASH>..<HASH> 100644 --- a/fermipy/gtanalysis.py +++ b/fermipy/gtanalysis.py @@ -4930,12 +4930,12 @@ class GTBinnedAnalysis(fermipy.config.Configurable): if scale<1e-20: self.logger.warning("The expscale parameter was zero, ...
Change name of header keyword for exposure correction.
py
diff --git a/spyder/plugins/editor/widgets/base.py b/spyder/plugins/editor/widgets/base.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/editor/widgets/base.py +++ b/spyder/plugins/editor/widgets/base.py @@ -65,7 +65,6 @@ class TextEditBaseWidget(QPlainTextEdit, BaseEditMixin): # Code snippets sel...
Do not check for change on every keystroke
py
diff --git a/examples/update/update-campaign.py b/examples/update/update-campaign.py index <HASH>..<HASH> 100755 --- a/examples/update/update-campaign.py +++ b/examples/update/update-campaign.py @@ -8,13 +8,6 @@ import string import sys -def _read_file(f): - fh = open(f) - d = fh.read() - fh.close() - ...
Remove unused method in update campaign example
py
diff --git a/src/python/dxpy/scripts/dx_bed_to_spans.py b/src/python/dxpy/scripts/dx_bed_to_spans.py index <HASH>..<HASH> 100755 --- a/src/python/dxpy/scripts/dx_bed_to_spans.py +++ b/src/python/dxpy/scripts/dx_bed_to_spans.py @@ -595,7 +595,7 @@ def import_BED(**args): return job_outputs def main(**args): - ...
Fix exit code of dx-bed-to-spans.
py
diff --git a/jax/interpreters/parallel.py b/jax/interpreters/parallel.py index <HASH>..<HASH> 100644 --- a/jax/interpreters/parallel.py +++ b/jax/interpreters/parallel.py @@ -291,18 +291,23 @@ def reducer_papply(prim, cprim, name, vals, papply_axes, input_shape, axes): new_papply_axis = papply_axis - onp.sum(onp.l...
fix shape mismatch in broadcasting parallelization rule Namely, remove the dimension of non-split operands matching the split operand's hidden dimension.
py
diff --git a/zipline/gens/utils.py b/zipline/gens/utils.py index <HASH>..<HASH> 100644 --- a/zipline/gens/utils.py +++ b/zipline/gens/utils.py @@ -26,16 +26,6 @@ from zipline.protocol import ( ) -def mock_raw_event(sid, dt): - event = { - 'sid': sid, - 'dt': dt, - 'price': 1.0, - 'vo...
MAINT: Removes unused mock data function from gens.utils This function is unused, and on the general path of moving testing functions out of gens.utils # Please enter the commit message for your changes. Lines starting
py
diff --git a/anchore/controller.py b/anchore/controller.py index <HASH>..<HASH> 100644 --- a/anchore/controller.py +++ b/anchore/controller.py @@ -53,7 +53,7 @@ class Controller(object): action = polinput[2] modparams = "" if (len(polinput) > 3): - m...
ensure that all params are passed from policy definition
py
diff --git a/mt940/processors.py b/mt940/processors.py index <HASH>..<HASH> 100644 --- a/mt940/processors.py +++ b/mt940/processors.py @@ -145,7 +145,6 @@ def _parse_mt940_details(detail_str): tmp[segment_type] = segment if not segment_type else segment[2:] for key, value in tmp.items(): - print(...
Removed print command from processor.py.
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 @@ -20,7 +20,8 @@ def test_examples(): '../../examples/*/*.py') # Filter out __init__.py ...
Process examples in deterministic order Sort input file list so that .pyc files in python-textX build in a reproducible way in spite of indeterministic filesystem readdir order and <URL>
py
diff --git a/addons/after/gemini_viewer_addon/__init__.py b/addons/after/gemini_viewer_addon/__init__.py index <HASH>..<HASH> 100644 --- a/addons/after/gemini_viewer_addon/__init__.py +++ b/addons/after/gemini_viewer_addon/__init__.py @@ -29,6 +29,7 @@ def exec(report: Report, config_dict: dict, output_summary: OutputS...
:new: Send paths property as a string set (gemini_viewer_addon)
py
diff --git a/biocommons/seqrepo/seqaliasdb/seqaliasdb.py b/biocommons/seqrepo/seqaliasdb/seqaliasdb.py index <HASH>..<HASH> 100644 --- a/biocommons/seqrepo/seqaliasdb/seqaliasdb.py +++ b/biocommons/seqrepo/seqaliasdb/seqaliasdb.py @@ -55,7 +55,9 @@ class SeqAliasDB(object): # Public methods def commit(self)...
make SeqAliasDB.commit() respect to self._writeable
py
diff --git a/datetime_tz/__init__.py b/datetime_tz/__init__.py index <HASH>..<HASH> 100644 --- a/datetime_tz/__init__.py +++ b/datetime_tz/__init__.py @@ -211,6 +211,9 @@ def _detect_timezone_windows(): kernel32 = ctypes.windll.kernel32 getter = kernel32.GetTimeZoneInformation getter = getattr(kernel32, 'GetDy...
Add back an important call which went missing while moving things around
py
diff --git a/tests/io/file-with.py b/tests/io/file-with.py index <HASH>..<HASH> 100644 --- a/tests/io/file-with.py +++ b/tests/io/file-with.py @@ -10,3 +10,12 @@ except: # Note: CPython and us throw different exception trying to read from # close file. print("can't read file after with") + + +# Regressio...
tests/file-with: Add testcase which failed for @dpgeorge. Works on x<I>.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from distutils.core import setup setup(name='injections', - version='0.2.1', + version='0.2.2', description='Simple dependency injection library', author='Paul Colomiets', author...
Version bumped to <I>
py
diff --git a/horizon/exceptions.py b/horizon/exceptions.py index <HASH>..<HASH> 100644 --- a/horizon/exceptions.py +++ b/horizon/exceptions.py @@ -272,7 +272,8 @@ def handle(request, message=None, redirect=None, ignore=False, # If the message has a placeholder for the exception, fill it in elif message and "%...
Fixed error message for recoverable exceptions Issue was introduced by <URL> message becomes u'None' and all checks on "if message" pass. This result in popup screen with 'None' text instead of problem description. Change-Id: I7bc2dd<I>f<I>ba2bb<I>a7fadd2c1b<I>b<I>eb<I> Closes-Bug: #<I>
py
diff --git a/luigi/worker.py b/luigi/worker.py index <HASH>..<HASH> 100644 --- a/luigi/worker.py +++ b/luigi/worker.py @@ -60,6 +60,9 @@ class TaskProcess(multiprocessing.Process): # Need to have different random seeds if running in separate processes random.seed((os.getpid(), time.time())) ...
Make sure variables exists when put on queue
py
diff --git a/hwt/simulator/agentBase.py b/hwt/simulator/agentBase.py index <HASH>..<HASH> 100644 --- a/hwt/simulator/agentBase.py +++ b/hwt/simulator/agentBase.py @@ -98,7 +98,7 @@ class SyncAgentBase(AgentWitReset): SELECTED_EDGE_CALLBACK = OnRisingCallbackLoop def __init__(self, intf, allowNoReset=False):...
SyncAgentBase: use super of thic class in constructor
py
diff --git a/autopep8.py b/autopep8.py index <HASH>..<HASH> 100755 --- a/autopep8.py +++ b/autopep8.py @@ -494,6 +494,9 @@ class FixPEP8(object): if not target.lstrip().startswith('import'): return [] + # pep8 (1.3.1) reports false positive if there is an import statement + # follo...
Add comment regarding semicolon in E<I>
py
diff --git a/tests/basics/special_methods2.py b/tests/basics/special_methods2.py index <HASH>..<HASH> 100644 --- a/tests/basics/special_methods2.py +++ b/tests/basics/special_methods2.py @@ -115,6 +115,13 @@ cud1 / cud2 cud2 // cud1 cud1 += cud2 cud1 -= cud2 +cud1 % 2 +cud1 ** 2 +cud1 | cud2 +cud1 & cud2 +cud1 ^ cud...
tests/basics/special_methods2: Enable some additional tests that work. These special methods are all available if MICROPY_PY_ALL_SPECIAL_METHODS is enabled.
py
diff --git a/bloop/search.py b/bloop/search.py index <HASH>..<HASH> 100644 --- a/bloop/search.py +++ b/bloop/search.py @@ -420,7 +420,7 @@ class SearchIterator: self.scanned += response["ScannedCount"] # Each item is a dict of attributes - self.buffer.extend(response["Items"]) + ...
SearchIterator.__next__ handles missing 'Items' key from response #<I>
py
diff --git a/test/test_action.py b/test/test_action.py index <HASH>..<HASH> 100755 --- a/test/test_action.py +++ b/test/test_action.py @@ -188,6 +188,8 @@ class TestAction(ShinkenTest): if os.name == 'nt': a.command = r"""python -c 'print "A"*1000000'""" + # FROM NOW IT4S FAIL ON WIND...
Fix : test big actions is failed on windows.
py
diff --git a/graphyte.py b/graphyte.py index <HASH>..<HASH> 100644 --- a/graphyte.py +++ b/graphyte.py @@ -20,7 +20,7 @@ import time __all__ = ['Sender', 'init', 'send'] -__version__ = '1.4' +__version__ = '1.5' default_sender = None logger = logging.getLogger(__name__)
Bump up version number (with tag support)
py
diff --git a/src/hack/azext_hack/_website_utils.py b/src/hack/azext_hack/_website_utils.py index <HASH>..<HASH> 100644 --- a/src/hack/azext_hack/_website_utils.py +++ b/src/hack/azext_hack/_website_utils.py @@ -113,10 +113,10 @@ class Website: return self.__deployment_info def __get_or_create_app_servic...
[Hack] Fix selection logic of app service plan, make logs a bit better (#<I>)
py
diff --git a/jax/api.py b/jax/api.py index <HASH>..<HASH> 100644 --- a/jax/api.py +++ b/jax/api.py @@ -380,7 +380,8 @@ def grad(fun: Callable, argnums: Union[int, Sequence[int]] = 0, return grad_f_aux if has_aux else grad_f def value_and_grad(fun: Callable, argnums: Union[int, Sequence[int]] = 0, - ...
Make type of value_and_grad slightly more precise. (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -63,7 +63,8 @@ setup( ], extras_require={ 'RANSAC': ['sklearn>=0.19'], - 'qrandom': ['quantumrandom'] + 'qrandom': ['quantumrandom'], + 'plots': ['matplotlib'] }, cmdclass={ ...
adds matplotlib as extra dependency
py
diff --git a/sitecats/utils.py b/sitecats/utils.py index <HASH>..<HASH> 100644 --- a/sitecats/utils.py +++ b/sitecats/utils.py @@ -183,12 +183,12 @@ class Cache(object): else: filter_kwargs = {} child_ids = self.get_child_ids(parent_alias) - if child_ids: - f...
Fixed rendering category with no subcategories in editor.
py
diff --git a/ch.py b/ch.py index <HASH>..<HASH> 100755 --- a/ch.py +++ b/ch.py @@ -583,6 +583,9 @@ class Ch(object): return np.hstack([np.array(lhs.dot(rhs[:,i].todense())) for i in range(rhs.shape[1])]) else: return lhs.matmat(rhs) + + #...
ch.py: added placeholders for maybe doing auto-sparsification
py
diff --git a/wxmplot/config.py b/wxmplot/config.py index <HASH>..<HASH> 100644 --- a/wxmplot/config.py +++ b/wxmplot/config.py @@ -171,6 +171,11 @@ for tname in ('light', 'white-background', 'dark', if tname.startswith('seaborn-'): theme.update(matplotlib.style.library['seaborn']) theme....
monkeypatch fivethirtyeight font sizes
py
diff --git a/src/colab_gitlab/views.py b/src/colab_gitlab/views.py index <HASH>..<HASH> 100644 --- a/src/colab_gitlab/views.py +++ b/src/colab_gitlab/views.py @@ -28,8 +28,9 @@ class GitlabProxyView(ColabProxyView): self.request = request if self.verify_forbidden_path(self.request.path, self.request...
Adding redirect with tab #gitlab_profile
py
diff --git a/src/hamster/widgets/tags.py b/src/hamster/widgets/tags.py index <HASH>..<HASH> 100644 --- a/src/hamster/widgets/tags.py +++ b/src/hamster/widgets/tags.py @@ -136,7 +136,8 @@ class TagsEntry(gtk.Entry): height = self.tag_box.count_height(w) - #self.tag_box.modify_bg(gtk.StateType.NORMAL,...
try to fix background color does nothing.
py
diff --git a/isochrones/isochrones.py b/isochrones/isochrones.py index <HASH>..<HASH> 100644 --- a/isochrones/isochrones.py +++ b/isochrones/isochrones.py @@ -114,7 +114,7 @@ class Isochrone(object): self.mag = {band:interpnd(self.tri,mags[band]) for band in self.bands} - def __call__(sel...
made __call__ return datafram true by default
py
diff --git a/pyvlx/parameter.py b/pyvlx/parameter.py index <HASH>..<HASH> 100644 --- a/pyvlx/parameter.py +++ b/pyvlx/parameter.py @@ -193,7 +193,8 @@ class Position(Parameter): def to_percent(raw): """Create percent position value out of raw.""" # The first byte has the vlue from 0 to 200. Ignor...
Improvement of percent calculation Improvement of percent calculation in to_percent() for devices that do not return exactly <I> as final position when closed.
py
diff --git a/pinax/messages/models.py b/pinax/messages/models.py index <HASH>..<HASH> 100644 --- a/pinax/messages/models.py +++ b/pinax/messages/models.py @@ -1,6 +1,9 @@ +from __future__ import unicode_literals + from django.core.urlresolvers import reverse from django.db import models from django.utils import time...
Add some basic admin Closes #6
py
diff --git a/hexify.py b/hexify.py index <HASH>..<HASH> 100755 --- a/hexify.py +++ b/hexify.py @@ -4,10 +4,9 @@ import sys import os _HELP_TEXT = """ -Creates hexified versions of micropython scripts. -Intended for saving files to the local filesystem, _NOT_ the microbit. -Does not autodetect a microbit. -Accepts m...
Help text edit Attempted to better word the help text.
py
diff --git a/panoramisk/fast_agi.py b/panoramisk/fast_agi.py index <HASH>..<HASH> 100644 --- a/panoramisk/fast_agi.py +++ b/panoramisk/fast_agi.py @@ -23,7 +23,7 @@ class Request: return parse_agi_result(response.decode(self.encoding)) -class Application(OrderedDict): +class Application(dict): def _...
Application can be a simple dict, order isn't important
py
diff --git a/tests/test_osmnx.py b/tests/test_osmnx.py index <HASH>..<HASH> 100644 --- a/tests/test_osmnx.py +++ b/tests/test_osmnx.py @@ -19,7 +19,7 @@ ox.log('test info', level=lg.INFO) ox.log('test warning', level=lg.WARNING) ox.log('test error', level=lg.ERROR) -import httmock, gzip +import httmock, gzip, io ...
Switched to io.open for Python <I> encoding support
py
diff --git a/neo4j/bolt/connection.py b/neo4j/bolt/connection.py index <HASH>..<HASH> 100644 --- a/neo4j/bolt/connection.py +++ b/neo4j/bolt/connection.py @@ -213,7 +213,10 @@ class Connection(object): self.packer.supports_bytes = self.server.supports_bytes() def __del__(self): - self.close() + ...
Ignore errors on Connection.__del__
py
diff --git a/tests/multi_net/tcp_accept_recv.py b/tests/multi_net/tcp_accept_recv.py index <HASH>..<HASH> 100644 --- a/tests/multi_net/tcp_accept_recv.py +++ b/tests/multi_net/tcp_accept_recv.py @@ -17,7 +17,7 @@ def instance0(): try: print("recv", s.recv(10)) # should raise Errno 107 ENOTCONN excep...
tests/multi_net: Fix TCP accept test when using system error numbers. If a port is not using internal error numbers, which match both lwIP and Linux error numbers, ENTOCONN from standard libraries errno.h equals <I>, not <I>.
py
diff --git a/packages/vaex-astro/vaex/astro/gadget.py b/packages/vaex-astro/vaex/astro/gadget.py index <HASH>..<HASH> 100644 --- a/packages/vaex-astro/vaex/astro/gadget.py +++ b/packages/vaex-astro/vaex/astro/gadget.py @@ -50,6 +50,7 @@ def getinfo(filename, seek=None): class MemoryMappedGadget(DatasetMemoryMapped...
🐛 gadget dataset had no snake_name
py
diff --git a/webexteamssdk/models/mixins/room.py b/webexteamssdk/models/mixins/room.py index <HASH>..<HASH> 100644 --- a/webexteamssdk/models/mixins/room.py +++ b/webexteamssdk/models/mixins/room.py @@ -84,6 +84,11 @@ class RoomBasicPropertiesMixin(object): return self._json_data.get('creatorId') @prope...
Added ownerId to property list - resolves issue CiscoDevNet/webexteamssdk#<I>
py
diff --git a/bids/layout/layout.py b/bids/layout/layout.py index <HASH>..<HASH> 100644 --- a/bids/layout/layout.py +++ b/bids/layout/layout.py @@ -116,7 +116,13 @@ class BIDSLayout(Layout): if isinstance(p, six.string_types): paths[i] = (p, conf_path % 'bids') elif isinstance(...
make 'bids' config a dependency of 'derivatives'; closes #<I>
py
diff --git a/src/transformers/models/visual_bert/modeling_visual_bert.py b/src/transformers/models/visual_bert/modeling_visual_bert.py index <HASH>..<HASH> 100755 --- a/src/transformers/models/visual_bert/modeling_visual_bert.py +++ b/src/transformers/models/visual_bert/modeling_visual_bert.py @@ -929,7 +929,7 @@ class...
Fix mask token in the example (#<I>) VIsualBert uses bert-base-uncased tokenizer, therefore, instead of {mask}, the mask token should be [MASK]
py
diff --git a/pysat/_instrument.py b/pysat/_instrument.py index <HASH>..<HASH> 100644 --- a/pysat/_instrument.py +++ b/pysat/_instrument.py @@ -1109,7 +1109,7 @@ class Instrument(object): # ensure units and name are named consistently in new Meta # object as specified by user upon Ins...
ENH: updated meta loading Updated meta loading to load defaults for all variables not explicitly treated by the load routine.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -74,7 +74,7 @@ setup( # requirements files see: # https://packaging.python.org/en/latest/requirements.html install_requires = [ - 'pandas>=0.18.0' + 'pandas>=0.18.0', 'numpy>=1.9.0', ...
fixed issue with dependencies in setup.py
py
diff --git a/awp/packager.py b/awp/packager.py index <HASH>..<HASH> 100755 --- a/awp/packager.py +++ b/awp/packager.py @@ -9,6 +9,7 @@ import glob import plistlib import os import os.path +import re import shutil from zipfile import ZipFile, ZIP_DEFLATED @@ -151,8 +152,8 @@ def update_workflow_readme(info, readm...
Strip superfluous 'v' prefix from version numbers Alfred already prepends a 'v' to the given version number.
py
diff --git a/serenata_toolbox/chamber_of_deputies/chamber_of_deputies_dataset.py b/serenata_toolbox/chamber_of_deputies/chamber_of_deputies_dataset.py index <HASH>..<HASH> 100644 --- a/serenata_toolbox/chamber_of_deputies/chamber_of_deputies_dataset.py +++ b/serenata_toolbox/chamber_of_deputies/chamber_of_deputies_data...
Remove error silencing and specify quotation option Since the Camara's Open Data team fixed most issues with CSV formating, we are removing the fail-safe options on the CSV reading call. Also we are specifying now that the files have no quotation marks of any kind to separate values. This last change avoid silent row ...
py
diff --git a/src/timelog/middleware.py b/src/timelog/middleware.py index <HASH>..<HASH> 100644 --- a/src/timelog/middleware.py +++ b/src/timelog/middleware.py @@ -20,7 +20,7 @@ class TimeLogMiddleware(object): sqltime = 0.0 for q in connection.queries: - sqltime += float(q['time']) + ...
Sometimes, `time` attribute on a query is not set -- don't ask me why, it just seems to happen. If so, keep a default.
py
diff --git a/gspread/client.py b/gspread/client.py index <HASH>..<HASH> 100644 --- a/gspread/client.py +++ b/gspread/client.py @@ -279,7 +279,7 @@ class Client(object): try: r = self.session.put(url, data, headers=headers) except HTTPError as ex: - if ex.code == 403: + ...
Fixed AttributeError when URLError caught by HTTPError catch block Fixes #<I>
py
diff --git a/spikeextractors/extractors/tridesclousextractor/tridesclousextractor.py b/spikeextractors/extractors/tridesclousextractor/tridesclousextractor.py index <HASH>..<HASH> 100644 --- a/spikeextractors/extractors/tridesclousextractor/tridesclousextractor.py +++ b/spikeextractors/extractors/tridesclousextractor/t...
Miss understanding the "times" of spike that is index in fact.
py
diff --git a/dailymotion.py b/dailymotion.py index <HASH>..<HASH> 100755 --- a/dailymotion.py +++ b/dailymotion.py @@ -9,7 +9,7 @@ import json from collections import defaultdict __author__ = 'Samir AMZANI <samir.amzani@gmail.com>' -__version__ = '0.2.0' +__version__ = '0.2.1' __python_version__ = '.'.join([str(i)...
Bumped the revision version to <I>
py
diff --git a/tests/test_s3/test_s3.py b/tests/test_s3/test_s3.py index <HASH>..<HASH> 100644 --- a/tests/test_s3/test_s3.py +++ b/tests/test_s3/test_s3.py @@ -88,6 +88,22 @@ def test_multipart_upload(): @mock_s3 +def test_multipart_upload_out_of_order(): + conn = boto.connect_s3('the_key', 'the_secret') + bu...
add test for uploading parts out of order in S3 multipart upload
py
diff --git a/psiturk/experiment.py b/psiturk/experiment.py index <HASH>..<HASH> 100644 --- a/psiturk/experiment.py +++ b/psiturk/experiment.py @@ -69,7 +69,6 @@ if 'gunicorn' in os.environ.get('SERVER_SOFTWARE',''): # Set cache timeout to 10 seconds for static files app.config.update(SEND_FILE_MAX_AGE_DEFAULT=10) ap...
Remove INFO level logging of secret key
py
diff --git a/troposphere/amazonmq.py b/troposphere/amazonmq.py index <HASH>..<HASH> 100644 --- a/troposphere/amazonmq.py +++ b/troposphere/amazonmq.py @@ -3,7 +3,7 @@ # # See LICENSE file for full license. -from . import AWSObject, AWSProperty +from . import AWSObject, AWSProperty, Tags from .validators import boo...
Add Tags property to AWS::AmazonMQ::Broker, per <I> Jan 3 update (#<I>)
py
diff --git a/plenum/cli/cli.py b/plenum/cli/cli.py index <HASH>..<HASH> 100644 --- a/plenum/cli/cli.py +++ b/plenum/cli/cli.py @@ -106,7 +106,6 @@ class Cli: def __init__(self, looper, basedirpath, nodeReg, cliNodeReg, output=None, debug=False, logFileName=None): self.curClientPort = Non...
[#<I>] minor refacotring
py
diff --git a/python/chronos/src/setup.py b/python/chronos/src/setup.py index <HASH>..<HASH> 100644 --- a/python/chronos/src/setup.py +++ b/python/chronos/src/setup.py @@ -54,7 +54,7 @@ def setup_package(): url='https://github.com/intel-analytics/BigDL', packages=get_bigdl_packages(), install_...
Add upper version limit for pandas dependency (#<I>) * add upper range for pandas * change to <I>
py
diff --git a/pcef/core/editor.py b/pcef/core/editor.py index <HASH>..<HASH> 100644 --- a/pcef/core/editor.py +++ b/pcef/core/editor.py @@ -123,6 +123,22 @@ class QCodeEdit(QtGui.QPlainTextEdit): """ return self.__blocks + @property + def style(self): + return self.__style + + @style....
Make style a property and emit valueChanged with all param set to "" in the setter.
py
diff --git a/pycm/pycm_obj.py b/pycm/pycm_obj.py index <HASH>..<HASH> 100644 --- a/pycm/pycm_obj.py +++ b/pycm/pycm_obj.py @@ -695,7 +695,7 @@ class ConfusionMatrix(): except Exception: return "None" - def weighted_kappa(self,weight): + def weighted_kappa(self,weight=None): """ ...
fix : minor eidt in weighted_kappa method #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -60,7 +60,6 @@ setup( namespace_packages=[], zip_safe=False, install_requires=[ - 'setuptools', # -*- Extra requirements: -*- 'gitchangelog', ],
fix: pkg: remove setuptools from the requirements list. The requirement is a bit pointless as the setup.py file cannot even be executed and be parsed to find out setuptools is required if setuptools isn't found. This also is seeming to cause this package to break when installing from PyPi.
py
diff --git a/xml2json/bin/dispatch.py b/xml2json/bin/dispatch.py index <HASH>..<HASH> 100644 --- a/xml2json/bin/dispatch.py +++ b/xml2json/bin/dispatch.py @@ -191,7 +191,13 @@ def create_job(request, *args, **kwargs): def job_data(request, data_source, *args, **kwargs): - # Modify the arguments + """Hand...
Made request_filter in unless_error handle multiple filters
py
diff --git a/sirbot/core.py b/sirbot/core.py index <HASH>..<HASH> 100644 --- a/sirbot/core.py +++ b/sirbot/core.py @@ -100,11 +100,13 @@ class SirBot: msg_type = 'channel' if msg_type == 'hello': - logger.debug('login data ok') + logger.info('login data ok') elif o...
Too much log message Fix an error with the API response logging
py
diff --git a/nefertari/view.py b/nefertari/view.py index <HASH>..<HASH> 100644 --- a/nefertari/view.py +++ b/nefertari/view.py @@ -344,9 +344,13 @@ class BaseView(OptionsViewMixin): class PolymorphicESView(BaseView): - def index(self, collections): + def __init__(self, *args, **kwargs): + super(Polymo...
Set model in init of PolymorphicESView to enable aggregations
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -30,7 +30,7 @@ setuptools.setup( "argcomplete >= 1.8.2, < 2", "paramiko >= 2.1.1, < 3", "requests >= 2.12.4, < 3", - "tweak >= 0.5.1, < 0.6", + "tweak >= 0.6.4, < 1", "keymaker...
Bump tweak dependency with upstream fix
py
diff --git a/salt/pillar/pepa.py b/salt/pillar/pepa.py index <HASH>..<HASH> 100755 --- a/salt/pillar/pepa.py +++ b/salt/pillar/pepa.py @@ -77,7 +77,6 @@ except ImportError: HAS_OS_PATH = False - def __virtual__(): ''' Only return if all the modules are available @@ -220,7 +219,8 @@ if __name__ == '_...
Attempt at fixin pylint errors
py
diff --git a/salt/runners/git_pillar.py b/salt/runners/git_pillar.py index <HASH>..<HASH> 100644 --- a/salt/runners/git_pillar.py +++ b/salt/runners/git_pillar.py @@ -86,7 +86,8 @@ def update(branch=None, repo=None): else: pillar = salt.utils.gitfs.GitPillar(__opts__) pillar.init_remo...
Add PER_REMOTE_ONLY to init_remotes call in git_pillar runner When the mountpoint feature was added, it added a per-remote-only parameter called `mountpoint`. While this is reflected in salt.pillar.git_pillar, it was not in salt.runners.git_pillar. This corrects that oversight, fixing a traceback when the `git_pillar....
py
diff --git a/synapse/cores/common.py b/synapse/cores/common.py index <HASH>..<HASH> 100644 --- a/synapse/cores/common.py +++ b/synapse/cores/common.py @@ -2975,8 +2975,8 @@ class Cortex(EventBus, DataModel, Runtime, Configable, s_ingest.IngestApi): The input value, unchanged. ''' buf = s_...
Invert order of savebus.fire() calls for blob store.
py
diff --git a/pythonforandroid/recipes/pygame/__init__.py b/pythonforandroid/recipes/pygame/__init__.py index <HASH>..<HASH> 100644 --- a/pythonforandroid/recipes/pygame/__init__.py +++ b/pythonforandroid/recipes/pygame/__init__.py @@ -13,7 +13,7 @@ class Pygame2Recipe(CompiledComponentsPythonRecipe): not part ...
Updated version of pygame from <I> to <I> (#<I>) Changed the version of pygame in the recipe from <I> (released in Dec <I>) to the latest release <I> (released in Nov <I>).
py
diff --git a/werkzeug/wrappers.py b/werkzeug/wrappers.py index <HASH>..<HASH> 100644 --- a/werkzeug/wrappers.py +++ b/werkzeug/wrappers.py @@ -241,7 +241,8 @@ class BaseRequest(object): def application(cls, f): """Decorate a function as responder that accepts the request as first argument. This ...
Changed Request.application to automatically close the request object
py
diff --git a/pandas/core/sorting.py b/pandas/core/sorting.py index <HASH>..<HASH> 100644 --- a/pandas/core/sorting.py +++ b/pandas/core/sorting.py @@ -208,7 +208,7 @@ def lexsort_indexer(keys, orders=None, na_position="last"): cat = Categorical(key, ordered=True) if na_position not in ["last", "...
f strings in core/sorting (#<I>)
py
diff --git a/jira/resources.py b/jira/resources.py index <HASH>..<HASH> 100644 --- a/jira/resources.py +++ b/jira/resources.py @@ -1298,10 +1298,6 @@ class RequestType(Resource): session: ResilientSession, raw: Dict[str, Any] = None, ): - if raw: - self._parse_raw(raw) - ...
fix TB on RequestType instanciation with raw content (fixes #<I>) (#<I>) * fix TB on RequestType instanciation with raw content (fixes #<I>)
py
diff --git a/script/upload-node-headers.py b/script/upload-node-headers.py index <HASH>..<HASH> 100755 --- a/script/upload-node-headers.py +++ b/script/upload-node-headers.py @@ -112,7 +112,7 @@ def upload_node(bucket, access_key, secret_key, version): if TARGET_PLATFORM == 'win32': # Copy atom.lib to node.lib ...
win: Generate node.lib from node.dll
py
diff --git a/backtrader/indicators/macd.py b/backtrader/indicators/macd.py index <HASH>..<HASH> 100644 --- a/backtrader/indicators/macd.py +++ b/backtrader/indicators/macd.py @@ -46,7 +46,7 @@ class MACD(Indicator): class MACDHisto(MACD): lines = ('histo',) - plotlines = dict(histo=dict(_method='bar', alpha=...
macd changed transparency level of histogram bar
py
diff --git a/stomp/transport.py b/stomp/transport.py index <HASH>..<HASH> 100644 --- a/stomp/transport.py +++ b/stomp/transport.py @@ -212,10 +212,10 @@ class BaseTransport(stomp.listener.Publisher): if receipt_value == CMD_DISCONNECT: self.set_connected(False) - self.__di...
minor fix for disconnect receipt handling, change listener loops to be sorted
py
diff --git a/cm-devops/automation/script/module.py b/cm-devops/automation/script/module.py index <HASH>..<HASH> 100644 --- a/cm-devops/automation/script/module.py +++ b/cm-devops/automation/script/module.py @@ -1284,6 +1284,8 @@ def get_script_name(env, path): return 'run-' + tmp_suff1 + '-' + tmp_suff2 + '.sh...
Added changes to pick run script for a given platform
py
diff --git a/frisbee/__init__.py b/frisbee/__init__.py index <HASH>..<HASH> 100644 --- a/frisbee/__init__.py +++ b/frisbee/__init__.py @@ -83,7 +83,8 @@ class Frisbee: try: task = self._unfullfilled.get_nowait() except queue.Empty: - self._log.debug("Queue is em...
Label workers as they are launched and killed
py
diff --git a/dallinger/experiment_server/experiment_server.py b/dallinger/experiment_server/experiment_server.py index <HASH>..<HASH> 100644 --- a/dallinger/experiment_server/experiment_server.py +++ b/dallinger/experiment_server/experiment_server.py @@ -1300,6 +1300,13 @@ def worker_complete(): assignment...
make sure we notify when a job is complete
py
diff --git a/hitman.py b/hitman.py index <HASH>..<HASH> 100755 --- a/hitman.py +++ b/hitman.py @@ -13,7 +13,6 @@ from subprocess import Popen, PIPE import six -import baker import click import feedparser import requests @@ -409,4 +408,4 @@ def get_settings(all,key): if __name__ == "__main__": - cli_base...
see if we can fix up our score
py
diff --git a/dashboard/tests/test_dashboard.py b/dashboard/tests/test_dashboard.py index <HASH>..<HASH> 100644 --- a/dashboard/tests/test_dashboard.py +++ b/dashboard/tests/test_dashboard.py @@ -78,7 +78,9 @@ def test_basic(ray_start_with_dashboard): dashboard_proc_info = all_processes[ray_constants.PROCESS_TYPE_D...
Fix new dashboard test process check (#<I>)
py
diff --git a/mouse/_winmouse.py b/mouse/_winmouse.py index <HASH>..<HASH> 100644 --- a/mouse/_winmouse.py +++ b/mouse/_winmouse.py @@ -151,6 +151,7 @@ def listen(queue): event = ButtonEvent(type, button, t) if (event.event_type == DOWN) and previous_button_event is not None: + ...
Fix double click events not generating on Window (#3)
py
diff --git a/src/concurrency/fields.py b/src/concurrency/fields.py index <HASH>..<HASH> 100755 --- a/src/concurrency/fields.py +++ b/src/concurrency/fields.py @@ -74,11 +74,10 @@ class VersionField(Field): db_tablespace=db_tablespace, ...
re-enable deconstruct() commented by mistake
py
diff --git a/openquake/calculators/classical.py b/openquake/calculators/classical.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/classical.py +++ b/openquake/calculators/classical.py @@ -292,9 +292,8 @@ class ClassicalCalculator(base.HazardCalculator): mags_by_trt, self.sitecol.one(), gsims...
Better logging [skip CI]
py
diff --git a/datascience/tables.py b/datascience/tables.py index <HASH>..<HASH> 100644 --- a/datascience/tables.py +++ b/datascience/tables.py @@ -2267,8 +2267,8 @@ class Table(collections.abc.MutableMapping): if 'height' in options: height = options.pop('height') - else: - hei...
try modifying height instead of bin width
py