diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -24,7 +24,7 @@ from linaro_json import get_version
setup(
- name = 'linaro-python-json',
+ name = 'linaro-json',
version = get_version(),
author = "Zygmunt Krynicki",
author_email = "zygmunt.krynicki@... | Change project name to linaro-json | py |
diff --git a/distutils/ccompiler.py b/distutils/ccompiler.py
index <HASH>..<HASH> 100644
--- a/distutils/ccompiler.py
+++ b/distutils/ccompiler.py
@@ -802,10 +802,7 @@ int main (int argc, char **argv) {
except (LinkError, TypeError):
return False
else:
- output_dir = self.outpu... | Use simple expression for resolution of outputdir. | py |
diff --git a/fedmsg.d/logging.py b/fedmsg.d/logging.py
index <HASH>..<HASH> 100644
--- a/fedmsg.d/logging.py
+++ b/fedmsg.d/logging.py
@@ -22,6 +22,11 @@ config = dict(
"propagate": False,
"handlers": ["console"],
},
+ moksha={
+ "level": "INFO",
... | Re-enable moksha logging in fedmsg services. | 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.5.0.dev20190406"
+__version__ = "0.5.0.de... | release: <I>.de<I> | py |
diff --git a/charmhelpers/contrib/storage/linux/ceph.py b/charmhelpers/contrib/storage/linux/ceph.py
index <HASH>..<HASH> 100644
--- a/charmhelpers/contrib/storage/linux/ceph.py
+++ b/charmhelpers/contrib/storage/linux/ceph.py
@@ -49,6 +49,9 @@ CEPH_CONF = """[global]
auth supported = {auth}
keyring = {keyring}
m... | [ed-hope-morley] added support for ceph-client 'use_syslog' config | py |
diff --git a/skyfield/tests/test_vs_novas.py b/skyfield/tests/test_vs_novas.py
index <HASH>..<HASH> 100644
--- a/skyfield/tests/test_vs_novas.py
+++ b/skyfield/tests/test_vs_novas.py
@@ -30,19 +30,19 @@ else:
c_nutation = c.nutation
import novas.compat.nutation # overwrites nutation() function with module!
... | Avoid exception if test dependency is missing | py |
diff --git a/spyderlib/utils/introspection/rope_plugin.py b/spyderlib/utils/introspection/rope_plugin.py
index <HASH>..<HASH> 100644
--- a/spyderlib/utils/introspection/rope_plugin.py
+++ b/spyderlib/utils/introspection/rope_plugin.py
@@ -288,10 +288,14 @@ if __name__ == '__main__':
len(source_code), __file__)... | Add a guard around pandas check | py |
diff --git a/src/ocrmypdf/pdfinfo/layout.py b/src/ocrmypdf/pdfinfo/layout.py
index <HASH>..<HASH> 100644
--- a/src/ocrmypdf/pdfinfo/layout.py
+++ b/src/ocrmypdf/pdfinfo/layout.py
@@ -221,7 +221,7 @@ class TextPositionTracker(PDFLayoutAnalyzer):
def get_page_analysis(infile, pageno, pscript5_mode):
rman = pdfminer... | TextPositionTracker: set boxes_flow=None We don't care about the order of lines in our analysis, and this is an expensive calculation in pdfminer. | py |
diff --git a/allauth/account/forms.py b/allauth/account/forms.py
index <HASH>..<HASH> 100644
--- a/allauth/account/forms.py
+++ b/allauth/account/forms.py
@@ -38,7 +38,8 @@ class EmailAwarePasswordResetTokenGenerator(PasswordResetTokenGenerator):
user, timestamp
)
sync_user_email_addresse... | fix(accounts): Attribute error for custom email field | py |
diff --git a/dump2polarion/verify.py b/dump2polarion/verify.py
index <HASH>..<HASH> 100644
--- a/dump2polarion/verify.py
+++ b/dump2polarion/verify.py
@@ -62,7 +62,6 @@ class QueueSearch(object):
return response
- # pylint:disable=inconsistent-return-statements
def find_jobs(self, job_ids):
... | Display link to log file, not link for download | py |
diff --git a/tests/__init__.py b/tests/__init__.py
index <HASH>..<HASH> 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -170,7 +170,7 @@ class BaseManagerTestCase(unittest.TestCase):
"""
cls.managers = {}
cls.loop = asyncio.new_event_loop()
- cls.loop.set_debug(True)
+ ... | Disable loop debug in tests (failing on Python <I>) | py |
diff --git a/tests/test_cache.py b/tests/test_cache.py
index <HASH>..<HASH> 100644
--- a/tests/test_cache.py
+++ b/tests/test_cache.py
@@ -52,6 +52,9 @@ class InlineTestT(Transformer):
def NUM(self, token):
return int(token)
+ def __reduce__(self):
+ raise TypeError("This Transformer should no... | added test for not caching the Transformer | py |
diff --git a/cosmic_ray/interceptors/__init__.py b/cosmic_ray/interceptors/__init__.py
index <HASH>..<HASH> 100644
--- a/cosmic_ray/interceptors/__init__.py
+++ b/cosmic_ray/interceptors/__init__.py
@@ -0,0 +1,5 @@
+# An interceptor is a callable that is called at the end of the "init" command.
+#
+# Interceptors are p... | Added docstring describing what an "interceptor" is. | py |
diff --git a/qiskit/visualization/gate_map.py b/qiskit/visualization/gate_map.py
index <HASH>..<HASH> 100644
--- a/qiskit/visualization/gate_map.py
+++ b/qiskit/visualization/gate_map.py
@@ -313,12 +313,10 @@ def plot_circuit_layout(circuit, backend, view='virtual'):
qubit_labels = [None] * n_qubits
if view... | Fix plot_circuit_layout (#<I>) Fixes #<I> It was assumed that the returned bits were in order when in fact they need not be. | py |
diff --git a/pwnypack/main.py b/pwnypack/main.py
index <HASH>..<HASH> 100644
--- a/pwnypack/main.py
+++ b/pwnypack/main.py
@@ -159,7 +159,7 @@ def main():
dest='no_newline',
action='store_const',
const=True,
- help='inhibit newline after output'
+ help='inhibit newline after out... | Inhibit newline when output is piped. | py |
diff --git a/run-tests.py b/run-tests.py
index <HASH>..<HASH> 100755
--- a/run-tests.py
+++ b/run-tests.py
@@ -114,7 +114,7 @@ def run_pytest(display):
env['PYTHONPATH'] = here
env['_I3IPC_TEST'] = '1'
env['I3SOCK'] = f'/tmp/i3ipc-test-sock-{display}'
- subprocess.run([PYTEST], env=env)
+ subproces... | add sys args to pytest in run-tests.py | py |
diff --git a/python/setup.py b/python/setup.py
index <HASH>..<HASH> 100755
--- a/python/setup.py
+++ b/python/setup.py
@@ -76,6 +76,7 @@ setup(
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.1',
'Programming Language :: Python :: 3.2',
+ 'Programming Langua... | Add Python <I> to language list in setup.py. | py |
diff --git a/address.py b/address.py
index <HASH>..<HASH> 100644
--- a/address.py
+++ b/address.py
@@ -753,6 +753,7 @@ class Address(object):
"signature": signature
})
req = pywaves.wrapper('/leasing/broadcast/lease', data)
+ return req
if pywaves.OFFLI... | fixed version problems with sponsor tx | py |
diff --git a/hdate/common.py b/hdate/common.py
index <HASH>..<HASH> 100644
--- a/hdate/common.py
+++ b/hdate/common.py
@@ -9,7 +9,7 @@ from dateutil import tz
HebrewDate = namedtuple("HebrewDate", ["year", "month", "day"])
-class BaseClass:
+class BaseClass(object): # pylint: disable=useless-object-inheritance
... | Revert greedy removal of pylint warning For class inheritance to work correctly under python 2, we need BaseClass to inherit from object. Therefore we also need to add the pylint disabling of useless-object-inheritance. Python 2 tests pass now. | py |
diff --git a/bob/learn/boosting/__init__.py b/bob/learn/boosting/__init__.py
index <HASH>..<HASH> 100644
--- a/bob/learn/boosting/__init__.py
+++ b/bob/learn/boosting/__init__.py
@@ -1,7 +1,7 @@
# import Libraries of other lib packages
import bob.extension
import bob.io.base
-
+import bob.ip.facedetect
# versioning... | [py] Loading library | py |
diff --git a/latex/latex.py b/latex/latex.py
index <HASH>..<HASH> 100644
--- a/latex/latex.py
+++ b/latex/latex.py
@@ -330,7 +330,7 @@ def pelican_init(pelicanobj):
# regular expressions that depend on _WRAP_TAG are set here
tag_start= r'<%s>' % _WRAP_TAG if not _WRAP_TAG is None else ''
tag_end = r'</%s... | Fixed slight error with mathml regex in summary | py |
diff --git a/tinymce/views.py b/tinymce/views.py
index <HASH>..<HASH> 100644
--- a/tinymce/views.py
+++ b/tinymce/views.py
@@ -102,4 +102,6 @@ def filebrowser(request):
content = jsmin(render_to_string('tinymce/filebrowser.js',
context={'fb_url': fb_url},
... | Add Cache-Control: no-store header to filebrowser response | py |
diff --git a/src/armet/tests/test_encoders.py b/src/armet/tests/test_encoders.py
index <HASH>..<HASH> 100644
--- a/src/armet/tests/test_encoders.py
+++ b/src/armet/tests/test_encoders.py
@@ -29,6 +29,12 @@ class JsonTestCase(unittest.TestCase):
self.assertEqual(content, {})
+ def test_json_complex(self)... | Added a test for complex serialization. | py |
diff --git a/tests/HashContainerSimpleTest.py b/tests/HashContainerSimpleTest.py
index <HASH>..<HASH> 100644
--- a/tests/HashContainerSimpleTest.py
+++ b/tests/HashContainerSimpleTest.py
@@ -28,7 +28,7 @@ class HashContainerSimpleTest(TestCase):
def test_addOne(self):
h = HashContainer()
- h.add(... | Add test of HashContainer that adding and removing items is correct | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -54,6 +54,8 @@ setup(
"Topic :: Internet :: WWW/HTTP",
"License :: OSI Approved :: MIT License",
],
+ include_package_data=True,
+ zip_safe=False,
extras_require={
"dev": ["zope.da... | Really fix test_ssl by also making the data files get installed. | py |
diff --git a/txproductpages/tests/test_txproductpages.py b/txproductpages/tests/test_txproductpages.py
index <HASH>..<HASH> 100644
--- a/txproductpages/tests/test_txproductpages.py
+++ b/txproductpages/tests/test_txproductpages.py
@@ -5,7 +5,8 @@ from txproductpages import Connection
from txproductpages.release import... | tests: switch to @pytest_twisted.inlineCallbacks The older style @pytest.inlineCallbacks decorator is deprecated and will not work in the future. | py |
diff --git a/imbox/parser.py b/imbox/parser.py
index <HASH>..<HASH> 100644
--- a/imbox/parser.py
+++ b/imbox/parser.py
@@ -143,8 +143,9 @@ def parse_email(raw_email):
logger.debug("Multipart message. Will process parts.")
for part in email_message.walk():
content_type = part.get_content_t... | Make sure that a part is actually text before we try to decode it. | py |
diff --git a/synapse/telepath.py b/synapse/telepath.py
index <HASH>..<HASH> 100644
--- a/synapse/telepath.py
+++ b/synapse/telepath.py
@@ -449,12 +449,12 @@ class Proxy(s_eventbus.EventBus):
def _onProxyFini(self):
- self._tele_pool.fini()
- self._tele_boss.fini()
-
if self._tele_sock !=... | changed fini order during proxy tear down | py |
diff --git a/py27/bacpypes/app.py b/py27/bacpypes/app.py
index <HASH>..<HASH> 100755
--- a/py27/bacpypes/app.py
+++ b/py27/bacpypes/app.py
@@ -407,8 +407,8 @@ class ApplicationIOController(IOController, Application):
# ask the queue to process the request
queue.request_io(iocb)
- def _confirmatio... | rename the internal fn from _confirmation_complete to _app_complete | py |
diff --git a/src/hieroglyph/tests/util.py b/src/hieroglyph/tests/util.py
index <HASH>..<HASH> 100644
--- a/src/hieroglyph/tests/util.py
+++ b/src/hieroglyph/tests/util.py
@@ -31,6 +31,7 @@ except ImportError:
import docutils.frontend
import docutils.parsers.rst
+import docutils.writers.html4css1
import docutils.ut... | Include HTML writer options when generating a test document. | py |
diff --git a/pliers/extractors/text.py b/pliers/extractors/text.py
index <HASH>..<HASH> 100644
--- a/pliers/extractors/text.py
+++ b/pliers/extractors/text.py
@@ -418,11 +418,12 @@ class WordCounterExtractor(BatchTransformerMixin, TextExtractor):
super(WordCounterExtractor, self).__init__()
self.lemma... | lowercase tokens and added log prefix to feature name | py |
diff --git a/pyinfra/api/connectors/local.py b/pyinfra/api/connectors/local.py
index <HASH>..<HASH> 100644
--- a/pyinfra/api/connectors/local.py
+++ b/pyinfra/api/connectors/local.py
@@ -188,7 +188,7 @@ def get_file(
return True
-def check_can_rsync():
+def check_can_rsync(host):
if not find_executable('r... | Fix call to `check_can_rsync` in the `@local` connector. | py |
diff --git a/project_generator/builders/uvision.py b/project_generator/builders/uvision.py
index <HASH>..<HASH> 100644
--- a/project_generator/builders/uvision.py
+++ b/project_generator/builders/uvision.py
@@ -45,7 +45,7 @@ class UvisionBuilder(Builder):
logging.debug("Building uVision project: %s" % path)
... | add build log file to uvision builds | py |
diff --git a/emir/__init__.py b/emir/__init__.py
index <HASH>..<HASH> 100644
--- a/emir/__init__.py
+++ b/emir/__init__.py
@@ -21,7 +21,7 @@
import logging
-from numina import NullHandler, __version__
+from numina import __version__
# Top level NullHandler
-logging.getLogger("emir").addHandler(NullHandler())
+l... | Importing NullHandler from stdlib | py |
diff --git a/doc/conf.py b/doc/conf.py
index <HASH>..<HASH> 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -47,16 +47,16 @@ master_doc = 'index'
# General information about the project.
project = 'Sandboxed Execution Environment'
-copyright = '2015, F-Secure Corporation'
+copyright = '2015-2017, F-Secure Corporation... | documentation: updated conf file Move to alabaster theme. Add fork on GitHub banner. Updated version and copyright year. | py |
diff --git a/astropy_helpers/sphinx/conf.py b/astropy_helpers/sphinx/conf.py
index <HASH>..<HASH> 100644
--- a/astropy_helpers/sphinx/conf.py
+++ b/astropy_helpers/sphinx/conf.py
@@ -19,7 +19,6 @@ import sphinx
from distutils.version import LooseVersion
-
# -- General configuration -------------------------------... | Changing deprecated usage of 2 latex config items | py |
diff --git a/tests/integration/cloud/clouds/test_vmware.py b/tests/integration/cloud/clouds/test_vmware.py
index <HASH>..<HASH> 100644
--- a/tests/integration/cloud/clouds/test_vmware.py
+++ b/tests/integration/cloud/clouds/test_vmware.py
@@ -100,9 +100,6 @@ class VMWareTest(CloudTest):
"""
# salt-clo... | Do not edit profile config for vmware test | py |
diff --git a/datajoint/autopopulate.py b/datajoint/autopopulate.py
index <HASH>..<HASH> 100644
--- a/datajoint/autopopulate.py
+++ b/datajoint/autopopulate.py
@@ -1,6 +1,7 @@
"""autopopulate containing the dj.AutoPopulate class. See `dj.AutoPopulate` for more info."""
import abc
import logging
+import datetime
from... | added timestamp to AutoPopulate.progress() | py |
diff --git a/heroku_connect/management/commands/import_mappings.py b/heroku_connect/management/commands/import_mappings.py
index <HASH>..<HASH> 100644
--- a/heroku_connect/management/commands/import_mappings.py
+++ b/heroku_connect/management/commands/import_mappings.py
@@ -85,7 +85,7 @@ class Command(BaseCommand):
... | Fix typo in import_mappings command | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -57,7 +57,6 @@ PY_MODULES = ['openquake.commands.__main__']
install_requires = [
'setuptools',
'mock >=1.0, <2.1',
- 'nose >=1.3, <1.4',
'h5py >=2.8, <2.9',
'numpy >=1.14, <1.15',
'scipy >=1.0.1, <... | Moved the nose dependency in extras_require [skip hazardlib] | py |
diff --git a/troposphere/emr.py b/troposphere/emr.py
index <HASH>..<HASH> 100644
--- a/troposphere/emr.py
+++ b/troposphere/emr.py
@@ -471,6 +471,8 @@ class Studio(AWSObject):
"DefaultS3Location": (str, True),
"Description": (str, False),
"EngineSecurityGroupId": (str, True),
+ "IdpAut... | Add missing properties to EMR::Studio | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -6,7 +6,7 @@ from setuptools import setup
setup(
name = 'jwcrypto',
- version = '0.2.0',
+ version = '0.2.1',
license = 'LGPLv3+',
maintainer = 'JWCrypto Project Contributors',
maintainer_email = '... | Raise version to <I> | py |
diff --git a/widget_tweaks/templatetags/widget_tweaks.py b/widget_tweaks/templatetags/widget_tweaks.py
index <HASH>..<HASH> 100644
--- a/widget_tweaks/templatetags/widget_tweaks.py
+++ b/widget_tweaks/templatetags/widget_tweaks.py
@@ -11,7 +11,7 @@ def _process_field_attributes(field, attr, process):
# decorate fi... | Preserve attributes customized in widgets. Fix #1. Thanks anonymous. | py |
diff --git a/src/chords/__init__.py b/src/chords/__init__.py
index <HASH>..<HASH> 100644
--- a/src/chords/__init__.py
+++ b/src/chords/__init__.py
@@ -4,7 +4,6 @@ Created on May 10, 2014
@author: ignacio
'''
import re
-import yaml
import notes
from notes import Key
from utils.decorators import memoize
@@ -53,6 +5... | Unused import and Chord == and hash methods | py |
diff --git a/caniusepython3/pylint_checker.py b/caniusepython3/pylint_checker.py
index <HASH>..<HASH> 100644
--- a/caniusepython3/pylint_checker.py
+++ b/caniusepython3/pylint_checker.py
@@ -38,6 +38,8 @@ class SixChecker(checkers.BaseChecker):
name = 'six'
msgs = {
+ # Errors for what will syntactic... | Make all syntactic issues be errors | py |
diff --git a/pyfakefs/fake_filesystem.py b/pyfakefs/fake_filesystem.py
index <HASH>..<HASH> 100644
--- a/pyfakefs/fake_filesystem.py
+++ b/pyfakefs/fake_filesystem.py
@@ -360,6 +360,7 @@ class FakeFile(object):
def set_contents(self, contents, encoding=None):
"""Sets the file contents and size and incre... | Added mention of side_effects in set_contents docstring | py |
diff --git a/angr/engines/procedure.py b/angr/engines/procedure.py
index <HASH>..<HASH> 100644
--- a/angr/engines/procedure.py
+++ b/angr/engines/procedure.py
@@ -42,7 +42,7 @@ class ProcedureMixin:
state.options.discard(o.AUTO_REFS)
if procedure.is_syscall:
- state._inspect('syscall'... | Added SimProcedure used in syscall breakpoint | py |
diff --git a/ca/django_ca/extensions.py b/ca/django_ca/extensions.py
index <HASH>..<HASH> 100644
--- a/ca/django_ca/extensions.py
+++ b/ca/django_ca/extensions.py
@@ -100,6 +100,9 @@ class Extension(object):
if not isinstance(self.critical, bool):
raise ValueError('%s: Invalid critical value passe... | make extensions hashable, so assertCountEqual works in py2 | py |
diff --git a/niworkflows/reports/tests/test_core.py b/niworkflows/reports/tests/test_core.py
index <HASH>..<HASH> 100644
--- a/niworkflows/reports/tests/test_core.py
+++ b/niworkflows/reports/tests/test_core.py
@@ -214,3 +214,30 @@ def test_generated_reportlets(bids_sessions, ordering):
assert reportlets_num =... | TST: add basic test to ensure subject ID is not stripped | py |
diff --git a/tests/test_fnmatch.py b/tests/test_fnmatch.py
index <HASH>..<HASH> 100644
--- a/tests/test_fnmatch.py
+++ b/tests/test_fnmatch.py
@@ -260,13 +260,13 @@ class TestFnMatch(unittest.TestCase):
def test_posix_range(self):
"""Test posix range."""
- p = fnmatch.translate(r'[[:ascii:]-z]')
... | Force case in test to ensure same results on platforms | py |
diff --git a/allauth/socialaccount/providers/oauth2/client.py b/allauth/socialaccount/providers/oauth2/client.py
index <HASH>..<HASH> 100644
--- a/allauth/socialaccount/providers/oauth2/client.py
+++ b/allauth/socialaccount/providers/oauth2/client.py
@@ -43,7 +43,6 @@ class OAuth2Client(object):
'redir... | OAuth2Client: Do not include `scope` in request for access_token | py |
diff --git a/napalm_fortios/__init__.py b/napalm_fortios/__init__.py
index <HASH>..<HASH> 100644
--- a/napalm_fortios/__init__.py
+++ b/napalm_fortios/__init__.py
@@ -13,3 +13,4 @@
# the License.
"""napalm_fortios package."""
+from fortios import FortiOSDriver | Added driver to the basic module so it can be discovered | py |
diff --git a/spyder/config/user.py b/spyder/config/user.py
index <HASH>..<HASH> 100644
--- a/spyder/config/user.py
+++ b/spyder/config/user.py
@@ -108,16 +108,16 @@ class DefaultsConfig(cp.ConfigParser):
try: # the "easy" way
_write_file(fname)
- except IOError:
+ except Envir... | Config: Don't raise exceptions when writing config to disk fails This is because they are reported to us as errors and they interrupt users work. | py |
diff --git a/examples/flask_todo/app.py b/examples/flask_todo/app.py
index <HASH>..<HASH> 100644
--- a/examples/flask_todo/app.py
+++ b/examples/flask_todo/app.py
@@ -1,6 +1,8 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
+import os
+
from flask import Flask
from flask_mongoengine import Mong... | :wheelchair: Fix logging when ran through flask run This assures applications ran via ``flask run`` will grab app, but tests or anything importing will not implicitly create app (and hook into pymongo monitoring). Without this, flask would implicitly use create_app to start Flask, which won't properly bind pymongo. | py |
diff --git a/intake/container/dataframe.py b/intake/container/dataframe.py
index <HASH>..<HASH> 100644
--- a/intake/container/dataframe.py
+++ b/intake/container/dataframe.py
@@ -78,7 +78,6 @@ class RemoteDataFrame(RemoteSource):
@staticmethod
def _data_to_source(df, path, **kwargs):
import dask.data... | copy is_dataframe_like (only present in dask master) | py |
diff --git a/categories_i18n/managers.py b/categories_i18n/managers.py
index <HASH>..<HASH> 100644
--- a/categories_i18n/managers.py
+++ b/categories_i18n/managers.py
@@ -30,10 +30,3 @@ class CategoryManager(TreeManager, TranslatableManager):
"""
_queryset_class = CategoryQuerySet
-
- def get_queryset(se... | Remove remaining django-mptt <I> compatibility code | py |
diff --git a/tests/fixtures.py b/tests/fixtures.py
index <HASH>..<HASH> 100644
--- a/tests/fixtures.py
+++ b/tests/fixtures.py
@@ -26,7 +26,7 @@ def testdb_uri(db_backend):
# This is designed to work on Travis CI
return 'postgresql://postgres@localhost:5432/hydra_base_test'
elif db_backend == 'my... | Changed DB url for unit tests | py |
diff --git a/treeherder/config/settings.py b/treeherder/config/settings.py
index <HASH>..<HASH> 100644
--- a/treeherder/config/settings.py
+++ b/treeherder/config/settings.py
@@ -430,7 +430,7 @@ COMMENTER_API_KEY = env("BUG_COMMENTER_API_KEY", default=None)
# Log Parsing
MAX_ERROR_LINES = 100
-FAILURE_LINES_CUTOFF ... | Bug <I> - process <I> instead <I> lines from errorsummary.log files to include all test manifests mentioned | py |
diff --git a/ryu/lib/packet/bgp.py b/ryu/lib/packet/bgp.py
index <HASH>..<HASH> 100644
--- a/ryu/lib/packet/bgp.py
+++ b/ryu/lib/packet/bgp.py
@@ -3600,7 +3600,7 @@ class BGPMessage(packet_base.PacketBase, _TypeDisp):
subcls = cls._lookup_type(type_)
kwargs = subcls.parser(binmsg)
return subc... | packet/bgp: Support multiple BGP messages in a packet This patch fixes to BGPMessage.parser() to return the reference to its own class and to support multiple BGP messages in a single packet. | py |
diff --git a/fluo/admin/models.py b/fluo/admin/models.py
index <HASH>..<HASH> 100644
--- a/fluo/admin/models.py
+++ b/fluo/admin/models.py
@@ -267,7 +267,6 @@ class CategoryModelAdmin(OrderedModelAdmin):
class ReadOnlyMixin(object):
can_delete = False
extra = 0
- editable_fields = []
def get_readon... | admin: removed ReadOnlyMixin.editable_fields | py |
diff --git a/scout/server/blueprints/cases/views.py b/scout/server/blueprints/cases/views.py
index <HASH>..<HASH> 100644
--- a/scout/server/blueprints/cases/views.py
+++ b/scout/server/blueprints/cases/views.py
@@ -135,7 +135,7 @@ def phenotypes_actions(institute_id, case_name):
hpo_ids = [term['phenotype_... | fix issue with HPO gene panel generation | py |
diff --git a/tensorflow_datasets/core/example_serializer.py b/tensorflow_datasets/core/example_serializer.py
index <HASH>..<HASH> 100644
--- a/tensorflow_datasets/core/example_serializer.py
+++ b/tensorflow_datasets/core/example_serializer.py
@@ -71,7 +71,7 @@ def _dict_to_tf_example(example_dict, tensor_info_dict):
... | Added pylint disable broad except | py |
diff --git a/photutils/psf.py b/photutils/psf.py
index <HASH>..<HASH> 100644
--- a/photutils/psf.py
+++ b/photutils/psf.py
@@ -437,7 +437,7 @@ class PSFAdapter(Fittable2DModel):
setattr(self.psfmodel, self.xname, x_0)
if self.xname is None:
- dx = y - y_0
+ dy = y - y_0
... | fix based on newly-added tests | py |
diff --git a/bigfile/__init__.py b/bigfile/__init__.py
index <HASH>..<HASH> 100644
--- a/bigfile/__init__.py
+++ b/bigfile/__init__.py
@@ -56,6 +56,7 @@ class BigFile(BigFileBase):
def __init__(self, filename, create=False):
BigFileBase.__init__(self, filename, create)
+ del self._blocks
@... | serial API will rewalk .blocks upon first request. | py |
diff --git a/cltk/corpus/old_norse/corpora.py b/cltk/corpus/old_norse/corpora.py
index <HASH>..<HASH> 100644
--- a/cltk/corpus/old_norse/corpora.py
+++ b/cltk/corpus/old_norse/corpora.py
@@ -1,4 +1,5 @@
-OLD_NORSE_CORPORA = [{"encoding":"utf-8",
- "name":"old_norse_text_perseus",
- ... | small change (#<I>) * small change added key "location" in the OLD_NORSE_CORPORA * add spacing | py |
diff --git a/pybliometrics/scopus/scopus_search.py b/pybliometrics/scopus/scopus_search.py
index <HASH>..<HASH> 100644
--- a/pybliometrics/scopus/scopus_search.py
+++ b/pybliometrics/scopus/scopus_search.py
@@ -194,6 +194,9 @@ class ScopusSearch(Search):
if "cursor" in kwds:
subscriber = kwds["cur... | Brought the kwds 'count' argument to the surface in ScopusSearch (#<I>) | py |
diff --git a/openquake/calculators/extract.py b/openquake/calculators/extract.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/extract.py
+++ b/openquake/calculators/extract.py
@@ -1056,6 +1056,21 @@ def extract_event_info(dstore, eidx):
yield 'gsim', repr(gsim)
+@extract.add('extreme_event')
+def ex... | Added view extreme_event [skip CI] | py |
diff --git a/algoliasearch/account_client.py b/algoliasearch/account_client.py
index <HASH>..<HASH> 100644
--- a/algoliasearch/account_client.py
+++ b/algoliasearch/account_client.py
@@ -14,7 +14,7 @@ class AccountClient(object):
if source_index.app_id == destination_index.app_id:
raise AlgoliaE... | Fixes typo on account_client.copy_index | py |
diff --git a/bct/bct.py b/bct/bct.py
index <HASH>..<HASH> 100644
--- a/bct/bct.py
+++ b/bct/bct.py
@@ -5358,7 +5358,6 @@ Notes:
j.setflags(write=True)
j[e1]=d; j[e2]=b #reassign edge indices
nswap+=1
- break
def randomizer_bin_und(R,alpha):
''' | fix maxswap in randomize_graph_partial_und We always returned after first swap regardless the given maxswap argument. This bug does not exist in upstream matlab BCT project. | py |
diff --git a/gwpy/table/io/ascii.py b/gwpy/table/io/ascii.py
index <HASH>..<HASH> 100644
--- a/gwpy/table/io/ascii.py
+++ b/gwpy/table/io/ascii.py
@@ -134,9 +134,15 @@ def table_from_ascii_factory(table, format, trig_func, cols=None, **kwargs):
out = New(table, columns=ligolwcolumns)
append = out.appe... | table.io.ascii: improve loadtxt handling of LIGOTimeGPS float doesn't preserve nano-second precision, need to pass raw strings to LIGOTimeGPS constructor | py |
diff --git a/test/common/scenario_common.py b/test/common/scenario_common.py
index <HASH>..<HASH> 100644
--- a/test/common/scenario_common.py
+++ b/test/common/scenario_common.py
@@ -53,4 +53,4 @@ def get_workload_ports(parsed_opts, namespace, processes):
http_port = process.http_port,
rdb_por... | fixing python test broken in the process of fixing javascript tests | py |
diff --git a/tools/nni_cmd/launcher.py b/tools/nni_cmd/launcher.py
index <HASH>..<HASH> 100644
--- a/tools/nni_cmd/launcher.py
+++ b/tools/nni_cmd/launcher.py
@@ -39,6 +39,7 @@ import site
import time
from pathlib import Path
from .command_utils import check_output_command, kill_command
+from .nnictl_utils import up... | Fix nnictl resume (#<I>) | py |
diff --git a/src/Exscript/AccountManager.py b/src/Exscript/AccountManager.py
index <HASH>..<HASH> 100644
--- a/src/Exscript/AccountManager.py
+++ b/src/Exscript/AccountManager.py
@@ -71,17 +71,20 @@ class AccountManager(object):
return accounts
- def add_account(self, account):
+ def add_account(self... | Allow for passing a list of accounts to AccountManager.add_account(). | py |
diff --git a/beautifultable/utils.py b/beautifultable/utils.py
index <HASH>..<HASH> 100644
--- a/beautifultable/utils.py
+++ b/beautifultable/utils.py
@@ -1,5 +1,8 @@
"""Module containing some utility methods"""
+import sys
+PY3 = sys.version_info[0] == 3
+
def _convert_to_numeric(item):
"""
@@ -7,11 +10,22 ... | Fixed issue regarding improper conversion of non-string floats | py |
diff --git a/bcbio/structural/delly.py b/bcbio/structural/delly.py
index <HASH>..<HASH> 100644
--- a/bcbio/structural/delly.py
+++ b/bcbio/structural/delly.py
@@ -80,8 +80,10 @@ def _bgzip_and_clean(bcf_file, items):
if not utils.file_exists(bcf_file):
vcfutils.write_empty_vcf(tx_out_file,... | Swap to f-string, fix deprecation warning. python<I> will report these as warnings, so squash them now before <I> support rolls out of bioconda. Closes #<I>. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -55,12 +55,16 @@ setup(
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
+ 'Framework :: Django',
'Intended Audience :: Developers',
'License :: ... | Updated setup.py trove classifiers | py |
diff --git a/spacy/lang/hu/punctuation.py b/spacy/lang/hu/punctuation.py
index <HASH>..<HASH> 100644
--- a/spacy/lang/hu/punctuation.py
+++ b/spacy/lang/hu/punctuation.py
@@ -7,6 +7,7 @@ _concat_icons = CONCAT_ICONS.replace("\u00B0", "")
_currency = r"\$¢£€¥฿"
_quotes = CONCAT_QUOTES.replace("'", "")
+_units = UNIT... | Fix Hungarian % tokenization (#<I>) | py |
diff --git a/graphql_jwt/utils.py b/graphql_jwt/utils.py
index <HASH>..<HASH> 100644
--- a/graphql_jwt/utils.py
+++ b/graphql_jwt/utils.py
@@ -114,6 +114,5 @@ def get_user_by_payload(payload):
def refresh_has_expired(orig_iat, context=None):
- return timegm(datetime.utcnow().utctimetuple()) > (
- orig_ia... | Added aux variable to refresh_has_expired function | py |
diff --git a/salt/runners/network.py b/salt/runners/network.py
index <HASH>..<HASH> 100644
--- a/salt/runners/network.py
+++ b/salt/runners/network.py
@@ -16,9 +16,9 @@ def wollist(maclist, bcast='255.255.255.255', destport=9):
CLI Example::
- salt-run '/path/to/maclist'
- salt-run '/path/to/macl... | Fix documentation of network runner The documentation of the 'wollist' command in the network runner were missing the command name in the example invocations. | py |
diff --git a/imhotep/shas.py b/imhotep/shas.py
index <HASH>..<HASH> 100644
--- a/imhotep/shas.py
+++ b/imhotep/shas.py
@@ -23,14 +23,14 @@ class PRInfo(object):
@property
def remote_repo(self):
- return Remote(name=self.json['head']['repo']['owner']['login'],
- url=self.json['hea... | Refactor remote_repo, to return None if there is no remote. | py |
diff --git a/ggplot/positions/collide.py b/ggplot/positions/collide.py
index <HASH>..<HASH> 100644
--- a/ggplot/positions/collide.py
+++ b/ggplot/positions/collide.py
@@ -92,7 +92,13 @@ def pos_fill(df, width):
# Dodge overlapping interval.
# Assumes that each set has the same horizontal position.
def pos_dodge(df, ... | Fix position dodge when group > 1 `pos_dodge` took a sliced dataframe as the first argument but a full width array-like as the second argument. We need only the elements in the width at correspond to the rows in the dataframe. | py |
diff --git a/chess/xboard.py b/chess/xboard.py
index <HASH>..<HASH> 100644
--- a/chess/xboard.py
+++ b/chess/xboard.py
@@ -506,7 +506,7 @@ class Engine(object):
return future
else:
# Avoid calling future.result() without a timeout.
- # In Python 2, such a call can not be in... | Update xboard.py #4 Fixed `can not` to `can't`. Maybe it's better this way? | py |
diff --git a/km3pipe/cmd.py b/km3pipe/cmd.py
index <HASH>..<HASH> 100644
--- a/km3pipe/cmd.py
+++ b/km3pipe/cmd.py
@@ -119,7 +119,7 @@ def retrieve(run_id, det_id, outfile=None):
pass
path = irods_filepath(det_id, run_id)
suffix = '' if outfile is None else outfile
- os.system("iget -Pv {0} {1}".f... | Retry <I>times | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -114,6 +114,7 @@ toml_env = pyproject_toml['tool']['cibuildwheel']['environment']
rst_prolog = f"""
.. |pdfrm| replace:: :doc:`PDF 1.7 Reference Manual </references/resources>`
.. |qpdf-min-version| replace:... | docs: fix complaint about missing |qpdf-version| | py |
diff --git a/openpnm/network/Bravais.py b/openpnm/network/Bravais.py
index <HASH>..<HASH> 100644
--- a/openpnm/network/Bravais.py
+++ b/openpnm/network/Bravais.py
@@ -155,13 +155,13 @@ class Bravais(GenericNetwork):
n.update({'throat.all': np.array([], dtype=bool)})
n.update({'throat.c... | removing useless len_min arg from bravais generators, was being ignored anyway | py |
diff --git a/mbed/mbed.py b/mbed/mbed.py
index <HASH>..<HASH> 100755
--- a/mbed/mbed.py
+++ b/mbed/mbed.py
@@ -738,7 +738,7 @@ class Git(object):
def publish(all_refs=None):
if all_refs:
- popen([git_cmd, 'push', '--all'] + (['-v'] if very_verbose else ([] if verbose else ['-q'])))
+ ... | Add --force flag to `git fetch` to allow tags to be fetched in git <I>+ (related to the moving 'latest' branch in Mbed OS) | py |
diff --git a/test/integration/test_clients.py b/test/integration/test_clients.py
index <HASH>..<HASH> 100644
--- a/test/integration/test_clients.py
+++ b/test/integration/test_clients.py
@@ -158,11 +158,6 @@ class SpamhausDBLTest(HostListClientTestMixin, unittest.TestCase):
)
... | Remove unused value from integration tests An unused value: value expected_surbl_classification has been overlooked and now it is being removed. | py |
diff --git a/glue_vispy_viewers/volume/volume_toolbar.py b/glue_vispy_viewers/volume/volume_toolbar.py
index <HASH>..<HASH> 100644
--- a/glue_vispy_viewers/volume/volume_toolbar.py
+++ b/glue_vispy_viewers/volume/volume_toolbar.py
@@ -126,9 +126,9 @@ class PointSelectionMode(VispyMouseMode):
max_value_pos = se... | Fix flood fill selection with recent versions of Numpy | py |
diff --git a/tags2sdists/script.py b/tags2sdists/script.py
index <HASH>..<HASH> 100644
--- a/tags2sdists/script.py
+++ b/tags2sdists/script.py
@@ -58,6 +58,7 @@ def main():
package_dir.parse()
checkout_base_dir = checkoutdir.CheckoutBaseDir(checkouts_dir)
for directory in checkout_base_dir.checkout_dirs(... | Added comment about possible multiprocessing pool | py |
diff --git a/angr/analyses/decompiler/structurer.py b/angr/analyses/decompiler/structurer.py
index <HASH>..<HASH> 100644
--- a/angr/analyses/decompiler/structurer.py
+++ b/angr/analyses/decompiler/structurer.py
@@ -869,8 +869,6 @@ class Structurer(Analysis):
if any(subexpr_1 is common_subexpr for subexpr_1... | Structurer: Find all conditions with a common expression. | py |
diff --git a/raven/base.py b/raven/base.py
index <HASH>..<HASH> 100644
--- a/raven/base.py
+++ b/raven/base.py
@@ -235,7 +235,7 @@ class Client(object):
__excepthook__ = sys.excepthook
def handle_exception(*exc_info):
- self.captureException(exc_info=exc_info)
+ self.captur... | Mark process errors as fatal (#<I>) * Mark process errors as fatal @getsentry/python | py |
diff --git a/umap/settings/base.py b/umap/settings/base.py
index <HASH>..<HASH> 100644
--- a/umap/settings/base.py
+++ b/umap/settings/base.py
@@ -142,7 +142,7 @@ MIDDLEWARE_CLASSES = (
# Auth / security
# =============================================================================
-ENABLE_ACCOUNT_LOGIN = True
+EN... | ENABLE_ACCOUNT_LOGIN=False by default | py |
diff --git a/grimoire/ocean/elastic.py b/grimoire/ocean/elastic.py
index <HASH>..<HASH> 100644
--- a/grimoire/ocean/elastic.py
+++ b/grimoire/ocean/elastic.py
@@ -182,7 +182,12 @@ class ElasticOcean(object):
"scroll" : max_process_items_pack_time,
"scroll_id" : self.elastic_scr... | [Ocean] Fix scroll API usage so it works also with ES <I>. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,7 @@ from setuptools import setup
setup(
name="threat_intel",
- version='0.1.10',
+ version='0.1.11',
provides=['threat_intel'],
author="Yelp Security",
url='https://github.com/Yelp/threat_... | Bumping the version to <I> | py |
diff --git a/molo/profiles/admin.py b/molo/profiles/admin.py
index <HASH>..<HASH> 100644
--- a/molo/profiles/admin.py
+++ b/molo/profiles/admin.py
@@ -63,6 +63,11 @@ class ProfileUserAdmin(UserAdmin):
return obj.profile.date_of_birth
return ''
+ def _site(self, obj, *args, **kwargs):
+ ... | only send relevant users in csv | py |
diff --git a/test/test_subsystem_phi_max.py b/test/test_subsystem_phi_max.py
index <HASH>..<HASH> 100644
--- a/test/test_subsystem_phi_max.py
+++ b/test/test_subsystem_phi_max.py
@@ -18,7 +18,7 @@ s = example_networks.s()
directions = ('past', 'future')
cuts = (None, Cut((1, 2), (0,)))
subsystem = {
- cut: Subsys... | Update phi max tests to reflect moving state to Subsystem | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,7 @@ tests_require = [
"Contexts",
"fakeredis",
"freezegun",
- "HTTPretty",
+ "HTTPretty==0.8.10",
]
extras = { | repin httpretty lost it after the merge | py |
diff --git a/elpy/tests/test_impmagic.py b/elpy/tests/test_impmagic.py
index <HASH>..<HASH> 100644
--- a/elpy/tests/test_impmagic.py
+++ b/elpy/tests/test_impmagic.py
@@ -40,8 +40,6 @@ class ImportMagicTestCase(BackendTestCase):
candidates = self.importmagic.get_import_symbols('mymod')
self.assertEqua... | Do not skip fixed importmagic test anymore This seems to work now? Fixes #<I> | py |
diff --git a/fireplace/card.py b/fireplace/card.py
index <HASH>..<HASH> 100644
--- a/fireplace/card.py
+++ b/fireplace/card.py
@@ -685,4 +685,6 @@ class HeroPower(Card):
def summon(self):
super().summon()
+ if hasattr(self.controller.hero, "power"):
+ self.controller.hero.power.destroy()
self.controller.he... | Destroy existing hero power when re-summoning one | py |
diff --git a/bin/extract_shared_or_unique_otuids.py b/bin/extract_shared_or_unique_otuids.py
index <HASH>..<HASH> 100755
--- a/bin/extract_shared_or_unique_otuids.py
+++ b/bin/extract_shared_or_unique_otuids.py
@@ -147,7 +147,7 @@ def handle_program_options():
"be added in front of output filen... | Updated typo in extract_shared_or_unique_otuids.py. | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.