diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/tests/testrenderclass.py b/tests/testrenderclass.py
index <HASH>..<HASH> 100644
--- a/tests/testrenderclass.py
+++ b/tests/testrenderclass.py
@@ -1,3 +1,6 @@
+"""
+Test cases for rendering exporters
+"""
from hashlib import sha256
from unittest import SkipTest
import numpy as np | Added missing docstring to the top of testrenderclass.py | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -39,7 +39,7 @@ for package_list in packages_to_state:
setup_args.update(dict(
name='imagen',
- version='0.05',
+ version='1.0',
description='Generic Python library for 0D, 1D, and 2D pattern distributions.',... | Update version number to <I>. | py |
diff --git a/censys/asm/assets/assets.py b/censys/asm/assets/assets.py
index <HASH>..<HASH> 100644
--- a/censys/asm/assets/assets.py
+++ b/censys/asm/assets/assets.py
@@ -29,6 +29,7 @@ class Assets(CensysAsmAPI):
tag: Optional[List[str]] = None,
tag_operator: Optional[str] = None,
source: Opt... | feat: Add API support for asset discovery trails The Censys API offers a parameter that allows pulling back discovery trails, but this parameter is not currently exposed via this library. This commit adds support for this parameter. | py |
diff --git a/tornado_pyuv/__init__.py b/tornado_pyuv/__init__.py
index <HASH>..<HASH> 100644
--- a/tornado_pyuv/__init__.py
+++ b/tornado_pyuv/__init__.py
@@ -149,7 +149,7 @@ class UVLoop(IOLoop):
self._waker.wake()
def add_timeout(self, deadline, callback):
- timeout = _Timeout(deadline, stack_c... | Avoid saving an IOLoop instance on Timer handles | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,15 +2,17 @@
from setuptools import setup, find_packages
-setup(name='gevent_openssl',
- version='1.0',
- description='A gevent wrapper for pyOpenSSL',
- author='Phus Lu',
- author_email='phus.lu@gma... | Cleaned up setup.py And updated contact details to point to new maintainer. | py |
diff --git a/core/google/api/core/future/polling.py b/core/google/api/core/future/polling.py
index <HASH>..<HASH> 100644
--- a/core/google/api/core/future/polling.py
+++ b/core/google/api/core/future/polling.py
@@ -70,7 +70,8 @@ class PollingFuture(base.Future):
"""Poll and wait for the Future to be resolved.
... | Clarify that PollingFuture timeout is in seconds. (#<I>) | py |
diff --git a/pghoard/compressor.py b/pghoard/compressor.py
index <HASH>..<HASH> 100644
--- a/pghoard/compressor.py
+++ b/pghoard/compressor.py
@@ -128,7 +128,7 @@ class CompressorThread(Thread, Compressor):
metadata = event.get("metadata", {})
metadata.update({
- "pg-version": self.config... | compressor: drop default pg version from metadata Fixing leftover from PG <I> support which added pg version to metadata. We're not supposed to guess the version anywhere. | py |
diff --git a/dividebatur/senatecount.py b/dividebatur/senatecount.py
index <HASH>..<HASH> 100755
--- a/dividebatur/senatecount.py
+++ b/dividebatur/senatecount.py
@@ -20,7 +20,7 @@ class SenateCountPost2015:
self.tickets_for_count = PapersForCount()
self.s282_candidates = kwargs.get('s282_candidates... | Modifiying senatecount.py to allow for limiting tickets read from file. Tested by printing sum of weights in data.tickets_for_count in main method with and without specifying the optional max_tickets parameter | py |
diff --git a/spacy/_ml.py b/spacy/_ml.py
index <HASH>..<HASH> 100644
--- a/spacy/_ml.py
+++ b/spacy/_ml.py
@@ -150,10 +150,10 @@ class PrecomputableAffine(Model):
def _backprop_padding(self, dY, ids):
# (1, nF, nO, nP) += (nN, nF, nO, nP) where IDs (nN, nF) < 0
- d_feats = dY[ids]
- ids = ... | Fix backprop of d_pad | py |
diff --git a/pyramid_authsanity/policy.py b/pyramid_authsanity/policy.py
index <HASH>..<HASH> 100644
--- a/pyramid_authsanity/policy.py
+++ b/pyramid_authsanity/policy.py
@@ -137,7 +137,7 @@ class AuthServicePolicy(object):
value = {}
value['principal'] = principal
- value['ticket'] = ticket ... | Ticket is now non-binary | py |
diff --git a/pysilico/gui/camera_control_gui.py b/pysilico/gui/camera_control_gui.py
index <HASH>..<HASH> 100644
--- a/pysilico/gui/camera_control_gui.py
+++ b/pysilico/gui/camera_control_gui.py
@@ -38,6 +38,10 @@ def _importPySide2():
def _importQtPy():
import os
+
+ # 211123 workaround for window not s... | Update camera_control_gui.py workaround for window not showing bug | py |
diff --git a/zounds/node/data.py b/zounds/node/data.py
index <HASH>..<HASH> 100644
--- a/zounds/node/data.py
+++ b/zounds/node/data.py
@@ -25,6 +25,7 @@ class ReadStream(object):
def __init__(self, buf):
self.buf = buf
+ self.pos = 0
def __enter__(self):
return self
@@ -34... | Correct implementation of read() for Lmdb database implementation | py |
diff --git a/src/astral.py b/src/astral.py
index <HASH>..<HASH> 100644
--- a/src/astral.py
+++ b/src/astral.py
@@ -2,6 +2,18 @@
# Copyright 2009-2016, Simon Kennedy, sffjunkie+code@gmail.com
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance wit... | Added Apache <I> boilerplate to source file | py |
diff --git a/examples/pytorch/test_examples.py b/examples/pytorch/test_examples.py
index <HASH>..<HASH> 100644
--- a/examples/pytorch/test_examples.py
+++ b/examples/pytorch/test_examples.py
@@ -19,6 +19,7 @@ import json
import logging
import os
import sys
+from unittest.case import skip
from unittest.mock import p... | skip image classification test (#<I>) | py |
diff --git a/peyotl/git_storage/git_shard.py b/peyotl/git_storage/git_shard.py
index <HASH>..<HASH> 100644
--- a/peyotl/git_storage/git_shard.py
+++ b/peyotl/git_storage/git_shard.py
@@ -87,8 +87,12 @@ class TypeAwareGitShard(GitShard):
try:
# pass this shard to a type-specific tes... | Surface the swalled exception in auto-detect | py |
diff --git a/funfactory/monkeypatches.py b/funfactory/monkeypatches.py
index <HASH>..<HASH> 100644
--- a/funfactory/monkeypatches.py
+++ b/funfactory/monkeypatches.py
@@ -20,8 +20,14 @@ def patch():
# Monkey-patch django forms to avoid having to use Jinja2's |safe
# everywhere.
- import safe_django_forms... | Use jingo.monkey if it exists This changes funfactory to use jingo.monkey which monkey patches Django form fields so you don't have to do |safe all the time. If the available jingo isn't recent enough, then it defaults to using nuggets safe_django_forms which don't appear to work with Django <I> or later. | py |
diff --git a/zoort.py b/zoort.py
index <HASH>..<HASH> 100644
--- a/zoort.py
+++ b/zoort.py
@@ -324,6 +324,20 @@ def factory_uploader(type_uploader, *args, **kwargs):
except:
raise SystemExit('Error to delete file {0}'.format(filename))
+
+ def list_files(self):
+ '''
+ ... | Add list_files method to FTP class | py |
diff --git a/src/naarad/metrics/metric.py b/src/naarad/metrics/metric.py
index <HASH>..<HASH> 100644
--- a/src/naarad/metrics/metric.py
+++ b/src/naarad/metrics/metric.py
@@ -215,9 +215,6 @@ class Metric(object):
html_string = []
html_string.append('<h1>Metric: {0}</h1>\n'.format(self.metric_type))
graph... | Remove graphing library override as dygraphs now supports GC plots | py |
diff --git a/pydgraph/client_stub.py b/pydgraph/client_stub.py
index <HASH>..<HASH> 100644
--- a/pydgraph/client_stub.py
+++ b/pydgraph/client_stub.py
@@ -90,17 +90,17 @@ class DgraphClientStub(object):
# from_slash_endpoint is deprecated and will be removed in v21.07 release.
# Use from_cloud method to conne... | fix: Missing variable in from_cloud. (#<I>) | 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
@@ -64,7 +64,7 @@ def janitor(root): # pragma: no cover
report = ''
for editor in drop_root.settings['edi... | No, this is what I meant ;) | py |
diff --git a/src/toil/fileStores/cachingFileStore.py b/src/toil/fileStores/cachingFileStore.py
index <HASH>..<HASH> 100644
--- a/src/toil/fileStores/cachingFileStore.py
+++ b/src/toil/fileStores/cachingFileStore.py
@@ -546,19 +546,18 @@ class CachingFileStore(AbstractFileStore):
pid = os.getpid()
... | Filter out NULL PIDs a better way | py |
diff --git a/climlab/radiation/radiation.py b/climlab/radiation/radiation.py
index <HASH>..<HASH> 100644
--- a/climlab/radiation/radiation.py
+++ b/climlab/radiation/radiation.py
@@ -54,17 +54,3 @@ class Radiation(EnergyBudget):
def _compute_heating_rates(self):
'''Compute energy flux convergences to get ... | Remove unused RadiationSW and RadiationLW classes | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,7 @@ setup(name = "pychallonge",
packages = [
'challonge',
],
- requires = [
- 'python_dateutil (<2.0)',
+ install_requires = [
+ 'python-dateutil<2.0',
]
) | Changed 'requires' to 'install_requires' so pip actually installs dateutil | py |
diff --git a/synapse/tests/test_common.py b/synapse/tests/test_common.py
index <HASH>..<HASH> 100644
--- a/synapse/tests/test_common.py
+++ b/synapse/tests/test_common.py
@@ -79,25 +79,13 @@ class CommonTest(SynTest):
self.eq(parts, [[1, 2], [3, 4], [5]])
# set is unslicable
- tpass = False
-... | Use assertRaises in tests_common insted of try/except blocks. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -24,7 +24,6 @@ VERSION = None
# What packages are required for this module to be executed?
REQUIRED = [ # type: ignore
- 'aiodns',
'aiohttp'
] | Remove aiodns from requirements | py |
diff --git a/astrobase/checkplot.py b/astrobase/checkplot.py
index <HASH>..<HASH> 100644
--- a/astrobase/checkplot.py
+++ b/astrobase/checkplot.py
@@ -1433,12 +1433,16 @@ def _pkl_finder_objectinfo(objectinfo,
if ((300.0 - annotatex) > 50.0):
offx = annota... | lcproc: add neighbor stuff to parallel_cp workers and driver | py |
diff --git a/pysnmp/proto/rfc1155.py b/pysnmp/proto/rfc1155.py
index <HASH>..<HASH> 100644
--- a/pysnmp/proto/rfc1155.py
+++ b/pysnmp/proto/rfc1155.py
@@ -66,9 +66,11 @@ class NetworkAddress(univ.Choice):
"""
cloned = univ.Choice.clone(self, **kwargs)
if value is not univ.noValue:
- ... | Let NetworkAddress be cloned from another NetworkAddress (#<I>) This is to meet the basic clone() contract and unbreak round-trip index conversions. Previously only IPAddress values were allowed as the clone source. | py |
diff --git a/IPython/html/widgets/widget.py b/IPython/html/widgets/widget.py
index <HASH>..<HASH> 100644
--- a/IPython/html/widgets/widget.py
+++ b/IPython/html/widgets/widget.py
@@ -36,7 +36,7 @@ def init_widget_js():
if not (name == 'widget' or name == '__init__') and name.startswith('widget_'):
... | Remove text repr of js includes. | py |
diff --git a/custodian/qchem/new_jobs.py b/custodian/qchem/new_jobs.py
index <HASH>..<HASH> 100644
--- a/custodian/qchem/new_jobs.py
+++ b/custodian/qchem/new_jobs.py
@@ -147,8 +147,8 @@ class QCJob(Job):
assert os.path.exists(input_file)
orig_opt_input = QCInput.from_file(input_file)
- orig_... | Added deepcopy to prevent bad overwrites | py |
diff --git a/seaworthy/checks.py b/seaworthy/checks.py
index <HASH>..<HASH> 100644
--- a/seaworthy/checks.py
+++ b/seaworthy/checks.py
@@ -25,7 +25,7 @@ def fetch_images(images):
for image in images:
try:
client.images.get(image)
- except docker.errors.ImageNotFound:
+ ... | Skip coverage on image fetcher branch. | py |
diff --git a/gtdoit/test/test_logbook.py b/gtdoit/test/test_logbook.py
index <HASH>..<HASH> 100644
--- a/gtdoit/test/test_logbook.py
+++ b/gtdoit/test/test_logbook.py
@@ -7,6 +7,7 @@ import random
import tempfile
import os
import shutil
+import itertools
import zmq
@@ -102,6 +103,21 @@ class TestRotatedPersiste... | Testing reopening a rotated `PersistedEventStore` Also asserts it's possible to add a couple of more events after reopening. | py |
diff --git a/utils/GraphUtils.py b/utils/GraphUtils.py
index <HASH>..<HASH> 100644
--- a/utils/GraphUtils.py
+++ b/utils/GraphUtils.py
@@ -40,6 +40,20 @@ class GraphUtils:
g.add((n, DC['description'], Literal(description)))
return g
+ def addIndividualToGraph(self, g, id, label, type=None, de... | new method addIndividualToGraph | py |
diff --git a/src/saml2/mcache.py b/src/saml2/mcache.py
index <HASH>..<HASH> 100644
--- a/src/saml2/mcache.py
+++ b/src/saml2/mcache.py
@@ -154,6 +154,8 @@ class Cache(object):
(timestamp, info) = self._cache.get(_key(subject_id, entity_id))
except ValueError:
return False
+ exc... | Since mcached returns None if no value can be found | py |
diff --git a/blockstack/lib/operations/nameimport.py b/blockstack/lib/operations/nameimport.py
index <HASH>..<HASH> 100644
--- a/blockstack/lib/operations/nameimport.py
+++ b/blockstack/lib/operations/nameimport.py
@@ -28,6 +28,7 @@ from pybitcoin import embed_data_in_blockchain, \
from pybitcoin.transactions.outputs ... | Make sure each currently-pending name operation has a history when we use it to find extra consensus fields. | py |
diff --git a/doc/source/conf.py b/doc/source/conf.py
index <HASH>..<HASH> 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -120,6 +120,9 @@ plot_html_show_source_link = False
plot_pre_code = """import numpy as np
import pandas as pd"""
+# nbsphinx do not use requirejs (breaks bootstrap)
+nbsphinx_require... | DOC: disable nbsphinx including requirejs (#<I>) | py |
diff --git a/sqlalchemy_redshift/__init__.py b/sqlalchemy_redshift/__init__.py
index <HASH>..<HASH> 100644
--- a/sqlalchemy_redshift/__init__.py
+++ b/sqlalchemy_redshift/__init__.py
@@ -16,13 +16,6 @@ for package in ['psycopg2', 'psycopg2-binary', 'psycopg2cffi']:
break
except DistributionNotFound:
... | Don't throw an exception in case we couldn't find a relevant psycopg2 package | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -9,5 +9,5 @@ setup(name='splinter',
packages=find_packages(),
test_suite='nose.collector',
install_requires=['selenium'],
- tests_require=['nose', 'coverage'],
+ tests_require=['nose', 'coverage'... | added ludibrio as test dependency | py |
diff --git a/isochrones/dartmouth.py b/isochrones/dartmouth.py
index <HASH>..<HASH> 100644
--- a/isochrones/dartmouth.py
+++ b/isochrones/dartmouth.py
@@ -57,7 +57,7 @@ if not os.path.exists(TRI_FILE):
_download_tri()
if pd is not None:
- MASTERDF = pd.read_hdf(MASTERFILE,'df')
+ MASTERDF = pd.read_hdf(MA... | added dropna to MASTERDF; temporary hack | py |
diff --git a/asv/commands/preview.py b/asv/commands/preview.py
index <HASH>..<HASH> 100644
--- a/asv/commands/preview.py
+++ b/asv/commands/preview.py
@@ -35,8 +35,9 @@ def random_ports(port, n):
def create_httpd(handler_cls, port=0):
# Create a server that allows address reuse
- class MyTCPServer(socketserv... | Use threaded server in asv preview | py |
diff --git a/virtualbox/library_ext/mouse.py b/virtualbox/library_ext/mouse.py
index <HASH>..<HASH> 100644
--- a/virtualbox/library_ext/mouse.py
+++ b/virtualbox/library_ext/mouse.py
@@ -1,23 +1,21 @@
-from virtualbox import library
-
-
"""
Add helper code to the default IMouse class.
"""
+from virtualbox import l... | Fix linting issues in virtualbox/library_ext/mouse.py | py |
diff --git a/gears/processors/directives.py b/gears/processors/directives.py
index <HASH>..<HASH> 100644
--- a/gears/processors/directives.py
+++ b/gears/processors/directives.py
@@ -65,12 +65,10 @@ class DirectivesProcessor(BaseProcessor):
self.asset.requirements.add(self.asset)
def process_depend_on_d... | Add globbing support to the depend_on directive | py |
diff --git a/tests/base_class.py b/tests/base_class.py
index <HASH>..<HASH> 100644
--- a/tests/base_class.py
+++ b/tests/base_class.py
@@ -259,6 +259,35 @@ class BaseTestRelation(object):
assert relation.center_lat == Decimal("50.8176646")
assert relation.center_lon == Decimal("7.0208539")
+ def ... | test - Function to test geometry of an relation member | py |
diff --git a/salt/states/ceph.py b/salt/states/ceph.py
index <HASH>..<HASH> 100644
--- a/salt/states/ceph.py
+++ b/salt/states/ceph.py
@@ -1,5 +1,9 @@
# -*- coding: utf-8 -*-
+'''
+Manage ceph with salt.
+.. versionadded:: Carbon
+'''
import logging
import json
from salt.exceptions import CommandExecutionError, C... | salt.states.ceph: Add module metadata Salt has a rich metadata format for all state modules. Also improved the online help. | py |
diff --git a/fatbotslim/irc/bot.py b/fatbotslim/irc/bot.py
index <HASH>..<HASH> 100644
--- a/fatbotslim/irc/bot.py
+++ b/fatbotslim/irc/bot.py
@@ -77,8 +77,6 @@ class Message(object):
"""
src = ''
dst = None
- if not data:
- raise NullMessage('Received an empty line from the... | empty lines (or lines with only spaces) made message parsing fail - fixed | py |
diff --git a/gns3server/compute/docker/__init__.py b/gns3server/compute/docker/__init__.py
index <HASH>..<HASH> 100644
--- a/gns3server/compute/docker/__init__.py
+++ b/gns3server/compute/docker/__init__.py
@@ -113,11 +113,13 @@ class Docker(BaseManager):
:returns: HTTP response
"""
data = js... | Use versioned docker API Since docker <I> the unversioned docker API is deprecated. Backport of gns3-server <I>, commit effbe<I> | py |
diff --git a/django_seo_js/backends/base.py b/django_seo_js/backends/base.py
index <HASH>..<HASH> 100644
--- a/django_seo_js/backends/base.py
+++ b/django_seo_js/backends/base.py
@@ -8,7 +8,7 @@ DEFAULT_BACKEND = "django_seo_js.backends.PrerenderIO"
IGNORED_HEADERS = [
'connection', 'keep-alive', 'proxy-authentic... | Adds a couple more ignored. | py |
diff --git a/orator/connections/mysql_connection.py b/orator/connections/mysql_connection.py
index <HASH>..<HASH> 100644
--- a/orator/connections/mysql_connection.py
+++ b/orator/connections/mysql_connection.py
@@ -1,5 +1,6 @@
# -*- coding: utf-8 -*-
+from ..utils import decode
from ..utils import PY2
from .connec... | Using decode('utf-8') to fix decoding non-ASCII characters (for example, Chinese) error | 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
@@ -313,9 +313,13 @@ def get_disks(vm_):
target = targets[0]
else:
continue
- if source.hasAttribute('file') and target.hasAttribute('dev')... | Support block devices in virt.get_disks | py |
diff --git a/osmnx/pois.py b/osmnx/pois.py
index <HASH>..<HASH> 100644
--- a/osmnx/pois.py
+++ b/osmnx/pois.py
@@ -360,6 +360,9 @@ def create_poi_gdf(polygon=None, amenities=None, north=None, south=None, east=No
# Combine GeoDataFrames
gdf = gdf_nodes.append(gdf_ways, sort=False)
+ if polygon:
+ g... | Fixed pois_from_polygon returning pois outside the polygon Added line to mask the gdf with pois that are within the polygon, if a polygon argument is present. | py |
diff --git a/salt/renderers/yaml.py b/salt/renderers/yaml.py
index <HASH>..<HASH> 100644
--- a/salt/renderers/yaml.py
+++ b/salt/renderers/yaml.py
@@ -57,7 +57,8 @@ def render(yaml_data, saltenv='base', sls='', argline='', **kws):
if not data:
data = {}
else:
- data = _yaml_res... | Add a config wrapper for the utf8 updates to the yaml renderer Per #<I> @regilero please let me know if you think another config key will be better then yaml_utf8 | py |
diff --git a/utils/index_mapping.py b/utils/index_mapping.py
index <HASH>..<HASH> 100755
--- a/utils/index_mapping.py
+++ b/utils/index_mapping.py
@@ -30,7 +30,7 @@ import sys
import requests
-from grimoire_elk.elk.elastic import ElasticSearch
+from grimoire_elk.elastic import ElasticSearch
from grimoire_elk.util... | [index_mapping] Update elastic import This code updates the import of the elastic class | py |
diff --git a/arviz/stats/stats.py b/arviz/stats/stats.py
index <HASH>..<HASH> 100644
--- a/arviz/stats/stats.py
+++ b/arviz/stats/stats.py
@@ -588,9 +588,6 @@ def summary(
credible_interval : float, optional
Credible interval to plot. Defaults to 0.94. This is only meaningful when `stat_funcs` is
... | remove stats/summary in document (#<I>) | py |
diff --git a/simuvex/storage/memory_object.py b/simuvex/storage/memory_object.py
index <HASH>..<HASH> 100644
--- a/simuvex/storage/memory_object.py
+++ b/simuvex/storage/memory_object.py
@@ -50,6 +50,9 @@ class SimMemoryObject(object):
return self.object[left:right]
def __eq__(self, other):
+ if ... | make comparisons work properly when unexpected types show up | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -31,13 +31,13 @@ setup(
version=VERSION,
packages=find_packages(),
- install_requires=['gevent>=1.0.2'],
+ install_requires=['gevent>=1.1.1'],
extras_require={
- 'aws': ['boto>=2.24.0'],
- ... | Update dependency version constraints in setup.py `setup.py`'s version constraints are left over from the Python2 versions of WAL-E. These new version numbers are copied from `tox.ini`'s `<I>-oldest` environment. | py |
diff --git a/jenkins/janitor.py b/jenkins/janitor.py
index <HASH>..<HASH> 100755
--- a/jenkins/janitor.py
+++ b/jenkins/janitor.py
@@ -35,6 +35,7 @@ DEMOLISH_ORDER = [
Resource('routes', None, None),
Resource('forwarding-rules', 'region', None),
Resource('target-http-proxies', None, None),
+ Resource(... | Make janitor clean up target-https-proxy as well (#<I>) | py |
diff --git a/addok/core.py b/addok/core.py
index <HASH>..<HASH> 100644
--- a/addok/core.py
+++ b/addok/core.py
@@ -338,7 +338,9 @@ class Search(BaseHelper):
if self.geohash_key:
keys.append(self.geohash_key)
self.debug('Adding geohash %s', self.geohash_key)
- se... | Do not give priority to autocomplete when only one common token Rationale: "saintes" will never by found | py |
diff --git a/fs/sshfs/sshfs.py b/fs/sshfs/sshfs.py
index <HASH>..<HASH> 100644
--- a/fs/sshfs/sshfs.py
+++ b/fs/sshfs/sshfs.py
@@ -146,13 +146,20 @@ class SSHFS(FS):
_stat = self._sftp.stat(_path)
info = self._make_raw_info(basename(_path), _stat, namespaces)
- if "lstat" in names... | Update `SSHFS.getinfo` and add `SSHFS.islink` to be consistent with `OSFS` behaviour | py |
diff --git a/spikeextractors/extractors/nwbextractors/nwbextractors.py b/spikeextractors/extractors/nwbextractors/nwbextractors.py
index <HASH>..<HASH> 100644
--- a/spikeextractors/extractors/nwbextractors/nwbextractors.py
+++ b/spikeextractors/extractors/nwbextractors/nwbextractors.py
@@ -96,13 +96,12 @@ class NwbReco... | Update nwbextractors.py | py |
diff --git a/tests/tabix_test.py b/tests/tabix_test.py
index <HASH>..<HASH> 100644
--- a/tests/tabix_test.py
+++ b/tests/tabix_test.py
@@ -78,6 +78,15 @@ class TestIndexing(unittest.TestCase):
pysam.tabix_index(self.tmpfilename, preset="gff")
self.assertTrue(checkBinaryEqual(self.tmpfilename + ".tbi",... | Add test for indexing tabix file to custom location | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -24,7 +24,7 @@ class RunTests(TestCommand):
version = "0.6.0.dev"
-with open("CHANGES.rst") as chlogf, open('README.rst') as rdmef:
+with open("CHANGES.rst") as chlogf, open('README.rst', encoding = 'utf-8') as rdmef:
... | setup.py: Fix build error in non-utf8 environment. | py |
diff --git a/spyder/widgets/editor.py b/spyder/widgets/editor.py
index <HASH>..<HASH> 100644
--- a/spyder/widgets/editor.py
+++ b/spyder/widgets/editor.py
@@ -304,7 +304,12 @@ class StackHistory(MutableSequence):
return len(self.history)
def __getitem__(self, i):
- return self.id_list.index(se... | Update stackhistory internal editor list before getting elements (prevent that posible corruptions raise an error.) | py |
diff --git a/packages/@jsii/python-runtime/setup.py b/packages/@jsii/python-runtime/setup.py
index <HASH>..<HASH> 100644
--- a/packages/@jsii/python-runtime/setup.py
+++ b/packages/@jsii/python-runtime/setup.py
@@ -29,7 +29,7 @@ setuptools.setup(
install_requires=[
"attrs>=18.2",
- "cattrs",
+ ... | fix: depend on python-<I>-supporting version of cattrs (#<I>) Fixes #<I> | py |
diff --git a/crysp/utils/freq1.py b/crysp/utils/freq1.py
index <HASH>..<HASH> 100644
--- a/crysp/utils/freq1.py
+++ b/crysp/utils/freq1.py
@@ -1,5 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
+
# This code is part of crysp
# Copyright (C) 2009-2014 Axel Tillequin (bdcht3@gmail.com)
# published under GPLv... | mark strings as utf-8 | py |
diff --git a/coffeebuild.py b/coffeebuild.py
index <HASH>..<HASH> 100644
--- a/coffeebuild.py
+++ b/coffeebuild.py
@@ -1,8 +1,6 @@
import subprocess
import sys
import time
-from watchdog.observers import Observer
-from watchdog.events import PatternMatchingEventHandler
projects = {
'cdx':{ | removing unused watchdog dependency in coffeebuild.py | py |
diff --git a/openquake/commands/shell.py b/openquake/commands/shell.py
index <HASH>..<HASH> 100644
--- a/openquake/commands/shell.py
+++ b/openquake/commands/shell.py
@@ -30,7 +30,10 @@ class OpenQuake(object):
from openquake.commonlib import readinput, calc
from openquake.calculators.extract import e... | Fixed oq shell in absence of Tkinter [skip CI] | py |
diff --git a/pymatbridge/pymatbridge.py b/pymatbridge/pymatbridge.py
index <HASH>..<HASH> 100644
--- a/pymatbridge/pymatbridge.py
+++ b/pymatbridge/pymatbridge.py
@@ -285,6 +285,8 @@ class _Session(object):
-------
Result dictionary with keys: 'message', 'result', and 'success'
"""
+ i... | Start the session if you try and run code | py |
diff --git a/zinnia/__init__.py b/zinnia/__init__.py
index <HASH>..<HASH> 100644
--- a/zinnia/__init__.py
+++ b/zinnia/__init__.py
@@ -1,5 +1,5 @@
"""Zinnia"""
-__version__ = '0.12.dev'
+__version__ = '0.11.2'
__license__ = 'BSD License'
__author__ = 'Fantomas42' | bumping to version <I> | py |
diff --git a/pythonforandroid/recipe.py b/pythonforandroid/recipe.py
index <HASH>..<HASH> 100644
--- a/pythonforandroid/recipe.py
+++ b/pythonforandroid/recipe.py
@@ -710,7 +710,7 @@ class PythonRecipe(Recipe):
@property
def real_hostpython_location(self):
- if 'hostpython2' in self.ctx.build_order:
... | fix bad attr change `build_order` to `recipe_build_order` | py |
diff --git a/tests/calculators/hazard/classical/post_processing_test.py b/tests/calculators/hazard/classical/post_processing_test.py
index <HASH>..<HASH> 100644
--- a/tests/calculators/hazard/classical/post_processing_test.py
+++ b/tests/calculators/hazard/classical/post_processing_test.py
@@ -53,10 +53,6 @@ class Mean... | we don't need anymore an odd number of levels | py |
diff --git a/contrib/python/api/samples/inject-nodes1.py b/contrib/python/api/samples/inject-nodes1.py
index <HASH>..<HASH> 100644
--- a/contrib/python/api/samples/inject-nodes1.py
+++ b/contrib/python/api/samples/inject-nodes1.py
@@ -52,7 +52,7 @@ class WSClientInjectProtocol(WSClientDebugProtocol):
def main():
-... | python: use the correct ws endpoint in the sample | py |
diff --git a/syn/python/b/base.py b/syn/python/b/base.py
index <HASH>..<HASH> 100644
--- a/syn/python/b/base.py
+++ b/syn/python/b/base.py
@@ -212,6 +212,8 @@ class PythonNode(Node):
res = val.expressify_statements(**kwargs)
if not typ.query(res):
... | Adding gensym to resolve_progn(); robustifying code | py |
diff --git a/gitpress/command.py b/gitpress/command.py
index <HASH>..<HASH> 100644
--- a/gitpress/command.py
+++ b/gitpress/command.py
@@ -6,8 +6,8 @@ Implements the command-line interface of Gitpress.
Usage:
- gitpress preview [--out <dir>] [<path>] [<address>]
- gitpress build [--out <dir>] [<path>]
+ gitpres... | Renamed 'path' to 'directory' in preview/build. | py |
diff --git a/pymatgen/entries/tests/test_compatibility.py b/pymatgen/entries/tests/test_compatibility.py
index <HASH>..<HASH> 100644
--- a/pymatgen/entries/tests/test_compatibility.py
+++ b/pymatgen/entries/tests/test_compatibility.py
@@ -1536,10 +1536,10 @@ class TestCorrectionErrorsCompatibility(unittest.TestCase):
... | fix for renaming error to uncertainty | py |
diff --git a/userena/contrib/umessages/fields.py b/userena/contrib/umessages/fields.py
index <HASH>..<HASH> 100644
--- a/userena/contrib/umessages/fields.py
+++ b/userena/contrib/umessages/fields.py
@@ -12,7 +12,7 @@ class CommaSeparatedUserInput(widgets.Input):
value = ''
elif isinstance(value, (... | Blank super is not allowed in Python <I> Still supported by Django <I> | py |
diff --git a/pyinstrument/middleware.py b/pyinstrument/middleware.py
index <HASH>..<HASH> 100644
--- a/pyinstrument/middleware.py
+++ b/pyinstrument/middleware.py
@@ -1,9 +1,14 @@
+import io
+import os
+import sys
+import time
+
from django.http import HttpResponse
from django.conf import settings
+
from pyinstrumen... | issue-<I> -- Set encoding to UTF-8 when opening file for writing | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -21,7 +21,7 @@ for dirpath, dirnames, filenames in os.walk('datatableview'):
pkg = pkg.replace(os.path.altsep, '.')
packages.append(pkg)
elif filenames:
- # strip 'simple_history/' or 'simple_... | Small typo - should be good to go. | py |
diff --git a/holoviews/core/data.py b/holoviews/core/data.py
index <HASH>..<HASH> 100644
--- a/holoviews/core/data.py
+++ b/holoviews/core/data.py
@@ -1537,6 +1537,11 @@ class GridColumns(DictColumns):
dimensions = columns.dimensions(label=True)
arrays = [columns.data[vdim.name] for vdim in columns.vd... | Enforced samples have uniform length on GridColumns | py |
diff --git a/salt/utils/aws.py b/salt/utils/aws.py
index <HASH>..<HASH> 100644
--- a/salt/utils/aws.py
+++ b/salt/utils/aws.py
@@ -260,7 +260,7 @@ def sig4(method, endpoint, params, prov_dict,
# Create payload hash (hash of the request body content). For GET
# requests, the payload is an empty string ('').
... | Made sure that unicoded data is sent to sha<I>() | py |
diff --git a/crossplane/__init__.py b/crossplane/__init__.py
index <HASH>..<HASH> 100644
--- a/crossplane/__init__.py
+++ b/crossplane/__init__.py
@@ -10,7 +10,7 @@ __title__ = 'crossplane'
__summary__ = 'Reliable and fast NGINX configuration file parser.'
__url__ = 'https://github.com/nginxinc/crossplane'
-__versi... | Increased version to <I> | py |
diff --git a/pyprf_feature/analysis/utils_hrf.py b/pyprf_feature/analysis/utils_hrf.py
index <HASH>..<HASH> 100755
--- a/pyprf_feature/analysis/utils_hrf.py
+++ b/pyprf_feature/analysis/utils_hrf.py
@@ -330,9 +330,14 @@ def cnvl_tc(idxPrc, aryPrfTcChunk, lstHrf, varTr, varNumVol, varTmpOvsmpl,
# determine output s... | Added exception for varPar euqal to 1. - Reduce overhead of parallelization if only 1 core requested. | py |
diff --git a/discord/message.py b/discord/message.py
index <HASH>..<HASH> 100644
--- a/discord/message.py
+++ b/discord/message.py
@@ -172,12 +172,6 @@ class Message:
def _update(self, channel, data):
self.channel = channel
- for handler in ('author', 'mentions', 'mention_roles', 'call'):
- ... | Call message edit handlers after attempting to patch individual fields | py |
diff --git a/extra_views/formsets.py b/extra_views/formsets.py
index <HASH>..<HASH> 100644
--- a/extra_views/formsets.py
+++ b/extra_views/formsets.py
@@ -42,9 +42,9 @@ class BaseFormSetMixin(object):
def get_initial(self):
"""
- Returns the initial data to use for formsets on this view.
+ ... | Addressed issue with inital data not being copied. | py |
diff --git a/dispatch/themes/ubyssey/views.py b/dispatch/themes/ubyssey/views.py
index <HASH>..<HASH> 100644
--- a/dispatch/themes/ubyssey/views.py
+++ b/dispatch/themes/ubyssey/views.py
@@ -22,11 +22,16 @@ class UbysseyTheme(DefaultTheme):
def get_article_meta(self, article):
+ try:
+ image ... | bug fix: missing featured image in article seo meta | py |
diff --git a/will/listener.py b/will/listener.py
index <HASH>..<HASH> 100644
--- a/will/listener.py
+++ b/will/listener.py
@@ -124,7 +124,7 @@ class WillXMPPClientMixin(ClientXMPP, RosterMixin, RoomMixin, HipChatMixin):
sent_directly_to_me = False
# If it's sent directly to me, strip... | Update listener.py Add ability to answer from mentions @Will, @WILL, @will, @WilL and others | py |
diff --git a/berserker_resolver/extra.py b/berserker_resolver/extra.py
index <HASH>..<HASH> 100644
--- a/berserker_resolver/extra.py
+++ b/berserker_resolver/extra.py
@@ -1,12 +1,16 @@
from berserker_resolver import Resolver
def detect_tries(domain='youtube.com', cycles=100, **kwargs):
- tries = 0
- max_lengt... | wrong/non-working logic fixed | py |
diff --git a/package/setup.py b/package/setup.py
index <HASH>..<HASH> 100644
--- a/package/setup.py
+++ b/package/setup.py
@@ -52,6 +52,7 @@ The main purpose is to depend only on Python's standard libraries (at least vers
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
... | mention compatibility with python3 of course --HG-- branch : python3-transition | py |
diff --git a/pycollocation/solvers/solvers.py b/pycollocation/solvers/solvers.py
index <HASH>..<HASH> 100644
--- a/pycollocation/solvers/solvers.py
+++ b/pycollocation/solvers/solvers.py
@@ -262,10 +262,7 @@ class Solver(SolverLike):
return solution
-class LeastSquaresSolver(SolverLike):
-
- def __init_... | Changed the inheritance structure for solvers. | py |
diff --git a/psiturk/version.py b/psiturk/version.py
index <HASH>..<HASH> 100644
--- a/psiturk/version.py
+++ b/psiturk/version.py
@@ -1 +1 @@
-version_number = '1.0.3dev'
+version_number = '1.0.4dev' | version number bumped (try 2) | py |
diff --git a/gooey/gui/widgets/widget_pack.py b/gooey/gui/widgets/widget_pack.py
index <HASH>..<HASH> 100644
--- a/gooey/gui/widgets/widget_pack.py
+++ b/gooey/gui/widgets/widget_pack.py
@@ -79,7 +79,8 @@ class BaseFileChooser(BaseChooser):
if result:
# self.text_box references a field on the class this is... | Swapping out method calls - issue #<I> | py |
diff --git a/example/example/settings.py b/example/example/settings.py
index <HASH>..<HASH> 100644
--- a/example/example/settings.py
+++ b/example/example/settings.py
@@ -70,7 +70,6 @@ AWS_ACCESS_KEY_ID = ''
AWS_SECRET_ACCESS_KEY = ''
AWS_STORAGE_BUCKET_NAME = ''
S3DIRECT_REGION = 'us-east-1'
-S3DIRECT_UNIQUE_RENAME... | Removed old option from example app. | py |
diff --git a/multihash.py b/multihash.py
index <HASH>..<HASH> 100644
--- a/multihash.py
+++ b/multihash.py
@@ -45,6 +45,7 @@ class Func(Enum):
sha2_512 = 0x13
# See jbenet/multihash#11 for new SHA-3 function names and codes.
sha3_512 = 0x14
+ sha3 = sha3_512 # deprecated, for backwards compatibility
... | declare ``sha3`` as an alias of ``sha3_<I>`` For backwards compatibiliy. See jbenet/multihash#<I>. | py |
diff --git a/nanoplot/NanoPlot.py b/nanoplot/NanoPlot.py
index <HASH>..<HASH> 100755
--- a/nanoplot/NanoPlot.py
+++ b/nanoplot/NanoPlot.py
@@ -118,7 +118,7 @@ def getInput(stamp, args):
Handle is passed to the proper functions to get DataFrame with metrics
'''
if args.fastq:
- datadf = nanoget.processFastq(args.... | renamed function to processFastqPlain() | py |
diff --git a/bibo.py b/bibo.py
index <HASH>..<HASH> 100644
--- a/bibo.py
+++ b/bibo.py
@@ -85,11 +85,11 @@ def open_file(filepath):
Copied from https://stackoverflow.com/a/435669/1224456
"""
if sys.platform.startswith('darwin'):
- subprocess.call(('open', filepath))
+ subprocess.Popen(('ope... | Run xdg-open with non blocking command | py |
diff --git a/flux_led/models_db.py b/flux_led/models_db.py
index <HASH>..<HASH> 100755
--- a/flux_led/models_db.py
+++ b/flux_led/models_db.py
@@ -253,7 +253,7 @@ MODELS = [
LEDENETModel(
model_num=0x21,
models=[],
- description="Magic Home Branded Single Channel Controller",
+ desc... | Correct 0x<I> description (#<I>) | py |
diff --git a/gns3server/modules/qemu/qemu_vm.py b/gns3server/modules/qemu/qemu_vm.py
index <HASH>..<HASH> 100644
--- a/gns3server/modules/qemu/qemu_vm.py
+++ b/gns3server/modules/qemu/qemu_vm.py
@@ -657,6 +657,10 @@ class QemuVM(BaseVM):
options = options.replace("-no-kvm", "")
if "-enable... | Automatically add the -no-kvm option if -icount is detected to help with the migration of ASA VMs created before version <I> | py |
diff --git a/tests/test_manager_graph.py b/tests/test_manager_graph.py
index <HASH>..<HASH> 100644
--- a/tests/test_manager_graph.py
+++ b/tests/test_manager_graph.py
@@ -2,6 +2,7 @@
import logging
import os
+import time
import unittest
from collections import Counter
@@ -52,6 +53,8 @@ class TestNetworkCache(Be... | Add sleep in case precision problem on travis These tests pass locally but not o the test server | py |
diff --git a/openquake/commonlib/calculators/hazard.py b/openquake/commonlib/calculators/hazard.py
index <HASH>..<HASH> 100644
--- a/openquake/commonlib/calculators/hazard.py
+++ b/openquake/commonlib/calculators/hazard.py
@@ -125,6 +125,7 @@ def classical(sources, sitecol, trt_gsims, monitor):
sources, si... | Added a check on zero curves | py |
diff --git a/pandas/core/reshape/melt.py b/pandas/core/reshape/melt.py
index <HASH>..<HASH> 100644
--- a/pandas/core/reshape/melt.py
+++ b/pandas/core/reshape/melt.py
@@ -42,7 +42,7 @@ def melt(
if value_name in frame.columns:
warnings.warn(
"This dataframe has a column name that matches the ... | Fix typo in melt value_name futurewarning (#<I>) | py |
diff --git a/cumulusci/tasks/push/push_api.py b/cumulusci/tasks/push/push_api.py
index <HASH>..<HASH> 100644
--- a/cumulusci/tasks/push/push_api.py
+++ b/cumulusci/tasks/push/push_api.py
@@ -85,7 +85,6 @@ class MetadataPackageVersion(BasePushApiObject):
return self.package.get_package_version_objs(where)
... | [CCI] Removing breakpoints | py |
diff --git a/pysat/_instrument.py b/pysat/_instrument.py
index <HASH>..<HASH> 100644
--- a/pysat/_instrument.py
+++ b/pysat/_instrument.py
@@ -1402,19 +1402,13 @@ class Instrument(object):
# ensure data is unique and monotonic
# check occurs after all the data padding loads, or individual load
... | STY: revert to original error message | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.