diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/source/rafcon/gui/models/modification_history.py b/source/rafcon/gui/models/modification_history.py
index <HASH>..<HASH> 100644
--- a/source/rafcon/gui/models/modification_history.py
+++ b/source/rafcon/gui/models/modification_history.py
@@ -112,7 +112,7 @@ class ModificationsHistoryModel(ModelMT):
de... | fix(modification_history): Rename missing functions #2 | py |
diff --git a/compress/conf/settings.py b/compress/conf/settings.py
index <HASH>..<HASH> 100644
--- a/compress/conf/settings.py
+++ b/compress/conf/settings.py
@@ -6,6 +6,7 @@ COMPRESS_AUTO = getattr(settings, 'COMPRESS_AUTO', True)
COMPRESS_VERSION = getattr(settings, 'COMPRESS_VERSION', False)
COMPRESS_VERSION_PLACE... | added COMPRESS_VERSION_METHOD | py |
diff --git a/rightscale/util.py b/rightscale/util.py
index <HASH>..<HASH> 100644
--- a/rightscale/util.py
+++ b/rightscale/util.py
@@ -57,9 +57,15 @@ def find_href(obj, rel):
return l['href']
-def find_by_name(res, name):
+def find_by_name(collection, name):
+ """
+ :param rightscale.ResourceColl... | Document find_by_name so I remember what to do with it. | py |
diff --git a/tests/test_pyhector.py b/tests/test_pyhector.py
index <HASH>..<HASH> 100644
--- a/tests/test_pyhector.py
+++ b/tests/test_pyhector.py
@@ -155,16 +155,6 @@ def test_constraint_co2():
lawdome_co2.loc[1750:1960], check_names=False)
-# Temperature
-def test_constraint_temperature():
- temperatu... | Remove temperature constraint test Not currently supported anymore in Hector rc<I>. | py |
diff --git a/cubric/contrib/servers/ubuntu/default/__init__.py b/cubric/contrib/servers/ubuntu/default/__init__.py
index <HASH>..<HASH> 100644
--- a/cubric/contrib/servers/ubuntu/default/__init__.py
+++ b/cubric/contrib/servers/ubuntu/default/__init__.py
@@ -76,7 +76,8 @@ class Initializer(object):
run('ap... | Add a few other packages in case apps use PIL | py |
diff --git a/dvc/__init__.py b/dvc/__init__.py
index <HASH>..<HASH> 100644
--- a/dvc/__init__.py
+++ b/dvc/__init__.py
@@ -5,7 +5,7 @@ Make your data science projects reproducible and shareable.
"""
import os
-VERSION_BASE = '0.14.1'
+VERSION_BASE = '0.14.2'
__version__ = VERSION_BASE
PACKAGEPATH = os.path.absp... | dvc: bump to <I> | py |
diff --git a/spacy/cli/package.py b/spacy/cli/package.py
index <HASH>..<HASH> 100644
--- a/spacy/cli/package.py
+++ b/spacy/cli/package.py
@@ -16,8 +16,8 @@ def package(input_dir, output_dir, force):
check_dirs(input_path, output_path)
template_setup = get_template('setup.py')
+ template_manifest = get_t... | Fetch MANIFEST.in from GitHub as well | py |
diff --git a/src/pyrocore/util/traits.py b/src/pyrocore/util/traits.py
index <HASH>..<HASH> 100644
--- a/src/pyrocore/util/traits.py
+++ b/src/pyrocore/util/traits.py
@@ -137,7 +137,7 @@ def detect_traits(kind, name=None):
elif kind in KIND_DOCS:
result = ["docs", kind]
elif kind in KIND_ARCHIVE:
- ... | put unknown archives under "misc" | py |
diff --git a/tacl/results.py b/tacl/results.py
index <HASH>..<HASH> 100644
--- a/tacl/results.py
+++ b/tacl/results.py
@@ -601,6 +601,7 @@ class Results:
del matches[constants.SIGLUM_FIELDNAME]
del matches[constants.COUNT_FIELDNAME]
matches = matches.apply(add_label_order, axis=1, args=(label... | Fixed issue that causes a warning in pandas <I> and an error in pandas <I>. | py |
diff --git a/validator/sawtooth_validator/scheduler/base.py b/validator/sawtooth_validator/scheduler/base.py
index <HASH>..<HASH> 100644
--- a/validator/sawtooth_validator/scheduler/base.py
+++ b/validator/sawtooth_validator/scheduler/base.py
@@ -126,6 +126,27 @@ class Scheduler(object, metaclass=ABCMeta):
"""... | Add missing Scheduler get_transaction() and count() methods These methods are used by SchedulerIterator. | py |
diff --git a/src/hypercorn/asyncio/tcp_server.py b/src/hypercorn/asyncio/tcp_server.py
index <HASH>..<HASH> 100644
--- a/src/hypercorn/asyncio/tcp_server.py
+++ b/src/hypercorn/asyncio/tcp_server.py
@@ -88,7 +88,7 @@ class TCPServer:
try:
self.writer.write(event.data)
... | Bugfix catch the base class ConnectionError Instead of BrokenPipeError, ConnectionAbortedError, ConnectionRefusedError and ConnectionResetError. As for any of these errors the connection has errored and must close. | py |
diff --git a/zappa/cli.py b/zappa/cli.py
index <HASH>..<HASH> 100644
--- a/zappa/cli.py
+++ b/zappa/cli.py
@@ -1588,7 +1588,6 @@ class ZappaCLI(object):
g_env = {
env_name: {
'extends': env,
- 's3_bucket': (bucket + '-' + env_name).re... | using the same s3_bucket for all | py |
diff --git a/leeroy/cron.py b/leeroy/cron.py
index <HASH>..<HASH> 100644
--- a/leeroy/cron.py
+++ b/leeroy/cron.py
@@ -1,6 +1,7 @@
import logging
import time
import datetime
+from leeroy import github
from leeroy.app import app
from leeroy.github import get_pull_requests, get_status
from leeroy.jenkins import sch... | Using the correct head_repo_name matters. | py |
diff --git a/mapclassify.py b/mapclassify.py
index <HASH>..<HASH> 100644
--- a/mapclassify.py
+++ b/mapclassify.py
@@ -253,6 +253,7 @@ class Map_Classifier:
self.name='Map Classifier'
self.y=y
self._classify()
+ self.summary()
def summary(self):
yb=self.yb | - setting fit attribute on instantiation of classifiers | py |
diff --git a/test/test_git_version.py b/test/test_git_version.py
index <HASH>..<HASH> 100644
--- a/test/test_git_version.py
+++ b/test/test_git_version.py
@@ -135,7 +135,7 @@ def _create_branch(branch_name):
# noinspection PyTypeChecker
REPO.create_branch_and_checkout(branch_name)
UML.append(f'{init_bran... | fix: dev: text: increase delay after dummy branch creation (AV is lagging a tad) | py |
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py
index <HASH>..<HASH> 100644
--- a/mastodon/Mastodon.py
+++ b/mastodon/Mastodon.py
@@ -159,10 +159,10 @@ class Mastodon:
# Dict versions
__DICT_VERSION_APPLICATION = "2.7.2"
__DICT_VERSION_MENTION = "1.0.0"
- __DICT_VERSION_MEDIA = "2.3.0"
+ _... | Fix media and status dict versioning | py |
diff --git a/django_extensions/admin/widgets.py b/django_extensions/admin/widgets.py
index <HASH>..<HASH> 100644
--- a/django_extensions/admin/widgets.py
+++ b/django_extensions/admin/widgets.py
@@ -1,5 +1,6 @@
# -*- coding: utf-8 -*-
import six
+from six.moves import urllib
from django import forms
from django.con... | Fixed a bug in joining urls. urllib is the way to go to join urls. | py |
diff --git a/sos/jupyter/converter.py b/sos/jupyter/converter.py
index <HASH>..<HASH> 100755
--- a/sos/jupyter/converter.py
+++ b/sos/jupyter/converter.py
@@ -78,7 +78,7 @@ class SoS_Exporter(Exporter):
fh.write('\n'.join('#! ' + x for x in cell.source.split('\n')) + '\n\n')
elif cell.cell... | Fix also sos convert #<I> | py |
diff --git a/rauth/hook.py b/rauth/hook.py
index <HASH>..<HASH> 100644
--- a/rauth/hook.py
+++ b/rauth/hook.py
@@ -126,9 +126,7 @@ class OAuth1Hook(object):
request.headers['Authorization'] = \
self.auth_header(request.oauth_params, realm=realm)
- elif request.method == 'POST':
- ... | removing the Content-Type setting, now we implicitly set this in service wrapper | py |
diff --git a/aldjemy/wrapper.py b/aldjemy/wrapper.py
index <HASH>..<HASH> 100644
--- a/aldjemy/wrapper.py
+++ b/aldjemy/wrapper.py
@@ -6,7 +6,7 @@ class Wrapper(object):
def __getattr__(self, attr):
if attr in ["commit", "rollback"]:
- return nullop
+ return lambda *args, **kwargs:... | Rewrite nullop function as lambda (#7) (#<I>) Rewrite nullop function as lambda | py |
diff --git a/src/flask_sqlalchemy/__init__.py b/src/flask_sqlalchemy/__init__.py
index <HASH>..<HASH> 100644
--- a/src/flask_sqlalchemy/__init__.py
+++ b/src/flask_sqlalchemy/__init__.py
@@ -884,7 +884,7 @@ class SQLAlchemy:
# if it's not an in memory database we make the path absolute.
if n... | relative sqlite path is relative to instance_path | py |
diff --git a/openpnm/core/Workspace.py b/openpnm/core/Workspace.py
index <HASH>..<HASH> 100644
--- a/openpnm/core/Workspace.py
+++ b/openpnm/core/Workspace.py
@@ -34,6 +34,8 @@ class Workspace(dict):
raise Exception("A project named " + name + " already exists")
if project in self.values():
... | Updating workplace setter to convert all received values to project | py |
diff --git a/intranet/apps/users/models.py b/intranet/apps/users/models.py
index <HASH>..<HASH> 100644
--- a/intranet/apps/users/models.py
+++ b/intranet/apps/users/models.py
@@ -1022,6 +1022,7 @@ class Photo(models.Model):
class Grade:
"""Represents a user's grade."""
+ names = [elem[1] for elem in GRADE_NU... | fix(eighth): reintroduce Grade.names | py |
diff --git a/openquake/calculators/event_based.py b/openquake/calculators/event_based.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/event_based.py
+++ b/openquake/calculators/event_based.py
@@ -344,9 +344,10 @@ class EventBasedCalculator(base.HazardCalculator):
num_evs[sid] = (stop - s... | Do not store relevant_events when there is no minimum_intensity | py |
diff --git a/telethon/_client/auth.py b/telethon/_client/auth.py
index <HASH>..<HASH> 100644
--- a/telethon/_client/auth.py
+++ b/telethon/_client/auth.py
@@ -6,6 +6,7 @@ import sys
import typing
import warnings
import functools
+import time
import dataclasses
from .._misc import utils, helpers, password as pwd_... | Fix get_tos usage of expiry expires is actually a timestamp, not seconds | py |
diff --git a/aiogram/utils/executor.py b/aiogram/utils/executor.py
index <HASH>..<HASH> 100644
--- a/aiogram/utils/executor.py
+++ b/aiogram/utils/executor.py
@@ -34,7 +34,7 @@ async def _shutdown(dispatcher: Dispatcher, callback=None):
if dispatcher.is_polling():
dispatcher.stop_polling()
- awai... | disable `wait_closed` dispatcher on executor. | py |
diff --git a/luigi/contrib/s3.py b/luigi/contrib/s3.py
index <HASH>..<HASH> 100644
--- a/luigi/contrib/s3.py
+++ b/luigi/contrib/s3.py
@@ -23,7 +23,6 @@ system operations. The `boto3` library is required to use S3 targets.
from __future__ import division
import datetime
-import io
import itertools
import logging
... | remove StreamingBodyAdaptor that didn't allow choosing the chunk size (#<I>) This StreamingBodyAdaptor caused performance issues: Calling `__iter__()` on a StreamingBodyAdaptor object defaulted to chunks of 1 byte, which was really slowing down reads. I wasn't able to pass the `size` parameter to change the chunk si... | py |
diff --git a/tornado/http1connection.py b/tornado/http1connection.py
index <HASH>..<HASH> 100644
--- a/tornado/http1connection.py
+++ b/tornado/http1connection.py
@@ -471,6 +471,10 @@ class HTTP1Connection(httputil.HTTPConnection):
self._finish_future.set_result(None)
def _parse_headers(self, data):... | Cite RFC <I> when stripping extraneous line breaks. | py |
diff --git a/safe/impact_functions/test_plugin_core.py b/safe/impact_functions/test_plugin_core.py
index <HASH>..<HASH> 100644
--- a/safe/impact_functions/test_plugin_core.py
+++ b/safe/impact_functions/test_plugin_core.py
@@ -195,9 +195,9 @@ class Test_plugin_core(unittest.TestCase):
T = get_plugins_as_table(... | Commented out temorary code. | py |
diff --git a/nhe/surface/planar.py b/nhe/surface/planar.py
index <HASH>..<HASH> 100644
--- a/nhe/surface/planar.py
+++ b/nhe/surface/planar.py
@@ -9,7 +9,8 @@ class PlanarSurface(BaseSurface):
Planar rectangular surface with two sides parallel to the Earth surface.
Parameters are four points defining the su... | surface/planar [docs]: mentioned the requirements for surface polygon | py |
diff --git a/examples/simple/app.py b/examples/simple/app.py
index <HASH>..<HASH> 100644
--- a/examples/simple/app.py
+++ b/examples/simple/app.py
@@ -1,5 +1,8 @@
# -*- coding: utf-8 -*-
+import os
+
from simple_settings import settings
+os.environ.setdefault('settings', 'project_settings')
print settings.SIMPLE... | update simple example to show use of `os.environ.setdefault` method with simple-settings to avoid use of command line and real os env | py |
diff --git a/tests/glyphdata_test.py b/tests/glyphdata_test.py
index <HASH>..<HASH> 100644
--- a/tests/glyphdata_test.py
+++ b/tests/glyphdata_test.py
@@ -92,6 +92,8 @@ class GlyphDataTest(unittest.TestCase):
self.assertEqual(prod("a_a_dieresiscomb"), "uni006100610308")
self.assertEqual(prod("brevecom... | Add test cases for issue #<I> | py |
diff --git a/salt/modules/lxc.py b/salt/modules/lxc.py
index <HASH>..<HASH> 100644
--- a/salt/modules/lxc.py
+++ b/salt/modules/lxc.py
@@ -879,6 +879,7 @@ def init(name,
__salt__['lxc.clone'](name, clone_from,
profile=profile, **kwargs))
if not ret.get('cloned', ... | Report failure when failed to create/clone LXC container | py |
diff --git a/pywb/warc/resolvingloader.py b/pywb/warc/resolvingloader.py
index <HASH>..<HASH> 100644
--- a/pywb/warc/resolvingloader.py
+++ b/pywb/warc/resolvingloader.py
@@ -91,7 +91,7 @@ class ResolvingLoader(object):
else:
(filename, offset, length) = (cdx['filename'],
... | resolvingloader: support loading cdx w/o a length field, default to '-' | py |
diff --git a/zounds/learn/hash/minhash.py b/zounds/learn/hash/minhash.py
index <HASH>..<HASH> 100644
--- a/zounds/learn/hash/minhash.py
+++ b/zounds/learn/hash/minhash.py
@@ -28,12 +28,17 @@ class MinHash(Learn):
Produce a hash by finding the first non-zero "word" from each
permutation of the input
... | MinHash now performs chunk-based processing | py |
diff --git a/aiohttp_apispec/aiohttp_apispec.py b/aiohttp_apispec/aiohttp_apispec.py
index <HASH>..<HASH> 100644
--- a/aiohttp_apispec/aiohttp_apispec.py
+++ b/aiohttp_apispec/aiohttp_apispec.py
@@ -197,8 +197,11 @@ def setup_aiohttp_apispec(
:param str version: API version
:param str url: url for swagger spe... | Docstring for new SwaggerUI params | py |
diff --git a/git/objects/util.py b/git/objects/util.py
index <HASH>..<HASH> 100644
--- a/git/objects/util.py
+++ b/git/objects/util.py
@@ -37,7 +37,7 @@ if TYPE_CHECKING:
from .submodule.base import Submodule
from git.types import Protocol, runtime_checkable
else:
- Protocol = Generic
+ Protocol = Gene... | try fix for Protocol buy in <I> 2 | py |
diff --git a/pandas/tests/tools/test_concat.py b/pandas/tests/tools/test_concat.py
index <HASH>..<HASH> 100644
--- a/pandas/tests/tools/test_concat.py
+++ b/pandas/tests/tools/test_concat.py
@@ -7,7 +7,7 @@ import pandas as pd
from pandas import (DataFrame, concat,
read_csv, isnull, Series, date_r... | PEP: pep issue in pandas/tests/tools/test_concat.py | py |
diff --git a/nose/test_orbit.py b/nose/test_orbit.py
index <HASH>..<HASH> 100644
--- a/nose/test_orbit.py
+++ b/nose/test_orbit.py
@@ -124,8 +124,6 @@ def test_energy_jacobi_conservation():
jactol['mockSlowFlatSteadyLogSpiralPotential']= -8. #these are more difficult (and also not quite conserved)
firstTest= ... | Test all potentials' orbit integration again... | py |
diff --git a/tests/checker/utils/test_whois.py b/tests/checker/utils/test_whois.py
index <HASH>..<HASH> 100644
--- a/tests/checker/utils/test_whois.py
+++ b/tests/checker/utils/test_whois.py
@@ -52,12 +52,11 @@ License:
import unittest
+from PyFunceble.checker.utils import whois
from PyFunceble.config.loader impo... | fixup! Introduction of the tests of our whois dataset helper. | py |
diff --git a/andes/system.py b/andes/system.py
index <HASH>..<HASH> 100644
--- a/andes/system.py
+++ b/andes/system.py
@@ -935,8 +935,14 @@ class System:
if self.Bus.n_islanded_buses == 0:
return
- self.dae.gy.ipset(self.config.diag_eps, self.Bus.islanded_a, self.Bus.islanded_a)
- ... | Safeguard `ipset` method if kvxopt is not installed. | py |
diff --git a/tests/python/pants_test/backend/python/tasks/test_pytest_run.py b/tests/python/pants_test/backend/python/tasks/test_pytest_run.py
index <HASH>..<HASH> 100644
--- a/tests/python/pants_test/backend/python/tasks/test_pytest_run.py
+++ b/tests/python/pants_test/backend/python/tasks/test_pytest_run.py
@@ -13,9 ... | Fix missed isort issue from previous submissions | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -215,6 +215,8 @@ def create_extension(ExtType, name, sources, dependencies, extra_link_args, extr
class ONNXCpp2PyExtension(setuptools.Extension):
def pre_run(self):
self.sources = recursive_glob(SRC_DIR, '*.cc'... | Detect stale file situation. | py |
diff --git a/src/python/dxpy/app_builder.py b/src/python/dxpy/app_builder.py
index <HASH>..<HASH> 100644
--- a/src/python/dxpy/app_builder.py
+++ b/src/python/dxpy/app_builder.py
@@ -151,7 +151,7 @@ def upload_resources(src_dir, project=None, folder='/'):
subprocess.check_call(['tar', '-C', resources_dir, ... | PTFM-<I> project may actually be a container. | py |
diff --git a/libraries/botbuilder-core/botbuilder/core/transcript_logger.py b/libraries/botbuilder-core/botbuilder/core/transcript_logger.py
index <HASH>..<HASH> 100644
--- a/libraries/botbuilder-core/botbuilder/core/transcript_logger.py
+++ b/libraries/botbuilder-core/botbuilder/core/transcript_logger.py
@@ -58,7 +58,... | don't await synchronous method (#<I>) | py |
diff --git a/src/feat/test/test_common_enum.py b/src/feat/test/test_common_enum.py
index <HASH>..<HASH> 100644
--- a/src/feat/test/test_common_enum.py
+++ b/src/feat/test/test_common_enum.py
@@ -74,8 +74,19 @@ class F(enum.Enum):
c = enum.value(4, "#/!@")
+class ChildF(F):
+ d = enum.value(5)
+
+
class Tes... | Add test case for inheritance of enums (to be sure how it works). | py |
diff --git a/mappyfile/utils.py b/mappyfile/utils.py
index <HASH>..<HASH> 100644
--- a/mappyfile/utils.py
+++ b/mappyfile/utils.py
@@ -451,7 +451,8 @@ def findall(lst, key, value):
def findunique(lst, key):
"""
- Find all unique key values for items in lst.
+ Find all unique key values for items in lst. I... | Update comment re missing keys related to #<I> | py |
diff --git a/soco/core.py b/soco/core.py
index <HASH>..<HASH> 100755
--- a/soco/core.py
+++ b/soco/core.py
@@ -1138,9 +1138,9 @@ class SoCo(_SocoSingletonBase):
"""Get information about the currently playing track.
Returns:
- A dictionary containing the following information about the current... | Format one missed 'Returns' docstring | py |
diff --git a/salt/modules/service.py b/salt/modules/service.py
index <HASH>..<HASH> 100644
--- a/salt/modules/service.py
+++ b/salt/modules/service.py
@@ -49,7 +49,12 @@ def __virtual__():
# Suse >=12.0 uses systemd
if __grains__.get('os_family', '') == 'Suse':
try:
- if int(__grains__.get... | Fix service.py version parsing for SLE <I> "osrelease" on SLES <I> is in the form "<I> SP3", i.e. major version, then a space, then service pack number. This means we can't just split on '.' to get the major number for comparisons. Rather we need to split on non-digit characters to handle both space-delimited and dot-... | py |
diff --git a/src/oidcendpoint/client_authn.py b/src/oidcendpoint/client_authn.py
index <HASH>..<HASH> 100755
--- a/src/oidcendpoint/client_authn.py
+++ b/src/oidcendpoint/client_authn.py
@@ -250,6 +250,12 @@ def verify_client(endpoint_context, request, authorization_info):
except KeyError:
raise V... | Allow indirection. key->key->information | py |
diff --git a/sysconfig.py b/sysconfig.py
index <HASH>..<HASH> 100644
--- a/sysconfig.py
+++ b/sysconfig.py
@@ -341,7 +341,7 @@ def _init_mac():
import MacOS
if not hasattr(MacOS, 'runtimemodel'):
- g['SO'] = '.ppc.slb'
+ g['SO'] = '.ppc.slb'
else:
g['SO'] = '.%s.slb' % MacOS.runtimem... | Fixed botched indent in _init_mac() code. (It may never be executed, but it still can't have any syntax errors. Went a little too fast there, Jack? :-) | py |
diff --git a/sqlalchemy_mptt/tests/test_inheritance.py b/sqlalchemy_mptt/tests/test_inheritance.py
index <HASH>..<HASH> 100644
--- a/sqlalchemy_mptt/tests/test_inheritance.py
+++ b/sqlalchemy_mptt/tests/test_inheritance.py
@@ -122,4 +122,4 @@ class TestSpecializedTree(TreeTestingMixin, unittest.TestCase):
... | Let's get back to <I>% code coverage. | py |
diff --git a/Lib/glyphsLib/writer.py b/Lib/glyphsLib/writer.py
index <HASH>..<HASH> 100755
--- a/Lib/glyphsLib/writer.py
+++ b/Lib/glyphsLib/writer.py
@@ -135,7 +135,7 @@ class GlyphsWriter(object):
self.file.write("\"%s +0000\"" % str(value))
else:
value = feature_syntax_encode(value... | Write Unicode-encoded values to file (works for now) | py |
diff --git a/SoftLayer/CLI/object_storage/credential/list.py b/SoftLayer/CLI/object_storage/credential/list.py
index <HASH>..<HASH> 100644
--- a/SoftLayer/CLI/object_storage/credential/list.py
+++ b/SoftLayer/CLI/object_storage/credential/list.py
@@ -6,6 +6,7 @@ import click
import SoftLayer
from SoftLayer.CLI import... | #<I> add username lookup to slcli object-storage credential list | py |
diff --git a/formats/folia.py b/formats/folia.py
index <HASH>..<HASH> 100644
--- a/formats/folia.py
+++ b/formats/folia.py
@@ -1264,15 +1264,10 @@ class AbstractElement(object):
if not Class in parent.ACCEPTED_DATA:
#Class is not in accepted data, but perhaps any of its ancestors is?
... | properly handle multiple inheritance for ACCEPTED_DATA, should solve #<I> | py |
diff --git a/master/buildbot/db/model.py b/master/buildbot/db/model.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/db/model.py
+++ b/master/buildbot/db/model.py
@@ -18,8 +18,8 @@ from __future__ import print_function
import migrate
import migrate.versioning.repository
-from migrate import exceptions
import s... | revert import order to make isort happy | py |
diff --git a/zipline/assets/assets.py b/zipline/assets/assets.py
index <HASH>..<HASH> 100644
--- a/zipline/assets/assets.py
+++ b/zipline/assets/assets.py
@@ -750,8 +750,11 @@ class AssetFinder(object):
# Build an Asset of the appropriate type, default to Equity
asset_type = entry.pop('asset_type', 'e... | BUG: Fix exception on no symbol with fuzzy enabled If there is no symbol there should be no fuzzy lookup either. | py |
diff --git a/pysat/_files.py b/pysat/_files.py
index <HASH>..<HASH> 100644
--- a/pysat/_files.py
+++ b/pysat/_files.py
@@ -112,8 +112,7 @@ class Files(object):
removed from the stored list of files.
"""
- # Set the hidden variables
- # self._sat = weakref.proxy(sat)
+ # Upda... | STY: Cleanup, remove weak reference references | py |
diff --git a/andes/linsolvers/solverbase.py b/andes/linsolvers/solverbase.py
index <HASH>..<HASH> 100644
--- a/andes/linsolvers/solverbase.py
+++ b/andes/linsolvers/solverbase.py
@@ -18,7 +18,7 @@ class Solver:
# check if `sparselib` library has been successfully imported
if (sparselib not in global... | Updated failsafe solver to klu. | py |
diff --git a/seed.py b/seed.py
index <HASH>..<HASH> 100644
--- a/seed.py
+++ b/seed.py
@@ -13,14 +13,30 @@ experiments = {
# generate 20 client ids
client_ids = []
-for i in range(1, 20):
+for i in range(1, 800):
client_ids.append(''.join(random.choice(string.ascii_lowercase + string.digits + '-_') for x in ra... | minor: small script to load data and convert. | py |
diff --git a/subliminal/providers/opensubtitles.py b/subliminal/providers/opensubtitles.py
index <HASH>..<HASH> 100644
--- a/subliminal/providers/opensubtitles.py
+++ b/subliminal/providers/opensubtitles.py
@@ -158,7 +158,10 @@ class OpenSubtitlesProvider(Provider):
if hash and size:
criteria.appe... | OpenSubtitle IMDB search not using season and episode (#<I>) | py |
diff --git a/sos/report/plugins/apache.py b/sos/report/plugins/apache.py
index <HASH>..<HASH> 100644
--- a/sos/report/plugins/apache.py
+++ b/sos/report/plugins/apache.py
@@ -29,9 +29,12 @@ class Apache(Plugin):
"apachectl -t"
])
- # The foreman plugin collects these files with a greater ... | [apache] skip collecting pulp* logs Since these are collected in the pulp plugin directly. Resolves: #<I> | py |
diff --git a/claripy/backends/backend_vsa.py b/claripy/backends/backend_vsa.py
index <HASH>..<HASH> 100644
--- a/claripy/backends/backend_vsa.py
+++ b/claripy/backends/backend_vsa.py
@@ -871,11 +871,6 @@ class BackendVSA(ModelBackend):
else:
sat, lst = getattr(self, "cts_handler_%s" % op)(args)
... | Removed a debugging liner | py |
diff --git a/pymatgen/io/vasp/outputs.py b/pymatgen/io/vasp/outputs.py
index <HASH>..<HASH> 100644
--- a/pymatgen/io/vasp/outputs.py
+++ b/pymatgen/io/vasp/outputs.py
@@ -2221,6 +2221,9 @@ class Outcar(MSONable):
if self.lcalcpol:
d.update({'p_elec': self.p_elec,
'p_ion': se... | added spin polarized polarization to Outcar as_dict method | py |
diff --git a/openquake/shapes.py b/openquake/shapes.py
index <HASH>..<HASH> 100644
--- a/openquake/shapes.py
+++ b/openquake/shapes.py
@@ -32,7 +32,6 @@ from numpy import sin, cos, arctan2, sqrt, radians
from shapely import geometry
from scipy.interpolate import interp1d
-from scipy import sqrt, log, exp
from op... | removed not used imports, added doc Former-commit-id: ec<I>fee<I>b<I>b2b<I>c<I>ad<I>adb8d<I>ff4cc | py |
diff --git a/misc/determine_git_version.py b/misc/determine_git_version.py
index <HASH>..<HASH> 100644
--- a/misc/determine_git_version.py
+++ b/misc/determine_git_version.py
@@ -136,10 +136,9 @@ def write_git_version(fileobj):
git_committer = '%s <%s>' % (git_committer_name, git_committer_email)
# determine tr... | use exit code from git diff index for tree status | py |
diff --git a/aiohttp_apispec/decorators.py b/aiohttp_apispec/decorators.py
index <HASH>..<HASH> 100644
--- a/aiohttp_apispec/decorators.py
+++ b/aiohttp_apispec/decorators.py
@@ -27,7 +27,7 @@ def docs(**kwargs):
def wrapper(func):
kwargs["produces"] = ["application/json"]
if not hasattr(func, "_... | Remove 'docked' property. Closes #<I> | py |
diff --git a/ryu/ofproto/ofproto_v1_0.py b/ryu/ofproto/ofproto_v1_0.py
index <HASH>..<HASH> 100644
--- a/ryu/ofproto/ofproto_v1_0.py
+++ b/ryu/ofproto/ofproto_v1_0.py
@@ -197,7 +197,7 @@ OFP_ACTION_VLAN_PCP_PACK_STR = '!HHB3x'
OFP_ACTION_VLAN_PCP_SIZE = 8
assert calcsize(OFP_ACTION_VLAN_PCP_PACK_STR) == OFP_ACTION_VL... | Fix OFP_ACTION_DL_ADDR_PACK_STR Use '6s' for a mac address. It's consistent with nx code and works with mac.haddr_to_bin helper function. | py |
diff --git a/src/transformers/modeling_tf_longformer.py b/src/transformers/modeling_tf_longformer.py
index <HASH>..<HASH> 100644
--- a/src/transformers/modeling_tf_longformer.py
+++ b/src/transformers/modeling_tf_longformer.py
@@ -93,7 +93,7 @@ class TFLongformerBaseModelOutput(ModelOutput):
in the sequenc... | Fix TF Longformer (#<I>) | py |
diff --git a/pyqode/core/decoration.py b/pyqode/core/decoration.py
index <HASH>..<HASH> 100644
--- a/pyqode/core/decoration.py
+++ b/pyqode/core/decoration.py
@@ -138,6 +138,11 @@ class TextDecoration(QtGui.QTextEdit.ExtraSelection):
self.cursor.clearSelection()
self.format.setProperty(QtGui.QText... | Add a method to easily setup a single underlined format | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -9,5 +9,5 @@ setup(
url = 'https://github.com/jaseg/python-mpv',
author = 'jaseg',
author_email = 'github@jaseg.net',
- license = 'AGPLv2'
+ license = 'AGPLv3'
) | Update setup.py with correct license version | py |
diff --git a/profile/extensions/genepattern.py b/profile/extensions/genepattern.py
index <HASH>..<HASH> 100644
--- a/profile/extensions/genepattern.py
+++ b/profile/extensions/genepattern.py
@@ -249,7 +249,7 @@ def download_client_files():
os.makedirs(client_dir)
# Get the necessary file list in JSON
- ... | Point to master branch for client files by default | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -55,7 +55,7 @@ setup(
install_requires=[
'six>=1.10.0',
- 'graphql-core>=0.5.0',
+ 'graphql-core>=0.5.0,<1',
'promise>=0.4.0'
],
tests_require=['pytest>=2.7.2'], | Pin graphql-core to <1 | py |
diff --git a/src/transformers/keras_callbacks.py b/src/transformers/keras_callbacks.py
index <HASH>..<HASH> 100644
--- a/src/transformers/keras_callbacks.py
+++ b/src/transformers/keras_callbacks.py
@@ -370,7 +370,7 @@ class PushToHubCallback(Callback):
def on_train_end(self, logs=None):
if self.last_jo... | Terminate previous pushes when we get to the final push (#<I>) | py |
diff --git a/app.py b/app.py
index <HASH>..<HASH> 100644
--- a/app.py
+++ b/app.py
@@ -33,13 +33,13 @@ def bind_sensor(sensors, index):
if gpio_loaded:
- GPIO.Setmode(GPIO.BOARD)
- GPIO.Setup(11, GPIO.OUTPUT)
+ GPIO.setmode(GPIO.BOARD)
+ GPIO.setup(11, GPIO.OUTPUT)
def led_control(value=None):
- ... | GPIO method calls to lower case | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -48,6 +48,7 @@ setup(
'Framework :: Django',
'Framework :: Django :: 1.11',
'Framework :: Django :: 2.0',
+ 'Framework :: Django :: 2.1',
],
zip_safe=False,
tests_require=[ | Added Django <I> to setup | py |
diff --git a/pyvips/voperation.py b/pyvips/voperation.py
index <HASH>..<HASH> 100644
--- a/pyvips/voperation.py
+++ b/pyvips/voperation.py
@@ -280,8 +280,8 @@ class Operation(pyvips.VipsObject):
details = intro.details[name]
if (details['flags'] & _DEPRECATED) != 0:
- logger.i... | Fix logging deprecated arguments. When a deprecated argument is used, an exception was being thrown because a format string was being used but the logger as expecting percent placeholders. The current code would throw an exception. | py |
diff --git a/factory.py b/factory.py
index <HASH>..<HASH> 100644
--- a/factory.py
+++ b/factory.py
@@ -245,16 +245,6 @@ def create_wsgi_app(*args, **kwargs):
"""Create WSGI application."""
app = create_app(*args, **kwargs)
- # Start remote debugger if appropriate:
- if app.config.get('CFG_REMOTE_DEBUG... | global: removal of custom remote debugger support * INCOMPATIBLE Removes support for custom remote debuggers. (closes #<I>) | py |
diff --git a/tools/azure-devtools/src/azure_devtools/scenario_tests/recording_processors.py b/tools/azure-devtools/src/azure_devtools/scenario_tests/recording_processors.py
index <HASH>..<HASH> 100644
--- a/tools/azure-devtools/src/azure_devtools/scenario_tests/recording_processors.py
+++ b/tools/azure-devtools/src/azu... | replace response urls too (#<I>) | py |
diff --git a/test/test_persistence.py b/test/test_persistence.py
index <HASH>..<HASH> 100644
--- a/test/test_persistence.py
+++ b/test/test_persistence.py
@@ -13,6 +13,7 @@ from .sample_data import TEST_DATA, TEST_CITY_1
class DatabaseTestCase(unittest.TestCase):
def setUp(self):
+ self.old_db_url = os.e... | Reset DATABASE_URL OS environ value properly Let's be nice, who knows when this will save the day. | py |
diff --git a/torchvision/models/inception.py b/torchvision/models/inception.py
index <HASH>..<HASH> 100644
--- a/torchvision/models/inception.py
+++ b/torchvision/models/inception.py
@@ -48,6 +48,7 @@ def inception_v3(pretrained=False, progress=True, **kwargs):
kwargs['aux_logits'] = True
else:
... | Avoid initializing weights when loading pretrained model for Inception (#<I>) | py |
diff --git a/stix2validator/output.py b/stix2validator/output.py
index <HASH>..<HASH> 100644
--- a/stix2validator/output.py
+++ b/stix2validator/output.py
@@ -111,7 +111,7 @@ def print_schema_results(results, level=0):
"""
for error in results.errors:
- print_level(_RED + "[X] %s", level + 1, error)
... | Fixed excess indentation in print_schema_results and print_warning_results. | py |
diff --git a/orientation_magic.py b/orientation_magic.py
index <HASH>..<HASH> 100755
--- a/orientation_magic.py
+++ b/orientation_magic.py
@@ -142,13 +142,13 @@ is the percent cooling rate factor to apply to specimens from this sample, DA-CR
sys.exit()
if "-f" in args:
ind=args.index("-f")
- ... | use correct syntax for making file paths in orientation_magic | py |
diff --git a/dp_tornado/engine/logger.py b/dp_tornado/engine/logger.py
index <HASH>..<HASH> 100644
--- a/dp_tornado/engine/logger.py
+++ b/dp_tornado/engine/logger.py
@@ -4,11 +4,15 @@
import logging
import traceback
import threading
-import queue
import tornado.options
from .singleton import Singleton as dpSing... | support python 2 and 3 both. | py |
diff --git a/spacy/util.py b/spacy/util.py
index <HASH>..<HASH> 100644
--- a/spacy/util.py
+++ b/spacy/util.py
@@ -422,6 +422,28 @@ def resolve_training_config(
return registry.resolve(config, validate=validate)
+def resolve_dot_names(config: Config, dot_names: List[Optional[str]]) -> List[Optional[Callable]]:... | Add (untested) resolve_dot_names util | py |
diff --git a/tornado/httpclient.py b/tornado/httpclient.py
index <HASH>..<HASH> 100644
--- a/tornado/httpclient.py
+++ b/tornado/httpclient.py
@@ -604,3 +604,28 @@ def _utf8(value):
return value.encode("utf-8")
assert isinstance(value, str)
return value
+
+def main():
+ from tornado.options import... | Add a simple main function to httpclient.py for manual testing | py |
diff --git a/src/pyctools/tools/editor.py b/src/pyctools/tools/editor.py
index <HASH>..<HASH> 100644
--- a/src/pyctools/tools/editor.py
+++ b/src/pyctools/tools/editor.py
@@ -205,6 +205,7 @@ class ComponentLink(QtGui.QGraphicsLineItem):
self.dest = dest
self.inbox = inbox
self.renew()
+ ... | Refresh Busbar during connection to add new output | py |
diff --git a/pylibconfig2/parsing.py b/pylibconfig2/parsing.py
index <HASH>..<HASH> 100644
--- a/pylibconfig2/parsing.py
+++ b/pylibconfig2/parsing.py
@@ -4,7 +4,7 @@ Knowledge on pyparsing and libconfig required =)
"""
from pyparsing import alphas, alphanums, cppStyleComment, Combine, Group, \
- Forward, hexnum... | minor fix for parse error on decimal fractions in scientific notation with exponent | py |
diff --git a/dclab/rtdc_dataset/export.py b/dclab/rtdc_dataset/export.py
index <HASH>..<HASH> 100644
--- a/dclab/rtdc_dataset/export.py
+++ b/dclab/rtdc_dataset/export.py
@@ -171,7 +171,7 @@ class Export(object):
# Check if file already exist
if not override and path.exists():
raise OSErr... | fix: minor problem with unicode and python2 | py |
diff --git a/setuptest/setuptest.py b/setuptest/setuptest.py
index <HASH>..<HASH> 100644
--- a/setuptest/setuptest.py
+++ b/setuptest/setuptest.py
@@ -38,17 +38,26 @@ class SetupTestSuite(unittest.TestSuite):
if '.' in self.label:
self.addTest(build_test(self.label))
else:
+ # ... | resolve apps to test from py_modules and packages | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -36,9 +36,8 @@ reqs = ['six', 'thrift_sasl', 'bitarray']
packages = find_packages(exclude=['impala._thrift_gen',
'impala._thrift_gen.*'])
if PY2:
- apache_thrift_pkgs = find_packages(inc... | [IMPYLA-<I>] Make setup.py compatible with older setuptools Older setuptools doesn't support the `include` arg to `find_packages`. Fixes #<I>. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -22,7 +22,7 @@ setup(
test_suite="nose.collector",
install_requires=[
'Flask>=0.8',
- 'Flask-Script-fix',
+ 'Flask-Script>=0.3.2',
'celery>=2.3.0',
],
tests_require=[ | Use official Flask-Script distribution (>= <I>) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -20,8 +20,8 @@ from setuptools import setup
MAJOR = 1
-MINOR = 7
-MICRO = 1
+MINOR = 8
+MICRO = 0
VERSION = "{0}.{1}.{2}".format(MAJOR, MINOR, MICRO) | Updated version in setup.py | py |
diff --git a/optlang/gurobi_interface.py b/optlang/gurobi_interface.py
index <HASH>..<HASH> 100644
--- a/optlang/gurobi_interface.py
+++ b/optlang/gurobi_interface.py
@@ -402,10 +402,10 @@ class Configuration(interface.MathematicalProgrammingConfiguration):
def __init__(self, lp_method='primal', qp_method='primal'... | fix: change verbosity first, so subsequent changes are not always logged | py |
diff --git a/tests/test_polcart.py b/tests/test_polcart.py
index <HASH>..<HASH> 100644
--- a/tests/test_polcart.py
+++ b/tests/test_polcart.py
@@ -40,11 +40,18 @@ def test_convert_xy(x, y):
# @settings(perform_health_check=False)
-@given(floats(), floats())
+@given(
+ floats(
+ min_value=-1e6, max_value=... | fixed health checks for test_convert_rt | py |
diff --git a/pubsub/setup.py b/pubsub/setup.py
index <HASH>..<HASH> 100644
--- a/pubsub/setup.py
+++ b/pubsub/setup.py
@@ -51,14 +51,14 @@ SETUP_BASE = {
REQUIREMENTS = [
- 'google-cloud-core >= 0.24.1, < 0.25dev',
+ 'google-cloud-core >= 0.25.0, < 0.26dev',
'grpcio >= 1.0.2, < 2.0dev',
'gapic-goog... | Prep pubsub-<I> release. (#<I>) | py |
diff --git a/benchexec/tablegenerator/columns.py b/benchexec/tablegenerator/columns.py
index <HASH>..<HASH> 100644
--- a/benchexec/tablegenerator/columns.py
+++ b/benchexec/tablegenerator/columns.py
@@ -99,6 +99,15 @@ class Column(object):
their unit, a scale factor to apply to all values of the column (mostly to ... | Table generator: Add constraints on unit conversion attributes to Column docstring | py |
diff --git a/stacker/stacks/vpc.py b/stacker/stacks/vpc.py
index <HASH>..<HASH> 100644
--- a/stacker/stacks/vpc.py
+++ b/stacker/stacks/vpc.py
@@ -160,18 +160,11 @@ class VPC(StackTemplateBase):
nat_public_out_all_rule = ec2.SecurityGroupRule(
IpProtocol='-1', FromPort='-1', ToPort='-1', CidrIp='0... | Removing default ssh rule to nat gateways Instead you should get in via the bastion hosts like everything else, which is already limited to an OfficeIP | py |
diff --git a/gpiozero/internal_devices.py b/gpiozero/internal_devices.py
index <HASH>..<HASH> 100644
--- a/gpiozero/internal_devices.py
+++ b/gpiozero/internal_devices.py
@@ -343,8 +343,8 @@ class TimeOfDay(InternalDevice):
pause()
- Note that *start_time* and *end_time* may be reversed, indicating a ti... | TimeOfDay docstring clarifications | py |
diff --git a/icekit_events/views.py b/icekit_events/views.py
index <HASH>..<HASH> 100644
--- a/icekit_events/views.py
+++ b/icekit_events/views.py
@@ -66,6 +66,7 @@ def event(request, slug, is_preview=False):
context = {
'is_preview': is_preview,
'event': event,
+ 'request': request,
... | add request to event context to get the media to render | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.