diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/flask_sse.py b/flask_sse.py
index <HASH>..<HASH> 100644
--- a/flask_sse.py
+++ b/flask_sse.py
@@ -137,22 +137,12 @@ class ServerSentEventsBlueprint(Blueprint):
pubsub = self.redis.pubsub()
pubsub.subscribe(channel)
try:
- for msg_dict in self.messages_loop(channel, pub... | Issue #6 Redis clients not disconnecting Simplify code as per review feedback: <URL> | py |
diff --git a/music/api.py b/music/api.py
index <HASH>..<HASH> 100644
--- a/music/api.py
+++ b/music/api.py
@@ -11,6 +11,7 @@ class TrackResource(ModelBaseResource):
class Meta:
queryset = Track.permitted.all()
resource_name = 'track'
+ ordering = ['last_played']
def override_urls(se... | Allow ordering on last_played | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -276,10 +276,14 @@ if install:
path_out = prep(path_conf, filename)
source2target(path_in, path_out)
+ print_('\nNo problems encountered during testing!\n')
+
# Check for complete code cover... | Handle incomplete coverage as failure on Travis-CI. | py |
diff --git a/src/infi/projector/plugins/builtins/repository/skeleton/bootstrap.py b/src/infi/projector/plugins/builtins/repository/skeleton/bootstrap.py
index <HASH>..<HASH> 100644
--- a/src/infi/projector/plugins/builtins/repository/skeleton/bootstrap.py
+++ b/src/infi/projector/plugins/builtins/repository/skeleton/bo... | HOSTDEV-<I> better handling of virtualenv environments in bootstrap.py | py |
diff --git a/source/conf.py b/source/conf.py
index <HASH>..<HASH> 100644
--- a/source/conf.py
+++ b/source/conf.py
@@ -37,10 +37,10 @@ jsdoc_config_path = './conf.json'
# SCV options
-scv_show_banner = True
+scv_banner_greatest_tag = True
scv_whitelist_branches = ('master', 'dev')
-
-
+scv_show_banner = True
+scv... | update conf to use greatest tag and tag version as dev | py |
diff --git a/django_rest_passwordreset/management/commands/clearresetpasswodtokens.py b/django_rest_passwordreset/management/commands/clearresetpasswodtokens.py
index <HASH>..<HASH> 100644
--- a/django_rest_passwordreset/management/commands/clearresetpasswodtokens.py
+++ b/django_rest_passwordreset/management/commands/... | Fixed imports and timedelta usage in management command | py |
diff --git a/sass_processor/management/commands/compilescss.py b/sass_processor/management/commands/compilescss.py
index <HASH>..<HASH> 100644
--- a/sass_processor/management/commands/compilescss.py
+++ b/sass_processor/management/commands/compilescss.py
@@ -155,7 +155,7 @@ class Command(BaseCommand):
... | also catch IndentionError of parsed files | py |
diff --git a/usr/share/lib/ipa/tests/SLES/Azure/test_sles_azure_accel_networking.py b/usr/share/lib/ipa/tests/SLES/Azure/test_sles_azure_accel_networking.py
index <HASH>..<HASH> 100644
--- a/usr/share/lib/ipa/tests/SLES/Azure/test_sles_azure_accel_networking.py
+++ b/usr/share/lib/ipa/tests/SLES/Azure/test_sles_azure_a... | Test lsmod for mlx if lspci has Mellanox driver. | py |
diff --git a/command/bdist_wininst.py b/command/bdist_wininst.py
index <HASH>..<HASH> 100644
--- a/command/bdist_wininst.py
+++ b/command/bdist_wininst.py
@@ -216,7 +216,6 @@ class bdist_wininst (Command):
def get_exe_bytes (self):
import base64
return base64.decodestring(EXEDATA)
-
# class bdis... | dummy checkin for testing, please ignore | py |
diff --git a/azure-mgmt/tests/test_mgmt_apps.py b/azure-mgmt/tests/test_mgmt_apps.py
index <HASH>..<HASH> 100644
--- a/azure-mgmt/tests/test_mgmt_apps.py
+++ b/azure-mgmt/tests/test_mgmt_apps.py
@@ -59,7 +59,7 @@ class MgmtAppsTest(AzureMgmtTestCase):
self.assertEquals(site.name, site_name)
# List S... | Fix WebApp tests after "paging" update | py |
diff --git a/dimod/package_info.py b/dimod/package_info.py
index <HASH>..<HASH> 100644
--- a/dimod/package_info.py
+++ b/dimod/package_info.py
@@ -1,4 +1,4 @@
-__version__ = '1.0.0.dev4'
+__version__ = '1.0.0.dev5'
__author__ = 'D-Wave Systems Inc.'
__authoremail__ = 'acondello@dwavesys.com'
__description__ = 'A sha... | Update version <I>.dev4 -> <I>.dev5 | py |
diff --git a/src/auditlog/models.py b/src/auditlog/models.py
index <HASH>..<HASH> 100644
--- a/src/auditlog/models.py
+++ b/src/auditlog/models.py
@@ -75,7 +75,7 @@ class LogEntryManager(models.Manager):
content_type = ContentType.objects.get_for_model(queryset.model)
primary_keys = queryset.values_li... | Fix issue with possible duplicates in get_for_objects method | py |
diff --git a/tests/test_parse.py b/tests/test_parse.py
index <HASH>..<HASH> 100644
--- a/tests/test_parse.py
+++ b/tests/test_parse.py
@@ -955,7 +955,7 @@ def test_parse_get_and_write_fp_not_initialized(tmpdir):
iso = pyiso.PyIso()
with pytest.raises(pyiso.PyIsoException):
- iso.get_and_write_fp('/FO... | Make sure all test output goes to /tmp. | py |
diff --git a/postcodepy/postcodepy.py b/postcodepy/postcodepy.py
index <HASH>..<HASH> 100644
--- a/postcodepy/postcodepy.py
+++ b/postcodepy/postcodepy.py
@@ -222,7 +222,7 @@ class PostcodeError(Exception):
# ----------------------------------------------------------------------
-if __name__ == "__main__":
+if __n... | coverage pragma added to skip __main__ from coverage | py |
diff --git a/abydos/phonetic.py b/abydos/phonetic.py
index <HASH>..<HASH> 100644
--- a/abydos/phonetic.py
+++ b/abydos/phonetic.py
@@ -352,6 +352,7 @@ def koelner_phonetik(word):
Based on the algorithm described at
https://de.wikipedia.org/wiki/Kölner_Phonetik
"""
+ # pylint: disable=too-many-branches... | disabled too-many-branches warning for two functions | py |
diff --git a/netpyne/simFuncs.py b/netpyne/simFuncs.py
index <HASH>..<HASH> 100644
--- a/netpyne/simFuncs.py
+++ b/netpyne/simFuncs.py
@@ -66,10 +66,13 @@ def initialize (netParams = None, simConfig = None, net = None):
if sim.nhosts > 1: sim.cfg.checkErrors = False # turn of error chceking if using multiple core... | added try .. except to error checking | py |
diff --git a/pycbc/array.py b/pycbc/array.py
index <HASH>..<HASH> 100644
--- a/pycbc/array.py
+++ b/pycbc/array.py
@@ -346,6 +346,15 @@ class Array(object):
def data(self):
"""Returns the internal python array """
return self._data
+
+ @data.setter
+ def data(self,other):
+ dtype = ... | Added setter for data. It acts to pass the input to the constructor so the input checking is done in the same manner. | py |
diff --git a/duolingo.py b/duolingo.py
index <HASH>..<HASH> 100644
--- a/duolingo.py
+++ b/duolingo.py
@@ -262,9 +262,9 @@ class Duolingo(object):
def get_known_words(self, lang):
"""Get a list of all words learned by user in a language."""
words = []
- for word in self.user_data.language_... | Rename variable word to topic in get_known_words | py |
diff --git a/spacy/cli/project.py b/spacy/cli/project.py
index <HASH>..<HASH> 100644
--- a/spacy/cli/project.py
+++ b/spacy/cli/project.py
@@ -49,7 +49,7 @@ Version Control) to manage input and output files and to ensure steps are only
re-run if their inputs change.
"""
-project_cli = typer.Typer(help=CLI_HELP)
+pr... | Show help on "spacy project" | py |
diff --git a/vcs/backends/base.py b/vcs/backends/base.py
index <HASH>..<HASH> 100644
--- a/vcs/backends/base.py
+++ b/vcs/backends/base.py
@@ -432,6 +432,13 @@ class BaseWorkdir(object):
"""
raise NotImplementedError
+ def get_status(self):
+ """
+ Returns dict with ``added``, ``cha... | Added get_status method placeholder at BaseWorkdir --HG-- branch : workdir | py |
diff --git a/chess/svg.py b/chess/svg.py
index <HASH>..<HASH> 100644
--- a/chess/svg.py
+++ b/chess/svg.py
@@ -129,8 +129,7 @@ def board(board=None, squares=None, flipped=False, coordinates=True, lastmove=No
:param coordinates: Pass ``False`` to disable coordinates in the margin.
:param lastmove: A :class:`ch... | Improve chess.svg.board docs Add an example of the exact code that the programmer would need to pass in to generate an arrow on the chessboard. | py |
diff --git a/rinoh/layout.py b/rinoh/layout.py
index <HASH>..<HASH> 100644
--- a/rinoh/layout.py
+++ b/rinoh/layout.py
@@ -250,27 +250,15 @@ class ExpandingContainer(Container):
`width` and `right` parameters.
`max_height` is the maximum height this container can grow to."""
- height = Dimens... | ExpandingContainer.height was duplicating _cursor Automatically calculate height from the cursor. Fixes footnote container expansion. | py |
diff --git a/kuyruk/test/test_kuyruk.py b/kuyruk/test/test_kuyruk.py
index <HASH>..<HASH> 100644
--- a/kuyruk/test/test_kuyruk.py
+++ b/kuyruk/test/test_kuyruk.py
@@ -149,7 +149,7 @@ class KuyrukTestCase(unittest.TestCase):
assert not is_empty('kuyruk')
def test_save_failed_class_task(self):
- ""... | update test method descriptions [ci skip] | py |
diff --git a/apitools/gen/util.py b/apitools/gen/util.py
index <HASH>..<HASH> 100644
--- a/apitools/gen/util.py
+++ b/apitools/gen/util.py
@@ -255,7 +255,9 @@ class ClientInfo(collections.namedtuple('ClientInfo', (
def ReplaceHomoglyphs(s):
"""Returns s with unicode homoglyphs replaced by ascii equivalents."""
... | Catch another invalid \escape. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -15,6 +15,7 @@ requires = [
'aiodns',
'async_timeout',
'etcd3~=0.5.2',
+ 'msgpack-python~=0.4.8',
]
build_requires = [
'pypandoc', | deps: Add msgpack-python as depedency | py |
diff --git a/blackbird/utils/configread.py b/blackbird/utils/configread.py
index <HASH>..<HASH> 100644
--- a/blackbird/utils/configread.py
+++ b/blackbird/utils/configread.py
@@ -289,7 +289,7 @@ class ConfigReader(base.Subject):
result = self.config.validate(validator, preserve_errors=True)
self._pars... | clear() -> None in global section validation | py |
diff --git a/bunq/sdk/model/core/bunq_model.py b/bunq/sdk/model/core/bunq_model.py
index <HASH>..<HASH> 100644
--- a/bunq/sdk/model/core/bunq_model.py
+++ b/bunq/sdk/model/core/bunq_model.py
@@ -1,5 +1,4 @@
from bunq import Pagination
-from bunq.sdk.context.bunq_context import BunqContext
from bunq.sdk.http import ap... | Fixed broken tests by using local imports and resolving circular imports. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -17,5 +17,5 @@ setup(
'Topic :: Scientific/Engineering :: Astronomy',
],
packages=[ 'skyfield', 'skyfield.tests' ],
- install_requires=['jplephem', 'numpy', 'sgp4'],
+ install_requires=['de421', 'j... | Add de<I> as an install dependency | py |
diff --git a/tests/rules/test_go_unknown_command.py b/tests/rules/test_go_unknown_command.py
index <HASH>..<HASH> 100644
--- a/tests/rules/test_go_unknown_command.py
+++ b/tests/rules/test_go_unknown_command.py
@@ -1,6 +1,7 @@
import pytest
from thefuck.rules.go_unknown_command import match, get_new_command
from the... | Skip test instead of failing if go executable is not found. (#<I>) | py |
diff --git a/bfg9000/builtins/rules.py b/bfg9000/builtins/rules.py
index <HASH>..<HASH> 100644
--- a/bfg9000/builtins/rules.py
+++ b/bfg9000/builtins/rules.py
@@ -202,6 +202,10 @@ def install(builtins, build, *args, **kwargs):
@builtin.globals('build_inputs')
def test(build, test, options=None, environment=None, dr... | Don't allow setting environment for sub-tests | py |
diff --git a/ptpython/repl.py b/ptpython/repl.py
index <HASH>..<HASH> 100644
--- a/ptpython/repl.py
+++ b/ptpython/repl.py
@@ -15,6 +15,7 @@ from pygments.styles.default import DefaultStyle
from prompt_toolkit.application import AbortAction
from prompt_toolkit.enums import DEFAULT_BUFFER
from prompt_toolkit.interfac... | Make sure that we start in insert mode in the REPL before typing any code. | py |
diff --git a/salt/proxy/junos.py b/salt/proxy/junos.py
index <HASH>..<HASH> 100644
--- a/salt/proxy/junos.py
+++ b/salt/proxy/junos.py
@@ -128,6 +128,11 @@ def alive(opts):
'''
dev = conn()
+
+ # Check that the underlying netconf connection still exists.
+ if dev._conn is None:
+ return Fal... | Bug fix for keep_alive feature of junos. | py |
diff --git a/malcolm/modules/web/parts/websocketserverpart.py b/malcolm/modules/web/parts/websocketserverpart.py
index <HASH>..<HASH> 100644
--- a/malcolm/modules/web/parts/websocketserverpart.py
+++ b/malcolm/modules/web/parts/websocketserverpart.py
@@ -129,9 +129,11 @@ class WebsocketServerPart(Part):
... | Change stale websocket errors into info | py |
diff --git a/curdling/signal.py b/curdling/signal.py
index <HASH>..<HASH> 100644
--- a/curdling/signal.py
+++ b/curdling/signal.py
@@ -1,16 +1,23 @@
+import threading
+
+
class Signal(list):
pass
class SignalEmitter(object):
+ def __init__(self):
+ self.lock = threading.RLock()
+
@property
... | Protecting the access of the signal list with a lock | py |
diff --git a/test/ddate_tests.py b/test/ddate_tests.py
index <HASH>..<HASH> 100644
--- a/test/ddate_tests.py
+++ b/test/ddate_tests.py
@@ -74,6 +74,18 @@ class DDateTests(unittest.TestCase):
if not attr.startswith("_") and attr.lower() == attr:
self.assertIn(str(getattr(ddate_obj, attr)), ... | test coverage for passing None or objects without timetuples | py |
diff --git a/salt/utils/find.py b/salt/utils/find.py
index <HASH>..<HASH> 100644
--- a/salt/utils/find.py
+++ b/salt/utils/find.py
@@ -657,7 +657,7 @@ class Finder(object):
result = action.execute(fullpath, fstat, test=self.test)
if result is not None:
... | A PR wouldn't be complete without at least on PyLint fix :D | py |
diff --git a/MAVProxy/tools/mavflightview.py b/MAVProxy/tools/mavflightview.py
index <HASH>..<HASH> 100755
--- a/MAVProxy/tools/mavflightview.py
+++ b/MAVProxy/tools/mavflightview.py
@@ -94,11 +94,24 @@ def mavflightview(filename):
if opts.mode is not None and mlog.flightmode.lower() != opts.mode.lower():
... | mavflightview: support PX4 native SD log format | py |
diff --git a/spock/utils.py b/spock/utils.py
index <HASH>..<HASH> 100644
--- a/spock/utils.py
+++ b/spock/utils.py
@@ -43,12 +43,13 @@ class Position(Vector3, Info):
class BoundingBox(Vector3):
def __init__(self, w, h, d=None):
- d = w if d == None else d
+ d = w if d is None else d
super... | Make flake8 happy about utils | py |
diff --git a/copydoc.py b/copydoc.py
index <HASH>..<HASH> 100644
--- a/copydoc.py
+++ b/copydoc.py
@@ -117,7 +117,7 @@ class CopyDoc:
"""
See if span tag has bold style and wrap with strong tag.
"""
- if tag.get('style') == 'font-weight:bold':
+ if tag.get('style') == 'font-weig... | also check for font-weight:<I> | py |
diff --git a/elifetools/parseJATS.py b/elifetools/parseJATS.py
index <HASH>..<HASH> 100644
--- a/elifetools/parseJATS.py
+++ b/elifetools/parseJATS.py
@@ -2536,6 +2536,9 @@ def references_json(soup):
# pages
if ref.get("elocation-id"):
ref_content["pages"] = ref.get("elocation-id")
+ ... | References pages, if it is not really a page number then use the string value. | py |
diff --git a/pipenv/project.py b/pipenv/project.py
index <HASH>..<HASH> 100644
--- a/pipenv/project.py
+++ b/pipenv/project.py
@@ -642,9 +642,8 @@ class Project(object):
)
with atomic_open_for_write(self.lockfile_location, newline=newlines) as f:
f.write(s)
- # Write newline at... | Test for '\n', not platform newlines in user code Python always generates '\n' in string (unless we explicitly specify otherwise), so we should test that. Leave line ending handling to library code. | py |
diff --git a/pywal/sequences.py b/pywal/sequences.py
index <HASH>..<HASH> 100644
--- a/pywal/sequences.py
+++ b/pywal/sequences.py
@@ -64,7 +64,7 @@ def create_sequences(colors):
# \033[8m # Conceal text.
# \033]708;#000000\007 # Garbage sequence.
# \0338 i # Restore cursor posi... | sequences: This is it, my magnum opus | py |
diff --git a/myusps/__init__.py b/myusps/__init__.py
index <HASH>..<HASH> 100644
--- a/myusps/__init__.py
+++ b/myusps/__init__.py
@@ -143,6 +143,7 @@ def _get_login_metadata(session):
def _login(session):
"""Login."""
_LOGGER.debug("attempting login")
+ session.cookies.clear()
token, uuid_token, pay... | Explicitly clear cookies before attempting a new login | py |
diff --git a/tests/test_surfgen.py b/tests/test_surfgen.py
index <HASH>..<HASH> 100644
--- a/tests/test_surfgen.py
+++ b/tests/test_surfgen.py
@@ -24,7 +24,7 @@ def grid():
def grid2():
""" Generates a 6x6 control points grid """
surfgrid = CPGen.Grid(7, 13)
- surfgrid.generate(9, 9)
+ surfgrid.generat... | Minor updates in surface generator tests after API update | py |
diff --git a/openstack_dashboard/dashboards/admin/instances/panel.py b/openstack_dashboard/dashboards/admin/instances/panel.py
index <HASH>..<HASH> 100644
--- a/openstack_dashboard/dashboards/admin/instances/panel.py
+++ b/openstack_dashboard/dashboards/admin/instances/panel.py
@@ -26,4 +26,4 @@ class Instances(horizon... | Fix an incorrect policy rule in Admin > Instances Change-Id: I<I>ae0c<I>d<I>c<I>fbea<I>a2ca<I>ffb Closes-Bug: #<I> | py |
diff --git a/galpy/df_src/evolveddiskdf.py b/galpy/df_src/evolveddiskdf.py
index <HASH>..<HASH> 100644
--- a/galpy/df_src/evolveddiskdf.py
+++ b/galpy/df_src/evolveddiskdf.py
@@ -2045,8 +2045,3 @@ def _marginalizeVperpIntegrandSinAlphaLarge(vR,df,R,sinalpha,cotalpha,
def _marginalizeVperpIntegrandSinAlphaSmall(vT,df,R... | rm unused piece of code | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -16,7 +16,6 @@ setup(
name='pipcheck',
version=pipcheck.__version__,
author='Mike Jarrett',
- author_email='mike<dot>d<dot>jarrett<at>gmail<dot>com',
url='https://github.com/mikejarrett/pipcheck',
d... | Remove email address from setup.py | py |
diff --git a/alot/settings/manager.py b/alot/settings/manager.py
index <HASH>..<HASH> 100644
--- a/alot/settings/manager.py
+++ b/alot/settings/manager.py
@@ -92,7 +92,7 @@ class SettingsManager(object):
try:
self.hooks = imp.load_source('hooks', hooks_path)
except:
- logging.d... | better message on hook loading failure The typical current message looks like: unable to load hooks file:/home/teto/.config/alot/hooks.py without telling why python couldn't load the hook. This commit prints the exception, thus helping users to solve the issue (in my case encoding + wrong imports). | py |
diff --git a/tests/integ/test_airflow_config.py b/tests/integ/test_airflow_config.py
index <HASH>..<HASH> 100644
--- a/tests/integ/test_airflow_config.py
+++ b/tests/integ/test_airflow_config.py
@@ -17,6 +17,7 @@ import os
import pickle
import sys
import pytest
+import tests.integ
import numpy as np
@@ -227,6 +... | change: skip lda tests in regions that does not support it. (#<I>) | py |
diff --git a/runcommands/runners/remote.py b/runcommands/runners/remote.py
index <HASH>..<HASH> 100644
--- a/runcommands/runners/remote.py
+++ b/runcommands/runners/remote.py
@@ -9,9 +9,8 @@ try:
except ImportError:
paramiko = None
else:
- from paramiko.agent import Agent as SSHAgent
from paramiko.client... | Remove unused imports from runners.remote | py |
diff --git a/custard/utils.py b/custard/utils.py
index <HASH>..<HASH> 100644
--- a/custard/utils.py
+++ b/custard/utils.py
@@ -1,6 +1,4 @@
import importlib
-import functools
-import warnings
#==============================================================================
@@ -11,13 +9,3 @@ def import_class(name):
... | - removed unused decorator (using warnings directly) | py |
diff --git a/pbxproj/pbxextensions/ProjectFiles.py b/pbxproj/pbxextensions/ProjectFiles.py
index <HASH>..<HASH> 100644
--- a/pbxproj/pbxextensions/ProjectFiles.py
+++ b/pbxproj/pbxextensions/ProjectFiles.py
@@ -106,6 +106,7 @@ class ProjectFiles:
u'.bin': (u'archive.macbinary', u'PBXResourcesBuildPhase'),
... | Update: add .entitlements file type | py |
diff --git a/emirdrp/products.py b/emirdrp/products.py
index <HASH>..<HASH> 100644
--- a/emirdrp/products.py
+++ b/emirdrp/products.py
@@ -62,7 +62,7 @@ emir_schema_description = {
}
-class EMIRImageProduct(DataFrameType, DataProductTag):
+class EMIRImageProduct(DataProductTag, DataFrameType):
def conve... | Correct order of base classes (mixin first) | py |
diff --git a/compiler/api/compiler.py b/compiler/api/compiler.py
index <HASH>..<HASH> 100644
--- a/compiler/api/compiler.py
+++ b/compiler/api/compiler.py
@@ -69,7 +69,7 @@ def get_docstring_arg_type(t: str, is_list: bool = False, is_pyrogram_type: bool
t = (("e" if is_list else "E") + "ither " if n else "") +... | Fix weird constructor names reported in compiled docs | py |
diff --git a/svtplay_dl.py b/svtplay_dl.py
index <HASH>..<HASH> 100755
--- a/svtplay_dl.py
+++ b/svtplay_dl.py
@@ -875,7 +875,7 @@ class Qbrick():
class Kanal5():
def handle(self, url):
- return "kanal5play.se" in url
+ return ("kanal5play.se" in url) or ("kanal9play.se" in url)
def get(sel... | kanal5play: support for kanal9play.se | py |
diff --git a/rhaptos/cnxmlutils/odt2cnxml.py b/rhaptos/cnxmlutils/odt2cnxml.py
index <HASH>..<HASH> 100644
--- a/rhaptos/cnxmlutils/odt2cnxml.py
+++ b/rhaptos/cnxmlutils/odt2cnxml.py
@@ -156,9 +156,10 @@ def transform(odtfile, debug=False, outputdir=None):
PIPELINE = [
replaceSymbols,
injectStyles, #... | Re-added 2nd normalize pass for headings | py |
diff --git a/visidata/vdtui.py b/visidata/vdtui.py
index <HASH>..<HASH> 100755
--- a/visidata/vdtui.py
+++ b/visidata/vdtui.py
@@ -2208,7 +2208,7 @@ class SubrowColumn(Column):
def recalc(self, sheet=None):
Column.recalc(self, sheet)
- self.origcol.recalc(sheet)
+ self.origcol.recalc() # ... | [cache] bugfix for exp-digits; forwarded recalc on SubrowColumn needs to let origcol keep its sheet | py |
diff --git a/rtree/index.py b/rtree/index.py
index <HASH>..<HASH> 100644
--- a/rtree/index.py
+++ b/rtree/index.py
@@ -56,10 +56,12 @@ def _get_data(handle):
length = ctypes.c_uint64(0)
d = ctypes.pointer(ctypes.c_uint8(0))
core.rt.IndexItem_GetData(handle, ctypes.byref(d), ctypes.byref(length))
+ c =... | free when we don't have any data too, need libspatialindex trunk for this to work | py |
diff --git a/src/sentry_plugins/jira/plugin.py b/src/sentry_plugins/jira/plugin.py
index <HASH>..<HASH> 100644
--- a/src/sentry_plugins/jira/plugin.py
+++ b/src/sentry_plugins/jira/plugin.py
@@ -143,7 +143,9 @@ class JiraPlugin(CorePluginMixin, IssuePlugin2):
try:
meta = client.get_create_meta_for... | make jira unauthorized message clearer (#<I>) | py |
diff --git a/openphoto/main.py b/openphoto/main.py
index <HASH>..<HASH> 100644
--- a/openphoto/main.py
+++ b/openphoto/main.py
@@ -45,9 +45,9 @@ def main(args=sys.argv[1:]):
client = OpenPhoto(options.host, consumer_key, consumer_secret, token, token_secret)
if options.method == "GET":
- result = cli... | Don’t forget to actually use those thoroughly processed -F options. | py |
diff --git a/backtrader/feed.py b/backtrader/feed.py
index <HASH>..<HASH> 100644
--- a/backtrader/feed.py
+++ b/backtrader/feed.py
@@ -158,7 +158,7 @@ class AbstractDataBase(with_metaclass(MetaAbstractDataBase,
self.lines.datetime._settz(self._tz)
# This should probably be also called from an overri... | tzinput fetched from callable | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -9,10 +9,10 @@ from distutils.core import setup
setup(name='kkbox_developer_sdk',
description='KKBOX Open API Developer SDK for Python',
author='KKBOX',
- author_email='sharonyang@kkbox.com',
- version... | Bumps version to <I>. | py |
diff --git a/functional_tests/test_curve_curve.py b/functional_tests/test_curve_curve.py
index <HASH>..<HASH> 100644
--- a/functional_tests/test_curve_curve.py
+++ b/functional_tests/test_curve_curve.py
@@ -52,6 +52,12 @@ CURVE5 = bezier.Curve(np.array([
[0.5, -0.25],
[1.0, 0.75],
]))
+# g6 = sympy.Matrix([[... | Adding curve-curve tangency to functional tests. | py |
diff --git a/src/app/drivers/prottable/isoquant.py b/src/app/drivers/prottable/isoquant.py
index <HASH>..<HASH> 100644
--- a/src/app/drivers/prottable/isoquant.py
+++ b/src/app/drivers/prottable/isoquant.py
@@ -17,10 +17,6 @@ class AddIsobaricQuantDriver(ProttableAddData):
... | No need to make header since it is empty | py |
diff --git a/numina/array/wavecalib/__main__.py b/numina/array/wavecalib/__main__.py
index <HASH>..<HASH> 100644
--- a/numina/array/wavecalib/__main__.py
+++ b/numina/array/wavecalib/__main__.py
@@ -214,6 +214,9 @@ def wvcal_spectrum(filename, ns1, ns2,
print("Reading master table: " + wv_master_file)
... | Enlarge the expected wavelength range by a fixed fraction. | py |
diff --git a/ca/certificate/managers.py b/ca/certificate/managers.py
index <HASH>..<HASH> 100644
--- a/ca/certificate/managers.py
+++ b/ca/certificate/managers.py
@@ -101,7 +101,7 @@ class CertificateManager(models.Manager):
extensions.append(crypto.X509Extension(str('extendedKeyUsage'), 0,
... | use correct x<I> for client certs | py |
diff --git a/ws4redis/publisher.py b/ws4redis/publisher.py
index <HASH>..<HASH> 100644
--- a/ws4redis/publisher.py
+++ b/ws4redis/publisher.py
@@ -10,7 +10,7 @@ if 'unix_socket_path' in settings.WS4REDIS_CONNECTION:
conn_args = dict(settings.WS4REDIS_CONNECTION,
path=settings.WS4REDIS_CONNECTION['unix... | fix support for Unix Domain Sockets | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -81,7 +81,6 @@ class install_with_pth(install):
setup_params = dict(
- src_root=None,
cmdclass={'install': install_with_pth},
package_data=package_data,
dependency_links=[ | Remove src_root from setup.py, seemingly unused. | py |
diff --git a/cmd2.py b/cmd2.py
index <HASH>..<HASH> 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -1446,7 +1446,7 @@ class OutputTrap(Borg):
sys.stdout = self.old_stdout
class OutputTrap(Borg):
- '''Instantiate an OutputTrap to divert/capture ALL stdout output. For use in unit testing.
+ '''Instantiate an O... | hg troubles with py3 branch | py |
diff --git a/paystackapi/tests/test_tcontrol.py b/paystackapi/tests/test_tcontrol.py
index <HASH>..<HASH> 100644
--- a/paystackapi/tests/test_tcontrol.py
+++ b/paystackapi/tests/test_tcontrol.py
@@ -68,3 +68,18 @@ class TestTransfer(BaseTestCase):
otp="928783",
)
self.assertTrue(response[... | Add test for transfer control enable_otp | py |
diff --git a/salt/modules/grub.py b/salt/modules/grub.py
index <HASH>..<HASH> 100644
--- a/salt/modules/grub.py
+++ b/salt/modules/grub.py
@@ -2,6 +2,8 @@
Support for GRUB
'''
+# TODO: Support grub2
+
import os
def __virtual__():
@@ -17,14 +19,10 @@ def _detect_conf():
'''
GRUB conf location differs d... | salt.modules.grub: Remove code and don't change functionality Also add a few RedHat-ish distros to the list for grub.conf that weren't already. CloudLinux and OVS and the other variant of Oracle Linux come to mind. | py |
diff --git a/paramiko_expect.py b/paramiko_expect.py
index <HASH>..<HASH> 100755
--- a/paramiko_expect.py
+++ b/paramiko_expect.py
@@ -180,7 +180,7 @@ class SSHClientInteraction(object):
# Clean the output up by removing the expect output from the end if
# requested and save the details of the match... | fix IndexError when you get an empty buffer (#<I>) | py |
diff --git a/salt/modules/zypper.py b/salt/modules/zypper.py
index <HASH>..<HASH> 100644
--- a/salt/modules/zypper.py
+++ b/salt/modules/zypper.py
@@ -199,7 +199,7 @@ def info_available(*names, **kwargs):
names = sorted(list(set(names)))
# Refresh db before extracting the latest package
- if kwargs.p... | do not change kwargs in refresh while checking a value | py |
diff --git a/saspy/sasresults.py b/saspy/sasresults.py
index <HASH>..<HASH> 100644
--- a/saspy/sasresults.py
+++ b/saspy/sasresults.py
@@ -17,7 +17,7 @@ from __future__ import print_function
from saspy.SASLogLexer import SASLogStyle, SASLogLexer
from pygments.formatters import HtmlFormatter
from pygments import high... | remove printing of the log from ALL method | py |
diff --git a/invoice2data/main.py b/invoice2data/main.py
index <HASH>..<HASH> 100644
--- a/invoice2data/main.py
+++ b/invoice2data/main.py
@@ -22,7 +22,7 @@ from .output import to_xml
logger = logging.getLogger(__name__)
-FILENAME = "{date} {desc}.pdf"
+FILENAME = "{date} {invoice_number} {desc}.pdf"
input_mapp... | Add invoice numerb in file name (#<I>) Add invoice number to file name in order to avoid duplicates. Now, for real :) | py |
diff --git a/funk/matchers.py b/funk/matchers.py
index <HASH>..<HASH> 100644
--- a/funk/matchers.py
+++ b/funk/matchers.py
@@ -20,10 +20,10 @@ class IsA(Matcher):
self._type = type_
def matches(self, value, failure_output):
- passed = isinstance(value, self._type)
- if not passed:
... | Simplify matcher implementations slightly | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -36,6 +36,6 @@ setup(
extras_require={
'testing': ['pytest'],
'bluepy': ['bluepy==1.3.0'],
- 'pygatt': ['pygatt==3.4.0'],
+ 'pygatt': ['pygatt==3.2.0'],
},
) | Fix pygatt==<I> because <I> doesn't exists (#<I>) See <URL> | py |
diff --git a/forestci/version.py b/forestci/version.py
index <HASH>..<HASH> 100644
--- a/forestci/version.py
+++ b/forestci/version.py
@@ -1,9 +1,9 @@
# Format expected by setup.py and doc/source/conf.py: string of form "X.Y.Z"
_version_major = 0
-_version_minor = 6
-_version_micro = '' # use '' for first of series,... | Change version string for development towards <I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,7 @@ import epflutils
# Get the long description from the README file
-with open(path.join(path.abspath(path.dirname(__file__)), 'README.md')) as f:
+with open('README.md') as f:
long_description = f.read() | Fix prob travis readme file | py |
diff --git a/emma2/msm/estimation/api.py b/emma2/msm/estimation/api.py
index <HASH>..<HASH> 100644
--- a/emma2/msm/estimation/api.py
+++ b/emma2/msm/estimation/api.py
@@ -1,6 +1,5 @@
"""This module contains the api definitions for the estimation module"""
-
##########################################################... | Removed discrete trajectory IO from estimation/api.py is now in io/api.py | py |
diff --git a/seleniumbase/fixtures/base_case.py b/seleniumbase/fixtures/base_case.py
index <HASH>..<HASH> 100755
--- a/seleniumbase/fixtures/base_case.py
+++ b/seleniumbase/fixtures/base_case.py
@@ -649,9 +649,25 @@ class BaseCase(unittest.TestCase):
if self.__is_shadow_selector(selector):
self.__... | Add a shortcut to tab through and click active elements | py |
diff --git a/salt/client/mixins.py b/salt/client/mixins.py
index <HASH>..<HASH> 100644
--- a/salt/client/mixins.py
+++ b/salt/client/mixins.py
@@ -253,7 +253,8 @@ class SyncClientMixin(object):
namespaced_event.fire_event(data, 'ret')
salt.utils.job.store_job(
self.opts,
- {'id... | runner return: also add tgt to the payload | py |
diff --git a/qiskit/utils/optionals.py b/qiskit/utils/optionals.py
index <HASH>..<HASH> 100644
--- a/qiskit/utils/optionals.py
+++ b/qiskit/utils/optionals.py
@@ -253,7 +253,7 @@ HAS_NLOPT = _LazyImportTester(
callback=_nlopt_callback,
msg="See the documentation of 'qiskit.algorithms.optimizer.nlopts' for ins... | Fix pillow import in optionals (#<I>) * Change optionals import for pillow * Text change and co-author | py |
diff --git a/cider/core.py b/cider/core.py
index <HASH>..<HASH> 100755
--- a/cider/core.py
+++ b/cider/core.py
@@ -319,13 +319,13 @@ def restore(debug=None):
bootstrap = _read_bootstrap()
defaults = _read_json(DEFAULTS_FILE, {})
- for script in bootstrap["before-scripts"]:
+ for script in bootstrap.ge... | Degrade gracefully when reading partial bootstraps | py |
diff --git a/dispatch/tests/test_api_articles.py b/dispatch/tests/test_api_articles.py
index <HASH>..<HASH> 100644
--- a/dispatch/tests/test_api_articles.py
+++ b/dispatch/tests/test_api_articles.py
@@ -719,7 +719,7 @@ class ArticlesTests(DispatchAPITestCase, DispatchMediaTestMixin):
self.assertEqual(response.... | Keep grammatical tenses consistent | py |
diff --git a/src/python/tools/g2.py b/src/python/tools/g2.py
index <HASH>..<HASH> 100644
--- a/src/python/tools/g2.py
+++ b/src/python/tools/g2.py
@@ -1,3 +1,5 @@
+#! /usr/bin/env python
+
# ======================================================================
# Atomistica - Interatomic potential library
# https://... | Fixed pair distribution tool (should import atomistica, not mdcore) | py |
diff --git a/src/python/test/test_dxclient.py b/src/python/test/test_dxclient.py
index <HASH>..<HASH> 100755
--- a/src/python/test/test_dxclient.py
+++ b/src/python/test/test_dxclient.py
@@ -10156,9 +10156,10 @@ class TestDXRunBatch(DXTestCase):
class TestDXCompile(DXTestCase):
- # TODO - find out why this test... | Tweaking decoractors for when to run the dx-compile test | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -62,6 +62,9 @@ def run_setup():
include_package_data=True,
namespace_packages=['amazon'],
+ install_requires=[
+ 'six',
+ ],
setup_requires=[
'pytest-runner',
... | Adds required dependency (#<I>) | py |
diff --git a/widgets.py b/widgets.py
index <HASH>..<HASH> 100644
--- a/widgets.py
+++ b/widgets.py
@@ -368,9 +368,10 @@ class WTextEntry(EditorExt):
if key in (KEY_ENTER, KEY_ESC):
return key
if self.just_started:
- # Overwrite initial string with new content
- self.... | widgets: WTextEntry: Properly handle initial Backspace. Delete is handled in special manner automagically: remove all of old content. | py |
diff --git a/neuropythy/commands/surface_to_image.py b/neuropythy/commands/surface_to_image.py
index <HASH>..<HASH> 100644
--- a/neuropythy/commands/surface_to_image.py
+++ b/neuropythy/commands/surface_to_image.py
@@ -182,7 +182,7 @@ def main(args):
vol = sub.cortex_to_image(dat, hemi=hemi, method=method, fill=op... | fixed bug that gave wrong header info for surface-to-image transformations | py |
diff --git a/omemo/sessionmanager.py b/omemo/sessionmanager.py
index <HASH>..<HASH> 100644
--- a/omemo/sessionmanager.py
+++ b/omemo/sessionmanager.py
@@ -191,9 +191,16 @@ class SessionManager(object):
# Return the plaintext
return None, aes_gcm.decrypt(iv, payload + aes_gcm_tag, None)
- ... | Own device can never become inactive, made jid optional in newDeviceList | py |
diff --git a/benchexec/tools/cmaesfuzz.py b/benchexec/tools/cmaesfuzz.py
index <HASH>..<HASH> 100644
--- a/benchexec/tools/cmaesfuzz.py
+++ b/benchexec/tools/cmaesfuzz.py
@@ -31,7 +31,7 @@ class Tool(benchexec.tools.template.BaseTool2):
def cmdline(self, executable, options, task, rlimits):
# add a time l... | Update benchexec/tools/cmaesfuzz.py | py |
diff --git a/pinax/documents/views.py b/pinax/documents/views.py
index <HASH>..<HASH> 100644
--- a/pinax/documents/views.py
+++ b/pinax/documents/views.py
@@ -100,11 +100,6 @@ class FolderDetail(LoginRequiredMixin, DetailView):
qs = qs.for_user(self.request.user)
return qs
- def get_form_kwargs(s... | Remove unused `get_form_kwargs` method Not needed in DetailView. | py |
diff --git a/mongopool/__init__.py b/mongopool/__init__.py
index <HASH>..<HASH> 100644
--- a/mongopool/__init__.py
+++ b/mongopool/__init__.py
@@ -1,3 +1,15 @@
from mongopool import MongoPool
+from pkg_resources import get_distribution, DistributionNotFound
+import os.path
__all__ = ['mongopool']
+
+try:
+ _dist... | Make version accessible from a single place #<I> Package version is parsed from the setup.py file, so to change the version, the single place where it has to be modified is in setup.py | py |
diff --git a/client/cli/ok.py b/client/cli/ok.py
index <HASH>..<HASH> 100644
--- a/client/cli/ok.py
+++ b/client/cli/ok.py
@@ -165,7 +165,7 @@ def main():
msg_list.append(interact_msg)
except ex.LoadingException as e:
log.warning('Assignment could not load', exc_info=True)
- print('Error l... | Print more descriptive loading error message; remove submission URL for backups | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -38,19 +38,19 @@ setup(
packages=['seleniumbase',
'seleniumbase.common',
'seleniumbase.config',
+ 'seleniumbase.console_scripts',
'seleniumbase.core',
+ ... | Make all packages part of the seleniumbase package | py |
diff --git a/pkg_resources/__init__.py b/pkg_resources/__init__.py
index <HASH>..<HASH> 100644
--- a/pkg_resources/__init__.py
+++ b/pkg_resources/__init__.py
@@ -21,7 +21,6 @@ import os
import io
import time
import re
-import _imp
import types
import zipfile
import zipimport
@@ -40,6 +39,12 @@ import tempfile
i... | Restore compatibility for Python <I> and earlier. | py |
diff --git a/test/test_examples.py b/test/test_examples.py
index <HASH>..<HASH> 100644
--- a/test/test_examples.py
+++ b/test/test_examples.py
@@ -11,7 +11,7 @@ from glob import glob
# tests to exclude
excludes = ['authorization_v1.py',
- 'language_translation_v2.py', 'concept_expansion_v1.py']
+ ... | ignore qa since the service seems to be down | py |
diff --git a/qds_sdk/connection.py b/qds_sdk/connection.py
index <HASH>..<HASH> 100644
--- a/qds_sdk/connection.py
+++ b/qds_sdk/connection.py
@@ -79,13 +79,13 @@ class Connection:
log.info("Params: %s" % params)
if req_type == 'GET':
- r = x.get(url, **kwargs)
+ r = x.get(url,... | Add connect and read timeout for http requests. The timeouts are very conservative - <I>s and 5m for connect and read respectively. | py |
diff --git a/bulbs/__init__.py b/bulbs/__init__.py
index <HASH>..<HASH> 100644
--- a/bulbs/__init__.py
+++ b/bulbs/__init__.py
@@ -1 +1 @@
-__version__ = "0.3.0"
+__version__ = "0.3.1" | Kicking the version number [ci skip] | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.