diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/pyAudioAnalysis/audioSegmentation.py b/pyAudioAnalysis/audioSegmentation.py
index <HASH>..<HASH> 100644
--- a/pyAudioAnalysis/audioSegmentation.py
+++ b/pyAudioAnalysis/audioSegmentation.py
@@ -913,8 +913,9 @@ def speaker_diarization(filename, n_speakers, mid_window=2.0, mid_step=0.1,
mt_feats... | remove aT.normalize_features from diarization. bug fixes in diarization | py |
diff --git a/pyensembl/fasta.py b/pyensembl/fasta.py
index <HASH>..<HASH> 100644
--- a/pyensembl/fasta.py
+++ b/pyensembl/fasta.py
@@ -73,17 +73,19 @@ class FastaParser(object):
f = open(fasta_path, 'rb')
for line in f:
- line = line.strip()
+ line = line.rstrip()
+
... | don't allow hash as comments | py |
diff --git a/glymur/test/fixtures.py b/glymur/test/fixtures.py
index <HASH>..<HASH> 100644
--- a/glymur/test/fixtures.py
+++ b/glymur/test/fixtures.py
@@ -29,6 +29,12 @@ NO_READ_BACKEND_MSG += "order to run the tests in this suite."
try:
from matplotlib.pyplot import imread
+
+ # The whole point of trying to... | Handles testing gracefully when PIL not present. If PIL is not present, certain writing tests should not be run. These tests would show up as errors instead. Closes #<I>. | py |
diff --git a/readthedocs_ext/readthedocs.py b/readthedocs_ext/readthedocs.py
index <HASH>..<HASH> 100644
--- a/readthedocs_ext/readthedocs.py
+++ b/readthedocs_ext/readthedocs.py
@@ -73,12 +73,12 @@ def update_body(app, pagename, templatename, context, doctree):
inject_css = True
- # After v0.3.0 of the sph... | Stop injecting theme CSS at <I> | py |
diff --git a/oplus/version.py b/oplus/version.py
index <HASH>..<HASH> 100644
--- a/oplus/version.py
+++ b/oplus/version.py
@@ -1 +1 @@
-version='6.0.0-beta.0'
+version='6.0.0.beta.1' | [skip ci] updated version as <I>.beta<I> | py |
diff --git a/udata/core/spatial/tests/test_fields.py b/udata/core/spatial/tests/test_fields.py
index <HASH>..<HASH> 100644
--- a/udata/core/spatial/tests/test_fields.py
+++ b/udata/core/spatial/tests/test_fields.py
@@ -41,7 +41,7 @@ class SpatialCoverageFieldTest(TestCase):
fake = Fake()
form.popula... | Spatial coverage is none if not submitted | py |
diff --git a/niworkflows/viz/utils.py b/niworkflows/viz/utils.py
index <HASH>..<HASH> 100644
--- a/niworkflows/viz/utils.py
+++ b/niworkflows/viz/utils.py
@@ -267,7 +267,12 @@ def compose_view(bg_svgs, fg_svgs, ref=0, out_file='report.svg'):
roots = [f.getroot() for f in svgs]
nsvgs = len(svgs) // 2
# Qu... | have compose_view build height and width from the viewbox attribute instead of the width and height set from width and height attributes | py |
diff --git a/python/kappy/kappa_std.py b/python/kappy/kappa_std.py
index <HASH>..<HASH> 100644
--- a/python/kappy/kappa_std.py
+++ b/python/kappy/kappa_std.py
@@ -16,6 +16,7 @@ from kappy.kappa_common import KappaError, PlotLimit, FileMetadata, File, \
def find_agent_bin():
agent_names = ['KaSimAgent', 'KaSaAge... | Make kappy raise an error only if binaries are not built with kappy AND alternative binary directory is not provided by the user | py |
diff --git a/src/saml2/response.py b/src/saml2/response.py
index <HASH>..<HASH> 100644
--- a/src/saml2/response.py
+++ b/src/saml2/response.py
@@ -759,8 +759,9 @@ class AuthnResponse(StatusResponse):
logger.debug("signed")
try:
- self.sec.check_signature(assertion, class_name(assertio... | Minor fix Not checking the configuration before verifying the signature. | py |
diff --git a/pydsl/Memory/File/Python.py b/pydsl/Memory/File/Python.py
index <HASH>..<HASH> 100644
--- a/pydsl/Memory/File/Python.py
+++ b/pydsl/Memory/File/Python.py
@@ -79,5 +79,7 @@ def summary_python_file(modulepath):
result["input"] = moduleobject.inputformat
if hasattr(moduleobject, "outputformat"):... | added name to python summary dictionary | py |
diff --git a/salt/modules/virt.py b/salt/modules/virt.py
index <HASH>..<HASH> 100644
--- a/salt/modules/virt.py
+++ b/salt/modules/virt.py
@@ -16,7 +16,7 @@ import shutil
import subprocess
import string # pylint: disable=deprecated-module
import logging
-import six
+import salt.utils.six as six
# Import third pa... | Replaced import six in file /salt/modules/virt.py | py |
diff --git a/cherrypy/test/helper.py b/cherrypy/test/helper.py
index <HASH>..<HASH> 100644
--- a/cherrypy/test/helper.py
+++ b/cherrypy/test/helper.py
@@ -104,9 +104,9 @@ class CPWebCase(webtest.WebCase):
if k.lower() == 'set-cookie']
try:
- self.body = []
+ ... | Minimize problems from overlapping threads in tests. | py |
diff --git a/astrobase/checkplot.py b/astrobase/checkplot.py
index <HASH>..<HASH> 100644
--- a/astrobase/checkplot.py
+++ b/astrobase/checkplot.py
@@ -1629,7 +1629,11 @@ def _write_checkplot_picklefile(checkplotdict, outfile=None):
)
with gzip.open(outfile,'wb') as outfd:
- pickle.dump(checkplotd... | checkplot: output pickle now version 3 instead of HIGHEST_PROTOCOL this made the pickles created in Python <I>+ unreadable in Python <I>. should check for this problem elsewhere. Former-commit-id: <I>f<I>a<I>dd<I>f5b6d7d9e<I>ed4c3ae5f | py |
diff --git a/steampy/utils.py b/steampy/utils.py
index <HASH>..<HASH> 100644
--- a/steampy/utils.py
+++ b/steampy/utils.py
@@ -40,7 +40,7 @@ def merge_items_with_descriptions_from_inventory(inventory_response: dict, game:
def merge_items_with_descriptions_from_offers(offers_response: dict) -> dict:
- descriptio... | Utils - fix merging items with descrpitions with no offers provided | py |
diff --git a/centinel/__init__.py b/centinel/__init__.py
index <HASH>..<HASH> 100644
--- a/centinel/__init__.py
+++ b/centinel/__init__.py
@@ -1,4 +1,4 @@
__title__ = 'centinel'
__version__ = '0.1.3'
-from . import client, backend
+from . import client, backend, daemonize | imported daemonize so that we could import it | py |
diff --git a/discord/channel.py b/discord/channel.py
index <HASH>..<HASH> 100644
--- a/discord/channel.py
+++ b/discord/channel.py
@@ -575,7 +575,7 @@ class VocalGuildChannel(discord.abc.Connectable, discord.abc.GuildChannel, Hasha
"""List[:class:`Member`]: Returns all members that are currently inside this vo... | Guard for `None` in VocalGuildChannel.members | py |
diff --git a/gputools/convolve/convolve_spatial2.py b/gputools/convolve/convolve_spatial2.py
index <HASH>..<HASH> 100644
--- a/gputools/convolve/convolve_spatial2.py
+++ b/gputools/convolve/convolve_spatial2.py
@@ -191,10 +191,11 @@ def _convolve_spatial2(im, hs,
Nx % Gx == 0
Ny % Gy == 0
-
mode can be... | Add additional modes to the docstring | py |
diff --git a/HARK/ConsumptionSaving/ConsIndShockModel.py b/HARK/ConsumptionSaving/ConsIndShockModel.py
index <HASH>..<HASH> 100644
--- a/HARK/ConsumptionSaving/ConsIndShockModel.py
+++ b/HARK/ConsumptionSaving/ConsIndShockModel.py
@@ -434,8 +434,8 @@ class ConsPerfForesightSolver(object):
'''
# See ... | Change variable names to match other code changes Some variable names were updated in the solver while this PR was outstanding; now fixed. | py |
diff --git a/symfit/core/fit.py b/symfit/core/fit.py
index <HASH>..<HASH> 100644
--- a/symfit/core/fit.py
+++ b/symfit/core/fit.py
@@ -888,7 +888,8 @@ class HasCovarianceMatrix(object):
:param best_fit_params: ``dict`` of best fit parameters as given by .best_fit_params()
"""
- sigma = np.vst... | Fixed compatibility with newer numpys stricter (better) indexing rules | py |
diff --git a/pyfolio/plotting.py b/pyfolio/plotting.py
index <HASH>..<HASH> 100644
--- a/pyfolio/plotting.py
+++ b/pyfolio/plotting.py
@@ -500,6 +500,7 @@ def show_perf_stats(returns, benchmark_rets, live_start_date=None):
"""
if live_start_date is not None:
+ live_start_date = utils.get_utc_timestam... | ENH: All functions will now accept live_start_date as a string. | py |
diff --git a/salt/output/highstate.py b/salt/output/highstate.py
index <HASH>..<HASH> 100644
--- a/salt/output/highstate.py
+++ b/salt/output/highstate.py
@@ -140,7 +140,7 @@ def _format_host(host, data):
' {tcolor} Result: {ret[result]!s}{colors[ENDC]}',
' {tcolor} Comment: {co... | Don't display formatting if we don't have a value | py |
diff --git a/troposphere/ec2.py b/troposphere/ec2.py
index <HASH>..<HASH> 100644
--- a/troposphere/ec2.py
+++ b/troposphere/ec2.py
@@ -737,6 +737,7 @@ class Volume(AWSObject):
"Size": (positive_integer, False),
"SnapshotId": (str, False),
"Tags": ((Tags, list), False),
+ "Throughput": ... | ec2 volume throughput (#<I>) | py |
diff --git a/pyvista/plotting/widgets.py b/pyvista/plotting/widgets.py
index <HASH>..<HASH> 100644
--- a/pyvista/plotting/widgets.py
+++ b/pyvista/plotting/widgets.py
@@ -405,7 +405,7 @@ class WidgetHelper(object):
def add_mesh_slice_orthogonal(self, mesh, generate_triangles=False,
- ... | BUGFIX: resolve clim issues with add_mesh_slice_orthogonal | py |
diff --git a/tests/test_network.py b/tests/test_network.py
index <HASH>..<HASH> 100644
--- a/tests/test_network.py
+++ b/tests/test_network.py
@@ -23,7 +23,7 @@ def all_items_common(seq):
def throw_connection_error(address):
- return requests.get('https://jibber.ish', timeout=(0, 0))
+ return requests.get('h... | simplify timeout to make older requests happy | py |
diff --git a/django_prometheus/middleware.py b/django_prometheus/middleware.py
index <HASH>..<HASH> 100644
--- a/django_prometheus/middleware.py
+++ b/django_prometheus/middleware.py
@@ -167,9 +167,11 @@ class Metrics:
class PrometheusBeforeMiddleware(MiddlewareMixin):
"""Monitoring middleware that should run bef... | set metrics class as a class method so application can modify it. | py |
diff --git a/permissions/tests/test_registry.py b/permissions/tests/test_registry.py
index <HASH>..<HASH> 100644
--- a/permissions/tests/test_registry.py
+++ b/permissions/tests/test_registry.py
@@ -1,6 +1,7 @@
from django.contrib.auth.models import AnonymousUser, User
from django.core.exceptions import PermissionDen... | Add test to ensure perm func is bypassed when appropriate | py |
diff --git a/pybar/analysis/analysis_utils.py b/pybar/analysis/analysis_utils.py
index <HASH>..<HASH> 100644
--- a/pybar/analysis/analysis_utils.py
+++ b/pybar/analysis/analysis_utils.py
@@ -1381,7 +1381,7 @@ def data_aligned_at_events(table, start_event_number=None, stop_event_number=Non
stop_index = ... | REG: revert bug introduced by SiLab-Bonn/pyBAR @<I>fc1da<I>df<I>ba<I>c3ca<I>b<I>d<I>a<I> | py |
diff --git a/allegedb/allegedb/cache.py b/allegedb/allegedb/cache.py
index <HASH>..<HASH> 100644
--- a/allegedb/allegedb/cache.py
+++ b/allegedb/allegedb/cache.py
@@ -498,6 +498,7 @@ class Cache(object):
return kcturn[tick]
except HistoryError:
pass
+ # this may thr... | Brief explanatory comment I kept thinking that the cache forwarding algorithm had some kind of corruption error but it's just being a little lazy, which is fine. | py |
diff --git a/src/__init__.py b/src/__init__.py
index <HASH>..<HASH> 100644
--- a/src/__init__.py
+++ b/src/__init__.py
@@ -66,3 +66,19 @@ from .functions import ALL_COMMS
from .functions import ALL_NEIGH_COMMS
from .functions import RAND_COMM
from .functions import RAND_NEIGH_COMM
+
+from pkg_resources import get_di... | Added version info to __init__.py | py |
diff --git a/tornado/websocket.py b/tornado/websocket.py
index <HASH>..<HASH> 100644
--- a/tornado/websocket.py
+++ b/tornado/websocket.py
@@ -586,7 +586,7 @@ class WebSocketProtocol13(WebSocketProtocol):
self._run_callback(self.handler.on_message, decoded)
elif opcode == 0x2:
# Binar... | Fix binary websocket connections | py |
diff --git a/twilio/rest/resources/task_router/workflows.py b/twilio/rest/resources/task_router/workflows.py
index <HASH>..<HASH> 100644
--- a/twilio/rest/resources/task_router/workflows.py
+++ b/twilio/rest/resources/task_router/workflows.py
@@ -37,7 +37,7 @@ class Workflows(ListResource):
:param friendly_nam... | fixing docstring. workflow configs are JSON strings now | py |
diff --git a/fasteners/tests/test_process_lock.py b/fasteners/tests/test_process_lock.py
index <HASH>..<HASH> 100644
--- a/fasteners/tests/test_process_lock.py
+++ b/fasteners/tests/test_process_lock.py
@@ -250,6 +250,7 @@ class ProcessLockTest(test.TestCase):
child_pipe.send(None)
+ @test.testtools... | TST: skip multi-opening file handle test on win<I> | py |
diff --git a/pycrest/eve.py b/pycrest/eve.py
index <HASH>..<HASH> 100644
--- a/pycrest/eve.py
+++ b/pycrest/eve.py
@@ -51,7 +51,7 @@ class FileCache(APICache):
return os.path.join(self.path, str(hash(key)) + '.cache')
def put(self, key, value):
- with open(self._getpath(key), 'w') as f:
+ ... | Open cache files as binary. Fixes #6 | py |
diff --git a/pyzotero/tests.py b/pyzotero/tests.py
index <HASH>..<HASH> 100644
--- a/pyzotero/tests.py
+++ b/pyzotero/tests.py
@@ -82,7 +82,9 @@ def mock_response(req):
</content>
</entry>
</feed>"""
- resp = urllib2.addinfourl(StringIO(test_item), 'This is a mocked URI!', req.get_full_url())
+ ... | Breaking up some over-long lines | py |
diff --git a/isochrones/observation.py b/isochrones/observation.py
index <HASH>..<HASH> 100644
--- a/isochrones/observation.py
+++ b/isochrones/observation.py
@@ -366,7 +366,17 @@ class ObsNode(Node):
N[n.index] += 1
self._Nstars = N
return self._Nstars
+
+ def _recalc_... | added recalc Nstars method | py |
diff --git a/mmcv/version.py b/mmcv/version.py
index <HASH>..<HASH> 100644
--- a/mmcv/version.py
+++ b/mmcv/version.py
@@ -1,2 +1,2 @@
# Copyright (c) Open-MMLab. All rights reserved.
-__version__ = '0.5.2'
+__version__ = '0.5.3' | bump the version to <I> (#<I>) | py |
diff --git a/tests/test_gnupg.py b/tests/test_gnupg.py
index <HASH>..<HASH> 100644
--- a/tests/test_gnupg.py
+++ b/tests/test_gnupg.py
@@ -23,13 +23,14 @@ A test harness and unittests for gnupg.py.
from __future__ import absolute_import
from __future__ import print_function
+from argparse import ArgumentParser
+f... | Only import the things we need in test_gnupg.py. | py |
diff --git a/tests/test_fields.py b/tests/test_fields.py
index <HASH>..<HASH> 100644
--- a/tests/test_fields.py
+++ b/tests/test_fields.py
@@ -12,14 +12,33 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-from flask_io.fields import Password
+from enum impor... | Added unit tests for Enum field | py |
diff --git a/ford/reader.py b/ford/reader.py
index <HASH>..<HASH> 100644
--- a/ford/reader.py
+++ b/ford/reader.py
@@ -255,6 +255,10 @@ class FortranReader(object):
if line[0] == '&':
if continued:
line = line[1:]
+ if len(line.strip(... | Prevent IndexError on single ampersands | py |
diff --git a/ros_buildfarm/trigger_job.py b/ros_buildfarm/trigger_job.py
index <HASH>..<HASH> 100644
--- a/ros_buildfarm/trigger_job.py
+++ b/ros_buildfarm/trigger_job.py
@@ -7,7 +7,7 @@ from .common import get_binarydeb_job_name
from .common import get_debian_package_name
from .common import get_sourcedeb_job_name
... | change trigger jobs to use distro cache | py |
diff --git a/holoviews/core/data/util.py b/holoviews/core/data/util.py
index <HASH>..<HASH> 100644
--- a/holoviews/core/data/util.py
+++ b/holoviews/core/data/util.py
@@ -18,7 +18,7 @@ def finite_range(column, cmin, cmax):
column = column[np.isfinite(column)]
if len(column):
cmin = np.nan... | Fix bug-causing typo (#<I>) | py |
diff --git a/tests/integration-tests/pytest_integration_test.py b/tests/integration-tests/pytest_integration_test.py
index <HASH>..<HASH> 100644
--- a/tests/integration-tests/pytest_integration_test.py
+++ b/tests/integration-tests/pytest_integration_test.py
@@ -19,7 +19,7 @@ def construct_fixture():
params = ... | Fix build by restricting to pytest<4 | py |
diff --git a/saltapi/__init__.py b/saltapi/__init__.py
index <HASH>..<HASH> 100644
--- a/saltapi/__init__.py
+++ b/saltapi/__init__.py
@@ -7,6 +7,7 @@ import inspect
# Import Salt libs
import salt.client
import salt.runner
+import salt.wheel
import salt.utils
from salt.exceptions import SaltException
@@ -53,6 +5... | Add wheel function to the api class | py |
diff --git a/revisionloader.py b/revisionloader.py
index <HASH>..<HASH> 100644
--- a/revisionloader.py
+++ b/revisionloader.py
@@ -92,7 +92,11 @@ class RevisionLoader(object):
#w = self.repo.weave_store.get_weave_or_empty(ie.file_id, tx)
#if ie.revision in w:
# continue
- ... | improve explanation of faster check in revisionloader | py |
diff --git a/scout/blueprints/core/views.py b/scout/blueprints/core/views.py
index <HASH>..<HASH> 100644
--- a/scout/blueprints/core/views.py
+++ b/scout/blueprints/core/views.py
@@ -452,6 +452,8 @@ def variants(institute_id, case_id, variant_type):
nr_of_variants=per_page, ski... | don't store skip in query dict | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -117,7 +117,7 @@ class install_with_pth(install):
"""
suffix = os.path.relpath(self.install_lib, self.install_libbase)
- if suffix == self._pth_contents:
+ if suffix.strip() == self._pth_conte... | As discovered in bpo-<I>, relpath can strip spaces, so match that expectation. | py |
diff --git a/lib/pyBamTools/genotyping/naive.py b/lib/pyBamTools/genotyping/naive.py
index <HASH>..<HASH> 100644
--- a/lib/pyBamTools/genotyping/naive.py
+++ b/lib/pyBamTools/genotyping/naive.py
@@ -478,13 +478,13 @@ class ReadGroupGenotyper( object ):
if count:#should we filter by self._min_suppor... | Fix for reporting nucleotide counts as integers when using uint<I>, see e.g. <URL> | py |
diff --git a/safe/storage/test_vector.py b/safe/storage/test_vector.py
index <HASH>..<HASH> 100644
--- a/safe/storage/test_vector.py
+++ b/safe/storage/test_vector.py
@@ -14,6 +14,7 @@ import logging
import unittest
from safe.common.testing import UNITDATA
+from safe.common.utilities import temp_dir, unique_filenam... | Fix for running sqlite test under windows and mark it as slow | py |
diff --git a/salt/modules/tls.py b/salt/modules/tls.py
index <HASH>..<HASH> 100644
--- a/salt/modules/tls.py
+++ b/salt/modules/tls.py
@@ -677,6 +677,11 @@ def create_ca(ca_name,
except OpenSSL.crypto.Error as err:
log.warn('Error loading existing private key'
' %s, ge... | Save a copy of the unloadable key before overwriting | py |
diff --git a/greencard/greencard.py b/greencard/greencard.py
index <HASH>..<HASH> 100644
--- a/greencard/greencard.py
+++ b/greencard/greencard.py
@@ -1,7 +1,22 @@
-from argparse import ArgumentParser
+from functools import wraps
+from librarian.library import Library
-def main(clargs=None):
- parser = ArgumentP... | Added the greencard unittest decorator | py |
diff --git a/atomshields/checkers/targetblank.py b/atomshields/checkers/targetblank.py
index <HASH>..<HASH> 100644
--- a/atomshields/checkers/targetblank.py
+++ b/atomshields/checkers/targetblank.py
@@ -9,7 +9,7 @@ class TargetBlankChecker(GenericChecker):
DESCRIPTION = """Detecta vulnerabilidades 'Target Blank' en f... | Exclude paths in TargetBlank checker | py |
diff --git a/aiohttp/web_protocol.py b/aiohttp/web_protocol.py
index <HASH>..<HASH> 100644
--- a/aiohttp/web_protocol.py
+++ b/aiohttp/web_protocol.py
@@ -463,10 +463,6 @@ class RequestHandler(BaseProtocol):
# notify server about keep-alive
self._keepalive = bool(resp.keep_alive)
- ... | [<I>] Don't write to access log twice per request. (#<I>) | py |
diff --git a/tests/integration/__init__.py b/tests/integration/__init__.py
index <HASH>..<HASH> 100644
--- a/tests/integration/__init__.py
+++ b/tests/integration/__init__.py
@@ -1358,7 +1358,8 @@ class TestDaemon(object):
Clean out the tmp files
'''
def remove_readonly(func, path, excinfo):
... | Restore full user permissions when failing to delete | py |
diff --git a/tests/float/string_format.py b/tests/float/string_format.py
index <HASH>..<HASH> 100644
--- a/tests/float/string_format.py
+++ b/tests/float/string_format.py
@@ -32,6 +32,12 @@ test("{:06e}", float("nan"))
# The following fails right now
#test("{:10.1}", 0.0)
+print("%.0f" % (1.750000 % 0.08333333333))... | tests/float/string_format: Add testcase for incorrect rounding for %f. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -112,7 +112,6 @@ See "Homepage" on GitHub for detail.
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
- 'Programming Language... | Update supported Python versions in setup.py. * Added Python <I>, <I>. * Dropped Python <I>. Because we can't run the test on Python <I> on CentOS 6 any more. | py |
diff --git a/sixpack/models.py b/sixpack/models.py
index <HASH>..<HASH> 100644
--- a/sixpack/models.py
+++ b/sixpack/models.py
@@ -507,7 +507,8 @@ class Alternative(object):
return self.experiment.control.name == self.name
def is_winner(self):
- return self.experiment.winner == self.name
+ ... | Closes #<I> The tests around sixpack-web aren't quite as good.. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,7 +1,7 @@
from distutils.core import setup
setup(name = 'synergy_odm',
- version = '0.5',
+ version = '0.6',
description = 'Synergy Object-Document Mapper',
author = 'Bohdan Mushkevych',
a... | incrementing version number after pypi upload | py |
diff --git a/asana/version.py b/asana/version.py
index <HASH>..<HASH> 100644
--- a/asana/version.py
+++ b/asana/version.py
@@ -1 +1 @@
-VERSION = '0.5.0'
+VERSION = '0.5.1' | Releasing <I>. Includes fixes for the following issues: * #<I>: Update requests_oauthlib from <I> -> <I> * #<I>: Add LICENSE * #<I>: Add supported versions of python * #<I>: Fix broken tests in Python <I> due to class decorating with responses.activate. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,7 @@ from os import path
from distutils.version import LooseVersion
from setuptools import find_packages, setup
-VERSION = '1.25.4'
+VERSION = '1.25.5'
# Import README.md into long_description
pwd = path.abspat... | Bump package to <I> | py |
diff --git a/tests/connection.py b/tests/connection.py
index <HASH>..<HASH> 100644
--- a/tests/connection.py
+++ b/tests/connection.py
@@ -833,6 +833,14 @@ class Connection_(Spec):
class sudo:
@patch('fabric.connection.SSHClient')
@patch(remote_path)
+ def calls_open_for_you(self, Remote, ... | Never had an explicit test for this and we really should | py |
diff --git a/skosify/skosify.py b/skosify/skosify.py
index <HASH>..<HASH> 100644
--- a/skosify/skosify.py
+++ b/skosify/skosify.py
@@ -211,7 +211,7 @@ def transform_sparql_update(rdf, update_query):
logging.debug("performing SPARQL Update transformation")
if update_query[0] == '@': # actual query should be... | Use open() instead of file() (removed from python 3) to read SPARQL query files. | py |
diff --git a/src/scout_apm/api/__init__.py b/src/scout_apm/api/__init__.py
index <HASH>..<HASH> 100644
--- a/src/scout_apm/api/__init__.py
+++ b/src/scout_apm/api/__init__.py
@@ -1,3 +1,4 @@
+from scout_apm.core.config import ScoutConfig
from scout_apm.core.tracked_request import TrackedRequest
import sys
@@ -23,6 ... | Mark real request in context decorator API, new Config class for API | py |
diff --git a/gossip/gossip_core.py b/gossip/gossip_core.py
index <HASH>..<HASH> 100644
--- a/gossip/gossip_core.py
+++ b/gossip/gossip_core.py
@@ -706,12 +706,14 @@ class Gossip(object, DatagramProtocol):
"""
Send an encoded message to a list of participants
- Args
- message -- obj... | fix docstring syntax blocking build. | py |
diff --git a/stripe/__init__.py b/stripe/__init__.py
index <HASH>..<HASH> 100644
--- a/stripe/__init__.py
+++ b/stripe/__init__.py
@@ -329,7 +329,9 @@ class APIRequestor(object):
# However, that's ok because the CA bundle they use recognizes
# api.stripe.com.
args['validate_certificate'] = verify_ssl_cer... | Time out GAE requests after <I> seconds | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -19,6 +19,6 @@ setup(name='pylsdj',
'Topic :: Software Development :: Libraries :: Python Modules'],
license='MIT',
packages=['pylsdj', 'pylsdj.vendor'],
- requires=['bread>=1.5.4'],
+ requir... | Fixing minor typo in setup.py. | py |
diff --git a/datatableview/helpers.py b/datatableview/helpers.py
index <HASH>..<HASH> 100644
--- a/datatableview/helpers.py
+++ b/datatableview/helpers.py
@@ -77,7 +77,7 @@ def attrgetter(attr):
return helper
-def format_date(format, key=None):
+def format_date(format_string, key=None):
def helper(val... | Changed name of format_date argument "format_string" is better than "format", since "format" hides a built-in function. | py |
diff --git a/astrobase/lcproc.py b/astrobase/lcproc.py
index <HASH>..<HASH> 100644
--- a/astrobase/lcproc.py
+++ b/astrobase/lcproc.py
@@ -214,7 +214,7 @@ def makelclist(basedir,
try:
thiscolval = dict_get(lcdict, getkey)
except:
- thiscolval = N... | lcproc: more fixes | py |
diff --git a/trollimage/tests/test_image.py b/trollimage/tests/test_image.py
index <HASH>..<HASH> 100644
--- a/trollimage/tests/test_image.py
+++ b/trollimage/tests/test_image.py
@@ -349,7 +349,8 @@ class TestRegularImage(unittest.TestCase):
# create an unusable directory for permission error checking
... | Update image saving tests to use permissions that Windows might like | py |
diff --git a/alot/settings/theme.py b/alot/settings/theme.py
index <HASH>..<HASH> 100644
--- a/alot/settings/theme.py
+++ b/alot/settings/theme.py
@@ -117,7 +117,7 @@ class Theme(object):
res['parts'] = match.get('parts') or default['parts']
for part in res['parts']:
defaultsec = default.... | fix error caused by leaving out threadline-foo parts.. ..in theme files | py |
diff --git a/napalm_eos/eos.py b/napalm_eos/eos.py
index <HASH>..<HASH> 100644
--- a/napalm_eos/eos.py
+++ b/napalm_eos/eos.py
@@ -1058,7 +1058,7 @@ class EOSDriver(NetworkDriver):
last_active = active_route # should find smth better
communities = bgp_route_details.get('routeD... | empty inactive_reason rather than None | py |
diff --git a/ballet/quickstart.py b/ballet/quickstart.py
index <HASH>..<HASH> 100644
--- a/ballet/quickstart.py
+++ b/ballet/quickstart.py
@@ -6,13 +6,18 @@ PROJECT_TEMPLATE_PATH = (
pathlib.Path(__file__).resolve().parent.joinpath('project_template'))
+def _get_project_template_path():
+ return str(PROJECT... | Expose project template path in quickstart | py |
diff --git a/salt/returners/pgjsonb.py b/salt/returners/pgjsonb.py
index <HASH>..<HASH> 100644
--- a/salt/returners/pgjsonb.py
+++ b/salt/returners/pgjsonb.py
@@ -61,7 +61,7 @@ Use the following Pg database schema:
);
CREATE INDEX idx_jids_jsonb on jids
USING gin (load)
- WITH (fastupdat... | Remove spurious log message, fix typo in doc | 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
@@ -88,7 +88,7 @@ def makeGenomeObject():
# would be huge, for hg19). Importers and exporters that need to
# look at the fu... | Minor: make test sequence file hidden. | py |
diff --git a/lib/svtplay_dl/service/tv4play.py b/lib/svtplay_dl/service/tv4play.py
index <HASH>..<HASH> 100644
--- a/lib/svtplay_dl/service/tv4play.py
+++ b/lib/svtplay_dl/service/tv4play.py
@@ -83,8 +83,8 @@ class Tv4play(Service, OpenGraphThumbMixin):
parse = urlparse(i.find("url").text)
... | tv4play: send other as a argument to the fetcher class | py |
diff --git a/paramiko/sftp_server.py b/paramiko/sftp_server.py
index <HASH>..<HASH> 100644
--- a/paramiko/sftp_server.py
+++ b/paramiko/sftp_server.py
@@ -204,7 +204,8 @@ class SFTPServer (BaseSFTP, SubsystemHandler):
desc = SFTP_DESC[code]
except IndexError:
desc = 'Unkno... | [project @ <EMAIL><I>-znq4h<I>fzdgotwf1] include an empty language field on sftp responses, since some clients expect it. | py |
diff --git a/django_extensions/management/commands/runjobs.py b/django_extensions/management/commands/runjobs.py
index <HASH>..<HASH> 100644
--- a/django_extensions/management/commands/runjobs.py
+++ b/django_extensions/management/commands/runjobs.py
@@ -1,3 +1,4 @@
+from django.utils import six
from django.core.manag... | Fixing issue #<I>. | py |
diff --git a/glances/glances.py b/glances/glances.py
index <HASH>..<HASH> 100755
--- a/glances/glances.py
+++ b/glances/glances.py
@@ -870,8 +870,8 @@ class GlancesStats:
# Update the stats
self.__update__(input_stats)
- def getAll(self):
- return self.all_stats
+ #~ def getAll(self):
+... | Delete the unused getAll fonction from the GlancesStat class | py |
diff --git a/ics/event.py b/ics/event.py
index <HASH>..<HASH> 100644
--- a/ics/event.py
+++ b/ics/event.py
@@ -91,7 +91,7 @@ class Event(Component):
self._status: Optional[str] = None
self._classification: Optional[str] = None
- self.organizer: Optional[str] = None
+ self.organizer: Op... | Bugfix in Event constructor self.organizer is None (#<I>) Even when passing an Organizer to Event object __init__, it is not set and therefore not serialized. | py |
diff --git a/tools/interop_matrix/client_matrix.py b/tools/interop_matrix/client_matrix.py
index <HASH>..<HASH> 100644
--- a/tools/interop_matrix/client_matrix.py
+++ b/tools/interop_matrix/client_matrix.py
@@ -219,8 +219,6 @@ LANG_RELEASE_MATRIX = {
('v1.27.2', ReleaseInfo()),
('v1.28.1', Rel... | Remove <I> and <I> from the matrix | py |
diff --git a/sanic/app.py b/sanic/app.py
index <HASH>..<HASH> 100644
--- a/sanic/app.py
+++ b/sanic/app.py
@@ -671,8 +671,8 @@ class Sanic:
"""
# Default auto_reload to false
auto_reload = False
- # If debug is set, default it to true
- if debug:
+ # If debug is set, defa... | disabled auto_reload by default in windows (#<I>) | py |
diff --git a/triflow/plugins/displays.py b/triflow/plugins/displays.py
index <HASH>..<HASH> 100644
--- a/triflow/plugins/displays.py
+++ b/triflow/plugins/displays.py
@@ -60,7 +60,7 @@ class bokeh_fields_update():
key)
... | Update bokeh fields display, allow displaying post-processed data | py |
diff --git a/tests/views.py b/tests/views.py
index <HASH>..<HASH> 100644
--- a/tests/views.py
+++ b/tests/views.py
@@ -21,7 +21,7 @@ class SudoViewTestCase(BaseTestCase):
self.request.is_sudo = lambda: False
response = sudo(self.request)
self.assertIsInstance(response, TemplateResponse)
- ... | Turns out I had a test for that | py |
diff --git a/kafka/future.py b/kafka/future.py
index <HASH>..<HASH> 100644
--- a/kafka/future.py
+++ b/kafka/future.py
@@ -15,10 +15,10 @@ class Future(object):
self._errbacks = []
def succeeded(self):
- return self.is_done and not self.exception
+ return self.is_done and not bool(self.exc... | Coerce exceptions to bool in Future.succeeded() and Future.failed() | py |
diff --git a/talon/signature/learning/featurespace.py b/talon/signature/learning/featurespace.py
index <HASH>..<HASH> 100644
--- a/talon/signature/learning/featurespace.py
+++ b/talon/signature/learning/featurespace.py
@@ -7,7 +7,8 @@ The body and the message sender string are converted into unicode before
applying fe... | Utilising the Constants Checking for the length of a line to determine if it is possibly a signature or not could be done in a more generic way by determining the maximum size of the line via a constant. Hence advocating the spirit of the modifying the code in only one place and propagating that change everywhere. ... | py |
diff --git a/tests/tests.py b/tests/tests.py
index <HASH>..<HASH> 100755
--- a/tests/tests.py
+++ b/tests/tests.py
@@ -10,19 +10,19 @@ ITERATION_TESTS = 256
RANDOM_STRING_LENGTH = 256
def generate_fake_markdown_file_as_string():
- data_to_be_read = '''# One\n'''
+ data_to_be_read = '''# One\n## One.Two\n'''
... | Improved build toc unit test. | py |
diff --git a/tests/integration/modules/django.py b/tests/integration/modules/django.py
index <HASH>..<HASH> 100644
--- a/tests/integration/modules/django.py
+++ b/tests/integration/modules/django.py
@@ -5,15 +5,20 @@ Test the django module
import sys
# Import Salt libs
-from saltunittest import TestLoader, TextTest... | Gracefully skip the django module tests w/o mock | py |
diff --git a/src/ossos/core/ossos/cameras.py b/src/ossos/core/ossos/cameras.py
index <HASH>..<HASH> 100644
--- a/src/ossos/core/ossos/cameras.py
+++ b/src/ossos/core/ossos/cameras.py
@@ -203,7 +203,7 @@ class Camera:
def names(self):
names = {'one': 0}
if self.camera == "MEGACAM_40":
- ... | Fix bug where two CCDs in MEGACAM_<I> were given the same identifier | py |
diff --git a/salt/states/file.py b/salt/states/file.py
index <HASH>..<HASH> 100644
--- a/salt/states/file.py
+++ b/salt/states/file.py
@@ -3972,6 +3972,8 @@ def accumulated(name, filename, text, **kwargs):
return ret
if isinstance(text, six.string_types):
text = (text,)
+ elif isinstance(text,... | Added feature to handle dict in file.accumulated | py |
diff --git a/src/you_get/extractors/youtube.py b/src/you_get/extractors/youtube.py
index <HASH>..<HASH> 100644
--- a/src/you_get/extractors/youtube.py
+++ b/src/you_get/extractors/youtube.py
@@ -152,8 +152,11 @@ class YouTube(VideoExtractor):
# Parse video page (for DASH)
video_page ... | [youtube] fix for age-restricted videos, which do not contain ytplayer.config (or html5player) on web page | py |
diff --git a/yowsup/env/env_s40.py b/yowsup/env/env_s40.py
index <HASH>..<HASH> 100644
--- a/yowsup/env/env_s40.py
+++ b/yowsup/env/env_s40.py
@@ -2,7 +2,7 @@ from .env import YowsupEnv
import base64
import hashlib
class S40YowsupEnv(YowsupEnv):
- _VERSION = "2.13.5"
+ _VERSION = "2.13.21"
_OS_NAME= "S40"... | Updated protocol version number to <I>. Fixes #<I>, #<I>, #<I>, #<I> and possibly others. | py |
diff --git a/pandas/core/groupby/groupby.py b/pandas/core/groupby/groupby.py
index <HASH>..<HASH> 100644
--- a/pandas/core/groupby/groupby.py
+++ b/pandas/core/groupby/groupby.py
@@ -497,7 +497,6 @@ class _GroupBy(PandasObject, SelectionMixin, Generic[FrameOrSeries]):
self._selection = selection
ass... | CLN: dont consolidate in groupby (#<I>) | py |
diff --git a/pygenstub.py b/pygenstub.py
index <HASH>..<HASH> 100644
--- a/pygenstub.py
+++ b/pygenstub.py
@@ -781,8 +781,6 @@ def get_pkg_paths(pkg_name, out_dir):
for mod_info in walk_packages(pkg.__path__, pkg.__name__ + "."):
mod_paths = get_mod_paths(mod_info.name, out_dir)
paths... | fix: Remove extra recursion | py |
diff --git a/lexrank/__init__.py b/lexrank/__init__.py
index <HASH>..<HASH> 100644
--- a/lexrank/__init__.py
+++ b/lexrank/__init__.py
@@ -0,0 +1 @@
+from lexrank.algorithms.summarizer import LexRank | Allow import of LexRank class from the package root. | py |
diff --git a/angr/analyses/cfg/cfg_base.py b/angr/analyses/cfg/cfg_base.py
index <HASH>..<HASH> 100644
--- a/angr/analyses/cfg/cfg_base.py
+++ b/angr/analyses/cfg/cfg_base.py
@@ -1267,9 +1267,17 @@ class CFGBase(Analysis):
if block is None:
continue
if all(self._is... | CFGBase: Recognize single-node-with-self-loop alignment chunks. (#<I>) | py |
diff --git a/functional/pipeline.py b/functional/pipeline.py
index <HASH>..<HASH> 100644
--- a/functional/pipeline.py
+++ b/functional/pipeline.py
@@ -233,7 +233,7 @@ class Sequence(object):
:return: first element of sequence
"""
- return _wrap(self.sequence[0])
+ return _wrap(self.tak... | Fix bug where first/head evaluate the entire sequence rather than just first element from #<I> | py |
diff --git a/django_tenants/postgresql_backend/base.py b/django_tenants/postgresql_backend/base.py
index <HASH>..<HASH> 100644
--- a/django_tenants/postgresql_backend/base.py
+++ b/django_tenants/postgresql_backend/base.py
@@ -25,12 +25,8 @@ SQL_IDENTIFIER_RE = re.compile(r'^[_a-zA-Z0-9]{1,63}$')
SQL_SCHEMA_NAME_RESER... | Merge _is_valid_identifier() into is_valid_schema_name() because this is the only place which actually uses this | py |
diff --git a/openquake/commonlib/calc.py b/openquake/commonlib/calc.py
index <HASH>..<HASH> 100644
--- a/openquake/commonlib/calc.py
+++ b/openquake/commonlib/calc.py
@@ -64,9 +64,9 @@ class PmapGetter(object):
:param dstore: a DataStore instance
"""
- def __init__(self, dstore):
+ def __init__(self, ... | Fixed disaggregation Former-commit-id: 6bdde<I>b1d<I>b<I>a<I>a3f<I>c<I>e<I>ee<I> | py |
diff --git a/vertica_python/vertica/messages/frontend_messages/password.py b/vertica_python/vertica/messages/frontend_messages/password.py
index <HASH>..<HASH> 100644
--- a/vertica_python/vertica/messages/frontend_messages/password.py
+++ b/vertica_python/vertica/messages/frontend_messages/password.py
@@ -14,6 +14,13 @... | Add a test to verify if we're in python 2 or 3 | py |
diff --git a/aws_ir_plugins/revokests_key.py b/aws_ir_plugins/revokests_key.py
index <HASH>..<HASH> 100644
--- a/aws_ir_plugins/revokests_key.py
+++ b/aws_ir_plugins/revokests_key.py
@@ -1,4 +1,3 @@
-import aws_ir
import datetime
import fnmatch
import os
@@ -83,7 +82,7 @@ class Plugin(object):
)
re... | Update revokests_key.py Closes #3 fixes path walking to look for .j2 template in path of plugins. | py |
diff --git a/tests/test.py b/tests/test.py
index <HASH>..<HASH> 100644
--- a/tests/test.py
+++ b/tests/test.py
@@ -8979,6 +8979,7 @@ def test_parameters_Normal():
def test_parameters_Laplace():
reseed()
+ eps = np.finfo(np.float32).eps
param = iap.Laplace(0, 1)
sample = param.draw_sample()
@@ -90... | Add test for Laplace with scale=0 | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.