diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/tensorpack/dataflow/imgaug/convert.py b/tensorpack/dataflow/imgaug/convert.py index <HASH>..<HASH> 100644 --- a/tensorpack/dataflow/imgaug/convert.py +++ b/tensorpack/dataflow/imgaug/convert.py @@ -45,10 +45,10 @@ class Grayscale(ColorSpace): class ToUint8(MapImage): """ Convert image to uint8. Usefu...
add identity coordinate mapping to ToUint8 and ToFloat<I> augmentors (#<I>) * add identity coordinate mapping to ToUint8 and ToFloat<I> augmentors
py
diff --git a/manticore/ethereum/abi.py b/manticore/ethereum/abi.py index <HASH>..<HASH> 100644 --- a/manticore/ethereum/abi.py +++ b/manticore/ethereum/abi.py @@ -41,10 +41,14 @@ class ABI(object): @staticmethod def _check_and_warn_num_args(type_spec, *args): num_args = len(args) - num_sig_arg...
Fix warning logic (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ # Copyright (C) 2012 Andrew Burrows # E-mail: burrowsa AT gmail DOT com -# mockextras 0.0.0 +# mockextras 0.0.1 # https://github.com/burrowsa/mockextras # Released subject to the BSD License @@ -11,7 +11,7...
Fixed 'install_requires' typo in setup.py fixed a typo.
py
diff --git a/cumulusci/cli/cci.py b/cumulusci/cli/cci.py index <HASH>..<HASH> 100644 --- a/cumulusci/cli/cci.py +++ b/cumulusci/cli/cci.py @@ -1375,16 +1375,15 @@ def task_doc(runtime, project=False, write=False): for name, options in tasks: task_config = TaskConfig(options) doc = doc_task(name, ...
[EDA] Reformatting directory structure adding brief write up about translations flow
py
diff --git a/skypipe/deploy.py b/skypipe/deploy.py index <HASH>..<HASH> 100644 --- a/skypipe/deploy.py +++ b/skypipe/deploy.py @@ -50,7 +50,7 @@ def check_satellite(cli, context): var = cli.user.get(url).item port = var['DOTCLOUD_SATELLITE_ZMQ_PORT'] host = socket.gethostbyname(var['DOTCLOUD_...
Support Python <I> According to the Python documentation: Changed in version <I>: The positional argument specifiers can be omitted, so '{} {}' is equivalent to '{0} {1}'. In general, it is a sign of bad development practices to require upgrades on the user part, especially when it is very easy not to require that...
py
diff --git a/ibis/expr/operations/relations.py b/ibis/expr/operations/relations.py index <HASH>..<HASH> 100644 --- a/ibis/expr/operations/relations.py +++ b/ibis/expr/operations/relations.py @@ -541,24 +541,16 @@ class AggregateSelection: def _pushdown_exprs(self, exprs): import ibis.expr.analysis as L ...
refactor(ir): slightly simplify ops.AggregateSelection._pushdown_exprs
py
diff --git a/test/operator/operator_utilities_test.py b/test/operator/operator_utilities_test.py index <HASH>..<HASH> 100644 --- a/test/operator/operator_utilities_test.py +++ b/test/operator/operator_utilities_test.py @@ -20,6 +20,7 @@ from __future__ import print_function, division, absolute_import from future impo...
TST: Import super from builtins. Done to not break the build in python 2, see <URL>
py
diff --git a/runtime.py b/runtime.py index <HASH>..<HASH> 100644 --- a/runtime.py +++ b/runtime.py @@ -1,8 +1,8 @@ -import copy import urllib2 import uuid import sys +import itertools try: import json except: @@ -34,6 +34,13 @@ def unpack_method(method): func_name = method[pos+1:] return iface_n...
Add a counter based id generator. Replace lambda in Client with module level function.
py
diff --git a/keyboard/_nixkeyboard.py b/keyboard/_nixkeyboard.py index <HASH>..<HASH> 100644 --- a/keyboard/_nixkeyboard.py +++ b/keyboard/_nixkeyboard.py @@ -64,6 +64,7 @@ def build_tables(): to_name[(scan_code, modifiers)] = name if is_keypad: keypad_scan_codes.add(scan_code) + ...
Allow sending of keypad events on nix
py
diff --git a/panc/src/main/scripts/panlint.py b/panc/src/main/scripts/panlint.py index <HASH>..<HASH> 100755 --- a/panc/src/main/scripts/panlint.py +++ b/panc/src/main/scripts/panlint.py @@ -238,8 +238,7 @@ def main(): for i in range(start_line, end_line + 1): ignore_lines....
Reuse existing file contents Rather than reopening the file.
py
diff --git a/examples/example.py b/examples/example.py index <HASH>..<HASH> 100755 --- a/examples/example.py +++ b/examples/example.py @@ -27,7 +27,8 @@ conn = db.connection(section='oedb') nd = NetworkDingo(name='network') # mv_grid_districts = [386,372,406,371,402,415,480,424,489,367,359,569,591] -mv_grid_distric...
add debug output whether MV grid dist. contains aggregated LV load area or not (#<I>)
py
diff --git a/synphot/specio.py b/synphot/specio.py index <HASH>..<HASH> 100644 --- a/synphot/specio.py +++ b/synphot/specio.py @@ -381,7 +381,8 @@ def write_fits_spec(filename, wavelengths, fluxes, pri_header={}, ext_header={}, hdr_hdu.header[key] = val # Make the extension HDU and include user dictiona...
Replaced depreciated PyFITS new_table() function with Erik Bray's suggestion.
py
diff --git a/optlang/glpk_interface.py b/optlang/glpk_interface.py index <HASH>..<HASH> 100644 --- a/optlang/glpk_interface.py +++ b/optlang/glpk_interface.py @@ -677,8 +677,8 @@ class Model(interface.Model): if len(variables) > 0: if len(variables) > 350: delete_indices = [variab...
fix: recursion problem in glpk_interface (#<I>) _remove_variables would call self.variables for models with more than <I> variables.
py
diff --git a/deployutils/__init__.py b/deployutils/__init__.py index <HASH>..<HASH> 100644 --- a/deployutils/__init__.py +++ b/deployutils/__init__.py @@ -22,4 +22,4 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -__version__ = '0.7.0' +__ver...
bumps version number to <I>-dev
py
diff --git a/django_th/views.py b/django_th/views.py index <HASH>..<HASH> 100644 --- a/django_th/views.py +++ b/django_th/views.py @@ -156,24 +156,19 @@ def trigger_edit(request, trigger_id, edit_what): template_name = service_name.lower() + '/edit_' + \ edit_what.lower() + ".html" + if edit_what == ...
some refactoring for clearest code
py
diff --git a/sramongo/sra_const.py b/sramongo/sra_const.py index <HASH>..<HASH> 100644 --- a/sramongo/sra_const.py +++ b/sramongo/sra_const.py @@ -41,6 +41,7 @@ LIBRARY_STRATEGY = [ "OTHER", "other", "POOLCLONE", + "RIP-Seq", "RNA-Seq", "Synthetic-Long-Read", "Tn-Seq",
Adds RIP-seq to library strategey.
py
diff --git a/onecodex/lib/upload.py b/onecodex/lib/upload.py index <HASH>..<HASH> 100644 --- a/onecodex/lib/upload.py +++ b/onecodex/lib/upload.py @@ -90,7 +90,7 @@ class FASTXInterleave(object): self._fp_right = open(file_path[1], mode='rb') if file_format == 'fasta': - self._lines_p...
Disable interleaving of FASTA files
py
diff --git a/emirdrp/recipes/acquisition/centering.py b/emirdrp/recipes/acquisition/centering.py index <HASH>..<HASH> 100644 --- a/emirdrp/recipes/acquisition/centering.py +++ b/emirdrp/recipes/acquisition/centering.py @@ -119,8 +119,9 @@ def compute_flux(data, csu_conf, hcols=2, hrows=4, logger=None): logger ...
Accept SOURCE and REFERENCE slits (fixes #<I>)
py
diff --git a/marathon/models/constraint.py b/marathon/models/constraint.py index <HASH>..<HASH> 100644 --- a/marathon/models/constraint.py +++ b/marathon/models/constraint.py @@ -31,8 +31,18 @@ class MarathonConstraint(MarathonObject): template = "MarathonConstraint::{field}:{operator}" return tem...
Fix serialization of Marathon Constraints
py
diff --git a/rainflow.py b/rainflow.py index <HASH>..<HASH> 100644 --- a/rainflow.py +++ b/rainflow.py @@ -19,6 +19,8 @@ def reversals(series): d_last = (x - x_last) for x_next in series: + if x_next == x: + continue d_next = x_next - x if d_last * d_next < 0: ...
Corrected rainflow.reversals rainflow.reversals should detect reversals which span over several constant values. For example in a series (1, 2, 2, 1) there is a peak equal to 2.
py
diff --git a/www/src/Lib/browser/timer.py b/www/src/Lib/browser/timer.py index <HASH>..<HASH> 100644 --- a/www/src/Lib/browser/timer.py +++ b/www/src/Lib/browser/timer.py @@ -1,4 +1,4 @@ -from browser import console, window +from browser import console, self as window def wrap(func, *args): # Transforms a funct...
Fixes #<I> : can't import browser.timer from inside a webworker script
py
diff --git a/modernrpc/handlers/jsonhandler.py b/modernrpc/handlers/jsonhandler.py index <HASH>..<HASH> 100644 --- a/modernrpc/handlers/jsonhandler.py +++ b/modernrpc/handlers/jsonhandler.py @@ -37,6 +37,8 @@ class JSONRPCHandler(RPCHandler): def valid_content_types(): return [ 'application/j...
accept content types application/json-rpc and application/jsonrequest (fix #<I>)
py
diff --git a/slacker_log_handler/__init__.py b/slacker_log_handler/__init__.py index <HASH>..<HASH> 100644 --- a/slacker_log_handler/__init__.py +++ b/slacker_log_handler/__init__.py @@ -1,6 +1,6 @@ import json import traceback -from logging import Handler, CRITICAL, ERROR, WARNING +from logging import Handler, CRITI...
Add more loglevel -> color mappings
py
diff --git a/gns3server/controller/udp_link.py b/gns3server/controller/udp_link.py index <HASH>..<HASH> 100644 --- a/gns3server/controller/udp_link.py +++ b/gns3server/controller/udp_link.py @@ -77,9 +77,6 @@ class UDPLink(Link): """ Delete the link and free the resources """ - if not ...
Fix errors where free port as marked as used after an error
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ from os import path here = path.abspath(path.dirname(__file__)) # Get the long description from the README file -with open(path.join(here, 'README.md')) as f: +with open(path.join(here, 'README.rst')) as f: ...
Make setup.py use rst file instead of md file.
py
diff --git a/tasklib/task.py b/tasklib/task.py index <HASH>..<HASH> 100644 --- a/tasklib/task.py +++ b/tasklib/task.py @@ -93,7 +93,7 @@ class SerializingObject(object): return ','.join(tags) if tags else '' def deserialize_tags(self, tags): - if isinstance(tags, basestring): + if isinstan...
Use six.string_types over basestring for Python 3 compatibility
py
diff --git a/ELiDE/ELiDE/stores.py b/ELiDE/ELiDE/stores.py index <HASH>..<HASH> 100644 --- a/ELiDE/ELiDE/stores.py +++ b/ELiDE/ELiDE/stores.py @@ -153,6 +153,9 @@ class StringsEdScreen(Screen): def on_language(self, *args): self.ids.edbox.storelist.redata() + def save(self, *args): + self.ids....
Fix ELiDE not saving strings or code on quit
py
diff --git a/dvc/__init__.py b/dvc/__init__.py index <HASH>..<HASH> 100644 --- a/dvc/__init__.py +++ b/dvc/__init__.py @@ -7,7 +7,7 @@ import os import warnings -VERSION_BASE = '0.18.14' +VERSION_BASE = '0.18.15' __version__ = VERSION_BASE PACKAGEPATH = os.path.abspath(os.path.dirname(__file__))
dvc: bump to <I>
py
diff --git a/tensorflow_datasets/testing/dataset_builder_testing.py b/tensorflow_datasets/testing/dataset_builder_testing.py index <HASH>..<HASH> 100644 --- a/tensorflow_datasets/testing/dataset_builder_testing.py +++ b/tensorflow_datasets/testing/dataset_builder_testing.py @@ -362,19 +362,12 @@ class DatasetBuilderTes...
Cleanup beam setup in tests PiperOrigin-RevId: <I>
py
diff --git a/metric_learn/lfda.py b/metric_learn/lfda.py index <HASH>..<HASH> 100644 --- a/metric_learn/lfda.py +++ b/metric_learn/lfda.py @@ -139,10 +139,11 @@ def _sum_outer(x): def _eigh(a, b, dim): try: return scipy.sparse.linalg.eigsh(a, k=dim, M=b, which='LA') - except (ValueError, scipy.sparse.linalg.A...
Deals with scipy's new version, where eigsh can call eigh. (#<I>)
py
diff --git a/zipline/testing/fixtures.py b/zipline/testing/fixtures.py index <HASH>..<HASH> 100644 --- a/zipline/testing/fixtures.py +++ b/zipline/testing/fixtures.py @@ -126,7 +126,7 @@ class ZiplineTestCase(with_metaclass(FinalMeta, TestCase)): class WithLogger(object): """ - ZiplineTestCase mixing providi...
DOC: Fix typo in docstring.
py
diff --git a/hbmqtt/broker.py b/hbmqtt/broker.py index <HASH>..<HASH> 100644 --- a/hbmqtt/broker.py +++ b/hbmqtt/broker.py @@ -424,7 +424,6 @@ class Broker: yield from self._stop_handler(handler) client_session.transitions.disconnect() yield from self.plugi...
No need to close stream when client has disconnected (it is already closed). Fixes issue #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -77,14 +77,16 @@ class RpmCommand(SrpmCommand): build_stage = "b" -_CLASSIFIERS = ["Development Status :: 3 - Alpha", +_CLASSIFIERS = ["Development Status :: 4 - Beta", "Intended Audience :: Developer...
update _CLASSIFIERS; changed development status from alpha to beta and add some more python versions in the prgramming language list
py
diff --git a/ldapdb/backends/ldap/compiler.py b/ldapdb/backends/ldap/compiler.py index <HASH>..<HASH> 100644 --- a/ldapdb/backends/ldap/compiler.py +++ b/ldapdb/backends/ldap/compiler.py @@ -173,6 +173,7 @@ class SQLCompiler(object): # process results pos = 0 + results=[] for dn, att...
Add support for returning distinct values only.
py
diff --git a/tests/test.py b/tests/test.py index <HASH>..<HASH> 100644 --- a/tests/test.py +++ b/tests/test.py @@ -88,7 +88,6 @@ class UidGidTest(unittest.TestCase): if os.getuid() != 0: return True - os.chown(self.pidfile, NOBODY_UID, NOBODY_GID) os.chown(self.logfile, NOBODY_UI...
Do not chown pidfile in tests
py
diff --git a/spyderlib/widgets/calltip.py b/spyderlib/widgets/calltip.py index <HASH>..<HASH> 100644 --- a/spyderlib/widgets/calltip.py +++ b/spyderlib/widgets/calltip.py @@ -273,7 +273,7 @@ class CallTipWidget(QLabel): """ Hides the tooltip after some time has passed (assuming the cursor is not o...
Calltip: Don't hide it if the cursor leaves the tooltip and there's no timer
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 @@ -27,7 +27,7 @@ author = "The Font Bakery Authors" # The short X.Y version version = "0.8" # The full version, including alpha/beta/rc tags -release = "0.8.9" +release = "0.8.10" ...
update version on docs/source/conf.py
py
diff --git a/phileo/models.py b/phileo/models.py index <HASH>..<HASH> 100644 --- a/phileo/models.py +++ b/phileo/models.py @@ -1,6 +1,9 @@ +from __future__ import unicode_literals + from django.conf import settings from django.db import models from django.utils import timezone +from django.utils.encoding import pyth...
Port model string to support Python 2/3
py
diff --git a/userena/views.py b/userena/views.py index <HASH>..<HASH> 100644 --- a/userena/views.py +++ b/userena/views.py @@ -105,8 +105,6 @@ def signin(request, auth_form=AuthenticationForm, requested_redirect = request.REQUEST.get(redirect_field_name, None) redirect_to = redirect_si...
BUGFIX: Redirect to function
py
diff --git a/graphistry/pygraphistry.py b/graphistry/pygraphistry.py index <HASH>..<HASH> 100644 --- a/graphistry/pygraphistry.py +++ b/graphistry/pygraphistry.py @@ -144,9 +144,10 @@ class PyGraphistry(object): f.write(json_dataset.encode('utf8')) size = len(out_file.getvalue()) / 1024 - ...
Print warning when uploading more than 5MB
py
diff --git a/timepiece/views.py b/timepiece/views.py index <HASH>..<HASH> 100644 --- a/timepiece/views.py +++ b/timepiece/views.py @@ -1597,9 +1597,10 @@ class ProjectHoursAjaxView(EditProjectHoursMixin, View): content_type=ContentType.objects.get_for_model(timepiece.Entry), codename='can_cloc...
refs #<I> - Sort projects by name and billable type
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ except ImportError: else: if not Path(swagger_ui.STATIC_DIR).exists(): swagger_ui.setup_ui('2.2.10') - swagger_ui.setup_ui('3.18.0') + swagger_ui.setup_ui('3.19.4') def read(f):
Swagger-ui up to <I>
py
diff --git a/hupper/winapi.py b/hupper/winapi.py index <HASH>..<HASH> 100644 --- a/hupper/winapi.py +++ b/hupper/winapi.py @@ -84,7 +84,7 @@ class JOBOBJECT_EXTENDED_LIMIT_INFORMATION(ctypes.Structure): ] -class Handle(long): +class Handle(wintypes.HANDLE): closed = False def Close(self): @@ -95,11...
ensure the handle type is appropriate, fixes py<I>/py<I>
py
diff --git a/matrix_client/api.py b/matrix_client/api.py index <HASH>..<HASH> 100644 --- a/matrix_client/api.py +++ b/matrix_client/api.py @@ -377,5 +377,7 @@ class MatrixHttpApi(object): return content['avatar_url'] def get_download_url(self, mxcurl): - part = mxcurl.split('mxc://')[1] - ...
Throw a ValueError when trying to convert an invalid MXC url.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -32,7 +32,7 @@ description = 'Non-blocking MongoDB driver for Tornado or asyncio' long_description = open("README.rst").read() -install_requires = ['pymongo>=2.9,<3'] +install_requires = ['pymongo>=2.9.4,<3'] tests_req...
MOTOR-<I> Require PyMongo <I>+. We need PyMongo's backport of the Cursor.address property (PYTHON-<I>) or else "import motor" fails.
py
diff --git a/imtools/datasets.py b/imtools/datasets.py index <HASH>..<HASH> 100644 --- a/imtools/datasets.py +++ b/imtools/datasets.py @@ -28,7 +28,7 @@ def sliver_reader(filename_end_mask="*[0-9].mhd", sliver_reference_dir="~/data/m :param read_seg: read segmentation data if is set True :return: numeric_labe...
bugfix, path to sliver data is controlled by function parameter
py
diff --git a/artist/plot.py b/artist/plot.py index <HASH>..<HASH> 100644 --- a/artist/plot.py +++ b/artist/plot.py @@ -549,6 +549,26 @@ class SubPlot(object): y = lower + upper self.shaded_regions_list.append({'data': zip(x, y), 'color': color}) + def draw_image(self, image, xmin, ymin, xmax, yma...
Allow drawing bitmaps to the plot Hint: do not forget set_axis_equal()
py
diff --git a/appsupport/kippo/hpfeeds.py b/appsupport/kippo/hpfeeds.py index <HASH>..<HASH> 100644 --- a/appsupport/kippo/hpfeeds.py +++ b/appsupport/kippo/hpfeeds.py @@ -152,7 +152,13 @@ class hpclient(object): self.close() def publish(self, channel, **kwargs): - self.send(msgpublish(self.ident, channel, json...
Reconnect if kippo fails to publish to hpfeeds
py
diff --git a/allaccess/tests/__init__.py b/allaccess/tests/__init__.py index <HASH>..<HASH> 100644 --- a/allaccess/tests/__init__.py +++ b/allaccess/tests/__init__.py @@ -1,5 +1,6 @@ from .test_backends import AuthBackendTestCase from .test_clients import OAuthClientTestCase, OAuth2ClientTestCase +from .test_commands...
Add import for test discovery prior to Django <I>
py
diff --git a/sos/plugins/openvswitch.py b/sos/plugins/openvswitch.py index <HASH>..<HASH> 100644 --- a/sos/plugins/openvswitch.py +++ b/sos/plugins/openvswitch.py @@ -45,6 +45,9 @@ class OpenVSwitch(Plugin): "ls -laZ /var/run/openvswitch", # List devices and their drivers "dpdk_ni...
[openvswitch] additional methods for status fetch dpdk_nic_bind was renamed by the DPDK project to dpdk_devbind, which means we need to test for either. Additionally, driverctl is used in rhel systems to provide udev based persistent overrides, so capturing its output is helpful as well.
py
diff --git a/fades/main.py b/fades/main.py index <HASH>..<HASH> 100644 --- a/fades/main.py +++ b/fades/main.py @@ -300,7 +300,11 @@ def go(): "Calling Python interpreter with arguments %s to execute the child program" " %r with options %s", python_options, args.child_program, args.chil...
not crash if executable is not there. resolve #<I>
py
diff --git a/tests/run-multitests.py b/tests/run-multitests.py index <HASH>..<HASH> 100755 --- a/tests/run-multitests.py +++ b/tests/run-multitests.py @@ -64,7 +64,10 @@ class multitest: def get_network_ip(): try: import network - ip = network.WLAN().ifconfig()[0] + if h...
tests/run-multitests.py: Use LAN for IP address if WLAN doesn't exist. This allows running the test on boards with just a LAN interface. Fixes issue #<I>.
py
diff --git a/tests/test_util.py b/tests/test_util.py index <HASH>..<HASH> 100644 --- a/tests/test_util.py +++ b/tests/test_util.py @@ -248,6 +248,19 @@ Host * val ) + def test_11_proxycommand_tilde_expansion(self): + """ + Tilde (~) should be expanded inside ProxyCommand...
Add tests for ~ expansion inside proxycommand
py
diff --git a/src/transformers/onnx/features.py b/src/transformers/onnx/features.py index <HASH>..<HASH> 100644 --- a/src/transformers/onnx/features.py +++ b/src/transformers/onnx/features.py @@ -303,8 +303,16 @@ class FeaturesManager: The instance of the model. """ + # If PyTorch and Tens...
Enable ONNX export when PyTorch and TensorFlow installed in the same environment (#<I>)
py
diff --git a/gordon_janitor/__init__.py b/gordon_janitor/__init__.py index <HASH>..<HASH> 100644 --- a/gordon_janitor/__init__.py +++ b/gordon_janitor/__init__.py @@ -15,7 +15,7 @@ # limitations under the License. __author__ = 'Lynn Root' -__version__ = '0.0.1.dev3' +__version__ = '0.0.1.dev4' __license__ = 'Apach...
Prepare <I>.dev4 release
py
diff --git a/pdftools/pdftools.py b/pdftools/pdftools.py index <HASH>..<HASH> 100755 --- a/pdftools/pdftools.py +++ b/pdftools/pdftools.py @@ -53,7 +53,7 @@ def pdf_merge(inputs: [str], output: str, delete: bool = False): def pdf_rotate( input: str, - degrees: int, + degrees: int = 90, counter_clockw...
Make degrees a kwarg. Will retain original functionality.
py
diff --git a/spyderlib/plugins/editor.py b/spyderlib/plugins/editor.py index <HASH>..<HASH> 100644 --- a/spyderlib/plugins/editor.py +++ b/spyderlib/plugins/editor.py @@ -903,6 +903,7 @@ class Editor(SpyderPluginWidget): self.dock_toolbar_actions = file_toolbar_actions + [None] + \ ...
Editor: Make debug toolbar visible in undocked editor. As suggested by Sylvain Corlay. See this thread for reference: <URL>
py
diff --git a/pymatgen/io/res.py b/pymatgen/io/res.py index <HASH>..<HASH> 100644 --- a/pymatgen/io/res.py +++ b/pymatgen/io/res.py @@ -67,7 +67,7 @@ class ResSFAC: ions: list[Ion] def __str__(self) -> str: - return "SFAC {}\n{}".format(" ".join(map("{:<2s}".format, self.species)), "\n".join(map(str, ...
need to finish SFAC block with END tag
py
diff --git a/auto_lens/test_profile.py b/auto_lens/test_profile.py index <HASH>..<HASH> 100644 --- a/auto_lens/test_profile.py +++ b/auto_lens/test_profile.py @@ -744,6 +744,16 @@ class TestEllipticalIsotermal: assert defls[0] == pytest.approx(0.25367, 1e-3) assert defls[1] == pytest.approx(0.397101,1...
Finished EllipticalIsothermalProfile unit tests
py
diff --git a/pyhdb/protocol/message.py b/pyhdb/protocol/message.py index <HASH>..<HASH> 100644 --- a/pyhdb/protocol/message.py +++ b/pyhdb/protocol/message.py @@ -31,7 +31,7 @@ class BaseMessage(object): self.session_id = session_id self.packet_count = packet_count self.autocommit = autocommi...
fixed bug in initializing message object with segment list/tuple
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -104,7 +104,7 @@ setup( version='5.4.0.dev0', author='David Cramer', author_email='dcramer@gmail.com', - url='http://github.com/getsentry/raven-python', + url='https://github.com/getsentry/raven-python', ...
Use https url in setup.py
py
diff --git a/alpaca_trade_api/polygon/rest.py b/alpaca_trade_api/polygon/rest.py index <HASH>..<HASH> 100644 --- a/alpaca_trade_api/polygon/rest.py +++ b/alpaca_trade_api/polygon/rest.py @@ -1,3 +1,4 @@ +import dateutil import requests from .entity import ( Aggs, Aggsv2, Aggsv2Set, @@ -141,8 +142,8 @@ class REST...
formatting the path url according to api definition
py
diff --git a/jaraco/services/paths.py b/jaraco/services/paths.py index <HASH>..<HASH> 100644 --- a/jaraco/services/paths.py +++ b/jaraco/services/paths.py @@ -1,6 +1,7 @@ import os import subprocess import abc +from typing import List import path @@ -17,7 +18,7 @@ class PathFinder(metaclass=abc.ABCMeta): d...
🧎‍♀️ Genuflect to the types.
py
diff --git a/resolwe/flow/models/utils.py b/resolwe/flow/models/utils.py index <HASH>..<HASH> 100644 --- a/resolwe/flow/models/utils.py +++ b/resolwe/flow/models/utils.py @@ -341,11 +341,11 @@ def hydrate_input_uploads(input_, input_schema, hydrate_values=True): for value in files: if 'file_temp' in value...
Ensure even absolute upload paths are resolved
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -44,6 +44,10 @@ html_sidebars = { '**': ['pyinfra_sidebar.html', 'searchbox.html'], } +exclude_patterns = [ + '_deploy_globals.rst', +] + def setup(app): this_dir = path.dirname(path.realpath...
Exclude `_deploy_globals.rst` file from sphinx indexing.
py
diff --git a/ipyrad/assemble/write_outputs.py b/ipyrad/assemble/write_outputs.py index <HASH>..<HASH> 100644 --- a/ipyrad/assemble/write_outputs.py +++ b/ipyrad/assemble/write_outputs.py @@ -1154,8 +1154,8 @@ def convert_outputs(data, oformat): # Allow one file to fail without breaking all step 7 rais...
Fix oops in handling errors during convert_outputs
py
diff --git a/src/pyclts/models.py b/src/pyclts/models.py index <HASH>..<HASH> 100644 --- a/src/pyclts/models.py +++ b/src/pyclts/models.py @@ -20,7 +20,22 @@ __all__ = [ 'Diphthong', 'Cluster', 'UnknownSound'] -EXCLUDE_FEATURES = ['apical', 'laminal', 'ejective'] +EXCLUDE_FEATURES = [ + 'apical', + ...
Implemented change by @lingulist in <URL>
py
diff --git a/bandicoot/io.py b/bandicoot/io.py index <HASH>..<HASH> 100644 --- a/bandicoot/io.py +++ b/bandicoot/io.py @@ -217,7 +217,6 @@ def load(name, records, antennas, attributes=None, antennas_path=None, If warnings is equal to False, the function will not output the warnings on the standard out...
Revert commit bce9bb5
py
diff --git a/examples/cookbook/cookbook/settings.py b/examples/cookbook/cookbook/settings.py index <HASH>..<HASH> 100644 --- a/examples/cookbook/cookbook/settings.py +++ b/examples/cookbook/cookbook/settings.py @@ -41,6 +41,7 @@ INSTALLED_APPS = [ "graphene_django", "cookbook.ingredients.apps.IngredientsConfi...
Adding Django filter as an installed app (#<I>)
py
diff --git a/holviapi/connection.py b/holviapi/connection.py index <HASH>..<HASH> 100644 --- a/holviapi/connection.py +++ b/holviapi/connection.py @@ -7,17 +7,20 @@ import requests @python_2_unicode_compatible class Connection(object): base_url_fmt = "https://holvi.com/api/" + session = None def __...
Use sessioned http-requests, allows connection pooling etc
py
diff --git a/geomdl/BSpline.py b/geomdl/BSpline.py index <HASH>..<HASH> 100644 --- a/geomdl/BSpline.py +++ b/geomdl/BSpline.py @@ -324,7 +324,7 @@ class Curve(object): return ret_check # Saves evaluated curve points to a CSV file - def save_surfpts_to_csv(self, filename=""): + def save_curvepts_to...
Corrected function name to save_curvepts_to_csv
py
diff --git a/dallinger/deployment.py b/dallinger/deployment.py index <HASH>..<HASH> 100644 --- a/dallinger/deployment.py +++ b/dallinger/deployment.py @@ -398,7 +398,7 @@ def setup_experiment(log, debug=True, verbose=False, app=None, exp_config=None): INITIAL_DELAY = 1 BACKOFF_FACTOR = 2 -MAX_ATTEMPTS = 4 +MAX_ATTE...
Since each retry delay is much shorter, add a couple more of them
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -9,13 +9,11 @@ from os import path from os.path import splitext +import shutil from setuptools import Extension from distutils import sysconfig import platform - -print sys.argv - # PyPy --- NB! PyPy doesn't really ...
* Remove stray print statement from setup
py
diff --git a/spiketoolkit/sorters/tests/test_herdingspikes.py b/spiketoolkit/sorters/tests/test_herdingspikes.py index <HASH>..<HASH> 100644 --- a/spiketoolkit/sorters/tests/test_herdingspikes.py +++ b/spiketoolkit/sorters/tests/test_herdingspikes.py @@ -14,6 +14,6 @@ class HerdingspikesSorterCommonTestSuite(SorterComm...
Test herding spikes on toy
py
diff --git a/qa_tests/hazard/event_based/spatial_correlation/_utils.py b/qa_tests/hazard/event_based/spatial_correlation/_utils.py index <HASH>..<HASH> 100644 --- a/qa_tests/hazard/event_based/spatial_correlation/_utils.py +++ b/qa_tests/hazard/event_based/spatial_correlation/_utils.py @@ -62,5 +62,5 @@ def get_gmvs_fo...
Tried with a cast to GEOMETRY
py
diff --git a/ravel.py b/ravel.py index <HASH>..<HASH> 100644 --- a/ravel.py +++ b/ravel.py @@ -552,7 +552,7 @@ class CMethod : ) if len(args) != 0 : #print("guess signature for %s = %s" % (repr(args), repr(guess_sequence_signature(args)))) # debug - message.append_objects(gue...
needed fix for prior change to Message.append_objects
py
diff --git a/documenteer/sphinxconfig/stackconf.py b/documenteer/sphinxconfig/stackconf.py index <HASH>..<HASH> 100644 --- a/documenteer/sphinxconfig/stackconf.py +++ b/documenteer/sphinxconfig/stackconf.py @@ -386,7 +386,10 @@ def build_package_configs(project_name, # List of patterns, relative to source direct...
Ignore the .github directory for pipelines.lsst.io .github contains reStructuredText files that are used only by GitHub to help contributors and aren't directly part of the docs build.
py
diff --git a/examples/text-classification/run_pl_glue.py b/examples/text-classification/run_pl_glue.py index <HASH>..<HASH> 100644 --- a/examples/text-classification/run_pl_glue.py +++ b/examples/text-classification/run_pl_glue.py @@ -54,7 +54,6 @@ class GLUETransformer(BaseTransformer): cached_features_fi...
Remove redundant line in run_pl_glue.py (#<I>)
py
diff --git a/pliers/stimuli/video.py b/pliers/stimuli/video.py index <HASH>..<HASH> 100644 --- a/pliers/stimuli/video.py +++ b/pliers/stimuli/video.py @@ -4,6 +4,7 @@ from __future__ import division from math import ceil from moviepy.video.io.VideoFileClip import VideoFileClip from .base import Stim +from .audio imp...
also fixed audio fps setting when loading video clips to prevent trickle down
py
diff --git a/creamas/core/environment.py b/creamas/core/environment.py index <HASH>..<HASH> 100644 --- a/creamas/core/environment.py +++ b/creamas/core/environment.py @@ -20,6 +20,7 @@ from aiomas import Container from creamas.logging import ObjectLogger from creamas.util import run_or_coro +from creamas.serializer...
Added basic serializers as default extra_serializers when creating a new Environment.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -80,6 +80,8 @@ class BuildExt(build_ext): objects = [] for lang, sources in (("c", c_sources), ("c++", cxx_sources)): if lang == "c++": + if platform.system() == "Darwin": + ...
[setup.py] pass extra compiler flags on OS X to enable support for C<I>: -stdlib=libc++ -mmacosx-version-min=<I>
py
diff --git a/stanza/models/constituency/label_attention.py b/stanza/models/constituency/label_attention.py index <HASH>..<HASH> 100644 --- a/stanza/models/constituency/label_attention.py +++ b/stanza/models/constituency/label_attention.py @@ -16,7 +16,7 @@ class BatchIndices: """ def __init__(self, batch_idxs...
int<I> no longer allowed for indexing
py
diff --git a/tests/test_utilities.py b/tests/test_utilities.py index <HASH>..<HASH> 100644 --- a/tests/test_utilities.py +++ b/tests/test_utilities.py @@ -337,7 +337,7 @@ class UtilitiesTest(unittest.TestCase): def testUseService(self): """ - Tests utilies.use_service() + Tests utilities.u...
Correction of a typo in a docstring
py
diff --git a/html5lib/treewalkers/lxmletree.py b/html5lib/treewalkers/lxmletree.py index <HASH>..<HASH> 100644 --- a/html5lib/treewalkers/lxmletree.py +++ b/html5lib/treewalkers/lxmletree.py @@ -139,7 +139,7 @@ class TreeWalker(_base.NonRecursiveTreeWalker): return _base.DOCTYPE, node.name, node.public_id,...
Make sure we have the unicode from of text in lxml fragment root
py
diff --git a/tests/tappio_test.py b/tests/tappio_test.py index <HASH>..<HASH> 100644 --- a/tests/tappio_test.py +++ b/tests/tappio_test.py @@ -72,8 +72,7 @@ def lexer_test(): # string tests lexer_single('"foobar"', [("string", "foobar")]) - with assert_raises(LexerError): - lexer_single('"foobar',...
tests: bah @ travis-ci, rewrite assert_raises usage without with
py
diff --git a/squad/core/models.py b/squad/core/models.py index <HASH>..<HASH> 100644 --- a/squad/core/models.py +++ b/squad/core/models.py @@ -520,7 +520,11 @@ class ProjectStatus(models.Model, TestSummaryBase): } status, created = cls.objects.get_or_create(build=build, defaults=data) - if no...
core: don't overwrite ProjectStatus with earlier data Fixes #<I> (hopefully)
py
diff --git a/safe/gui/tools/minimum_needs/needs_profile.py b/safe/gui/tools/minimum_needs/needs_profile.py index <HASH>..<HASH> 100644 --- a/safe/gui/tools/minimum_needs/needs_profile.py +++ b/safe/gui/tools/minimum_needs/needs_profile.py @@ -298,6 +298,14 @@ class NeedsProfile(MinimumNeeds): :returns: root di...
fix min needs manager not showing min needs profile #<I>
py
diff --git a/src/python/grpcio_reflection/grpc_reflection/v1alpha/reflection.py b/src/python/grpcio_reflection/grpc_reflection/v1alpha/reflection.py index <HASH>..<HASH> 100644 --- a/src/python/grpcio_reflection/grpc_reflection/v1alpha/reflection.py +++ b/src/python/grpcio_reflection/grpc_reflection/v1alpha/reflection....
Support custom pool in enable_server_reflection
py
diff --git a/safe_qgis/report/test/test_map.py b/safe_qgis/report/test/test_map.py index <HASH>..<HASH> 100644 --- a/safe_qgis/report/test/test_map.py +++ b/safe_qgis/report/test/test_map.py @@ -101,9 +101,9 @@ class MapTest(unittest.TestCase): 405359, # Ubuntu 13.04_64 427172, # Ubuntu 13.1...
Fix failing tests on jenkins develop branch due to version change.
py
diff --git a/squad/__init__.py b/squad/__init__.py index <HASH>..<HASH> 100644 --- a/squad/__init__.py +++ b/squad/__init__.py @@ -5,6 +5,6 @@ import os # Django starts so that shared_task will use this app. try: from .celery import app as celery_app # noqa -except ModuleNotFoundError as e: +except ImportError ...
squad/__init__.py: backport to work with Python <I> ModuleNotFoundError was added only in Python <I>
py
diff --git a/pug/invest/util.py b/pug/invest/util.py index <HASH>..<HASH> 100644 --- a/pug/invest/util.py +++ b/pug/invest/util.py @@ -15,7 +15,7 @@ from scipy import integrate from matplotlib import pyplot as plt from scipy.optimize import minimize -from pug.nlp.util import listify +from ..nlp.util import listify ...
no module named pug.nlp.util in manage.py test
py
diff --git a/airtest/aircv/aircv.py b/airtest/aircv/aircv.py index <HASH>..<HASH> 100644 --- a/airtest/aircv/aircv.py +++ b/airtest/aircv/aircv.py @@ -65,7 +65,7 @@ def rotate(img, angle=90, clockwise=True): # 将角度旋转转化为逆时针旋转90°的次数: counter_rotate_time = (4 - angle / 90) % 4 if clockwise else (angle / 90) % 4...
fix:TypeError: 'float' object cannot be interpreted as an integer
py
diff --git a/gifi/feature.py b/gifi/feature.py index <HASH>..<HASH> 100644 --- a/gifi/feature.py +++ b/gifi/feature.py @@ -1,4 +1,4 @@ -import github +import git_hub from utils import git_utils from utils.configuration import Configuration, configuration_command @@ -34,7 +34,7 @@ def _publish(): repo.git.push(...
bugfix: fix creating pull request from feature-publish command
py
diff --git a/synapse/lib/lmdbslab.py b/synapse/lib/lmdbslab.py index <HASH>..<HASH> 100644 --- a/synapse/lib/lmdbslab.py +++ b/synapse/lib/lmdbslab.py @@ -587,7 +587,7 @@ class Slab(s_base.Base): COMMIT_PERIOD = float(os.environ.get('SYN_SLAB_COMMIT_PERIOD', '0.2')) # warn if commit takes too long - WARN...
Change SYN_SLAB_COMMIT_WARN from <I> to <I> (SYN-<I>) (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -14,6 +14,7 @@ setup(name='rows', install_requires=[], extras_require = { 'html': ['lxml'], # apt: libxslt-dev libxml2-dev + 'cli': ['requests'], 'mysql': ['MySQL-Python'], # apt: libmariadbc...
Add requests to "cli" extras require
py
diff --git a/tools/plex-bootstraptest.py b/tools/plex-bootstraptest.py index <HASH>..<HASH> 100755 --- a/tools/plex-bootstraptest.py +++ b/tools/plex-bootstraptest.py @@ -109,13 +109,11 @@ def create_section(server, section, opts): if 'mediaState' not in entry and entry['type'] in expected_media_ty...
Its wasn't actually a workaround.
py
diff --git a/examples/robots.py b/examples/robots.py index <HASH>..<HASH> 100755 --- a/examples/robots.py +++ b/examples/robots.py @@ -13,6 +13,7 @@ robot then they will kill you, so watch out. import sys import tty +import termios from random import randint from lenses import lens @@ -22,6 +23,16 @@ MAXY = 20 ...
fixed bug with terminal not being reset in robots.py example
py
diff --git a/django_unixdatetimefield/fields.py b/django_unixdatetimefield/fields.py index <HASH>..<HASH> 100644 --- a/django_unixdatetimefield/fields.py +++ b/django_unixdatetimefield/fields.py @@ -11,7 +11,9 @@ class UnixDateTimeField(models.DateTimeField): # * should we take care of transforming between time zo...
fixed Django <I> and <I> support problem was missing from_db_value() override in fields subclass. related issues are #3 and #4
py
diff --git a/tools/kit_tools/build_kits.py b/tools/kit_tools/build_kits.py index <HASH>..<HASH> 100644 --- a/tools/kit_tools/build_kits.py +++ b/tools/kit_tools/build_kits.py @@ -306,7 +306,7 @@ if __name__ == "__main__": # get ssh config [key_filename, hostname] CentosSSHInfo = getSSHInfoForHost("buildkits...
Change build machine to voltmini2 until voltmini gets updated.
py
diff --git a/memorious/model/queue.py b/memorious/model/queue.py index <HASH>..<HASH> 100644 --- a/memorious/model/queue.py +++ b/memorious/model/queue.py @@ -3,7 +3,7 @@ import logging from servicelayer.process import ServiceQueue from memorious.core import manager, conn -from memorious.model.common import unpack_...
datetime objects in data needs to serialized/deserialized
py