diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/pkg_resources/tests/test_pkg_resources.py b/pkg_resources/tests/test_pkg_resources.py
index <HASH>..<HASH> 100644
--- a/pkg_resources/tests/test_pkg_resources.py
+++ b/pkg_resources/tests/test_pkg_resources.py
@@ -242,7 +242,7 @@ def test_distribution_version_missing(tmpdir, suffix, expected_filename,
... | tests: fix `test_distribution_version_missing` to work with pytest>=<I> | py |
diff --git a/dipper/sources/Source.py b/dipper/sources/Source.py
index <HASH>..<HASH> 100644
--- a/dipper/sources/Source.py
+++ b/dipper/sources/Source.py
@@ -116,8 +116,9 @@ class Source:
# pull in global ontology mapping datastructures
self.globaltt = self.graph.globaltt
self.globaltcid = s... | toying w/inverse curie map; not sure it is needed | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -40,7 +40,7 @@ classifiers = [
]
setup(name='trparse',
- version='0.2',
+ version='0.2.1',
description='Traceroute parser',
author='Luis Benitez',
url='https://github.com/lbenitez000/trparse'... | changed version to prevent conflict with pypi | py |
diff --git a/rope/base/pyobjectsdef.py b/rope/base/pyobjectsdef.py
index <HASH>..<HASH> 100644
--- a/rope/base/pyobjectsdef.py
+++ b/rope/base/pyobjectsdef.py
@@ -231,8 +231,7 @@ class PyModule(pyobjects.PyModule):
"""return a `LogicalLinesFinder`"""
if self._logical_lines is None:
self._... | pyobjects: changing PyModule to use CustomLogicalLineFinder | py |
diff --git a/Malmo/samples/Python_examples/tabular_q_learning.py b/Malmo/samples/Python_examples/tabular_q_learning.py
index <HASH>..<HASH> 100755
--- a/Malmo/samples/Python_examples/tabular_q_learning.py
+++ b/Malmo/samples/Python_examples/tabular_q_learning.py
@@ -356,11 +356,10 @@ for imap in xrange(num_maps):
... | Minor: tweaked holes in tabular_q_learning.py to avoid maps without a route to the goal. | py |
diff --git a/pipenv/environment.py b/pipenv/environment.py
index <HASH>..<HASH> 100644
--- a/pipenv/environment.py
+++ b/pipenv/environment.py
@@ -540,7 +540,8 @@ class Environment:
:rtype: iterator
"""
- libdirs = os.environ.get('PIP_TARGET', self.base_paths["libdirs"].split(os.pathsep))
+ ... | fix wrong type for "libdirs" | py |
diff --git a/shapefile.py b/shapefile.py
index <HASH>..<HASH> 100644
--- a/shapefile.py
+++ b/shapefile.py
@@ -1032,7 +1032,7 @@ class Writer:
# Compensate for deletion flag
if self.fields[0][0].startswith("Deletion"): fieldCount -= 1
if recordList:
- [record.append(recordList[i... | After #<I> no need to check if need to add record | py |
diff --git a/tinycontent/admin.py b/tinycontent/admin.py
index <HASH>..<HASH> 100644
--- a/tinycontent/admin.py
+++ b/tinycontent/admin.py
@@ -10,7 +10,7 @@ admin.site.register(TinyContent, TinyContentAdmin)
class TinyContentFileUploadAdmin(admin.ModelAdmin):
- list_display = ('name', )
+ list_display = ('na... | Make it easier to figure out a given file's slug | py |
diff --git a/fandjango/middleware.py b/fandjango/middleware.py
index <HASH>..<HASH> 100644
--- a/fandjango/middleware.py
+++ b/fandjango/middleware.py
@@ -58,7 +58,7 @@ class FacebookMiddleware():
if 'user_id' in facebook_data:
# Redirect to Facebook Authorization if the ... | Fix a bug that caused endless redirections if the user's access token would never expire | py |
diff --git a/clients/python/generated/setup.py b/clients/python/generated/setup.py
index <HASH>..<HASH> 100644
--- a/clients/python/generated/setup.py
+++ b/clients/python/generated/setup.py
@@ -12,7 +12,7 @@
from setuptools import setup, find_packages # noqa: H301
NAME = "swaggeraem"
-VERSION = "1.0.0"
+VERSION =... | [python] Bump setup.py version up to <I> . | py |
diff --git a/mammoth/html_generation.py b/mammoth/html_generation.py
index <HASH>..<HASH> 100644
--- a/mammoth/html_generation.py
+++ b/mammoth/html_generation.py
@@ -1,7 +1,6 @@
from __future__ import unicode_literals
import cgi
-import sys
class HtmlGenerator(object):
@@ -72,8 +71,8 @@ def _generate_attribut... | Remove Python version switching and use consistent attribute order | py |
diff --git a/phileo/auth_backends.py b/phileo/auth_backends.py
index <HASH>..<HASH> 100644
--- a/phileo/auth_backends.py
+++ b/phileo/auth_backends.py
@@ -7,9 +7,12 @@ class CanLikeBackend(ModelBackend):
supports_object_permissions = True
supports_anonymous_user = True
+ def is_allowed(self, obj):
+ ... | Fix a couple bugs in auth backend | py |
diff --git a/Lib/glyphsLib/filters/eraseOpenCorners.py b/Lib/glyphsLib/filters/eraseOpenCorners.py
index <HASH>..<HASH> 100644
--- a/Lib/glyphsLib/filters/eraseOpenCorners.py
+++ b/Lib/glyphsLib/filters/eraseOpenCorners.py
@@ -25,10 +25,8 @@ class EraseOpenCornersPen(BasePen):
self.outpen = outpen
def _... | Reset pen after use, only draw once | py |
diff --git a/docs/en/conf.py b/docs/en/conf.py
index <HASH>..<HASH> 100644
--- a/docs/en/conf.py
+++ b/docs/en/conf.py
@@ -38,3 +38,5 @@ version = '1.1'
# Language in use for this directory.
language = 'en'
+
+show_root_link = True | Show root link in docs. | py |
diff --git a/tests/fields/test_base.py b/tests/fields/test_base.py
index <HASH>..<HASH> 100644
--- a/tests/fields/test_base.py
+++ b/tests/fields/test_base.py
@@ -55,6 +55,9 @@ class TestBaseField(TestCase):
self.assertRaises(IndexError, lambda: self.repeated_msg.a[3])
+ def test_get_slice(self):
+ ... | Add list_wrapper.py tests; coverage <I>% -> <I>% | py |
diff --git a/arguments/__init__.py b/arguments/__init__.py
index <HASH>..<HASH> 100644
--- a/arguments/__init__.py
+++ b/arguments/__init__.py
@@ -504,8 +504,8 @@ class Arguments(object):
arguments = dict((x.replace("<", "pa_").replace(">", "").replace("--", "op_").replace("-", "_"), y) for x, y in argum... | cryptoboxcli Tuesday <I> March <I> (week:<I> day:<I>), <I>:<I>:<I> | py |
diff --git a/distributions.py b/distributions.py
index <HASH>..<HASH> 100644
--- a/distributions.py
+++ b/distributions.py
@@ -991,6 +991,9 @@ class CategoricalAndConcentration(Categorical):
self.alphav_0 = np.repeat(self.concentration.concentration/self.K,self.K)
super(CategoricalAndConcentration,sel... | added Categorical.resample_just_weights | py |
diff --git a/gitlab/objects.py b/gitlab/objects.py
index <HASH>..<HASH> 100644
--- a/gitlab/objects.py
+++ b/gitlab/objects.py
@@ -1417,7 +1417,8 @@ class ProjectHook(GitlabObject):
requiredCreateAttrs = ['url']
optionalCreateAttrs = ['push_events', 'issues_events', 'note_events',
... | Added pipeline_events to ProejctHook attrs Ran tests, all passed. | py |
diff --git a/testing/test_param.py b/testing/test_param.py
index <HASH>..<HASH> 100644
--- a/testing/test_param.py
+++ b/testing/test_param.py
@@ -3,6 +3,10 @@ import unittest
import GPflow
import tensorflow as tf
import numpy as np
+try:
+ import cPickle as pickle
+except ImportError:
+ import pickle
cla... | Fixed test. Also works with python3 now. | py |
diff --git a/src/python/test/test_dxclient.py b/src/python/test/test_dxclient.py
index <HASH>..<HASH> 100755
--- a/src/python/test/test_dxclient.py
+++ b/src/python/test/test_dxclient.py
@@ -5534,7 +5534,7 @@ class TestDXCp(DXTestCase):
# not. We want to see an error message that reflects this; it
# s... | Fixing test which cp's a nonexistent folder | py |
diff --git a/prospector/tools/profile_validator/__init__.py b/prospector/tools/profile_validator/__init__.py
index <HASH>..<HASH> 100644
--- a/prospector/tools/profile_validator/__init__.py
+++ b/prospector/tools/profile_validator/__init__.py
@@ -24,7 +24,7 @@ class ProfileValidationTool(ToolBase):
)
ALL_SETT... | Make member-warnings a valid setting | py |
diff --git a/jpype/imports.py b/jpype/imports.py
index <HASH>..<HASH> 100644
--- a/jpype/imports.py
+++ b/jpype/imports.py
@@ -96,7 +96,7 @@ def _getStaticMethods(cls):
for u in cls.class_.getMethods():
if not _modifier.isStatic(u.getModifiers()):
continue
- name = _keywordWrap(u.getNa... | Fixing "attribute name must be string" | py |
diff --git a/h2o-py/h2o/backend/connection.py b/h2o-py/h2o/backend/connection.py
index <HASH>..<HASH> 100644
--- a/h2o-py/h2o/backend/connection.py
+++ b/h2o-py/h2o/backend/connection.py
@@ -110,8 +110,6 @@ class H2OConnection(backwards_compatible()):
:raises H2OServerError: if the server is in an unhealthy st... | Do not raise exception if none of ip, url, server are given | py |
diff --git a/isort/settings.py b/isort/settings.py
index <HASH>..<HASH> 100644
--- a/isort/settings.py
+++ b/isort/settings.py
@@ -34,8 +34,6 @@ from collections import namedtuple
from distutils.util import strtobool
import appdirs
-if appdirs.system == 'darwin':
- appdirs.system = 'linux2'
from .pie_slice im... | Update settings.py Attempt to fix current test errors | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@ from distutils.core import setup
setup(
name = 'date-extractor',
packages = ['date_extractor'],
- version = '1.8',
+ version = '1.9',
description = 'Extract dates from text',
author = 'Daniel J. Duf... | Trying to register with pypi again | py |
diff --git a/atws/wrapper.py b/atws/wrapper.py
index <HASH>..<HASH> 100644
--- a/atws/wrapper.py
+++ b/atws/wrapper.py
@@ -180,7 +180,7 @@ class Cursor(object):
class QueryCursor(Cursor):
def fetch_all(self):
- return [entity for entity in self._generator]
+ return list(self._generator)
... | more pythonic generator to list | py |
diff --git a/flask_appbuilder/baseapp.py b/flask_appbuilder/baseapp.py
index <HASH>..<HASH> 100644
--- a/flask_appbuilder/baseapp.py
+++ b/flask_appbuilder/baseapp.py
@@ -1,14 +1,14 @@
import logging
-from .views import IndexView
-from filters import TemplateFilters
from flask import Blueprint, url_for
from flask.... | python 3 support (in progress) | py |
diff --git a/core.py b/core.py
index <HASH>..<HASH> 100644
--- a/core.py
+++ b/core.py
@@ -117,13 +117,20 @@ class FixedSizeInputAdapter(object):
while remaining:
space = self.buffer_size - self.len
copylen = remaining < space and remaining or space
- self.buffer[self.len... | avoid unnecessary copy operations in input adapter | py |
diff --git a/tools/closure.py b/tools/closure.py
index <HASH>..<HASH> 100644
--- a/tools/closure.py
+++ b/tools/closure.py
@@ -8,13 +8,14 @@ if not os.path.exists(path):
def minimize(code):
ntf = tempfile.NamedTemporaryFile()
- ntf.write(code)
- ntf.flush()
+ ntf.close()
+ open(ntf.name, "w").write(... | closure.py: Use temporary file names but manual deletion. Ok Windows+python <I> | py |
diff --git a/training/deepspeech_training/util/audio.py b/training/deepspeech_training/util/audio.py
index <HASH>..<HASH> 100644
--- a/training/deepspeech_training/util/audio.py
+++ b/training/deepspeech_training/util/audio.py
@@ -174,6 +174,10 @@ def convert_audio(src_audio_path, dst_audio_path, file_type=None, audio_... | Fix copying remote AudioFile target to local | py |
diff --git a/d1_client_cli/src/d1_client_cli/session.py b/d1_client_cli/src/d1_client_cli/session.py
index <HASH>..<HASH> 100755
--- a/d1_client_cli/src/d1_client_cli/session.py
+++ b/d1_client_cli/src/d1_client_cli/session.py
@@ -182,9 +182,9 @@ class session(object):
def validate_value_type(self, value_string, typ... | test_<I> - Allow '0'/'1' (strings) as well as 0/1 (numbers). | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -45,6 +45,7 @@ release = "%s" % (about["__version__"])
exclude_patterns = ["_build"]
pygments_style = "sphinx"
+pygments_dark_style = "monokai"
html_theme_path = []
html_theme = "furo" | docs: Theme for dark mode | py |
diff --git a/tests.py b/tests.py
index <HASH>..<HASH> 100644
--- a/tests.py
+++ b/tests.py
@@ -1,3 +1,4 @@
+import re
import unittest
from django.template import Template, Context
@@ -123,9 +124,13 @@ class TestsBase(object):
self.assertIn('foo', chart)
def test_id(self):
- chart = self.r... | Adds test for id generation | py |
diff --git a/phypno/trans/filter.py b/phypno/trans/filter.py
index <HASH>..<HASH> 100644
--- a/phypno/trans/filter.py
+++ b/phypno/trans/filter.py
@@ -39,7 +39,7 @@ class Filter:
specify s_freq, then the ratio will be computed automatically.
"""
- def __init__(self, low_cut=None, high_cut=None, order=8, ... | filter of order 4 as it's more stable | py |
diff --git a/lenstronomy/ImSim/Numerics/convolution.py b/lenstronomy/ImSim/Numerics/convolution.py
index <HASH>..<HASH> 100644
--- a/lenstronomy/ImSim/Numerics/convolution.py
+++ b/lenstronomy/ImSim/Numerics/convolution.py
@@ -26,7 +26,7 @@ class PixelKernelConvolution(object):
"""
class to compute convolutio... | minor change in enabling fft_static mode | py |
diff --git a/zhaquirks/tuya/ts0042.py b/zhaquirks/tuya/ts0042.py
index <HASH>..<HASH> 100644
--- a/zhaquirks/tuya/ts0042.py
+++ b/zhaquirks/tuya/ts0042.py
@@ -93,7 +93,10 @@ class BenexmartRemote0042(CustomDevice):
signature = {
# SizePrefixedSimpleDescriptor(endpoint=1, profile=260, device_type=0, device... | Add tuya <I> remote variant (#<I>) | py |
diff --git a/python/dllib/src/bigdl/dllib/nn/layer.py b/python/dllib/src/bigdl/dllib/nn/layer.py
index <HASH>..<HASH> 100644
--- a/python/dllib/src/bigdl/dllib/nn/layer.py
+++ b/python/dllib/src/bigdl/dllib/nn/layer.py
@@ -964,6 +964,20 @@ class ExpandSize(Layer):
def __init__(self, sizes, bigdl_type="float"):
... | [New feature] add transformer layer (#<I>) * add transformer * refactor class name * use same embedding for translation * fix pr comments | py |
diff --git a/ford/__init__.py b/ford/__init__.py
index <HASH>..<HASH> 100644
--- a/ford/__init__.py
+++ b/ford/__init__.py
@@ -48,7 +48,7 @@ __appname__ = "FORD"
__author__ = "Chris MacMackin"
__credits__ = ["Balint Aradi", "Iain Barrass", "Izaak Beekman",
"Jérémie Burgalat", "David Dickinson",
- ... | "Ibarrass-qmul" is "Iain Barrass" | py |
diff --git a/citrination_client/tests/test_client.py b/citrination_client/tests/test_client.py
index <HASH>..<HASH> 100644
--- a/citrination_client/tests/test_client.py
+++ b/citrination_client/tests/test_client.py
@@ -22,7 +22,7 @@ def test_upload_pif():
assert response["message"] == "Upload is complete."
-@p... | Using skipif for older python versions | py |
diff --git a/spyder/plugins/__init__.py b/spyder/plugins/__init__.py
index <HASH>..<HASH> 100644
--- a/spyder/plugins/__init__.py
+++ b/spyder/plugins/__init__.py
@@ -59,7 +59,8 @@ class TabFilter(QObject):
def _get_plugin(self, index):
"""Get plugin reference based on tab index."""
for plugin ... | Main Window: Fix a bug when trying to reorganize dockwidgets in the same tab | py |
diff --git a/package/cloudshell/tests/test_common/test_utilities/test_command_result.py b/package/cloudshell/tests/test_common/test_utilities/test_command_result.py
index <HASH>..<HASH> 100644
--- a/package/cloudshell/tests/test_common/test_utilities/test_command_result.py
+++ b/package/cloudshell/tests/test_common/tes... | rewriting the connect_orchestrator fixing the connect_orchestrator to support the selection of vnics when trying to connect more then one route in reservation | py |
diff --git a/application/briefkasten/commands.py b/application/briefkasten/commands.py
index <HASH>..<HASH> 100644
--- a/application/briefkasten/commands.py
+++ b/application/briefkasten/commands.py
@@ -82,6 +82,7 @@ def debug(root, drop_id=None): # pragma: no cover
help='''process synchronously, allowing to s... | re-instate accidentally removed lin | py |
diff --git a/allennlp/modules/token_embedders/embedding.py b/allennlp/modules/token_embedders/embedding.py
index <HASH>..<HASH> 100644
--- a/allennlp/modules/token_embedders/embedding.py
+++ b/allennlp/modules/token_embedders/embedding.py
@@ -132,7 +132,6 @@ class Embedding(TokenEmbedder):
trainable = params.p... | Fixed bug where embedding was always trainable (#<I>) | py |
diff --git a/reppy/cache/__init__.py b/reppy/cache/__init__.py
index <HASH>..<HASH> 100644
--- a/reppy/cache/__init__.py
+++ b/reppy/cache/__init__.py
@@ -8,6 +8,7 @@ from cachetools import LRUCache
from .policy import DefaultObjectPolicy, ReraiseExceptionPolicy
from ..robots import Robots, AllowNone, Agent
+from .... | log reppy errors would have saved me lots of hassle | py |
diff --git a/djangocms_page_meta/admin.py b/djangocms_page_meta/admin.py
index <HASH>..<HASH> 100644
--- a/djangocms_page_meta/admin.py
+++ b/djangocms_page_meta/admin.py
@@ -27,14 +27,29 @@ class PageMetaAdmin(PageExtensionAdmin):
'all': ('%sdjangocms_page_meta/css/%s' % (
settings.STATIC... | Modified admin.py to hide models in admin. | py |
diff --git a/dataproperty/_extractor.py b/dataproperty/_extractor.py
index <HASH>..<HASH> 100644
--- a/dataproperty/_extractor.py
+++ b/dataproperty/_extractor.py
@@ -86,7 +86,7 @@ class DataPropertyExtractor:
"""
def __init__(self) -> None:
- self.max_workers = multiprocessing.cpu_count()
+ s... | Change max_workers initial value to one to avoid problems caused by multiprocess | py |
diff --git a/autograd/core.py b/autograd/core.py
index <HASH>..<HASH> 100644
--- a/autograd/core.py
+++ b/autograd/core.py
@@ -65,7 +65,7 @@ def attach_name_and_doc(fun, argnum, opname):
op=opname.lower(), fun=getattr(fun, '__name__', '[unknown name]'),
argnum=argnum)
docstr = "{op} of function {... | Fix typo in attach name and doc | py |
diff --git a/pandas/util/testing.py b/pandas/util/testing.py
index <HASH>..<HASH> 100644
--- a/pandas/util/testing.py
+++ b/pandas/util/testing.py
@@ -136,8 +136,8 @@ def assert_almost_equal(a, b, check_less_precise = False):
# deal with differing dtypes
if check_less_precise:
- dtype_a =... | BUG: check_less_precise in assert_almost_equal with val=float throws exception | py |
diff --git a/openquake/job/__init__.py b/openquake/job/__init__.py
index <HASH>..<HASH> 100644
--- a/openquake/job/__init__.py
+++ b/openquake/job/__init__.py
@@ -80,7 +80,7 @@ def run_job(job_file, output_type):
a_job.set_status('running')
try:
- results = a_job.launch()
+ a_j... | Only print file names when they are written to disk. Former-commit-id: 5b<I>cb1e2f<I>da7ddac<I>a<I>c7b0b0a<I> | py |
diff --git a/bcbio/chipseq/peaks.py b/bcbio/chipseq/peaks.py
index <HASH>..<HASH> 100644
--- a/bcbio/chipseq/peaks.py
+++ b/bcbio/chipseq/peaks.py
@@ -105,5 +105,5 @@ def _get_multiplier(samples):
to_skip += 1.0
mult = (to_process - to_skip) / len(samples)
if mult < 0:
- mutl = 1 / len(sam... | Fix typo causing a negative multiplier to be returned. | py |
diff --git a/symbols/binary.py b/symbols/binary.py
index <HASH>..<HASH> 100644
--- a/symbols/binary.py
+++ b/symbols/binary.py
@@ -33,7 +33,7 @@ class SymbolBINARY(Symbol):
Symbol.__init__(self, left, right)
self.lineno = lineno
self.operator = operator
- self.type_ = type_ if type_ is... | - BINARY now checks for left and right classes in setter. - type_ property now relays on SymbolTYPE property - Common Type is used by default in the constructor. | py |
diff --git a/parsl/dataflow/flow_control.py b/parsl/dataflow/flow_control.py
index <HASH>..<HASH> 100644
--- a/parsl/dataflow/flow_control.py
+++ b/parsl/dataflow/flow_control.py
@@ -103,7 +103,7 @@ class FlowControl(object):
# Sleep till time to wake up
while True:
prev = self._wake_up_t... | Hacky fix to a bad bug fix for sleeping negative seconds | py |
diff --git a/repairbox/cli.py b/repairbox/cli.py
index <HASH>..<HASH> 100644
--- a/repairbox/cli.py
+++ b/repairbox/cli.py
@@ -10,8 +10,15 @@ def list_sources() -> None:
"""
Produces a list of all the sources known to RepairBox.
"""
+ hdrs = ['Source', 'URL', 'Version']
+ tbl = []
for src in ... | added version and name information to list-sources command | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -55,6 +55,7 @@ if USECYTHON:
setup(cmdclass={'build_ext': build_ext},
ext_modules=EXTENSIONS,
test_suite='nose.collector',
+ include_dirs=[numpy.get_include()],
**config)
else:
... | fixed setup.py added “include_dirs=[numpy.get_include()]” for proper installation | py |
diff --git a/geomdl/__init__.py b/geomdl/__init__.py
index <HASH>..<HASH> 100644
--- a/geomdl/__init__.py
+++ b/geomdl/__init__.py
@@ -16,3 +16,15 @@ The NURBS-Python package follows an object-oriented design as much as possible.
"""
__version__ = "3.0.0"
+
+# Fixes "from geomdl import *" but this is not considere... | Fix importing * (star) from package | py |
diff --git a/salt/modules/status.py b/salt/modules/status.py
index <HASH>..<HASH> 100644
--- a/salt/modules/status.py
+++ b/salt/modules/status.py
@@ -60,9 +60,9 @@ def loadavg():
comps = open('/proc/loadavg', 'r').read().strip()
load_avg = comps.split()
return {
- '1-min': load_avg[1],
- ... | Oops, screwed up the array for load averages. Shifted back a position. | py |
diff --git a/kmip/pie/client.py b/kmip/pie/client.py
index <HASH>..<HASH> 100644
--- a/kmip/pie/client.py
+++ b/kmip/pie/client.py
@@ -506,7 +506,7 @@ class ProxyKmipClient(api.KmipClient):
message = result.result_message.value
raise exceptions.KmipOperationFailure(status, reason, message)
-... | fix activate uid none check | py |
diff --git a/opencensus/trace/ext/grpc/server_interceptor.py b/opencensus/trace/ext/grpc/server_interceptor.py
index <HASH>..<HASH> 100644
--- a/opencensus/trace/ext/grpc/server_interceptor.py
+++ b/opencensus/trace/ext/grpc/server_interceptor.py
@@ -11,7 +11,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either... | Don't log exceptions in grpc server interceptor (#<I>) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -14,7 +14,7 @@ with open('README.rst') as readme_file:
with open('HISTORY.rst') as history_file:
history = history_file.read().replace('.. :changelog:', '')
-requirements = ['matplotlib', 'pysam']
+requirements = ['mat... | Add earlier version of mock for setuptools compatibility | py |
diff --git a/tests/test_rpool.py b/tests/test_rpool.py
index <HASH>..<HASH> 100644
--- a/tests/test_rpool.py
+++ b/tests/test_rpool.py
@@ -272,7 +272,7 @@ class TestPoolDeadLock:
assert pool.apply(id_sleep, ((1, 0.),)) == 1
pool.terminate()
- @pytest.mark.parametrize("n_proc", [1, 2, 5, 17])
+ ... | FIX reduce n_proc as appveyor only has 1cpu | py |
diff --git a/bcbio/pipeline/run_info.py b/bcbio/pipeline/run_info.py
index <HASH>..<HASH> 100644
--- a/bcbio/pipeline/run_info.py
+++ b/bcbio/pipeline/run_info.py
@@ -189,6 +189,8 @@ def add_reference_resources(data, remote_retriever=None):
data["reference"]["viral"] = viral.get_files(data)
if not data["r... | Add reference data versions CSV from local installs Supplements functionality to retrieve from CWL and remote reference locations for back compatibility. | py |
diff --git a/flask_uwsgi_websocket/__init__.py b/flask_uwsgi_websocket/__init__.py
index <HASH>..<HASH> 100644
--- a/flask_uwsgi_websocket/__init__.py
+++ b/flask_uwsgi_websocket/__init__.py
@@ -13,7 +13,12 @@ from ._uwsgi import uwsgi
from .websocket import *
from .async import *
+class GeventNotInstalled(Exceptio... | Nicer errors when gevent is not installed. GeventWebSocket will now throw an exception if you try to use it without gevent installed. Previously there would just be an unhelpful ImportError. | py |
diff --git a/bigchaindb/common/schema/__init__.py b/bigchaindb/common/schema/__init__.py
index <HASH>..<HASH> 100644
--- a/bigchaindb/common/schema/__init__.py
+++ b/bigchaindb/common/schema/__init__.py
@@ -18,7 +18,7 @@ def validate_transaction_schema(tx_body):
try:
jsonschema.validate(tx_body, TX_SCHEMA... | Use explicit chaining to capture the cause | py |
diff --git a/qnet/algebra/circuit_algebra.py b/qnet/algebra/circuit_algebra.py
index <HASH>..<HASH> 100755
--- a/qnet/algebra/circuit_algebra.py
+++ b/qnet/algebra/circuit_algebra.py
@@ -2172,8 +2172,17 @@ def getABCD(slh, a0={}, doubled_up=True):
c = np_zeros(cdim, dtype=object)
def _as_complex(o):
+ ... | changed how ABCD matrices are extracted | py |
diff --git a/holoviews/core/dimension.py b/holoviews/core/dimension.py
index <HASH>..<HASH> 100644
--- a/holoviews/core/dimension.py
+++ b/holoviews/core/dimension.py
@@ -274,16 +274,23 @@ class LabelledData(param.Parameterized):
Traverses any nested LabelledData object (i.e LabelledData
objects conta... | Allowed traverse to accept an arbitrary match function | py |
diff --git a/pylint/test/test_self.py b/pylint/test/test_self.py
index <HASH>..<HASH> 100644
--- a/pylint/test/test_self.py
+++ b/pylint/test/test_self.py
@@ -269,6 +269,10 @@ class TestRunTC(object):
to_remove = "No config file found, using default configuration"
if to_remove in actual_output:
... | Fix test from failing when user has ~/.pylintrc (#<I>) | py |
diff --git a/src/python/pants/backend/python/dependency_inference/default_module_mapping.py b/src/python/pants/backend/python/dependency_inference/default_module_mapping.py
index <HASH>..<HASH> 100644
--- a/src/python/pants/backend/python/dependency_inference/default_module_mapping.py
+++ b/src/python/pants/backend/pyt... | Add a few popular python packages to default modules mapping (#<I>) OpenSearch-py is an OpenSearch client (OpenSearch is a fork of ElasticSearch that AWS started after Elastic changed their license) so as people who use AWS OpenSearch start migrating to this package it will become more and more popular. <URL> use wide... | py |
diff --git a/graphs/mixins/viz.py b/graphs/mixins/viz.py
index <HASH>..<HASH> 100644
--- a/graphs/mixins/viz.py
+++ b/graphs/mixins/viz.py
@@ -116,8 +116,8 @@ def _directed_edges(G, X, ax, is_3d, edge_style, cmap):
ax.quiver(x, y, z, dx, dy, dz, cmap=cmap)
else:
args = (x, y, dx, dy)
- ax.quiver... | Back off the tiny width for directed graph viz Seems like width should be a user-settable param here... | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -13,6 +13,8 @@
import sys, os
+import xworkflows
+
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative t... | packaging: Use current module version for docs Instead of parsing the __init__ file, just assume the package has been installed locally. | py |
diff --git a/src/python/pants/backend/python/subsystems/poetry.py b/src/python/pants/backend/python/subsystems/poetry.py
index <HASH>..<HASH> 100644
--- a/src/python/pants/backend/python/subsystems/poetry.py
+++ b/src/python/pants/backend/python/subsystems/poetry.py
@@ -24,7 +24,7 @@ class PoetrySubsystem(PythonToolReq... | Fix poetry locks missing hashes. (#<I>) This was due to this change on PyPI: <URL> | py |
diff --git a/src/jobTree/test/batchSystems/abstractBatchSystemTest.py b/src/jobTree/test/batchSystems/abstractBatchSystemTest.py
index <HASH>..<HASH> 100644
--- a/src/jobTree/test/batchSystems/abstractBatchSystemTest.py
+++ b/src/jobTree/test/batchSystems/abstractBatchSystemTest.py
@@ -196,11 +196,11 @@ class MesosBatc... | Avoid absolute paths to mesos-master and -slave in tests | py |
diff --git a/bokeh/tests/test_glyphs.py b/bokeh/tests/test_glyphs.py
index <HASH>..<HASH> 100644
--- a/bokeh/tests/test_glyphs.py
+++ b/bokeh/tests/test_glyphs.py
@@ -301,7 +301,7 @@ def test_Circle():
assert marker.radius == None
yield check_fill, marker
yield check_line, marker
- yield check_props, ... | update test for last accidental push to master | py |
diff --git a/athumb/management/commands/athumb_regen_field.py b/athumb/management/commands/athumb_regen_field.py
index <HASH>..<HASH> 100644
--- a/athumb/management/commands/athumb_regen_field.py
+++ b/athumb/management/commands/athumb_regen_field.py
@@ -107,7 +107,7 @@ class Command(BaseCommand):
# Thumbn... | fix a bug: will cause the field's upload_to function to be exercuted again | py |
diff --git a/openhtf/io/user_input.py b/openhtf/io/user_input.py
index <HASH>..<HASH> 100644
--- a/openhtf/io/user_input.py
+++ b/openhtf/io/user_input.py
@@ -157,7 +157,7 @@ class ConsolePrompt(threading.Thread):
print self._message
# Before reading, clear any lingering buffered terminal input.
- ... | Use TCIFLUSH to only flush recieved but not read According to <URL>. By switching to TCIFLUSH, we only drop data that has been sent to us by the terminal but not read by us, such as any stray keyboard input. This shouldn't drop any data going the other way. | py |
diff --git a/ford/pagetree.py b/ford/pagetree.py
index <HASH>..<HASH> 100644
--- a/ford/pagetree.py
+++ b/ford/pagetree.py
@@ -116,8 +116,8 @@ def get_page_tree(topdir,proj_copy_subdir,md,parent=None):
if os.path.isdir(os.path.join(topdir,name)):
# recurse into subdirectories
... | Use more pythonic equality/containment checks | py |
diff --git a/vcs/backends/hg.py b/vcs/backends/hg.py
index <HASH>..<HASH> 100644
--- a/vcs/backends/hg.py
+++ b/vcs/backends/hg.py
@@ -62,7 +62,9 @@ class MercurialRepository(BaseRepository):
def branches(self):
if not self.revisions:
return {}
- sortkey = lambda ctx: ctx[1]._ctx.rev()... | fixes #<I> branches property is not showing closed branchces anymore | py |
diff --git a/regions/io/ds9/write.py b/regions/io/ds9/write.py
index <HASH>..<HASH> 100644
--- a/regions/io/ds9/write.py
+++ b/regions/io/ds9/write.py
@@ -213,15 +213,6 @@ def _translate_ds9_meta(region, shape):
"""
meta = {**region.meta, **region.visual}
- # TODO: fix this in ds9 parser
- if 'include... | Fix ds9 writer for include metadata | py |
diff --git a/src/auditlog/models.py b/src/auditlog/models.py
index <HASH>..<HASH> 100644
--- a/src/auditlog/models.py
+++ b/src/auditlog/models.py
@@ -177,3 +177,10 @@ class AuditlogHistoryField(generic.GenericRelation):
kwargs['content_type_field'] = 'content_type'
super(AuditlogHistoryField, self)... | Add South compatibility for AuditlogHistoryField Untested, suggested solution per issue #7 | py |
diff --git a/googlemaps/places.py b/googlemaps/places.py
index <HASH>..<HASH> 100644
--- a/googlemaps/places.py
+++ b/googlemaps/places.py
@@ -55,7 +55,7 @@ def places(client, query, location=None, radius=None, language=None,
:param type: Restricts the results to places matching the specified type.
The ... | Fixed broken links in documentation Google has changed (or it was originally broken) links to their place types from <URL> | py |
diff --git a/src/pybel/manager/graph_cache.py b/src/pybel/manager/graph_cache.py
index <HASH>..<HASH> 100644
--- a/src/pybel/manager/graph_cache.py
+++ b/src/pybel/manager/graph_cache.py
@@ -62,10 +62,8 @@ def to_database(graph, connection=None):
"""
if isinstance(connection, GraphCacheManager):
conn... | Remove this whole python2 issue | py |
diff --git a/tests/test_read_write.py b/tests/test_read_write.py
index <HASH>..<HASH> 100644
--- a/tests/test_read_write.py
+++ b/tests/test_read_write.py
@@ -94,6 +94,7 @@ def test_export_obj_single():
exchange.export_obj(surf_save, fname)
assert os.path.isfile(fname)
+ assert os.path.getsize(fname) > 0... | Issue #<I> add file size checks for off, stl, obj export tests | py |
diff --git a/safe/impact_functions/test/test_registry.py b/safe/impact_functions/test/test_registry.py
index <HASH>..<HASH> 100644
--- a/safe/impact_functions/test/test_registry.py
+++ b/safe/impact_functions/test/test_registry.py
@@ -65,7 +65,7 @@ class TestRegistry(unittest.TestCase):
'Polygon flood on b... | Fix failing test for #<I> | py |
diff --git a/benchexec/localexecution.py b/benchexec/localexecution.py
index <HASH>..<HASH> 100644
--- a/benchexec/localexecution.py
+++ b/benchexec/localexecution.py
@@ -160,6 +160,7 @@ def execute_benchmark(benchmark, output_handler):
output_handler.output_after_run_set(runSet, cputime=usedCpuTime, wallt... | Return exit code from local executor, other executors do this as well. | py |
diff --git a/FlowCytometryTools/IO/fcsreader.py b/FlowCytometryTools/IO/fcsreader.py
index <HASH>..<HASH> 100755
--- a/FlowCytometryTools/IO/fcsreader.py
+++ b/FlowCytometryTools/IO/fcsreader.py
@@ -266,6 +266,14 @@ class FCS_Parser(object):
dtype = par_numeric_type_list[0]
data = numpy.fromfi... | fix: converting to native byte order | py |
diff --git a/src/azure_devtools/scenario_tests/preparers.py b/src/azure_devtools/scenario_tests/preparers.py
index <HASH>..<HASH> 100644
--- a/src/azure_devtools/scenario_tests/preparers.py
+++ b/src/azure_devtools/scenario_tests/preparers.py
@@ -22,7 +22,7 @@ class AbstractPreparer(object):
self.resource_rand... | Set disable_recording from kwarg | py |
diff --git a/examples/other/spherical_harmonics1.py b/examples/other/spherical_harmonics1.py
index <HASH>..<HASH> 100644
--- a/examples/other/spherical_harmonics1.py
+++ b/examples/other/spherical_harmonics1.py
@@ -50,7 +50,7 @@ agrid = np.array(agrid)
############################################################
# Pl... | Removed trailing spaces in examples/other/spherical_harmonics1.py | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -144,7 +144,7 @@ def get_share_path(*args):
settings.update(
name = PACKAGE_NAME,
- version = _load_version(),
+ version = "0.1.2",
description = 'Python lib/cli for JSON/YAML schema validation',
long_d... | Fixed bug where it was not possible to use the sdist after the move of source files and config files. When pip tried to install the dist it tried to look after the config folder but could not find it but python thought it was installed but could not be uninstalled unless the project folder was renamed and pip somehow l... | py |
diff --git a/plexapi/base.py b/plexapi/base.py
index <HASH>..<HASH> 100644
--- a/plexapi/base.py
+++ b/plexapi/base.py
@@ -95,7 +95,7 @@ class PlexObject(object):
or disable each parameter individually by setting it to False or 0.
"""
details_key = self.key
- if hasattr(self, '_INC... | Fix rare case where details_key is None | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -19,7 +19,7 @@ setup(
package_dir={'': 'lib'},
packages=find_packages('lib'),
zip_safe=False,
- install_requires=['ansible-lint>=3.0.0rc5', 'pyyaml', 'appdirs', 'Fabric'],
+ install_requires=['ansible-lint... | Remove Fabric from dependency list The actual dependency on Fabric was removed some time ago, but setup.py still suggested that it was a dependency. | py |
diff --git a/tests/tools.py b/tests/tools.py
index <HASH>..<HASH> 100644
--- a/tests/tools.py
+++ b/tests/tools.py
@@ -126,7 +126,9 @@ class MarkChecker(object):
rebuilt_node = parse_snippet(text, is_expr=util.is_expr(node), is_module=util.is_module(node))
# Now we need to check if the two nodes are equ... | test: split calls to to_source() into seperate lines This makes it easier to see in the traceback if it the original node or rebuilt_node caused a failure. | py |
diff --git a/asyncwebsockets/websocket.py b/asyncwebsockets/websocket.py
index <HASH>..<HASH> 100644
--- a/asyncwebsockets/websocket.py
+++ b/asyncwebsockets/websocket.py
@@ -102,7 +102,8 @@ class Websocket:
elif isinstance(msg, str):
msg = AcceptConnection(subprotocol=msg)
... | websocket: fix IndexError when no subprotocols It is possible to get an empty list of subprotocols from a client (e.g. from Chrome on Android). In this case, we get an indexError because event.subprotocols is a list with length 0. This adds an extra check for the case of the empty list. We use the value `None` if t... | py |
diff --git a/cumulusci/tasks/robotframework/robot_lint.py b/cumulusci/tasks/robotframework/robot_lint.py
index <HASH>..<HASH> 100644
--- a/cumulusci/tasks/robotframework/robot_lint.py
+++ b/cumulusci/tasks/robotframework/robot_lint.py
@@ -76,8 +76,10 @@ class RobotLint(BaseTask):
},
"path": {
... | Removed from cumulusci.yml the default path option for robot_lint Instead, the default is handled in code since a default based on the project name can't be done in the base cumulusci.yml file. | py |
diff --git a/pyxel/ui/ui_constants.py b/pyxel/ui/ui_constants.py
index <HASH>..<HASH> 100644
--- a/pyxel/ui/ui_constants.py
+++ b/pyxel/ui/ui_constants.py
@@ -1,11 +1,12 @@
+UI_BASE_COLOR = 8 # 1
+UI_INPUT_COLOR = 9
+UI_SHADOW_COLOR = 2 # 13
+UI_BACKGROUND_COLOR = 5 # 6
+
WIDGET_HOLD_FRAME = 20
WIDGET_REPEAT_FRAME... | Renamed ui constants | py |
diff --git a/tests/test_julia_mat_compatibility.py b/tests/test_julia_mat_compatibility.py
index <HASH>..<HASH> 100644
--- a/tests/test_julia_mat_compatibility.py
+++ b/tests/test_julia_mat_compatibility.py
@@ -127,7 +127,7 @@ def setup_module():
hdf5storage.loadmat(file_name=mat_files[3],
... | Fixed test_julia_mat_compatibility.py to reraise the error when setting up the MAT files so that a single test error is generated instead of many failed tests. | py |
diff --git a/src/transformers/integrations.py b/src/transformers/integrations.py
index <HASH>..<HASH> 100644
--- a/src/transformers/integrations.py
+++ b/src/transformers/integrations.py
@@ -124,8 +124,7 @@ def run_hp_search_ray(trainer, n_trials: int, direction: str, **kwargs) -> BestR
metrics = trainer.e... | Report Tune metrics in final evaluation (#<I>) | py |
diff --git a/oedialect/dialect.py b/oedialect/dialect.py
index <HASH>..<HASH> 100644
--- a/oedialect/dialect.py
+++ b/oedialect/dialect.py
@@ -244,6 +244,8 @@ class OEDialect(postgresql.psycopg2.PGDialect_psycopg2):
_supports_create_index_concurrently = False
_supports_drop_index_concurrently = False
+ s... | Add workaround for missing comment handling references #4 | py |
diff --git a/superset/views/core.py b/superset/views/core.py
index <HASH>..<HASH> 100755
--- a/superset/views/core.py
+++ b/superset/views/core.py
@@ -873,6 +873,7 @@ class Superset(BaseSupersetView): # pylint: disable=too-many-public-methods
"form_data": slc.form_data,
"slice": slc.data,
... | fix: 'Save Chart' modal's dashboard dropdown isn't sticky (#<I>) It appears that the logic that makes the dashboard selection sticky in the 'Save Chart' modal (explore) was broken at some time. While working on a dashboard, it's nice if this modal can remember the dashboard selection. | py |
diff --git a/libaio/__init__.py b/libaio/__init__.py
index <HASH>..<HASH> 100644
--- a/libaio/__init__.py
+++ b/libaio/__init__.py
@@ -231,10 +231,10 @@ class AIOContext(object):
block (AIOBlock)
The IO block to cancel.
- Returns cancelled block's event data.
+ Returns cancelled bl... | libaio.AIOContext: Document event data a bit better. Not documented by libaio, so found by reading kernel source. Also, (hopefully) fix io_cancel arguments. | py |
diff --git a/xtraceback/stdlibcompat.py b/xtraceback/stdlibcompat.py
index <HASH>..<HASH> 100644
--- a/xtraceback/stdlibcompat.py
+++ b/xtraceback/stdlibcompat.py
@@ -1,3 +1,4 @@
+import logging
import sys
import traceback
@@ -40,9 +41,31 @@ class StdlibCompat(object):
self._patch(sys, "excepthook", self.p... | start of work on a patch for logging.Formatter.formatException | py |
diff --git a/py3status/modules/scratchpad_counter.py b/py3status/modules/scratchpad_counter.py
index <HASH>..<HASH> 100644
--- a/py3status/modules/scratchpad_counter.py
+++ b/py3status/modules/scratchpad_counter.py
@@ -4,7 +4,7 @@ Display the amount of windows in your i3 scratchpad.
Configuration parameters:
ca... | scratchpad_counter: current state (fixed) | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.