diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/dipper/sources/FlyBase.py b/dipper/sources/FlyBase.py index <HASH>..<HASH> 100644 --- a/dipper/sources/FlyBase.py +++ b/dipper/sources/FlyBase.py @@ -711,7 +711,8 @@ class FlyBase(PostgreSQLSource): # amelorates, exacerbates, and DOES NOT * continue - ...
Changed biolink category for DO ID item to disease
py
diff --git a/suds/argparser.py b/suds/argparser.py index <HASH>..<HASH> 100644 --- a/suds/argparser.py +++ b/suds/argparser.py @@ -70,8 +70,9 @@ class ArgParser: """ Constructs a new ArgParser instance. - Passed args & kwargs objects are considered owned by the new argument - parser in...
make ArgParser no longer modify its passed args/kwargs
py
diff --git a/airflow/example_dags/tutorial.py b/airflow/example_dags/tutorial.py index <HASH>..<HASH> 100644 --- a/airflow/example_dags/tutorial.py +++ b/airflow/example_dags/tutorial.py @@ -22,9 +22,9 @@ Documentation that goes along with the Airflow tutorial located [here](https://airflow.apache.org/tutorial.html) ...
Improve tutorial - Include all imports statements (#<I>)
py
diff --git a/pandas/io/parsers.py b/pandas/io/parsers.py index <HASH>..<HASH> 100644 --- a/pandas/io/parsers.py +++ b/pandas/io/parsers.py @@ -52,9 +52,8 @@ na_values : list-like or dict, default None per-column NA values parse_dates : boolean, list of ints or names, list of lists, or dict True -> try parsin...
DOC: cleaned up parser doc string to stop sphinx from complaining
py
diff --git a/pylivetrader/executor/realtimeclock.py b/pylivetrader/executor/realtimeclock.py index <HASH>..<HASH> 100644 --- a/pylivetrader/executor/realtimeclock.py +++ b/pylivetrader/executor/realtimeclock.py @@ -109,7 +109,6 @@ class RealtimeClock(object): sleep(1) elif server_time ...
don't yield BAR at session end - market already closed
py
diff --git a/fake_filesystem_test.py b/fake_filesystem_test.py index <HASH>..<HASH> 100755 --- a/fake_filesystem_test.py +++ b/fake_filesystem_test.py @@ -3276,6 +3276,9 @@ class DriveLetterSupportTest(TestCase): def testCharactersBeforeRootIgnoredInJoinPaths(self): self.assertEqual('c:/d', self.filesystem.Join...
Fixed behavior of ResolvePath() for Windows paths see issue #<I>
py
diff --git a/ips_vagrant/commands/cmd_setup.py b/ips_vagrant/commands/cmd_setup.py index <HASH>..<HASH> 100644 --- a/ips_vagrant/commands/cmd_setup.py +++ b/ips_vagrant/commands/cmd_setup.py @@ -1,6 +1,8 @@ +import os +import shutil +import logging import apt import click -import logging from ips_vagrant.cli import ...
Create directories and copy configuration on setup
py
diff --git a/prettyplotlib/_beeswarm.py b/prettyplotlib/_beeswarm.py index <HASH>..<HASH> 100644 --- a/prettyplotlib/_beeswarm.py +++ b/prettyplotlib/_beeswarm.py @@ -99,7 +99,7 @@ def _beeswarm(ax, x, notch=0, sym='b+', vert=1, whis=1.5, else: x = [x[:,i] for i in xrange(nc)] els...
Resolved a python <I> syntax problem
py
diff --git a/salt/auth/__init__.py b/salt/auth/__init__.py index <HASH>..<HASH> 100644 --- a/salt/auth/__init__.py +++ b/salt/auth/__init__.py @@ -312,7 +312,8 @@ class Resolver(object): def _send_token_request(self, load): sreq = salt.payload.SREQ( - 'tcp://{0[interface]}:{0[ret_port]}'.form...
Add IPv6 support to auth Resolver
py
diff --git a/appinst/platforms/__init__.py b/appinst/platforms/__init__.py index <HASH>..<HASH> 100644 --- a/appinst/platforms/__init__.py +++ b/appinst/platforms/__init__.py @@ -0,0 +1,23 @@ +import sys +from os.path import isfile, join + + + +def load_system_module(mod): + """ + Loads the given module from the ...
added importing pywin<I> DLLs from scripts directory
py
diff --git a/src/foremast/consts.py b/src/foremast/consts.py index <HASH>..<HASH> 100644 --- a/src/foremast/consts.py +++ b/src/foremast/consts.py @@ -79,11 +79,8 @@ def extract_formats(config_handle): dict: of formats in {$format_type: $format_pattern}. See (gogoutils.Formats) for available options. ...
fix: Lookup formats configuration in dict fashion
py
diff --git a/kconfiglib.py b/kconfiglib.py index <HASH>..<HASH> 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -869,6 +869,9 @@ class Config(): self.parse_expr_cur_sym_or_choice.referenced_syms.add(sym_or_string) next_token = feed.peek_next() + + # For conditional expressions ('depends...
Add comment about m && MODULES rewriting.
py
diff --git a/bitex/formatters/quoine.py b/bitex/formatters/quoine.py index <HASH>..<HASH> 100644 --- a/bitex/formatters/quoine.py +++ b/bitex/formatters/quoine.py @@ -14,9 +14,9 @@ class QoinFormatter(Formatter): @staticmethod def ticker(data, *args, **kwargs): - return (data['market_bid'], data['mar...
Quoine API changes as refered by <URL>
py
diff --git a/openquake/risklib/riskmodels.py b/openquake/risklib/riskmodels.py index <HASH>..<HASH> 100644 --- a/openquake/risklib/riskmodels.py +++ b/openquake/risklib/riskmodels.py @@ -76,11 +76,9 @@ class RiskModel(object): :param epsgetter: an epsilon getter function :returns: an ArrayWrapper of s...
Some refactoring Former-commit-id: 6ff<I>db<I>fb<I>a9db5b<I>feac1a0c<I>cd<I>
py
diff --git a/GPy/testing/kernel_tests.py b/GPy/testing/kernel_tests.py index <HASH>..<HASH> 100644 --- a/GPy/testing/kernel_tests.py +++ b/GPy/testing/kernel_tests.py @@ -188,7 +188,6 @@ def check_kernel_gradient_functions(kern, X=None, X2=None, output_ind=None, verb if not result: print(("Gradient of K(X...
Removed debugger set up command
py
diff --git a/dvc/version.py b/dvc/version.py index <HASH>..<HASH> 100644 --- a/dvc/version.py +++ b/dvc/version.py @@ -6,7 +6,7 @@ import os import subprocess -_BASE_VERSION = "1.7.1" +_BASE_VERSION = "1.7.2" def _generate_version(base_version):
dvc: bump to <I>
py
diff --git a/spyderlib/widgets/comboboxes.py b/spyderlib/widgets/comboboxes.py index <HASH>..<HASH> 100644 --- a/spyderlib/widgets/comboboxes.py +++ b/spyderlib/widgets/comboboxes.py @@ -81,6 +81,7 @@ class EditableComboBox(BaseComboBox): """ def __init__(self, parent): super(EditableComboBox, self...
Object inspector: minimum width was sometimes too high due to combo box size policy
py
diff --git a/tmuxp/__init__.py b/tmuxp/__init__.py index <HASH>..<HASH> 100644 --- a/tmuxp/__init__.py +++ b/tmuxp/__init__.py @@ -20,4 +20,4 @@ from . import config, util import logging -__version__ = '0.0.10-dev' +__version__ = '0.0.11-dev'
<I> for cli improvements
py
diff --git a/web_pdb/wsgi_app.py b/web_pdb/wsgi_app.py index <HASH>..<HASH> 100644 --- a/web_pdb/wsgi_app.py +++ b/web_pdb/wsgi_app.py @@ -59,7 +59,7 @@ def root(): @app.route('/output/<mode>') def send(mode): if app.history.is_dirty or mode == 'history': - bottle.response.content_type = 'application/json...
Adds charset=utf-8 to json response header
py
diff --git a/tests/test_image.py b/tests/test_image.py index <HASH>..<HASH> 100644 --- a/tests/test_image.py +++ b/tests/test_image.py @@ -26,4 +26,4 @@ class TestGallery(unittest.TestCase): reflist = [os.path.join(self.path, 'sample', 'dir2', f) for f in ['test1.jpg', 'test2.jpg']] ...
use assertItemsEqual as the order of the list of files returned by os.walk is not always the same.
py
diff --git a/iopipe/contrib/trace/auto_http.py b/iopipe/contrib/trace/auto_http.py index <HASH>..<HASH> 100644 --- a/iopipe/contrib/trace/auto_http.py +++ b/iopipe/contrib/trace/auto_http.py @@ -1,4 +1,5 @@ import collections +import copy import uuid try: @@ -126,6 +127,7 @@ def collect_metrics_for_response(http_r...
Make copy of http response before mutating (#<I>) Closes #<I>
py
diff --git a/django_rq/views.py b/django_rq/views.py index <HASH>..<HASH> 100644 --- a/django_rq/views.py +++ b/django_rq/views.py @@ -3,6 +3,7 @@ from django.contrib.admin.views.decorators import staff_member_required from django.http import Http404 from django.shortcuts import redirect, render +from redis.excepti...
Treat EVALSHA errors on Redis < <I> This closes #<I>.
py
diff --git a/holoviews/util.py b/holoviews/util.py index <HASH>..<HASH> 100644 --- a/holoviews/util.py +++ b/holoviews/util.py @@ -28,6 +28,9 @@ class Dynamic(param.ParameterizedFunction): kwargs = param.Dict(default={}, doc=""" Keyword arguments passed to the function.""") + shared_data = param.Bool...
Added shared_data option to Dynamic utility
py
diff --git a/fusesoc/fusesocconfigparser.py b/fusesoc/fusesocconfigparser.py index <HASH>..<HASH> 100644 --- a/fusesoc/fusesocconfigparser.py +++ b/fusesoc/fusesocconfigparser.py @@ -12,8 +12,7 @@ class FusesocConfigParser(configparser.SafeConfigParser): else: super(FusesocConfigParser, self).__in...
fusesocconfigparser: Raise exception instead of exit
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup setup(name='ostruct', - version='2.0', + version='1.1', description='OpenStruct Data Structure', long_description='OpenStruct, the felixble data structure.'...
Updated pypi Development Status to 5 - Production/Stable
py
diff --git a/dbussy.py b/dbussy.py index <HASH>..<HASH> 100644 --- a/dbussy.py +++ b/dbussy.py @@ -3349,6 +3349,8 @@ class Message : #begin append_objects append_sub(parse_signature(signature), args, self.iter_init_append()) + return \ + self #end append_objects @property
allow method chaining with Message.append_objects
py
diff --git a/contrib/ovirt/lib/ovirtlago/testlib.py b/contrib/ovirt/lib/ovirtlago/testlib.py index <HASH>..<HASH> 100644 --- a/contrib/ovirt/lib/ovirtlago/testlib.py +++ b/contrib/ovirt/lib/ovirtlago/testlib.py @@ -20,6 +20,7 @@ import datetime import functools import os +import time import nose.plugins from nos...
Add sleep in assertion loop Right now, there's no sleep between retries. Add 3 secs delay. Also, print how long the timeout has been in the error message. Change-Id: I<I>e<I>f3f5fecf8cfcb9f<I>a<I>b<I>ad2
py
diff --git a/werobot/session/filestorage.py b/werobot/session/filestorage.py index <HASH>..<HASH> 100644 --- a/werobot/session/filestorage.py +++ b/werobot/session/filestorage.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- + try: import anydbm as dbm assert dbm @@ -9,6 +11,11 @@ from werobot.utils import json_l...
add docstrings for FileStorage
py
diff --git a/montblanc/BaseSolver.py b/montblanc/BaseSolver.py index <HASH>..<HASH> 100644 --- a/montblanc/BaseSolver.py +++ b/montblanc/BaseSolver.py @@ -485,8 +485,9 @@ class BaseSolver(Solver): source_key = 'default' if create_cpu_ary or create_gpu_ary: - default_ary = np.empty(sha...
Create aligned memory by default, all the better for memory pinning later on.
py
diff --git a/scripts/sample_script.py b/scripts/sample_script.py index <HASH>..<HASH> 100755 --- a/scripts/sample_script.py +++ b/scripts/sample_script.py @@ -49,7 +49,7 @@ wf = Workflow() # is not a parameter, the loop below will run once with an empty string for # data_path. for data_path, output_ID, params in wf....
Temporary changes to make it easier to attach to the GUI
py
diff --git a/pandas/tests/test_rplot.py b/pandas/tests/test_rplot.py index <HASH>..<HASH> 100644 --- a/pandas/tests/test_rplot.py +++ b/pandas/tests/test_rplot.py @@ -63,6 +63,17 @@ class TestUtilityFunctions(unittest.TestCase): self.assertTrue(rplot.dictionary_union({}, dict1) == dict1) self.assertTrue(rplot.dic...
Added test_merge_aes method
py
diff --git a/scanpy/plotting/tools/__init__.py b/scanpy/plotting/tools/__init__.py index <HASH>..<HASH> 100644 --- a/scanpy/plotting/tools/__init__.py +++ b/scanpy/plotting/tools/__init__.py @@ -505,11 +505,14 @@ def rank_genes_groups_violin( for g in gene_names: if adata.raw is not None and use_r...
Fix KeyError in rank_genes_groups_violin with gene_symbols argument When using the gene_symbol argument, KeyError is raised accessing adata.var when it should be accessing adata.raw.var. The variable, g, is also reassigned so df column names match new gene symbols when calling pd.melt on df.
py
diff --git a/colab/accounts/forms.py b/colab/accounts/forms.py index <HASH>..<HASH> 100644 --- a/colab/accounts/forms.py +++ b/colab/accounts/forms.py @@ -32,6 +32,11 @@ class UserForm(forms.ModelForm): # Forces username to be lowercase always widget=forms.TextInput(attrs={'style' : 'text-transform: l...
Set email to be read-only field Email is a read-only field so that user won't change it in the 'Register' step
py
diff --git a/hwt/interfaces/structIntf.py b/hwt/interfaces/structIntf.py index <HASH>..<HASH> 100644 --- a/hwt/interfaces/structIntf.py +++ b/hwt/interfaces/structIntf.py @@ -1,5 +1,5 @@ from copy import copy -from typing import Optional, Union +from typing import Optional, Union, Set from hwt.code import And, Or ...
Interface_to_HdlType support for exclude
py
diff --git a/fabfile.py b/fabfile.py index <HASH>..<HASH> 100644 --- a/fabfile.py +++ b/fabfile.py @@ -6,5 +6,10 @@ def make(): def clean(): local('python setup.py clean --all') +def docs(): + with lcd('docs'): + local('sphinx-build -b html . ./_build') + local('open _build/index.html') + def ...
* Add documentation building to fabfile
py
diff --git a/reana_db/version.py b/reana_db/version.py index <HASH>..<HASH> 100644 --- a/reana_db/version.py +++ b/reana_db/version.py @@ -14,4 +14,4 @@ and parsed by ``setup.py``. from __future__ import absolute_import, print_function -__version__ = "0.8.0a17" +__version__ = "0.8.0a18"
release: <I>a<I>
py
diff --git a/anndata/tests/test_readwrite.py b/anndata/tests/test_readwrite.py index <HASH>..<HASH> 100644 --- a/anndata/tests/test_readwrite.py +++ b/anndata/tests/test_readwrite.py @@ -1,5 +1,6 @@ +import sys from importlib.util import find_spec -from pathlib import Path +from pathlib import Path, PurePath import...
Try fixing tests for <I>
py
diff --git a/domcheck/strategies.py b/domcheck/strategies.py index <HASH>..<HASH> 100644 --- a/domcheck/strategies.py +++ b/domcheck/strategies.py @@ -1,9 +1,15 @@ # -*- coding: utf-8 -*- import dns.resolver -import urllib2 import re +try: + # For Python 3.0 and later + from urllib.request import urlopen +...
Fix python 3 support
py
diff --git a/dagobah/email/__init__.py b/dagobah/email/__init__.py index <HASH>..<HASH> 100644 --- a/dagobah/email/__init__.py +++ b/dagobah/email/__init__.py @@ -12,10 +12,13 @@ def get_email_handler(handler_name, email_options): user = email_options.get('user', None) user = user.lower() if isinstance(user, ...
break out of handler_name being none case
py
diff --git a/mapillary_tools/commands/upload.py b/mapillary_tools/commands/upload.py index <HASH>..<HASH> 100644 --- a/mapillary_tools/commands/upload.py +++ b/mapillary_tools/commands/upload.py @@ -13,20 +13,14 @@ class Command: "--user_name", help="Upload to which Mapillary user account", required=False ...
Remove upload --organization_username which is need been used since <I>
py
diff --git a/pyqode/python/modes/calltips.py b/pyqode/python/modes/calltips.py index <HASH>..<HASH> 100644 --- a/pyqode/python/modes/calltips.py +++ b/pyqode/python/modes/calltips.py @@ -99,6 +99,13 @@ class CalltipsMode(Mode, QtCore.QObject): fn = self.editor.filePath encoding = self.editor.f...
Fix calltips if there is a closing paren
py
diff --git a/soundcloud/client.py b/soundcloud/client.py index <HASH>..<HASH> 100644 --- a/soundcloud/client.py +++ b/soundcloud/client.py @@ -142,6 +142,8 @@ class Client(object): return '%s.json' % (name,) return name name = name.rstrip('/').lstrip('/') + if name[-13:] ==...
Update client.py Group contributions are giving <I> errors with the appended `.json` extension, hence this crude hack. Once this issue is fixed, we can remove this hack: <URL>
py
diff --git a/doc/make.py b/doc/make.py index <HASH>..<HASH> 100755 --- a/doc/make.py +++ b/doc/make.py @@ -72,7 +72,12 @@ def upload_prev(ver, doc_root='./'): if os.system(pdf_cmd): raise SystemExit('Upload PDF to %s from %s failed' % (ver, doc_root)) - +def build_pandas(): + os.chdir('..') + ...
Add a convenience function to compile pandas ready for doc-building
py
diff --git a/billy/web/public/views/events.py b/billy/web/public/views/events.py index <HASH>..<HASH> 100644 --- a/billy/web/public/views/events.py +++ b/billy/web/public/views/events.py @@ -79,7 +79,7 @@ def event(request, abbr, event_id): gcal_info = { "action": "TEMPLATE", - "text": event['des...
UTF-8 encode description as well.
py
diff --git a/py/apigen/apigen.py b/py/apigen/apigen.py index <HASH>..<HASH> 100644 --- a/py/apigen/apigen.py +++ b/py/apigen/apigen.py @@ -15,7 +15,9 @@ from py.__.apigen.tracer.docstorage import pkg_to_dict def get_documentable_items(pkgdir): sys.path.insert(0, str(pkgdir.dirpath())) rootmod = __import__(pk...
[svn r<I>] Added 'execnet.channel.Channel' object to the to-be-documented items. --HG-- branch : trunk
py
diff --git a/djoser/serializers.py b/djoser/serializers.py index <HASH>..<HASH> 100644 --- a/djoser/serializers.py +++ b/djoser/serializers.py @@ -121,17 +121,12 @@ class TokenCreateSerializer(serializers.Serializer): ) self._validate_user_exists(self.user) - self._validate_user_is_active(sel...
Remove spurious test of active user After django==<I> the authenticate method tests if user is active, so we can drop the spurious test from djoser.
py
diff --git a/pkutils.py b/pkutils.py index <HASH>..<HASH> 100644 --- a/pkutils.py +++ b/pkutils.py @@ -34,7 +34,7 @@ from functools import total_ordering import semver -__version__ = '0.13.5' +__version__ = '0.13.6' __title__ = 'pkutils' __author__ = 'Reuben Cummings'
Bump to version <I>
py
diff --git a/scanpy/data_structs/data_graph.py b/scanpy/data_structs/data_graph.py index <HASH>..<HASH> 100644 --- a/scanpy/data_structs/data_graph.py +++ b/scanpy/data_structs/data_graph.py @@ -685,9 +685,10 @@ class DataGraph(): 'Computation needs to be adjusted if sym=False.') ...
accounted for float<I> precision in distance computation
py
diff --git a/tools/vis2.py b/tools/vis2.py index <HASH>..<HASH> 100755 --- a/tools/vis2.py +++ b/tools/vis2.py @@ -145,13 +145,13 @@ def plot(title, xlabel, ylabel, filename, width, height, app, data, series, mind polarity = 1 cv = np.nanmin(ma) rp = (u[0][...
perfcharts: flag charts out of limits only for master branch
py
diff --git a/bambi/priors.py b/bambi/priors.py index <HASH>..<HASH> 100644 --- a/bambi/priors.py +++ b/bambi/priors.py @@ -163,13 +163,13 @@ class PriorFactory(object): class PriorScaler(object): - # Default is 'value'. The value prior SD is sqrt(1/3) = .577 on the partial + # Default is 'wide'. The wide pri...
fixes earlier find/replace error that turned wide --> value in priors
py
diff --git a/txkoji/estimates.py b/txkoji/estimates.py index <HASH>..<HASH> 100644 --- a/txkoji/estimates.py +++ b/txkoji/estimates.py @@ -16,7 +16,7 @@ def average_build_duration(connection, package): :param package: package name :returns: deferred that when fired returns a datetime.timedelta object """...
estimates: handle ints in average_build_duration average_build_duration() would crash if given a package ID (int), because ints do not have an .endswith() method.
py
diff --git a/saspy/sasiohttp.py b/saspy/sasiohttp.py index <HASH>..<HASH> 100644 --- a/saspy/sasiohttp.py +++ b/saspy/sasiohttp.py @@ -471,7 +471,8 @@ class SASsessionHTTP(): break if not uri: - raise SASHTTPconnectionError(msg="Link to POST compute server not found in context info\n{}".fo...
catch odd compute server error with no context info
py
diff --git a/pyt/flask_adaptor.py b/pyt/flask_adaptor.py index <HASH>..<HASH> 100644 --- a/pyt/flask_adaptor.py +++ b/pyt/flask_adaptor.py @@ -17,4 +17,7 @@ class FlaskAdaptor(FrameworkAdaptor): def run(self): """Executed by the super class, everything that needs to be executed goes here.""" - se...
Flask adaptor can handle multiple cfgs
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -10,6 +10,7 @@ setup(author='Chris Rosenthal', version=utils.version(), url='https://github.com/crosenth/csvpandas', install_requires=['pandas>=0.16.2'], + license='GPLv3', classifiers=[ ...
adding license info back in addition to classifier
py
diff --git a/salt/master.py b/salt/master.py index <HASH>..<HASH> 100644 --- a/salt/master.py +++ b/salt/master.py @@ -711,15 +711,29 @@ class AESFuncs(object): log.info(('Publishing minion job: #{0[jid]}, func: "{0[fun]}", args:' ' "{0[arg]}", target: "{0[tgt]}"').format(load)) pub...
Add full_returns to publish interactions
py
diff --git a/dpark/broadcast.py b/dpark/broadcast.py index <HASH>..<HASH> 100644 --- a/dpark/broadcast.py +++ b/dpark/broadcast.py @@ -50,6 +50,7 @@ class Broadcast: MaxRetryCount = 2 MinKnockInterval = 500 MaxKnockInterval = 999 + def __init__(self, value, is_local): self.uuid = str(uu...
bugfix: Broadcast is not initialized in executor
py
diff --git a/django_extensions/compat.py b/django_extensions/compat.py index <HASH>..<HASH> 100644 --- a/django_extensions/compat.py +++ b/django_extensions/compat.py @@ -41,8 +41,10 @@ def load_tag_library(libname): def get_template_setting(template_key, default=None): """ Read template settings pre and post dja...
update to search all the TEMPLATES configurations
py
diff --git a/selenium_test/steps/caret.py b/selenium_test/steps/caret.py index <HASH>..<HASH> 100644 --- a/selenium_test/steps/caret.py +++ b/selenium_test/steps/caret.py @@ -41,7 +41,9 @@ def step_impl(context): return range.getBoundingClientRect(); """, element) - last_click = {"left": int(rect["left"]...
Changed some of the parameters of the test so that it works on Firefox.
py
diff --git a/tests/test_cli.py b/tests/test_cli.py index <HASH>..<HASH> 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -427,8 +427,9 @@ def test_sync(nb_file, tmpdir, capsys): nb = readf(nb_file) writef(nb, tmp_ipynb) - # Test that sync works (does nothing) when notebook is not paired - jup...
sync fails when notebook is not paired
py
diff --git a/openpnm/network/GenericNetwork.py b/openpnm/network/GenericNetwork.py index <HASH>..<HASH> 100644 --- a/openpnm/network/GenericNetwork.py +++ b/openpnm/network/GenericNetwork.py @@ -318,10 +318,11 @@ class GenericNetwork(Base, ModelsMixin): >>> am = pn.create_adjacency_matrix(weights=weights, fmt=...
Minor refactor of GenericNetwork
py
diff --git a/holoviews/core/dimension.py b/holoviews/core/dimension.py index <HASH>..<HASH> 100644 --- a/holoviews/core/dimension.py +++ b/holoviews/core/dimension.py @@ -291,6 +291,14 @@ class Dimension(param.Parameterized): return title_format.format(name=bytes_to_unicode(self.label), val=value, unit=unit) ...
Restored __hash__ with docstring explaining why it is needed
py
diff --git a/src/nupic/research/temporal_memory.py b/src/nupic/research/temporal_memory.py index <HASH>..<HASH> 100644 --- a/src/nupic/research/temporal_memory.py +++ b/src/nupic/research/temporal_memory.py @@ -341,7 +341,9 @@ class TemporalMemory(object): `cells` (list), ...
reverts generating cell in else change
py
diff --git a/troposphere/ec2.py b/troposphere/ec2.py index <HASH>..<HASH> 100644 --- a/troposphere/ec2.py +++ b/troposphere/ec2.py @@ -297,7 +297,7 @@ class Subnet(AWSObject): 'AvailabilityZone': (basestring, False), 'CidrBlock': (basestring, True), 'Tags': (list, False), - 'VpcId': (R...
Making VPC ID more flexible by allowing string references as well as Refs
py
diff --git a/system_maintenance/models.py b/system_maintenance/models.py index <HASH>..<HASH> 100644 --- a/system_maintenance/models.py +++ b/system_maintenance/models.py @@ -1,4 +1,5 @@ from django.conf import settings +from django.core.exceptions import ValidationError from django.db import models from django.util...
Do not allow a record be related to itself
py
diff --git a/tensorlayer/layers/flow_control.py b/tensorlayer/layers/flow_control.py index <HASH>..<HASH> 100644 --- a/tensorlayer/layers/flow_control.py +++ b/tensorlayer/layers/flow_control.py @@ -20,6 +20,11 @@ class MultiplexerLayer(Layer): name : str A unique layer name. + Attributes + ------...
another pass of flow_control.py
py
diff --git a/pyvisa-sim/__init__.py b/pyvisa-sim/__init__.py index <HASH>..<HASH> 100644 --- a/pyvisa-sim/__init__.py +++ b/pyvisa-sim/__init__.py @@ -13,5 +13,15 @@ from __future__ import division, unicode_literals, print_function, absolute_impo from .highlevel import SimVisaLibrary +import pkg_resources + +__ver...
Added __version__ attribute to package
py
diff --git a/output.py b/output.py index <HASH>..<HASH> 100644 --- a/output.py +++ b/output.py @@ -76,6 +76,7 @@ def generateFrontpage(fm): def generateOPF(article, dirname): '''Creates the content.opf document from an Article instance issued as input''' from xml.dom.minidom import getDOMImplementation + ...
Further development of generateOPF: provides example implementation of processing authors to DC/OPF
py
diff --git a/c3d.py b/c3d.py index <HASH>..<HASH> 100644 --- a/c3d.py +++ b/c3d.py @@ -693,6 +693,9 @@ class Manager(dict): def analog_frame_rate(self): return self.get_float('ANALOG:RATE') + def point_labels(self): + return self.get('POINT:LABELS').string_array + def first_frame(self): ...
Add helper method for retrieving point labels.
py
diff --git a/python/dllib/src/bigdl/dllib/net/utils.py b/python/dllib/src/bigdl/dllib/net/utils.py index <HASH>..<HASH> 100644 --- a/python/dllib/src/bigdl/dllib/net/utils.py +++ b/python/dllib/src/bigdl/dllib/net/utils.py @@ -75,6 +75,12 @@ def to_bigdl_optim_method(koptim_method): import tensorflow as tf fr...
Support multiple optimMethods in TFTrainingHelper2 (#<I>) * add support for multiple optim method * remove import * sort variables * fix python * style * meet review * add comment for tfsubgraph
py
diff --git a/bcbio/bam/__init__.py b/bcbio/bam/__init__.py index <HASH>..<HASH> 100644 --- a/bcbio/bam/__init__.py +++ b/bcbio/bam/__init__.py @@ -362,6 +362,9 @@ def sort(in_bam, config, order="coordinate"): os.path.basename(sort_file))) except: logger.exception("...
Correctly reset cores and memory for last resort sort Does a single core sort to avoid duplicating failed sambamba sort.
py
diff --git a/airflow/models/baseoperator.py b/airflow/models/baseoperator.py index <HASH>..<HASH> 100644 --- a/airflow/models/baseoperator.py +++ b/airflow/models/baseoperator.py @@ -221,7 +221,8 @@ class BaseOperator(Operator, LoggingMixin, TaskMixin, metaclass=BaseOperatorMeta :param task_id: a unique, meaning...
docs(dagowner): describe dag owner more carefully (#<I>) Describe dag `owner` more carefully
py
diff --git a/dispatch/modules/content/models.py b/dispatch/modules/content/models.py index <HASH>..<HASH> 100644 --- a/dispatch/modules/content/models.py +++ b/dispatch/modules/content/models.py @@ -24,7 +24,6 @@ from dispatch.theme import ThemeManager from dispatch.modules.content.managers import ArticleManager from...
Remove save_template_fields method
py
diff --git a/climlab/radiation/radiation.py b/climlab/radiation/radiation.py index <HASH>..<HASH> 100644 --- a/climlab/radiation/radiation.py +++ b/climlab/radiation/radiation.py @@ -13,6 +13,18 @@ State: - Ts (surface radiative temperature) - Tatm (air temperature) +Input arguments (both LW and SW): + + ...
Start to elaborate documentation of radiation inputs. Needs work.
py
diff --git a/palladium/fit.py b/palladium/fit.py index <HASH>..<HASH> 100644 --- a/palladium/fit.py +++ b/palladium/fit.py @@ -172,9 +172,11 @@ def grid_search(dataset_loader_train, model, grid_search): scores = [] means = gs.cv_results_['mean_test_score'] stds = gs.cv_results_['std_test_score'] - for...
Order grid search results, preserve previous output format.
py
diff --git a/oemof_pg/feedin_pg.py b/oemof_pg/feedin_pg.py index <HASH>..<HASH> 100644 --- a/oemof_pg/feedin_pg.py +++ b/oemof_pg/feedin_pg.py @@ -25,7 +25,6 @@ class Feedin: [pv_df, wind_df, cap] = self.get_timeseries( conn, geometry=region.geom, - year=region.year, ...
adapt feedin_pg to changed core classes
py
diff --git a/ariba/aln_to_metadata.py b/ariba/aln_to_metadata.py index <HASH>..<HASH> 100644 --- a/ariba/aln_to_metadata.py +++ b/ariba/aln_to_metadata.py @@ -1,7 +1,5 @@ -import os import re import sys -import shutil import pyfastaq from ariba import sequence_variant @@ -224,14 +222,13 @@ class AlnToMetadata: ...
Remove unused imports and vars
py
diff --git a/bors/generics/config.py b/bors/generics/config.py index <HASH>..<HASH> 100644 --- a/bors/generics/config.py +++ b/bors/generics/config.py @@ -2,8 +2,10 @@ from marshmallow import Schema, fields, post_load +from bors.common.dotobj import DotObj -class Conf: + +class Conf(DotObj): """Loads a sane...
Converted Conf to DotObj
py
diff --git a/main.py b/main.py index <HASH>..<HASH> 100755 --- a/main.py +++ b/main.py @@ -231,7 +231,7 @@ def main(): if 'http://www' in i: download = True document, xml_local = urlInput(i.rstrip('\n'), args.save_xml) - elif input[:4] == 'doi:': + el...
Fixed error in collection mode input handling, it was introduced during PEP8 checking
py
diff --git a/keyboard/__init__.py b/keyboard/__init__.py index <HASH>..<HASH> 100644 --- a/keyboard/__init__.py +++ b/keyboard/__init__.py @@ -209,8 +209,7 @@ def add_hotkey(hotkey, callback, args=(), blocking=True, timeout=1): state.step += 1 if state.step == len(steps): ...
Remove artifical delays since Windows is no longer synchronous
py
diff --git a/salesforce/backend/query.py b/salesforce/backend/query.py index <HASH>..<HASH> 100644 --- a/salesforce/backend/query.py +++ b/salesforce/backend/query.py @@ -143,8 +143,6 @@ def prep_for_deserialize(model, record, using): elif (x.__class__.__name__ == 'TimeField' and field_val is not None and not...
Remove explicit cast to string for DecimalField within prep_for_deserialize No longer necessary since any JSON number data has already been converted to Decimal objects using parse_float=decimal.Decimal
py
diff --git a/s3backup/sync.py b/s3backup/sync.py index <HASH>..<HASH> 100644 --- a/s3backup/sync.py +++ b/s3backup/sync.py @@ -195,6 +195,8 @@ def get_sync_actions(client_1, client_2): else: unhandled_events[key] = (action_1, action_2) + logger.debug('Action=%s', deferred_calls.get(key)) ...
Log in debug the action to be taken
py
diff --git a/atomicpress/context_processors.py b/atomicpress/context_processors.py index <HASH>..<HASH> 100644 --- a/atomicpress/context_processors.py +++ b/atomicpress/context_processors.py @@ -4,7 +4,9 @@ from flask import request, url_for def is_url_showing(route=None, **kwargs): url = url_for(route, **kwarg...
Added flask freeze url support
py
diff --git a/dataset/table.py b/dataset/table.py index <HASH>..<HASH> 100644 --- a/dataset/table.py +++ b/dataset/table.py @@ -193,13 +193,13 @@ class Table(object): # bindparam requires names to not conflict (cannot be "id" for id) for key in keys: - row[f'_{key}'] = row[f'{k...
Remove f-string for wider compatiblity
py
diff --git a/yosai_alchemystore/accountstore/accountstore.py b/yosai_alchemystore/accountstore/accountstore.py index <HASH>..<HASH> 100644 --- a/yosai_alchemystore/accountstore/accountstore.py +++ b/yosai_alchemystore/accountstore/accountstore.py @@ -17,7 +17,7 @@ specific language governing permissions and limitations...
finished debugging json indexing permissions query
py
diff --git a/command/build_ext.py b/command/build_ext.py index <HASH>..<HASH> 100644 --- a/command/build_ext.py +++ b/command/build_ext.py @@ -748,6 +748,9 @@ class build_ext(Command): elif sys.platform == 'darwin': # Don't use the default code below return ext.libraries + elif...
Issue #<I>: Improve the build process under AIX and allow Python to be built as a shared library. Patch by Sébastien Sablé.
py
diff --git a/invenio_client/__init__.py b/invenio_client/__init__.py index <HASH>..<HASH> 100644 --- a/invenio_client/__init__.py +++ b/invenio_client/__init__.py @@ -372,9 +372,6 @@ class Record(dict): else: return datafields - def __contains__(self, item): - return super(Record, self...
client: removal of unnecessary method * Removes unnecesary redefinition of membership operator.
py
diff --git a/budou/budou.py b/budou/budou.py index <HASH>..<HASH> 100644 --- a/budou/budou.py +++ b/budou/budou.py @@ -128,9 +128,8 @@ class Budou(object): def _get_cache_key(self, source, classname): """Returns a cache key for the given source and class name.""" - key_source = '%s:%s:%s' % ( - CACH...
Add encode before hasing key source with unit test pass.
py
diff --git a/airflow/jobs/scheduler_job.py b/airflow/jobs/scheduler_job.py index <HASH>..<HASH> 100644 --- a/airflow/jobs/scheduler_job.py +++ b/airflow/jobs/scheduler_job.py @@ -890,8 +890,8 @@ class DagFileProcessor(LoggingMixin): :param dagbag: DagBag :type dagbag: models.DagBag - :param t...
Fix docstring in DagFileProcessor._schedule_task_instances (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -52,7 +52,7 @@ setup( # 3 - Alpha # 4 - Beta # 5 - Production/Stable - 'Development Status :: 4 - Beta', + 'Development Status :: 3 - Alpha', # Indicate who your projec...
Downgrade to alpha status While I'm testing <I>.x releases
py
diff --git a/munigeo/importer/helsinki.py b/munigeo/importer/helsinki.py index <HASH>..<HASH> 100644 --- a/munigeo/importer/helsinki.py +++ b/munigeo/importer/helsinki.py @@ -248,7 +248,7 @@ class HelsinkiImporter(Importer): sep = '&' else: sep = '?' - url = wfs...
Request all data in GeoJSON-format, preventing curve geometries GDAL wrapper in Django cannot handle curve geometries. Easiest way to them being output is to request GeoJSON, which cannot contain them. This might cause the WFS server to silently convert curve geometries to their linear approximations. The alternative...
py
diff --git a/tests/test_import.py b/tests/test_import.py index <HASH>..<HASH> 100644 --- a/tests/test_import.py +++ b/tests/test_import.py @@ -1,10 +1,5 @@ def test_import(): - try: - import timml - except: - fail = True - assert fail is False, 'could not import timml' - return + impor...
simplified test_import suggestion of Hugo
py
diff --git a/Xlib/support/unix_connect.py b/Xlib/support/unix_connect.py index <HASH>..<HASH> 100644 --- a/Xlib/support/unix_connect.py +++ b/Xlib/support/unix_connect.py @@ -73,7 +73,7 @@ def get_display(display): def get_socket(dname, host, dno): try: # Darwin funky socket - if (uname[0] == 'Dar...
Added extra protection against death in the event that we don't pass a string for host to get_socket or new_get_auth.
py
diff --git a/suspect/io/lcmodel.py b/suspect/io/lcmodel.py index <HASH>..<HASH> 100644 --- a/suspect/io/lcmodel.py +++ b/suspect/io/lcmodel.py @@ -67,7 +67,7 @@ def write_all_files(filename, data, wref_data=None, params=None): "FILPS": os.path.join(folder, file_root + ".PS") } if wref_data is not Non...
add quotes to psfil param in lcmodel control file export
py
diff --git a/neutronclient/shell.py b/neutronclient/shell.py index <HASH>..<HASH> 100644 --- a/neutronclient/shell.py +++ b/neutronclient/shell.py @@ -719,8 +719,8 @@ class NeutronShell(app.App): project_info = (self.options.os_tenant_name or self.options.os_tenant_id o...
Namespace of arguments is incorrectly used Namespace does not have project_domain_name, it has os_project_domain_name. Change-Id: Ic0f<I>ddf<I>e<I>e7aa<I>a<I>f2e<I>c<I>b Closes-Bug: <I>
py
diff --git a/pedemath/quat.py b/pedemath/quat.py index <HASH>..<HASH> 100644 --- a/pedemath/quat.py +++ b/pedemath/quat.py @@ -43,7 +43,11 @@ def lerp_quat(from_quat, to_quat, percent): def nlerp_quat(from_quat, to_quat, percent): - """Return normalized linear interpolation of two quaternions.""" + """Return...
Add description to nlerp_quat
py
diff --git a/pyquaternion/quaternion.py b/pyquaternion/quaternion.py index <HASH>..<HASH> 100644 --- a/pyquaternion/quaternion.py +++ b/pyquaternion/quaternion.py @@ -681,14 +681,17 @@ class Quaternion: """ self._fast_normalise() rate = self._validate_number_sequence(rate, 3) - rate_no...
Update integration code to be more readable
py
diff --git a/pyment/pymentapp.py b/pyment/pymentapp.py index <HASH>..<HASH> 100644 --- a/pyment/pymentapp.py +++ b/pyment/pymentapp.py @@ -128,8 +128,9 @@ def main(): dest='ignore_private', help='Don\'t proceed the private methods/functions starting with __ (two underscores) (default "True")') ...
fix some pep8 mistakes I made while working on #<I>
py
diff --git a/salt/modules/file.py b/salt/modules/file.py index <HASH>..<HASH> 100644 --- a/salt/modules/file.py +++ b/salt/modules/file.py @@ -4539,27 +4539,6 @@ def check_perms(name, ret, user, group, mode, attrs=None, follow_symlinks=False) elif 'cgroup' in perms and user != '': ret['changes']['...
Fix up bad merge - remove extra section of "mode" changes This came through in a merge-forward due to #<I> and #<I> Both PRs moved the "mode" section in file.check_perms down lower, but when the merge-forward went through, the section got added back again.
py
diff --git a/grimoire_elk/enriched/git.py b/grimoire_elk/enriched/git.py index <HASH>..<HASH> 100644 --- a/grimoire_elk/enriched/git.py +++ b/grimoire_elk/enriched/git.py @@ -83,6 +83,8 @@ class GitEnrich(Enrich): AUTHOR_P2P_REGEX = re.compile(r'(?P<first_authors>.* .*) and (?P<last_author>.* .*) (?P<email>.*)') ...
[aoc] Add a constant for out_index default value Out index name is now accesible as a constant within Git class.
py
diff --git a/crackmapexec.py b/crackmapexec.py index <HASH>..<HASH> 100755 --- a/crackmapexec.py +++ b/crackmapexec.py @@ -55,7 +55,7 @@ parser = argparse.ArgumentParser(description=""" yellow(CODENAME)), formatter_class=RawTextHelpFormatter, - ...
Resolves #<I>
py