diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/lvmify/__main__.py b/lvmify/__main__.py
index <HASH>..<HASH> 100644
--- a/lvmify/__main__.py
+++ b/lvmify/__main__.py
@@ -420,9 +420,15 @@ def main():
)))
cfgf.flush()
+ # The readonly flag is ignored when stacked under a linear
+ # target, so the use of an intermediat... | Switching to the 'error' dm target, because dm ignored the ro property. Apparently readonly doesn't propagate through a linear mapping. | py |
diff --git a/allennlp/common/from_params.py b/allennlp/common/from_params.py
index <HASH>..<HASH> 100644
--- a/allennlp/common/from_params.py
+++ b/allennlp/common/from_params.py
@@ -254,7 +254,7 @@ class FromParams:
from allennlp.common.registrable import Registrable # import here to avoid circular imports
... | Only log the keys in the "extras" dictionary when instantiating objects from_params (#<I>) | py |
diff --git a/subscriptions/management/commands/remove_duplicate_subscriptions.py b/subscriptions/management/commands/remove_duplicate_subscriptions.py
index <HASH>..<HASH> 100644
--- a/subscriptions/management/commands/remove_duplicate_subscriptions.py
+++ b/subscriptions/management/commands/remove_duplicate_subscripti... | added active and not complete filter and order | py |
diff --git a/src/saml2/sigver.py b/src/saml2/sigver.py
index <HASH>..<HASH> 100644
--- a/src/saml2/sigver.py
+++ b/src/saml2/sigver.py
@@ -855,8 +855,8 @@ class CryptoBackendXMLSecurity(CryptoBackend):
signed = xmlsec.sign(xml, key_file)
return lxml.etree.tostring(signed, xml_declaration=True)
- ... | Fix CryptoBackendXMLSecurity.validate_signature. The validate_signature method is called with the parameters named, so it does not work to rename the parameters from the names used in the superclass. | py |
diff --git a/fluent_blogs/models/query.py b/fluent_blogs/models/query.py
index <HASH>..<HASH> 100644
--- a/fluent_blogs/models/query.py
+++ b/fluent_blogs/models/query.py
@@ -130,7 +130,7 @@ def query_tags(order=None, orderby=None, limit=None):
# get tags
queryset = Tag.objects.filter(id__in=entry_tag_ids)
... | Add comment about taggit field names in <I> | py |
diff --git a/pytds/__init__.py b/pytds/__init__.py
index <HASH>..<HASH> 100644
--- a/pytds/__init__.py
+++ b/pytds/__init__.py
@@ -306,6 +306,7 @@ class Connection(object):
18486, # account is locked
18487, # password expired
... | don't retry after "login from untrusted domain" error | py |
diff --git a/indra/belief/skl.py b/indra/belief/skl.py
index <HASH>..<HASH> 100644
--- a/indra/belief/skl.py
+++ b/indra/belief/skl.py
@@ -471,10 +471,10 @@ class CountsScorer(SklearnScorer):
"in the statement data.")
# Get source count features
# If we have extra_evidenc... | Fix checking of include_more_specific when building matrix | py |
diff --git a/nonebot/plugin.py b/nonebot/plugin.py
index <HASH>..<HASH> 100644
--- a/nonebot/plugin.py
+++ b/nonebot/plugin.py
@@ -386,8 +386,9 @@ def on_command_custom(
if shell_like:
- async def shell_like_args_parser(session):
- session.args['argv'] = shlex.split(session.curren... | Fix: forgotten reference to deleted CommandSession.argv <URL> | py |
diff --git a/cheroot/server.py b/cheroot/server.py
index <HASH>..<HASH> 100644
--- a/cheroot/server.py
+++ b/cheroot/server.py
@@ -189,7 +189,7 @@ class HeaderReader(object):
return hdict
def _allow_header(self, key_name):
- return key_name
+ return True
def _transform_key(self, key... | Filter not the headers by default for consistency with existing implementation. | py |
diff --git a/newsplease/crawler/commoncrawl_extractor.py b/newsplease/crawler/commoncrawl_extractor.py
index <HASH>..<HASH> 100644
--- a/newsplease/crawler/commoncrawl_extractor.py
+++ b/newsplease/crawler/commoncrawl_extractor.py
@@ -279,7 +279,8 @@ class CommonCrawlExtractor:
... | Verbose logging of exceptions if continue_after_error - log ignored exceptions more verbosely including exception value and stack trace - try to address #<I> (find out reason for the permission error) | py |
diff --git a/invenio_workflows/models.py b/invenio_workflows/models.py
index <HASH>..<HASH> 100644
--- a/invenio_workflows/models.py
+++ b/invenio_workflows/models.py
@@ -169,7 +169,7 @@ class WorkflowObjectModel(db.Model):
_id_workflow = db.Column(UUIDType,
db.ForeignKey("workflows_w... | models: add indexes to foreign keys Adds indexes to foreign keys, so that the on delete cascade operations can run in an optimal way. | py |
diff --git a/tests/input/logictree_test.py b/tests/input/logictree_test.py
index <HASH>..<HASH> 100644
--- a/tests/input/logictree_test.py
+++ b/tests/input/logictree_test.py
@@ -999,7 +999,7 @@ class GMPELogicTreeBrokenInputTestCase(unittest.TestCase):
branchSetID="bs1"
... | input/logictree_test: Fixed a few minor test failures. | py |
diff --git a/salt/modules/debian_service.py b/salt/modules/debian_service.py
index <HASH>..<HASH> 100644
--- a/salt/modules/debian_service.py
+++ b/salt/modules/debian_service.py
@@ -36,7 +36,8 @@ def __virtual__():
'''
if __grains__['os'] in ('Debian', 'Raspbian', 'Devuan') and not salt.utils.systemd.booted(... | modules.debian_service: __virtual__ return err msg. Updated message in debian_service module when return False if os family is not supported or systemd is running. | py |
diff --git a/salt/master.py b/salt/master.py
index <HASH>..<HASH> 100644
--- a/salt/master.py
+++ b/salt/master.py
@@ -1488,7 +1488,7 @@ class AESFuncs(object):
if 'jid' in minion:
ret['__jid__'] = minion['jid']
for key, val in self.local.get_cache_returns(ret['__jid__']).... | Fix PEP8 E<I> - test for membership should be "not in" | py |
diff --git a/cirq-google/setup.py b/cirq-google/setup.py
index <HASH>..<HASH> 100644
--- a/cirq-google/setup.py
+++ b/cirq-google/setup.py
@@ -72,6 +72,7 @@ setup(
'cirq_google': ['py.typed'],
'cirq_google.api.v2': ['*'],
'cirq_google.api.v1': ['*'],
+ 'cirq_google.devices.calibrations... | Add median calibrations to package (#<I>) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -28,10 +28,14 @@
from setuptools import setup
import versioneer
+with open('README.rst', 'r') as readme_file:
+ long_description = readme_file.read()
+
setup(name="trollimage",
version=versioneer.get_version(),
... | Add long description for display by PyPI | py |
diff --git a/cbamf/util.py b/cbamf/util.py
index <HASH>..<HASH> 100644
--- a/cbamf/util.py
+++ b/cbamf/util.py
@@ -118,6 +118,12 @@ class Tile(object):
return str(self.__class__.__name__)+" {} -> {} ({})".format(
list(self.l), list(self.r), list(self.shape))
+ def contains(self, items, pa... | tile gets a contains function which tests for a point in the box | py |
diff --git a/swift/storage.py b/swift/storage.py
index <HASH>..<HASH> 100644
--- a/swift/storage.py
+++ b/swift/storage.py
@@ -8,6 +8,8 @@ from hashlib import sha1
from io import BytesIO
from time import time
+from django.utils.deconstruct import deconstructible
+
from django.conf import settings
from django.core... | make SwiftStorage class deconstructible for migrations (custom file storage fields) | py |
diff --git a/pysndfx/dsp.py b/pysndfx/dsp.py
index <HASH>..<HASH> 100644
--- a/pysndfx/dsp.py
+++ b/pysndfx/dsp.py
@@ -267,7 +267,7 @@ class AudioEffectsChain:
if stderr:
raise RuntimeError(stderr.decode())
if stdout:
- outsound = np.frombuffer(stdout, dtype=np.float32)
+ ... | Output always writeable ndarrays | py |
diff --git a/test/test_collection.py b/test/test_collection.py
index <HASH>..<HASH> 100644
--- a/test/test_collection.py
+++ b/test/test_collection.py
@@ -1149,6 +1149,7 @@ class TestCollection(unittest.TestCase):
def test_large_limit(self):
db = self.db
+ db.test.remove({}, safe=True)
d... | Try to fix an intermittent test failure. | py |
diff --git a/domain_models/__init__.py b/domain_models/__init__.py
index <HASH>..<HASH> 100644
--- a/domain_models/__init__.py
+++ b/domain_models/__init__.py
@@ -1,3 +1,3 @@
"""Domain models."""
-VERSION = '0.0.7'
+VERSION = '0.0.8' | Increment version to <I> | py |
diff --git a/metpy/io/nexrad.py b/metpy/io/nexrad.py
index <HASH>..<HASH> 100644
--- a/metpy/io/nexrad.py
+++ b/metpy/io/nexrad.py
@@ -262,7 +262,7 @@ def remap_status(val):
class Level2File(object):
#Number of bytes
- AR2_BLOCKSIZE = 2432
+ AR2_BLOCKSIZE = 2432 # 12 (CTM) + 2416 (Msg hdr + data) + 4 (FCS... | Add some comments to clarify block size. Finally solved the missing 4 bytes, which are due to the trailing Frame Check Sequence on legacy messages. We can thank legacy NCDC docs for the explanation. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,7 @@ except ImportError: # for pip <= 9.0.3
def read(fname):
- return open(os.path.join(os.path.dirname(__file__), fname)).read()
+ return open(os.path.join(os.path.dirname(__file__), fname), encoding='utf-8... | Don't assume that system encoding is set to UTF-8 during install But really though, it should be. Fixes #<I>. | py |
diff --git a/src/ossos-pipeline/tests/test_vospace/test_vospace_persistence.py b/src/ossos-pipeline/tests/test_vospace/test_vospace_persistence.py
index <HASH>..<HASH> 100644
--- a/src/ossos-pipeline/tests/test_vospace/test_vospace_persistence.py
+++ b/src/ossos-pipeline/tests/test_vospace/test_vospace_persistence.py
@... | Make sure nose doesn't try to run the abstract test case class, just the subclasses. | py |
diff --git a/typelib/records.py b/typelib/records.py
index <HASH>..<HASH> 100644
--- a/typelib/records.py
+++ b/typelib/records.py
@@ -246,9 +246,11 @@ class Projection(object):
return self.is_resolved
def _include_child_fields(self, starting_record):
- missing_fields = set(self.source_field_path... | Checking for missing fields only if not all fields are selected | py |
diff --git a/run_tests.py b/run_tests.py
index <HASH>..<HASH> 100644
--- a/run_tests.py
+++ b/run_tests.py
@@ -23,6 +23,7 @@ from tests.computation_unittest import *
from tests.example_unittest import *
from tests.parser_shaml_output_unittest import *
from tests.output_unittest import *
+from tests.parser_shaml_outp... | Fixing merge bug in run_tests | py |
diff --git a/infoqscraper/test/test_presentation.py b/infoqscraper/test/test_presentation.py
index <HASH>..<HASH> 100644
--- a/infoqscraper/test/test_presentation.py
+++ b/infoqscraper/test/test_presentation.py
@@ -34,7 +34,7 @@ class TestSummaries(unittest2.TestCase):
def assert_valid_summary(self, summary):
... | Fix broken test. Presentation id can be smaller than 5 caracters. | py |
diff --git a/torchvision/utils.py b/torchvision/utils.py
index <HASH>..<HASH> 100644
--- a/torchvision/utils.py
+++ b/torchvision/utils.py
@@ -65,7 +65,7 @@ def make_grid(tensor, nrow=8, padding=2,
xmaps = min(nrow, nmaps)
ymaps = int(math.ceil(float(nmaps) / xmaps))
height, width = int(tensor.size(2) + ... | Fixed border missing on bottom and right side using make_grid (#<I>) | py |
diff --git a/passwords/validators.py b/passwords/validators.py
index <HASH>..<HASH> 100644
--- a/passwords/validators.py
+++ b/passwords/validators.py
@@ -135,10 +135,6 @@ class BaseSimilarityValidator(object):
self.message % {"haystacks": ", ".join(self.haystacks)},
code=self.... | removed the information validator, validators do not have the knowledge required to use it | py |
diff --git a/tests/test_plot.py b/tests/test_plot.py
index <HASH>..<HASH> 100644
--- a/tests/test_plot.py
+++ b/tests/test_plot.py
@@ -1,3 +1,4 @@
+import pytest
from more_itertools.recipes import flatten
from svg.charts.plot import Plot
@@ -83,6 +84,7 @@ class TestPlot:
svg = g.burn()
assert 'text="(1.00, 0.... | Mark test as xfail until a solution can be devised. Ref #<I>. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -46,5 +46,5 @@ setuptools.setup(
],
data_files=[
],
- python_requires=">=3.9",
+ python_requires=">=3.10",
) | new version of python | py |
diff --git a/dipper/sources/CTD.py b/dipper/sources/CTD.py
index <HASH>..<HASH> 100644
--- a/dipper/sources/CTD.py
+++ b/dipper/sources/CTD.py
@@ -194,10 +194,10 @@ class CTD(Source):
if file == self.files[
'chemical_disease_interactions']['file']:
... | Removed processing of 'gene_pathway' and 'gene_disease', which were removed from Dipper's CTD ingest last week | py |
diff --git a/robohash/webfront.py b/robohash/webfront.py
index <HASH>..<HASH> 100755
--- a/robohash/webfront.py
+++ b/robohash/webfront.py
@@ -343,6 +343,7 @@ class ImgHandler(tornado.web.RequestHandler):
# We're going t... | It looks like I wasn't specifying a cache header at all. I could have sworn I was. Woops. | py |
diff --git a/tests/functional/test_curve_curve.py b/tests/functional/test_curve_curve.py
index <HASH>..<HASH> 100644
--- a/tests/functional/test_curve_curve.py
+++ b/tests/functional/test_curve_curve.py
@@ -181,7 +181,7 @@ COINCIDENT_OVERRIDES = {
ALGEBRAIC: {53: {}},
}
INCORRECT_COUNT = {GEOMETRIC: (), ALGEBRAI... | Removing a test case from "Incorrect Count" on OS X. | py |
diff --git a/tracer/cachemanager/cachemanager.py b/tracer/cachemanager/cachemanager.py
index <HASH>..<HASH> 100644
--- a/tracer/cachemanager/cachemanager.py
+++ b/tracer/cachemanager/cachemanager.py
@@ -1,5 +1,6 @@
import pickle
import logging
+from ..simprocedures import receive
l = logging.getLogger("tracer.cach... | CacheManager unhooks receive on prepare cache data | py |
diff --git a/walrus/tests/containers.py b/walrus/tests/containers.py
index <HASH>..<HASH> 100644
--- a/walrus/tests/containers.py
+++ b/walrus/tests/containers.py
@@ -645,7 +645,7 @@ class TestStream(WalrusTestCase):
b'sa': [(ra1, {b'k': b'a1'})],
b'sb': [(rb1, {b'k': b'b1'})]})
- sel... | Illustrate use of block= with consumer group read. | py |
diff --git a/jax/experimental/optix.py b/jax/experimental/optix.py
index <HASH>..<HASH> 100644
--- a/jax/experimental/optix.py
+++ b/jax/experimental/optix.py
@@ -85,6 +85,7 @@ ClipByGlobalNormState = collections.namedtuple("ClipByGlobalNormState", "")
def global_norm(items):
return jnp.sqrt(jnp.sum([jnp.sum(x**2... | add missing attribute in optix (for google tests) | py |
diff --git a/doc/en/conf.py b/doc/en/conf.py
index <HASH>..<HASH> 100644
--- a/doc/en/conf.py
+++ b/doc/en/conf.py
@@ -20,6 +20,7 @@
import os
import sys
+import datetime
from _pytest import __version__ as version
@@ -57,7 +58,8 @@ master_doc = 'contents'
# General information about the project.
project = ... | change doc copyright year to range and auto update year | py |
diff --git a/txaws/client/base.py b/txaws/client/base.py
index <HASH>..<HASH> 100644
--- a/txaws/client/base.py
+++ b/txaws/client/base.py
@@ -318,9 +318,9 @@ class _URLContext(object):
)
query = self.get_encoded_query()
if query is None:
- params["query"] = b""
+ params... | Mark the dict keys as bytes to be completely explicit about what's going on. | py |
diff --git a/spyderlib/widgets/sourcecode/codeeditor.py b/spyderlib/widgets/sourcecode/codeeditor.py
index <HASH>..<HASH> 100644
--- a/spyderlib/widgets/sourcecode/codeeditor.py
+++ b/spyderlib/widgets/sourcecode/codeeditor.py
@@ -973,6 +973,7 @@ class CodeEditor(TextEditBaseWidget):
font_height = self.fontMet... | moved font variable definition out of the while loop | py |
diff --git a/src/_pytest/config/__init__.py b/src/_pytest/config/__init__.py
index <HASH>..<HASH> 100644
--- a/src/_pytest/config/__init__.py
+++ b/src/_pytest/config/__init__.py
@@ -515,7 +515,7 @@ class PytestPluginManager(PluginManager):
if path and path.relto(dirpath) or path == dirpath:
... | minor: fix trace msg: s/loaded/loading (#<I>) | py |
diff --git a/salt/modules/archive.py b/salt/modules/archive.py
index <HASH>..<HASH> 100644
--- a/salt/modules/archive.py
+++ b/salt/modules/archive.py
@@ -101,7 +101,10 @@ def tar(options, tarfile, sources=None, dest=None,
if dest:
cmd.extend(['-C', '{0}'.format(dest)])
- cmd.extend(['-{0}'.format(op... | don't add dash to tar archive options, when options already starts with a dash | py |
diff --git a/pygsp/plotting.py b/pygsp/plotting.py
index <HASH>..<HASH> 100644
--- a/pygsp/plotting.py
+++ b/pygsp/plotting.py
@@ -209,7 +209,7 @@ def plot_graph(G, backend=None, **kwargs):
default = G.plotting['vertex_size']
kwargs['vertex_size'] = kwargs.pop('vertex_size', default)
- plot_name = '{}\nG... | plotting: handle unicode characters for Python 2 | py |
diff --git a/spyder/widgets/variableexplorer/utils.py b/spyder/widgets/variableexplorer/utils.py
index <HASH>..<HASH> 100644
--- a/spyder/widgets/variableexplorer/utils.py
+++ b/spyder/widgets/variableexplorer/utils.py
@@ -181,7 +181,7 @@ except ImportError:
def datestr_to_datetime(value):
rp = value.rfind('(')+1... | Add spyder: skip-test to prints. | py |
diff --git a/simple_history/admin.py b/simple_history/admin.py
index <HASH>..<HASH> 100644
--- a/simple_history/admin.py
+++ b/simple_history/admin.py
@@ -55,9 +55,10 @@ class SimpleHistoryAdmin(admin.ModelAdmin):
app_label = opts.app_label
pk_name = opts.pk.attname
history = getattr(model, m... | Fixed issue with quoted underscores in primary key attribute names. | py |
diff --git a/cheroot/test/test_server.py b/cheroot/test/test_server.py
index <HASH>..<HASH> 100644
--- a/cheroot/test/test_server.py
+++ b/cheroot/test/test_server.py
@@ -251,7 +251,7 @@ def test_peercreds_unix_sock_with_lookup(peercreds_enabled_server):
1024,
2048,
),
- indirect=('resource_li... | Apply updated add-trailing-comma edits | py |
diff --git a/auto_ml/utils_models.py b/auto_ml/utils_models.py
index <HASH>..<HASH> 100644
--- a/auto_ml/utils_models.py
+++ b/auto_ml/utils_models.py
@@ -69,12 +69,12 @@ def get_model_from_name(model_name, training_params=None):
'Perceptron': {'n_jobs': -1},
'LinearSVC': {'dual': False},
'Li... | changes sklearn gradientboosting learning_rate to <I>, and warm_start to True | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -16,7 +16,7 @@ except ImportError:
setup(
name='apns2',
- version='0.4.1',
+ version='0.5.0',
packages=['apns2'],
install_requires=dependencies,
url='https://github.com/Pr0Ger/PyAPNs2', | version bump -> <I> | py |
diff --git a/werkzeug/testsuite/wrappers.py b/werkzeug/testsuite/wrappers.py
index <HASH>..<HASH> 100644
--- a/werkzeug/testsuite/wrappers.py
+++ b/werkzeug/testsuite/wrappers.py
@@ -345,6 +345,21 @@ class WrappersTestCase(WerkzeugTestCase):
request = wrappers.Request({'HTTP_USER_AGENT': 'foo'})
asser... | Added a test for stream wrapping | py |
diff --git a/pyvisa-py/highlevel.py b/pyvisa-py/highlevel.py
index <HASH>..<HASH> 100644
--- a/pyvisa-py/highlevel.py
+++ b/pyvisa-py/highlevel.py
@@ -15,7 +15,6 @@ from __future__ import division, unicode_literals, print_function, absolute_impo
import warnings
import random
-import re
from pyvisa import constan... | Implemented query in list_resources using rname.filter | py |
diff --git a/ansi2html/converter.py b/ansi2html/converter.py
index <HASH>..<HASH> 100755
--- a/ansi2html/converter.py
+++ b/ansi2html/converter.py
@@ -68,7 +68,7 @@ _latex_template = '''\\documentclass{scrartcl}
\\usepackage[utf8]{inputenc}
\\usepackage{fancyvrb}
\\usepackage[usenames,dvipsnames]{xcolor}
-% \\define... | Sure % has a special meaning … | py |
diff --git a/sphinxcontrib/needs/needs.py b/sphinxcontrib/needs/needs.py
index <HASH>..<HASH> 100644
--- a/sphinxcontrib/needs/needs.py
+++ b/sphinxcontrib/needs/needs.py
@@ -253,8 +253,8 @@ def setup(app):
app.connect('doctree-resolved', process_need_ref)
app.connect('doctree-resolved', process_need_incoming... | changed order of loaded js files | py |
diff --git a/examples/plot_colourmap_pitfalls.py b/examples/plot_colourmap_pitfalls.py
index <HASH>..<HASH> 100644
--- a/examples/plot_colourmap_pitfalls.py
+++ b/examples/plot_colourmap_pitfalls.py
@@ -12,7 +12,6 @@ import numpy as np
import matplotlib.pyplot as plt
from mpl_toolkits.axes_grid1 import make_axes_loca... | No need for loading default. i think | py |
diff --git a/salt/modules/pacman.py b/salt/modules/pacman.py
index <HASH>..<HASH> 100644
--- a/salt/modules/pacman.py
+++ b/salt/modules/pacman.py
@@ -348,10 +348,13 @@ def install(name=None,
return salt.utils.compare_dicts(old, new)
-def upgrade():
+def upgrade(refresh=True):
'''
Run a full system u... | Allow pacman upgrade to don't refresh the database The default behavior is still to refresh before upgrade. | py |
diff --git a/flask_bouncer.py b/flask_bouncer.py
index <HASH>..<HASH> 100644
--- a/flask_bouncer.py
+++ b/flask_bouncer.py
@@ -50,6 +50,8 @@ class Bouncer(object):
self.authorization_method_callback = None
+ self.flask_classy_classes = None
+
def bounce(self, *classy_routes):
i... | progress - but need to workon on the classy non-decorated routes | py |
diff --git a/gbdxtools/images/meta.py b/gbdxtools/images/meta.py
index <HASH>..<HASH> 100644
--- a/gbdxtools/images/meta.py
+++ b/gbdxtools/images/meta.py
@@ -122,6 +122,8 @@ class DaskImage(da.Array):
except AttributeError:
# this means result was an object with __slots__
... | making sure we cull the image-graph on creation | py |
diff --git a/ontology_deploy.py b/ontology_deploy.py
index <HASH>..<HASH> 100755
--- a/ontology_deploy.py
+++ b/ontology_deploy.py
@@ -47,7 +47,7 @@ def main():
if not filepaths:
print('No files found! Exiting...')
return
- elif not head(GITHUB_BASE_URL + COMMIT + '/nif.owl').ok:
+ elif not... | ontology_deploy transition from nif.owl to ttl/nif.ttl since nif.owl has been removed | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -18,7 +18,7 @@ def readme():
setup(
name="quilt",
- version="2.3.3",
+ version="2.4.0",
packages=find_packages(),
description='Quilt is an open-source data frame registry',
long_description=readme(... | Update version in setup.py for pip release. (#<I>) | py |
diff --git a/seleniumbase/fixtures/base_case.py b/seleniumbase/fixtures/base_case.py
index <HASH>..<HASH> 100755
--- a/seleniumbase/fixtures/base_case.py
+++ b/seleniumbase/fixtures/base_case.py
@@ -2383,6 +2383,7 @@ class BaseCase(unittest.TestCase):
pdf_text = self.__fix_unicode_conversion(pdf_text)
... | Remove leading and trailing whitespace from PDF files when parsed | py |
diff --git a/indra/databases/chembl_client.py b/indra/databases/chembl_client.py
index <HASH>..<HASH> 100644
--- a/indra/databases/chembl_client.py
+++ b/indra/databases/chembl_client.py
@@ -115,6 +115,25 @@ def activities_by_target(activities):
return targ_act_dict
+def get_protein_targets_only(target_chembl_... | Given list of ChEMBL target ids, return dict of only SINGLE PROTEIN targ | py |
diff --git a/salt/utils/thin.py b/salt/utils/thin.py
index <HASH>..<HASH> 100644
--- a/salt/utils/thin.py
+++ b/salt/utils/thin.py
@@ -38,7 +38,7 @@ def gen_thin(cachedir):
tops = [
os.path.dirname(salt.__file__),
os.path.dirname(jinja2.__file__),
- os.path.dirname(yaml.__file_... | Pull in the correct yaml libs | py |
diff --git a/cherry_picker/cherry_picker.py b/cherry_picker/cherry_picker.py
index <HASH>..<HASH> 100755
--- a/cherry_picker/cherry_picker.py
+++ b/cherry_picker/cherry_picker.py
@@ -253,11 +253,11 @@ To abort the cherry-pick and cleanup:
def cherry_pick_cli(dry_run, pr_remote, abort, status, commit_sha1, branches):
... | Allow running directly from CPython dir again (#<I>) | py |
diff --git a/lib/webcomment_templates.py b/lib/webcomment_templates.py
index <HASH>..<HASH> 100644
--- a/lib/webcomment_templates.py
+++ b/lib/webcomment_templates.py
@@ -1378,7 +1378,7 @@ class Template:
{'x_nb_score': '<b>%.1f</b>' % avg_score,
'x_nb_reviews': nb_comments_t... | Fixed "Not yet reviewed" typo. | py |
diff --git a/pyOCD/tools/pyocd.py b/pyOCD/tools/pyocd.py
index <HASH>..<HASH> 100755
--- a/pyOCD/tools/pyocd.py
+++ b/pyOCD/tools/pyocd.py
@@ -238,7 +238,7 @@ class PyOCDTool(object):
# List command must be dealt with specially.
if self.cmd == 'list':
- self.handle_list()
+ ... | Fixed list command in pyocd-tool. | py |
diff --git a/salt/transport/zeromq.py b/salt/transport/zeromq.py
index <HASH>..<HASH> 100644
--- a/salt/transport/zeromq.py
+++ b/salt/transport/zeromq.py
@@ -901,7 +901,10 @@ class ZeroMQPubServerChannel(salt.transport.server.PubServerChannel):
# Send list of miions thru so zmq can target them
... | log jid to payload size | py |
diff --git a/bcbio/pipeline/main.py b/bcbio/pipeline/main.py
index <HASH>..<HASH> 100644
--- a/bcbio/pipeline/main.py
+++ b/bcbio/pipeline/main.py
@@ -394,6 +394,8 @@ class RnaseqPipeline(AbstractPipeline):
multiplier=alignprep.parallel_multiplier(samples)) as run_parallel:
samples... | RNA-seq disambiguation parallelisation improvements | py |
diff --git a/lunr/trimmer.py b/lunr/trimmer.py
index <HASH>..<HASH> 100644
--- a/lunr/trimmer.py
+++ b/lunr/trimmer.py
@@ -4,15 +4,15 @@ import re
from lunr.pipeline import Pipeline
-start_re = re.compile(r"^\W+")
-end_re = re.compile(r"\W+$")
+full_re = re.compile(r"^\W*?([^\W]+)\W*?$")
def trimmer(token, i=... | Switch to single regex call in trimmer | py |
diff --git a/tests.py b/tests.py
index <HASH>..<HASH> 100644
--- a/tests.py
+++ b/tests.py
@@ -1,6 +1,5 @@
# encoding=utf-8
-from __future__ import with_statement
import datetime
import decimal
import logging | Removing future in tests.py, refs #<I> | py |
diff --git a/pandas/tests/arrays/sparse/test_array.py b/pandas/tests/arrays/sparse/test_array.py
index <HASH>..<HASH> 100644
--- a/pandas/tests/arrays/sparse/test_array.py
+++ b/pandas/tests/arrays/sparse/test_array.py
@@ -1185,7 +1185,9 @@ class TestAccessor:
row = [0, 3, 1, 0]
col = [0, 3, 1, 2]
... | CI/TST: Supply dtype to coo_matrix until scipy is fixed (#<I>) | py |
diff --git a/MAVProxy/modules/mavproxy_wp.py b/MAVProxy/modules/mavproxy_wp.py
index <HASH>..<HASH> 100644
--- a/MAVProxy/modules/mavproxy_wp.py
+++ b/MAVProxy/modules/mavproxy_wp.py
@@ -547,7 +547,10 @@ class WPModule(mp_module.MPModule):
numrows = self.wploader.count()
for row in range(numrows):
... | wp: fixed wp remove bug | py |
diff --git a/salt/output/__init__.py b/salt/output/__init__.py
index <HASH>..<HASH> 100644
--- a/salt/output/__init__.py
+++ b/salt/output/__init__.py
@@ -6,6 +6,7 @@ for managing outputters.
# Import salt utils
import salt.loader
+
def display_output(data, out, opts=None):
'''
Print the passed data usin... | iFix some spacing in the outputter | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -22,13 +22,13 @@ tests_require = [
'invenio-db>=1.0.2',
'invenio-oauth2server>=1.0.1',
'invenio-records>=1.0.0',
+ 'invenio-records-ui>=1.0.1',
'isort>=4.2.15',
'mock>=1.3.0',
'pydocstyle>=1.0.... | installation: move records-ui to tests_require | py |
diff --git a/test/test_actual.py b/test/test_actual.py
index <HASH>..<HASH> 100644
--- a/test/test_actual.py
+++ b/test/test_actual.py
@@ -1,3 +1,5 @@
+import pytest
+
from pyphi import actual, examples
# TODO:
@@ -70,6 +72,8 @@ def test_ac_ex1_context():
assert emip1.partition == (((), (0,)), ((2,), ()))
... | Mark test as `xfail` | py |
diff --git a/salt/pillar/consul_pillar.py b/salt/pillar/consul_pillar.py
index <HASH>..<HASH> 100644
--- a/salt/pillar/consul_pillar.py
+++ b/salt/pillar/consul_pillar.py
@@ -12,6 +12,13 @@ configuration file:
my_consul_config:
consul.host: 127.0.0.1
consul.port: 8500
+ consul.token: b6376760-a8... | Full control over client options in Consul pillar | py |
diff --git a/pyrogram/session/auth.py b/pyrogram/session/auth.py
index <HASH>..<HASH> 100644
--- a/pyrogram/session/auth.py
+++ b/pyrogram/session/auth.py
@@ -26,7 +26,7 @@ from pyrogram.api import functions, types
from pyrogram.api.core import Object, Long, Int
from pyrogram.connection import Connection
from pyrogr... | Allow auth to use ipv6 | py |
diff --git a/linkcheck/director/console.py b/linkcheck/director/console.py
index <HASH>..<HASH> 100644
--- a/linkcheck/director/console.py
+++ b/linkcheck/director/console.py
@@ -28,6 +28,13 @@ stderr = codecs.getwriter(i18n.default_encoding)(sys.stderr, errors="ignore")
stdout = codecs.getwriter(i18n.default_encoding... | Add console encoding function to encode Unicode strings in the preferred encoding for the console. | py |
diff --git a/tests/test_remove.py b/tests/test_remove.py
index <HASH>..<HASH> 100644
--- a/tests/test_remove.py
+++ b/tests/test_remove.py
@@ -31,6 +31,17 @@ class TestRemoveFileOutsideOfRepo(TestDvc):
self.dvc.remove(os.path.join(os.path.dirname(self.dvc.root_dir), self.FOO))
+class TestRemoveDirector... | tests: add test for removing directory | py |
diff --git a/satpy/tests/reader_tests/test_seviri_l2_bufr.py b/satpy/tests/reader_tests/test_seviri_l2_bufr.py
index <HASH>..<HASH> 100644
--- a/satpy/tests/reader_tests/test_seviri_l2_bufr.py
+++ b/satpy/tests/reader_tests/test_seviri_l2_bufr.py
@@ -98,7 +98,6 @@ class TestMSGBufr(unittest.TestCase):
def test_m... | Added test script for seviri l2 bufr reader | py |
diff --git a/examples/gen_rt_integrity_check.py b/examples/gen_rt_integrity_check.py
index <HASH>..<HASH> 100755
--- a/examples/gen_rt_integrity_check.py
+++ b/examples/gen_rt_integrity_check.py
@@ -65,7 +65,7 @@ end for;
supertype_body_tmpl = Template('''
select one one_${To}_Instance related by ${From}_Instance... | example: fixed minor typo in runtime consistency check example | py |
diff --git a/openquake/calculators/base.py b/openquake/calculators/base.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/base.py
+++ b/openquake/calculators/base.py
@@ -1044,7 +1044,8 @@ class RiskCalculator(HazardCalculator):
self.core_task.__func__, h5=self.datastore.hdf5)
for block in... | Better logging [skip CI] | py |
diff --git a/easytrader/clienttrader.py b/easytrader/clienttrader.py
index <HASH>..<HASH> 100644
--- a/easytrader/clienttrader.py
+++ b/easytrader/clienttrader.py
@@ -384,7 +384,7 @@ class ClientTrader:
self._main.window(
control_id=control_id,
class_name='Edit'
- ).type_keys(t... | update _type_keys (#<I>) Use set_edit_text in case some field was auto filled, e.g. price. | py |
diff --git a/sciunit/scores/base.py b/sciunit/scores/base.py
index <HASH>..<HASH> 100644
--- a/sciunit/scores/base.py
+++ b/sciunit/scores/base.py
@@ -83,13 +83,31 @@ class Score(SciUnit):
def compute(cls, observation, prediction):
"""Compute whether the observation equals the prediction."""
retu... | Added log_norm_score | py |
diff --git a/tests/test_vsa.py b/tests/test_vsa.py
index <HASH>..<HASH> 100644
--- a/tests/test_vsa.py
+++ b/tests/test_vsa.py
@@ -932,7 +932,19 @@ def test_solution():
nose.tools.assert_false(s.solution(vs, 18))
nose.tools.assert_false(s.solution(vs, 322))
+def test_reasonable_bounds():
+ si = claripy.S... | testcase ensuring reasonable unsigned bounds | py |
diff --git a/SetWeatherStation.py b/SetWeatherStation.py
index <HASH>..<HASH> 100644
--- a/SetWeatherStation.py
+++ b/SetWeatherStation.py
@@ -77,7 +77,7 @@ def main(argv=None):
if now.second >= 55:
time.sleep(10)
now = datetime.now()
- now += timedelta(minutes=31)
+ now... | Restored correct operation of SetWeatherStation.py set clock option. | py |
diff --git a/examples/cuneiform_python.py b/examples/cuneiform_python.py
index <HASH>..<HASH> 100644
--- a/examples/cuneiform_python.py
+++ b/examples/cuneiform_python.py
@@ -15,6 +15,7 @@ class Cuneiform(pp.unicode_set):
_ranges: List[Tuple[int, ...]] = [
(0x10380, 0x103d5),
(0x12000, 0x123FF),
... | Add numbers and punctuation to Cuneiform class | py |
diff --git a/elasticsearch/helpers/__init__.py b/elasticsearch/helpers/__init__.py
index <HASH>..<HASH> 100644
--- a/elasticsearch/helpers/__init__.py
+++ b/elasticsearch/helpers/__init__.py
@@ -172,7 +172,14 @@ def scan(client, query=None, scroll='5m', preserve_order=False, **kwargs):
unpredictable results, u... | Add some docs for scan mentioning passing extra args to search Fixes #<I> Thanks jpshelley! | py |
diff --git a/astrobase/lcproc.py b/astrobase/lcproc.py
index <HASH>..<HASH> 100644
--- a/astrobase/lcproc.py
+++ b/astrobase/lcproc.py
@@ -640,7 +640,7 @@ def getlclist(listpickle,
our_kdt = lclist['kdtree']
# do a query_ball_tree
- extkd_dists, extkd_matchinds = our_kdt.query_bal... | lcproc.getlclist fix bugs with xmatchexternal | py |
diff --git a/qutepart/SyntaxHighlighter.py b/qutepart/SyntaxHighlighter.py
index <HASH>..<HASH> 100644
--- a/qutepart/SyntaxHighlighter.py
+++ b/qutepart/SyntaxHighlighter.py
@@ -41,7 +41,7 @@ class SyntaxHighlighter(QObject):
document.contentsChange.connect(self._onContentsChange)
- ... | Do not set NULL line data when parsing first time | py |
diff --git a/sos/jupyter/visualize.py b/sos/jupyter/visualize.py
index <HASH>..<HASH> 100644
--- a/sos/jupyter/visualize.py
+++ b/sos/jupyter/visualize.py
@@ -155,9 +155,9 @@ class Visualizer:
if df.shape[0] > args.limit:
self.kernel.warn("Only the first {} of the {} records are plotted. Use optio... | Prevent word wrap at Hyphen for scatterplot | py |
diff --git a/pytodoist/api.py b/pytodoist/api.py
index <HASH>..<HASH> 100644
--- a/pytodoist/api.py
+++ b/pytodoist/api.py
@@ -1364,10 +1364,6 @@ class TodoistAPI(object):
}
return self._get('updateNotificationSetting', params)
- def _getf(self, end_point, params=None, files=None):
- url =... | Removed unused method and improved a docstring. | py |
diff --git a/holoviews/plotting/bokeh/stats.py b/holoviews/plotting/bokeh/stats.py
index <HASH>..<HASH> 100644
--- a/holoviews/plotting/bokeh/stats.py
+++ b/holoviews/plotting/bokeh/stats.py
@@ -309,7 +309,7 @@ class BoxWhiskerPlot(CompositeElementPlot, ColorbarPlot, LegendPlot):
factors = list(unique_iter... | Added missing use of packaging.version (#<I>) | py |
diff --git a/tests/race_deleting_keys_test.py b/tests/race_deleting_keys_test.py
index <HASH>..<HASH> 100644
--- a/tests/race_deleting_keys_test.py
+++ b/tests/race_deleting_keys_test.py
@@ -1,3 +1,4 @@
+import nose.plugins.attrib
import time as _time
import subprocess
import sys
@@ -8,6 +9,7 @@ import os.path
from... | Mark test slow via nose attrib plugin | py |
diff --git a/civicpy/exports.py b/civicpy/exports.py
index <HASH>..<HASH> 100644
--- a/civicpy/exports.py
+++ b/civicpy/exports.py
@@ -152,6 +152,8 @@ class VCFWriter(DictWriter):
# write them
for variant in sorted_records:
+ if variant.coordinates.reference_build != 'GRCh37':
+ ... | Only process variants that have representative coordinated on build <I> | py |
diff --git a/sdk/tables/azure-data-tables/tests/test_table_client_cosmos.py b/sdk/tables/azure-data-tables/tests/test_table_client_cosmos.py
index <HASH>..<HASH> 100644
--- a/sdk/tables/azure-data-tables/tests/test_table_client_cosmos.py
+++ b/sdk/tables/azure-data-tables/tests/test_table_client_cosmos.py
@@ -93,6 +93,... | skipping test if running against python <I> (#<I>) Removed this accidentally on the test refactor | py |
diff --git a/salt/modules/git.py b/salt/modules/git.py
index <HASH>..<HASH> 100644
--- a/salt/modules/git.py
+++ b/salt/modules/git.py
@@ -262,7 +262,9 @@ def _git_run(command, cwd=None, runas=None, identity=None,
gitcommand = ' '.join(command) \
if isinstance(command, list) \
... | Redact sensitive data in error message as well | py |
diff --git a/salt/master.py b/salt/master.py
index <HASH>..<HASH> 100644
--- a/salt/master.py
+++ b/salt/master.py
@@ -809,7 +809,7 @@ class AESFuncs(object):
mine = os.path.join(
self.opts['cachedir'],
'minions',
- load['id'],
+ ... | DOH! Fix #<I> I will scurry off to write more tests..... | py |
diff --git a/meleeuploader/youtube.py b/meleeuploader/youtube.py
index <HASH>..<HASH> 100755
--- a/meleeuploader/youtube.py
+++ b/meleeuploader/youtube.py
@@ -112,14 +112,13 @@ def upload_service(insert_request):
else:
print(e)
pass
- if response:
- if "id" i... | refactor: getting youtube video id | py |
diff --git a/tests/test_scheduler.py b/tests/test_scheduler.py
index <HASH>..<HASH> 100644
--- a/tests/test_scheduler.py
+++ b/tests/test_scheduler.py
@@ -56,34 +56,26 @@ def test_scheduler_simple(worker, p_flags):
@pytest.mark.parametrize(["p_flags"], PROCESS_CONFIGS)
def test_scheduler_dailytime(worker, p_flags):
... | restored dailytime tests [fixes #<I>] I just put somewhat longer time.sleeps and it worked. I checked the workers outputs, and it looked good too | py |
diff --git a/cslbot/commands/metar.py b/cslbot/commands/metar.py
index <HASH>..<HASH> 100644
--- a/cslbot/commands/metar.py
+++ b/cslbot/commands/metar.py
@@ -37,7 +37,7 @@ def cmd(send, msg, args):
return
if isinstance(cmdargs.stations, list):
cmdargs.stations = ','.join(cmdargs.stations)
- r... | seems metar broke their ssl | py |
diff --git a/ipywidgets/widgets/widget.py b/ipywidgets/widgets/widget.py
index <HASH>..<HASH> 100644
--- a/ipywidgets/widgets/widget.py
+++ b/ipywidgets/widgets/widget.py
@@ -301,6 +301,12 @@ class Widget(LoggingHasTraits):
# widget_types is a registry of widgets by module, version, and name:
widget_types = W... | Convenience function when you have lots of widgets open that draw resources and want to close them all | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.