diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/binstar_client/inspect_package/conda.py b/binstar_client/inspect_package/conda.py
index <HASH>..<HASH> 100644
--- a/binstar_client/inspect_package/conda.py
+++ b/binstar_client/inspect_package/conda.py
@@ -127,9 +127,15 @@ def inspect_conda_package(filename, fileobj, *args, **kwargs):
package_data =... | reverted some fields for backward compatibility | py |
diff --git a/nanocomp/NanoComp.py b/nanocomp/NanoComp.py
index <HASH>..<HASH> 100644
--- a/nanocomp/NanoComp.py
+++ b/nanocomp/NanoComp.py
@@ -39,7 +39,7 @@ def main():
from nanoget import combine_dfs
from pandas import read_feather
datadf = combine_dfs([read_feather(p) for p in a... | settings names as feather file name if no --names specified | py |
diff --git a/pifpaf/drivers/zookeeper.py b/pifpaf/drivers/zookeeper.py
index <HASH>..<HASH> 100644
--- a/pifpaf/drivers/zookeeper.py
+++ b/pifpaf/drivers/zookeeper.py
@@ -53,6 +53,7 @@ clientPort=%s""" % (self.tempdir, self.port))
c, _ = self._exec(
["zkServer.sh", "start", cfgfile],
+ ... | zookeeper: wait for ZooKeeper to start before returning | py |
diff --git a/sos/plugins/openshift.py b/sos/plugins/openshift.py
index <HASH>..<HASH> 100644
--- a/sos/plugins/openshift.py
+++ b/sos/plugins/openshift.py
@@ -27,7 +27,6 @@ class Openshift(Plugin, RedHatPlugin):
"/etc/openshift-enterprise-version",
"/etc/openshift/",
"/var/log/ope... | Remove redundant data collection from OpenShift plugin OpenShift collects dhclient configuration and Apache httpd logs. These are already handled by their respective plugins; remove them from the OpenShift module. | py |
diff --git a/snap7/server.py b/snap7/server.py
index <HASH>..<HASH> 100644
--- a/snap7/server.py
+++ b/snap7/server.py
@@ -1,16 +1,10 @@
from ctypes import cdll, sizeof, byref, CFUNCTYPE, POINTER, c_int, c_char
-#TODO: somehow find_lib doesn't work
-"""
from ctypes.util import find_library
lib_location = find_libr... | found out why find_library didn't worked | py |
diff --git a/tests/runners.py b/tests/runners.py
index <HASH>..<HASH> 100644
--- a/tests/runners.py
+++ b/tests/runners.py
@@ -113,13 +113,3 @@ class Remote_(Spec):
# basics?
# TODO: all other run() tests from fab1...
-
-
-class RemoteSudo_(Spec):
- # * wrapper/preparation method now adds sudo wr... | Oh hey this is super outdated, sudo() is purely invoke level now | py |
diff --git a/chess/engine.py b/chess/engine.py
index <HASH>..<HASH> 100644
--- a/chess/engine.py
+++ b/chess/engine.py
@@ -1581,9 +1581,10 @@ class UciProtocol(Protocol):
if ponder and best.move and best.ponder:
self.pondering = True
- engine.board.... | Use full move stack for UCI pondering | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@ from setuptools import setup, find_packages
setup(
name = "django-user-accounts",
- version = "1.0b1.dev3",
+ version = "1.0b1.dev4",
author = "Brian Rosner",
author_email = "brosner@gmail.... | bumped version to represent current state | py |
diff --git a/flask_restful/__init__.py b/flask_restful/__init__.py
index <HASH>..<HASH> 100644
--- a/flask_restful/__init__.py
+++ b/flask_restful/__init__.py
@@ -358,7 +358,7 @@ class Api(object):
# Set the rule to a string directly, as the blueprint is already
# set up.
... | Fix the add_url_rule just registered once | py |
diff --git a/thefuck/main.py b/thefuck/main.py
index <HASH>..<HASH> 100644
--- a/thefuck/main.py
+++ b/thefuck/main.py
@@ -62,7 +62,7 @@ def wait_output(settings, popen):
proc.wait(settings.wait_command)
return True
except TimeoutExpired:
- for child in proc.get_children(recursive=True):
+... | fix(main.wait_output): use Process’ children() instead of get_children() Since psutil <I> `get_children()` has become deprecated and the use of `children()` instead of it has been encouraged. In version <I>, just released, `get_children()` has been dropped. Check: <URL> | py |
diff --git a/solvebio/test/test_datastuff.py b/solvebio/test/test_datastuff.py
index <HASH>..<HASH> 100644
--- a/solvebio/test/test_datastuff.py
+++ b/solvebio/test/test_datastuff.py
@@ -10,6 +10,7 @@ class DataStuffTest(unittest.TestCase):
datasets = Dataset.all()
if datasets.total == 0:
... | Comment in some tests that we should compare with Ruby client | py |
diff --git a/highcharts/version.py b/highcharts/version.py
index <HASH>..<HASH> 100644
--- a/highcharts/version.py
+++ b/highcharts/version.py
@@ -1,6 +1,6 @@
version_info = (
"0",
- "2",
+ "3",
"0"
) | incremented version to <I> | py |
diff --git a/src/you_get/common.py b/src/you_get/common.py
index <HASH>..<HASH> 100755
--- a/src/you_get/common.py
+++ b/src/you_get/common.py
@@ -691,11 +691,13 @@ def download_urls(urls, title, ext, total_size, output_dir='.', refer=None, merg
if len(urls) == 1:
url = urls[0]
print('Downloading... | [bar] update bar display at the beginning or it may not show up itself promptly, leaving the user wondering why it doesn't start. I met this problem with <URL> | py |
diff --git a/tests/test_provenance.py b/tests/test_provenance.py
index <HASH>..<HASH> 100644
--- a/tests/test_provenance.py
+++ b/tests/test_provenance.py
@@ -89,8 +89,8 @@ class TestProvenance(unittest.TestCase):
def test_secondary_files_implicit(self):
tmpdir = tempfile.mkdtemp("test_secondary_files_i... | Expected filenames of secondary files .. so it's consistent between the two tests | py |
diff --git a/python/ray/tests/test_client_proxy.py b/python/ray/tests/test_client_proxy.py
index <HASH>..<HASH> 100644
--- a/python/ray/tests/test_client_proxy.py
+++ b/python/ray/tests/test_client_proxy.py
@@ -133,8 +133,8 @@ assert ray.util.client.ray.worker.log_client.log_thread.is_alive()
@pytest.mark.skipif(
... | skip test_delay_in_rewriting_environment (#<I>) | py |
diff --git a/tools/tinytest-codegen.py b/tools/tinytest-codegen.py
index <HASH>..<HASH> 100755
--- a/tools/tinytest-codegen.py
+++ b/tools/tinytest-codegen.py
@@ -87,14 +87,14 @@ output = []
tests = []
argparser = argparse.ArgumentParser(description='Convert native MicroPython tests to tinytest/upytesthelper C code... | tools/tinytest-codegen: Add --stdin switch instead of recently added --target. Instead of passing thru more and more options from tinytest-codegen to run-tests --list-tests, pipe output of run-tests --list-tests into tinytest-codegen. | py |
diff --git a/test/basic_test.py b/test/basic_test.py
index <HASH>..<HASH> 100644
--- a/test/basic_test.py
+++ b/test/basic_test.py
@@ -17,6 +17,7 @@ EXPECTED = """[Info]Thread=[MainThread] ----------Crawl starting domain=[
[Info]Thread=[WSc--0] Found, a page!
[Debug]Thread=[WSc--0] I found an anchor tag!
... | Fix the expected output to reflect changes to the example website | py |
diff --git a/client/cli/ok.py b/client/cli/ok.py
index <HASH>..<HASH> 100644
--- a/client/cli/ok.py
+++ b/client/cli/ok.py
@@ -82,7 +82,7 @@ def parse_input():
parser.add_argument('--timeout', type=int, default=10,
help="set the timeout duration for running tests")
- # Information
+ ... | Minor edits to ok.py | py |
diff --git a/src/python/dxpy/scripts/dx_build_app.py b/src/python/dxpy/scripts/dx_build_app.py
index <HASH>..<HASH> 100755
--- a/src/python/dxpy/scripts/dx_build_app.py
+++ b/src/python/dxpy/scripts/dx_build_app.py
@@ -501,7 +501,7 @@ def _build_app_remote(mode, src_dir, publish=False, destination_override=None,
... | Fix number formatting following 9bcdc7a. | py |
diff --git a/py2pack/__init__.py b/py2pack/__init__.py
index <HASH>..<HASH> 100644
--- a/py2pack/__init__.py
+++ b/py2pack/__init__.py
@@ -58,7 +58,7 @@ SPDX_LICENSES_FILE = os.path.join(os.path.dirname(os.path.abspath(__file__)), 's
SDPX_LICENSES = pickle.load(open(SPDX_LICENSES_FILE, 'rb'))
-def list(args):
+def... | list doesn't need arguments it only needs one parameter to comply with the argparse callback signature. | py |
diff --git a/openstack_controller/datadog_checks/openstack_controller/openstack_controller.py b/openstack_controller/datadog_checks/openstack_controller/openstack_controller.py
index <HASH>..<HASH> 100644
--- a/openstack_controller/datadog_checks/openstack_controller/openstack_controller.py
+++ b/openstack_controller/d... | Properly check req server fields (#<I>) | py |
diff --git a/src/pyros/rosinterface/pyros_ros.py b/src/pyros/rosinterface/pyros_ros.py
index <HASH>..<HASH> 100644
--- a/src/pyros/rosinterface/pyros_ros.py
+++ b/src/pyros/rosinterface/pyros_ros.py
@@ -218,7 +218,7 @@ class PyrosROS(PyrosBase):
# we initialize the node here, in subprocess, passing ros paramet... | displaying name of ROS node in log when starting up. | py |
diff --git a/src/_pytest/main.py b/src/_pytest/main.py
index <HASH>..<HASH> 100644
--- a/src/_pytest/main.py
+++ b/src/_pytest/main.py
@@ -538,14 +538,18 @@ class Session(nodes.FSCollector):
pytest_collectreport = pytest_runtest_logreport
def isinitpath(self, path: Union[str, "os.PathLike[str]"]) -> bool:
-... | main: avoid Path(Path(...)) calls, they're slow | py |
diff --git a/tests/test.py b/tests/test.py
index <HASH>..<HASH> 100644
--- a/tests/test.py
+++ b/tests/test.py
@@ -1,6 +1,8 @@
import argparse
import os
+import pathlib
import re
+import shutil
import sys
import time
import unittest
@@ -14,6 +16,7 @@ import botocore
parent_dir = os.path.abspath(os.path.dirname(o... | make a fake svn directory for d3ploy to ignore during testing so we get full coverage on GitHub | py |
diff --git a/bebop/__init__.py b/bebop/__init__.py
index <HASH>..<HASH> 100644
--- a/bebop/__init__.py
+++ b/bebop/__init__.py
@@ -1,11 +1,13 @@
from schema import *
+from index import *
from model import *
+from query import *
from config import *
from data_import import *
from interface import *
-class _SolrFu... | [fix] Commenting out SolrFunctions thing for now, just an experiment, coming soon | py |
diff --git a/packages/vaex-core/vaex/cpu.py b/packages/vaex-core/vaex/cpu.py
index <HASH>..<HASH> 100644
--- a/packages/vaex-core/vaex/cpu.py
+++ b/packages/vaex-core/vaex/cpu.py
@@ -143,7 +143,8 @@ class TaskPartSetCreate(TaskPart):
# self.dtype = self.df.data_type(str(expression))
# self.dtype_item ... | 🐛 multiple threads can set self.set, leading to loss of data (#<I>) | py |
diff --git a/urwid_datatable/datatable.py b/urwid_datatable/datatable.py
index <HASH>..<HASH> 100644
--- a/urwid_datatable/datatable.py
+++ b/urwid_datatable/datatable.py
@@ -391,7 +391,7 @@ class DataTable(urwid.WidgetWrap, urwid.listbox.ListWalker):
DataTable.focus_map[name] = "%s focused" %(name)
... | Fix regression that led to incorrect text attriubutes. | py |
diff --git a/werkzeug/testsuite/__init__.py b/werkzeug/testsuite/__init__.py
index <HASH>..<HASH> 100644
--- a/werkzeug/testsuite/__init__.py
+++ b/werkzeug/testsuite/__init__.py
@@ -19,7 +19,7 @@ from werkzeug.utils import import_string, find_modules
def iter_suites(package):
"""Yields all testsuites."""
fo... | have the test module finder raise the original ImportError | py |
diff --git a/tcex/tcex_resources.py b/tcex/tcex_resources.py
index <HASH>..<HASH> 100644
--- a/tcex/tcex_resources.py
+++ b/tcex/tcex_resources.py
@@ -409,7 +409,7 @@ class Resource(object):
# bcs - handle multiple downloads
temp_file = os.path.join(self._tcex._args.tc_... | fix bytes issue on open file in python 3 | py |
diff --git a/graphene/types/argument.py b/graphene/types/argument.py
index <HASH>..<HASH> 100644
--- a/graphene/types/argument.py
+++ b/graphene/types/argument.py
@@ -32,7 +32,7 @@ def to_arguments(args, extra_args):
raise ValueError('Unknown argument "{}".'.format(default_name))
arg_name = defa... | Make assertion message use same var as test Ensure that the assertion message correctly shows the value used by the assertion test. | py |
diff --git a/sphviewer/Scene.py b/sphviewer/Scene.py
index <HASH>..<HASH> 100644
--- a/sphviewer/Scene.py
+++ b/sphviewer/Scene.py
@@ -174,11 +174,10 @@ class Scene():
(pos[1,:] > ymin) & (pos[1,:] < ymax) )
pos = pos[:,kview]
- hsml = self._Parti... | Issue with hsml when r='infinity' fixed | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -24,7 +24,7 @@ Documentation and source code can be found at http://github.com/delcypher/Output
setup(name='OutputCheck',
version=version.get_git_version(),
- description='',
+ description="A tool for check... | Fixed missing description in setup.py | py |
diff --git a/spacy/en/lemmatizer.py b/spacy/en/lemmatizer.py
index <HASH>..<HASH> 100644
--- a/spacy/en/lemmatizer.py
+++ b/spacy/en/lemmatizer.py
@@ -1,5 +1,6 @@
from __future__ import unicode_literals
from os import path
+import codecs
NOUN_RULES = (
@@ -84,7 +85,7 @@ def lemmatize(string, index, exceptions, r... | * Fix data reading for lemmatizer | py |
diff --git a/test_runipy.py b/test_runipy.py
index <HASH>..<HASH> 100644
--- a/test_runipy.py
+++ b/test_runipy.py
@@ -5,13 +5,19 @@ from glob import glob
from os import devnull, path
import re
import sys
+import warnings
-try:
- # IPython 3
- from IPython.nbformat import reads, NBFormatError
-except ImportE... | test_runipy.py: Handle the event of a `ShimWarning` being issued on iPython 4.x and properly import the needed items. | py |
diff --git a/tests/test_xmltodict.py b/tests/test_xmltodict.py
index <HASH>..<HASH> 100644
--- a/tests/test_xmltodict.py
+++ b/tests/test_xmltodict.py
@@ -457,3 +457,21 @@ class XMLToDictTestCase(unittest.TestCase):
}
}
self.assertEqual(parse(xml, process_comments=True), expectedResult)
+... | Add test coverage for #<I> | py |
diff --git a/ailment/analyses/propagator.py b/ailment/analyses/propagator.py
index <HASH>..<HASH> 100644
--- a/ailment/analyses/propagator.py
+++ b/ailment/analyses/propagator.py
@@ -141,8 +141,12 @@ def get_engine(base_engine):
l.warning('Unsupported type of Assignment dst %s.', type(dst).__name__)
... | Propagator: Properly handle Store. | py |
diff --git a/src/pyctools/core/config.py b/src/pyctools/core/config.py
index <HASH>..<HASH> 100644
--- a/src/pyctools/core/config.py
+++ b/src/pyctools/core/config.py
@@ -221,6 +221,10 @@ class ConfigStr(ConfigLeafNode, six.text_type):
:keyword str default: Default value of the node.
"""
+
+ def __new__(... | Restore ConfigStr.__new__ Without it the empty value was becoming a string "None". | py |
diff --git a/doc/conf.py b/doc/conf.py
index <HASH>..<HASH> 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -33,32 +33,32 @@ class Mock(object):
MOCK_MODULES = [
# salt core
- 'yaml',
- 'yaml.nodes',
- 'yaml.constructor',
- 'msgpack',
- 'zmq',
'Crypto',
'Crypto.Cipher',
'Crypto.Hash'... | Sorted mocked modules list for better readin' | py |
diff --git a/wallace/models.py b/wallace/models.py
index <HASH>..<HASH> 100644
--- a/wallace/models.py
+++ b/wallace/models.py
@@ -1291,7 +1291,7 @@ class Transformation(Base):
node = info_out.origin
# check the info_in is from the node or has been sent to the node
- if not ((info_in.origin !... | improve efficiency of check_for_transformation | py |
diff --git a/mapwidgets/widgets.py b/mapwidgets/widgets.py
index <HASH>..<HASH> 100644
--- a/mapwidgets/widgets.py
+++ b/mapwidgets/widgets.py
@@ -5,6 +5,7 @@ from django.conf import settings
from django.contrib.gis.forms import BaseGeometryWidget
from django.contrib.gis.geos import Point
from django.templatetags.st... | Replace basestring (python2) to six.string_types for python3 compability | py |
diff --git a/spyderlib/spyder.py b/spyderlib/spyder.py
index <HASH>..<HASH> 100644
--- a/spyderlib/spyder.py
+++ b/spyderlib/spyder.py
@@ -765,8 +765,11 @@ class MainWindow(QMainWindow):
self.console = Console(self, namespace, exitfunc=self.closing,
profile=self.profile... | Internal Console: Change its banner to make it clear that this console is not meant for code evaluation | py |
diff --git a/examples/training/train_textcat.py b/examples/training/train_textcat.py
index <HASH>..<HASH> 100644
--- a/examples/training/train_textcat.py
+++ b/examples/training/train_textcat.py
@@ -6,7 +6,6 @@ automatically via Thinc's built-in dataset loader. The model is added to
spacy.pipeline, and predictions are... | Remove broken link (resolves #<I>) | py |
diff --git a/myanimelist/session.py b/myanimelist/session.py
index <HASH>..<HASH> 100644
--- a/myanimelist/session.py
+++ b/myanimelist/session.py
@@ -206,6 +206,19 @@ class Session(object):
"""
return manga_list.MangaList(self, username)
+ def person(self, person_id):
+ """Creates an instance of myanim... | Session::person mysteriously disappeared | py |
diff --git a/reana_commons/version.py b/reana_commons/version.py
index <HASH>..<HASH> 100755
--- a/reana_commons/version.py
+++ b/reana_commons/version.py
@@ -14,4 +14,4 @@ and parsed by ``setup.py``.
from __future__ import absolute_import, print_function
-__version__ = "0.8.0a21"
+__version__ = "0.8.0a22" | release: <I>a<I> | py |
diff --git a/seleniumbase/fixtures/base_case.py b/seleniumbase/fixtures/base_case.py
index <HASH>..<HASH> 100755
--- a/seleniumbase/fixtures/base_case.py
+++ b/seleniumbase/fixtures/base_case.py
@@ -10829,6 +10829,7 @@ class BaseCase(unittest.TestCase):
def __process_dashboard(self, has_exception, init=False):
... | Dashboard: Fix bug where "Skipped" tests had "Passed" | py |
diff --git a/gwpy/time/_tconvert.py b/gwpy/time/_tconvert.py
index <HASH>..<HASH> 100644
--- a/gwpy/time/_tconvert.py
+++ b/gwpy/time/_tconvert.py
@@ -256,6 +256,6 @@ def _time_to_gps(time):
Nano-second precision `LIGOTimeGPS` time
"""
time = time.utc
- dt = time.datetime
- micro = dt.microseco... | time: renamed another variable to appease codacy | py |
diff --git a/test/test_coverer.py b/test/test_coverer.py
index <HASH>..<HASH> 100644
--- a/test/test_coverer.py
+++ b/test/test_coverer.py
@@ -1,3 +1,4 @@
+from __future__ import division
import pytest
import numpy as np
from sklearn import datasets, preprocessing | python <I> has a funny idea of what division means; import from future | py |
diff --git a/optoanalysis/optoanalysis/optoanalysis.py b/optoanalysis/optoanalysis/optoanalysis.py
index <HASH>..<HASH> 100644
--- a/optoanalysis/optoanalysis/optoanalysis.py
+++ b/optoanalysis/optoanalysis/optoanalysis.py
@@ -1307,7 +1307,8 @@ def fit_curvefit(p0, datax, datay, function, **kwargs):
error = []
... | fixed bug introduced in commit number <I>e2a<I>fff3e<I>ee<I>c4d<I>ae5c7e, when I changed the method of calculating the error/uncertantity in fitting parametsrs | py |
diff --git a/validator/webapp.py b/validator/webapp.py
index <HASH>..<HASH> 100644
--- a/validator/webapp.py
+++ b/validator/webapp.py
@@ -47,7 +47,7 @@ def detect_webapp_raw(err, webapp):
if "name" in webapp and len(webapp["name"]) > 9:
err.warning(
err_id=("webapp", "b2g", "name_truncat... | Missed one, oops. | py |
diff --git a/coursera/test/test_utils.py b/coursera/test/test_utils.py
index <HASH>..<HASH> 100644
--- a/coursera/test/test_utils.py
+++ b/coursera/test/test_utils.py
@@ -14,11 +14,11 @@ class UtilsTestCase(unittest.TestCase):
def test_clean_filename(self):
strings = {
- '(23:90)': '',
- ... | coursera: test: Fix test_clean_filename after last changes. | py |
diff --git a/graphene/types/tests/test_objecttype.py b/graphene/types/tests/test_objecttype.py
index <HASH>..<HASH> 100644
--- a/graphene/types/tests/test_objecttype.py
+++ b/graphene/types/tests/test_objecttype.py
@@ -4,6 +4,7 @@ from ..field import Field
from ..interface import Interface
from ..objecttype import Ob... | Added extra test to objecttypes | py |
diff --git a/redis/commands/core.py b/redis/commands/core.py
index <HASH>..<HASH> 100644
--- a/redis/commands/core.py
+++ b/redis/commands/core.py
@@ -1864,7 +1864,7 @@ class BasicKeyCommands:
"""
Watches the values at keys ``names``, or None if the key doesn't exist
- For more information ch... | docs: fix the wrong link to watch command (#<I>) | py |
diff --git a/broqer/hub.py b/broqer/hub.py
index <HASH>..<HASH> 100644
--- a/broqer/hub.py
+++ b/broqer/hub.py
@@ -175,7 +175,7 @@ class Topic(Publisher, Subscriber):
def freeze(self):
if self._subject is None:
- raise ValueError(f'Topic {self._path} is not assigned')
+ raise Value... | removed formatted string as it is not python<I> compatible | py |
diff --git a/luigi/contrib/pig.py b/luigi/contrib/pig.py
index <HASH>..<HASH> 100644
--- a/luigi/contrib/pig.py
+++ b/luigi/contrib/pig.py
@@ -1,4 +1,5 @@
-# -*- coding: utf-8 -*-#
+# -*- coding: utf-8 -*-
+#
# Copyright 2012-2015 Spotify AB
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -13,... | fixed landscape warnings. * added missing sys import * remove unnecessary import of datetime | py |
diff --git a/dopy/manager.py b/dopy/manager.py
index <HASH>..<HASH> 100755
--- a/dopy/manager.py
+++ b/dopy/manager.py
@@ -47,6 +47,9 @@ class DoManager(object):
ssh_key_ids[index] = str(ssh_key_ids[index])
params['ssh_keys'] = ssh_key_ids
json = self.request('/droplet... | Show full info on newly created droplet | py |
diff --git a/script/update-external-binaries.py b/script/update-external-binaries.py
index <HASH>..<HASH> 100755
--- a/script/update-external-binaries.py
+++ b/script/update-external-binaries.py
@@ -23,9 +23,6 @@ def main():
rm_rf('external_binaries')
safe_mkdir('external_binaries')
- with open(version_file, '... | Create .version after all files have been downloaded. | py |
diff --git a/django_js_reverse/tests/test_urls.py b/django_js_reverse/tests/test_urls.py
index <HASH>..<HASH> 100644
--- a/django_js_reverse/tests/test_urls.py
+++ b/django_js_reverse/tests/test_urls.py
@@ -3,6 +3,7 @@ import sys
from copy import copy
from django.conf.urls import include, url
+from django.views.gen... | dummy_view is a View.as_view() | py |
diff --git a/openfisca_country_template/variables/benefits.py b/openfisca_country_template/variables/benefits.py
index <HASH>..<HASH> 100644
--- a/openfisca_country_template/variables/benefits.py
+++ b/openfisca_country_template/variables/benefits.py
@@ -107,7 +107,7 @@ class parenting_allowance(Variable):
"""... | Define the low income as less than a given threshold | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -37,13 +37,13 @@ class TestCommand(Command):
call_command('test', 'unixtimestampfield')
setup(name='django-unixtimestampfield',
- version='0.3.3',
+ version='0.3.4',
packages=['unixtimestampfield']... | Update pypi info and setup.py | py |
diff --git a/build/compiler.py b/build/compiler.py
index <HASH>..<HASH> 100644
--- a/build/compiler.py
+++ b/build/compiler.py
@@ -315,7 +315,14 @@ class HtmlLinter(object):
class Jsdoc(object):
def __init__(self, config_path):
self.config_path = config_path
- self.source_files = []
+ self.source_files =... | Fix change detection for docs build When we change the tutorials, this should trigger a rebuild of the docs. The full list of source files for the docs is now correct, so changes to any of them will trigger a rebuild of the docs. Change-Id: I<I>e<I>e<I>e8bb<I>d<I>e<I>c<I> | py |
diff --git a/neutronclient/neutron/v2_0/subnet.py b/neutronclient/neutron/v2_0/subnet.py
index <HASH>..<HASH> 100644
--- a/neutronclient/neutron/v2_0/subnet.py
+++ b/neutronclient/neutron/v2_0/subnet.py
@@ -62,7 +62,7 @@ def add_updatable_arguments(parser):
gateway_sg.add_argument(
'--no-gateway',
... | Change --no-gateway help text The Admin guide uses the wording "Creates a subnet that has no gateway IP address." when describing the --no-gateway option, make the help text more in line with that. Trivialfix Change-Id: I<I>f<I>dea5a7b<I>f1c<I>a<I>aa1a<I>a0 | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -16,7 +16,7 @@ requires = [
]
setup(name='cornice_sphinx',
- version=0.1,
+ version='0.2.dev0',
description='Generate Sphinx documentation from a Cornice application',
long_description=README,
license=... | Back to development: <I> | py |
diff --git a/holoviews/plotting/bokeh/raster.py b/holoviews/plotting/bokeh/raster.py
index <HASH>..<HASH> 100644
--- a/holoviews/plotting/bokeh/raster.py
+++ b/holoviews/plotting/bokeh/raster.py
@@ -117,7 +117,7 @@ class HeatmapPlot(ElementPlot):
def _axes_props(self, plots, subplots, element, ranges):
di... | Fixed bug in bokeh HeatMap | py |
diff --git a/pyes/mappings.py b/pyes/mappings.py
index <HASH>..<HASH> 100644
--- a/pyes/mappings.py
+++ b/pyes/mappings.py
@@ -45,7 +45,8 @@ class AbstractField(object):
analyzer=None,
index_analyzer=None,
search_analyzer=None,
- name=None):
+ ... | Fix bug where new mappings with index_options break mappings This is a bit of a band-aid. We should add index_options as an actual keyword argument and instance attribute (and anywhere else appropriate). However given that the mapping attributes can change, we should keep **kwargs to prevent future breakage | py |
diff --git a/htmresearch/frameworks/clustering/distances.py b/htmresearch/frameworks/clustering/distances.py
index <HASH>..<HASH> 100644
--- a/htmresearch/frameworks/clustering/distances.py
+++ b/htmresearch/frameworks/clustering/distances.py
@@ -57,6 +57,10 @@ def clusterDistDirected(c1, c2):
minDists = []
for s... | ignore empty SDRs when calculating cluster distances | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -88,6 +88,10 @@ setup(
"openquake.cfg", "openquake_worker.cfg",
"README.md", "LICENSE", "CONTRIBUTORS.txt"]},
namespace_packages=['openquake'],
+ install_requires=[
+ 'openquake.hazardlib',
+ ... | Added dependencies in setup.py Former-commit-id: e8d<I>c<I>abaf9e9df<I>e<I>a<I>ab<I> | py |
diff --git a/gwpy/__init__.py b/gwpy/__init__.py
index <HASH>..<HASH> 100644
--- a/gwpy/__init__.py
+++ b/gwpy/__init__.py
@@ -5,8 +5,12 @@
# import core astropy modules
from astropy import table
-from astropy.units.quantity import WARN_IMPLICIT_NUMERIC_CONVERSION
-WARN_IMPLICIT_NUMERIC_CONVERSION.set(False)
+try:
... | fix Quantity warning for new astropy | py |
diff --git a/graphos/urls.py b/graphos/urls.py
index <HASH>..<HASH> 100644
--- a/graphos/urls.py
+++ b/graphos/urls.py
@@ -6,10 +6,4 @@ from django.conf import settings
admin.autodiscover()
urlpatterns = patterns('',
-
- url(r'plot_model_series_data/(?P<model_name>\w+)/(?P<field_name>\w+)/(?P<count>\d+)/', \
- ... | Removed the old graphos code | py |
diff --git a/dwave_micro_client.py b/dwave_micro_client.py
index <HASH>..<HASH> 100644
--- a/dwave_micro_client.py
+++ b/dwave_micro_client.py
@@ -175,7 +175,7 @@ class Connection:
self.session.headers.update({'X-Auth-Token': self.token})
self.session.proxies = proxies
if permissive_ssl:
- ... | Fix bug where permissive_ssl was not correctly applied | py |
diff --git a/basil/TL/Visa.py b/basil/TL/Visa.py
index <HASH>..<HASH> 100644
--- a/basil/TL/Visa.py
+++ b/basil/TL/Visa.py
@@ -27,7 +27,7 @@ class Visa(TransferLayer):
Initialize the device.
Parameters of visa.ResourceManager().open_resource()
'''
- backend = self._init.pop('backend', ... | REG: NI backend was not used as std. VISA backend | py |
diff --git a/pelix/framework.py b/pelix/framework.py
index <HASH>..<HASH> 100644
--- a/pelix/framework.py
+++ b/pelix/framework.py
@@ -733,7 +733,7 @@ class Framework(Bundle):
# __import__(name) -> package level
# import_module -> module level
module = imp... | Bundle installer now also catches ModuleNotFoundError. | py |
diff --git a/nautilus/api/fields/connection.py b/nautilus/api/fields/connection.py
index <HASH>..<HASH> 100644
--- a/nautilus/api/fields/connection.py
+++ b/nautilus/api/fields/connection.py
@@ -164,10 +164,10 @@ class Connection(ConnectionField):
except AttributeError:
raise Exception("Us... | schema can not be executed if user is not logged on and service object requires auth | py |
diff --git a/tests/test_inputoutput.py b/tests/test_inputoutput.py
index <HASH>..<HASH> 100644
--- a/tests/test_inputoutput.py
+++ b/tests/test_inputoutput.py
@@ -525,7 +525,6 @@ class TestOutputFirrtl(unittest.TestCase):
buffer = io.StringIO()
pyrtl.output_to_firrtl(buffer)
- print(buffer.ge... | remove extraneous print in unit test | py |
diff --git a/datacats/cli/deploy.py b/datacats/cli/deploy.py
index <HASH>..<HASH> 100644
--- a/datacats/cli/deploy.py
+++ b/datacats/cli/deploy.py
@@ -9,6 +9,8 @@ from sys import stdout
from datacats.cli.profile import get_working_profile
from datacats.cli.create import confirm_password
from datacats.validate import... | Make TARGET_NAME Validation fail through DatacatsError | py |
diff --git a/cleverhans/attacks/lbfgs.py b/cleverhans/attacks/lbfgs.py
index <HASH>..<HASH> 100644
--- a/cleverhans/attacks/lbfgs.py
+++ b/cleverhans/attacks/lbfgs.py
@@ -52,15 +52,6 @@ class LBFGS(Attack):
self.parse_params(**kwargs)
_, nb_classes = self.get_or_guess_labels(x, kwargs)
-
- # target l... | Rollback due to check not pass. | py |
diff --git a/examples/plotting/rects.py b/examples/plotting/rects.py
index <HASH>..<HASH> 100644
--- a/examples/plotting/rects.py
+++ b/examples/plotting/rects.py
@@ -13,6 +13,6 @@ rects(x,y, 0.1, 0.05, color="#FF0000", tools="pan,zoom,save,resize")
save()
# You can set the x, y, width, and height to arrays or to c... | Adding a second plot to rects.py example | py |
diff --git a/synapse/tools/dmon.py b/synapse/tools/dmon.py
index <HASH>..<HASH> 100644
--- a/synapse/tools/dmon.py
+++ b/synapse/tools/dmon.py
@@ -76,10 +76,6 @@ def main(argv):
for path in opts.configs:
dmon.loadDmonFile(path)
- # if the daemon still has no listeners, add a default
- if not dmon.... | no such thing as default dmon listener | py |
diff --git a/napalm/base/canonical_map.py b/napalm/base/canonical_map.py
index <HASH>..<HASH> 100644
--- a/napalm/base/canonical_map.py
+++ b/napalm/base/canonical_map.py
@@ -72,6 +72,9 @@ base_interfaces = {
"Tunnel": "Tunnel",
"Tun": "Tunnel",
"Tu": "Tunnel",
+ "Twe": "TwentyFiveGigE",
+ "Tw": "T... | Updated support for TwoGigabit & TwentyFiveGig interfaces to canonical_map.py (#<I>) | py |
diff --git a/harpoon/overview.py b/harpoon/overview.py
index <HASH>..<HASH> 100644
--- a/harpoon/overview.py
+++ b/harpoon/overview.py
@@ -165,7 +165,11 @@ class Harpoon(object):
def convert_image(path, val):
spec = harpoon_spec.image_spec
- meta = ... | Pass in base result for making images and use conf root | py |
diff --git a/pycrawler/http.py b/pycrawler/http.py
index <HASH>..<HASH> 100644
--- a/pycrawler/http.py
+++ b/pycrawler/http.py
@@ -3,6 +3,10 @@ from requests.exceptions import ConnectionError, MissingSchema
from http.client import OK
+class UrlNotValidException(ConnectionError):
+ pass
+
+
class HttpRequest:
... | Added raises UrlNotValidException | py |
diff --git a/endpoints_management/__init__.py b/endpoints_management/__init__.py
index <HASH>..<HASH> 100644
--- a/endpoints_management/__init__.py
+++ b/endpoints_management/__init__.py
@@ -16,7 +16,7 @@ from __future__ import absolute_import
from . import auth, config, control, gen
-__version__ = '1.4.0'
+__vers... | Bump minor version (<I> -> <I>) (#<I>) Rationale: Upgraded apitools and transitive oauth2client dependencies. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -34,6 +34,10 @@ long_description = open("README.rst").read()
tests_require = ['mockupdb']
+if sys.version_info[0] < 3:
+ # Need concurrent.futures backport in Python 2 for MotorMockServerTest.
+ tests_require.append... | Tests require futures backport in Python 2. | py |
diff --git a/spyder_kernels/customize/spydercustomize.py b/spyder_kernels/customize/spydercustomize.py
index <HASH>..<HASH> 100644
--- a/spyder_kernels/customize/spydercustomize.py
+++ b/spyder_kernels/customize/spydercustomize.py
@@ -487,7 +487,7 @@ def get_file_code(filename, save_all=True):
try:
file_c... | Catch RuntimeError when trying to get code from the editor This can happen when the editor is not available on the Spyder side | py |
diff --git a/luminoso_api/auth.py b/luminoso_api/auth.py
index <HASH>..<HASH> 100644
--- a/luminoso_api/auth.py
+++ b/luminoso_api/auth.py
@@ -86,7 +86,7 @@ class LuminosoAuth(object):
resp = self._session.post(self.url + '/user/login/', data=params)
# Make sure the session is valid
- if resp... | don't unhelpfully explode when login fails for non-<I> reason | py |
diff --git a/tests/test_systematic.py b/tests/test_systematic.py
index <HASH>..<HASH> 100644
--- a/tests/test_systematic.py
+++ b/tests/test_systematic.py
@@ -115,6 +115,9 @@ def test_tensordot_4(): combo_check(np.tensordot, [0, 1],
[R(2, 2), R(4, 2, 2)],
... | add failing test for tensordot | py |
diff --git a/django_ajax/shortcuts.py b/django_ajax/shortcuts.py
index <HASH>..<HASH> 100644
--- a/django_ajax/shortcuts.py
+++ b/django_ajax/shortcuts.py
@@ -84,23 +84,12 @@ def render_to_json(response, *args, **kwargs):
else:
status_code = 200
- data = {}
-
- # TODO: add optional process for fra... | Remove process fragments section, moved to client side. | py |
diff --git a/marathon_acme/tests/test_clients.py b/marathon_acme/tests/test_clients.py
index <HASH>..<HASH> 100644
--- a/marathon_acme/tests/test_clients.py
+++ b/marathon_acme/tests/test_clients.py
@@ -173,6 +173,29 @@ class TestHTTPClient(TestHTTPClientBase):
self.assertThat(text, Equals('hi\n'))
@inl... | Add a test to check that debug logging doesn't break everything | py |
diff --git a/shakedown/dcos/service.py b/shakedown/dcos/service.py
index <HASH>..<HASH> 100644
--- a/shakedown/dcos/service.py
+++ b/shakedown/dcos/service.py
@@ -222,4 +222,4 @@ def wait_for_service_endpoint_removal(service_name, timeout_sec=120):
"""Checks the service url if it is removed it returns true, on exp... | passing timeout time thru for service end point removal | py |
diff --git a/pystache/template.py b/pystache/template.py
index <HASH>..<HASH> 100644
--- a/pystache/template.py
+++ b/pystache/template.py
@@ -110,7 +110,7 @@ class Template(object):
@modifier('{')
def render_unescaped(self, tag_name=None, context=None):
"""Render a tag without escaping it."""
- ... | String conversions now use `unicode()`, are consistent. Fixes #5 | 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
@@ -509,10 +509,11 @@ class CSharpLanguage(object):
self._docker_distro = 'coreclr'
if self.platform == 'mac':
- # On Mac, o... | try making C# tests work on coreclr on mac | py |
diff --git a/spyderlib/utils/qthelpers.py b/spyderlib/utils/qthelpers.py
index <HASH>..<HASH> 100644
--- a/spyderlib/utils/qthelpers.py
+++ b/spyderlib/utils/qthelpers.py
@@ -11,7 +11,7 @@ from spyderlib.qt.QtGui import (QAction, QStyle, QWidget, QIcon, QApplication,
QKeyEvent, QMenu, Q... | PyQt5 compatibility: Fix help menu entries that point to documentation in external websites | py |
diff --git a/spyder/__init__.py b/spyder/__init__.py
index <HASH>..<HASH> 100644
--- a/spyder/__init__.py
+++ b/spyder/__init__.py
@@ -29,7 +29,7 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
"""
-version_info = (4, 2, 4)
+version_info = (4, 3, 0, 'dev0')
__vers... | Back to work [ci skip] | py |
diff --git a/django_extensions/management/modelviz.py b/django_extensions/management/modelviz.py
index <HASH>..<HASH> 100644
--- a/django_extensions/management/modelviz.py
+++ b/django_extensions/management/modelviz.py
@@ -212,6 +212,7 @@ class ModelGraph:
def get_appmodel_context(self, appmodel, appmodel_abstra... | add model in modelviz appmodel context | py |
diff --git a/gbdxtools/images/meta.py b/gbdxtools/images/meta.py
index <HASH>..<HASH> 100644
--- a/gbdxtools/images/meta.py
+++ b/gbdxtools/images/meta.py
@@ -34,7 +34,7 @@ class DaskMeta(object):
def infect(self, target):
assert isinstance(target, da.Array), "DaskMeta can only be attached to Dask Arrays"... | extra trickery involved with making sure __daskmeta__ remains a property, but can be set as an attribute. This allows subclasses to derive daskmeta programmatically at first, but then have subsequent operations carry the original spec with them in concrete form. | py |
diff --git a/zsl/application/modules/web/web_context_module.py b/zsl/application/modules/web/web_context_module.py
index <HASH>..<HASH> 100644
--- a/zsl/application/modules/web/web_context_module.py
+++ b/zsl/application/modules/web/web_context_module.py
@@ -1,4 +1,6 @@
import logging
+
+import click
from injector im... | Allow running of ZSL from arbitrary port/host using CLI | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -32,7 +32,7 @@ setup(
zip_safe=False,
platforms='any',
install_requires=[
- 'Flask==0.7',
+ 'Flask>=0.7',
'MongoAlchemy==0.8',
'pymongo==1.10.1',
], | Using >= for version on setup.py (closes #<I>) | py |
diff --git a/cheroot/wsgi.py b/cheroot/wsgi.py
index <HASH>..<HASH> 100644
--- a/cheroot/wsgi.py
+++ b/cheroot/wsgi.py
@@ -26,8 +26,9 @@ as you want in one instance by using a PathInfoDispatcher::
"""
import sys
-
+import struct
import six
+import socket
from six.moves import filter
from . import server
@@ -26... | wsgi: add peer UNIX credential to a non-standard environment variable | py |
diff --git a/xmantissa/benchmarks/benchmark_fulltext.py b/xmantissa/benchmarks/benchmark_fulltext.py
index <HASH>..<HASH> 100644
--- a/xmantissa/benchmarks/benchmark_fulltext.py
+++ b/xmantissa/benchmarks/benchmark_fulltext.py
@@ -19,12 +19,17 @@ class Message(object):
def uniqueIdentifier(self):
return s... | Merge fix-benchmarks-<I>. Updated some of the benchmarks to current APIs and extended the timeout to cover some of the longer ones. Fixes #<I>. | py |
diff --git a/taxtastic/subcommands/new_database.py b/taxtastic/subcommands/new_database.py
index <HASH>..<HASH> 100644
--- a/taxtastic/subcommands/new_database.py
+++ b/taxtastic/subcommands/new_database.py
@@ -46,7 +46,6 @@ def build_parser(parser):
parser.add_argument(
'-u', '--taxdump-url',
- ... | Forgot to update the subcommand after updating taxtastic.ncbi | py |
diff --git a/ibis/backends/pandas/execution/generic.py b/ibis/backends/pandas/execution/generic.py
index <HASH>..<HASH> 100644
--- a/ibis/backends/pandas/execution/generic.py
+++ b/ibis/backends/pandas/execution/generic.py
@@ -681,8 +681,8 @@ def execute_count_frame(op, data, _, **kwargs):
return len(data)
-@e... | fix(pandas): execute negate on bool as `not` | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.