diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/pushl/__main__.py b/pushl/__main__.py index <HASH>..<HASH> 100644 --- a/pushl/__main__.py +++ b/pushl/__main__.py @@ -46,7 +46,7 @@ def parse_args(*args): default=100) parser.add_argument('--max-per-host', type=int, dest='max_per_host', help='Maximum n...
Set more sensible per-host connection pool limits
py
diff --git a/eliot/tests/strategies.py b/eliot/tests/strategies.py index <HASH>..<HASH> 100644 --- a/eliot/tests/strategies.py +++ b/eliot/tests/strategies.py @@ -5,12 +5,11 @@ Hypothesis strategies for eliot. from __future__ import unicode_literals from functools import partial -from uuid import UUID +from uuid im...
Generate unique UUIDs each time.
py
diff --git a/metnet/command.py b/metnet/command.py index <HASH>..<HASH> 100644 --- a/metnet/command.py +++ b/metnet/command.py @@ -1034,3 +1034,7 @@ def main(command=None): # Instantiate command with model and run command = args.command(model, args) command.run() + + +if __name__ == '__main__': + main...
command: Make it possible to run the command module directly With this change the main entry point usually accessed through the `model` script can also be accessed using python -m metnet.command
py
diff --git a/neo4j/v1/session.py b/neo4j/v1/session.py index <HASH>..<HASH> 100644 --- a/neo4j/v1/session.py +++ b/neo4j/v1/session.py @@ -140,7 +140,7 @@ class Driver(object): :return: """ pool = self.session_pool - for s in pool: + for s in list(pool): # freezing the pool int...
Fix deque mutated while iterating error
py
diff --git a/src/python/pants/util/strutil_test.py b/src/python/pants/util/strutil_test.py index <HASH>..<HASH> 100644 --- a/src/python/pants/util/strutil_test.py +++ b/src/python/pants/util/strutil_test.py @@ -28,7 +28,7 @@ def test_pluralize() -> None: def test_ensure_text() -> None: bytes_val = bytes(bytearr...
Fix assert arguments in a test (#<I>) Currently, this `assert` statement is checking that the tuple (i.e. `("快", ensure_text(bytes_val)`) is not empty. I believe the intention was to use the `assert` statement to verify that `ensure_text` function produced text. [ci skip-build-wheels]
py
diff --git a/drizzlepac/hapsequencer.py b/drizzlepac/hapsequencer.py index <HASH>..<HASH> 100755 --- a/drizzlepac/hapsequencer.py +++ b/drizzlepac/hapsequencer.py @@ -252,12 +252,23 @@ def create_catalog_products(total_obj_list, log_level, diagnostic_mode=False, ph # the catalogs. ...
Correct computation of CR threshold factor (#<I>) * Correct computation of CR threshold factor * Remove catalog logic
py
diff --git a/bynamodb/model.py b/bynamodb/model.py index <HASH>..<HASH> 100644 --- a/bynamodb/model.py +++ b/bynamodb/model.py @@ -312,11 +312,12 @@ class BatchWrite(object): self.to_delete = [] def put_item(self, **data): - self.model(**data).validate() + item = self.model(**data) + ...
Item has to be serialized to be put
py
diff --git a/lib/retester/retester.py b/lib/retester/retester.py index <HASH>..<HASH> 100644 --- a/lib/retester/retester.py +++ b/lib/retester/retester.py @@ -1,4 +1,4 @@ -import subprocess, shlex, signal, os, time, shutil, tempfile, sys, traceback, types, gitroot +import subprocess, shlex, signal, os, time, shutil, te...
Fix failing smoke test ("Invalid cross-device link") Replaced os.rename with shutil.move, since the former does not support cross-device moves.
py
diff --git a/subnuker.py b/subnuker.py index <HASH>..<HASH> 100644 --- a/subnuker.py +++ b/subnuker.py @@ -16,7 +16,7 @@ import os import sys __program__ = 'subnuker' -__version__ = '0.4.2' +__version__ = '0.4.4' LOGGER = logging.getLogger(__program__)
Bump up version to <I>
py
diff --git a/abilian/web/frontend.py b/abilian/web/frontend.py index <HASH>..<HASH> 100644 --- a/abilian/web/frontend.py +++ b/abilian/web/frontend.py @@ -6,7 +6,7 @@ Front-end for a CRM app. This should eventually allow implementing very custom CRM-style application. """ import StringIO - +import logging import co...
entity_edit_post: no sentry on integrityerror: the case is handled. Replaced by logging.error to have logs
py
diff --git a/zoonado/recipes/allocator.py b/zoonado/recipes/allocator.py index <HASH>..<HASH> 100644 --- a/zoonado/recipes/allocator.py +++ b/zoonado/recipes/allocator.py @@ -63,11 +63,6 @@ class Allocator(Recipe): @gen.coroutine def start(self): - self.party.client = self.client - self.party....
Remove client-setting cruft in allocator recipe.
py
diff --git a/openaps/__init__.py b/openaps/__init__.py index <HASH>..<HASH> 100644 --- a/openaps/__init__.py +++ b/openaps/__init__.py @@ -7,5 +7,5 @@ Release notes: python environment. Also, rely more on json import/export of configuration. Also, variety of git tweaks. """ -__version__ = '0.1....
create dev post release <I>
py
diff --git a/hcam_widgets/hcam.py b/hcam_widgets/hcam.py index <HASH>..<HASH> 100644 --- a/hcam_widgets/hcam.py +++ b/hcam_widgets/hcam.py @@ -502,6 +502,7 @@ class InstPars(tk.LabelFrame): if nodPattern and g.cpars['telins_name'] == 'GTC': self.nodPattern = nodPattern self.nod.set(Tr...
more checks on GUI state for dithering
py
diff --git a/raiden/messages.py b/raiden/messages.py index <HASH>..<HASH> 100644 --- a/raiden/messages.py +++ b/raiden/messages.py @@ -118,8 +118,8 @@ def assert_envelope_values( if nonce > UINT64_MAX: raise ValueError("nonce is too large") - if channel_identifier < 0: - raise ValueError("chan...
The smart contract does not allow for the channel with id 0
py
diff --git a/statik/__init__.py b/statik/__init__.py index <HASH>..<HASH> 100644 --- a/statik/__init__.py +++ b/statik/__init__.py @@ -1,3 +1,3 @@ # -*- coding:utf-8 -*- -__version__ = "0.14.3" +__version__ = "0.15.0"
bumping version to <I>
py
diff --git a/source/rafcon/core/execution/execution_engine.py b/source/rafcon/core/execution/execution_engine.py index <HASH>..<HASH> 100644 --- a/source/rafcon/core/execution/execution_engine.py +++ b/source/rafcon/core/execution/execution_engine.py @@ -26,7 +26,6 @@ class ExecutionEngine(Observable): :ivar sta...
remove validity checker from the execution engine
py
diff --git a/mautrix/appservice/api/appservice.py b/mautrix/appservice/api/appservice.py index <HASH>..<HASH> 100644 --- a/mautrix/appservice/api/appservice.py +++ b/mautrix/appservice/api/appservice.py @@ -183,8 +183,8 @@ class AppServiceAPI(HTTPAPI): if isinstance(timestamp, datetime): t...
Always set user_id param for appservices
py
diff --git a/src/python/pants/backend/project_info/paths.py b/src/python/pants/backend/project_info/paths.py index <HASH>..<HASH> 100644 --- a/src/python/pants/backend/project_info/paths.py +++ b/src/python/pants/backend/project_info/paths.py @@ -140,7 +140,7 @@ async def paths( spec_paths.append(spec_path) ...
Add a newline at the end of `paths` output (#<I>) This was bugging me. [ci skip-rust] [ci skip-build-wheels]
py
diff --git a/tests/test_writer.py b/tests/test_writer.py index <HASH>..<HASH> 100644 --- a/tests/test_writer.py +++ b/tests/test_writer.py @@ -278,8 +278,8 @@ def test_add_signature(tmpdir, mar_cue, test_keys): assert m1.verify(public_key) # Assert file contents are the same - with dest_mar.open('rb'...
tests: fix one more "unclosed file" issue
py
diff --git a/sllurp/llrp_proto.py b/sllurp/llrp_proto.py index <HASH>..<HASH> 100644 --- a/sllurp/llrp_proto.py +++ b/sllurp/llrp_proto.py @@ -231,7 +231,7 @@ Modulation_DefaultTari = { 'WISP5pre': 12500, 'WISP5': 7140, } -DEFAULT_MODULATION = 'M8' +DEFAULT_MODULATION = 'M4' # # LLRP Messages
default modulation back to M4 (works with older WISP)
py
diff --git a/examples/using_pymunk.py b/examples/using_pymunk.py index <HASH>..<HASH> 100644 --- a/examples/using_pymunk.py +++ b/examples/using_pymunk.py @@ -3,7 +3,6 @@ import struct import numpy as np import pymunk -from PIL import Image from pymunk import Vec2d import data @@ -67,12 +66,10 @@ class PymunkEx...
using_pymunk: Load textures using bult in loaders
py
diff --git a/doc/conf.py b/doc/conf.py index <HASH>..<HASH> 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -292,7 +292,8 @@ texinfo_documents = [ # Example configuration for intersphinx: refer to the Python standard library. -intersphinx_mapping = {'http://docs.python.org/': None} +intersphinx_mapping = { + 'htt...
Fix warning about intersphinx inventory link
py
diff --git a/dipper/utils/GraphUtils.py b/dipper/utils/GraphUtils.py index <HASH>..<HASH> 100644 --- a/dipper/utils/GraphUtils.py +++ b/dipper/utils/GraphUtils.py @@ -290,7 +290,7 @@ class GraphUtils: return def addComment(self, g, subject_id, comment): - g.add((self.getNode(subject_id), DC['comm...
change dc:comment to rdfs:comment as per <URL>
py
diff --git a/ci/test_saas_integration.py b/ci/test_saas_integration.py index <HASH>..<HASH> 100644 --- a/ci/test_saas_integration.py +++ b/ci/test_saas_integration.py @@ -11,9 +11,13 @@ from tagcube.client.api import TagCubeClient class TestTagCubeSaaSIntegration(unittest.TestCase): TARGET_URL = 'http://www.fog...
Add support for configuring different credentials for each branch #8
py
diff --git a/python/jsbeautifier.py b/python/jsbeautifier.py index <HASH>..<HASH> 100755 --- a/python/jsbeautifier.py +++ b/python/jsbeautifier.py @@ -869,11 +869,14 @@ class Beautifier: # Try to replace \x-encoded characters with their readable equivalent, # if it is possible (e.g. '\x41\x42\x43\x01'...
Corrected trick to ignore double escapes (\\x<I> &co. are no more erroneously translated to \a)
py
diff --git a/rllib/evaluation/worker_set.py b/rllib/evaluation/worker_set.py index <HASH>..<HASH> 100644 --- a/rllib/evaluation/worker_set.py +++ b/rllib/evaluation/worker_set.py @@ -64,15 +64,15 @@ class WorkerSet: trainer_config, {"tf_session_args": trainer_config["local_tf_session_a...
Prevent Local Worker creation from blocking remote worker creation by creating remote workers before local worker (#<I>) * create remote workers before local worker * reformatted
py
diff --git a/shakedown/dcos/spinner.py b/shakedown/dcos/spinner.py index <HASH>..<HASH> 100644 --- a/shakedown/dcos/spinner.py +++ b/shakedown/dcos/spinner.py @@ -4,7 +4,13 @@ import traceback import shakedown -def wait_for(predicate, timeout_seconds=120, sleep_seconds=1, ignore_exceptions=True, inverse_predicate=...
turn off noisy option in wait_for
py
diff --git a/hazelcast/version.py b/hazelcast/version.py index <HASH>..<HASH> 100644 --- a/hazelcast/version.py +++ b/hazelcast/version.py @@ -5,7 +5,7 @@ import subprocess SERIALIZATION_VERSION = 1 CLIENT_TYPE = "PYH" -CLIENT_VERSION_INFO = (3, 11) +CLIENT_VERSION_INFO = (3, 12) CLIENT_VERSION = ".".join(map(str,...
update client version to <I> (#<I>)
py
diff --git a/mongoctl/mongoctl.py b/mongoctl/mongoctl.py index <HASH>..<HASH> 100644 --- a/mongoctl/mongoctl.py +++ b/mongoctl/mongoctl.py @@ -2781,22 +2781,23 @@ def setup_db_users(server, db, db_users): def _mongo_add_user(db, username, password, read_only=False): """ Adds a the specified user to the d...
Do not remove the username of a user whose password is being updated.
py
diff --git a/tools/py/pipeline/link_materialize_actions.py b/tools/py/pipeline/link_materialize_actions.py index <HASH>..<HASH> 100644 --- a/tools/py/pipeline/link_materialize_actions.py +++ b/tools/py/pipeline/link_materialize_actions.py @@ -232,7 +232,7 @@ def materialize(typ, rel=None, origin=None, unique=None, fpri...
Support multiple dynamically specified types to materialize()
py
diff --git a/cobald/controller/relative_supply.py b/cobald/controller/relative_supply.py index <HASH>..<HASH> 100644 --- a/cobald/controller/relative_supply.py +++ b/cobald/controller/relative_supply.py @@ -40,8 +40,8 @@ class RelativeSupplyController(Controller): def regulate(self, interval): if self.t...
corrected implementation of RelativeSupplyController to match its purpose
py
diff --git a/dvc/fs/ssh/connection.py b/dvc/fs/ssh/connection.py index <HASH>..<HASH> 100644 --- a/dvc/fs/ssh/connection.py +++ b/dvc/fs/ssh/connection.py @@ -40,7 +40,9 @@ class SSHConnection: host=host, **kwargs ) ) - self.timeout = kwargs.get("timeout", 1800) + + ...
fs: ssh: pass timeout to paramiko's connect() (#<I>) Prior to this commit, DVC could hang indefinitely when connecting to remote SSH filesystems. This should address this.
py
diff --git a/salt/states/pkg.py b/salt/states/pkg.py index <HASH>..<HASH> 100644 --- a/salt/states/pkg.py +++ b/salt/states/pkg.py @@ -1262,14 +1262,21 @@ def latest( 'installed/upgraded: ' \ '{0}.'.format(to_be_upgraded) if up_to_date: - if len(...
Display the package version in pkg.latest when a package is up to date fixes: #<I>
py
diff --git a/PyFunceble.py b/PyFunceble.py index <HASH>..<HASH> 100755 --- a/PyFunceble.py +++ b/PyFunceble.py @@ -1799,6 +1799,7 @@ class Referer(object): 'al', 'ao', 'az', + 'ba', 'bd', 'eg', 'fm', @@ -2585,7 +2586,7 @@ if __name...
Introduction of `ba` into the list of ignored extensions cf: Whois lookup to <URL>
py
diff --git a/djstripe/models.py b/djstripe/models.py index <HASH>..<HASH> 100644 --- a/djstripe/models.py +++ b/djstripe/models.py @@ -396,7 +396,7 @@ class Customer(StripeObject): ) current_subscription.status = sub.status current_subscription.cancel_at_period_end = sub.cancel_at_period_...
Correct subscription attribute name `CurrentSubscription` model does not have a `period_end` field, so the assignment statement was a noop.
py
diff --git a/Lib/mutatorMath/__init__.py b/Lib/mutatorMath/__init__.py index <HASH>..<HASH> 100644 --- a/Lib/mutatorMath/__init__.py +++ b/Lib/mutatorMath/__init__.py @@ -2,7 +2,7 @@ """ -CCopyright (c) 2004-2014, LettError and Erik van Blokland +Copyright (c) 2004-2016, LettError and Erik van Blokland All rights...
Typo in the license text in init.py. Now I'm not sure why this is duplicated. But at least it is the same as license.
py
diff --git a/jishaku/cog.py b/jishaku/cog.py index <HASH>..<HASH> 100644 --- a/jishaku/cog.py +++ b/jishaku/cog.py @@ -278,6 +278,8 @@ class Jishaku: # pylint: disable=too-many-public-methods await ctx.send(file=result) elif isinstance(result, discord.Embed): ...
jsk command: support yielding PaginatorInterfaces makes the code sample in #<I> a lot shorter
py
diff --git a/spyder/plugins/variableexplorer/widgets/objectexplorer/tests/test_objectexplorer.py b/spyder/plugins/variableexplorer/widgets/objectexplorer/tests/test_objectexplorer.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/variableexplorer/widgets/objectexplorer/tests/test_objectexplorer.py +++ b/spyder/plugin...
Object Explorer: Mark test to by skipped in Python 2
py
diff --git a/src/vistir/path.py b/src/vistir/path.py index <HASH>..<HASH> 100644 --- a/src/vistir/path.py +++ b/src/vistir/path.py @@ -331,7 +331,7 @@ def rmtree(directory, ignore_errors=False, onerror=None): Setting `ignore_errors=True` may cause this to silently fail to delete the path """ - + from ...
rmtree: import FileNotFoundError from compat FileNotFoundError does not exist on Python 2.
py
diff --git a/chess/syzygy.py b/chess/syzygy.py index <HASH>..<HASH> 100644 --- a/chess/syzygy.py +++ b/chess/syzygy.py @@ -1755,11 +1755,11 @@ class Tablebases(object): if success == 2 or not board.occupied_co[board.turn] & ~board.pawns: return dtz_before_zeroing(wdl) - if success == 3: +...
Threats are only threats if they win
py
diff --git a/psamm/findprimarypairs.py b/psamm/findprimarypairs.py index <HASH>..<HASH> 100644 --- a/psamm/findprimarypairs.py +++ b/psamm/findprimarypairs.py @@ -252,9 +252,9 @@ def predict_compound_pairs_iterated( rpairs.setdefault((c1, c2), []).append(form) prediction[reaction_id] = r...
added --ambiguous option to fpp algorithm in primarpairs.
py
diff --git a/src/idp_test/__init__.py b/src/idp_test/__init__.py index <HASH>..<HASH> 100644 --- a/src/idp_test/__init__.py +++ b/src/idp_test/__init__.py @@ -230,8 +230,8 @@ class SAML2client(object): conv = Conversation(self.client, self.sp_config, self.trace, self.inte...
Should use the work that's already been done.
py
diff --git a/ravel.py b/ravel.py index <HASH>..<HASH> 100644 --- a/ravel.py +++ b/ravel.py @@ -1347,6 +1347,7 @@ class BusPeer : if not isinstance(conn, Connection) : raise TypeError("conn must be a Connection") #end if + dbus.validate_bus_name(bus_name) ...
do some up-front validation of bus, interface and member names
py
diff --git a/rllib/policy/policy.py b/rllib/policy/policy.py index <HASH>..<HASH> 100644 --- a/rllib/policy/policy.py +++ b/rllib/policy/policy.py @@ -709,7 +709,8 @@ class Policy(metaclass=ABCMeta): ret = {} for view_col, view_req in self.view_requirements.items(): if isinstance(view_req...
[RLlib] Issue #<I>: Fix get action shape (#<I>)
py
diff --git a/frasco/users/avatars.py b/frasco/users/avatars.py index <HASH>..<HASH> 100644 --- a/frasco/users/avatars.py +++ b/frasco/users/avatars.py @@ -82,7 +82,11 @@ def url_for_avatar(user): hash = hashlib.md5(username).hexdigest() email = getattr(user, state.options["gravatar_email_column"] or 'emai...
Fix: handle unicode chars in email address
py
diff --git a/spyder/widgets/ipythonconsole/debugging.py b/spyder/widgets/ipythonconsole/debugging.py index <HASH>..<HASH> 100644 --- a/spyder/widgets/ipythonconsole/debugging.py +++ b/spyder/widgets/ipythonconsole/debugging.py @@ -69,12 +69,9 @@ class DebuggingWidget(RichJupyterWidget): else: self...
Use of the restart_kernel dialog.
py
diff --git a/telemetry/telemetry/core/chrome/inspector_backend.py b/telemetry/telemetry/core/chrome/inspector_backend.py index <HASH>..<HASH> 100644 --- a/telemetry/telemetry/core/chrome/inspector_backend.py +++ b/telemetry/telemetry/core/chrome/inspector_backend.py @@ -106,10 +106,7 @@ class InspectorBackend(object): ...
[telemetry] Check Chrome branch number for screenshot_supported. BUG=<I> TEST=None. Review URL: <URL>
py
diff --git a/syncthing/__init__.py b/syncthing/__init__.py index <HASH>..<HASH> 100644 --- a/syncthing/__init__.py +++ b/syncthing/__init__.py @@ -221,7 +221,7 @@ class Interface(object): resp = requests.request( verb, url, - data=data, + data...
Fix POST requests and tentative json.loads (bug #7) - `requests.request` requires `data` to be in a `bytes` format (json.dumps). - `resp.content` is a `str` in Python3: either cast it to `bytes` (what I did) or dereference the string: c.startwith('{') -> c[0] == u'{'
py
diff --git a/html5lib/filters/lint.py b/html5lib/filters/lint.py index <HASH>..<HASH> 100644 --- a/html5lib/filters/lint.py +++ b/html5lib/filters/lint.py @@ -49,7 +49,8 @@ class Filter(_base.Filter): assert start == (namespace, name) elif type == "Comment": - pass + ...
Lint that comments are text_type
py
diff --git a/zk_shell/xclient.py b/zk_shell/xclient.py index <HASH>..<HASH> 100644 --- a/zk_shell/xclient.py +++ b/zk_shell/xclient.py @@ -248,6 +248,8 @@ class XClient(): value = "" if value is not None: + if isinstance(value, bytes): + value = value.de...
Fix grep for bytes object (implicit conversion to str) (#<I>)
py
diff --git a/ieml/filtering/filters.py b/ieml/filtering/filters.py index <HASH>..<HASH> 100644 --- a/ieml/filtering/filters.py +++ b/ieml/filtering/filters.py @@ -1,3 +1,7 @@ +from ieml.calculation.distance import (paradigmatic_equivalence_class_index, set_proximity_index, + object...
Adds search filter for P(EO^1)
py
diff --git a/plexapi/library.py b/plexapi/library.py index <HASH>..<HASH> 100644 --- a/plexapi/library.py +++ b/plexapi/library.py @@ -1105,7 +1105,6 @@ class LibrarySection(PlexObject): if not len(subresults): if offset > self.totalSize: log.info("container_start is h...
Change search break condition Fixes #<I> When using a PlexAPI operator, fetchItems may return zero results in the first container causing the loop to break early. This changes the break condition to check if the container exceeds the total number of items therefore there will be no more items to fetch.
py
diff --git a/OpenPNM/Base/__ModelsDict__.py b/OpenPNM/Base/__ModelsDict__.py index <HASH>..<HASH> 100644 --- a/OpenPNM/Base/__ModelsDict__.py +++ b/OpenPNM/Base/__ModelsDict__.py @@ -63,12 +63,15 @@ class GenericModel(dict): def _find_master(self): sim = Controller() + master = [] ...
Added a check to find when a models dictionary has been assigned to multiple objects
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 @@ -49,6 +49,9 @@ q = Queue(connection=redis) WAITING_ROOM_CHANNEL =...
Pull in some changes from the socket-io branch, some without much scrutiny
py
diff --git a/tests/test_awss3_storage.py b/tests/test_awss3_storage.py index <HASH>..<HASH> 100644 --- a/tests/test_awss3_storage.py +++ b/tests/test_awss3_storage.py @@ -67,6 +67,14 @@ class TestS3FileStorage(object): assert '.s3.amazonaws.com' in f.public_url, f.public_url assert f.public_url.endswi...
Add test case reproducing issue with content disposition
py
diff --git a/moderngl/__init__.py b/moderngl/__init__.py index <HASH>..<HASH> 100644 --- a/moderngl/__init__.py +++ b/moderngl/__init__.py @@ -2870,7 +2870,7 @@ class Context: return self.vertex_array(program, content, index_buffer) def program(self, *, vertex_shader, fragment_shader=None, geometry_shad...
Fix order of tesselation control and eval Was swapped before which lead to the tesselation control shader being treated as tesselation evaluation shader and vice versa.
py
diff --git a/airflow/dag_processing/manager.py b/airflow/dag_processing/manager.py index <HASH>..<HASH> 100644 --- a/airflow/dag_processing/manager.py +++ b/airflow/dag_processing/manager.py @@ -626,7 +626,7 @@ class DagFileProcessorManager(LoggingMixin): # Likewise DagCode.remove_deleted_code ...
py files doesn't have to be checked is_zipfiles in refresh_dag (#<I>)
py
diff --git a/zhaquirks/tuya/__init__.py b/zhaquirks/tuya/__init__.py index <HASH>..<HASH> 100644 --- a/zhaquirks/tuya/__init__.py +++ b/zhaquirks/tuya/__init__.py @@ -87,6 +87,7 @@ TUYA_COVER_COMMAND = { "_TZE200_fzo2pocs": {0x0000: 0x0000, 0x0001: 0x0002, 0x0002: 0x0001}, "_TZE200_xuzcvlku": {0x0000: 0x0000,...
Tuya cover command for _TZE<I>_3i3exuay (#<I>)
py
diff --git a/pkg/buildbot_pkg.py b/pkg/buildbot_pkg.py index <HASH>..<HASH> 100644 --- a/pkg/buildbot_pkg.py +++ b/pkg/buildbot_pkg.py @@ -199,7 +199,7 @@ class BuildJsCommand(distutils.cmd.Command): if self.already_run: return package = self.distribution.packages[0] - if os.path.e...
pkg: Remove support for gulp build system
py
diff --git a/flask_unchained/bundles/sqlalchemy/commands.py b/flask_unchained/bundles/sqlalchemy/commands.py index <HASH>..<HASH> 100644 --- a/flask_unchained/bundles/sqlalchemy/commands.py +++ b/flask_unchained/bundles/sqlalchemy/commands.py @@ -56,11 +56,14 @@ def reset_command(force): @maybe_fixtures_command(na...
support specifying which bundles to load db fixtures from
py
diff --git a/scripts/run.py b/scripts/run.py index <HASH>..<HASH> 100755 --- a/scripts/run.py +++ b/scripts/run.py @@ -249,7 +249,7 @@ class H2OCloudNode: if not os.path.exists(jresults_dir): os.mkdir(jresults_dir) jresults_dir += "{cloud}_{node}".format(cloud = self.cloud_num...
HeartBeatThead is now excluded from coverage for testing purposes. To exclude a class, you need to list it through its packages (e.g water.HeartBeatThread)
py
diff --git a/dark/utils.py b/dark/utils.py index <HASH>..<HASH> 100644 --- a/dark/utils.py +++ b/dark/utils.py @@ -993,8 +993,8 @@ def alignmentPanel(summary, recordFilenameOrHits, fastaFilename, db='nt', meanE = '1e-%d' % numberMeanE medianE = '1e-%d' % numberMedianE ax[row][col].set...
Make alignment panel titles show the number of HSPs plotted as well as the total number of reads that match a sequence.
py
diff --git a/tensor2tensor/utils/decoding.py b/tensor2tensor/utils/decoding.py index <HASH>..<HASH> 100644 --- a/tensor2tensor/utils/decoding.py +++ b/tensor2tensor/utils/decoding.py @@ -83,7 +83,7 @@ def decode_hparams(overrides=""): # Used in computation of VGG feature based video metrics. # Set this to...
Minor, change default vgg_ckpt from None to "" to avoid tf.contrib.training.HParams parse errors PiperOrigin-RevId: <I>
py
diff --git a/sos/sos_script.py b/sos/sos_script.py index <HASH>..<HASH> 100755 --- a/sos/sos_script.py +++ b/sos/sos_script.py @@ -615,7 +615,7 @@ class SoS_Script: # The global definition of sos_file should be accessible as # sos_file.name self.sections.extend(script.sections) - self....
Clear an internal use of non-interpolation #<I>
py
diff --git a/troposphere/ssm.py b/troposphere/ssm.py index <HASH>..<HASH> 100644 --- a/troposphere/ssm.py +++ b/troposphere/ssm.py @@ -9,7 +9,7 @@ from . import AWSObject, AWSProperty class Targets(AWSProperty): props = { 'Key': (basestring, True), - 'Value': ([basestring], True), + 'Values...
SSM Targets - fix spelling mistake (Value => Values) (#<I>)
py
diff --git a/twarc/client2.py b/twarc/client2.py index <HASH>..<HASH> 100644 --- a/twarc/client2.py +++ b/twarc/client2.py @@ -443,6 +443,12 @@ class Twarc2: page = self.get(*args, **kwargs).json() url = args[0] + + if self.metadata: + page["__twarc"] = { + "...
fix metadata not being included on first page. for paginated results, `__twarc` was not being included on the first page of the results.
py
diff --git a/gsh/remote_dispatcher.py b/gsh/remote_dispatcher.py index <HASH>..<HASH> 100644 --- a/gsh/remote_dispatcher.py +++ b/gsh/remote_dispatcher.py @@ -117,7 +117,8 @@ class remote_dispatcher(buffered_dispatcher): self.term1 = '[gsh termination ' + str(random.random())[2:] self.term2 = ...
Use /bin/echo instead of builtin echo as the latter does not handle EINTR. Don't know why we are interrupted though.
py
diff --git a/salt/config.py b/salt/config.py index <HASH>..<HASH> 100644 --- a/salt/config.py +++ b/salt/config.py @@ -41,18 +41,13 @@ def _validate_file_roots(opts): If the file_roots option has a key that is None then we will error out, just replace it with an empty list ''' - if opts['fileserver_ba...
revert change to file_roots since the config has moved
py
diff --git a/etk/core.py b/etk/core.py index <HASH>..<HASH> 100644 --- a/etk/core.py +++ b/etk/core.py @@ -531,7 +531,8 @@ class Core(object): else: new_end = end + 10 relevant_text = '<etk \'attribute\' = \'{}\'>{}</etk>'.format(field_name,...
handle unicode while creating span for context
py
diff --git a/api/python/quilt3/packages.py b/api/python/quilt3/packages.py index <HASH>..<HASH> 100644 --- a/api/python/quilt3/packages.py +++ b/api/python/quilt3/packages.py @@ -1179,7 +1179,7 @@ class Package(object): Performs a user-specified operation on each entry in the package. Args: - ...
Fix filter docs: lambda function takes two args (#<I>)
py
diff --git a/tests/unit/network/LabelTest.py b/tests/unit/network/LabelTest.py index <HASH>..<HASH> 100644 --- a/tests/unit/network/LabelTest.py +++ b/tests/unit/network/LabelTest.py @@ -12,21 +12,18 @@ class LabelTest: def test_bravais_fcc(self): net = op.network.Bravais(shape=[4, 4, 4], mode='fcc') ...
missed some tests that checked for 'internal'
py
diff --git a/bcbio/variation/bamprep.py b/bcbio/variation/bamprep.py index <HASH>..<HASH> 100644 --- a/bcbio/variation/bamprep.py +++ b/bcbio/variation/bamprep.py @@ -53,7 +53,6 @@ def _piped_input_cl(data, region, tmp_dir, out_base_file, prep_params): """ cl = _gatk_extract_reads_cl(data, region, prep_params...
Avoid race condition re-indexing during bamprep This avoids potential BAM re-indexing in parallel during bam preparation steps if a shared filesystem has out of date timestamps.
py
diff --git a/odl/util/graphics.py b/odl/util/graphics.py index <HASH>..<HASH> 100644 --- a/odl/util/graphics.py +++ b/odl/util/graphics.py @@ -301,6 +301,9 @@ def show_discrete_data(values, grid, method='', title=None, fig.canvas.manager.set_window_title(title) if updatefig or plt.isinteractive(): + ...
ENH: document hacky check in graphics
py
diff --git a/keyrings/alt/Windows.py b/keyrings/alt/Windows.py index <HASH>..<HASH> 100644 --- a/keyrings/alt/Windows.py +++ b/keyrings/alt/Windows.py @@ -9,13 +9,9 @@ from keyring.errors import PasswordDeleteError, ExceptionRaisedContext from . import file_base try: - import winreg + from six.moves import wi...
Rely on six for compatibility import on winreg
py
diff --git a/tests/test_crossbuild.py b/tests/test_crossbuild.py index <HASH>..<HASH> 100644 --- a/tests/test_crossbuild.py +++ b/tests/test_crossbuild.py @@ -1,9 +1,11 @@ +import subprocess from mock import patch from unittest import TestCase from crossbuild import ( go_build, main, + run_command, )...
Added test for run_command.
py
diff --git a/src/main/python/rlbot/version.py b/src/main/python/rlbot/version.py index <HASH>..<HASH> 100644 --- a/src/main/python/rlbot/version.py +++ b/src/main/python/rlbot/version.py @@ -3,9 +3,18 @@ # 2) we can import it in setup.py for the same reason # 3) we can import it into your module module # https://sta...
Creating release notes for version <I>. (#<I>)
py
diff --git a/zinnia/plugins/__init__.py b/zinnia/plugins/__init__.py index <HASH>..<HASH> 100644 --- a/zinnia/plugins/__init__.py +++ b/zinnia/plugins/__init__.py @@ -1 +1,8 @@ """Plugins for Zinnia""" +import warnings + +warnings.warn( + "'zinnia.plugins' module is deprecated ; use 'cmsplugin_zinnia' instead.", + ...
adding warning about depreacation of zinnia.plugins
py
diff --git a/etrago/cluster/networkclustering.py b/etrago/cluster/networkclustering.py index <HASH>..<HASH> 100644 --- a/etrago/cluster/networkclustering.py +++ b/etrago/cluster/networkclustering.py @@ -628,7 +628,8 @@ def kmean_clustering(etrago): 'p_nom_opt': np.sum, ...
Add line length factor to kmeans clustering
py
diff --git a/singlemodeladmin/__init__.py b/singlemodeladmin/__init__.py index <HASH>..<HASH> 100755 --- a/singlemodeladmin/__init__.py +++ b/singlemodeladmin/__init__.py @@ -1,7 +1,10 @@ from django.contrib import admin, messages from django.core.exceptions import MultipleObjectsReturned -from django.core.urlresolve...
support for Django <I> added
py
diff --git a/pypeerassets/main.py b/pypeerassets/main.py index <HASH>..<HASH> 100644 --- a/pypeerassets/main.py +++ b/pypeerassets/main.py @@ -6,6 +6,7 @@ from binascii import hexlify, unhexlify from pypeerassets import paproto, Kutil from pypeerassets.pautils import * from pypeerassets import constants, transaction...
deck_spawn, load tx fee from networks.
py
diff --git a/internetarchive/utils.py b/internetarchive/utils.py index <HASH>..<HASH> 100644 --- a/internetarchive/utils.py +++ b/internetarchive/utils.py @@ -315,7 +315,7 @@ def remove_none(obj): l = type(obj)(remove_none(x) for x in obj if x) try: return [dict(t) for t in {tuple(sorted(...
more support for arbitrary targets to metadata write.
py
diff --git a/tests/test_parsing.py b/tests/test_parsing.py index <HASH>..<HASH> 100644 --- a/tests/test_parsing.py +++ b/tests/test_parsing.py @@ -198,3 +198,14 @@ end""" expr = -x + maybe(y) + -x # type: Parser[Text, Optional[Text]] self.assertEqual(expr.parse("xyx"), "y") self.assertEqual(...
Added a test for #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ setup(name='py-sphviewer', description='Py-SPHViewer is a framework for rendering particles using the smoothed particle hydrodynamics scheme.', author='Alejandro Benitez Llambay', author_ema...
main web page in setup.py has changed
py
diff --git a/i3pystatus/pulseaudio/__init__.py b/i3pystatus/pulseaudio/__init__.py index <HASH>..<HASH> 100644 --- a/i3pystatus/pulseaudio/__init__.py +++ b/i3pystatus/pulseaudio/__init__.py @@ -7,11 +7,12 @@ from .pulse import * from i3pystatus import Module import subprocess + class PulseAudio(Module, ColorRange...
PEP 8 (I'm bored): pulseaudio
py
diff --git a/canmatrix/importarxml.py b/canmatrix/importarxml.py index <HASH>..<HASH> 100644 --- a/canmatrix/importarxml.py +++ b/canmatrix/importarxml.py @@ -387,9 +387,16 @@ def importArxml(filename): nmLowerId = arGetChild(cc, "NM-LOWER-CAN-ID", arDict, ns) physicalChannel = arGetChild(physicalCh...
some more debug-info for issue #<I>
py
diff --git a/resolwe/flow/management/commands/cleantestdir.py b/resolwe/flow/management/commands/cleantestdir.py index <HASH>..<HASH> 100644 --- a/resolwe/flow/management/commands/cleantestdir.py +++ b/resolwe/flow/management/commands/cleantestdir.py @@ -39,7 +39,8 @@ class Command(BaseCommand): directories +=...
Clean only volumes of type host_path
py
diff --git a/c1222/data.py b/c1222/data.py index <HASH>..<HASH> 100644 --- a/c1222/data.py +++ b/c1222/data.py @@ -251,6 +251,7 @@ class C1222Packet(C1222Request): raise Exception('invalid start byte') (called_ap, data) = ber_decoder.decode(data) + (called_ap_invocation_id, data) = ber_decoder.decode(data)...
Fix a small error in C<I>Packet.parse
py
diff --git a/tests/test_auto_fit.py b/tests/test_auto_fit.py index <HASH>..<HASH> 100644 --- a/tests/test_auto_fit.py +++ b/tests/test_auto_fit.py @@ -282,14 +282,14 @@ class TestAutoFit(unittest.TestCase): xx, yy = np.meshgrid(xcentres, ycentres, sparse=False, indexing='ij') x0 = Parameter(value=1....
Updated tests to reflect inspectless style
py
diff --git a/tests/pytest-pypi/pytest_pypi/app.py b/tests/pytest-pypi/pytest_pypi/app.py index <HASH>..<HASH> 100644 --- a/tests/pytest-pypi/pytest_pypi/app.py +++ b/tests/pytest-pypi/pytest_pypi/app.py @@ -90,6 +90,8 @@ class Package(object): pkg = distlib.wheel.Wheel(path_to_binary) md_dict ...
Only include first two requires_python markers
py
diff --git a/pymmd/mmd.py b/pymmd/mmd.py index <HASH>..<HASH> 100644 --- a/pymmd/mmd.py +++ b/pymmd/mmd.py @@ -2,12 +2,17 @@ """Interface to the MultiMarkdown parser.""" import os.path - +import platform import ctypes import ctypes.util +from .download import SHLIB_EXT try: - _LIB_LOCATION = ctypes.util.fin...
Attempt to use locally built version of libMultiMarkdown before attempting system install
py
diff --git a/hwt/synthesizer/hObjList.py b/hwt/synthesizer/hObjList.py index <HASH>..<HASH> 100644 --- a/hwt/synthesizer/hObjList.py +++ b/hwt/synthesizer/hObjList.py @@ -1,4 +1,4 @@ -from hwt.synthesizer.interfaceLevel.mainBases import InterfaceBase +from hwt.synthesizer.interfaceLevel.mainBases import InterfaceBase, ...
HObjList: support for non hwt related objects
py
diff --git a/examples/data_dump.py b/examples/data_dump.py index <HASH>..<HASH> 100755 --- a/examples/data_dump.py +++ b/examples/data_dump.py @@ -22,7 +22,7 @@ args = parser.parse_args() def dump(method: Callable[[], Any]) -> None: - print("==== %s" % method) + print("==== %s" % method.__qualname__) tr...
Output method qualnames in data dump example Makes diffs between different outputs easier to read.
py
diff --git a/gkeepapi/node.py b/gkeepapi/node.py index <HASH>..<HASH> 100644 --- a/gkeepapi/node.py +++ b/gkeepapi/node.py @@ -1738,7 +1738,8 @@ class Blob(Node): def save(self, clean=True): ret = super(Blob, self).save(clean) - ret['blob'] = self.blob.save(clean) + if self.blob is not Non...
Issues #<I>: Fix for missing blob entries
py
diff --git a/fireplace/cards/classic/priest.py b/fireplace/cards/classic/priest.py index <HASH>..<HASH> 100644 --- a/fireplace/cards/classic/priest.py +++ b/fireplace/cards/classic/priest.py @@ -130,7 +130,7 @@ class EX1_334e: # Thoughtsteal class EX1_339: - play = Give(CONTROLLER, Copy(RANDOM(OPPONENT_DECK + MINIO...
Fix Thoughtsteal to pull more than just minions
py
diff --git a/imagen/ndmapping.py b/imagen/ndmapping.py index <HASH>..<HASH> 100644 --- a/imagen/ndmapping.py +++ b/imagen/ndmapping.py @@ -250,6 +250,10 @@ class NdIndexableMapping(param.Parameterized): return self._data.values() + def items(self): + return zip(self.keys(), self.values()) + + ...
Added items method to the NdIndexableMapping class
py
diff --git a/cyphi/subsystem.py b/cyphi/subsystem.py index <HASH>..<HASH> 100644 --- a/cyphi/subsystem.py +++ b/cyphi/subsystem.py @@ -574,6 +574,7 @@ class Subsystem: # ========================================================================= # TODO test phi max helpers + @lru_cache(maxsize=None) d...
Add lru_cache to Subsystem._test_connections
py
diff --git a/pyfolio/utils.py b/pyfolio/utils.py index <HASH>..<HASH> 100644 --- a/pyfolio/utils.py +++ b/pyfolio/utils.py @@ -109,6 +109,7 @@ def default_returns_func(symbol, start=None, end=None): px = pd.DataFrame.rename(px, columns={'Adj Close': 'adj_close'}) px.columns.name = symbol rets...
[BUG] Make Benchmark tz-aware This is a one line change that makes get_data_from_yahoo return a timezone aware series (UTC). Once the benchmark file gets overwritten the h5 file will have the timezone so this should fix any benchmark timezone issues for people using pyfolio locally.
py
diff --git a/openquake/calculators/event_based.py b/openquake/calculators/event_based.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/event_based.py +++ b/openquake/calculators/event_based.py @@ -197,7 +197,6 @@ class EventBasedCalculator(base.HazardCalculator): oqparam=oq, min_iml=self.get_min_...
Removed unneeded param [skip CI]
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,9 @@ def find_version(*file_paths): raise RuntimeError("Unable to find version string.") -readme = read("README.md") +readme = read("README.md").replace( + 'src="assets/', 'src="https://raw.githubusercont...
Replace relative paths with raw.githubusercontent (#<I>)
py
diff --git a/airflow/configuration.py b/airflow/configuration.py index <HASH>..<HASH> 100644 --- a/airflow/configuration.py +++ b/airflow/configuration.py @@ -242,7 +242,7 @@ class AirflowConfigParser(ConfigParser): if StrictVersion(sqlite3.sqlite_version) < StrictVersion(min_sqlite_version): ...
Fix docs link for using SQLite as Metadata DB (#<I>) Identified the issue in: <URL>
py