diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/hwt/serializer/generic/to_hdl_ast.py b/hwt/serializer/generic/to_hdl_ast.py index <HASH>..<HASH> 100644 --- a/hwt/serializer/generic/to_hdl_ast.py +++ b/hwt/serializer/generic/to_hdl_ast.py @@ -268,6 +268,7 @@ class ToHdlAst(): intern, outer = o.getInternSig(), o.getOuterSig() intern_hd...
ToHdlAst.as_hdl_PortConnection set .obj for port hdl id
py
diff --git a/salt/utils/win_dacl.py b/salt/utils/win_dacl.py index <HASH>..<HASH> 100644 --- a/salt/utils/win_dacl.py +++ b/salt/utils/win_dacl.py @@ -657,7 +657,7 @@ def dacl(obj_name=None, obj_type="file"): win32security.ACL_REVISION_DS, # Some types don't support pro...
attempt to have win dacl force a 0 for file permissions
py
diff --git a/mapclassify/classifiers.py b/mapclassify/classifiers.py index <HASH>..<HASH> 100644 --- a/mapclassify/classifiers.py +++ b/mapclassify/classifiers.py @@ -1391,7 +1391,7 @@ class Natural_Breaks(Map_Classifier): k : int number of classes required - init : int, default: 10 + ...
ENH: rename init to initial as in original API
py
diff --git a/jsmin/test.py b/jsmin/test.py index <HASH>..<HASH> 100644 --- a/jsmin/test.py +++ b/jsmin/test.py @@ -347,7 +347,7 @@ var foo = "hey"; expected = 'var msie;' self.assertMinified(original, expected) - def test_angular_4(self): + def test_angular_5(self): original = 'a...
Rename test. However did that happen?!
py
diff --git a/nodeconductor/iaas/tasks.py b/nodeconductor/iaas/tasks.py index <HASH>..<HASH> 100644 --- a/nodeconductor/iaas/tasks.py +++ b/nodeconductor/iaas/tasks.py @@ -92,6 +92,10 @@ def schedule_deleting(instance_uuid): logger.exception( 'Failed to begin_deleting Instance with id %s', instance...
Improve Instance deletion logging, delete instance from DB NC-<I>
py
diff --git a/isort/pie_slice.py b/isort/pie_slice.py index <HASH>..<HASH> 100644 --- a/isort/pie_slice.py +++ b/isort/pie_slice.py @@ -451,6 +451,8 @@ if sys.version_info < (3, 2): from functools import wraps + _CacheInfo = collections.namedtuple("CacheInfo", "hits misses maxsize currsize") + def lru_c...
Add the previously undefined _CacheInfo
py
diff --git a/sporco/plot.py b/sporco/plot.py index <HASH>..<HASH> 100644 --- a/sporco/plot.py +++ b/sporco/plot.py @@ -573,7 +573,7 @@ def imview(img, title=None, copy=True, fltscl=False, intrp='nearest', # Deal with removal of 'box-forced' adjustable in Matplotlib 2.2.0 mplv = matplotlib.__version__.split(...
Fix for test for box-forced deprecation
py
diff --git a/pyresttest/test_tests.py b/pyresttest/test_tests.py index <HASH>..<HASH> 100644 --- a/pyresttest/test_tests.py +++ b/pyresttest/test_tests.py @@ -158,10 +158,15 @@ class TestsTest(unittest.TestCase): except ValueError: pass - @unittest.skipIf(PYTHON_MAJOR_VERSION > 2, - re...
Hacks to the test using mocks so it won't fail in python <I> B/c unittest in <I> lacks the skipIf decorator
py
diff --git a/example/xmp.py b/example/xmp.py index <HASH>..<HASH> 100644 --- a/example/xmp.py +++ b/example/xmp.py @@ -180,14 +180,19 @@ class Xmp(Fuse): def release(self, flags): self.file.close() + def _fflush(self): + if 'w' in self.file.mode or 'a' in self.file.mode: + ...
Fix flush and fsync in xmp.py. - Don't call file.flush() if file is not open for writing (a fix for OS-es which adhere more to POSIX than Linux in this respect, eg. *BSD). - Do call file.flush() both from both of fsync and flush methods because data is to be flushed out from userspace cache anyway before we can ...
py
diff --git a/mlogdistinct/mlogdistinct.py b/mlogdistinct/mlogdistinct.py index <HASH>..<HASH> 100755 --- a/mlogdistinct/mlogdistinct.py +++ b/mlogdistinct/mlogdistinct.py @@ -56,6 +56,7 @@ if __name__ == '__main__': print "%8i"%codelines[cl], " ", " ... ".join(cl) print - print "couldn't match %i li...
cosmetic fix, only output "couldn't match x lines" if x > 0.
py
diff --git a/src/python/dxpy/bindings/download_all_inputs.py b/src/python/dxpy/bindings/download_all_inputs.py index <HASH>..<HASH> 100644 --- a/src/python/dxpy/bindings/download_all_inputs.py +++ b/src/python/dxpy/bindings/download_all_inputs.py @@ -86,6 +86,9 @@ def download_all_inputs(exclude=None, parallel=True, ma...
Expanded text to explain return type.
py
diff --git a/parsl/executors/high_throughput/interchange.py b/parsl/executors/high_throughput/interchange.py index <HASH>..<HASH> 100644 --- a/parsl/executors/high_throughput/interchange.py +++ b/parsl/executors/high_throughput/interchange.py @@ -393,12 +393,12 @@ class Interchange(object): else: ...
Tidy debug messages around heartbeat/task requests (#<I>) Issue #<I> shows a confusing log message, where a heartbeat incorrectly logs that HEARTBEAT_CODE tasks have been requested, in addition to logging a heartbeat. This commit moves that log into the non-heartbeat path only, so that exactly one of the heartbe...
py
diff --git a/tests/test_index_delay_solutions.py b/tests/test_index_delay_solutions.py index <HASH>..<HASH> 100644 --- a/tests/test_index_delay_solutions.py +++ b/tests/test_index_delay_solutions.py @@ -8,9 +8,9 @@ # (GPLv3). See LICENSE.txt for details. import time -from pyoko.manage import FlushDB from .models ...
added BlockDelete context manager test rref #<I> ref GH-<I>
py
diff --git a/pyfolio/plotting.py b/pyfolio/plotting.py index <HASH>..<HASH> 100644 --- a/pyfolio/plotting.py +++ b/pyfolio/plotting.py @@ -579,11 +579,11 @@ def plot_rolling_returns( if ax is None: ax = plt.gca() - if volatility_match and benchmark_rets is None: + if volatility_match and factor_re...
BUG benchmark_rets is now factor_returns.
py
diff --git a/dbussy.py b/dbussy.py index <HASH>..<HASH> 100644 --- a/dbussy.py +++ b/dbussy.py @@ -3166,7 +3166,7 @@ class Server : #end if #end if if result != None and self.autoattach_new_connections : - result.attach_asyncio() + result.attach_asyncio(self.loop) ...
attach new Connection to same event loop as Server
py
diff --git a/tethne/model/corpus/mallet.py b/tethne/model/corpus/mallet.py index <HASH>..<HASH> 100644 --- a/tethne/model/corpus/mallet.py +++ b/tethne/model/corpus/mallet.py @@ -127,9 +127,8 @@ class LDAModel(Model): self.mallet_bin = os.path.join(self.mallet_path, "bin", "mallet") if platform.system...
troubleshooting tempfile issues on Windows
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -508,7 +508,7 @@ class InnoScript: print >> ofi # Uninstall optional log files print >> ofi, '[UninstallDelete]' - print >> ofi, r'Type: files; Name: "{pf}\linkchecker*.exe.log"' + prin...
Fix UninstallDelete entry for InnoSetup.
py
diff --git a/fireplace/__init__.py b/fireplace/__init__.py index <HASH>..<HASH> 100644 --- a/fireplace/__init__.py +++ b/fireplace/__init__.py @@ -153,7 +153,7 @@ class Game(Entity): player.broadcast("OWN_TURN_END") def DAMAGE(self, source, target, amount): - source.controller.broadcast("OWN_DAMAGE", source, ta...
Broadcast OWN_DAMAGE to the correct entities OWN_DAMAGE means "An entity I own was damaged". So of course it should be the target broadcasting it. Thanks, @mischanix
py
diff --git a/c7n/resources/s3.py b/c7n/resources/s3.py index <HASH>..<HASH> 100644 --- a/c7n/resources/s3.py +++ b/c7n/resources/s3.py @@ -586,10 +586,14 @@ class ToggleVersioning(BucketActionBase): policies: - name: s3-enable-versioning resource: s3 - filter:...
s3 - docs fixes on ToggleVersioning action (#<I>) (#<I>)
py
diff --git a/cumulusci/tasks/release_notes/parser.py b/cumulusci/tasks/release_notes/parser.py index <HASH>..<HASH> 100644 --- a/cumulusci/tasks/release_notes/parser.py +++ b/cumulusci/tasks/release_notes/parser.py @@ -65,7 +65,8 @@ class ChangeNotesLinesParser(BaseChangeNotesParser): continue ...
don't consider dev notes a line added to change notes.
py
diff --git a/thinc/about.py b/thinc/about.py index <HASH>..<HASH> 100644 --- a/thinc/about.py +++ b/thinc/about.py @@ -1,2 +1,2 @@ -__version__ = "8.0.0a13" +__version__ = "8.0.0a14" __release__ = True
Set version to <I>a<I>
py
diff --git a/raiblocks/client.py b/raiblocks/client.py index <HASH>..<HASH> 100644 --- a/raiblocks/client.py +++ b/raiblocks/client.py @@ -2248,11 +2248,12 @@ class Client(object): resp = self.call('peers') - return { - host: int(version) - for host, version - in res...
Remove dict comprehension for <I> compat
py
diff --git a/zk_shell/shell.py b/zk_shell/shell.py index <HASH>..<HASH> 100644 --- a/zk_shell/shell.py +++ b/zk_shell/shell.py @@ -66,6 +66,9 @@ class Shell(cmd.Cmd): if not self.connected: self._update_curdir('/') + def emptyline(self): + pass + def run(self): self.cmdlo...
Override cmd.Cmd's default behavior that `empty command` == `last command`
py
diff --git a/audiosegment.py b/audiosegment.py index <HASH>..<HASH> 100644 --- a/audiosegment.py +++ b/audiosegment.py @@ -89,9 +89,9 @@ class AudioSegment: return str(self) def __str__(self): - s = "%s: %s channels, %s bit, sampled @ %s kHz, %s seconds long" %\ + s = "%s: %s channels, %s ...
audiosegment: Simplify __str__ - Before: `<I> seconds long` - After: `<I>s long`
py
diff --git a/astroid/__pkginfo__.py b/astroid/__pkginfo__.py index <HASH>..<HASH> 100644 --- a/astroid/__pkginfo__.py +++ b/astroid/__pkginfo__.py @@ -25,7 +25,7 @@ """astroid packaging information""" -version = "2.5" +version = "2.5-dev" numversion = tuple(int(elem) for elem in version.split(".") if elem.isdigit...
Update __pkginfo__.py Adds suffix `-dev` to the current version number.
py
diff --git a/yandextank/stepper/util.py b/yandextank/stepper/util.py index <HASH>..<HASH> 100644 --- a/yandextank/stepper/util.py +++ b/yandextank/stepper/util.py @@ -158,8 +158,7 @@ class HttpOpener(object): def open(self, *args, **kwargs): if self.data_info.status_code == 200: self._detect_...
download ammofiles of unknown content-length
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ install_requires = ["graphql-core>=3.2,<3.3", "typing-extensions>=4,<5"] tests_requires = [ "pytest>=6.2,<6.3", - "pytest-asyncio>=0.17,<1", + "pytest-asyncio>=0.16,<1", "pytest-cov>=3,<4", ...
Make teste work with Python <I> again Note that pytest-asyncio <I> is not supported for Python <I>.
py
diff --git a/xkbgroup/version.py b/xkbgroup/version.py index <HASH>..<HASH> 100644 --- a/xkbgroup/version.py +++ b/xkbgroup/version.py @@ -17,7 +17,7 @@ """ -VERSION = "0.1.1" +VERSION = "0.1.2" def print_version(progname): """Prints the version along with the specified program name."""
Bump to version <I>
py
diff --git a/charmhelpers/contrib/charmsupport/nrpe.py b/charmhelpers/contrib/charmsupport/nrpe.py index <HASH>..<HASH> 100644 --- a/charmhelpers/contrib/charmsupport/nrpe.py +++ b/charmhelpers/contrib/charmsupport/nrpe.py @@ -30,6 +30,7 @@ import yaml from charmhelpers.core.hookenv import ( config, + hook_n...
Update NRPE to not restart the nrpe-server on update-status hooks (#<I>) update-status hooks are configured to fire every 5 minutes by default. Unfortunately, charms written to use this code don't always handle this properly and as a result, update-status triggers a restart of nrpe-server causing various alerts. ...
py
diff --git a/salt/modules/dnsutil.py b/salt/modules/dnsutil.py index <HASH>..<HASH> 100644 --- a/salt/modules/dnsutil.py +++ b/salt/modules/dnsutil.py @@ -217,7 +217,7 @@ def SPF(domain, record='SPF', nameserver=None): return SPF(domain, 'TXT', nameserver) t = re.sub('"', '', t).split() - if t[0] != ...
would choke on non-existant SPF records before.
py
diff --git a/telethon/telegram_client.py b/telethon/telegram_client.py index <HASH>..<HASH> 100644 --- a/telethon/telegram_client.py +++ b/telethon/telegram_client.py @@ -724,11 +724,11 @@ class TelegramClient(TelegramBareClient): if os.path.isdir(file) or not file: for attr in document.attribut...
Replace type(...) == ... with isinstance() checks
py
diff --git a/grpclib/protocol.py b/grpclib/protocol.py index <HASH>..<HASH> 100644 --- a/grpclib/protocol.py +++ b/grpclib/protocol.py @@ -3,6 +3,7 @@ from abc import ABCMeta, abstractmethod from typing import Optional, List, Tuple, Dict # noqa from asyncio import Transport, Protocol, Event, Queue, AbstractEventLoop...
Added Stream.reset method
py
diff --git a/tests/test_pyserver.py b/tests/test_pyserver.py index <HASH>..<HASH> 100644 --- a/tests/test_pyserver.py +++ b/tests/test_pyserver.py @@ -121,7 +121,7 @@ if sys.platform.find('java') == -1: #math is a builtin and because of that, it starts with None as a file start = '@@CO...
Fixing issue when running test with Python <I>
py
diff --git a/inginious/frontend/cookieless_app.py b/inginious/frontend/cookieless_app.py index <HASH>..<HASH> 100644 --- a/inginious/frontend/cookieless_app.py +++ b/inginious/frontend/cookieless_app.py @@ -154,6 +154,15 @@ class CookieLessCompatibleApplication(web.application): return web.ctx.homepath ...
Add a mechanism to ask the app to not create/save the session. Useful when receiving cross-site POST request with lax/strict cookies...
py
diff --git a/analyze_2d/run_sampler.py b/analyze_2d/run_sampler.py index <HASH>..<HASH> 100644 --- a/analyze_2d/run_sampler.py +++ b/analyze_2d/run_sampler.py @@ -17,7 +17,7 @@ gen_noise_scale = 0.1 data_filename = 'ring_data.csv' # # inference settings -N_transitions = 600 +N_transitions = 400 inference_seed = 1 ...
run posterior_analysis.py after samples are generated
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.10.5" +__version__ = "0.10.6"
bumping version to <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup setup( name='appdaemontestframework', - version='2.1.1', + version='2.2.0', description='Clean, human-readable tests for Appdaemon', long_description='See: http...
Release <I>: Mock Hass 'self.log()/error()' with native python logging
py
diff --git a/anyconfig/api.py b/anyconfig/api.py index <HASH>..<HASH> 100644 --- a/anyconfig/api.py +++ b/anyconfig/api.py @@ -133,8 +133,9 @@ def _load_schema(**options): """ ac_schema = options.get("ac_schema", None) if ac_schema is not None: - options["ac_parser"] = None # Try to detect it as ...
fix: (comment) indentation fix
py
diff --git a/admin_tools/menu/menus.py b/admin_tools/menu/menus.py index <HASH>..<HASH> 100644 --- a/admin_tools/menu/menus.py +++ b/admin_tools/menu/menus.py @@ -32,7 +32,7 @@ class Menu(object): class MyMenu(Menu): class Media: - css = ('/media/css/mymenu.css',) + ...
Update docstring menu.menus.Menu class [DOCSTRING]: The css class attribute of Media class needs to change to a dict in order for the css file(s) to load.
py
diff --git a/tests/api/load/single_load/test_base.py b/tests/api/load/single_load/test_base.py index <HASH>..<HASH> 100644 --- a/tests/api/load/single_load/test_base.py +++ b/tests/api/load/single_load/test_base.py @@ -17,6 +17,11 @@ from tests.base import NULL_CNTNR from .common import BaseTestCase +class MyDict(...
enhancement: add a test case for api.single_load with ac_dict option
py
diff --git a/ants/segmentation/joint_label_fusion.py b/ants/segmentation/joint_label_fusion.py index <HASH>..<HASH> 100644 --- a/ants/segmentation/joint_label_fusion.py +++ b/ants/segmentation/joint_label_fusion.py @@ -407,6 +407,7 @@ def local_joint_label_fusion( myregionAroundRegion = myregionAroundRegion * ...
ENH: should give better speed and equal performance
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -28,6 +28,7 @@ setup( packages=[ 'cookiecutter', ], + package_dir={'cookiecutter': 'cookiecutter'}, entry_points={ 'console_scripts': [ 'cookiecutter = cookiecutter.cookiecutter...
Add missing package_dir to setup.
py
diff --git a/examples/question-answering/run_squad.py b/examples/question-answering/run_squad.py index <HASH>..<HASH> 100644 --- a/examples/question-answering/run_squad.py +++ b/examples/question-answering/run_squad.py @@ -187,7 +187,7 @@ def train(args, train_dataset, model, tokenizer): "end_positions...
Fix it to work with BART (#<I>)
py
diff --git a/orpsoc/simulator/icarus.py b/orpsoc/simulator/icarus.py index <HASH>..<HASH> 100644 --- a/orpsoc/simulator/icarus.py +++ b/orpsoc/simulator/icarus.py @@ -67,10 +67,11 @@ class SimulatorIcarus: #FIXME: Handle failures. Save stdout/stderr. Build vmem file from elf file argument shutil.cop...
Kill tests properly with ctrl+c
py
diff --git a/salt/modules/lxc.py b/salt/modules/lxc.py index <HASH>..<HASH> 100644 --- a/salt/modules/lxc.py +++ b/salt/modules/lxc.py @@ -1070,12 +1070,12 @@ def bootstrap(name, config=None, approve_key=True, install=True): if not infos: return None + prior_state = _ensure_running(name) + __sal...
salt.modules.lxc: ensure lxc is running *before* call to seed.apply
py
diff --git a/examples/chatserver/tests/chatclient.py b/examples/chatserver/tests/chatclient.py index <HASH>..<HASH> 100644 --- a/examples/chatserver/tests/chatclient.py +++ b/examples/chatserver/tests/chatclient.py @@ -14,14 +14,15 @@ class WebsocketTests(LiveServerTestCase): cls.server_thread.httpd.set_app(ap...
Refactored ws-url
py
diff --git a/tests/test_renderers.py b/tests/test_renderers.py index <HASH>..<HASH> 100644 --- a/tests/test_renderers.py +++ b/tests/test_renderers.py @@ -289,13 +289,14 @@ class TestRenderers(unittest.TestCase): for _ in range(100): output = renderer.rendered_text - self.assertEqual( - ...
Temporarily disable check while I investigate V<I> random numbers
py
diff --git a/blockstack/lib/config.py b/blockstack/lib/config.py index <HASH>..<HASH> 100644 --- a/blockstack/lib/config.py +++ b/blockstack/lib/config.py @@ -28,16 +28,8 @@ import socket from ConfigParser import SafeConfigParser import json -try: - from ..version import __version__ -except: - if os.environ.g...
get version from blockstack_client
py
diff --git a/textblob/classifiers.py b/textblob/classifiers.py index <HASH>..<HASH> 100644 --- a/textblob/classifiers.py +++ b/textblob/classifiers.py @@ -78,13 +78,20 @@ def basic_extractor(document, train_set): :param list train_set: Training data set, a list of tuples of the form ``(words, label)`` OR ...
Special-cased when train_set is the null set Now returns an empty dict if passed an empty training set. Also, cover some bases if train_set is consumed by .next()
py
diff --git a/openquake/risklib/workflows.py b/openquake/risklib/workflows.py index <HASH>..<HASH> 100644 --- a/openquake/risklib/workflows.py +++ b/openquake/risklib/workflows.py @@ -375,6 +375,7 @@ class ProbabilisticEventBased(object): else: insured_curves = None average_insured_los...
fix corner case. insured_losses = False
py
diff --git a/runtests.py b/runtests.py index <HASH>..<HASH> 100755 --- a/runtests.py +++ b/runtests.py @@ -37,7 +37,12 @@ DEFAULT_SETTINGS = dict( 'ENGINE': 'django.db.backends.sqlite3', } }, - AUTH_USER_MODEL=auth_user_model + AUTH_USER_MODEL=auth_user_model, + MIDDLEWARE_CLASSES=[ ...
Set authentication middleware for test runner
py
diff --git a/gitlab/__init__.py b/gitlab/__init__.py index <HASH>..<HASH> 100644 --- a/gitlab/__init__.py +++ b/gitlab/__init__.py @@ -1427,16 +1427,18 @@ class Gitlab(object): :param sudo: do the request with another user :return: True if success """ - if access_level.lower() == "owne...
Don't try to map access_level if we are given an integer
py
diff --git a/naima/core.py b/naima/core.py index <HASH>..<HASH> 100644 --- a/naima/core.py +++ b/naima/core.py @@ -110,7 +110,7 @@ def lnprob(pars, data, modelfunc, priorfunc): MODEL_IN_BLOB = False for blob in modelout[1:]: - if np.all(blob == model): + if np.a...
Use array_equal instead of all and elementwise test
py
diff --git a/flask_socketio/test_client.py b/flask_socketio/test_client.py index <HASH>..<HASH> 100644 --- a/flask_socketio/test_client.py +++ b/flask_socketio/test_client.py @@ -48,7 +48,7 @@ class SocketIOTestClient(object): raise RuntimeError('Test client cannot be used with a message ' ...
updated test client to work with latest python-socketio release Fixes #<I>
py
diff --git a/pywal/reload.py b/pywal/reload.py index <HASH>..<HASH> 100644 --- a/pywal/reload.py +++ b/pywal/reload.py @@ -32,11 +32,11 @@ def gtk(): # Here we call a Python 2 script to reload the GTK themes. # This is done because the Python 3 GTK/Gdk libraries don't # provide a way of doing...
Theme is optional for GTK refresh I thought maybe that specific theme could be optional for running the reload script.
py
diff --git a/dvc/version.py b/dvc/version.py index <HASH>..<HASH> 100644 --- a/dvc/version.py +++ b/dvc/version.py @@ -7,7 +7,7 @@ import os import subprocess -_BASE_VERSION = "0.40.4" +_BASE_VERSION = "0.40.5" def _generate_version(base_version):
dvc: bump to <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -51,7 +51,7 @@ setup( data_files=[( (BASE_DIR, ['data/pool_transactions_sandbox', ]) )], - install_requires=['plenum-dev==0.3.23'], + install_requires=['plenum-dev==0.3.24'], setup_requires=['pyte...
[Closes SOV-<I>] Big Fixed: Orientdb is not installing with the latest build <I> (#<I>)
py
diff --git a/vlermv/_safe_buckets.py b/vlermv/_safe_buckets.py index <HASH>..<HASH> 100644 --- a/vlermv/_safe_buckets.py +++ b/vlermv/_safe_buckets.py @@ -6,6 +6,8 @@ from boto import connect_s3 def create_buckets(create_bucket, log, state): while True: bucketname = log.get() + if create_bucket ==...
put create_bucket even later
py
diff --git a/elifetools/__init__.py b/elifetools/__init__.py index <HASH>..<HASH> 100644 --- a/elifetools/__init__.py +++ b/elifetools/__init__.py @@ -1,2 +1,2 @@ -__version__ = '0.2.0' \ No newline at end of file +__version__ = '0.1.1' \ No newline at end of file
Bump to version <I> next planned release.
py
diff --git a/spyder/plugins/editor/widgets/editor.py b/spyder/plugins/editor/widgets/editor.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/editor/widgets/editor.py +++ b/spyder/plugins/editor/widgets/editor.py @@ -2329,14 +2329,15 @@ class EditorStack(QWidget): if not osp.isfile(finfo.filename): ...
only check the file if windows and add support to python 2
py
diff --git a/internetarchive/cli/ia_configure.py b/internetarchive/cli/ia_configure.py index <HASH>..<HASH> 100644 --- a/internetarchive/cli/ia_configure.py +++ b/internetarchive/cli/ia_configure.py @@ -68,6 +68,7 @@ def main(argv, session): if args['--username'] and args['--password']: config_fil...
Fix `--config-file` being ignored when `ia configure` is used with `--username` and `--password`
py
diff --git a/salt/modules/varnish.py b/salt/modules/varnish.py index <HASH>..<HASH> 100644 --- a/salt/modules/varnish.py +++ b/salt/modules/varnish.py @@ -14,7 +14,6 @@ Support for Varnish import logging import pipes import re -import shlex # Import salt libs import salt.utils @@ -34,7 +33,7 @@ def __virtual__()...
Fixed some little things to satisfy pylint
py
diff --git a/qgiscommons/gui.py b/qgiscommons/gui.py index <HASH>..<HASH> 100644 --- a/qgiscommons/gui.py +++ b/qgiscommons/gui.py @@ -24,7 +24,7 @@ def addAboutMenu(menuName): aboutAction = QAction(aboutIcon, "About...", iface.mainWindow()) aboutAction.setObjectName(namespace + "about") aboutAction.trig...
fix settingsAction -> aboutAction
py
diff --git a/lib/bx/align/maf_tests.py b/lib/bx/align/maf_tests.py index <HASH>..<HASH> 100644 --- a/lib/bx/align/maf_tests.py +++ b/lib/bx/align/maf_tests.py @@ -133,7 +133,7 @@ def test_write_with_synteny(): writer.write( a ) actual = val.getvalue() expected = """##maf version=1 scoring=foobar -a score...
Fix for write_with_synteny, I think the score should always be formatted this way, has someone seen something different?
py
diff --git a/tests/test_generators.py b/tests/test_generators.py index <HASH>..<HASH> 100644 --- a/tests/test_generators.py +++ b/tests/test_generators.py @@ -89,6 +89,14 @@ def test_nullable(item): assert 0 < sample.count(None) < 200 assert max(filter(None, sample)) == 1000 - sample.count(None) - 1 + ge...
Add test for nullable with var
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -91,7 +91,7 @@ setup( url="http://github.com/rainwoodman/pfft-python", #package_dir = {'pfft': 'pfft'}, zip_safe=False, - install_requires=['cython', 'numpy'], + install_requires=['cython', 'numpy', 'mpi4p...
requires mpi4py for install.
py
diff --git a/python_jsonschema_objects/wrapper_types.py b/python_jsonschema_objects/wrapper_types.py index <HASH>..<HASH> 100644 --- a/python_jsonschema_objects/wrapper_types.py +++ b/python_jsonschema_objects/wrapper_types.py @@ -64,10 +64,10 @@ class ArrayWrapper(collections.MutableSequence): """ Holds a typ...
Fix <I>: Check for ArrayWrapper, then collections.Sequence
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,11 +1,13 @@ from setuptools import setup +VERSION="0.2.1" + setup( name="twitter-monitor", packages=['twitter_monitor'], - version="0.2.1", - download_url='https://github.com/michaelbrooks/twitter-moni...
update download url in setup.py
py
diff --git a/docs/source/conf.py b/docs/source/conf.py index <HASH>..<HASH> 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -13,7 +13,9 @@ import sys import os -import sphinx_bootstrap_theme +on_rtd = os.environ.get('READTHEDOCS', None) == 'True' +if not on_rtd: + import sphinx_bootstrap_theme #...
default theme for read the docs
py
diff --git a/pylint/test/unittest_checker_python3.py b/pylint/test/unittest_checker_python3.py index <HASH>..<HASH> 100644 --- a/pylint/test/unittest_checker_python3.py +++ b/pylint/test/unittest_checker_python3.py @@ -198,11 +198,11 @@ class TestPython3Checker(testutils.CheckerTestCase): def test_dict_methods_i...
Fix the dict iterating texts by adding the parens. Thanks @asottlile
py
diff --git a/colr/colr.py b/colr/colr.py index <HASH>..<HASH> 100644 --- a/colr/colr.py +++ b/colr/colr.py @@ -274,6 +274,19 @@ class Colr(object): getattr(other, '__class__', type(other)).__name__)) return self.data < other.data + def __mul__(self, n): + """ Allow the same multipl...
Allow multiplying Colrs by ints (like str, except returns a Colr).
py
diff --git a/holoviews/element/chart.py b/holoviews/element/chart.py index <HASH>..<HASH> 100644 --- a/holoviews/element/chart.py +++ b/holoviews/element/chart.py @@ -74,7 +74,7 @@ class Chart(Element2D): """ if not isinstance(coords, list): coords = [coords] xs = self.data[:, 0] - idx...
Fix for Chart.closest method
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,8 @@ requirements = [ 'scipy', 'matplotlib', 'pyyaml', - 'multiprocess' + 'multiprocess', + 'setproctitle' ] setup(name='core',
Add setproctitle as dependency in setup
py
diff --git a/spacy/cli/download.py b/spacy/cli/download.py index <HASH>..<HASH> 100644 --- a/spacy/cli/download.py +++ b/spacy/cli/download.py @@ -14,7 +14,7 @@ from .. import about @plac.annotations( - model=("model to download, shortcut or name)", "positional", None, str), + model=("model to download, shor...
Remove ')' for clarity (#<I>) Sorry, don't mean to be nitpicky, I just noticed this when going through the CLI and thought it was a quick fix. That said, if this was intention than please let me know.
py
diff --git a/doitlive/__init__.py b/doitlive/__init__.py index <HASH>..<HASH> 100755 --- a/doitlive/__init__.py +++ b/doitlive/__init__.py @@ -282,11 +282,16 @@ def get_default_shell(): def run_command(cmd, shell=None, aliases=None, envvars=None, test_mode=False): shell = shell or get_default_shell() if cmd....
Fix behavior of "cd -" closes #<I>
py
diff --git a/pyhomematic/devicetypes/actors.py b/pyhomematic/devicetypes/actors.py index <HASH>..<HASH> 100644 --- a/pyhomematic/devicetypes/actors.py +++ b/pyhomematic/devicetypes/actors.py @@ -175,6 +175,17 @@ class IOSwitch(HMActor, HelperActorState, HelperWorking, HelperEventRemote): self.set_state(False, ...
Added KeyMatic support (#<I>)
py
diff --git a/pycollocation/solvers.py b/pycollocation/solvers.py index <HASH>..<HASH> 100644 --- a/pycollocation/solvers.py +++ b/pycollocation/solvers.py @@ -234,7 +234,7 @@ class Solver(object): """Return the lower boundary condition evaluated on the domain.""" if self._lower_boundary_condition is n...
More Python <I> issues fixed.
py
diff --git a/zarr/indexing.py b/zarr/indexing.py index <HASH>..<HASH> 100644 --- a/zarr/indexing.py +++ b/zarr/indexing.py @@ -829,18 +829,14 @@ def pop_fields(selection): return fields, selection -def int_to_slice(dim_selection): - return slice(dim_selection, dim_selection + 1, 1) - - def make_slice_selec...
removes int_to_slice and moves logic inline
py
diff --git a/cassandra/cluster.py b/cassandra/cluster.py index <HASH>..<HASH> 100644 --- a/cassandra/cluster.py +++ b/cassandra/cluster.py @@ -346,7 +346,6 @@ class Session(object): def set_keyspace(self, keyspace): self.execute('USE "%s"' % (keyspace,)) - self.keyspace = keyspace def subm...
Session.keyspace is set when a response is received
py
diff --git a/fontbakery-nametable-from-filename.py b/fontbakery-nametable-from-filename.py index <HASH>..<HASH> 100755 --- a/fontbakery-nametable-from-filename.py +++ b/fontbakery-nametable-from-filename.py @@ -11,8 +11,8 @@ description = """ fontbakery-nametable-from-filename.py ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
nametable-from-filename.py: better description and doc strings
py
diff --git a/koordinates/exports.py b/koordinates/exports.py index <HASH>..<HASH> 100644 --- a/koordinates/exports.py +++ b/koordinates/exports.py @@ -222,7 +222,7 @@ class Export(base.Model): :Example: >>> export = koordinates.Export() - >>> export.crs = "ESPG:4326" + >>> export.crs = "EPSG:4326" ...
Fix ESPG/EPSG typo in export example (#<I>)
py
diff --git a/theanets/graph.py b/theanets/graph.py index <HASH>..<HASH> 100644 --- a/theanets/graph.py +++ b/theanets/graph.py @@ -366,8 +366,8 @@ class Network(object): def add(s): h.update(str(s).encode('utf-8')) h = hashlib.md5() - # Use ordereddict to avoid creating different g...
shorten line length to pass the test
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ with open(os.path.join(os.getcwd(), 'cuttlepool/__init__.py'), 'r') as f: with codecs.open(os.path.join(here, 'README.rst'), encoding='utf-8') as f: long_description = f.read() -setup(name='cuttle', +set...
change name from cuttle to cuttlepool whoops
py
diff --git a/spacy/cli/validate.py b/spacy/cli/validate.py index <HASH>..<HASH> 100644 --- a/spacy/cli/validate.py +++ b/spacy/cli/validate.py @@ -20,13 +20,16 @@ def validate(): prints("Couldn't fetch compatibility table.", title="Server error (%d)" % r.status_code, exits=1) compat = r.js...
Make validate command fail more gracefully if version not found Mostly relevant during develoment when working with .dev versions
py
diff --git a/holoviews/interface/pandas.py b/holoviews/interface/pandas.py index <HASH>..<HASH> 100644 --- a/holoviews/interface/pandas.py +++ b/holoviews/interface/pandas.py @@ -242,14 +242,14 @@ class DFrame(DataFrameView): vm_dims = ['None'] vmap = ViewMap(index_dimensions=vm_dims) - v...
Support for multi-value DFrame to Table conversion
py
diff --git a/satpy/resample.py b/satpy/resample.py index <HASH>..<HASH> 100644 --- a/satpy/resample.py +++ b/satpy/resample.py @@ -867,12 +867,15 @@ class BucketResampler(BaseResampler): data_arr = data.data if data.ndim == 3 and data.dims[0] == 'bands': dims = ('bands', 'y', 'x') - ...
Adjust handling of dim names and array dimension adjustment
py
diff --git a/salt/grains/core.py b/salt/grains/core.py index <HASH>..<HASH> 100644 --- a/salt/grains/core.py +++ b/salt/grains/core.py @@ -1035,7 +1035,7 @@ def os_data(): # Load additional OS family grains if grains['os_family'] == "RedHat": - grains['osmajorrelease'] = grains['osrelease'].split('.'...
Don't return multiple elements for grain 'osmajorrelease'. Before this fix, the output of the 'osmajorrelease' grain looked like this: osmajorrelease: 7 <I> Now it'll only return the actual major release number: osmajorrelease: 7
py
diff --git a/autofit/non_linear/grid/grid_search/__init__.py b/autofit/non_linear/grid/grid_search/__init__.py index <HASH>..<HASH> 100644 --- a/autofit/non_linear/grid/grid_search/__init__.py +++ b/autofit/non_linear/grid/grid_search/__init__.py @@ -62,7 +62,7 @@ class GridSearch: self.search = search ...
made result_output_interval private (should prevent it from appearing in identifiers)
py
diff --git a/nodeconductor/structure/admin.py b/nodeconductor/structure/admin.py index <HASH>..<HASH> 100644 --- a/nodeconductor/structure/admin.py +++ b/nodeconductor/structure/admin.py @@ -314,7 +314,7 @@ class ServiceSettingsAdmin(ChangeReadonlyMixin, admin.ModelAdmin): # filter out certain fields from the ...
Fix SharedServiceSettings reference [WAL-<I>]
py
diff --git a/acstools/utils_calib.py b/acstools/utils_calib.py index <HASH>..<HASH> 100644 --- a/acstools/utils_calib.py +++ b/acstools/utils_calib.py @@ -337,6 +337,10 @@ def find_line(scihdu, refhdu): x0 = xzero y0 = yzero + # Ensure integer index + x0 = int(x0) + y0 = int(y0) + retu...
Fix TypeError in Numpy <I> indexing
py
diff --git a/genmodel/manager.py b/genmodel/manager.py index <HASH>..<HASH> 100644 --- a/genmodel/manager.py +++ b/genmodel/manager.py @@ -420,6 +420,7 @@ def cast_spell(job_id): # install dependencies subprocess.call(shlex.split('pip install -r requirements.txt')) # cast spell (non blocking,...
set job id in manager - required for castspell
py
diff --git a/rampage/daq/daq.py b/rampage/daq/daq.py index <HASH>..<HASH> 100644 --- a/rampage/daq/daq.py +++ b/rampage/daq/daq.py @@ -69,6 +69,7 @@ def reset_analog_sample_clock(state=False): Use this just before starting a run to avoid timing issues. """ + set_digital_line_state(expt_settings.dev1_cloc...
Fixed bug: Dev1 clock line was not reset at the start
py
diff --git a/tests/test_main.py b/tests/test_main.py index <HASH>..<HASH> 100755 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -69,6 +69,19 @@ def prepare_game(hero1=None, hero2=None, exclude=(), game_class=BaseTestGame): return game +def prepare_empty_game(game_class=BaseTestGame): + player1 = Player(name...
Add a prepare_empty_game() utility function to tests
py
diff --git a/mapchete/_executor.py b/mapchete/_executor.py index <HASH>..<HASH> 100644 --- a/mapchete/_executor.py +++ b/mapchete/_executor.py @@ -6,6 +6,7 @@ import logging import multiprocessing import os +from mapchete.config import MULTIPROCESSING_DEFAULT_START_METHOD from mapchete.log import set_log_level ...
make sure 'spawn' is used if argument is None
py
diff --git a/qa_tests/classical_risk_unittest.py b/qa_tests/classical_risk_unittest.py index <HASH>..<HASH> 100644 --- a/qa_tests/classical_risk_unittest.py +++ b/qa_tests/classical_risk_unittest.py @@ -90,6 +90,9 @@ class ClassicalRiskQATestCase(unittest.TestCase): 'hazardcurve-mean.xml', 'lo...
Added loss maps expected files in the qa classical risk test
py
diff --git a/terminal/command.py b/terminal/command.py index <HASH>..<HASH> 100644 --- a/terminal/command.py +++ b/terminal/command.py @@ -406,12 +406,18 @@ class Command(object): desc = find_description(arg) if arg in kwargs: value = kwargs[arg] + if value is...
fix on command.action, make it compatible with Option
py
diff --git a/__init__.py b/__init__.py index <HASH>..<HASH> 100644 --- a/__init__.py +++ b/__init__.py @@ -14,11 +14,11 @@ from sources.NCBIGene import NCBIGene source_to_class_map={ # 'hpoa' : HPOAnnotations, ~3 min # 'zfin' : ZFIN, -# 'omim' : OMIM, #full file takes ~15 min, due to required throttling + ...
refactor init with writer in main loop
py
diff --git a/airflow/jobs/triggerer_job.py b/airflow/jobs/triggerer_job.py index <HASH>..<HASH> 100644 --- a/airflow/jobs/triggerer_job.py +++ b/airflow/jobs/triggerer_job.py @@ -79,6 +79,13 @@ class TriggererJob(BaseJob): """ return session.query(func.count(Trigger.id)).scalar() > 0 + def on_kil...
Add heartbeat to TriggererJob (#<I>)
py
diff --git a/stockfighter/stockfighter.py b/stockfighter/stockfighter.py index <HASH>..<HASH> 100755 --- a/stockfighter/stockfighter.py +++ b/stockfighter/stockfighter.py @@ -146,7 +146,7 @@ class Stockfighter(object): https://starfighter.readme.io/docs/status-for-all-orders-in-a-stock """ - ...
Fix status_for_all_orders_in_a_stock url
py
diff --git a/spyderlib/widgets/projectexplorer.py b/spyderlib/widgets/projectexplorer.py index <HASH>..<HASH> 100644 --- a/spyderlib/widgets/projectexplorer.py +++ b/spyderlib/widgets/projectexplorer.py @@ -594,11 +594,14 @@ class ExplorerTreeWidget(OneColumnTree): def get_source_project(self, fname): ...
(Fixes Issue <I>) Editor: code completion was sometimes very slow when editing files within a Spyder project
py