diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/pyrsistent/_pmap.py b/pyrsistent/_pmap.py index <HASH>..<HASH> 100644 --- a/pyrsistent/_pmap.py +++ b/pyrsistent/_pmap.py @@ -22,7 +22,8 @@ class PMap(object): semantics are the same (more or less) the same function names have been used but for some cases it is not possible, for example assignmen...
Fix #<I> Clarify that dot-notation can be used for element access on PMaps
py
diff --git a/examples/other/export_x3d.py b/examples/other/export_x3d.py index <HASH>..<HASH> 100644 --- a/examples/other/export_x3d.py +++ b/examples/other/export_x3d.py @@ -1,5 +1,5 @@ -"""Embed a 3D scene -in a webpage with +"""Embed a 3D scene +in a webpage with x3dom and vtkplotter""" from vtkplotter import * ...
Removed trailing spaces in examples/other/export_x3d.py
py
diff --git a/galpy/actionAngle_src/actionAngleStaeckel.py b/galpy/actionAngle_src/actionAngleStaeckel.py index <HASH>..<HASH> 100644 --- a/galpy/actionAngle_src/actionAngleStaeckel.py +++ b/galpy/actionAngle_src/actionAngleStaeckel.py @@ -320,7 +320,7 @@ class actionAngleStaeckelSingle(actionAngle): HISTORY: ...
turn off orbit units check in actionAngleStaeckelSingle
py
diff --git a/audioTrainTest.py b/audioTrainTest.py index <HASH>..<HASH> 100644 --- a/audioTrainTest.py +++ b/audioTrainTest.py @@ -583,7 +583,7 @@ def loadRandomForestModel(RFmodelName, isRegression=False): else: return(RF, MEAN, STD, classNames, mtWin, mtStep, stWin, stStep, computeBEAT) -def loadGradi...
minor bug in audio segmentation - load gradient boosting
py
diff --git a/cheroot/server.py b/cheroot/server.py index <HASH>..<HASH> 100644 --- a/cheroot/server.py +++ b/cheroot/server.py @@ -169,9 +169,8 @@ class HeaderReader(object): k, v = line.split(COLON, 1) except ValueError: raise ValueError('Illegal header line.'...
Extract method for _transform_key
py
diff --git a/pgmpy/models/BayesianModel.py b/pgmpy/models/BayesianModel.py index <HASH>..<HASH> 100644 --- a/pgmpy/models/BayesianModel.py +++ b/pgmpy/models/BayesianModel.py @@ -199,7 +199,7 @@ class BayesianModel(DirectedGraph): <TabularCPD representing P(B:2 | A:2) at 0x7f28248e23c8>, <TabularCPD...
fixes docstring of remove_nodes_from method
py
diff --git a/src/toil/batchSystems/mesos/batchSystem.py b/src/toil/batchSystems/mesos/batchSystem.py index <HASH>..<HASH> 100644 --- a/src/toil/batchSystems/mesos/batchSystem.py +++ b/src/toil/batchSystems/mesos/batchSystem.py @@ -422,7 +422,7 @@ class MesosBatchSystem(BatchSystemSupport, ...
Improve logging of Mesos resource requirements (related to #<I>)
py
diff --git a/sammy/__init__.py b/sammy/__init__.py index <HASH>..<HASH> 100644 --- a/sammy/__init__.py +++ b/sammy/__init__.py @@ -144,7 +144,7 @@ class DynamoResource(SAMSchema): if len(obj.keys()) > 0: r_attrs['Properties'] = {k: v for k, v in obj.items() if v} return { - 'Ta...
Adding ability to use full dynamodb tables
py
diff --git a/openupgradelib/openupgrade_merge_records.py b/openupgradelib/openupgrade_merge_records.py index <HASH>..<HASH> 100644 --- a/openupgradelib/openupgrade_merge_records.py +++ b/openupgradelib/openupgrade_merge_records.py @@ -711,7 +711,7 @@ def merge_records(env, model_name, record_ids, target_record_id, ...
[FIX] merge_records: oversight of _adjust_merged_values_sql improvement
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ setup( author_email='support@arcus.io', keywords=['puppet', 'puppetdb'], license='Apache 2.0', - packages=['puppetdb'], + packages=['puppetdb','puppetdb/v2'], install_requires = [ 'requ...
Added 'puppetdb/v2' as module in setup.py
py
diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py index <HASH>..<HASH> 100755 --- a/tools/run_tests/run_tests.py +++ b/tools/run_tests/run_tests.py @@ -649,14 +649,16 @@ class ObjCLanguage(object): _check_compiler(self.args.compiler, ['default']) def test_specs(self): - return [self....
nit: format ObjC test targets better So they can be commented out.
py
diff --git a/openfisca_core/columns.py b/openfisca_core/columns.py index <HASH>..<HASH> 100644 --- a/openfisca_core/columns.py +++ b/openfisca_core/columns.py @@ -120,6 +120,10 @@ class Column(object): self_json['val_type'] = self.val_type return self_json + def transform_value_to_json(self, ...
New functions to transform a non-Numpy Python value to JSON.
py
diff --git a/PlugIns/EELSAcq_Phil/PlugIn.py b/PlugIns/EELSAcq_Phil/PlugIn.py index <HASH>..<HASH> 100644 --- a/PlugIns/EELSAcq_Phil/PlugIn.py +++ b/PlugIns/EELSAcq_Phil/PlugIn.py @@ -73,7 +73,9 @@ class AcquireController(object): dark = False for stack in [image_stack, dark_stack]: ...
Fix first couple of frames of PhilEELSAcquire frames being blank - beam was still present in dark and being subtracted from data peak. Add wait after blank command so that beam is definitely gone. Was svn r<I>
py
diff --git a/examples/handover-test-server.py b/examples/handover-test-server.py index <HASH>..<HASH> 100755 --- a/examples/handover-test-server.py +++ b/examples/handover-test-server.py @@ -212,7 +212,9 @@ class HandoverTestServer(TestBase): if len(handover_select.carriers) < self.options.select: ...
send Bluetooth SSP Hasch and Rand only if also received in Hr
py
diff --git a/merkletools/__init__.py b/merkletools/__init__.py index <HASH>..<HASH> 100644 --- a/merkletools/__init__.py +++ b/merkletools/__init__.py @@ -47,22 +47,13 @@ class MerkleTools(object): def add_leaf(self, values, do_hash=False): self.is_ready = False # check if single leaf - if...
Refactor add_leaf Force values as an iterable and unify the processing logic
py
diff --git a/tests/test_msg_recoverydevice.py b/tests/test_msg_recoverydevice.py index <HASH>..<HASH> 100644 --- a/tests/test_msg_recoverydevice.py +++ b/tests/test_msg_recoverydevice.py @@ -47,6 +47,7 @@ class TestDeviceRecovery(common.KeepKeyTest): # Mnemonic is the same self.client.init_device() ...
fixed test to reflect that pin is cached when pin is written to storage
py
diff --git a/sawtooth_xo/xo_client.py b/sawtooth_xo/xo_client.py index <HASH>..<HASH> 100644 --- a/sawtooth_xo/xo_client.py +++ b/sawtooth_xo/xo_client.py @@ -89,7 +89,7 @@ class XoClient(XoCommunication): logger.debug('Posting transaction: %s', txnid) result = self.postmsg(msg.MessageType, ms...
Resolve unused-variable pylint warning
py
diff --git a/knights/parse.py b/knights/parse.py index <HASH>..<HASH> 100644 --- a/knights/parse.py +++ b/knights/parse.py @@ -41,7 +41,7 @@ def tokenise(template): class Node(object): - def __init__(self, token, parser): + def __init__(self, parser, token): self.token = token self.nodelist...
Reverse the order of args to Node so we can cheat with BlockNode
py
diff --git a/nat/utils.py b/nat/utils.py index <HASH>..<HASH> 100644 --- a/nat/utils.py +++ b/nat/utils.py @@ -21,6 +21,8 @@ import os encoders = {} encoders["forwardSlash"] = ("/", "%2F") encoders["colon"] = (":", "%3A") +encoders["greater"] = (">", "%3E") +encoders["smaller"] = ("...
Adding encoding for special caracters of DOI.
py
diff --git a/transit/read_handlers.py b/transit/read_handlers.py index <HASH>..<HASH> 100644 --- a/transit/read_handlers.py +++ b/transit/read_handlers.py @@ -1,3 +1,17 @@ +## Copyright 2014 Cognitect. All Rights Reserved. +## +## Licensed under the Apache License, Version 2.0 (the "License"); +## you may not use this ...
There should be a copyright notice on the read handlers
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 @@ -36,13 +36,13 @@ class LabelTest: assert 'pore.bottom' not in net.labels() assert net.num_pores('surface') == 16 ...
[ci skip] each 2D net different label (left>>>back)
py
diff --git a/salt/returners/syslog_return.py b/salt/returners/syslog_return.py index <HASH>..<HASH> 100644 --- a/salt/returners/syslog_return.py +++ b/salt/returners/syslog_return.py @@ -19,13 +19,4 @@ def returner(ret): ''' Return data to the local syslog ''' - try: - syslog.syslog(syslog.LOG_...
+ removed redundant exception handling - saltstack takes care of all that
py
diff --git a/build-support/bin/generate_user_list.py b/build-support/bin/generate_user_list.py index <HASH>..<HASH> 100644 --- a/build-support/bin/generate_user_list.py +++ b/build-support/bin/generate_user_list.py @@ -67,6 +67,7 @@ _orgs = ( "https://files.readme.io/dd2a703-housinganywhere-small.png", ),...
Add Myst AI to users list. (#<I>) Also, temporarily remove Orca until their internal approvals come through. [ci skip-rust] [ci skip-build-wheels]
py
diff --git a/fs/test.py b/fs/test.py index <HASH>..<HASH> 100644 --- a/fs/test.py +++ b/fs/test.py @@ -16,6 +16,7 @@ import math import os import time import unittest +import warnings import fs.copy import fs.move @@ -884,8 +885,9 @@ class FSTestCases(object): self.assertFalse(f.closed) sel...
Fix `ResourceWarning` caused by unclosed files in `FSTestCase.test_files`
py
diff --git a/ReText/window.py b/ReText/window.py index <HASH>..<HASH> 100644 --- a/ReText/window.py +++ b/ReText/window.py @@ -27,7 +27,7 @@ class ReTextWindow(QMainWindow): else: self.font = None self.tabWidth = readFromSettings('tabWidth', int, default=4) - self.tabInsertsSpaces = readFromSettings('tabInse...
Set tabInsertsSpaces to True by default
py
diff --git a/rotating_proxies/middlewares.py b/rotating_proxies/middlewares.py index <HASH>..<HASH> 100644 --- a/rotating_proxies/middlewares.py +++ b/rotating_proxies/middlewares.py @@ -73,7 +73,6 @@ class RotatingProxyMiddleware(object): self.reanimate_interval = 5 self.stop_if_no_proxies = stop_if_...
remove unnecessary crawler reference, adjust stats logging to log unchecked proxies properly, remove unnecessary int conversion for a stat
py
diff --git a/pyblish_qml/control.py b/pyblish_qml/control.py index <HASH>..<HASH> 100644 --- a/pyblish_qml/control.py +++ b/pyblish_qml/control.py @@ -340,7 +340,9 @@ class Controller(QtCore.QObject): for plug, instance in iterator(plugins, context): - if instance is not None and instance.id in ...
Skip if instance.data["publish"] has been set to False in run-time
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -41,6 +41,7 @@ setup( license='GPLv2+', zip_safe=False, keywords='djangocms-page-sitemap', + test_suite='cms_helper.run', classifiers=[ 'Development Status :: 3 - Alpha', 'Framework :: ...
Add missing option to setup.py
py
diff --git a/etrago/extras/utilities.py b/etrago/extras/utilities.py index <HASH>..<HASH> 100644 --- a/etrago/extras/utilities.py +++ b/etrago/extras/utilities.py @@ -1,4 +1,5 @@ import pandas as pd +import numpy as np import os import time
quick fix of calc_grid_losses
py
diff --git a/django_slack_oauth/models.py b/django_slack_oauth/models.py index <HASH>..<HASH> 100644 --- a/django_slack_oauth/models.py +++ b/django_slack_oauth/models.py @@ -10,7 +10,7 @@ class SlackUser(models.Model): return self.access_token def __unicode__(self): - return self.slacker + ...
Fixed a problem where the __unicode__ method on the SlackUser model was returning the actual User object, not a unicode string representing that user.
py
diff --git a/stimela/utils/__init__.py b/stimela/utils/__init__.py index <HASH>..<HASH> 100644 --- a/stimela/utils/__init__.py +++ b/stimela/utils/__init__.py @@ -77,6 +77,7 @@ def xrun(command, options, log=None, _log_container_as_started=False, logfile=No time.sleep(5) # this is probably not ideal as...
print when process is being sent SIGKILL to try and debug race condition
py
diff --git a/ariadne/schema_visitor.py b/ariadne/schema_visitor.py index <HASH>..<HASH> 100644 --- a/ariadne/schema_visitor.py +++ b/ariadne/schema_visitor.py @@ -543,7 +543,7 @@ def heal_schema(schema: GraphQLSchema) -> GraphQLSchema: pass elif isinstance(type_, GraphQLUnionType): - ...
fixed healing GraphQLUnionType
py
diff --git a/txkoji/__init__.py b/txkoji/__init__.py index <HASH>..<HASH> 100644 --- a/txkoji/__init__.py +++ b/txkoji/__init__.py @@ -114,16 +114,14 @@ class Connection(object): raises: ``IOError`` when the Twisted XML-RPC connection times out. raises: ``KojiException`` if we got a response from the ...
raise KojiException for all known fault error codes
py
diff --git a/codekit/cli/github_fork_repos.py b/codekit/cli/github_fork_repos.py index <HASH>..<HASH> 100755 --- a/codekit/cli/github_fork_repos.py +++ b/codekit/cli/github_fork_repos.py @@ -5,6 +5,7 @@ from codekit.codetools import debug from .. import codetools import argparse import codekit.pygithub as pygithub +...
add --limit flag to restrict the number of repos forked per invocation. Default is unlimited. This is useful for testing.
py
diff --git a/gwpy/data/series.py b/gwpy/data/series.py index <HASH>..<HASH> 100644 --- a/gwpy/data/series.py +++ b/gwpy/data/series.py @@ -228,6 +228,39 @@ class Series(Array): """ return numpy.column_stack((self.xindex.value, self.value)) + def diff(self, n=1, axis=-1): + """Calculate the...
Series.diff: override to set metadata - fixes #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ config = { 'author': 'Bryan Briney', 'url': 'https://www.github.com/briney/abutils', 'author_email': 'briney@scripps.edu', - 'version': '0.0.3', + 'version': '0.0.4', 'install_requires'...
bump PyPI version to <I>
py
diff --git a/openquake/calculators/base.py b/openquake/calculators/base.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/base.py +++ b/openquake/calculators/base.py @@ -805,6 +805,7 @@ class RiskCalculator(HazardCalculator): # the datastore must be closed to avoid the HDF5 fork bug ...
Added riskinput.weight [skip CI] Former-commit-id: <I>e<I>f0c0ec9af<I>c<I>c<I>c<I>a8ae<I>
py
diff --git a/subscriptions/views.py b/subscriptions/views.py index <HASH>..<HASH> 100644 --- a/subscriptions/views.py +++ b/subscriptions/views.py @@ -21,10 +21,6 @@ class SubscriptionFilter(filters.FilterSet): class Meta: model = Subscription - filters = ( - 'identity', 'messageset_id...
Remove incorrect filters field, we want to filter on all fields
py
diff --git a/sos/plugins/sssd.py b/sos/plugins/sssd.py index <HASH>..<HASH> 100644 --- a/sos/plugins/sssd.py +++ b/sos/plugins/sssd.py @@ -29,6 +29,7 @@ class Sssd(Plugin): self.add_copy_spec([ "/etc/sssd/sssd.conf", "/var/log/sssd/*", + "/var/lib/sss/pubconf/krb5.include.d...
[sssd] Retrieve SSSD created krb5 snippets Obtain SSSD automatically-generated krb5 snippet configuration files for localauth plugin, domain_realm mapping, and libdefaults additions. These files are pulled in by libkrb5 with an 'includedir' line in /etc/krb5.conf.
py
diff --git a/GCR.py b/GCR.py index <HASH>..<HASH> 100644 --- a/GCR.py +++ b/GCR.py @@ -75,7 +75,7 @@ class BaseGenericCatalog(object): def get_quantities(self, quantities, filters=None, native_filters=None, return_iterator=False): """ - Fetch quantities from this galaxy catalog. + Fetch qu...
Remove restriction of 'galaxy catalog' in documentation.
py
diff --git a/exa/typed.py b/exa/typed.py index <HASH>..<HASH> 100644 --- a/exa/typed.py +++ b/exa/typed.py @@ -11,6 +11,7 @@ mechanism. A usage example is given below: .. code-block:: Python class Meta(TypedMeta): + _getter_prefix = "compute" attr1 = (int, float) attr2 = DataFrame @@ ...
A couple more updates to typed docs
py
diff --git a/karaage/projects/tests.py b/karaage/projects/tests.py index <HASH>..<HASH> 100644 --- a/karaage/projects/tests.py +++ b/karaage/projects/tests.py @@ -25,6 +25,7 @@ import datetime from karaage.people.models import Person from karaage.test_data.initial_ldap_data import test_ldif from karaage.projects.mod...
Fix tests. We can't remove/delete a project that is references as default_project anymore. Change-Id: I<I>b<I>a<I>d<I>d9be6a<I>aff<I>ddbbb<I>e
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,7 @@ else: setup( name = "numa", - version = '1.4.2', + version = '1.4.3', description = "Interface to numa(3) Linux API for Python", author = 'Andrey Smirnov', author_email = 'me@smira.r...
Version bump (broken package uploaded).
py
diff --git a/stpl/stpl.py b/stpl/stpl.py index <HASH>..<HASH> 100755 --- a/stpl/stpl.py +++ b/stpl/stpl.py @@ -488,12 +488,13 @@ def main(**args): help='If the input file ends in .stpl this is automatically dropped when a directory is given') parser.add_argument('directory', nargs='?', ...
all further command line arguments for python defines
py
diff --git a/pysnmp/smi/builder.py b/pysnmp/smi/builder.py index <HASH>..<HASH> 100644 --- a/pysnmp/smi/builder.py +++ b/pysnmp/smi/builder.py @@ -1,5 +1,5 @@ # MIB modules loader -import os +import os, types from pysnmp.smi import error try: import pysnmp_mibs @@ -142,8 +142,11 @@ class MibBuilder: ...
use getLabel() SMI object method when building MIB tree in addition to direct attribute access for clearer object protocol
py
diff --git a/demos/detect/data_m.py b/demos/detect/data_m.py index <HASH>..<HASH> 100644 --- a/demos/detect/data_m.py +++ b/demos/detect/data_m.py @@ -4,11 +4,11 @@ import glob from numpy import * import pandas as pd import numpy as np -os.system('andes -c') +os.system('andes -C') os.system('python run.py') # ====...
change -c to _C, -r t to -r tds
py
diff --git a/aiorun.py b/aiorun.py index <HASH>..<HASH> 100644 --- a/aiorun.py +++ b/aiorun.py @@ -169,6 +169,8 @@ def run(coro: Optional[Coroutine] = None, *, # enable this with the ``return_exceptions`` flag. group = gather(*tasks, *do_not_cancel, return_exceptions=True) logger.critical('Running pendin...
Add TODO for logging exceptions after run_until_complete.
py
diff --git a/pymc3/stats.py b/pymc3/stats.py index <HASH>..<HASH> 100644 --- a/pymc3/stats.py +++ b/pymc3/stats.py @@ -584,8 +584,8 @@ def compare(model_dict, ic='WAIC', method='stacking', b_samples=1000, warnings.filterwarnings('always') ics = [] - for n, (m, t) in zip(names, model_dict.item...
Reverted ics append to use integer indices
py
diff --git a/instana/version.py b/instana/version.py index <HASH>..<HASH> 100644 --- a/instana/version.py +++ b/instana/version.py @@ -1,3 +1,3 @@ # Module version file. Used by setup.py and snapshot reporting. -VERSION = '1.27.1' +VERSION = '1.27.2'
Bump package version to <I>
py
diff --git a/pale/fields/resource.py b/pale/fields/resource.py index <HASH>..<HASH> 100644 --- a/pale/fields/resource.py +++ b/pale/fields/resource.py @@ -46,7 +46,7 @@ class ResourceListField(ListField): def __init__(self, description, details=None, - resource_type=DebugResour...
Use normal Resource as default for ResourceList to avoid potential circular import.
py
diff --git a/modin/experimental/core/execution/native/implementations/omnisci_on_native/partitioning/partition_manager.py b/modin/experimental/core/execution/native/implementations/omnisci_on_native/partitioning/partition_manager.py index <HASH>..<HASH> 100644 --- a/modin/experimental/core/execution/native/implementati...
FEAT-#<I>: Added support for getArrowTable() (#<I>) * FEAT-#<I>: Added invocation of getArrowTable
py
diff --git a/aegean.py b/aegean.py index <HASH>..<HASH> 100644 --- a/aegean.py +++ b/aegean.py @@ -1985,6 +1985,7 @@ if __name__=="__main__": if 'poll' in e.message: logging.warn("Your O/S doesn't support select.poll(): Reverting to cores=1") cores=1 + queue...
fixed a bug that could occur on systems that don't support select.poll() (ie osx) that would crash aegean instead of letting it run with a single core
py
diff --git a/sdk/servicebus/azure-servicebus/setup.py b/sdk/servicebus/azure-servicebus/setup.py index <HASH>..<HASH> 100644 --- a/sdk/servicebus/azure-servicebus/setup.py +++ b/sdk/servicebus/azure-servicebus/setup.py @@ -67,6 +67,7 @@ setup( 'Programming Language :: Python :: 3.5', 'Programming Lang...
Add python <I> to setup classifiers list (#<I>)
py
diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py index <HASH>..<HASH> 100644 --- a/discord/ext/commands/core.py +++ b/discord/ext/commands/core.py @@ -201,8 +201,13 @@ class Command: if converter is bool: return _convert_to_bool(argument) - if converter.__module__....
[commands] Allow builtin unbound method converters
py
diff --git a/playhouse/tests_postgres.py b/playhouse/tests_postgres.py index <HASH>..<HASH> 100644 --- a/playhouse/tests_postgres.py +++ b/playhouse/tests_postgres.py @@ -43,6 +43,9 @@ class PostgresExtTestCase(unittest.TestCase): t1_db = TestingID.get(TestingID.uniq == uuid_str) self.assertEqual(t1, ...
Test uuid coerced
py
diff --git a/openquake/calculators/extract.py b/openquake/calculators/extract.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/extract.py +++ b/openquake/calculators/extract.py @@ -77,6 +77,15 @@ class Extract(collections.OrderedDict): extract = Extract() +# used by the QGIS plugin +@extract.add('realiza...
Added an extractor for the realizations [skip CI]
py
diff --git a/scoop/__init__.py b/scoop/__init__.py index <HASH>..<HASH> 100644 --- a/scoop/__init__.py +++ b/scoop/__init__.py @@ -19,7 +19,7 @@ import os __author__ = "Marc Parizeau", "Olivier Gagnon", "Marc-Andre Gardner", \ "Yannick Hold-Geoffroy" __version__ = "0.5" -__revision__ = "0.5.0" +__revision__ = "0...
Changed package version to <I>
py
diff --git a/common.py b/common.py index <HASH>..<HASH> 100644 --- a/common.py +++ b/common.py @@ -7,10 +7,15 @@ # ------------------------------------------------------ # The options container +import sys from options import OPTIONS - OPTIONS.add_option_if_not_defined('outputFileName', str) OPTIONS.add_option...
Common interface for options, now stores default output/input streams
py
diff --git a/source/rafcon/core/states/library_state.py b/source/rafcon/core/states/library_state.py index <HASH>..<HASH> 100644 --- a/source/rafcon/core/states/library_state.py +++ b/source/rafcon/core/states/library_state.py @@ -130,11 +130,16 @@ class LibraryState(State): self.state_copy._parent = ref(self)...
fix(library_state): unsafe init has to set parents
py
diff --git a/src/toil_scripts/lib/__init__.py b/src/toil_scripts/lib/__init__.py index <HASH>..<HASH> 100644 --- a/src/toil_scripts/lib/__init__.py +++ b/src/toil_scripts/lib/__init__.py @@ -22,6 +22,14 @@ def flatten(x): def sizeof_fmt(num, suffix='B'): """ Humanize input + >>> sizeof_fmt(1024) + '1.0...
Add doctest for sizeof_fmt()
py
diff --git a/vyked/__init__.py b/vyked/__init__.py index <HASH>..<HASH> 100644 --- a/vyked/__init__.py +++ b/vyked/__init__.py @@ -1,5 +1,3 @@ -from vyked.utils.log import patch_async_emit - __all__ = ['TCPServiceClient', 'TCPApplicationService', 'TCPDomainService', 'TCPInfraService', 'HTTPServiceClient', ...
Removing ununsed imports
py
diff --git a/pyinfra/facts/server.py b/pyinfra/facts/server.py index <HASH>..<HASH> 100644 --- a/pyinfra/facts/server.py +++ b/pyinfra/facts/server.py @@ -132,6 +132,14 @@ class Groups(FactBase): return groups +# TODO: find a nicer place for this! +def _try_int(value): + try: + return int(value) ...
Handle comments/blank crontab lines and attempt to int the day/month/minute/etc.
py
diff --git a/src/foremast/pipeline/construct_pipeline_block.py b/src/foremast/pipeline/construct_pipeline_block.py index <HASH>..<HASH> 100644 --- a/src/foremast/pipeline/construct_pipeline_block.py +++ b/src/foremast/pipeline/construct_pipeline_block.py @@ -143,6 +143,8 @@ def construct_pipeline_block(env='', app...
Added TODO to migrate ssh keyname generation out
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ from astropy_helpers.setup_helpers import register_commands, get_package_info from astropy_helpers.version_helpers import generate_version_py NAME = 'astropy_helpers' -VERSION = '1.1.dev' +VERSION = '1.1b1' R...
Preparing to release <I>b1
py
diff --git a/pypika/__init__.py b/pypika/__init__.py index <HASH>..<HASH> 100644 --- a/pypika/__init__.py +++ b/pypika/__init__.py @@ -38,4 +38,4 @@ from .utils import JoinException, GroupingException, CaseException, UnionExcepti __author__ = "Timothy Heys" __email__ = "theys@kayak.com" -__version__ = "0.1.12" \ No...
Bumped version to <I>
py
diff --git a/pyvisa-sim/devices.py b/pyvisa-sim/devices.py index <HASH>..<HASH> 100644 --- a/pyvisa-sim/devices.py +++ b/pyvisa-sim/devices.py @@ -300,12 +300,14 @@ class Device(object): def read(self): """Return a single byte from the output buffer """ - if isinstance(self._output_buffer,...
Changed read to dump the error message if reading an empty buffer
py
diff --git a/src/ocrmypdf/exec/ghostscript.py b/src/ocrmypdf/exec/ghostscript.py index <HASH>..<HASH> 100644 --- a/src/ocrmypdf/exec/ghostscript.py +++ b/src/ocrmypdf/exec/ghostscript.py @@ -113,8 +113,6 @@ def rasterize_pdf(input_file, output_file, xres, yres, raster_device, log, if not page_dpi: page_dp...
ghostscript: never use autorotatepages It looks like from the gs manual that this parameter is only respected for vector devices so it never had any effect, but to stay on the safe side, which it off.
py
diff --git a/dynesty/plotting.py b/dynesty/plotting.py index <HASH>..<HASH> 100644 --- a/dynesty/plotting.py +++ b/dynesty/plotting.py @@ -136,6 +136,7 @@ def runplot(results, bounds=None, logplot=False, color='blue', logwt = results['logwt'] # ln(importance weight) logz = results['logz'] # ln(evidence) ...
runplot quickfix Turns out that runplot barfs if there are any `nan` values in `results['logzerr']` since most functions treat them as extreme points. I just implemented a quick fix to set all these values to zero so they won't show up.
py
diff --git a/tests/common.py b/tests/common.py index <HASH>..<HASH> 100644 --- a/tests/common.py +++ b/tests/common.py @@ -14,6 +14,8 @@ if not os.path.isdir(bin_location): slow_test = attr(speed='slow') +TRACE_VERSION = 1 + def do_trace(proj, test_name, input_data, **kwargs): """ trace, magic, crash_mo...
Introduce trace versioning to force cache invalidation
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ MAINTAINER_EMAIL = 'steven.silvester@ieee.org' URL = 'http://github.com/blink1073/oct2py' LICENSE = 'MIT' REQUIRES = ["numpy (>= 1.6.0)", "scipy (>= 0.9.0)"] -PACKAGES = [DISTNAME, '{0}.tests'.format(DISTNAM...
Add ipython to setup.py packages
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ setuptools.setup( name="WebRequest", # Version number (initial): - version="0.0.67", + version="0.0.68", # Application author details: author="Connor Wolf",
Ok, build a release since this seems to work.
py
diff --git a/bokeh/plotting.py b/bokeh/plotting.py index <HASH>..<HASH> 100644 --- a/bokeh/plotting.py +++ b/bokeh/plotting.py @@ -736,6 +736,7 @@ def scatter(*args, **kwargs): line_width : int >= 1 line_alpha : 0.0 - 1.0 line_cap : "butt", "join", "miter" + color : shorthand to set both fill and line...
small fix to docstring for plotting.scatter()
py
diff --git a/salt/modules/zypper.py b/salt/modules/zypper.py index <HASH>..<HASH> 100644 --- a/salt/modules/zypper.py +++ b/salt/modules/zypper.py @@ -124,7 +124,7 @@ def info(*names, **kwargs): # Run in batches while batch: cmd = 'zypper info -t package {0}'.format(' '.join(batch[:batch_size])) - ...
Lint: regexp as a string
py
diff --git a/tmuxp/pane.py b/tmuxp/pane.py index <HASH>..<HASH> 100644 --- a/tmuxp/pane.py +++ b/tmuxp/pane.py @@ -85,6 +85,8 @@ class Pane(util.TmuxMappingObject, util.TmuxRelationalObject): :type cmd: str :param enter: Send enter after sending the input. :type enter: bool + :param su...
Adding docstring for suppress_history to send_keys
py
diff --git a/apluslms_roman/observer.py b/apluslms_roman/observer.py index <HASH>..<HASH> 100644 --- a/apluslms_roman/observer.py +++ b/apluslms_roman/observer.py @@ -12,16 +12,25 @@ class Phase(Enum): class StepState(Enum): UNKNOWN = 0 NOTSTARTED = 1 + PREFLIGHT = 2 PENDING = 3 RUNNING = 4 ...
Add active & completed properties for StepState enum
py
diff --git a/profile.py b/profile.py index <HASH>..<HASH> 100644 --- a/profile.py +++ b/profile.py @@ -80,7 +80,6 @@ class Profile(Curve): # B) if y < min(self.y) then condition self.y >= y will be satisfied on first item # np.argmax(cond) will be equal 0, # to exclude situation that y_handle...
Removed return statement from LP.mirror() You are right - return statement doesn't make sense here. But when I am trying to run docstring test as: >>> print((LateralProfile([[-1, 1], [0, -1], [1, 0]]).mirror()).y) it fails with an error: AttributeError: 'NoneType' object has no attribute 'y' Thats why I m...
py
diff --git a/cinje/block/function.py b/cinje/block/function.py index <HASH>..<HASH> 100644 --- a/cinje/block/function.py +++ b/cinje/block/function.py @@ -88,7 +88,7 @@ class Function(object): if '->' in line: argspec, _, flags = line.rpartition('->') for flag in set(i.strip() for i in flags.split()): - i...
Armour against attempt to remove missing flag.
py
diff --git a/checksumdir/__init__.py b/checksumdir/__init__.py index <HASH>..<HASH> 100644 --- a/checksumdir/__init__.py +++ b/checksumdir/__init__.py @@ -53,8 +53,14 @@ def dirhash(dirname, hashfunc='md5', excluded_files=None, ignore_hidden=False, ] ) else: - ...
Fix excluded_extensions when ignore_hidden is False This is a fix for Issue #5.
py
diff --git a/clashroyale/errors.py b/clashroyale/errors.py index <HASH>..<HASH> 100644 --- a/clashroyale/errors.py +++ b/clashroyale/errors.py @@ -32,7 +32,7 @@ class RequestError(Exception): '''Base class for request errors''' def __init__(self, resp, data): self.response = resp - self.code =...
add support to both requests + aiohttp
py
diff --git a/bcbio/bam/highdepth.py b/bcbio/bam/highdepth.py index <HASH>..<HASH> 100644 --- a/bcbio/bam/highdepth.py +++ b/bcbio/bam/highdepth.py @@ -40,7 +40,7 @@ def identify(data): cmd = ("sambamba depth window -t {cores} -c {min_coverage} " "--window-size {window_size} {work_bam} "...
Support sambamba <I> depth output which contains headers
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -38,11 +38,22 @@ def read(name): return f.read() +# $ echo ':something:`test <sdf>`' | sed 's/:\w\+:`\(\w\+\)\(\s\+\(.*\)\)\?`/``\1``/g' +# ``test`` +def sanitize_rst_roles(rst_source_text: str) -> str: + """Re...
Turn RST roles in changelog in pkg meta to inline
py
diff --git a/docs/_ext/aafig.py b/docs/_ext/aafig.py index <HASH>..<HASH> 100644 --- a/docs/_ext/aafig.py +++ b/docs/_ext/aafig.py @@ -11,6 +11,7 @@ :license: BOLA, see LICENSE for details """ import posixpath +from hashlib import sha1 as sha from os import path from docutils import nodes @@ -19,12 +20,6 @@ ...
refactor(aafig): Use hashlib library (sha1 deprecated since <I>) See also: <URL>
py
diff --git a/lib/python/vdm/server/HTTPListener.py b/lib/python/vdm/server/HTTPListener.py index <HASH>..<HASH> 100644 --- a/lib/python/vdm/server/HTTPListener.py +++ b/lib/python/vdm/server/HTTPListener.py @@ -962,7 +962,7 @@ def get_deployment_from_xml(deployment_xml, is_list): new_deployment...
VDM-<I> Modified condition for connection in DR configuration.
py
diff --git a/pipenv/utils.py b/pipenv/utils.py index <HASH>..<HASH> 100644 --- a/pipenv/utils.py +++ b/pipenv/utils.py @@ -1185,7 +1185,7 @@ def normalize_drive(path): See: <https://github.com/pypa/pipenv/issues/1218> """ - if os.name != 'nt': + if os.name != 'nt' or not isinstance(path, six.string_ty...
Fix drive normalization to only parse strings - Fixes bug with handling non-existant pipfile locations on windows
py
diff --git a/journal/main.py b/journal/main.py index <HASH>..<HASH> 100644 --- a/journal/main.py +++ b/journal/main.py @@ -111,8 +111,12 @@ def record_entries(journal_location, entries): date_header = current_date.strftime("%a %I:%M:%S %Y-%m-%d") + "\n" with open(build_journal_path(journal_location, current_d...
feature change: condense all arguments by default to one entry. this was confusing people and seems easier by default
py
diff --git a/keyring/backends/Windows.py b/keyring/backends/Windows.py index <HASH>..<HASH> 100644 --- a/keyring/backends/Windows.py +++ b/keyring/backends/Windows.py @@ -141,7 +141,7 @@ class WinVaultKeyring(KeyringBackend): raise PasswordDeleteError(service) def _delete_password(self, target): - ...
Fix reference to win<I>cred --HG-- branch : prioritized backends
py
diff --git a/src/hamster/overview.py b/src/hamster/overview.py index <HASH>..<HASH> 100644 --- a/src/hamster/overview.py +++ b/src/hamster/overview.py @@ -210,8 +210,10 @@ class Overview(object): if format == ("html"): webbrowser.open_new("file://%s" % path) else: - ...
don't complain if show_uri fails on generated report. fixes bug <I>
py
diff --git a/depot/utils.py b/depot/utils.py index <HASH>..<HASH> 100644 --- a/depot/utils.py +++ b/depot/utils.py @@ -4,5 +4,5 @@ from ._compat import percent_encode def make_content_disposition(disposition, fname): rfc6266_part = "filename*=utf-8''%s" % (percent_encode(fname, safe='!#$&+-.^_`|~', encoding='ut...
fix Content-Disposition header bug with comma in filename (Chrome)
py
diff --git a/troposphere/ec2.py b/troposphere/ec2.py index <HASH>..<HASH> 100644 --- a/troposphere/ec2.py +++ b/troposphere/ec2.py @@ -612,6 +612,15 @@ class VPCEndpointService(AWSObject): } +class VPCEndpointServicePermissions(AWSObject): + resource_type = "AWS::EC2::VPCEndpointServicePermissions" + + p...
Add AWS::EC2::VPCEndpointServicePermissions (#<I>)
py
diff --git a/owslib/feature/wfs110.py b/owslib/feature/wfs110.py index <HASH>..<HASH> 100644 --- a/owslib/feature/wfs110.py +++ b/owslib/feature/wfs110.py @@ -181,7 +181,7 @@ class WebFeatureService_1_1_0(WebFeatureService_): # bbox elif bbox and typename: - request["bbox"] == self.getBBO...
added typename to getBBOXKVP call for WFS <I>
py
diff --git a/salt/utils/network.py b/salt/utils/network.py index <HASH>..<HASH> 100644 --- a/salt/utils/network.py +++ b/salt/utils/network.py @@ -661,7 +661,7 @@ def remotes_on_local_tcp_port(port): data = subprocess.check_output(['lsof', '-i4TCP:{0:d}'.format(port), '-n']) except subprocess.CalledProces...
Changed so raises exception on subprocess call instead of silently swallowing it.
py
diff --git a/cme/modules/nanodump.py b/cme/modules/nanodump.py index <HASH>..<HASH> 100644 --- a/cme/modules/nanodump.py +++ b/cme/modules/nanodump.py @@ -65,14 +65,10 @@ class CMEModule: def on_admin_login(self, context, connection): if self.useembeded == True: with open(self.nano_path + sel...
Determine architecture using os_arch
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ import ez_setup ez_setup.use_setuptools() from setuptools import setup, find_packages - +from cobra.version import get_version __version = get_version() setup(
merged in the cobra.version
py
diff --git a/test/test_scheduler_init.py b/test/test_scheduler_init.py index <HASH>..<HASH> 100644 --- a/test/test_scheduler_init.py +++ b/test/test_scheduler_init.py @@ -67,6 +67,7 @@ daemons_config = { class testSchedulerInit(AlignakTest): def setUp(self): time_hacker.set_real_time() + self.arb_...
Fix: test_scheduler_init: don't daemonize the arbiter because we do kill the proc pid at the end.
py
diff --git a/tests/test_looter.py b/tests/test_looter.py index <HASH>..<HASH> 100644 --- a/tests/test_looter.py +++ b/tests/test_looter.py @@ -52,9 +52,10 @@ class TestProfileDownload(_TempTestCase): # We have to use GreaterEqual since multi media posts # are counted as 1 but will download mor...
Fix media count not being extracted well within profile tests
py
diff --git a/discord/message.py b/discord/message.py index <HASH>..<HASH> 100644 --- a/discord/message.py +++ b/discord/message.py @@ -333,23 +333,6 @@ class Message: pattern = re.compile('|'.join(transformations.keys())) return pattern.sub(repl2, result) - def _handle_upgrades(self, channel_id):...
Remove unused Message._handle_upgrades function.
py
diff --git a/billy/models/bills.py b/billy/models/bills.py index <HASH>..<HASH> 100644 --- a/billy/models/bills.py +++ b/billy/models/bills.py @@ -314,8 +314,10 @@ class BillVote(Document): else: bill = self.bill metadata = bill.metadata - name = metadata['chambers'][self['chamber'...
If not chamber entry in metadata, use key in vote display
py
diff --git a/pystache/parser.py b/pystache/parser.py index <HASH>..<HASH> 100644 --- a/pystache/parser.py +++ b/pystache/parser.py @@ -231,10 +231,6 @@ class _Parser(object): match_index = match.start() end_index = match.end() - # Avoid adding spurious empty strings to the parse t...
Reduced the number of elements in the parse tree.
py
diff --git a/insteonplm/ipdb.py b/insteonplm/ipdb.py index <HASH>..<HASH> 100644 --- a/insteonplm/ipdb.py +++ b/insteonplm/ipdb.py @@ -7,9 +7,9 @@ Product = collections.namedtuple('Product', ['cat', 'subcat', 'product_key', 'de class IPDB(object): products = [] - products.append(Product(0x01,0x07,None,'LampL...
Alter categories for consistency with INSTEON docs
py
diff --git a/telemetry/telemetry/core/platform/android_platform_backend.py b/telemetry/telemetry/core/platform/android_platform_backend.py index <HASH>..<HASH> 100644 --- a/telemetry/telemetry/core/platform/android_platform_backend.py +++ b/telemetry/telemetry/core/platform/android_platform_backend.py @@ -134,7 +134,7 ...
[Telemetry] Speed up page_cycler on android. Down to 3m<I> (without the other optimizations..) /proc/pid/smaps is kind of large. It was only used by old style perf tests downstream, long gone in favor of Telemetry. Use "showmap %pid" directly, which crunches the data in the device. Also, while at it, remove GetMemoryU...
py