diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/nodeconductor/core/views.py b/nodeconductor/core/views.py
index <HASH>..<HASH> 100644
--- a/nodeconductor/core/views.py
+++ b/nodeconductor/core/views.py
@@ -265,7 +265,7 @@ class ActionsViewSet(viewsets.ModelViewSet):
class MyView(ActionsViewSet):
disabled_actions = ['create'] # err... | Rename DEFAULT_DETAIL_ACTIONS -> DEFAULT_ACTIONS - wal-<I> | py |
diff --git a/linshareapi/admin/mail_attachments.py b/linshareapi/admin/mail_attachments.py
index <HASH>..<HASH> 100644
--- a/linshareapi/admin/mail_attachments.py
+++ b/linshareapi/admin/mail_attachments.py
@@ -37,6 +37,7 @@ from linshareapi.core import LinShareException
from linshareapi.admin.core import GenericClass... | Cache for mail attachments disabled (cache issue) | py |
diff --git a/testing/test_junitxml.py b/testing/test_junitxml.py
index <HASH>..<HASH> 100644
--- a/testing/test_junitxml.py
+++ b/testing/test_junitxml.py
@@ -295,7 +295,7 @@ class TestPython:
assert M1 == M2
""")
result, dom = runandparse(testdir)
- print dom.toxml()
+ ... | Do not use py2-only print, breaks py3 testruns | py |
diff --git a/permutation2020/python/utils.py b/permutation2020/python/utils.py
index <HASH>..<HASH> 100644
--- a/permutation2020/python/utils.py
+++ b/permutation2020/python/utils.py
@@ -280,6 +280,14 @@ def lzip(*args):
return result
+def fishers_method(pvals):
+ pvals = np.asarray(pvals)
+ degrees_of_f... | Added fisher's combined p-value function to utils module | py |
diff --git a/pythonforandroid/build.py b/pythonforandroid/build.py
index <HASH>..<HASH> 100644
--- a/pythonforandroid/build.py
+++ b/pythonforandroid/build.py
@@ -330,7 +330,8 @@ class Context(object):
if cython:
self.cython = cython
break
- self.cython = 'cython'
+... | Fixed missing else statement in for loop, allowing systems where cython2 isn't symlinked to cython to build with the right cython binary | py |
diff --git a/mobly/controllers/android_device_lib/jsonrpc_client_base.py b/mobly/controllers/android_device_lib/jsonrpc_client_base.py
index <HASH>..<HASH> 100644
--- a/mobly/controllers/android_device_lib/jsonrpc_client_base.py
+++ b/mobly/controllers/android_device_lib/jsonrpc_client_base.py
@@ -41,6 +41,18 @@ The JS... | Workaround socket library import issue. (#<I>) | py |
diff --git a/agner/test/test_queue.py b/agner/test/test_queue.py
index <HASH>..<HASH> 100644
--- a/agner/test/test_queue.py
+++ b/agner/test/test_queue.py
@@ -8,6 +8,7 @@ TEST_QUEUE_NAME = "test_queue"
@pytest.fixture(scope="module")
def redis(request):
redis = Redis()
+ redis.flushdb()
def finalizer():
r... | just flush the whole redis db for testing | py |
diff --git a/instabot/api.py b/instabot/api.py
index <HASH>..<HASH> 100644
--- a/instabot/api.py
+++ b/instabot/api.py
@@ -84,10 +84,12 @@ class API:
{'comment_text': comment_text})
def follow(self, user_id):
- return self.post(self.url_follow % (user_id), None)
+ ''' You ... | add the possibility to pass username or user_id to follow/unfollow API functions | py |
diff --git a/py/execnet/gateway.py b/py/execnet/gateway.py
index <HASH>..<HASH> 100644
--- a/py/execnet/gateway.py
+++ b/py/execnet/gateway.py
@@ -167,7 +167,8 @@ class Gateway(object):
except IOError:
self._trace('IOError on _stopsend()')
self._channelfactory._finished_recei... | care for threading module being set to None already during finalization --HG-- branch : trunk | py |
diff --git a/sexpr/loaders.py b/sexpr/loaders.py
index <HASH>..<HASH> 100644
--- a/sexpr/loaders.py
+++ b/sexpr/loaders.py
@@ -35,12 +35,13 @@ def load_file(path, options = None):
return load_string(f.read(), options)
-def load_string(string, options):
+def load_string(string, options = None):
return ... | Move 'root' value from source dict to options dict on load | py |
diff --git a/pymc/tests/test_distributions.py b/pymc/tests/test_distributions.py
index <HASH>..<HASH> 100644
--- a/pymc/tests/test_distributions.py
+++ b/pymc/tests/test_distributions.py
@@ -31,7 +31,6 @@ def test_unif():
checkd(Uniform, Runif, {'lower': -Rplusunif, 'upper': Rplusunif})
-@knownfailure("int32 i... | Removed known error decorator on test_discrete_uniform, as it no longer appears relevant | py |
diff --git a/memory/test_fm.py b/memory/test_fm.py
index <HASH>..<HASH> 100644
--- a/memory/test_fm.py
+++ b/memory/test_fm.py
@@ -1,8 +1,11 @@
# -*- coding: utf-8 -*-
-"""
-Created on Tue Aug 5 20:47:55 2014
+"""Copyright 2014 Roger R Labbe Jr.
+
+filterpy library.
+http:\\github.com\rlabbe\filterpy
-@author: rlab... | Added copyright notice at top of file. | py |
diff --git a/bct/bct.py b/bct/bct.py
index <HASH>..<HASH> 100644
--- a/bct/bct.py
+++ b/bct/bct.py
@@ -596,8 +596,8 @@ Outputs: Cs, subgraph centrality
from scipy import linalg
vals,vecs=linalg.eig(CIJ) #compute eigendecomposition
- lambdas=np.diag(vals)
- Cs=np.real(np.dot(vecs*vecs... | implemented bufixes for subgraph_centrality | py |
diff --git a/tornado/httpserver.py b/tornado/httpserver.py
index <HASH>..<HASH> 100644
--- a/tornado/httpserver.py
+++ b/tornado/httpserver.py
@@ -56,7 +56,7 @@ class HTTPServer(TCPServer, httputil.HTTPServerConnectionDelegate):
message = "You requested %s\n" % request.uri
request.connection.wri... | Fixed example in doc string We have to pass a HTTPHeaders object to write_headers() | py |
diff --git a/openpnm/core/Simulation.py b/openpnm/core/Simulation.py
index <HASH>..<HASH> 100644
--- a/openpnm/core/Simulation.py
+++ b/openpnm/core/Simulation.py
@@ -216,7 +216,7 @@ class Grid(dict):
col.append(self[geo][phase.name])
return col
- def __repr__(self):
+ def __str__(self):
... | Changing the way __str__ and __repr__ on grid work | py |
diff --git a/py3status/modules/scratchpad_counter.py b/py3status/modules/scratchpad_counter.py
index <HASH>..<HASH> 100644
--- a/py3status/modules/scratchpad_counter.py
+++ b/py3status/modules/scratchpad_counter.py
@@ -4,11 +4,8 @@ Display the amount of windows in your i3 scratchpad.
Configuration parameters:
c... | scratchpad_counter: current state (updated) | py |
diff --git a/securesystemslib/formats.py b/securesystemslib/formats.py
index <HASH>..<HASH> 100755
--- a/securesystemslib/formats.py
+++ b/securesystemslib/formats.py
@@ -237,9 +237,9 @@ KEY_SCHEMA = SCHEMA.Object(
keyval = KEYVAL_SCHEMA,
expires = SCHEMA.Optional(ISO8601_DATETIME_SCHEMA))
-# Like KEY_SCHEMA, b... | Add missing word to PUBLIC_KEY_SCHEMA's description | 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.3',
+ version='0.4.dev0',
description='Generate Sphinx documentation from a Cornice application',
long_description=README,
licens... | Back to development: <I> | py |
diff --git a/peewee.py b/peewee.py
index <HASH>..<HASH> 100644
--- a/peewee.py
+++ b/peewee.py
@@ -2466,7 +2466,7 @@ class BaseModel(type):
field.class_prepared()
if hasattr(cls, '__unicode__'):
- setattr(cls, '__repr__', lambda self: '<%s: %s>' % (
+ setattr(cls, '__repr__... | Fixes #<I>, thanks @karlb | py |
diff --git a/raiden/transfer/mediated_transfer/mediator.py b/raiden/transfer/mediated_transfer/mediator.py
index <HASH>..<HASH> 100644
--- a/raiden/transfer/mediated_transfer/mediator.py
+++ b/raiden/transfer/mediated_transfer/mediator.py
@@ -941,8 +941,6 @@ def handle_refundtransfer(
Returns:
TransitionR... | Forwarding channel handle_refundtransfer events The events emitted by handle_refundtransfer should be forward under failure. Currently there are none but this makes the code more future-proof. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -23,7 +23,7 @@ setup_args = dict(
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Scientific/Engineering :: Bio-Informatics',
],
- packages=['biofrills'],
+ packages=['biofril... | setup.py: include biofrills.stats sub-package | py |
diff --git a/diff_cover/diff_quality_tool.py b/diff_cover/diff_quality_tool.py
index <HASH>..<HASH> 100644
--- a/diff_cover/diff_quality_tool.py
+++ b/diff_cover/diff_quality_tool.py
@@ -232,9 +232,9 @@ def main(argv=None, directory=None):
pm = pluggy.PluginManager('diff_cover')
pm.add_hookspecs(hooks... | Simplify the plugin API a bit | py |
diff --git a/python-package/lightgbm/plotting.py b/python-package/lightgbm/plotting.py
index <HASH>..<HASH> 100644
--- a/python-package/lightgbm/plotting.py
+++ b/python-package/lightgbm/plotting.py
@@ -277,8 +277,9 @@ def _to_graphviz(tree_info, show_info, feature_names,
add(root['left_child'], name, l_de... | python-package: plot leaf index (#<I>) | py |
diff --git a/src/foremast/pipeline/construct_pipeline_block_datapipeline.py b/src/foremast/pipeline/construct_pipeline_block_datapipeline.py
index <HASH>..<HASH> 100644
--- a/src/foremast/pipeline/construct_pipeline_block_datapipeline.py
+++ b/src/foremast/pipeline/construct_pipeline_block_datapipeline.py
@@ -24,11 +24... | style: yapf the file | py |
diff --git a/fedmsg_meta_fedora_infrastructure/fedimg.py b/fedmsg_meta_fedora_infrastructure/fedimg.py
index <HASH>..<HASH> 100644
--- a/fedmsg_meta_fedora_infrastructure/fedimg.py
+++ b/fedmsg_meta_fedora_infrastructure/fedimg.py
@@ -47,16 +47,3 @@ class FedimgProcessor(BaseProcessor):
dest = msg['msg']['... | Remove some stuff we don't need. | py |
diff --git a/src/chemcoord/cartesian_coordinates/_cartesian_class_core.py b/src/chemcoord/cartesian_coordinates/_cartesian_class_core.py
index <HASH>..<HASH> 100644
--- a/src/chemcoord/cartesian_coordinates/_cartesian_class_core.py
+++ b/src/chemcoord/cartesian_coordinates/_cartesian_class_core.py
@@ -234,7 +234,7 @@ c... | BUG: renamed __neq__ to __ne__ | py |
diff --git a/pyfolio/tests/test_perf_attrib.py b/pyfolio/tests/test_perf_attrib.py
index <HASH>..<HASH> 100644
--- a/pyfolio/tests/test_perf_attrib.py
+++ b/pyfolio/tests/test_perf_attrib.py
@@ -155,6 +155,24 @@ class PerfAttribTestCase(unittest.TestCase):
pd.util.testing.assert_frame_equal(expected_exposures_... | TST: test for create_perf_attrib_stats | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,7 @@ readme = open('README.rst').read()
setup(
name='sqlalchemy-clickhouse',
- version='.'.join('%d' % v for v in VERSION[0:3]) + "-0",
+ version='.'.join('%d' % v for v in VERSION[0:3]),
description... | Removed '-0' from version | py |
diff --git a/MC6809/tests/__init__.py b/MC6809/tests/__init__.py
index <HASH>..<HASH> 100644
--- a/MC6809/tests/__init__.py
+++ b/MC6809/tests/__init__.py
@@ -1,22 +0,0 @@
-import unittest
-
-
-def get_tests():
- loader = unittest.TestLoader()
- tests = loader.discover('.')
- return tests
-
-
-def run_tests(ve... | remove obsolete code (has run unittests two times) | py |
diff --git a/blockstack_client/utils.py b/blockstack_client/utils.py
index <HASH>..<HASH> 100644
--- a/blockstack_client/utils.py
+++ b/blockstack_client/utils.py
@@ -339,7 +339,9 @@ class ScatterGather(object):
else:
# for testing purposes
for task_name, task_call in self.tasks.items... | log single-threaded behavior for debugging | py |
diff --git a/searx/engines/duckduckgo.py b/searx/engines/duckduckgo.py
index <HASH>..<HASH> 100644
--- a/searx/engines/duckduckgo.py
+++ b/searx/engines/duckduckgo.py
@@ -9,7 +9,7 @@
# @parse url, title, content
#
# @todo rewrite to api
-# @todo language support
+# @todo language support (... | add little note to duckduckgo engine | py |
diff --git a/angr/procedures/stubs/format_parser.py b/angr/procedures/stubs/format_parser.py
index <HASH>..<HASH> 100644
--- a/angr/procedures/stubs/format_parser.py
+++ b/angr/procedures/stubs/format_parser.py
@@ -10,7 +10,7 @@ from ...storage.file import SimPackets
l = logging.getLogger(name=__name__)
ascii_digits ... | Fix the __repr__() method of FormatString. (#<I>) | py |
diff --git a/salt/modules/nix.py b/salt/modules/nix.py
index <HASH>..<HASH> 100644
--- a/salt/modules/nix.py
+++ b/salt/modules/nix.py
@@ -252,7 +252,7 @@ def collect_garbage():
'''
Completely removed all currently 'uninstalled' packages in the nix store.
- Returns a list of all the operations done. Ther... | nix: Correct documentation for gc It doesn't actually show a list of all the operations, just the nix summary. | py |
diff --git a/alerta/app/management/views.py b/alerta/app/management/views.py
index <HASH>..<HASH> 100644
--- a/alerta/app/management/views.py
+++ b/alerta/app/management/views.py
@@ -5,6 +5,7 @@ import datetime
from flask import request, Response, url_for, jsonify, render_template
from alerta.app import app, db, mq
... | add crossdomain support to /management urls | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -324,7 +324,7 @@ mssql = [
'pymssql~=2.1,>=2.1.5',
]
mysql = [
- 'mysql-connector-python>=8.0.11, <=8.0.18',
+ 'mysql-connector-python>=8.0.11, <=8.0.22',
'mysqlclient>=1.3.6,<1.4',
]
odbc = [ | upgrade mysql-connector-python to <I> (#<I>) | py |
diff --git a/contrib/grinder/scripts/ingest.py b/contrib/grinder/scripts/ingest.py
index <HASH>..<HASH> 100644
--- a/contrib/grinder/scripts/ingest.py
+++ b/contrib/grinder/scripts/ingest.py
@@ -62,7 +62,7 @@ class IngestThread(AbstractThread):
collection_time = time
# all even tenants have possible delayed m... | Minor fix in grinder code to ingest delayed metrics | py |
diff --git a/benchexec/test_integration/__init__.py b/benchexec/test_integration/__init__.py
index <HASH>..<HASH> 100644
--- a/benchexec/test_integration/__init__.py
+++ b/benchexec/test_integration/__init__.py
@@ -151,7 +151,7 @@ class BenchExecIntegrationTests(unittest.TestCase):
else:
basename ... | Improvements from flake8: comprehensions instead of map | py |
diff --git a/holidays/countries/venezuela.py b/holidays/countries/venezuela.py
index <HASH>..<HASH> 100644
--- a/holidays/countries/venezuela.py
+++ b/holidays/countries/venezuela.py
@@ -54,9 +54,9 @@ class Venezuela(HolidayBase):
self[date(year, JUL, 24)] = "Natalicio de Simón Bolívar"
self[date(ye... | Modified venezuela.py with pre-commit | py |
diff --git a/gooey/gui/application.py b/gooey/gui/application.py
index <HASH>..<HASH> 100644
--- a/gooey/gui/application.py
+++ b/gooey/gui/application.py
@@ -12,7 +12,7 @@ from functools import partial
from gooey.gui.lang import i18n
from gooey.gui.windows.base_window import BaseWindow
-from gooey.gui.windows.a... | Renamed AdvancedConfig to ConfigPanel | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@ from setuptools import setup, find_packages
setup(
name='pgdocgen',
- version='0.1',
+ version='0.2',
packages=find_packages(),
scripts=['pgdocgen/pgdocgen'],
include_package_data=True... | Increased version for a new tag | py |
diff --git a/spyder/dependencies.py b/spyder/dependencies.py
index <HASH>..<HASH> 100644
--- a/spyder/dependencies.py
+++ b/spyder/dependencies.py
@@ -103,11 +103,20 @@ DESCRIPTIONS += [
{'modname': "jedi",
'package_name': "jedi",
'features': _("Main backend for the Python Language Server"),
- '... | Dependencies: Don't register keyring on Linux and Python 2 Keyring can't work in that situation because it requires system packages | py |
diff --git a/user_management/api/tests/test_views.py b/user_management/api/tests/test_views.py
index <HASH>..<HASH> 100644
--- a/user_management/api/tests/test_views.py
+++ b/user_management/api/tests/test_views.py
@@ -197,7 +197,7 @@ class TestRegisterView(APIRequestTestCase):
self.assertTrue('email' in res... | Update test to assert only one user is present | py |
diff --git a/pingouin/bayesian.py b/pingouin/bayesian.py
index <HASH>..<HASH> 100644
--- a/pingouin/bayesian.py
+++ b/pingouin/bayesian.py
@@ -156,7 +156,7 @@ def bayesfactor_ttest(t, nx, ny=None, paired=False, tail='two-sided', r=.707):
if ((tail == 'greater' and t < 0) or (tail == 'less' and t > 0)) and bf10 > 1... | bayesian functions now return float, rather than str | py |
diff --git a/khard/address_book.py b/khard/address_book.py
index <HASH>..<HASH> 100644
--- a/khard/address_book.py
+++ b/khard/address_book.py
@@ -82,11 +82,6 @@ class AddressBook(metaclass=abc.ABCMeta):
for contact in self.contacts.values():
if query.match(contact):
yield contact... | Fix tests by removing legacy special search for phone numbers This legacy search logic compromises the logic of the query classes. If it is to be reimplemented it has to be inside the query classes. | py |
diff --git a/assess_model_migration.py b/assess_model_migration.py
index <HASH>..<HASH> 100755
--- a/assess_model_migration.py
+++ b/assess_model_migration.py
@@ -382,7 +382,7 @@ def ensure_model_logs_are_migrated(source_client, dest_client):
log.info('Attempting migration process')
migrated_model = migrate_m... | Make sure to get all model logs to check for pre-migration messages. | py |
diff --git a/py4chan/__init__.py b/py4chan/__init__.py
index <HASH>..<HASH> 100644
--- a/py4chan/__init__.py
+++ b/py4chan/__init__.py
@@ -31,6 +31,12 @@ _VERSION = '0.3'
class Board(object):
def __init__(self, board_name, https = False, api_url = _4CHAN_API, session = None):
+ """
+ Initializes the bo... | adding spaghetti's py4chan fixes | py |
diff --git a/source/rafcon/gui/mygaphas/tools.py b/source/rafcon/gui/mygaphas/tools.py
index <HASH>..<HASH> 100644
--- a/source/rafcon/gui/mygaphas/tools.py
+++ b/source/rafcon/gui/mygaphas/tools.py
@@ -204,7 +204,7 @@ class MoveItemTool(gaphas.tool.ItemTool):
if position_changed:
self.vie... | ConnectionCreationTool: Make use of handle_new_selection Also: Do not focus any item | py |
diff --git a/cmsplugin_zinnia/models.py b/cmsplugin_zinnia/models.py
index <HASH>..<HASH> 100644
--- a/cmsplugin_zinnia/models.py
+++ b/cmsplugin_zinnia/models.py
@@ -23,8 +23,8 @@ class LatestEntriesPlugin(CMSPlugin):
featured = models.NullBooleanField(
_('featured'),
blank=True, null=True,
- ... | Issue #<I>: Self-explanatory select options and help_text for Featured and Offset | py |
diff --git a/lib/websearch_templates.py b/lib/websearch_templates.py
index <HASH>..<HASH> 100644
--- a/lib/websearch_templates.py
+++ b/lib/websearch_templates.py
@@ -3215,7 +3215,10 @@ class Template:
else:
out = "<!--not showing citation history. CFG_BIBRANK_SHOW_CITATION_GRAPHS:"
o... | took into account missing citationhistory | py |
diff --git a/tests/test_cloud_detector.py b/tests/test_cloud_detector.py
index <HASH>..<HASH> 100644
--- a/tests/test_cloud_detector.py
+++ b/tests/test_cloud_detector.py
@@ -20,6 +20,12 @@ def test_pixel_cloud_detector():
assert np.allclose(cloud_probs, data['cl_probs'], atol=1e-14)
assert np.array_equal(clo... | added extra test for single-temporal data | py |
diff --git a/keyring/tests/backends/test_Windows.py b/keyring/tests/backends/test_Windows.py
index <HASH>..<HASH> 100644
--- a/keyring/tests/backends/test_Windows.py
+++ b/keyring/tests/backends/test_Windows.py
@@ -6,20 +6,9 @@ import unittest
import keyring.backends.Windows
from ..test_backend import BackendBasicTes... | Re-use viability check for skipping tests on Windows. | py |
diff --git a/bingsearch.py b/bingsearch.py
index <HASH>..<HASH> 100644
--- a/bingsearch.py
+++ b/bingsearch.py
@@ -32,7 +32,12 @@ class BingSearch(object):
url = self.QUERY_URL.format(urllib2.quote("'{}'".format(query)), limit, offset, format)
r = requests.get(url, auth=("", self.api_key))
js... | __next link is sometimes not returned | py |
diff --git a/grimoire/ocean/github.py b/grimoire/ocean/github.py
index <HASH>..<HASH> 100644
--- a/grimoire/ocean/github.py
+++ b/grimoire/ocean/github.py
@@ -39,13 +39,6 @@ class GitHubOcean(ElasticOcean):
def get_field_date(self):
return "__metadata__updated_on"
- def drop_item(self, item):
- ... | [Ocean github] Publish all items (issues and prs) in Ocean. | py |
diff --git a/spikeextractors/example_datasets/toy_example.py b/spikeextractors/example_datasets/toy_example.py
index <HASH>..<HASH> 100644
--- a/spikeextractors/example_datasets/toy_example.py
+++ b/spikeextractors/example_datasets/toy_example.py
@@ -16,6 +16,7 @@ def toy_example(duration=10, num_channels=4, samplerate... | Add sampling rate to toy example sorting extractor | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -28,18 +28,18 @@ pkgs = find_packages()
setup(
name='strictdict3',
- version='0.4.4',
+ version='0.4.5',
description='Strict Dict',
author='Dmitry Zhiltsov',
author_email='dzhiltsov@me.com',
e... | Update version. Freeze additional library versions. | py |
diff --git a/pythran/toolchain.py b/pythran/toolchain.py
index <HASH>..<HASH> 100644
--- a/pythran/toolchain.py
+++ b/pythran/toolchain.py
@@ -113,6 +113,13 @@ def generate_cxx(module_name, code, specs=None, optimizations=None):
returns a PythonModule object
'''
+ if sys.version_info[0] == 3:
+ ra... | Gracefully fail when trying to use Pythran3 in inappropriate manner | py |
diff --git a/malcolm/modules/builtin/controllers/managercontroller.py b/malcolm/modules/builtin/controllers/managercontroller.py
index <HASH>..<HASH> 100644
--- a/malcolm/modules/builtin/controllers/managercontroller.py
+++ b/malcolm/modules/builtin/controllers/managercontroller.py
@@ -468,11 +468,12 @@ class ManagerCo... | Don't put .json in template design names | py |
diff --git a/pixel_clusterizer/clusterizer.py b/pixel_clusterizer/clusterizer.py
index <HASH>..<HASH> 100644
--- a/pixel_clusterizer/clusterizer.py
+++ b/pixel_clusterizer/clusterizer.py
@@ -471,6 +471,8 @@ class HitClusterizer(object):
continue
if key not in hits.dtype.names:
... | ENH: raise exception for dtype float<I> which is not supported by numba | py |
diff --git a/helpers/constants.py b/helpers/constants.py
index <HASH>..<HASH> 100644
--- a/helpers/constants.py
+++ b/helpers/constants.py
@@ -5,8 +5,8 @@ Generates constants for use in blinkpy
import os
MAJOR_VERSION = 0
-MINOR_VERSION = 4
-PATCH_VERSION = 4
+MINOR_VERSION = 5
+PATCH_VERSION = 0
__version_... | Bumping release to <I> | py |
diff --git a/src/scs_core/aws/manager/alert_specification_manager.py b/src/scs_core/aws/manager/alert_specification_manager.py
index <HASH>..<HASH> 100644
--- a/src/scs_core/aws/manager/alert_specification_manager.py
+++ b/src/scs_core/aws/manager/alert_specification_manager.py
@@ -91,7 +91,7 @@ class AlertSpecificatio... | Added To field to AlertSpecification | py |
diff --git a/ec2/spark_ec2.py b/ec2/spark_ec2.py
index <HASH>..<HASH> 100755
--- a/ec2/spark_ec2.py
+++ b/ec2/spark_ec2.py
@@ -398,6 +398,9 @@ def setup_cluster(conn, master_nodes, slave_nodes, opts, deploy_ssh_key):
modules = ['spark', 'shark', 'ephemeral-hdfs', 'persistent-hdfs',
'mapreduce', 'spark... | Don't install MapReduce for Hadoop1 | py |
diff --git a/vent/helpers/meta.py b/vent/helpers/meta.py
index <HASH>..<HASH> 100644
--- a/vent/helpers/meta.py
+++ b/vent/helpers/meta.py
@@ -185,7 +185,7 @@ def Jobs():
try:
d_client = docker.from_env()
c = d_client.containers.list(all=True,
- filters={'label... | white space will be the death of me | py |
diff --git a/fastimport/tests/test_parser.py b/fastimport/tests/test_parser.py
index <HASH>..<HASH> 100644
--- a/fastimport/tests/test_parser.py
+++ b/fastimport/tests/test_parser.py
@@ -318,7 +318,7 @@ class TestTagParsing(unittest.TestCase):
"create v1.0"))
cmds = list(p.iter_commands())
... | Fix compatibility with python<I>, which does not have assertIsInstance. | py |
diff --git a/angr/analyses/cfg_fast.py b/angr/analyses/cfg_fast.py
index <HASH>..<HASH> 100644
--- a/angr/analyses/cfg_fast.py
+++ b/angr/analyses/cfg_fast.py
@@ -1673,11 +1673,13 @@ class CFGFast(ForwardAnalysis, CFGBase): # pylint: disable=abstract-method
return "unicode", (len(unicode_str) + 1) *... | CFGFast: handles strings longer than max length. | py |
diff --git a/pycbc/workflow/jobsetup.py b/pycbc/workflow/jobsetup.py
index <HASH>..<HASH> 100644
--- a/pycbc/workflow/jobsetup.py
+++ b/pycbc/workflow/jobsetup.py
@@ -1676,7 +1676,7 @@ class PycbcTimeslidesExecutable(Executable):
class PycbcSplitBankExecutable(Executable):
""" The class responsible for creating j... | Minor fix The extension should include the ".": ".hdf" not "hdf" | py |
diff --git a/beakerx/beakerx/handlers.py b/beakerx/beakerx/handlers.py
index <HASH>..<HASH> 100644
--- a/beakerx/beakerx/handlers.py
+++ b/beakerx/beakerx/handlers.py
@@ -19,7 +19,7 @@ import tornado
import zmq
from notebook.base.handlers import APIHandler, IPythonHandler
from notebook.utils import url_path_join
-fr... | use coroutines instead of @asynchronous (#<I>) | 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
@@ -94,14 +94,18 @@ pygments_style = 'sphinx'
# -- Options for HTML output ---------------------------------------------------
-# The theme to use for HTML and HTML Help pages. Ma... | Change the rfd theme to a more modern one | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -90,7 +90,7 @@ if os.path.exists("/etc/SuSE-release"):
setup(
name='sawtooth-validator',
- version=version('1.1.0'),
+ version=version('1.1.1'),
description='Validator service for Sawtooth Lake distributed l... | Increment version to <I> | py |
diff --git a/umap/tests/test_umap_on_iris.py b/umap/tests/test_umap_on_iris.py
index <HASH>..<HASH> 100644
--- a/umap/tests/test_umap_on_iris.py
+++ b/umap/tests/test_umap_on_iris.py
@@ -96,7 +96,7 @@ def test_umap_transform_on_iris_modified_dtype(iris, iris_selection):
trust = trustworthiness(new_data, embedding,... | trustworthiness on iris modified dtype put on <I> | py |
diff --git a/barf/barf.py b/barf/barf.py
index <HASH>..<HASH> 100644
--- a/barf/barf.py
+++ b/barf/barf.py
@@ -405,25 +405,6 @@ class BARF(object):
return cfg, calls
- def recover_bbs(self, ea_start=None, ea_end=None):
- """Recover basic blocks.
-
- :param ea_start: start address
- ... | Remove deprecated recover_bbs method | py |
diff --git a/splinter/driver/webdriver/__init__.py b/splinter/driver/webdriver/__init__.py
index <HASH>..<HASH> 100644
--- a/splinter/driver/webdriver/__init__.py
+++ b/splinter/driver/webdriver/__init__.py
@@ -7,6 +7,7 @@
import tempfile
import time
import re
+import sys
from contextlib import contextmanager
fr... | Fix Python 3 issue with function introspection The two attributes ``im_func`` and ``func_name`` have been renamed in Python 3 to ``__func__`` and ``__name__`` respectively. I've looked at solutions used by the *six* module and within splinter itself. From this, I think this is an appropriate solution. | py |
diff --git a/sftpman/model.py b/sftpman/model.py
index <HASH>..<HASH> 100644
--- a/sftpman/model.py
+++ b/sftpman/model.py
@@ -229,7 +229,10 @@ class SystemControllerModel(object):
self._mount_point_local_create()
- sshfs_options = " -o %s" % " -o ".join(self.system.mount_opts)
+ if len(self.... | Fix mounting when no sshfs options are specified. | py |
diff --git a/ssbio/protein/structure/structprop.py b/ssbio/protein/structure/structprop.py
index <HASH>..<HASH> 100644
--- a/ssbio/protein/structure/structprop.py
+++ b/ssbio/protein/structure/structprop.py
@@ -89,7 +89,7 @@ class StructProp(Object):
@property
def structure_dir(self):
if not self._st... | Fix typo in structure_dir (cherry picked from commit e<I>e<I>f) | py |
diff --git a/INSTALL/fabfile.py b/INSTALL/fabfile.py
index <HASH>..<HASH> 100644
--- a/INSTALL/fabfile.py
+++ b/INSTALL/fabfile.py
@@ -82,7 +82,7 @@ def update():
initialize()
pull()
install_requirements()
- sync_data()
+ sync_data(update=True)
start_server()
def clone():
@@ -181,11... | --no-initial-data in update fabric procedure. Refers to #<I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -69,7 +69,7 @@ else:
setup(
cmdclass={'install': install},
name='selenium',
- version="2.2.0",
+ version="2.3.0",
description='Python bindings for Selenium',
long_description=find_longdesc(),
... | DavidBurns bumping version to <I> r<I> | py |
diff --git a/cloudmesh/common/Host.py b/cloudmesh/common/Host.py
index <HASH>..<HASH> 100644
--- a/cloudmesh/common/Host.py
+++ b/cloudmesh/common/Host.py
@@ -21,26 +21,34 @@ class Host(object):
if type(hosts) != list:
_hosts = Parameter.expand(hosts)
- if type(ips) != list:
- ... | allow for hosts without ip number | py |
diff --git a/python/ray/rllib/rollout.py b/python/ray/rllib/rollout.py
index <HASH>..<HASH> 100755
--- a/python/ray/rllib/rollout.py
+++ b/python/ray/rllib/rollout.py
@@ -104,6 +104,17 @@ def rollout(agent, env_name, num_steps, out=None, no_render=True):
env = agent.local_evaluator.env
else:
env ... | [rllib] fix for rollout of lstm policies (#<I>) * fix for lstm policies * added call to local evaluator * Update python/ray/rllib/rollout.py | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -18,7 +18,7 @@ install_requires = [
'six',
'pyramid',
'sqlalchemy',
- 'marshmallow >= 2.14, < 3.0',
+ 'marshmallow>=2.14,<3.0',
]
tests_require = [ | install_requires fix? | py |
diff --git a/phoebe/__init__.py b/phoebe/__init__.py
index <HASH>..<HASH> 100644
--- a/phoebe/__init__.py
+++ b/phoebe/__init__.py
@@ -42,10 +42,8 @@ class Settings(object):
# self._interactive = not hasattr(__main__, '__file__') or bool(sys.flags.interactive)
self._interactive = True
- # Che... | require explicitly calling phoebe.devel_on() no longer check for existence of file to enable by default | py |
diff --git a/timeside/server/models.py b/timeside/server/models.py
index <HASH>..<HASH> 100644
--- a/timeside/server/models.py
+++ b/timeside/server/models.py
@@ -196,8 +196,7 @@ class Task(BaseResource):
if not os.path.exists(settings.MEDIA_ROOT + os.sep + path):
os.makedirs(settings.MEDI... | - server: give item.sha1 to FileDecoder, grapher parameters as {} | py |
diff --git a/oemof/db/feedin_pg.py b/oemof/db/feedin_pg.py
index <HASH>..<HASH> 100644
--- a/oemof/db/feedin_pg.py
+++ b/oemof/db/feedin_pg.py
@@ -19,7 +19,27 @@ class Feedin:
pass
def aggregate_cap_val(self, conn, **kwargs):
- ''
+ '''
+ Returns the normalised feedin profile and in... | Add docstring to definition aggregate_cap_val | py |
diff --git a/wd_property_store.py b/wd_property_store.py
index <HASH>..<HASH> 100755
--- a/wd_property_store.py
+++ b/wd_property_store.py
@@ -368,19 +368,19 @@ wd_properties = {
'P680': {
'datatype': 'item',
'name': 'molecular function',
- 'domain': ['genes'],
+ 'domain': ['protein... | Added: P<I> Molecular function P<I> Cell component P<I> Biological process to protein bot | py |
diff --git a/dpxdt/server/frontend.py b/dpxdt/server/frontend.py
index <HASH>..<HASH> 100644
--- a/dpxdt/server/frontend.py
+++ b/dpxdt/server/frontend.py
@@ -95,7 +95,7 @@ def new_build():
def view_build():
"""Page for viewing all releases in a build."""
build = g.build
- page_size = request.args.get('pa... | Use a maximum number of releases per page | py |
diff --git a/chain.py b/chain.py
index <HASH>..<HASH> 100644
--- a/chain.py
+++ b/chain.py
@@ -26,7 +26,7 @@ from p2p.peer import BasePeer, ETHPeer, PeerPool, PeerPoolSubscriber
class ChainSyncer(PeerPoolSubscriber):
logger = logging.getLogger("p2p.chain.ChainSyncer")
# We'll only sync if we are connected to... | ChainSyncer now requires just one peer in order to sync | py |
diff --git a/iopipe/iopipe.py b/iopipe/iopipe.py
index <HASH>..<HASH> 100644
--- a/iopipe/iopipe.py
+++ b/iopipe/iopipe.py
@@ -14,6 +14,10 @@ except:
from botocore.vendored import requests
+MODULE_LOAD_TIME = time.time() * 1000
+COLDSTART = True
+
+
def get_pid_stat(pid):
with open("/proc/%s/stat" % (pid... | Add load_time and coldstart (#<I>) * Add load_time and coldstart | py |
diff --git a/ratcave/scene.py b/ratcave/scene.py
index <HASH>..<HASH> 100644
--- a/ratcave/scene.py
+++ b/ratcave/scene.py
@@ -42,7 +42,6 @@ class Scene(HasUniforms):
if not isinstance(value, Camera):
raise TypeError("Scene.camera must be a Camera instance.")
self._camera = value
- ... | Removed scene.uniforms, which was creating issues when changing scene.camera. Now, it just sends camera's and light's uniforms directly, which is a little simpler and easy to maintain, since all uniforms are handled within their own modules. | py |
diff --git a/girc/events.py b/girc/events.py
index <HASH>..<HASH> 100644
--- a/girc/events.py
+++ b/girc/events.py
@@ -36,7 +36,7 @@ _verb_param_map = {
),
},
'user': {
- 0: (
+ 1: (
'kick',
),
},
@@ -51,7 +51,10 @@ _verb_param_map = {
1: (
... | girc, that's... not how kicks work. omg. | py |
diff --git a/formats/agp.py b/formats/agp.py
index <HASH>..<HASH> 100644
--- a/formats/agp.py
+++ b/formats/agp.py
@@ -36,8 +36,8 @@ Valid_gap_type = ("fragment", "clone", "contig", "centromere", "short_arm",
Valid_orientation = ("+", "-", "0", "na")
component_RGB = {"O" : "0,100,0",
"F" : "0,100,0"... | Fixed error in caluclating block size for bed<I> line; Modified color choices for BAC phases and gap features | py |
diff --git a/src/qinfer/distributions.py b/src/qinfer/distributions.py
index <HASH>..<HASH> 100644
--- a/src/qinfer/distributions.py
+++ b/src/qinfer/distributions.py
@@ -360,7 +360,7 @@ class PostselectedDistribution(Distribution):
self._dist = distribution
self._model = model
- self... | Fixed silly problem with PostselectedModel. | py |
diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py
index <HASH>..<HASH> 100644
--- a/pandas/core/indexes/base.py
+++ b/pandas/core/indexes/base.py
@@ -4232,7 +4232,7 @@ class Index(IndexOpsMixin, PandasObject):
>>> idx1.equals(idx2)
False
- The oreder is compared
+ ... | DOC/CLN: Fix docstring typo (#<I>) | py |
diff --git a/salt/cloud/libcloudfuncs.py b/salt/cloud/libcloudfuncs.py
index <HASH>..<HASH> 100644
--- a/salt/cloud/libcloudfuncs.py
+++ b/salt/cloud/libcloudfuncs.py
@@ -9,7 +9,7 @@ from __future__ import absolute_import
import os
import logging
from six import string_types
-import six
+import salt.utils.six as six... | Replaced import six in file /salt/cloud/libcloudfuncs.py | py |
diff --git a/tests/test_hooks.py b/tests/test_hooks.py
index <HASH>..<HASH> 100644
--- a/tests/test_hooks.py
+++ b/tests/test_hooks.py
@@ -1,10 +1,13 @@
import pytest
from datetime import datetime
+
@pytest.mark.vcr()
def test_id_hook(status):
assert isinstance(status['id'], int)
+
+@pytest.mark.xfail(reas... | hooks: mark failing test resolved in upstream as xfail | py |
diff --git a/pygsp/learning.py b/pygsp/learning.py
index <HASH>..<HASH> 100644
--- a/pygsp/learning.py
+++ b/pygsp/learning.py
@@ -132,7 +132,7 @@ def regression_tik(G, y, M, tau=0):
LinearOp = np.diag(M*1) + tau * G.L
else:
def Op(x):
- return (M * x.T).T + tau * (G.L ... | update dot product for <I> compatibility issue | py |
diff --git a/uvicorn/middleware/wsgi.py b/uvicorn/middleware/wsgi.py
index <HASH>..<HASH> 100644
--- a/uvicorn/middleware/wsgi.py
+++ b/uvicorn/middleware/wsgi.py
@@ -24,13 +24,16 @@ def build_environ(scope, message, body):
}
# Get server name and port - required in WSGI, not in ASGI
- server = scope.get... | Fix using wsgi with unix socket results TypeError (#<I>) | py |
diff --git a/datasketch/hyperloglog.py b/datasketch/hyperloglog.py
index <HASH>..<HASH> 100644
--- a/datasketch/hyperloglog.py
+++ b/datasketch/hyperloglog.py
@@ -1,5 +1,6 @@
import struct, copy
import numpy as np
+import warnings
try:
from .hyperloglog_const import _thresholds, _raw_estimate, _bias
except Imp... | HyperLogLog: add warning for when estimate is close to error correction threshold (#<I>) HyperLogLog: add warning for when estimate is close to error correction threshold | py |
diff --git a/localshop/conf/server.py b/localshop/conf/server.py
index <HASH>..<HASH> 100644
--- a/localshop/conf/server.py
+++ b/localshop/conf/server.py
@@ -54,6 +54,8 @@ USE_L10N = True
# If you set this to False, Django will not use timezone-aware datetimes.
USE_TZ = True
+LOGIN_URL = '/permissions/login/'
+
#... | Set the correct LOGIN_URL | py |
diff --git a/runners/setup.py b/runners/setup.py
index <HASH>..<HASH> 100644
--- a/runners/setup.py
+++ b/runners/setup.py
@@ -13,7 +13,7 @@ setup(
install_requires=[
'vr.common>=3.8.0,<4',
'requests>=1.2.0',
- 'PyYAML>=3.10',
+ 'PyYAML==3.10',
],
entry_points={
'... | Pin PyYAML version to <I> to be happy with dependencies | py |
diff --git a/pylatexenc/version.py b/pylatexenc/version.py
index <HASH>..<HASH> 100644
--- a/pylatexenc/version.py
+++ b/pylatexenc/version.py
@@ -55,4 +55,4 @@
# 8) upload package to PyPI (twine upload dist/pylatexenc-X.X.tar.gz -r realpypi)
#
-version_str = "2.9"
+version_str = "2.10b" | bumped version <I>b | py |
diff --git a/ipyrad/assemble/util.py b/ipyrad/assemble/util.py
index <HASH>..<HASH> 100644
--- a/ipyrad/assemble/util.py
+++ b/ipyrad/assemble/util.py
@@ -202,7 +202,7 @@ def merge_pairs(data, sample): #, unmerged_files):
## vsearch merging
cmd = data.bins.vsearch \
+" --fastq_mergepairs "+sample.files... | merge pairs parallelized and with suffix | py |
diff --git a/abutils/utils/alignment.py b/abutils/utils/alignment.py
index <HASH>..<HASH> 100644
--- a/abutils/utils/alignment.py
+++ b/abutils/utils/alignment.py
@@ -724,10 +724,12 @@ class SSWAlignment(BaseAlignment):
self.aligned_target = self._alignment.aligned_target_sequence
self.alignment_midli... | remove AlignmentStructure objects from SSWAlignment after processing to allow pickling | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.