diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/ags_publishing_tools/MapServicePublisher.py b/ags_publishing_tools/MapServicePublisher.py
index <HASH>..<HASH> 100644
--- a/ags_publishing_tools/MapServicePublisher.py
+++ b/ags_publishing_tools/MapServicePublisher.py
@@ -147,6 +147,7 @@ class MapServicePublisher:
validate=False
... | Deletes MapDocument object in loop GES-<I> | py |
diff --git a/examples/ondisk.py b/examples/ondisk.py
index <HASH>..<HASH> 100644
--- a/examples/ondisk.py
+++ b/examples/ondisk.py
@@ -71,7 +71,7 @@ Create a sample dataset (from the
>>> times = pd.date_range('2000-01-01', '2001-12-31', name='time')
>>> annual_cycle = np.sin(2 * np.pi * (times.dayofyear / 365... | fix ondisk example for pandas <I> compat In pandas>=<I>, pd.date_range returns a pd.Index rather than a np.ndarray and therefore the result does not have a reshape method. To maintain compatability with earlier versions, we use `np.array(annual_cycle)` rather `annual_cycle.values`, which is not a valid ndarray propert... | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -465,8 +465,7 @@ ext_data = dict(
'pandas/src/datetime/np_datetime_strings.c']},
algos={'pyxfile': 'algos',
'pxdfiles': ['src/util'],
- 'depends': [srcpath('generated', suffix... | BLD: remove generated dep from algos.pyx build | py |
diff --git a/test/test_capture_output.py b/test/test_capture_output.py
index <HASH>..<HASH> 100644
--- a/test/test_capture_output.py
+++ b/test/test_capture_output.py
@@ -1,13 +1,25 @@
+import pytest
+
from noodles import run_process, schedule, serial
+try:
+ import msgpack # noqa
+ has_msgpack = True
+except... | add skiptest when msgpack not installed and test without it | py |
diff --git a/eli5/keras/explain_prediction.py b/eli5/keras/explain_prediction.py
index <HASH>..<HASH> 100644
--- a/eli5/keras/explain_prediction.py
+++ b/eli5/keras/explain_prediction.py
@@ -116,7 +116,7 @@ def explain_prediction_keras(estimator, # type: Model
weights, activations, grads, predicted_idx, predicted_... | Use tuple unpacking to get image from batch | py |
diff --git a/angr/procedures/linux_kernel/sysinfo.py b/angr/procedures/linux_kernel/sysinfo.py
index <HASH>..<HASH> 100644
--- a/angr/procedures/linux_kernel/sysinfo.py
+++ b/angr/procedures/linux_kernel/sysinfo.py
@@ -36,3 +36,4 @@ class sysinfo(angr.SimProcedure):
'mem_unit': 13
}
s... | I'm feeling successful today (#<I>) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -39,7 +39,7 @@ setup(
'Django==1.9.12',
'djangorestframework==3.3.2',
'dj-database-url==0.3.0',
- 'psycopg2==2.6.2',
+ 'psycopg2==2.7.1',
'raven==5.32.0',
'django-filt... | Bump psycopg2 version for manylinux builds | py |
diff --git a/invenio_communities/webpack.py b/invenio_communities/webpack.py
index <HASH>..<HASH> 100644
--- a/invenio_communities/webpack.py
+++ b/invenio_communities/webpack.py
@@ -44,7 +44,7 @@ communities = WebpackThemeBundle(
"@semantic-ui-react/css-patch": "^1.0.0",
"react-router... | dependencies: bump react invenio deposit | py |
diff --git a/MQ2/__init__.py b/MQ2/__init__.py
index <HASH>..<HASH> 100644
--- a/MQ2/__init__.py
+++ b/MQ2/__init__.py
@@ -113,7 +113,7 @@ def get_matrix_dimensions(filename):
stream.close()
-def read_input_file(filename, sep='\t'):
+def read_input_file(filename, sep='\t', noquote=False):
"""Reads... | Add option to strip down the quotes when reading in a csv file | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -12,10 +12,16 @@ with open('tilematrix/__init__.py') as f:
version = version.strip("'")
continue
+# use README.rst for project long_description
+with open('README.rst') as f:
+ readme = f.read()
... | added long_description to setup.py | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -44,13 +44,9 @@ extensions = [
'sphinx.ext.viewcode',
]
-import recommonmark
-from recommonmark.parser import CommonMarkParser
-from recommonmark.transform import AutoStructify
-
# Use reCommonMark ... | Update reCommonMark Sphinx integration according to <URL> | py |
diff --git a/pyes/mappings.py b/pyes/mappings.py
index <HASH>..<HASH> 100644
--- a/pyes/mappings.py
+++ b/pyes/mappings.py
@@ -24,6 +24,7 @@ class AbstractField(object):
term_vector="no", omit_norms=True,
omit_term_freq_and_positions=True,
type=None, index_name=None... | If an analyzer is set on a field, the returned mapping will have an analyzer parameter; extend the mappings to handle this. | py |
diff --git a/tomodachi/protocol/protobuf_base.py b/tomodachi/protocol/protobuf_base.py
index <HASH>..<HASH> 100644
--- a/tomodachi/protocol/protobuf_base.py
+++ b/tomodachi/protocol/protobuf_base.py
@@ -1,4 +1,5 @@
import logging
+import re
import uuid
import time
import base64
@@ -10,8 +11,20 @@ PROTOCOL_VERSION =... | added support for regex validation and a corresponding exception | py |
diff --git a/pprofile.py b/pprofile.py
index <HASH>..<HASH> 100755
--- a/pprofile.py
+++ b/pprofile.py
@@ -58,9 +58,16 @@ import io
import inspect
import linecache
import os
+# not caught by 2to3, likely because pipes.quote is not documented in python 2
+try:
+ from pipes import quote as shlex_quote # Python 2
+e... | pprofile: Properly quote commandline. Output looks much nicer than a python repr. | py |
diff --git a/src/passa/dependencies.py b/src/passa/dependencies.py
index <HASH>..<HASH> 100644
--- a/src/passa/dependencies.py
+++ b/src/passa/dependencies.py
@@ -104,7 +104,8 @@ def _get_dependencies_from_json(ireq, sources):
:return: A set of dependency lines for generating new InstallRequirements.
:rtype: ... | Add flag to ignore JSON for debugging | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -24,7 +24,7 @@ except IOError: readme = ''
setup(
name = 'graphite-metrics',
- version = '12.06.14',
+ version = '12.06.15',
author = 'Mike Kazantsev',
author_email = 'mk.fraggod@gmail.com',
license = 'WTFPL',
@@ -6... | setup: included README.txt in the tarball | py |
diff --git a/tests/test_mypy.py b/tests/test_mypy.py
index <HASH>..<HASH> 100644
--- a/tests/test_mypy.py
+++ b/tests/test_mypy.py
@@ -67,17 +67,17 @@ class MypyTestCase(unittest.TestCase):
self.assertEqual(
errors,
self.errors(
- T484(5, 0, vars=('Missing return statem... | adjust to mypy one based column offset mypy has changed to one based offsets as of: <URL> | py |
diff --git a/health_check/views.py b/health_check/views.py
index <HASH>..<HASH> 100644
--- a/health_check/views.py
+++ b/health_check/views.py
@@ -26,7 +26,7 @@ class MainView(TemplateView):
return plugin.errors
finally:
from django.db import connection
- co... | Closes database connection at every health check | py |
diff --git a/pandas/tests/frame/test_convert_to.py b/pandas/tests/frame/test_convert_to.py
index <HASH>..<HASH> 100644
--- a/pandas/tests/frame/test_convert_to.py
+++ b/pandas/tests/frame/test_convert_to.py
@@ -179,4 +179,4 @@ class TestDataFrameConvertTo(tm.TestCase, TestData):
result = DataFrame([{u'a': u'x'... | TST: change test comparison to work on older numpies, #<I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -13,9 +13,7 @@ def read(*paths):
setup(
name='aerofiles',
version='0.1.1',
- description=(
- 'waypoint, task and tracklog file readers and writers for aviators'
- ),
+ description='waypoint, task, tr... | setup.py: Changed description | py |
diff --git a/torchvision/models/densenet.py b/torchvision/models/densenet.py
index <HASH>..<HASH> 100644
--- a/torchvision/models/densenet.py
+++ b/torchvision/models/densenet.py
@@ -112,7 +112,7 @@ class DenseNet(nn.Module):
def forward(self, x):
features = self.features(x)
out = F.relu(features... | Changing to AdaptiveAvgPool2d on DenseNet (#<I>) * Changing to AdaptiveAvgPool2d * add whitespace | py |
diff --git a/pymc3/distributions/distribution.py b/pymc3/distributions/distribution.py
index <HASH>..<HASH> 100644
--- a/pymc3/distributions/distribution.py
+++ b/pymc3/distributions/distribution.py
@@ -238,9 +238,11 @@ class DensityDist(Distribution):
The behavior of this callable can be altered with the
... | Fixed the DensityDist docstring (#<I>) | py |
diff --git a/grappa/reporter.py b/grappa/reporter.py
index <HASH>..<HASH> 100644
--- a/grappa/reporter.py
+++ b/grappa/reporter.py
@@ -33,7 +33,7 @@ class ErrorReporter(object):
# Flag error as grappa generated error
err.__grappa__ = True
- err.error = error
+ err.__cause__ = getattr(e... | set exception __cause__ to get direct causes when internal exceptions occurs | py |
diff --git a/docker/client.py b/docker/client.py
index <HASH>..<HASH> 100644
--- a/docker/client.py
+++ b/docker/client.py
@@ -169,7 +169,7 @@ class Client(requests.Session):
if reader._fp.chunk_left:
data += reader.read(reader._fp.chunk_left)
if decode:
- ... | BUG: Fix errors in Python 3 from JSON-decoding bytes. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -6,18 +6,18 @@ from util.cyutil import cythonize # my version of Cython.Build.cythonize
# NOTE: distutils makes no sense
-extra_link_args = ['-fopenmp']
-extra_compile_args = ['-DHMM_TEMPS_ON_HEAP','-fopenmp']
+extra_link... | put openemp back to being optional | py |
diff --git a/simpleai/search/traditional.py b/simpleai/search/traditional.py
index <HASH>..<HASH> 100644
--- a/simpleai/search/traditional.py
+++ b/simpleai/search/traditional.py
@@ -136,7 +136,7 @@ def _search(problem, fringe, graph_search=False, depth_limit=None,
memory[problem.initial_state] = initial_node
... | The viewer receives a list of nodes, not fifolist or other list types | py |
diff --git a/hyperstream/stream/stream_instance.py b/hyperstream/stream/stream_instance.py
index <HASH>..<HASH> 100644
--- a/hyperstream/stream/stream_instance.py
+++ b/hyperstream/stream/stream_instance.py
@@ -21,6 +21,9 @@
from datetime import datetime
from collections import namedtuple
+import logging
+
+from ..... | Added logging.critical if a stream instance is created with a date in the future | py |
diff --git a/parsedmarc/elastic.py b/parsedmarc/elastic.py
index <HASH>..<HASH> 100644
--- a/parsedmarc/elastic.py
+++ b/parsedmarc/elastic.py
@@ -296,12 +296,14 @@ def save_forensic_report_to_elasticsearch(forensic_report):
arrival_date = parsedmarc.human_timestamp_to_datetime(arrival_date_human)
search = ... | <I> - Fix saving to Elasticsearch when the to header is mising from forensic sample | py |
diff --git a/sark/__init__.py b/sark/__init__.py
index <HASH>..<HASH> 100644
--- a/sark/__init__.py
+++ b/sark/__init__.py
@@ -26,7 +26,7 @@ register_sark_codecs()
# when used in the codecs proxy, we want to allow importing specific modules outside
# IDA.
if is_in_ida():
- from . import (core, code, exceptions, s... | Added `sark.ui` to the base import. | py |
diff --git a/invenio_communities/version.py b/invenio_communities/version.py
index <HASH>..<HASH> 100644
--- a/invenio_communities/version.py
+++ b/invenio_communities/version.py
@@ -14,4 +14,4 @@ and parsed by ``setup.py``.
from __future__ import absolute_import, print_function
-__version__ = "2.7.0.dev4"
+__vers... | release: <I>.dev5 | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -45,13 +45,25 @@ if os.name == 'nt':
'install_scripts': install_scripts_quoted_shebang},
# Hack to overcome a separate bug
- def get_command_class(self, command):
- print('\n\n\n***\n\n')
- ... | Another try for Win <I>. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -19,7 +19,7 @@ setup(
package_dir={"": "src"},
include_package_data=True,
zip_safe=False,
- install_requires=["sphinx"],
+ install_requires=["sphinx", "packaging"],
entry_points={
"pygments.s... | solution 2: no module named 'packaging' 1. Declare a dependency on 'packaging'. 2. Don't worry about sphinx's dependence changes. | py |
diff --git a/tests/test_main.py b/tests/test_main.py
index <HASH>..<HASH> 100644
--- a/tests/test_main.py
+++ b/tests/test_main.py
@@ -261,9 +261,9 @@ def check_monochrome_correlation(
gslog = logging.getLogger()
reference_png = outdir / '{}.ref{:04d}.png'.format(
- reference_pdf, reference_pageno)
+... | Fix test suite regression: output files dumped in tests/resources | py |
diff --git a/anoncreds/test/test_anoncreds_interaction.py b/anoncreds/test/test_anoncreds_interaction.py
index <HASH>..<HASH> 100644
--- a/anoncreds/test/test_anoncreds_interaction.py
+++ b/anoncreds/test/test_anoncreds_interaction.py
@@ -10,7 +10,7 @@ proverId = '12'
verifierId = '13'
-def testInteraction():
+def... | fix errors in tests - use fixture to get prime1 | py |
diff --git a/raiden/network/rpc/client.py b/raiden/network/rpc/client.py
index <HASH>..<HASH> 100644
--- a/raiden/network/rpc/client.py
+++ b/raiden/network/rpc/client.py
@@ -529,6 +529,11 @@ class NettingChannel(object):
# TODO: allow to close nevertheless
raise ValueError('channel wasnt used... | added update_transfer to client.NettingChannel | py |
diff --git a/Lib/fontbakery/profiles/googlefonts_conditions.py b/Lib/fontbakery/profiles/googlefonts_conditions.py
index <HASH>..<HASH> 100644
--- a/Lib/fontbakery/profiles/googlefonts_conditions.py
+++ b/Lib/fontbakery/profiles/googlefonts_conditions.py
@@ -169,6 +169,8 @@ def registered_vendor_ids():
for row in ... | fix parsing of HTML from microsoft website | py |
diff --git a/conftest.py b/conftest.py
index <HASH>..<HASH> 100644
--- a/conftest.py
+++ b/conftest.py
@@ -9,8 +9,10 @@ import matplotlib
import matplotlib.pyplot
import numpy
import pandas
+import pooch
import pytest
import scipy
+import traitlets
import xarray
import metpy.calc
@@ -22,11 +24,11 @@ import pin... | TST: Print out all dependency versions at the start of pytest | py |
diff --git a/tests/test_regression.py b/tests/test_regression.py
index <HASH>..<HASH> 100644
--- a/tests/test_regression.py
+++ b/tests/test_regression.py
@@ -11,11 +11,6 @@ json_path = os.path.join(
'data/Music Delta - Rock.json',
)
-est_dir = os.path.join(
- os.path.dirname(os.path.realpath(__file__)),
- ... | remove eval_dir test for now | py |
diff --git a/simuvex/procedures/stubs/UserHook.py b/simuvex/procedures/stubs/UserHook.py
index <HASH>..<HASH> 100644
--- a/simuvex/procedures/stubs/UserHook.py
+++ b/simuvex/procedures/stubs/UserHook.py
@@ -4,7 +4,7 @@ class UserHook(simuvex.SimProcedure):
NO_RET = True
# pylint: disable=arguments-differ
- ... | Make the userhook take the length arg b/c why not | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -18,12 +18,15 @@ class Tox(test):
import tox
sys.exit(tox.cmdline())
+__version__='0.0.2'
+
if __name__ == '__main__':
setup(
name='hdrhistogram',
- version='0.0.1',
+ version=_... | Set download_url for Pypi Change-Id: I<I>aa<I>b5ae<I>e<I>e7e4f<I>c<I>a<I>f<I>abd | py |
diff --git a/pytplot/tplot.py b/pytplot/tplot.py
index <HASH>..<HASH> 100644
--- a/pytplot/tplot.py
+++ b/pytplot/tplot.py
@@ -16,6 +16,7 @@ import numpy as np
if pytplot.using_graphics:
+ import pyqtgraph
from .QtPlotter import PyTPlot_Exporter
from pyqtgraph.Qt import QtCore, QtGui
import pyqtg... | Fixing pyqtgraph import | py |
diff --git a/salt/fileclient.py b/salt/fileclient.py
index <HASH>..<HASH> 100644
--- a/salt/fileclient.py
+++ b/salt/fileclient.py
@@ -223,7 +223,9 @@ class Client(object):
if fn_.strip() and fn_.startswith(path):
if salt.utils.check_include_exclude(
fn_, include_p... | Bugfix: crash on highstate population when empty path is passed | py |
diff --git a/ipyrad/analysis/baba.py b/ipyrad/analysis/baba.py
index <HASH>..<HASH> 100644
--- a/ipyrad/analysis/baba.py
+++ b/ipyrad/analysis/baba.py
@@ -221,17 +221,17 @@ class Baba(object):
print("{} tests generated from tree".format(len(tests)))
self.tests = tests
-'''
- def plot(self,
-... | Why can't i figure out how to comment out this plotting code right? wtf! | py |
diff --git a/cumulusci/tasks/push/tasks.py b/cumulusci/tasks/push/tasks.py
index <HASH>..<HASH> 100644
--- a/cumulusci/tasks/push/tasks.py
+++ b/cumulusci/tasks/push/tasks.py
@@ -1,5 +1,7 @@
import time
from datetime import datetime
+
+from cumulusci.core.tasks import BaseTask
from cumulusci.tasks.salesforce import ... | fixed missing import and quotes introduced in <URL> | py |
diff --git a/lament/base.py b/lament/base.py
index <HASH>..<HASH> 100644
--- a/lament/base.py
+++ b/lament/base.py
@@ -81,9 +81,9 @@ class LamentConfig(object):
full_key = '%s %s' % (key, sub)
if key in self._export_keys:
temp[full_key] = getattr(self, '_ex_%s' % k... | Fixed a mistake in how regex_configs are exported. | py |
diff --git a/src/openaccess_epub/utils/epub.py b/src/openaccess_epub/utils/epub.py
index <HASH>..<HASH> 100644
--- a/src/openaccess_epub/utils/epub.py
+++ b/src/openaccess_epub/utils/epub.py
@@ -142,7 +142,7 @@ def make_epub_base(location):
<?xml version="1.0" encoding="UTF-8" ?>
<container version="1.0" xmlns="urn:o... | fixing the location string for the package document, renaming OPS folder to more general EPUB | py |
diff --git a/xero/basemanager.py b/xero/basemanager.py
index <HASH>..<HASH> 100644
--- a/xero/basemanager.py
+++ b/xero/basemanager.py
@@ -72,7 +72,10 @@ class BaseManager(object):
'CanApplyToRevenue',
'IsReconciled',
'EnablePaymentsToAccount',
- 'ShowInExpenseClaims'
+ 'ShowInE... | Add Boolean fields relating to Items | py |
diff --git a/bika/lims/catalog.py b/bika/lims/catalog.py
index <HASH>..<HASH> 100644
--- a/bika/lims/catalog.py
+++ b/bika/lims/catalog.py
@@ -59,3 +59,4 @@ class BikaSetupCatalog(CatalogTool):
apply_func=indexObject)
InitializeClass(BikaSetupCatalog)
+ | test post receive hook again easy != fun. issue #1, pending label. | py |
diff --git a/src/hamster/lib/__init__.py b/src/hamster/lib/__init__.py
index <HASH>..<HASH> 100644
--- a/src/hamster/lib/__init__.py
+++ b/src/hamster/lib/__init__.py
@@ -74,8 +74,7 @@ def figure_time(str_time):
class Fact(object):
def __init__(self, activity="", category=None, description=None, tags=None,
- ... | remove Fact(date=) keyword This clarifies fact creation. Date comes from start_time only | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -21,7 +21,7 @@ If you get errors, check the following things:
"""
setup(name='CleanerVersion',
- version='1.4.2',
+ version='1.4.3',
description='A versioning solution for relational data models using the ... | Bumped version to <I> | py |
diff --git a/simpleai/search/viewers.py b/simpleai/search/viewers.py
index <HASH>..<HASH> 100644
--- a/simpleai/search/viewers.py
+++ b/simpleai/search/viewers.py
@@ -1,6 +1,7 @@
# coding: utf-8
-from tempfile import mkdtemp
import sys
+from tempfile import mkdtemp
+from time import sleep
from threading import Threa... | The web viewer can be paused or runned step by step (still not fully working) | py |
diff --git a/dvc/utils.py b/dvc/utils.py
index <HASH>..<HASH> 100644
--- a/dvc/utils.py
+++ b/dvc/utils.py
@@ -67,7 +67,7 @@ def copyfile(src, dest, no_progress_bar=False, name=None):
fsrc = open(src, 'rb')
if os.path.isdir(dest):
- fdest = open(dest + '/' + os.path.basename(src), 'wb+')
+ fde... | utils: copyfile: properly join paths | py |
diff --git a/videodownloader/providers/youtube.py b/videodownloader/providers/youtube.py
index <HASH>..<HASH> 100644
--- a/videodownloader/providers/youtube.py
+++ b/videodownloader/providers/youtube.py
@@ -45,7 +45,7 @@ class YouTube(Provider):
self.formats = set()
for match in re.finditer(r'itag%3D(... | Properly format unknown format warning. | py |
diff --git a/werkzeug/testsuite/http.py b/werkzeug/testsuite/http.py
index <HASH>..<HASH> 100644
--- a/werkzeug/testsuite/http.py
+++ b/werkzeug/testsuite/http.py
@@ -311,6 +311,15 @@ class HTTPUtilityTestCase(WerkzeugTestCase):
val = http.dump_cookie('foo', 'bar', domain=u'\N{SNOWMAN}.com')
self.asse... | Added test for unicode based cookie dumping | py |
diff --git a/searx/engines/youtube.py b/searx/engines/youtube.py
index <HASH>..<HASH> 100644
--- a/searx/engines/youtube.py
+++ b/searx/engines/youtube.py
@@ -13,7 +13,7 @@ from urllib import urlencode
from dateutil import parser
# engine dependent config
-categories = ['videos']
+categories = ['videos', 'music']
... | Search Music also on YouTube YouTube hosts a lot of music and should be enabled for Music search by default. | py |
diff --git a/pipenv/vendor/pythonfinder/pythonfinder.py b/pipenv/vendor/pythonfinder/pythonfinder.py
index <HASH>..<HASH> 100644
--- a/pipenv/vendor/pythonfinder/pythonfinder.py
+++ b/pipenv/vendor/pythonfinder/pythonfinder.py
@@ -66,7 +66,7 @@ class Finder(object):
arch = version_dict.get("architecture", ... | Pass arch into Windows finder This is still not working though. | py |
diff --git a/microcosm_flask/routing.py b/microcosm_flask/routing.py
index <HASH>..<HASH> 100644
--- a/microcosm_flask/routing.py
+++ b/microcosm_flask/routing.py
@@ -64,6 +64,9 @@ def configure_route_decorator(graph):
parent=ns.controller,
)
+ # set the opaque compone... | adding opaque binding for flask routes | py |
diff --git a/vstutils/management/commands/web.py b/vstutils/management/commands/web.py
index <HASH>..<HASH> 100644
--- a/vstutils/management/commands/web.py
+++ b/vstutils/management/commands/web.py
@@ -1,3 +1,4 @@
+# pylint: disable=no-member
from __future__ import unicode_literals
import os
import sys
@@ -15,7 +16... | Flake fix with `Path.exists()` method | py |
diff --git a/emma2/msm/analysis/dense/pcca.py b/emma2/msm/analysis/dense/pcca.py
index <HASH>..<HASH> 100644
--- a/emma2/msm/analysis/dense/pcca.py
+++ b/emma2/msm/analysis/dense/pcca.py
@@ -11,7 +11,6 @@ import numpy
def pcca(T, n):
- # TODO: Here decomposition.eigenvectors could be used but they are not p... | removed TODO about normalization of eigenvectors. | py |
diff --git a/superset/views/core.py b/superset/views/core.py
index <HASH>..<HASH> 100755
--- a/superset/views/core.py
+++ b/superset/views/core.py
@@ -1978,7 +1978,6 @@ class Superset(BaseSupersetView):
)
@api
- @has_access_api
@log_this
@expose('/log/', methods=['POST'])
def log(self)... | Remove permission check for frontend logging API (#<I>) | py |
diff --git a/_msvccompiler.py b/_msvccompiler.py
index <HASH>..<HASH> 100644
--- a/_msvccompiler.py
+++ b/_msvccompiler.py
@@ -252,11 +252,11 @@ class MSVCCompiler(CCompiler) :
for dir in vc_env.get('include', '').split(os.pathsep):
if dir:
- self.add_include_dir(dir)
+ ... | bpo-<I>: Ensure INCLUDE and LIB directories do not end with a backslash. (GH-<I>) | py |
diff --git a/src/board.py b/src/board.py
index <HASH>..<HASH> 100755
--- a/src/board.py
+++ b/src/board.py
@@ -56,6 +56,9 @@ elif detector.board.RASPBERRY_PI_B_REV1:
elif detector.board.RASPBERRY_PI_A or detector.board.RASPBERRY_PI_B_REV2:
from adafruit_blinka.board.raspberrypi.raspi_1b_rev2 import *
+elif boar... | Add support for the orignal BeagleBone #<I> The original BeagleBone is same SoC (AM<I>) as Black and Green and similar layout in terms of the cape headers. It should just work once the EEPROM ID for original BeagleBone models is added this conditional logic. Refer to issue #<I> | py |
diff --git a/salt/states/sysctl.py b/salt/states/sysctl.py
index <HASH>..<HASH> 100644
--- a/salt/states/sysctl.py
+++ b/salt/states/sysctl.py
@@ -20,7 +20,7 @@ def __virtual__():
'''
This state is only available on Minions which support sysctl
'''
- return 'sysctl' if 'sysctl.show' in __salt__ else F... | Not renaming, return a boolean in `__virtual__()`. | py |
diff --git a/insights/combiners/sap.py b/insights/combiners/sap.py
index <HASH>..<HASH> 100644
--- a/insights/combiners/sap.py
+++ b/insights/combiners/sap.py
@@ -91,7 +91,7 @@ class Sap(dict):
self.all_instances = insts.instances
for inst in insts.data:
k = inst['InstanceName... | Ensure hostname comparisons in SAP are accurate (#<I>) There is a possibility that the FQDN of a system is used as the shortname in SAP configurations. We want to verify that the short hostname is used in these comparisons. | py |
diff --git a/helper/mail.py b/helper/mail.py
index <HASH>..<HASH> 100644
--- a/helper/mail.py
+++ b/helper/mail.py
@@ -41,11 +41,7 @@ class MailSender(object):
if self.connected:
from email.mime.text import MIMEText
- if self.e.helper.system.py_version <= 2:
- msg = MIM... | Support python 2 and 3. | py |
diff --git a/yarn/test_yarn.py b/yarn/test_yarn.py
index <HASH>..<HASH> 100644
--- a/yarn/test_yarn.py
+++ b/yarn/test_yarn.py
@@ -212,7 +212,7 @@ class YARNCheck(AgentCheckTest):
'opt_key:opt_value'
]
- def setup():
+ def setup(self):
global collected_from_app_url
collected_from... | Didn't pass self to setup() | py |
diff --git a/LiSE/LiSE/allegedb/__init__.py b/LiSE/LiSE/allegedb/__init__.py
index <HASH>..<HASH> 100644
--- a/LiSE/LiSE/allegedb/__init__.py
+++ b/LiSE/LiSE/allegedb/__init__.py
@@ -1267,13 +1267,12 @@ class ORM(object):
def _time_is_loaded(self, branch, turn=None, tick=None):
loaded = self._loaded
- ... | Trivially improve _time_is_loaded | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -87,7 +87,7 @@ setup(
"six>=1.10.0,<2",
"graphql-core>=2.1,<3",
"graphql-relay>=0.4.5,<1",
- "aniso8601>=3,<=6.0.*",
+ "aniso8601>=3,<=6",
],
tests_require=tests_require,
... | Fix malformed version on aniso<I> requirement (#<I>) * Fix malformed version on aniso<I> requirement * 6 -> <I> | py |
diff --git a/quart/flask_patch/__init__.py b/quart/flask_patch/__init__.py
index <HASH>..<HASH> 100644
--- a/quart/flask_patch/__init__.py
+++ b/quart/flask_patch/__init__.py
@@ -63,7 +63,8 @@ for name, module in sys.modules.items():
# This ensures that the sub modules e.g. json are importable
# from ... | Fix Flask-Patching bug It only makes sense to allow ``from flask import a`` and not ``from flask import b.c`` as this (I think) follows the Python expectations. | py |
diff --git a/tickets/urls.py b/tickets/urls.py
index <HASH>..<HASH> 100644
--- a/tickets/urls.py
+++ b/tickets/urls.py
@@ -1,7 +1,8 @@
from django.conf.urls import patterns, url
+from django.contrib.auth.decorators import login_required
from views import MyTicketListView
urlpatterns = patterns('',
- url(r'^my... | add login_required decorator to my list view url | py |
diff --git a/zipline/pipeline/factors/factor.py b/zipline/pipeline/factors/factor.py
index <HASH>..<HASH> 100644
--- a/zipline/pipeline/factors/factor.py
+++ b/zipline/pipeline/factors/factor.py
@@ -326,7 +326,7 @@ def if_not_float64_tell_caller_to_use_isnull(f):
directing the user to `isnull` or `notnull` instead... | MAINT: Use more specific signature in decorator. `if_not_float<I>_tell_caller_to_use_isnull` can't take additional arguments, and accepting *args/**kwargs causes Sphinx to generate an incorrect signature for decorated methods. | py |
diff --git a/angr/analyses/decompiler/structurer.py b/angr/analyses/decompiler/structurer.py
index <HASH>..<HASH> 100644
--- a/angr/analyses/decompiler/structurer.py
+++ b/angr/analyses/decompiler/structurer.py
@@ -309,7 +309,7 @@ class Structurer(Analysis):
def _make_endless_loop(self, loop_head, loop_subgraph,... | Structurer: Typo fix in a comment. | py |
diff --git a/psiturk/dashboard_server.py b/psiturk/dashboard_server.py
index <HASH>..<HASH> 100644
--- a/psiturk/dashboard_server.py
+++ b/psiturk/dashboard_server.py
@@ -281,10 +281,12 @@ def run_dev_server():
# this is the entry point to the script when running 'psiturk' from the command line
def launch():
pa... | Dashboard host now optional and defaults to localhost, not <I> | py |
diff --git a/src/werkzeug/middleware/shared_data.py b/src/werkzeug/middleware/shared_data.py
index <HASH>..<HASH> 100644
--- a/src/werkzeug/middleware/shared_data.py
+++ b/src/werkzeug/middleware/shared_data.py
@@ -35,7 +35,7 @@ class SharedDataMiddleware(object):
environments or simple server setups. Usage is qui... | Update documentation of SharedDataMiddleware Let the doc of SharedDataMiddleware reflect its move to middleware.shared_data | py |
diff --git a/python/mxnet/gluon/block.py b/python/mxnet/gluon/block.py
index <HASH>..<HASH> 100644
--- a/python/mxnet/gluon/block.py
+++ b/python/mxnet/gluon/block.py
@@ -913,7 +913,7 @@ class HybridBlock(Block):
self._monitor_all = False
self._backend = None
self._backend_opts = {}
- ... | disable graph partition by default (#<I>) | py |
diff --git a/pandas/tests/test_format.py b/pandas/tests/test_format.py
index <HASH>..<HASH> 100644
--- a/pandas/tests/test_format.py
+++ b/pandas/tests/test_format.py
@@ -181,7 +181,7 @@ class TestDataFrameFormatting(tm.TestCase):
u("\u03c6")]
cols = [u("\u03c8")]
df = DataFrame(dat... | TST: fix test that repr returns str | py |
diff --git a/dtool_irods/storagebroker.py b/dtool_irods/storagebroker.py
index <HASH>..<HASH> 100644
--- a/dtool_irods/storagebroker.py
+++ b/dtool_irods/storagebroker.py
@@ -404,6 +404,8 @@ class IrodsStorageBroker(object):
# Add the relpath handle as metadata.
_put_metadata(dest_path, "handle", relp... | Fix returning relpath in storagebroker put_item | py |
diff --git a/tests/func/test_dependency.py b/tests/func/test_dependency.py
index <HASH>..<HASH> 100644
--- a/tests/func/test_dependency.py
+++ b/tests/func/test_dependency.py
@@ -18,5 +18,5 @@ def _get_dep(dvc, path):
@pytest.mark.parametrize("url,scheme", TESTS)
-def test_scheme(dvc_repo, url, scheme):
- asser... | dependency: test: migrate to dir helpers | py |
diff --git a/sorl/thumbnail/engines/pgmagick.py b/sorl/thumbnail/engines/pgmagick.py
index <HASH>..<HASH> 100644
--- a/sorl/thumbnail/engines/pgmagick.py
+++ b/sorl/thumbnail/engines/pgmagick.py
@@ -1,8 +1,14 @@
-from base64 import b64decode
from ..pgmagick import Blob, Color, ColorspaceType, DrawableLine, Geometry
f... | adding simpler way to access blob data, thanks dotsbb. Since its not part of the public pgmagick, provide fallback | py |
diff --git a/mbuild/tests/test_compound.py b/mbuild/tests/test_compound.py
index <HASH>..<HASH> 100755
--- a/mbuild/tests/test_compound.py
+++ b/mbuild/tests/test_compound.py
@@ -332,6 +332,19 @@ class TestCompound(BaseTest):
assert np.allclose(ethane.xyz, ethane_clone.xyz, atol=1e-3)
assert np.allclo... | Add MWE from #<I> as a unit test | py |
diff --git a/great_expectations/dataset/base.py b/great_expectations/dataset/base.py
index <HASH>..<HASH> 100644
--- a/great_expectations/dataset/base.py
+++ b/great_expectations/dataset/base.py
@@ -291,14 +291,15 @@ class DataSet(object):
if element_count > 0:
missing_percent = float(mi... | Catch potential use of uninitialized variable in output_format (#<I>) | py |
diff --git a/master/buildbot/changes/p4poller.py b/master/buildbot/changes/p4poller.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/changes/p4poller.py
+++ b/master/buildbot/changes/p4poller.py
@@ -50,9 +50,9 @@ class TicketLoginProtocol(protocol.ProcessProtocol):
def __init__(self, stdin, p4base):
... | Fix string encoding issue in p4poller | py |
diff --git a/mail_deduplicate/tests/test_mail.py b/mail_deduplicate/tests/test_mail.py
index <HASH>..<HASH> 100644
--- a/mail_deduplicate/tests/test_mail.py
+++ b/mail_deduplicate/tests/test_mail.py
@@ -56,3 +56,35 @@ def test_invalid_date_parsing_noop(invoke, make_box):
invalid_date_mail_2,
],
... | Test effective deduplication of non-standard dates. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -45,7 +45,7 @@ except (IOError, ImportError):
long_description = ''
setup(
- name="capnp",
+ name="pycapnp",
packages=["capnp"],
version=VERSION,
package_data={'capnp': ['*.pxd', '*.pyx', '*.h']}, | Forgot to change project name in setup.py | py |
diff --git a/db/alchemy/models.py b/db/alchemy/models.py
index <HASH>..<HASH> 100644
--- a/db/alchemy/models.py
+++ b/db/alchemy/models.py
@@ -162,7 +162,8 @@ class Output(Base):
oq_job_id = sa.Column(sa.Integer, sa.ForeignKey("uiapi.oq_job.id"),
nullable=False)
oq_job = relation... | Update the SQLAlchemy model to match the schema changes in pull request <I>. | py |
diff --git a/dvc/repo/trie.py b/dvc/repo/trie.py
index <HASH>..<HASH> 100644
--- a/dvc/repo/trie.py
+++ b/dvc/repo/trie.py
@@ -7,7 +7,7 @@ from dvc.exceptions import OutputDuplicationError, OverlappingOutputPathsError
def build_outs_trie(stages):
outs = Trie()
- for stage in filter(bool, stages): # bug? not... | repo: remove unneeded filter (#<I>) Leftover from #<I> | py |
diff --git a/pelix/remote/dispatcher.py b/pelix/remote/dispatcher.py
index <HASH>..<HASH> 100644
--- a/pelix/remote/dispatcher.py
+++ b/pelix/remote/dispatcher.py
@@ -229,6 +229,7 @@ class Dispatcher(object):
try:
# Create the endpoint
endpoint = exporter.export_service(sv... | Ensure the listeners are called (only) when necessary | py |
diff --git a/tensorflow_probability/python/distributions/normal.py b/tensorflow_probability/python/distributions/normal.py
index <HASH>..<HASH> 100644
--- a/tensorflow_probability/python/distributions/normal.py
+++ b/tensorflow_probability/python/distributions/normal.py
@@ -256,8 +256,7 @@ def _kl_normal_normal(n_a, n_... | Improve numerical stability of kld evaluation for normal distributions. PiperOrigin-RevId: <I> | py |
diff --git a/validator/testcases/l10ncompleteness.py b/validator/testcases/l10ncompleteness.py
index <HASH>..<HASH> 100644
--- a/validator/testcases/l10ncompleteness.py
+++ b/validator/testcases/l10ncompleteness.py
@@ -110,9 +110,9 @@ def test_xpi(err, package_contents, xpi_package):
"test_xpi"... | Updated message; bug <I> | py |
diff --git a/bcbio/pipeline/main.py b/bcbio/pipeline/main.py
index <HASH>..<HASH> 100644
--- a/bcbio/pipeline/main.py
+++ b/bcbio/pipeline/main.py
@@ -151,7 +151,7 @@ def variant2pipeline(config, run_info_yaml, parallel, dirs, samples):
## Finalize variants, BAMs and population databases (per-sample multicore cl... | MAIN: add sambamba as resource to calculate memory in variant calling. | py |
diff --git a/src/toil/leader.py b/src/toil/leader.py
index <HASH>..<HASH> 100644
--- a/src/toil/leader.py
+++ b/src/toil/leader.py
@@ -29,7 +29,6 @@ from bd2k.util.expando import Expando
from toil import resolveEntryPoint
from toil.jobStores.abstractJobStore import NoSuchJobException
-from toil.jobStores.aws.jobSto... | Avoid importing AWSJobStore without AWS extra installed (resolves #<I>) | py |
diff --git a/pyarlo/__init__.py b/pyarlo/__init__.py
index <HASH>..<HASH> 100644
--- a/pyarlo/__init__.py
+++ b/pyarlo/__init__.py
@@ -97,7 +97,7 @@ class PyArlo(object):
for device in data.get('data'):
name = device.get('deviceName')
- if device.get('deviceType') == 'camera':
+ ... | Support for ArloQ (#2) * Support for ArloQ * Moved all detection to same conditional | py |
diff --git a/validator/setup.py b/validator/setup.py
index <HASH>..<HASH> 100644
--- a/validator/setup.py
+++ b/validator/setup.py
@@ -133,6 +133,7 @@ setup(
'PyYAML',
'protobuf',
'requests',
+ 'toml',
'pyzmq'
],
data_files=data_files, | Add toml to the list of dependencies in setup.py | py |
diff --git a/blockstack/tests/scenarios/testlib.py b/blockstack/tests/scenarios/testlib.py
index <HASH>..<HASH> 100644
--- a/blockstack/tests/scenarios/testlib.py
+++ b/blockstack/tests/scenarios/testlib.py
@@ -70,7 +70,7 @@ class APICallRecord(object):
class TestAPIProxy(object):
def __init__(self):
glo... | RPC out to the running blockstack-server | py |
diff --git a/chronyk/chronyk.py b/chronyk/chronyk.py
index <HASH>..<HASH> 100644
--- a/chronyk/chronyk.py
+++ b/chronyk/chronyk.py
@@ -18,7 +18,9 @@ def _mktime(time_struct):
return time.mktime(time_struct)
except OverflowError:
dt = datetime.datetime(*time_struct[:6])
- return dt.timestam... | Try a different way of mktiming | py |
diff --git a/python/neuroglancer/viewer_state.py b/python/neuroglancer/viewer_state.py
index <HASH>..<HASH> 100644
--- a/python/neuroglancer/viewer_state.py
+++ b/python/neuroglancer/viewer_state.py
@@ -309,6 +309,8 @@ class AnnotationLayer(Layer, _AnnotationLayerOptions):
source = wrapped_property('source', optio... | fix(python): add ViewerState support for segmentation-linked annotations | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -292,6 +292,7 @@ setup(
"seleniumbase.masterqa",
"seleniumbase.plugins",
"seleniumbase.translate",
+ "seleniumbase.undetected",
"seleniumbase.utilities",
"seleniumbase.utilit... | Add "undetected" to packages | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
import sys
kwargs = {'name': 'Glymur',
- 'version': '0.2.7rc1',
+ 'version': '0.2.7',
'description': 'Tools for accessing JPEG2000 files... | Finalizing for <I> release. | py |
diff --git a/cassandra/cluster.py b/cassandra/cluster.py
index <HASH>..<HASH> 100644
--- a/cassandra/cluster.py
+++ b/cassandra/cluster.py
@@ -1857,6 +1857,9 @@ class ResponseFuture(object):
if self._current_pool and self._connection:
self._current_pool.return_connection(self._connection)
+ ... | Handle failed ResponseFuture after re-preparing stmt | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -30,6 +30,7 @@ setup(name="virtualenv-clone",
author='Edward George',
author_email='edwardgeorge@gmail.com',
url='http://github.com/edwardgeorge/virtualenv-clone',
+ license="MIT",
py_modules=["clonevirt... | Added license field to setup.py | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.