diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/huey/registry.py b/huey/registry.py
index <HASH>..<HASH> 100644
--- a/huey/registry.py
+++ b/huey/registry.py
@@ -78,11 +78,15 @@ class TaskRegistry(object):
"""Convert a message from the queue into a task"""
# parse out the pieces from the enqueued message
raw = pickle.loads(msg... | Implement equivalent fix for #<I>. | py |
diff --git a/src/foremast/__main__.py b/src/foremast/__main__.py
index <HASH>..<HASH> 100644
--- a/src/foremast/__main__.py
+++ b/src/foremast/__main__.py
@@ -61,7 +61,13 @@ def add_tester(subparsers):
"""Test Spinnaker setup."""
tester_parser = subparsers.add_parser(
'tester', help=add_tester.__doc_... | fix: Move all tester runner to subcommand | py |
diff --git a/openfisca_core/simulations.py b/openfisca_core/simulations.py
index <HASH>..<HASH> 100644
--- a/openfisca_core/simulations.py
+++ b/openfisca_core/simulations.py
@@ -428,6 +428,22 @@ class Simulation(object):
# ----- Misc ----- #
+ def delete_arrays(self, variable, period):
+ """
+ ... | WIP simulation.delete_arrays (needs test) | py |
diff --git a/djangocms_page_meta/__init__.py b/djangocms_page_meta/__init__.py
index <HASH>..<HASH> 100644
--- a/djangocms_page_meta/__init__.py
+++ b/djangocms_page_meta/__init__.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, unicode_literals
-__version__ = '0.8.... | Bump development version [ci skip] | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,8 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
-from __future__ import unicode_literals
-
from setuptools import setup, find_packages | don't use unicode literals in setup.py (#<I>) | py |
diff --git a/rtree/index.py b/rtree/index.py
index <HASH>..<HASH> 100644
--- a/rtree/index.py
+++ b/rtree/index.py
@@ -6,9 +6,10 @@ import pprint
from . import core
import ctypes
try:
- import pickle as pickle
+ import cPickle as pickle
except ImportError:
import pickle
+
import sys
if 2==(sys.version_... | fix up issue noted by Kelsey from 2to3 in #<I> | py |
diff --git a/bot/manager.py b/bot/manager.py
index <HASH>..<HASH> 100644
--- a/bot/manager.py
+++ b/bot/manager.py
@@ -5,7 +5,7 @@ from bot.action.core.command import CommandAction
from bot.action.core.filter import MessageAction, TextMessageAction, NoPendingAction, EditedMessageAction, PendingAction, \
NoForward... | Add ListVoiceAction to manager | py |
diff --git a/mysql/toolkit/components/connector.py b/mysql/toolkit/components/connector.py
index <HASH>..<HASH> 100644
--- a/mysql/toolkit/components/connector.py
+++ b/mysql/toolkit/components/connector.py
@@ -23,6 +23,7 @@ class Connector:
# Get original config and change database key
config = self.... | Added updating of self.database attribute to change_dbs method | py |
diff --git a/bokeh/mpl.py b/bokeh/mpl.py
index <HASH>..<HASH> 100644
--- a/bokeh/mpl.py
+++ b/bokeh/mpl.py
@@ -59,6 +59,19 @@ def axes2plot(axes):
# else:
# warnings.warn("Not yet implemented: %r" % collection)
+ # Grid set up
+ grid = axes.get_xgridlines()[0]
+ grid_line_color = grid.get... | Added grid support to mpl. | py |
diff --git a/rdt/transformers/boolean.py b/rdt/transformers/boolean.py
index <HASH>..<HASH> 100644
--- a/rdt/transformers/boolean.py
+++ b/rdt/transformers/boolean.py
@@ -77,5 +77,8 @@ class BooleanTransformer(BaseTransformer):
if self.nan is not None:
data = self.null_transformer.reverse_transfor... | if the data type is ndarray transform it into a pandas series | py |
diff --git a/nipap/nipap/nipap.py b/nipap/nipap/nipap.py
index <HASH>..<HASH> 100644
--- a/nipap/nipap/nipap.py
+++ b/nipap/nipap/nipap.py
@@ -1724,16 +1724,12 @@ class Nipap:
}
elif query['operator'] in (
- 'equals',
- 'not_equals',
... | Fix COALESCE search We do COALESCE for some columns and operators to be able to match a description with a regexp search for '.*' even when it is NULL. We also did this for the equal operator (=) which proved to be less successfull, thus backing out that change. In a way, part of #<I> Also part of #<I>, where we back... | py |
diff --git a/trimesh/triangles.py b/trimesh/triangles.py
index <HASH>..<HASH> 100644
--- a/trimesh/triangles.py
+++ b/trimesh/triangles.py
@@ -266,11 +266,11 @@ def mass_properties(triangles,
(volume * (center_mass[[0, 2]]**2).sum())
inertia[2, 2] = integrated[4] + integrated[5] - \
(volume * (ce... | Fix in the triangles.py class for the moment of inertia computation: A flipped sign, see given reference. | py |
diff --git a/hug/types.py b/hug/types.py
index <HASH>..<HASH> 100644
--- a/hug/types.py
+++ b/hug/types.py
@@ -112,7 +112,7 @@ class Text(Type):
__slots__ = ()
def __call__(self, value):
- if type(value) in (list, tuple):
+ if type(value) in (list, tuple) or value is None:
raise V... | Implement improved behaviour for null within Text type | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -38,9 +38,7 @@ setup(
packages=find_packages(exclude=["qa_tests", "qa_tests.*",
"tools", "tests", "tests.*",
"openquake.bin",
- ... | old directories removed from excluded packages list Former-commit-id: c<I>ab7e3ae5b<I>c5f<I>af8f<I>b<I>b | py |
diff --git a/pysoa/server/server.py b/pysoa/server/server.py
index <HASH>..<HASH> 100644
--- a/pysoa/server/server.py
+++ b/pysoa/server/server.py
@@ -107,6 +107,7 @@ class Server(object):
raise AttributeError('Server subclass must set service_name')
self._async_event_loop = None
+ self._... | [PATCH] Guarantee Server always has _async_event_loop_thread attribute A bug was introduced for servers without `asyncio` support, because the `_async_event_loop_thread` attribute is not set in that scenario, but we try to access it by using `self._async_event_loop_thread` afterwards. This guarantees we always have t... | py |
diff --git a/src/toil/batchSystems/torque.py b/src/toil/batchSystems/torque.py
index <HASH>..<HASH> 100644
--- a/src/toil/batchSystems/torque.py
+++ b/src/toil/batchSystems/torque.py
@@ -20,6 +20,7 @@ import subprocess
import time
import math
import sys
+import shlex
import xml.etree.ElementTree as ET
import tempf... | Evironment variable for other Torque args beyond resources requirements. | py |
diff --git a/synapse/lib/certdir.py b/synapse/lib/certdir.py
index <HASH>..<HASH> 100644
--- a/synapse/lib/certdir.py
+++ b/synapse/lib/certdir.py
@@ -592,6 +592,9 @@ class CertDir:
Examples:
importFile('mycoolca.crt', 'cas')
+ Notes:
+ importFile does not perform any validatio... | Add notes about lack of importFile validation | py |
diff --git a/pyemma/coordinates/transform/vamp.py b/pyemma/coordinates/transform/vamp.py
index <HASH>..<HASH> 100644
--- a/pyemma/coordinates/transform/vamp.py
+++ b/pyemma/coordinates/transform/vamp.py
@@ -275,13 +275,11 @@ class VAMPModel(Model, SerializableMixIn):
singular value. Note that only the le... | [vamp] use gesvd as lapack method to solve the svd problem. There had been some numerical issues with small epsilons, by using the gesvd method, these examples works as well. | py |
diff --git a/django_mustache/engine.py b/django_mustache/engine.py
index <HASH>..<HASH> 100644
--- a/django_mustache/engine.py
+++ b/django_mustache/engine.py
@@ -70,10 +70,16 @@ class Template(object):
self.template = template
self.backend = backend
- def render(self, context, request):
+ def... | Compatibility with django-cms plugin rendering | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -19,7 +19,7 @@ def install_certs(cmd):
INSTALL_CERTS = \
"/Applications/Python 3.6/Install Certificates.command"
if not isfile(INSTALL_CERTS) or call(INSTALL_CERTS) != 0:
- ... | fixed error raising in setup.py | py |
diff --git a/bcbio/pipeline/variation.py b/bcbio/pipeline/variation.py
index <HASH>..<HASH> 100644
--- a/bcbio/pipeline/variation.py
+++ b/bcbio/pipeline/variation.py
@@ -30,7 +30,9 @@ def summarize_vc(items):
if s not in sample_order:
sample_order.append(s)
if data.get("vrn_file"... | CWL: avoid duplicate file names with no calling batches When grouping together pre-called variant inputs for validation, avoid using batch names as outputs since these are not called together (only evaluated together) and don't contain all sample inputs. | py |
diff --git a/afkak/consumer.py b/afkak/consumer.py
index <HASH>..<HASH> 100644
--- a/afkak/consumer.py
+++ b/afkak/consumer.py
@@ -92,7 +92,7 @@ class Consumer(object):
:ivar str consumer_group:
Optional consumer group ID for committing offsets of processed
messages back to Kafka.
- :ivar str ... | Correct the type of commit_metadata It is bytes, not str. | py |
diff --git a/dingo/tools/config.py b/dingo/tools/config.py
index <HASH>..<HASH> 100644
--- a/dingo/tools/config.py
+++ b/dingo/tools/config.py
@@ -24,6 +24,7 @@ Option2 = value2 \n
"""
import os.path as path
+import dingo
try:
import configparser as cp
@@ -35,7 +36,8 @@ cfg = cp.RawConfigParser()
_loaded =... | use dingo's package path as root in config | py |
diff --git a/py3status/parse_config.py b/py3status/parse_config.py
index <HASH>..<HASH> 100644
--- a/py3status/parse_config.py
+++ b/py3status/parse_config.py
@@ -250,10 +250,28 @@ class ConfigParser:
return value[1:-1].replace("\\'", "'")
return value
+ def unicode_escape_sequence_fix(self, ... | fix unicode escape sequences in config parsing | py |
diff --git a/paramz/model.py b/paramz/model.py
index <HASH>..<HASH> 100644
--- a/paramz/model.py
+++ b/paramz/model.py
@@ -180,8 +180,8 @@ class Model(Parameterized):
raise e
if len(self.optimization_runs):
- i = np.argmin([o.f_opt for o in self.optimization_runs])
- ... | fix bug in `model.optimize_restarts` that was assuming the underlying model has not changed. Now only searches the most recent randomized models and the current model. | py |
diff --git a/kolekto/printer.py b/kolekto/printer.py
index <HASH>..<HASH> 100644
--- a/kolekto/printer.py
+++ b/kolekto/printer.py
@@ -134,11 +134,13 @@ class KolektoPrinter(object):
def edit(self, text):
""" Edit a text using an external editor.
"""
+ if isinstance(text, unicode):
+ ... | Printer edit only encode unicode strings (fixes #<I>) Also use the printer encoding instead of the hardcoded one. | py |
diff --git a/mordred/_version.py b/mordred/_version.py
index <HASH>..<HASH> 100644
--- a/mordred/_version.py
+++ b/mordred/_version.py
@@ -1,2 +1,2 @@
# Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440
-__version__ = "0.1.10"
+__version__ = "0.1.11" | [release] Update version number to <I> | py |
diff --git a/bucketcache/utilities.py b/bucketcache/utilities.py
index <HASH>..<HASH> 100644
--- a/bucketcache/utilities.py
+++ b/bucketcache/utilities.py
@@ -226,8 +226,8 @@ def _raise_keys(keys, message):
def log_handled_exception(message, *args, **kwargs):
- logger.info('Handled exception: ' + message, *args... | Log handled exceptions as level 'info'. Fixes #1 | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -18,9 +18,11 @@
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
import os
-# import sys
-# sys.path.insert(0, os.path.abspath('.'))
+import sys
+sys.path.insert(0, os.path... | Update readthedocs config (#<I>) * Get Patroni version from patroni/version.py * Update copyright to match with the LICENSE file Fixes <URL> | py |
diff --git a/documenteer/sphinxconfig/stackconf.py b/documenteer/sphinxconfig/stackconf.py
index <HASH>..<HASH> 100644
--- a/documenteer/sphinxconfig/stackconf.py
+++ b/documenteer/sphinxconfig/stackconf.py
@@ -223,6 +223,7 @@ def _insert_automodapi_configs(c):
c['autosummary_generate'] = True
c['automodapi... | Enable automodsumm_inherited_members in config This configuration is critical: 1. It is actually responsible for ensuring that inherited members of classes appear in our docs. This is kind of the missing link. 2. If we don't use this, classes that have a __slots__ attribute (typically through inheritance of a ... | py |
diff --git a/qutepart/vim.py b/qutepart/vim.py
index <HASH>..<HASH> 100644
--- a/qutepart/vim.py
+++ b/qutepart/vim.py
@@ -233,8 +233,10 @@ class Visual(Mode):
newText = ''.join(newChars)
self._qpart.selectedText = newText
raise StopIteration(True)
+ elif len(action... | vim: ignore unknown commands. Do not type text | py |
diff --git a/src/rez/cli/env.py b/src/rez/cli/env.py
index <HASH>..<HASH> 100644
--- a/src/rez/cli/env.py
+++ b/src/rez/cli/env.py
@@ -62,7 +62,7 @@ def command(opts, parser):
if opts.input:
rc = ResolvedContext.load(opts.input)
- if rc.status != "solved":
+ if rc.status != ResolverStatus.... | + Fix up missed reference to old-style status | py |
diff --git a/validator/sawtooth_validator/execution/tp_state_handlers.py b/validator/sawtooth_validator/execution/tp_state_handlers.py
index <HASH>..<HASH> 100644
--- a/validator/sawtooth_validator/execution/tp_state_handlers.py
+++ b/validator/sawtooth_validator/execution/tp_state_handlers.py
@@ -83,10 +83,10 @@ class... | Fix TpStateSetHandler to return set response if a AuthorizationException occurs | py |
diff --git a/checker/tests/result_test.py b/checker/tests/result_test.py
index <HASH>..<HASH> 100644
--- a/checker/tests/result_test.py
+++ b/checker/tests/result_test.py
@@ -151,6 +151,7 @@ class FontToolsTest(TestCase):
url = 'http://fonts.googleapis.com/css?family=%s' % metadata['name'].replace(' ', '+')
... | If font is in GWF then check for visibility == 'External' | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -59,7 +59,7 @@ setup(name='aiohttp_admin',
platforms=['POSIX'],
author="Nikolay Novik",
author_email="nickolainovik@gmail.com",
- url='',
+ url='https://github.com/jettify/aiohttp_admin',
... | update url in setup.py | py |
diff --git a/pywal/sequences.py b/pywal/sequences.py
index <HASH>..<HASH> 100644
--- a/pywal/sequences.py
+++ b/pywal/sequences.py
@@ -28,6 +28,16 @@ def set_color(index, color):
return f"\033]4;{index};{color}\007"
+def set_iterm_tab_color(color):
+ """Set iTerm2 window color"""
+ red, green, blue = uti... | Adds support for changing tab bar color in iTerm | py |
diff --git a/docido_sdk/toolbox/date_ext.py b/docido_sdk/toolbox/date_ext.py
index <HASH>..<HASH> 100644
--- a/docido_sdk/toolbox/date_ext.py
+++ b/docido_sdk/toolbox/date_ext.py
@@ -26,7 +26,7 @@ class timestamp_ms(object):
elif isinstance(obj, datetime):
return cls.from_datetime(obj)
el... | raise same exception class than `dateutil` | py |
diff --git a/wsdiscovery/actions/probematch.py b/wsdiscovery/actions/probematch.py
index <HASH>..<HASH> 100755
--- a/wsdiscovery/actions/probematch.py
+++ b/wsdiscovery/actions/probematch.py
@@ -47,7 +47,10 @@ def parseProbeMatchMessage(dom):
env.setMessageId(dom.getElementsByTagNameNS(NS_A, "MessageID")[0].firs... | Avoid crash with ProbeMatch without To | py |
diff --git a/src/collectors/memory/memory.py b/src/collectors/memory/memory.py
index <HASH>..<HASH> 100644
--- a/src/collectors/memory/memory.py
+++ b/src/collectors/memory/memory.py
@@ -3,8 +3,6 @@
"""
This class collects data on memory utilization
-/proc/meminfo is used to gather the data, which is returned in un... | remove stale comment default unit is bytes across all plugins | py |
diff --git a/climlab/__init__.py b/climlab/__init__.py
index <HASH>..<HASH> 100644
--- a/climlab/__init__.py
+++ b/climlab/__init__.py
@@ -1,4 +1,4 @@
-__version__ = '0.4.1dev'
+__version__ = '0.4.1'
# This list defines all the modules that will be loaded if a user invokes
# from climLab import * | Set version number to <I> | py |
diff --git a/django_extensions/management/commands/shell_plus.py b/django_extensions/management/commands/shell_plus.py
index <HASH>..<HASH> 100644
--- a/django_extensions/management/commands/shell_plus.py
+++ b/django_extensions/management/commands/shell_plus.py
@@ -13,7 +13,10 @@ from django_extensions.management.util... | check if EDITOR environment variable is None | py |
diff --git a/openpnm/utils/Workspace.py b/openpnm/utils/Workspace.py
index <HASH>..<HASH> 100644
--- a/openpnm/utils/Workspace.py
+++ b/openpnm/utils/Workspace.py
@@ -344,7 +344,7 @@ class Workspace(dict):
# If _next_id has not been set, then assign it
self._next_id = 0
# But chec... | fixing bug in id gen | py |
diff --git a/tests/test_compressor_stream_writer.py b/tests/test_compressor_stream_writer.py
index <HASH>..<HASH> 100644
--- a/tests/test_compressor_stream_writer.py
+++ b/tests/test_compressor_stream_writer.py
@@ -308,12 +308,12 @@ class TestCompressor_stream_writer(unittest.TestCase):
params = zstd.get_fra... | tests: change window size and content digest in dictionary test It appears behavior changed between zstd <I> and <I>. This commit reflects that behavior change. | py |
diff --git a/tests/large_scale_evaluation.py b/tests/large_scale_evaluation.py
index <HASH>..<HASH> 100644
--- a/tests/large_scale_evaluation.py
+++ b/tests/large_scale_evaluation.py
@@ -1,5 +1,5 @@
"""
-Large Scale Copulas Evaluation.
+Large Scale Evaluation of Copulas.
This script is a command line module that ev... | update the help text for the CLI | py |
diff --git a/acceptancetests/reporting.py b/acceptancetests/reporting.py
index <HASH>..<HASH> 100644
--- a/acceptancetests/reporting.py
+++ b/acceptancetests/reporting.py
@@ -76,6 +76,7 @@ def get_reporting_client(uri):
port=parsed_uri.port,
username=parsed_uri.username,
password=parsed_uri.p... | Fix incompatibility between influx versions The following commit ensures that we always set the database name, as certain versions of influx don't work if that's not set. This seems like a regression in the API that has been fixed, but the client states that's optional when in fact it's mandatory :| | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -10,7 +10,7 @@ def read_file(the_file):
setup(name = 'transmogrify',
version = transmogrify.get_version() + "-gannett",
description = 'Allows for the dynamic alteration of images using the URL.',
- long_descripti... | some files are not transmitter with sdist upload. I took them out | py |
diff --git a/salt/payload.py b/salt/payload.py
index <HASH>..<HASH> 100644
--- a/salt/payload.py
+++ b/salt/payload.py
@@ -145,8 +145,8 @@ class SREQ(object):
'''
payload = {'enc': enc}
payload['load'] = load
- package = self.serial.dumps(payload)
- self.socket.send(package)
+ ... | payload.py: package -> pkg, to avoid shadowing func of same name | py |
diff --git a/example/cheeseshop/settings.py b/example/cheeseshop/settings.py
index <HASH>..<HASH> 100644
--- a/example/cheeseshop/settings.py
+++ b/example/cheeseshop/settings.py
@@ -99,6 +99,7 @@ INSTALLED_APPS = (
'cheeseshop.apps.catalog',
'cheeseshop.apps.storage',
'constance',
+ 'constance.backen... | Allow tests to run on django <I>+ | py |
diff --git a/ncpol2sdpa/sdp_relaxation.py b/ncpol2sdpa/sdp_relaxation.py
index <HASH>..<HASH> 100644
--- a/ncpol2sdpa/sdp_relaxation.py
+++ b/ncpol2sdpa/sdp_relaxation.py
@@ -55,7 +55,6 @@ class Relaxation(object):
self.y_mat = None
self.solution_time = None
self.status = "unsolved"
- ... | Constraint set hash check removed | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,12 +3,12 @@ from distutils.core import setup
setup(
name='basepage',
packages=['basepage'],
- version='1.6.8',
+ version='1.7',
description='A wrapper for WebDriver that provides some extended and addi... | Bump up the version to <I> for pypi Version string is set to <I> instead of <I>. | py |
diff --git a/src/build.py b/src/build.py
index <HASH>..<HASH> 100644
--- a/src/build.py
+++ b/src/build.py
@@ -102,6 +102,7 @@ class Build:
except:
raise FileNotFoundError('The specified file does not exist: ', 'src/application.js')
+ self._included_js_files = []
try:
... | only include files that are new and not already included | py |
diff --git a/ffmpeg_normalize/_logger.py b/ffmpeg_normalize/_logger.py
index <HASH>..<HASH> 100644
--- a/ffmpeg_normalize/_logger.py
+++ b/ffmpeg_normalize/_logger.py
@@ -3,20 +3,21 @@ from platform import system
import io
from tqdm import tqdm
from multiprocessing import Lock
+import sys
loggers = {}
# http... | log to stderr by default to enable JSON parsing | py |
diff --git a/i3pystatus/mpd.py b/i3pystatus/mpd.py
index <HASH>..<HASH> 100644
--- a/i3pystatus/mpd.py
+++ b/i3pystatus/mpd.py
@@ -101,11 +101,6 @@ class MPD(IntervalModule):
def on_rightclick(self):
try:
- vol = int(self._mpd_command(self.s, "status")["volume"])
- if vol == 0:
- ... | Next song on right click in MPD. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@ def read(fname):
setup(
- name = "bonsai",
+ name = "bonsai-code",
version = "0.1.0",
author = "Andre Santos",
author_email = "andre.f.santos@ine... | had to change project name, bonsai was taken | py |
diff --git a/pandas/tseries/tests/test_plotting.py b/pandas/tseries/tests/test_plotting.py
index <HASH>..<HASH> 100644
--- a/pandas/tseries/tests/test_plotting.py
+++ b/pandas/tseries/tests/test_plotting.py
@@ -81,7 +81,7 @@ class TestTSPlot(tm.TestCase):
df = DataFrame({'A': ["x", "y", "z"], 'B': [1,2,3]}, id... | CLN: test_plotting, specialize assert_ GH<I>: replacing "assert_" with specialized forms of assert | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -40,7 +40,6 @@ setup(
],
tests_require=[
"nose",
- # "mock",
"coverage",
"unittest2",
"elasticsearch>=1.4.0", | removed tox from setup.py | py |
diff --git a/bokeh/resources.py b/bokeh/resources.py
index <HASH>..<HASH> 100644
--- a/bokeh/resources.py
+++ b/bokeh/resources.py
@@ -280,7 +280,7 @@ class BaseResources(object):
return _get_cdn_urls(self.components, self.version, self.minified)
def _server_urls(self):
- return _get_server_urls(... | Allow to use server-dev resources (previously a no-op) | py |
diff --git a/tldap/fields.py b/tldap/fields.py
index <HASH>..<HASH> 100644
--- a/tldap/fields.py
+++ b/tldap/fields.py
@@ -243,8 +243,11 @@ class IntegerField(Field):
django.core.exceptions.ValidationError if the data can't be converted.
Returns the converted value. Subclasses should override this.
... | IntegerField should really be an integer. | py |
diff --git a/bcloud/Config.py b/bcloud/Config.py
index <HASH>..<HASH> 100644
--- a/bcloud/Config.py
+++ b/bcloud/Config.py
@@ -17,7 +17,7 @@ if __file__.startswith('/usr/local/'):
elif __file__.startswith('/usr/'):
PREF = '/usr/share'
elif __file__.startswith('/home/'):
- PREF = os.path.expanduser("~") + '/.l... | use os.path.join to join paths | py |
diff --git a/test/test_signature.py b/test/test_signature.py
index <HASH>..<HASH> 100644
--- a/test/test_signature.py
+++ b/test/test_signature.py
@@ -580,7 +580,11 @@ sh:
script = SoS_Script(r'''[1]
output: 'aa'
+
task:
+
+
+
sh:
echo aa > aa
''') | Add extra spaces to test ignoring space in tokenizer #<I> | 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='django-kendoui-backend',
- version='0.2',
+ version='0.3',
description='Kendo UI DataSource backend',
author='Tom Najdek',
author_email='tom@dopp... | Bumped version in setup.py | py |
diff --git a/pycli/command.py b/pycli/command.py
index <HASH>..<HASH> 100644
--- a/pycli/command.py
+++ b/pycli/command.py
@@ -12,18 +12,12 @@ class Command(Console):
Console.__init__(self)
self.name = name
self.childs = {}
- self.child_names = []
self.dynamic_args = dynamic_a... | Removing child_names from Command | py |
diff --git a/worker/setup.py b/worker/setup.py
index <HASH>..<HASH> 100755
--- a/worker/setup.py
+++ b/worker/setup.py
@@ -82,13 +82,11 @@ setup_args = {
'packages': [
"buildbot_worker",
+ "buildbot_worker.util",
+ "buildbot_worker.backports",
"buildbot_worker.commands",
... | fix buildbot_worker setup.py for sdist | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -38,7 +38,7 @@ with codecs.open(readme_md, encoding='utf-8') as f:
long_description = f.read()
-version = '0.2.6'
+version = '0.2.7'
class TestCommand(TestClass): | Increase version package to <I> | py |
diff --git a/wsgisession.py b/wsgisession.py
index <HASH>..<HASH> 100644
--- a/wsgisession.py
+++ b/wsgisession.py
@@ -13,10 +13,26 @@ class Session(object):
def __getitem__(self, key):
return self.data[key]
+ def __delitem__(self, key):
+ try:
+ del self.data[key]
+ except K... | add delete, len and iterable to session via containers magic methods | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,7 @@ from setuptools import find_packages
import admin_tools_zinnia
setup(
- name='admin_tools_zinnia',
+ name='admin-tools-zinnia',
version=admin_tools_zinnia.__version__,
description='Admin tool... | Change name of the package from admin_tools_zinnia to admin-tools-zinnia | py |
diff --git a/archivant/archivant.py b/archivant/archivant.py
index <HASH>..<HASH> 100644
--- a/archivant/archivant.py
+++ b/archivant/archivant.py
@@ -172,7 +172,9 @@ class Archivant():
def get_all_volumes(self):
'''iterate over all stored volumes'''
for raw_volume in self._db.iterate_all():
- ... | remove score from get_all_volumes results | py |
diff --git a/limitlessled/group/commands/v6.py b/limitlessled/group/commands/v6.py
index <HASH>..<HASH> 100644
--- a/limitlessled/group/commands/v6.py
+++ b/limitlessled/group/commands/v6.py
@@ -212,7 +212,7 @@ class CommandSetWhiteV6(CommandSetV6):
:param temperature: Value to set (0.0-1.0).
:return:... | Fix temperature command in CommandSetWhiteV6. | py |
diff --git a/ipywidgets/widgets/widget.py b/ipywidgets/widgets/widget.py
index <HASH>..<HASH> 100644
--- a/ipywidgets/widgets/widget.py
+++ b/ipywidgets/widgets/widget.py
@@ -187,7 +187,7 @@ class Widget(LoggingConfigurable):
"""Open a comm to the frontend if one isn't already open."""
if self.comm is... | Remove JS this from python | py |
diff --git a/buildozer/__init__.py b/buildozer/__init__.py
index <HASH>..<HASH> 100644
--- a/buildozer/__init__.py
+++ b/buildozer/__init__.py
@@ -6,7 +6,7 @@ Generic Python packager for Android / iOS. Desktop later.
'''
-__version__ = '0.38'
+__version__ = '0.39.dev0'
import os
import re | Bump to <I>.dev0 | py |
diff --git a/examples/parallel_for.py b/examples/parallel_for.py
index <HASH>..<HASH> 100644
--- a/examples/parallel_for.py
+++ b/examples/parallel_for.py
@@ -1,8 +1,10 @@
"""
This file demonstrates a parallel for loop using goless.
-The parallel for pattern is very simple,
+The "parallel for" pattern is very simple,... | pfor example wasn't using goroutine. :resolve #<I> | py |
diff --git a/pymc/trace.py b/pymc/trace.py
index <HASH>..<HASH> 100644
--- a/pymc/trace.py
+++ b/pymc/trace.py
@@ -14,7 +14,7 @@ class NpTrace(object):
self.f = compilef(vars)
self.vars = vars
self.varnames =map(str, vars)
- self.samples = dict((str(v), ListArray(v.dshape)) for v in se... | refactor len on ListArray | py |
diff --git a/pygccxml/parser/scanner.py b/pygccxml/parser/scanner.py
index <HASH>..<HASH> 100644
--- a/pygccxml/parser/scanner.py
+++ b/pygccxml/parser/scanner.py
@@ -218,11 +218,9 @@ class scanner_t(xml.sax.handler.ContentHandler):
file_text = self.__files_text.get(file_decl)
# Use lines and ... | Revert part of column change Use the start column of the comment on each line. Use the end column only on the last line. | py |
diff --git a/taxtastic/taxonomy.py b/taxtastic/taxonomy.py
index <HASH>..<HASH> 100644
--- a/taxtastic/taxonomy.py
+++ b/taxtastic/taxonomy.py
@@ -16,7 +16,7 @@
The Taxonomy class defines an object providing an interface to
the taxonomy database.
"""
-import csv
+
import logging
import random
import string
@@ -89... | select placeholder based on db engine | py |
diff --git a/testUSB1.py b/testUSB1.py
index <HASH>..<HASH> 100644
--- a/testUSB1.py
+++ b/testUSB1.py
@@ -124,7 +124,7 @@ class USBTransferTests(unittest.TestCase):
"""
USBPollerThread must exit by itself when context is destroyed.
"""
- context = usb1.LibUSBContext()
+ context... | Do not use deprecated class in tests. | py |
diff --git a/eqcorrscan/core/match_filter.py b/eqcorrscan/core/match_filter.py
index <HASH>..<HASH> 100644
--- a/eqcorrscan/core/match_filter.py
+++ b/eqcorrscan/core/match_filter.py
@@ -3113,8 +3113,8 @@ def _group_process(template_group, parallel, debug, cores, stream, daylong,
if not daylong:
k... | Change trim to slice to preserve trace Using trim method in _group_process destroys the stream for n_chunks > 1. | py |
diff --git a/pyinfra/facts/files.py b/pyinfra/facts/files.py
index <HASH>..<HASH> 100644
--- a/pyinfra/facts/files.py
+++ b/pyinfra/facts/files.py
@@ -68,7 +68,7 @@ class FindInFile(FactBase):
pattern = shlex_quote(pattern)
return (
- 'grep {0} {1} 2> /dev/null || '
+ 'grep -e ... | Use regex (`grep -e`) in `find_in_file` fact. | py |
diff --git a/lib/reda/importers/fzj_readbin.py b/lib/reda/importers/fzj_readbin.py
index <HASH>..<HASH> 100644
--- a/lib/reda/importers/fzj_readbin.py
+++ b/lib/reda/importers/fzj_readbin.py
@@ -154,12 +154,16 @@ class fzj_readbin(object):
)
# extract current injections
+ # Note this only wor... | [fzj_readbin] check if any injections were read from the mcf files | py |
diff --git a/nipap-cli/nipap_cli/nipap_cli.py b/nipap-cli/nipap_cli/nipap_cli.py
index <HASH>..<HASH> 100755
--- a/nipap-cli/nipap_cli/nipap_cli.py
+++ b/nipap-cli/nipap_cli/nipap_cli.py
@@ -364,9 +364,15 @@ def add_prefix(arg, opts):
args['family'] = family
- # try to automatically figure out type for ... | Use pool default type from CLI CLI should use the default type of a pool when allocating from that pool. Fixes #<I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -22,6 +22,23 @@ DESCRIPTION = "Icetea - test framework"
OWNER_NAMES = 'Jussi Vatjus-Anttila'
OWNER_EMAILS = 'jussi.vatjus-anttila@arm.com'
+INSTALL_REQUIRES = [
+ "prettytable",
+ "requests",
+ "... | Using different pyshark versions. (#<I>) | py |
diff --git a/elasticsearch_dsl/field.py b/elasticsearch_dsl/field.py
index <HASH>..<HASH> 100644
--- a/elasticsearch_dsl/field.py
+++ b/elasticsearch_dsl/field.py
@@ -99,6 +99,10 @@ class Date(Field):
FIELDS = (
'string',
'long',
+ 'integer',
+ 'float',
+ 'double',
+ 'boolean',
)
# generate t... | Adding other core types. Fixes #<I>, thanks gdchamal | py |
diff --git a/pyinfra/facts/apt.py b/pyinfra/facts/apt.py
index <HASH>..<HASH> 100644
--- a/pyinfra/facts/apt.py
+++ b/pyinfra/facts/apt.py
@@ -81,7 +81,7 @@ class DebPackages(FactBase):
'''
command = 'dpkg -l'
- regex = r'^[a-z]+\s+([a-zA-Z0-9\+\-\.]+):?[a-zA-Z0-9]*\s+([a-zA-Z0-9:~\.\-\+]+).+$'
+ rege... | facts/apt.py: improve installed packages regex (man dpkg-query) | py |
diff --git a/inplaceeditform/commons.py b/inplaceeditform/commons.py
index <HASH>..<HASH> 100644
--- a/inplaceeditform/commons.py
+++ b/inplaceeditform/commons.py
@@ -17,6 +17,10 @@ except ImportError:
def get_dict_from_obj(obj):
+ '''
+ Edit to get the dict even when the object is a GenericRelatedObjectMana... | Added a try catch to get the dict even when the object is a GenericRelatedObjectManager. | py |
diff --git a/openfisca_core/holders.py b/openfisca_core/holders.py
index <HASH>..<HASH> 100644
--- a/openfisca_core/holders.py
+++ b/openfisca_core/holders.py
@@ -210,8 +210,11 @@ class Holder(object):
else:
array += intersection_array
... | When computing the value of a boolean or fixed integer holder, use the value for the first period. | py |
diff --git a/giotto/programs/tables.py b/giotto/programs/tables.py
index <HASH>..<HASH> 100644
--- a/giotto/programs/tables.py
+++ b/giotto/programs/tables.py
@@ -24,6 +24,6 @@ def blast_tables():
yn = raw_input(msg)
if yn.lower() != 'y':
return "Aborting"
- get_config('Base').metadata.drop_al... | fixed problem with making new tables when engine was renamed to db_engine | py |
diff --git a/networkzero/discovery.py b/networkzero/discovery.py
index <HASH>..<HASH> 100644
--- a/networkzero/discovery.py
+++ b/networkzero/discovery.py
@@ -433,7 +433,23 @@ def discover(name, wait_for_s=60):
:returns: the address found or None
"""
_start_beacon()
- return _rpc("discover", name, wai... | Avoid a deadlock between discovery & advertising (if discovery is initiated first) | py |
diff --git a/tools/c7n_azure/setup.py b/tools/c7n_azure/setup.py
index <HASH>..<HASH> 100644
--- a/tools/c7n_azure/setup.py
+++ b/tools/c7n_azure/setup.py
@@ -26,7 +26,7 @@ if path.exists(readme):
setup(
name="c7n_azure",
- version='0.5',
+ version='0.5.2',
description="Cloud Custodian - Azure Suppor... | azure - push version <I> (#<I>) | py |
diff --git a/rewind/server/test/test_rewind.py b/rewind/server/test/test_rewind.py
index <HASH>..<HASH> 100644
--- a/rewind/server/test/test_rewind.py
+++ b/rewind/server/test/test_rewind.py
@@ -17,6 +17,7 @@
"""Test overall Rewind execution."""
from __future__ import print_function
import contextlib
+import re
imp... | Sorting imports in alphabetical order | py |
diff --git a/prospector/run.py b/prospector/run.py
index <HASH>..<HASH> 100644
--- a/prospector/run.py
+++ b/prospector/run.py
@@ -78,6 +78,12 @@ def make_arg_parser():
" message information)",
)
+ parser.add_argument(
+ '-8', '--no-style-warnings', default=False, action='store_true',
+ ... | Adding the "no pep8" switch | py |
diff --git a/examples/tilechain_invaders.py b/examples/tilechain_invaders.py
index <HASH>..<HASH> 100644
--- a/examples/tilechain_invaders.py
+++ b/examples/tilechain_invaders.py
@@ -12,11 +12,11 @@ def main():
original_colors = t.get_tilechain_colors()
num_tiles = t.get_tile_count()
- durati... | rapid=True to do it in parallel, and changed the colors to make the invaders easier to see | py |
diff --git a/libextract/coretools.py b/libextract/coretools.py
index <HASH>..<HASH> 100644
--- a/libextract/coretools.py
+++ b/libextract/coretools.py
@@ -20,7 +20,12 @@ def above_threshold(score):
return proc
-def pipeline(data, functions):
- for item in functions:
- data = item(data)
- return da... | replaced 'funcs' argument in pipeline with *args | py |
diff --git a/interest/service.py b/interest/service.py
index <HASH>..<HASH> 100644
--- a/interest/service.py
+++ b/interest/service.py
@@ -66,6 +66,13 @@ class Service(dict):
def __call__(self, request):
return (yield from self.process(request))
+ def __repr__(self):
+ template = (
+ ... | added __repr__ to the service | py |
diff --git a/tchannel/tornado/connection.py b/tchannel/tornado/connection.py
index <HASH>..<HASH> 100644
--- a/tchannel/tornado/connection.py
+++ b/tchannel/tornado/connection.py
@@ -24,7 +24,6 @@ import logging
import os
import socket
import sys
-from Queue import Empty
import tornado.gen
import tornado.iostrea... | [py] Fix tornado <I> compatibility | py |
diff --git a/argos/repo/rtiplugins/hdf5.py b/argos/repo/rtiplugins/hdf5.py
index <HASH>..<HASH> 100644
--- a/argos/repo/rtiplugins/hdf5.py
+++ b/argos/repo/rtiplugins/hdf5.py
@@ -100,6 +100,16 @@ def dataSetElementType(dtype, dimensionalityString):
return "string {} {} length = {}"\
... | Show variable length array in HDF5 type information. Note that, currently, variable length arrays cannot be displayed in any inspector! In general, they cannot be loaded in a numpy array, only in some cases. Therefore, they are hard to handle generically. Even the h5py documentation says it's better to consider using ... | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -31,7 +31,7 @@ def get_packages():
setup(name='lettuce',
version=version,
description='Behaviour Driven Development for python',
- author=u'Gabriel Falcão',
+ author=u'Gabriel Falcao',
author_email='gabri... | changing my name to avoid unicode issues. closes #<I>, hope it helps @rudylattae and @pats | py |
diff --git a/alerta/common/alert.py b/alerta/common/alert.py
index <HASH>..<HASH> 100644
--- a/alerta/common/alert.py
+++ b/alerta/common/alert.py
@@ -106,7 +106,8 @@ class Alert(object):
self.receive_time = datetime.datetime.utcnow()
def __repr__(self):
- return 'Alert(header=%r, alert=%r)' % (s... | fix Alert and AlertDocument repr methods | py |
diff --git a/tests/test_dynamodb.py b/tests/test_dynamodb.py
index <HASH>..<HASH> 100644
--- a/tests/test_dynamodb.py
+++ b/tests/test_dynamodb.py
@@ -134,3 +134,25 @@ def test_waiter_table_exists_failure(dynamodb_client):
yield from waiter.wait(
TableName='unknown',
WaiterConfig=dict... | Added another test for dynamodb table_exists waiter | py |
diff --git a/telebot/types.py b/telebot/types.py
index <HASH>..<HASH> 100644
--- a/telebot/types.py
+++ b/telebot/types.py
@@ -228,8 +228,9 @@ class Document(JsonDeserializable):
obj = cls.check_json(json_string)
file_id = obj['file_id']
thumb = None
- if 'file_id' in obj['thumb']:
- ... | Fix api's document change. | py |
diff --git a/dashboard/containers/dispatcher/fontprojects.py b/dashboard/containers/dispatcher/fontprojects.py
index <HASH>..<HASH> 100755
--- a/dashboard/containers/dispatcher/fontprojects.py
+++ b/dashboard/containers/dispatcher/fontprojects.py
@@ -948,6 +948,15 @@ git_repos = [
]
if __name__ == '__main__':
+ pr... | exporting the current list as a CSV file | py |
diff --git a/src/facebook.py b/src/facebook.py
index <HASH>..<HASH> 100755
--- a/src/facebook.py
+++ b/src/facebook.py
@@ -155,21 +155,18 @@ class GraphAPI(object):
"""Deletes the object with the given ID from the graph."""
self.request(id, post_args={"method": "delete"})
- def put_photo(self, im... | Image needs to be a file-like object to support thing like App Engine Removed an extra print | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.