diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/GPy/models/GP_regression.py b/GPy/models/GP_regression.py
index <HASH>..<HASH> 100644
--- a/GPy/models/GP_regression.py
+++ b/GPy/models/GP_regression.py
@@ -27,10 +27,10 @@ class GP_regression(GP):
"""
- def __init__(self,X,Y,kernel=None,normalize_X=False,normalize_Y=False, Xslices=None):
+ ... | removed slices from GP regression wrapper Xslices no longer exists in the GPy framework. | py |
diff --git a/devassistant/command_helpers.py b/devassistant/command_helpers.py
index <HASH>..<HASH> 100644
--- a/devassistant/command_helpers.py
+++ b/devassistant/command_helpers.py
@@ -19,7 +19,9 @@ class ClHelper(object):
plumbum.local.cwd.chdir(split_string[1])
else:
cmd = plumbum... | Strip trailing quotes from arguments passed to Popen via plumbum, it doesn't like them that much... | py |
diff --git a/ariadne/contrib/federation/utils.py b/ariadne/contrib/federation/utils.py
index <HASH>..<HASH> 100644
--- a/ariadne/contrib/federation/utils.py
+++ b/ariadne/contrib/federation/utils.py
@@ -98,13 +98,13 @@ def get_entity_types(schema: GraphQLSchema) -> List[GraphQLNamedType]:
def check_type(t):
... | Rename includes_directive utility function | py |
diff --git a/python/ray/autoscaler/updater.py b/python/ray/autoscaler/updater.py
index <HASH>..<HASH> 100644
--- a/python/ray/autoscaler/updater.py
+++ b/python/ray/autoscaler/updater.py
@@ -403,11 +403,11 @@ class NodeUpdater(object):
logger.debug(self.log_prefix +
... | [autoscaler] uptime redirect fix (#<I>) * small change * comment | py |
diff --git a/gems/__init__.py b/gems/__init__.py
index <HASH>..<HASH> 100644
--- a/gems/__init__.py
+++ b/gems/__init__.py
@@ -8,3 +8,6 @@ __version__ = '0.1.10'
from .datatypes import composite
from .datatypes import filetree
+from .decorators import require
+
+from .metaclasses import DocRequire | added section for decorators and metaclasses -- included require and DocRequire decorator | py |
diff --git a/registry/private.py b/registry/private.py
index <HASH>..<HASH> 100644
--- a/registry/private.py
+++ b/registry/private.py
@@ -53,7 +53,9 @@ def publish_release(source, config, target):
# construct the new image
image['parent'] = image['id']
image['id'] = _new_id()
- image['config']['Env']... | feat(controller): inject tag version value in environment. | py |
diff --git a/pyemma/coordinates/transform/pca.py b/pyemma/coordinates/transform/pca.py
index <HASH>..<HASH> 100644
--- a/pyemma/coordinates/transform/pca.py
+++ b/pyemma/coordinates/transform/pca.py
@@ -46,6 +46,8 @@ def _lazy_estimation(func, *args, **kw):
class PCAModel(Model):
+ _serialize_version = 0
+
... | [coordinates/pca] fixed setting of stride | py |
diff --git a/logentry_admin/admin.py b/logentry_admin/admin.py
index <HASH>..<HASH> 100644
--- a/logentry_admin/admin.py
+++ b/logentry_admin/admin.py
@@ -1,11 +1,10 @@
from django.contrib import admin
from django.contrib.admin.models import LogEntry, ADDITION, CHANGE, DELETION
-from django.utils.html import escape
... | Sort and rationalise imports. | py |
diff --git a/src/iptools/__init__.py b/src/iptools/__init__.py
index <HASH>..<HASH> 100644
--- a/src/iptools/__init__.py
+++ b/src/iptools/__init__.py
@@ -640,7 +640,7 @@ class IpRange (Sequence):
>>> repr(IpRange('127.0.0.255', '127.0.0.0'))
"IpRange('127.0.0.0', '127.0.0.255')"
"""
- ... | Use `%r` in `__repr__`. Suggested by @exhuma in [code review][]. --- [code review]: <URL> | py |
diff --git a/pysat/instruments/superdarn_grdex.py b/pysat/instruments/superdarn_grdex.py
index <HASH>..<HASH> 100644
--- a/pysat/instruments/superdarn_grdex.py
+++ b/pysat/instruments/superdarn_grdex.py
@@ -39,8 +39,10 @@ def load(fnames, tag=None):
for info in data_list:
arr = np.arange(len(info.... | Changed multiindex used for LOS radar data to a single index based upon the SuperDARN grid index | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@ from setuptools import setup
def main():
setup(
name='venv-update',
- version='0.0',
+ version='0.0a1',
description="Quickly and exactly synchronize a virtualenv with a requir... | this is <I>a1 | py |
diff --git a/flask_ldap3_login/forms.py b/flask_ldap3_login/forms.py
index <HASH>..<HASH> 100644
--- a/flask_ldap3_login/forms.py
+++ b/flask_ldap3_login/forms.py
@@ -1,4 +1,4 @@
-from flask_wtf import Form
+from flask_wtf import FlaskForm
import wtforms
from wtforms import validators
from flask import flash, curren... | Updated FlaskForm from Form to suppress deprecation warnings. Form class was renamed to FlaskForm in the flask_wtf library. Form has been deprecated and will be removed in the <I> version. | py |
diff --git a/malcolm/modules/ADCore/parts/positionlabellerpart.py b/malcolm/modules/ADCore/parts/positionlabellerpart.py
index <HASH>..<HASH> 100644
--- a/malcolm/modules/ADCore/parts/positionlabellerpart.py
+++ b/malcolm/modules/ADCore/parts/positionlabellerpart.py
@@ -7,7 +7,7 @@ from malcolm.modules import builtin, ... | Increased Positions_per_XML to <I> This is used with the ADCore SCANRATE macro for running scans faster than <I>kHz | py |
diff --git a/tensorflow_probability/python/internal/backend/numpy/gen/tensor_shape.py b/tensorflow_probability/python/internal/backend/numpy/gen/tensor_shape.py
index <HASH>..<HASH> 100755
--- a/tensorflow_probability/python/internal/backend/numpy/gen/tensor_shape.py
+++ b/tensorflow_probability/python/internal/backend... | Update Numpy backend so that `rewrite_equivalence_test` passes. PiperOrigin-RevId: <I> | py |
diff --git a/djangocms_installer/__init__.py b/djangocms_installer/__init__.py
index <HASH>..<HASH> 100644
--- a/djangocms_installer/__init__.py
+++ b/djangocms_installer/__init__.py
@@ -1,4 +1,4 @@
# -*- coding: utf-8 -*-
__author__ = 'Iacopo Spalletti'
__email__ = 'i.spalletti@nephila.it'
-__version__ = '1.2.2'
+_... | Bump develop version [ci skip] | py |
diff --git a/tests/test_Apex.py b/tests/test_Apex.py
index <HASH>..<HASH> 100644
--- a/tests/test_Apex.py
+++ b/tests/test_Apex.py
@@ -390,9 +390,7 @@ def test_geo2apex_undefined_warning():
A = Apex(date=2000, refh=10000)
with warnings.catch_warnings(record=True) as w:
ret = A.geo2apex(0, 0, 0)
- ... | Update test_Apex.py Adapted problematic tests so that they don't fail. - Removed double call, to ensure the correct w is evaluated - Removed length assert, since it doesn't tell you much that the subsequent two tests don't. | py |
diff --git a/lib/svtplay_dl/service/__init__.py b/lib/svtplay_dl/service/__init__.py
index <HASH>..<HASH> 100644
--- a/lib/svtplay_dl/service/__init__.py
+++ b/lib/svtplay_dl/service/__init__.py
@@ -119,6 +119,13 @@ class Generic(object):
for i in sites:
if i.handles(url):
... | generic: support for embed bambuser streams | py |
diff --git a/ella/newman/utils.py b/ella/newman/utils.py
index <HASH>..<HASH> 100644
--- a/ella/newman/utils.py
+++ b/ella/newman/utils.py
@@ -34,12 +34,11 @@ def JsonResponse(message, data={}, errors={}, status=STATUS_OK, http_status=200)
'message': message,
}
if data:
- try:
- da... | Try decode JSON data silently. | py |
diff --git a/nautilus/api/objectTypes/serviceObjectType.py b/nautilus/api/objectTypes/serviceObjectType.py
index <HASH>..<HASH> 100644
--- a/nautilus/api/objectTypes/serviceObjectType.py
+++ b/nautilus/api/objectTypes/serviceObjectType.py
@@ -65,6 +65,22 @@ class ServiceObjectType(ObjectType, metaclass = ServiceObjectT... | instances of service objects can navigate the cloud | py |
diff --git a/tests/test_ecs/test_ecs_boto3.py b/tests/test_ecs/test_ecs_boto3.py
index <HASH>..<HASH> 100644
--- a/tests/test_ecs/test_ecs_boto3.py
+++ b/tests/test_ecs/test_ecs_boto3.py
@@ -714,6 +714,9 @@ def test_describe_container_instances():
for ci in response['containerInstances']]
for... | Add more tests for task count of container instance | py |
diff --git a/examples/clear-space.py b/examples/clear-space.py
index <HASH>..<HASH> 100755
--- a/examples/clear-space.py
+++ b/examples/clear-space.py
@@ -26,6 +26,9 @@ import sys
import gphoto2 as gp
+# my Canon dSLR raises an error on every deletion, but still does it OK
+gp.error_severity[gp.GP_ERROR] = logging... | Adjust error handling to work with my dSLR. | py |
diff --git a/airflow/hooks/base_hook.py b/airflow/hooks/base_hook.py
index <HASH>..<HASH> 100644
--- a/airflow/hooks/base_hook.py
+++ b/airflow/hooks/base_hook.py
@@ -46,7 +46,7 @@ class BaseHook(object):
environment_uri = os.environ.get(CONN_ENV_PREFIX + conn_id.upper())
conn = None
if envir... | We need the conn_id if we are getting the connection via uri. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -17,6 +17,9 @@ TESTS_REQUIRE = ["coveralls>=1.5.0, <2.0.0",
SETUP_REQUIRES = ["pytest-runner"
]
+with open(path.join(HERE, "README.rst")) as f:
+ LONG_DESCRIPTION = f.read().strip()
+
with open(path.j... | Update setup.py add description/long description | py |
diff --git a/import_export/widgets.py b/import_export/widgets.py
index <HASH>..<HASH> 100644
--- a/import_export/widgets.py
+++ b/import_export/widgets.py
@@ -295,7 +295,7 @@ class JSONWidget(Widget):
class ForeignKeyWidget(Widget):
"""
Widget for a ``ForeignKey`` field which looks up a related model using
-... | Typo fix in widgets.py | py |
diff --git a/ldapcherry/__init__.py b/ldapcherry/__init__.py
index <HASH>..<HASH> 100644
--- a/ldapcherry/__init__.py
+++ b/ldapcherry/__init__.py
@@ -678,6 +678,7 @@ class LdapCherry(object):
self._add_notification(
'User already exists in backend "' + b + '"'
... | fix error handling when adding user that already exists | py |
diff --git a/serenata_toolbox/datasets/__init__.py b/serenata_toolbox/datasets/__init__.py
index <HASH>..<HASH> 100644
--- a/serenata_toolbox/datasets/__init__.py
+++ b/serenata_toolbox/datasets/__init__.py
@@ -83,4 +83,7 @@ def fetch_latest_backup(destination_path):
if not os.path.exists(os.path.join(destinat... | Inform user when no dataset needs to be downloaded | py |
diff --git a/ykman/cli/oath.py b/ykman/cli/oath.py
index <HASH>..<HASH> 100644
--- a/ykman/cli/oath.py
+++ b/ykman/cli/oath.py
@@ -336,7 +336,10 @@ def code(ctx, show_hidden, query):
elif code is None:
code = controller.calculate(cred)
- if cred.issuer:
+ if not cli... | code - output only the code when single match and no tty. | py |
diff --git a/mamba/loader.py b/mamba/loader.py
index <HASH>..<HASH> 100644
--- a/mamba/loader.py
+++ b/mamba/loader.py
@@ -4,9 +4,13 @@ import inspect
from mamba.example_group import ExampleGroup, PendingExampleGroup
from mamba.example import Example, PendingExample
+from mamba.infrastructure import is_python3
c... | In python3 we match examples with inspect.isfunction predicate | py |
diff --git a/prosodic/lib/Dictionary.py b/prosodic/lib/Dictionary.py
index <HASH>..<HASH> 100644
--- a/prosodic/lib/Dictionary.py
+++ b/prosodic/lib/Dictionary.py
@@ -77,7 +77,7 @@ class Dictionary: # cf Word, in that Text.py will really instantiate Dictionary_
build=False
## language objects
- timestart=time.... | Fix time.clock deprecation time.clock is no longer supported in Python3, replacing it with time.time. | py |
diff --git a/src/foremast/awslambda/awslambda.py b/src/foremast/awslambda/awslambda.py
index <HASH>..<HASH> 100644
--- a/src/foremast/awslambda/awslambda.py
+++ b/src/foremast/awslambda/awslambda.py
@@ -248,7 +248,7 @@ class LambdaFunction:
LOG.info('Creating lambda function: %s', self.app_name)
try... | fix: missing method error in aws lambda deploy | py |
diff --git a/auto/src/rabird/auto/screen.py b/auto/src/rabird/auto/screen.py
index <HASH>..<HASH> 100644
--- a/auto/src/rabird/auto/screen.py
+++ b/auto/src/rabird/auto/screen.py
@@ -10,7 +10,11 @@ Created on 2013-12-17
import cv2
import sys
import numpy
-import ImageGrab
+
+if sys.platform == "win32":
+ impor... | Fixed ImageGrab only works for win<I>. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -92,7 +92,6 @@ setup(name = "uproot",
version = get_version(),
packages = find_packages(exclude = ["tests"]),
scripts = [],
- data_files = ["README.rst"],
description = "ROOT I/O in pure Python... | Remove README from data_files | py |
diff --git a/torchnlp/word_to_vector/pretrained_word_vectors.py b/torchnlp/word_to_vector/pretrained_word_vectors.py
index <HASH>..<HASH> 100644
--- a/torchnlp/word_to_vector/pretrained_word_vectors.py
+++ b/torchnlp/word_to_vector/pretrained_word_vectors.py
@@ -161,7 +161,7 @@ class _PretrainedWordVectors(object):
... | derp: tensor is for casting, Tensor is for initializing | py |
diff --git a/log.py b/log.py
index <HASH>..<HASH> 100644
--- a/log.py
+++ b/log.py
@@ -27,6 +27,10 @@ class Log:
stream = sys.stderr
else:
stream = sys.stdout
+ if stream.errors == 'strict':
+ # emulate backslashreplace error handler
+ ... | Issue #<I>: distutils.log emulates backslashreplace error handler. Fix compilation in a non-ASCII directory if stdout encoding is ASCII (eg. if stdout is not a TTY). | py |
diff --git a/mautrix/bridge/matrix.py b/mautrix/bridge/matrix.py
index <HASH>..<HASH> 100644
--- a/mautrix/bridge/matrix.py
+++ b/mautrix/bridge/matrix.py
@@ -716,7 +716,7 @@ class BaseMatrixHandler:
async def handle_receipt(self, evt: ReceiptEvent) -> None:
for event_id, receipts in evt.content.items()... | Don't throw error if no m.read receipt is returned | py |
diff --git a/src/urh/controller/ProtocolSniffDialogController.py b/src/urh/controller/ProtocolSniffDialogController.py
index <HASH>..<HASH> 100644
--- a/src/urh/controller/ProtocolSniffDialogController.py
+++ b/src/urh/controller/ProtocolSniffDialogController.py
@@ -183,9 +183,10 @@ class ProtocolSniffDialogController(... | only update sniff view if new data received | py |
diff --git a/satsearch/scene.py b/satsearch/scene.py
index <HASH>..<HASH> 100644
--- a/satsearch/scene.py
+++ b/satsearch/scene.py
@@ -157,10 +157,10 @@ class Scene(object):
fname = config.FILENAME
subs = {}
for key in [i[1] for i in Formatter().parse(fname) if i[1] is not None]:
- ... | correct suffix and date for filename output | py |
diff --git a/ocrd/ocrd/workspace.py b/ocrd/ocrd/workspace.py
index <HASH>..<HASH> 100644
--- a/ocrd/ocrd/workspace.py
+++ b/ocrd/ocrd/workspace.py
@@ -335,8 +335,7 @@ class Workspace():
"""
page_image = self._resolve_image_as_pil(page.imageFilename)
page_image_info = OcrdExif(page_image)
- ... | ocrd.workspace: ignore PrintSpace (don't interpret as Border anymore) | py |
diff --git a/hypercorn/config.py b/hypercorn/config.py
index <HASH>..<HASH> 100644
--- a/hypercorn/config.py
+++ b/hypercorn/config.py
@@ -42,7 +42,7 @@ class Config:
certfile: Optional[str] = None
ciphers: str = "ECDHE+AESGCM"
debug = False
- errorlog: Union[logging.Logger, str, None] = None
+ err... | Set the default error log (target) to - i.e. stderr This follows Gunicorn and allows the logger to be used rather than print (following commits). | py |
diff --git a/spyderlib/widgets/figureoptions.py b/spyderlib/widgets/figureoptions.py
index <HASH>..<HASH> 100644
--- a/spyderlib/widgets/figureoptions.py
+++ b/spyderlib/widgets/figureoptions.py
@@ -10,7 +10,7 @@ from spyderlib.widgets.formlayout import fedit
from spyderlib.config import get_icon
import matplotli... | Matplotlib figure "Options" button: added enhancements submitted by Peter Butterworth (continued) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -31,6 +31,7 @@ classifiers = ['Development Status :: 4 - Beta',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python ::... | DOC Add Python <I> as supported language. | py |
diff --git a/ELiDE/board/pawnspot.py b/ELiDE/board/pawnspot.py
index <HASH>..<HASH> 100644
--- a/ELiDE/board/pawnspot.py
+++ b/ELiDE/board/pawnspot.py
@@ -232,8 +232,7 @@ class PawnSpot(ImageStack, MirrorMapping):
kv = """
<PawnSpot>:
- time: self.board.layout.time if self.board and self.board.layout else ['mast... | should have gone with the refactoring of the layout | py |
diff --git a/pygccxml/parser/scanner.py b/pygccxml/parser/scanner.py
index <HASH>..<HASH> 100644
--- a/pygccxml/parser/scanner.py
+++ b/pygccxml/parser/scanner.py
@@ -589,10 +589,7 @@ class scanner_t(xml.sax.handler.ContentHandler):
decl = self.__decl_factory.create_class(
name=name,
... | Simplify if/else statement | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -20,7 +20,9 @@ def get_install_requires():
if sys.argv[-1] == 'publish':
- os.system("python setup.py sdist bdist_wheel upload -s")
+ os.system("python setup.py sdist bdist_wheel")
+ os.system("twine upload -s di... | [setup.py] Updated release script | py |
diff --git a/tools/run_tests/xds_k8s_test_driver/tests/url_map/affinity_test.py b/tools/run_tests/xds_k8s_test_driver/tests/url_map/affinity_test.py
index <HASH>..<HASH> 100644
--- a/tools/run_tests/xds_k8s_test_driver/tests/url_map/affinity_test.py
+++ b/tools/run_tests/xds_k8s_test_driver/tests/url_map/affinity_test.... | Skip affinity tests for Golang clients (#<I>) | py |
diff --git a/phy/io/kwik/model.py b/phy/io/kwik/model.py
index <HASH>..<HASH> 100644
--- a/phy/io/kwik/model.py
+++ b/phy/io/kwik/model.py
@@ -189,7 +189,12 @@ def _read_traces(kwik, kwd=None, dtype=None, n_channels=None):
assert dtype is not None
assert n_channels
dat_path = kwik... | Fix: fallback to relative raw data filename in KwikModel. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -47,7 +47,7 @@ setup(
'Flask-JWT-Extended>=3.18,<4',
'python-dateutil>=2.3,<3',
'marshmallow>=2.18.0,<2.20',
- 'marshmallow-enum>=1.4.1,<2'
+ 'marshmallow-enum>=1.4.1,<2',
'mar... | Fix, setup.py missing comma | py |
diff --git a/tensorflow_probability/python/distributions/distribution.py b/tensorflow_probability/python/distributions/distribution.py
index <HASH>..<HASH> 100644
--- a/tensorflow_probability/python/distributions/distribution.py
+++ b/tensorflow_probability/python/distributions/distribution.py
@@ -605,14 +605,6 @@ clas... | Remove inaccurate comment about parameter properties API. Subclass `_parameter_properties` methods did take an eps argument in an earlier revision, but in the checked-in version it's just dtypes all the way down. PiperOrigin-RevId: <I> | py |
diff --git a/tests/functional/plots.py b/tests/functional/plots.py
index <HASH>..<HASH> 100644
--- a/tests/functional/plots.py
+++ b/tests/functional/plots.py
@@ -1,3 +1,4 @@
+from time import sleep
from pexpect import TIMEOUT
@@ -25,12 +26,14 @@ def with_confirmation(proc):
def history_changed(proc, to):
... | #<I> Wait before checking that history changed | py |
diff --git a/tests/unit/test_resource_provider_register.py b/tests/unit/test_resource_provider_register.py
index <HASH>..<HASH> 100644
--- a/tests/unit/test_resource_provider_register.py
+++ b/tests/unit/test_resource_provider_register.py
@@ -3,7 +3,8 @@ import functools
import unittest.mock
import pytest
-from fan... | Tests ResourceProviderRegister.resolve() | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -59,7 +59,7 @@ setup(
],
test_suite="maas.client",
tests_require=[
- "django >= 1.11, <= 2.2",
+ "django >= 2.2.4, < 3.0",
"fixtures >= 1.0.0",
"setuptools",
"testscenari... | Set Django tests_requires version greater than <I> so no CVE warnings. | py |
diff --git a/dataflows/processors/load.py b/dataflows/processors/load.py
index <HASH>..<HASH> 100644
--- a/dataflows/processors/load.py
+++ b/dataflows/processors/load.py
@@ -47,6 +47,8 @@ class load(DataStreamProcessor):
descriptor = dict(path=self.load_source,
profi... | allow to specify encoding for load processor when loading from file (#<I>) | py |
diff --git a/pyang/plugins/tree.py b/pyang/plugins/tree.py
index <HASH>..<HASH> 100644
--- a/pyang/plugins/tree.py
+++ b/pyang/plugins/tree.py
@@ -237,7 +237,7 @@ def emit_tree(ctx, modules, fd, depth, llen, path):
if not section_delimiter_printed:
fd.write('\n')
... | Fixes #<I> - as per RFC <I>, added : to grouping header | py |
diff --git a/ontobio/rdfgen/gocamgen/gocamgen.py b/ontobio/rdfgen/gocamgen/gocamgen.py
index <HASH>..<HASH> 100644
--- a/ontobio/rdfgen/gocamgen/gocamgen.py
+++ b/ontobio/rdfgen/gocamgen/gocamgen.py
@@ -342,7 +342,7 @@ class GoCamModel:
self.writer.emit_type(property_id, OWL.ObjectProperty)
if evide... | Pass full evidence object to add_evidence. | py |
diff --git a/Lib/ufo2fdk/featureTableWriter.py b/Lib/ufo2fdk/featureTableWriter.py
index <HASH>..<HASH> 100644
--- a/Lib/ufo2fdk/featureTableWriter.py
+++ b/Lib/ufo2fdk/featureTableWriter.py
@@ -92,10 +92,10 @@ def winStr(text):
"""
Convert string to FDK encoding for Windows.
"""
- return "".join([win... | featureTableWriter: don't return unicode strings | py |
diff --git a/ssbio/databases/pdb.py b/ssbio/databases/pdb.py
index <HASH>..<HASH> 100644
--- a/ssbio/databases/pdb.py
+++ b/ssbio/databases/pdb.py
@@ -106,7 +106,7 @@ def parse_mmcif_header(infile):
log.debug('{}: No experimental method field'.format(infile))
if '_refine.ls_d_res_high' in mmdict:
- ... | Parse resolution in mmCIF header as float | py |
diff --git a/eventsourcing/__init__.py b/eventsourcing/__init__.py
index <HASH>..<HASH> 100644
--- a/eventsourcing/__init__.py
+++ b/eventsourcing/__init__.py
@@ -1 +1 @@
-__version__ = "7.2.2dev0"
+__version__ = "7.2.2rc0" | Increased version number to <I>rc0. | py |
diff --git a/py/h2o_glm.py b/py/h2o_glm.py
index <HASH>..<HASH> 100644
--- a/py/h2o_glm.py
+++ b/py/h2o_glm.py
@@ -28,7 +28,8 @@ def pickRandGlmParams(paramDict, params):
if params['link'] not in ('tweedie'):
params['link'] = None
if params['family'] == 'binomial':
- ... | only logit and log allowed for binomial glm | py |
diff --git a/pypeerassets/providers/mintr.py b/pypeerassets/providers/mintr.py
index <HASH>..<HASH> 100644
--- a/pypeerassets/providers/mintr.py
+++ b/pypeerassets/providers/mintr.py
@@ -18,6 +18,12 @@ class Mintr:
return requests.get(cls.api + query, verify=False).json()
@classmethod
+ def getinfo(c... | providers: Mintr allow compatibility with testnet check function in pautils. | py |
diff --git a/datasette/database.py b/datasette/database.py
index <HASH>..<HASH> 100644
--- a/datasette/database.py
+++ b/datasette/database.py
@@ -97,7 +97,7 @@ class Database:
else:
rows = cursor.fetchall()
truncated = False
- except... | Better handling of corrupted database files | py |
diff --git a/pre_commit_hooks/check_symlinks.py b/pre_commit_hooks/check_symlinks.py
index <HASH>..<HASH> 100644
--- a/pre_commit_hooks/check_symlinks.py
+++ b/pre_commit_hooks/check_symlinks.py
@@ -15,7 +15,10 @@ def check_symlinks(argv=None):
retv = 0
for filename in args.filenames:
- if os.path.is... | Fix coverage on check_symlinks for windows | py |
diff --git a/satpy/resample.py b/satpy/resample.py
index <HASH>..<HASH> 100644
--- a/satpy/resample.py
+++ b/satpy/resample.py
@@ -127,7 +127,15 @@ and loaded using pyresample's utility methods
>>> from pyresample import load_area
>>> my_area = load_area('my_areas.yaml', 'my_area')
-Examples coming soon...
... | Point out get_area_def in resample documentation In the main resample documentation, mention the nice satpy utility function get_area_def. | py |
diff --git a/src/toil/provisioners/abstractProvisioner.py b/src/toil/provisioners/abstractProvisioner.py
index <HASH>..<HASH> 100644
--- a/src/toil/provisioners/abstractProvisioner.py
+++ b/src/toil/provisioners/abstractProvisioner.py
@@ -269,13 +269,17 @@ write_files:
ephemeral_count=0
drives=""
... | Avoid overwriting NVMe root volumes on current-gen AWS instances c5, i3.metal, c5d, m5, and m5d instances all have their EBS volumes show up as NVMe devices. Previously toil assumed that all NVMe devices were ephemeral, so it formed a RAID device from them. On these instance types, though, the root volume would be ref... | py |
diff --git a/xhtml2pdf/tables.py b/xhtml2pdf/tables.py
index <HASH>..<HASH> 100644
--- a/xhtml2pdf/tables.py
+++ b/xhtml2pdf/tables.py
@@ -223,7 +223,9 @@ class pisaTagTR(pisaTag):
tdata.add_cell_styles(c, begin, end, "tr")
c.frag.vAlign = self.attr.valign or c.frag.vAlign
-
+ if c.frag.backC... | Background color can be used in <tr> I was using it to generate pdf and realized background-colour does not display when applied to <tr> tag. with the fix, I made I was able to display background-colour | py |
diff --git a/salt/log.py b/salt/log.py
index <HASH>..<HASH> 100644
--- a/salt/log.py
+++ b/salt/log.py
@@ -395,8 +395,19 @@ def setup_logfile_logger(log_path, log_level='error', log_format=None,
# There's not socktype support on python versions lower than 2.7
syslog_opts.pop('socktype', None)
... | Catch the exception for when salt is unable to connect to syslog. | py |
diff --git a/ros_buildfarm/release_job.py b/ros_buildfarm/release_job.py
index <HASH>..<HASH> 100644
--- a/ros_buildfarm/release_job.py
+++ b/ros_buildfarm/release_job.py
@@ -151,6 +151,10 @@ def configure_release_jobs(
from catkin_pkg.topological_order import topological_order_packages
pkgs = {}
for pkg... | skip packages which are not in the cache | py |
diff --git a/pyradigm/pyradigm.py b/pyradigm/pyradigm.py
index <HASH>..<HASH> 100644
--- a/pyradigm/pyradigm.py
+++ b/pyradigm/pyradigm.py
@@ -1628,20 +1628,19 @@ def combine_and_save(add_path_list, out_path):
and save the bigger dataset to a given location.
"""
- combined = None
- first_path = None
-... | simplifying the implementation for combining multiple MLDatasets | py |
diff --git a/danube_delta/cli/photos.py b/danube_delta/cli/photos.py
index <HASH>..<HASH> 100644
--- a/danube_delta/cli/photos.py
+++ b/danube_delta/cli/photos.py
@@ -30,6 +30,7 @@ def photos(context, path):
article_filename = find_last_article(config['CONTENT_DIR'])
if not article_filename:
return c... | fix: 'blog photos' is now able to deal with spaces in photo filenames Closes <URL> | py |
diff --git a/src/rez/util.py b/src/rez/util.py
index <HASH>..<HASH> 100644
--- a/src/rez/util.py
+++ b/src/rez/util.py
@@ -198,7 +198,7 @@ def get_rez_install_path():
def _add_bootstrap_pkg_path(paths):
bootstrap_path = get_bootstrap_path()
- return paths[:] + [bootstrap_path]
+ return paths[:] + [bootstr... | + Only add the bootstrap path if one is found. | py |
diff --git a/test/test_weather.py b/test/test_weather.py
index <HASH>..<HASH> 100644
--- a/test/test_weather.py
+++ b/test/test_weather.py
@@ -6,8 +6,8 @@ import os
import pytest
from hypothesis import given, strategies as st, example
-from emiz import Miz, set_weather_from_icao
-from emiz.weather import build_meta... | fix: dev: fix weather tests | py |
diff --git a/gluish/esindex.py b/gluish/esindex.py
index <HASH>..<HASH> 100644
--- a/gluish/esindex.py
+++ b/gluish/esindex.py
@@ -217,6 +217,11 @@ class CopyToIndex(luigi.Task):
return None
@property
+ def settings(self):
+ """ Settings to be used at index creation time. """
+ return {... | added settings option to CopyToIndex | py |
diff --git a/amqpstorm/channel.py b/amqpstorm/channel.py
index <HASH>..<HASH> 100644
--- a/amqpstorm/channel.py
+++ b/amqpstorm/channel.py
@@ -17,6 +17,7 @@ from amqpstorm.message import Message
from amqpstorm.exchange import Exchange
from amqpstorm.exception import AMQPChannelError
from amqpstorm.exception import A... | Another brain fart. Reverting changes done to channel error handling. | py |
diff --git a/test_nredarwin.py b/test_nredarwin.py
index <HASH>..<HASH> 100644
--- a/test_nredarwin.py
+++ b/test_nredarwin.py
@@ -93,6 +93,11 @@ class ServiceDetailsTest(unittest.TestCase):
self.assertEqual(len(self.service_details.previous_calling_points), 5)
self.assertEqual(len(self.service_detail... | Add new ServiceDetails getters to test case. | py |
diff --git a/pyeda/boolalg/expr.py b/pyeda/boolalg/expr.py
index <HASH>..<HASH> 100644
--- a/pyeda/boolalg/expr.py
+++ b/pyeda/boolalg/expr.py
@@ -1227,22 +1227,21 @@ class ExprOrAnd(_ArgumentContainer, sat.DPLLInterface):
flattened. Do NOT call this method directly -- use the
'to_... | Simplify absorption algorithm using sets | py |
diff --git a/tutorials/mnist_tutorial.py b/tutorials/mnist_tutorial.py
index <HASH>..<HASH> 100644
--- a/tutorials/mnist_tutorial.py
+++ b/tutorials/mnist_tutorial.py
@@ -92,7 +92,5 @@ def main(argv=None):
accuracy_adv = tf_model_eval(sess, x, y, predictions_2, X_test_adv_2, Y_test)
print'Test accuracy on adv... | this line does not actually prevent error message, removing it | py |
diff --git a/oauthlib/oauth2/rfc6749/request_validator.py b/oauthlib/oauth2/rfc6749/request_validator.py
index <HASH>..<HASH> 100644
--- a/oauthlib/oauth2/rfc6749/request_validator.py
+++ b/oauthlib/oauth2/rfc6749/request_validator.py
@@ -352,6 +352,9 @@ class RequestValidator(object):
- request.user
... | send no state in the access token response | py |
diff --git a/pymatbridge/version.py b/pymatbridge/version.py
index <HASH>..<HASH> 100644
--- a/pymatbridge/version.py
+++ b/pymatbridge/version.py
@@ -87,7 +87,14 @@ MICRO = _version_micro
VERSION = __version__
PACKAGES = ['pymatbridge']
PACKAGE_DATA = {"pymatbridge": ["matlab/matlabserver.m", "matlab/messenger.*",
... | Added json tool folder to installation | py |
diff --git a/ballet/compat.py b/ballet/compat.py
index <HASH>..<HASH> 100644
--- a/ballet/compat.py
+++ b/ballet/compat.py
@@ -8,10 +8,12 @@ except ImportError:
# pathlib compatibility
import sys
-
if sys.version_info < (3, 5, 0):
import pathlib2 as pathlib
- safepath = str
else:
import pathlib # no... | Use safepath on py<I> also | py |
diff --git a/lago/vm.py b/lago/vm.py
index <HASH>..<HASH> 100644
--- a/lago/vm.py
+++ b/lago/vm.py
@@ -144,9 +144,9 @@ class LocalLibvirtVMProvider(vm.VMProviderPlugin):
)
try:
- with utils.ExceptionTimer(timeout=15):
+ with utils.ExceptionTimer(timeout=60 * 5):
... | Increase shutdown timeout The previous timeout of <I> secondes wasn't enough for shutting down loaded vms (such as ovirt-engine). | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -74,7 +74,7 @@ today_fmt = '%Y-%m-%d'
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns = [
- "*~",
+ "*~", ... | docs: ignore unused sources | py |
diff --git a/axiom/userbase.py b/axiom/userbase.py
index <HASH>..<HASH> 100644
--- a/axiom/userbase.py
+++ b/axiom/userbase.py
@@ -357,9 +357,15 @@ class LoginBase:
@return: an instance of a LoginAccount, with all attributes filled out
as they are passed in, stored in my store.
"""
- u... | Avoid passing None to unicode() | py |
diff --git a/spacy/language_data/punctuation.py b/spacy/language_data/punctuation.py
index <HASH>..<HASH> 100644
--- a/spacy/language_data/punctuation.py
+++ b/spacy/language_data/punctuation.py
@@ -19,11 +19,13 @@ _CURRENCY = r"""
_QUOTES = r"""
' '' " β β `` ` β Β΄ β , β Β» Β«
+γ γ γ γ οΌ οΌ γ γ γ γ γ γ γ γ
"""
... | Add Chinese punctuation Add Chinese punctuation. | py |
diff --git a/tests/adapter/test_query.py b/tests/adapter/test_query.py
index <HASH>..<HASH> 100644
--- a/tests/adapter/test_query.py
+++ b/tests/adapter/test_query.py
@@ -57,7 +57,7 @@ def test_build_cadd_exclusive(adapter):
def test_build_cadd_inclusive(adapter):
case_id = 'cust000'
cadd = 10.0
- cadd_in... | Update test for CADD_inclusive | py |
diff --git a/telemetry/telemetry/core/tab_unittest.py b/telemetry/telemetry/core/tab_unittest.py
index <HASH>..<HASH> 100644
--- a/telemetry/telemetry/core/tab_unittest.py
+++ b/telemetry/telemetry/core/tab_unittest.py
@@ -10,10 +10,10 @@ from telemetry.unittest import tab_test_case
def _IsDocumentVisible(tab):
- ... | Use unprefixed Page Visibility API in tests, etc. We support the unprefixed API now. Use those instead of or in addition to the prefixed version, as appropriate. BUG=<I> TEST=no behavior change Review URL: <URL> | py |
diff --git a/src/mnemonic/mnemonic.py b/src/mnemonic/mnemonic.py
index <HASH>..<HASH> 100644
--- a/src/mnemonic/mnemonic.py
+++ b/src/mnemonic/mnemonic.py
@@ -67,6 +67,7 @@ def b58encode(v: bytes) -> str:
class Mnemonic(object):
def __init__(self, language: str = "english"):
+ self.language = language
... | fix type error by restoring language argument | py |
diff --git a/samcli/__init__.py b/samcli/__init__.py
index <HASH>..<HASH> 100644
--- a/samcli/__init__.py
+++ b/samcli/__init__.py
@@ -2,4 +2,4 @@
SAM CLI version
"""
-__version__ = "0.46.2"
+__version__ = "0.47.0" | chore: version bump to <I> (#<I>) Why is this change necessary? * required for a new release of SAM CLI. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -143,7 +143,7 @@ setup_args = dict(
"requests==2.9.1",
"protobuf==3.3.0",
"Werkzeug==0.11.3",
- "wheel==0.29",
+ "wheel==0.30",
"virtualenv==15.0.3",
"yara-python==3.6... | Updated wheel dependency version to <I>. | py |
diff --git a/pyocd/probe/pydapaccess/dap_access_cmsis_dap.py b/pyocd/probe/pydapaccess/dap_access_cmsis_dap.py
index <HASH>..<HASH> 100644
--- a/pyocd/probe/pydapaccess/dap_access_cmsis_dap.py
+++ b/pyocd/probe/pydapaccess/dap_access_cmsis_dap.py
@@ -312,7 +312,7 @@ class _Command(object):
buf[pos]... | truncated unused bytes of a command buffer. | py |
diff --git a/holoviews/core/data/xarray.py b/holoviews/core/data/xarray.py
index <HASH>..<HASH> 100644
--- a/holoviews/core/data/xarray.py
+++ b/holoviews/core/data/xarray.py
@@ -207,6 +207,26 @@ class XArrayInterface(GridInterface):
"for all defined kdims, %s coordinates not found."
... | Validate dimensionality of xarray interface data (#<I>) | py |
diff --git a/a10_neutron_lbaas/tests/unit/plumbing/test_portbinding_vlan.py b/a10_neutron_lbaas/tests/unit/plumbing/test_portbinding_vlan.py
index <HASH>..<HASH> 100644
--- a/a10_neutron_lbaas/tests/unit/plumbing/test_portbinding_vlan.py
+++ b/a10_neutron_lbaas/tests/unit/plumbing/test_portbinding_vlan.py
@@ -14,6 +14,... | Added db=True attr to portbinding DB tests | py |
diff --git a/demos/motortwit/motortwit/utils.py b/demos/motortwit/motortwit/utils.py
index <HASH>..<HASH> 100644
--- a/demos/motortwit/motortwit/utils.py
+++ b/demos/motortwit/motortwit/utils.py
@@ -16,7 +16,7 @@ def load_config(fname):
async def init_mongo(conf, loop):
- host = os.environ.get('DOCKER_MACHINE_I... | docker machine host update for motortwit | py |
diff --git a/cascadenik/compile.py b/cascadenik/compile.py
index <HASH>..<HASH> 100644
--- a/cascadenik/compile.py
+++ b/cascadenik/compile.py
@@ -8,13 +8,18 @@ import tempfile
import StringIO
import operator
from operator import lt, le, eq, ge, gt
-import xml.etree.ElementTree
-from xml.etree.ElementTree import Ele... | Account for python <I> and below, where ElementTree is not yet found in xml.etree git-svn-id: <URL> | py |
diff --git a/test_sqlalchemy.py b/test_sqlalchemy.py
index <HASH>..<HASH> 100644
--- a/test_sqlalchemy.py
+++ b/test_sqlalchemy.py
@@ -195,7 +195,9 @@ class BindsTestCase(unittest.TestCase):
import tempfile
_, db1 = tempfile.mkstemp()
_, db2 = tempfile.mkstemp()
+
def _remove_files()... | Needed to re-import `os` when running tests through `python setup.py test` | py |
diff --git a/firenado/test/service.py b/firenado/test/service.py
index <HASH>..<HASH> 100644
--- a/firenado/test/service.py
+++ b/firenado/test/service.py
@@ -19,7 +19,7 @@ from __future__ import (absolute_import, division, print_function,
import unittest
-from firenado.core.data import DataConnectedMixin
+from fi... | Fixed service test. Refs: #<I> | py |
diff --git a/salt/client/__init__.py b/salt/client/__init__.py
index <HASH>..<HASH> 100644
--- a/salt/client/__init__.py
+++ b/salt/client/__init__.py
@@ -76,6 +76,7 @@ def get_local_client(
if mopts:
opts = mopts
else:
+ import salt.config
opts = salt.config.client_config(c_path)
... | put this back, we need to pylint disable this line | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -46,6 +46,9 @@ setup(
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
+ "Programming Language :: Python :: 3.9",
+ ... | Add new language classifiers to setup.py | py |
diff --git a/src/VertexPartition.py b/src/VertexPartition.py
index <HASH>..<HASH> 100644
--- a/src/VertexPartition.py
+++ b/src/VertexPartition.py
@@ -653,7 +653,7 @@ class LinearResolutionParameterVertexPartition(MutableVertexPartition):
return _c_leiden._ResolutionParameterVertexPartition_quality(self._partition... | doc: corrected RBERVertexPartition description, fixes #4. | py |
diff --git a/toytree/Coords.py b/toytree/Coords.py
index <HASH>..<HASH> 100644
--- a/toytree/Coords.py
+++ b/toytree/Coords.py
@@ -139,6 +139,10 @@ class Coords:
def assign_coordinates(self):
+ # if tree is empty then bail out
+ if len(self.ttree) < 2:
+ return
+
# thi... | bail out of Coords if tree is empty | py |
diff --git a/bugzilla.py b/bugzilla.py
index <HASH>..<HASH> 100644
--- a/bugzilla.py
+++ b/bugzilla.py
@@ -149,7 +149,16 @@ class Bugzilla(object):
for this bugzilla instance. This can be used to set the list of attrs
on the Bug object.'''
if force_refresh or not self._bugfields:
- ... | Handle missing getBugFields more gracefully | py |
diff --git a/elasticsearch_django/migrations/0004_auto_20161129_1135.py b/elasticsearch_django/migrations/0004_auto_20161129_1135.py
index <HASH>..<HASH> 100644
--- a/elasticsearch_django/migrations/0004_auto_20161129_1135.py
+++ b/elasticsearch_django/migrations/0004_auto_20161129_1135.py
@@ -1,9 +1,8 @@
# Generated ... | Update migration to use native JSONField | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.