diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/examples/notepad/notepad/main_window.py b/examples/notepad/notepad/main_window.py
index <HASH>..<HASH> 100644
--- a/examples/notepad/notepad/main_window.py
+++ b/examples/notepad/notepad/main_window.py
@@ -157,7 +157,7 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow):
"""
Add a n... | Notepad: Use "New document.txt" (so that mimetype and tab icon are properly detected) | py |
diff --git a/annoying/decorators.py b/annoying/decorators.py
index <HASH>..<HASH> 100644
--- a/annoying/decorators.py
+++ b/annoying/decorators.py
@@ -164,7 +164,7 @@ def ajax_request(func):
example:
- @ajax_response
+ @ajax_request
def my_view(request):
news = News.obje... | Fixed another typo - not on the ball today | py |
diff --git a/liquid_tags/include_code.py b/liquid_tags/include_code.py
index <HASH>..<HASH> 100644
--- a/liquid_tags/include_code.py
+++ b/liquid_tags/include_code.py
@@ -53,10 +53,12 @@ FORMAT = re.compile(r"""
(?:(?:lines:)(?P<lines>\d+-\d+))? # Optional lines
(?:\s+)? # Whitespace
(?P<h... | Add spaces to the regex between new parameters | py |
diff --git a/pymongo/cursor.py b/pymongo/cursor.py
index <HASH>..<HASH> 100644
--- a/pymongo/cursor.py
+++ b/pymongo/cursor.py
@@ -1113,9 +1113,9 @@ class Cursor(object):
"""Advance the cursor."""
if self.__empty:
raise StopIteration
- _db = self.__collection.database
if l... | Slightly faster Cursor.next() (#<I>) | py |
diff --git a/pyModeS/decoder/common.py b/pyModeS/decoder/common.py
index <HASH>..<HASH> 100644
--- a/pyModeS/decoder/common.py
+++ b/pyModeS/decoder/common.py
@@ -89,9 +89,9 @@ def icao(msg):
DF = df(msg)
- if DF in (17, 18):
+ if DF in (11, 17, 18):
addr = msg[2:8]
- elif DF in (4, 5, 20, 21... | add more DF to icao function | py |
diff --git a/allegedb/allegedb/graph.py b/allegedb/allegedb/graph.py
index <HASH>..<HASH> 100644
--- a/allegedb/allegedb/graph.py
+++ b/allegedb/allegedb/graph.py
@@ -776,9 +776,9 @@ class DiGraphPredecessorsMapping(GraphEdgeMapping):
def __delitem__(self, key):
"""Delete all edges ending at ``dest``"""... | Fix deletion of edges from the predecessors mapping | py |
diff --git a/openname/opennamed.py b/openname/opennamed.py
index <HASH>..<HASH> 100644
--- a/openname/opennamed.py
+++ b/openname/opennamed.py
@@ -36,11 +36,19 @@ log.addHandler(console)
from bitcoinrpc.authproxy import AuthServiceProxy
-config_options = 'https://' + config.BITCOIND_USER + ':' + \
- config.BITC... | add function for creating a bitcoind connection | py |
diff --git a/datajoint/connection.py b/datajoint/connection.py
index <HASH>..<HASH> 100644
--- a/datajoint/connection.py
+++ b/datajoint/connection.py
@@ -82,6 +82,8 @@ class Connection:
connected=connected, **self.conn_info)
def erd(self, *args, **kwargs):
+ # load all dependencies
+ ... | load dependencies prior to fetching erd | py |
diff --git a/aiohttp/client.py b/aiohttp/client.py
index <HASH>..<HASH> 100644
--- a/aiohttp/client.py
+++ b/aiohttp/client.py
@@ -399,10 +399,7 @@ class ClientSession:
if timeout is sentinel:
real_timeout = self._timeout # type: ClientTimeout
else:
- if not isinstance(timeout... | Drop dead code, float timeout support was removed (#<I>) | py |
diff --git a/saharaclient/api/data_sources.py b/saharaclient/api/data_sources.py
index <HASH>..<HASH> 100644
--- a/saharaclient/api/data_sources.py
+++ b/saharaclient/api/data_sources.py
@@ -26,7 +26,7 @@ class DataSourceManagerV1(base.ResourceManager):
def create(self, name, description, data_source_type,
... | Allow S3 credentials in data source create Do so, in a backwards-compatible way, and not in a way with good UX. Change-Id: I<I>b<I>c2e<I>ec9c<I>aba<I>aabab<I>a6abed<I>f3 | py |
diff --git a/salt/states/file.py b/salt/states/file.py
index <HASH>..<HASH> 100644
--- a/salt/states/file.py
+++ b/salt/states/file.py
@@ -318,7 +318,7 @@ def managed(name,
makedirs=False,
context=None,
defaults=None,
- __env__='base':
+ __env__='base'):
'''
Manage a g... | getting back in the mix :) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,7 @@
from setuptools import setup, find_packages
-version = '1.0.0'
+version = '1.1.3'
setup(name='bika.lims',
version=version, | Corrected the version in setup.py. | py |
diff --git a/src/arcrest/manageags/_services.py b/src/arcrest/manageags/_services.py
index <HASH>..<HASH> 100644
--- a/src/arcrest/manageags/_services.py
+++ b/src/arcrest/manageags/_services.py
@@ -183,10 +183,9 @@ class Services(BaseAGSServer):
}
type_services = []
folders = self.folders
- ... | Fixed find_services() to support * for service types and URL for the services in the root (otherwise double // is added to the url) | py |
diff --git a/asv/benchmark.py b/asv/benchmark.py
index <HASH>..<HASH> 100644
--- a/asv/benchmark.py
+++ b/asv/benchmark.py
@@ -498,7 +498,7 @@ class TimeBenchmark(Benchmark):
if repeat == 0:
# automatic number of samples: 10 is large enough to
# estimate the median confidence interval... | benchmark: use a more reasonable number of repeats per process Minimum at 5 samples per process enables people to scale up more easily just by increasing `processes` without having to set `repeat` at the same time. | py |
diff --git a/salt/modules/virtualenv_mod.py b/salt/modules/virtualenv_mod.py
index <HASH>..<HASH> 100644
--- a/salt/modules/virtualenv_mod.py
+++ b/salt/modules/virtualenv_mod.py
@@ -176,7 +176,7 @@ def create(path,
cmd.append('--distribute')
if python is not None and python.strip() != '':
-... | allow lookup of python on system path fix: #<I> fixes #<I> | py |
diff --git a/resolwe/elastic/indices.py b/resolwe/elastic/indices.py
index <HASH>..<HASH> 100644
--- a/resolwe/elastic/indices.py
+++ b/resolwe/elastic/indices.py
@@ -21,7 +21,6 @@ import logging
import threading
import elasticsearch_dsl as dsl
-from elasticsearch.exceptions import NotFoundError
from elasticsearch... | Don't emit warning logs when deleting objects from ES | py |
diff --git a/umis/umis.py b/umis/umis.py
index <HASH>..<HASH> 100644
--- a/umis/umis.py
+++ b/umis/umis.py
@@ -297,7 +297,7 @@ def tagcount(sam, out, genemap, output_evidence_table, positional, minevidence,
logger.info('Output results')
if subsample:
- cb_hist_sampled.to_csv('ss_{}_'.format(subsample... | Working file writing for sampled cb_hist | py |
diff --git a/nipap-www/nipapwww/controllers/xhr.py b/nipap-www/nipapwww/controllers/xhr.py
index <HASH>..<HASH> 100644
--- a/nipap-www/nipapwww/controllers/xhr.py
+++ b/nipap-www/nipapwww/controllers/xhr.py
@@ -85,6 +85,7 @@ class XhrController(BaseController):
"""
search_options = {}
+ extra... | Add vrf_id arg to XHR smart_search_vrf We can't pass a complete dict-SQL as an argument to the XHR from a javscript, so instead vrf_id was added which builds the dict-SQL in the XHR function and adds that as extra_query to the smart_search_vrf function in the backend. Part of #<I> | py |
diff --git a/voltron/plugins/view/register.py b/voltron/plugins/view/register.py
index <HASH>..<HASH> 100644
--- a/voltron/plugins/view/register.py
+++ b/voltron/plugins/view/register.py
@@ -395,7 +395,7 @@ class RegisterView (TerminalView):
@classmethod
def configure_subparser(cls, subparsers):
- sp... | plugins: view: register: Add registers alias The breakpoints view is plural, so it didn't make sense (to me) that register didn't work if pluralized. Kept the non plural version just so I don't break anyone's setup scripts. | py |
diff --git a/telemetry/telemetry/unittest/json_results.py b/telemetry/telemetry/unittest/json_results.py
index <HASH>..<HASH> 100644
--- a/telemetry/telemetry/unittest/json_results.py
+++ b/telemetry/telemetry/unittest/json_results.py
@@ -58,6 +58,9 @@ def UploadFullResultsIfNecessary(args, full_results):
if not arg... | Disable uploading telemetry results temporarily. For some reason the test-results server is crashing when processing the uploaded JSON file. I'm not sure if the file format is invalid, or if we're hitting some other problem on the server. However, if we get a <I> back from the server, we fail the test run, and that is... | py |
diff --git a/tinymce/compressor.py b/tinymce/compressor.py
index <HASH>..<HASH> 100644
--- a/tinymce/compressor.py
+++ b/tinymce/compressor.py
@@ -27,7 +27,8 @@ safe_filename_re = re.compile("^[a-zA-Z][a-zA-Z0-9_/-]*$")
def get_file_contents(filename):
base_path = tinymce.settings.JS_ROOT
if settings.DEBUG... | Use static finder to be able to overload it | py |
diff --git a/plexapi/video.py b/plexapi/video.py
index <HASH>..<HASH> 100644
--- a/plexapi/video.py
+++ b/plexapi/video.py
@@ -168,7 +168,8 @@ class Video(PlexPartialObject):
if title is None:
title = self.title
- key = '/playlists/1111/items?'
+ backgroundProcessing = self.fetchIt... | find server's backgroundProcessing key | py |
diff --git a/shap/explainers/_tree.py b/shap/explainers/_tree.py
index <HASH>..<HASH> 100644
--- a/shap/explainers/_tree.py
+++ b/shap/explainers/_tree.py
@@ -126,7 +126,7 @@ class Tree(Explainer):
self.data = data
if self.data is None:
feature_perturbation = "tree_path_dependent"
- ... | Stop warning for the tree path version of Tree explainer | py |
diff --git a/indra/assemblers/pysb_assembler.py b/indra/assemblers/pysb_assembler.py
index <HASH>..<HASH> 100644
--- a/indra/assemblers/pysb_assembler.py
+++ b/indra/assemblers/pysb_assembler.py
@@ -2189,6 +2189,7 @@ def increaseamount_assemble_interactions_only(stmt, model, agent_set):
add_rule_to_model(model, r)... | Change subj/obj order of IncreaseAmount rule | py |
diff --git a/udiskie/umount.py b/udiskie/umount.py
index <HASH>..<HASH> 100644
--- a/udiskie/umount.py
+++ b/udiskie/umount.py
@@ -16,7 +16,7 @@ def unmount_device(device):
device.unmount()
logger.info('unmounted device %s' % (device,))
else:
- logger.info('skipping unhandled device %s' % ... | That message really should be a debug message. | py |
diff --git a/tests/test_kerberos.py b/tests/test_kerberos.py
index <HASH>..<HASH> 100644
--- a/tests/test_kerberos.py
+++ b/tests/test_kerberos.py
@@ -1,6 +1,7 @@
import kerberos
import os
import requests
+import sys
username = os.environ.get('KERBEROS_USERNAME', 'administrator')
password = os.environ.get('KERBE... | Conditional use of xrange Python2's xrange is Python3+'s range, while Python3's xrange isn't a thing at all. | py |
diff --git a/test/test_execute.py b/test/test_execute.py
index <HASH>..<HASH> 100644
--- a/test/test_execute.py
+++ b/test/test_execute.py
@@ -212,7 +212,19 @@ processed.append((_par, _res))
wf = script.workflow()
Sequential_Executor(wf).inspect()
self.assertEqual(env.sos_dict['processed'], [... | Test for_each looping through pandas dataframe | py |
diff --git a/tests/settings.py b/tests/settings.py
index <HASH>..<HASH> 100644
--- a/tests/settings.py
+++ b/tests/settings.py
@@ -173,6 +173,7 @@ FLOW_DOCKER_VOLUME_EXTRA_OPTIONS = {
'secrets': 'Z',
'users': 'Z',
'tools': 'z',
+ 'runtime': 'Z',
}
FLOW_DOCKER_EXTRA_VOLUMES = [] | Add extra options for Docker runtime dirs to test settings | py |
diff --git a/qtpylib/algo.py b/qtpylib/algo.py
index <HASH>..<HASH> 100644
--- a/qtpylib/algo.py
+++ b/qtpylib/algo.py
@@ -174,11 +174,12 @@ class Algo(Broker):
sys.exit(0)
if self.backtest_end is None:
self.backtest_end = datetime.now().strftime('%Y-%m-%d %H:%M:%S.%f')
- ... | fixed bug related to backtest csv path | py |
diff --git a/katcp/test/test_server.py b/katcp/test/test_server.py
index <HASH>..<HASH> 100644
--- a/katcp/test/test_server.py
+++ b/katcp/test/test_server.py
@@ -1094,7 +1094,9 @@ class TestDeviceServerClientIntegrated(unittest.TestCase, TestUtilMixin):
if PY3:
with self.assertRaises(ValueError):... | add condition for python2 in byte strings test_help failure | py |
diff --git a/paved/django.py b/paved/django.py
index <HASH>..<HASH> 100644
--- a/paved/django.py
+++ b/paved/django.py
@@ -14,6 +14,7 @@ util.update(
manage_py = None,
project = None,
settings = '',
+ runserver_port = '',
syncdb = Bunch(
fi... | Added runserver_port option to paver start | py |
diff --git a/hpcbench/benchmark/custream.py b/hpcbench/benchmark/custream.py
index <HASH>..<HASH> 100644
--- a/hpcbench/benchmark/custream.py
+++ b/hpcbench/benchmark/custream.py
@@ -139,7 +139,8 @@ class CUDAStream(Benchmark):
name="{hostname} {category} bandwidth",
series=dic... | fixed indentation to make flake happy | py |
diff --git a/coursera/test/test_parsing.py b/coursera/test/test_parsing.py
index <HASH>..<HASH> 100644
--- a/coursera/test/test_parsing.py
+++ b/coursera/test/test_parsing.py
@@ -173,7 +173,8 @@ class TestSyllabusParsing(unittest.TestCase):
classes = {
'datasci-001': (10, 97, 358, 97), # issue 13... | tests: Incorporate test where the parser was dying with an exception. Perhaps this should have been in a different function, but, for now, it works OK. | py |
diff --git a/aikif/.z_prototype/check_ontology_content.py b/aikif/.z_prototype/check_ontology_content.py
index <HASH>..<HASH> 100644
--- a/aikif/.z_prototype/check_ontology_content.py
+++ b/aikif/.z_prototype/check_ontology_content.py
@@ -57,7 +57,11 @@ def main():
# SEE mini lib to do... | test to view new process yaml file | py |
diff --git a/pysegbase/graph.py b/pysegbase/graph.py
index <HASH>..<HASH> 100644
--- a/pysegbase/graph.py
+++ b/pysegbase/graph.py
@@ -45,7 +45,7 @@ class Graph(object):
last = self.lastnode
if type(coors) is nm.ndarray:
if len(coors.shape) == 1:
- coors = coors.reshape((1,... | fixed splited node symmetry | py |
diff --git a/synapse/lib/grammar.py b/synapse/lib/grammar.py
index <HASH>..<HASH> 100644
--- a/synapse/lib/grammar.py
+++ b/synapse/lib/grammar.py
@@ -233,8 +233,7 @@ class AstConverter(lark.Transformer):
assert kid.type == 'TAG'
return s_ast.TagName(kid.value)
- kids = self._convert_... | Cleanup from PR #<I> | py |
diff --git a/spinoff/remoting/hublogic.py b/spinoff/remoting/hublogic.py
index <HASH>..<HASH> 100644
--- a/spinoff/remoting/hublogic.py
+++ b/spinoff/remoting/hublogic.py
@@ -197,7 +197,7 @@ class HubLogic(object):
def relay_connected_received(self, relayee_nid):
if relayee_nid in self.cl_relayees:
... | Fixed KeyError in relaying | py |
diff --git a/setuptools/tests/test_develop.py b/setuptools/tests/test_develop.py
index <HASH>..<HASH> 100644
--- a/setuptools/tests/test_develop.py
+++ b/setuptools/tests/test_develop.py
@@ -3,6 +3,7 @@
import os
import site
import sys
+import io
import pytest
@@ -74,16 +75,12 @@ class TestDevelopTest:
... | Use io.open and its context for simpler reading of a file | py |
diff --git a/keyboard/_darwinkeyboard.py b/keyboard/_darwinkeyboard.py
index <HASH>..<HASH> 100644
--- a/keyboard/_darwinkeyboard.py
+++ b/keyboard/_darwinkeyboard.py
@@ -21,7 +21,7 @@ class KeyMap(object):
0x24: 'return',
0x30: 'tab',
0x31: 'space',
- 0x33: 'delete',
+ 0x33: 'b... | Rename 'delete' and 'forward delete' to 'backspace' and 'delete' | py |
diff --git a/src/wormhole/server/rendezvous_websocket.py b/src/wormhole/server/rendezvous_websocket.py
index <HASH>..<HASH> 100644
--- a/src/wormhole/server/rendezvous_websocket.py
+++ b/src/wormhole/server/rendezvous_websocket.py
@@ -211,10 +211,10 @@ class WebSocketRendezvous(websocket.WebSocketServerProtocol):
... | internal rename msg_id, for consistency | py |
diff --git a/integration_tests/output_collector.py b/integration_tests/output_collector.py
index <HASH>..<HASH> 100644
--- a/integration_tests/output_collector.py
+++ b/integration_tests/output_collector.py
@@ -7,14 +7,8 @@ class OutputCollector:
self.getvalue = self.stream.getvalue
def write(self,data):
... | Refactor: removed unused methods assert_equal_to, should_match | py |
diff --git a/num2words/__init__.py b/num2words/__init__.py
index <HASH>..<HASH> 100644
--- a/num2words/__init__.py
+++ b/num2words/__init__.py
@@ -63,7 +63,10 @@ CONVERTER_CLASSES = {
'vi_VN': lang_VN.Num2Word_VN()
}
-def num2words(number, ordinal=False, lang='en'):
+CONVERTES_TYPES = ['cardinal', 'ordinal', 'y... | Allow call to other convertes as to_currency, to_year There are at least to issues related with questions about how to use other convertes. This changes should allow the use of this converters | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -20,7 +20,7 @@ options = dict(name='cascadenik',
author_email='mike@teczno.com',
platforms='OS Independent',
license='todo',
- requires=['Mapnik','cssutils','PIL'],
+ requires=['Mapnik'... | Removed PIL from setup.py so pip will stop ineffectually trying to compile it - use apt or brew or whatever | py |
diff --git a/DataItem.py b/DataItem.py
index <HASH>..<HASH> 100644
--- a/DataItem.py
+++ b/DataItem.py
@@ -1204,6 +1204,12 @@ class DataItem(Storage.StorageBase):
data = property(__get_data)
return DataAccessor(self)
+ def __get_data_immediate(self):
+ """ add_ref, get data, remove_ref... | Add immediate '.data' accessor. Use sparingly. svn r<I> | py |
diff --git a/sigal/gallery.py b/sigal/gallery.py
index <HASH>..<HASH> 100644
--- a/sigal/gallery.py
+++ b/sigal/gallery.py
@@ -793,11 +793,11 @@ class Gallery:
self.logger.info("Using %s cores", ncpu)
if ncpu > 1:
- def pool_init():
- if self.settings['max_img_pixels']:
- ... | Fix pickle error with pool_init | py |
diff --git a/salt/modules/aptpkg.py b/salt/modules/aptpkg.py
index <HASH>..<HASH> 100644
--- a/salt/modules/aptpkg.py
+++ b/salt/modules/aptpkg.py
@@ -1597,7 +1597,7 @@ def del_repo_key(name=None, **kwargs):
owner_name, ppa_name = name[4:].split('/')
ppa_info = _get_ppa_info_from_launchpad(
... | Fetch a keyid ID from a fingerprint `apt-key del` works with IDs `signing_key_fingerprint` contains a fingerprint | py |
diff --git a/jwt/tests/test_jwk.py b/jwt/tests/test_jwk.py
index <HASH>..<HASH> 100644
--- a/jwt/tests/test_jwk.py
+++ b/jwt/tests/test_jwk.py
@@ -73,7 +73,7 @@ def test_jwk_from_dict_unsupported_kty():
def test_jwk_from_bytes_argument_conversion_confusing_name():
with raises(Exception) as ex:
@jwk_from_... | forgot no cover in this test inner function | py |
diff --git a/wallpaper/color_scheme.py b/wallpaper/color_scheme.py
index <HASH>..<HASH> 100644
--- a/wallpaper/color_scheme.py
+++ b/wallpaper/color_scheme.py
@@ -92,9 +92,9 @@ class ColorNoise:
def __init__(self, params, parent):
self.parent = parent
- hue = params.uniform("hue_variation", -.05,... | Only use half the range for color noise The offset is negated anyway | py |
diff --git a/tests/unit/modules/test_solarisips.py b/tests/unit/modules/test_solarisips.py
index <HASH>..<HASH> 100644
--- a/tests/unit/modules/test_solarisips.py
+++ b/tests/unit/modules/test_solarisips.py
@@ -21,7 +21,6 @@ import salt.utils.data
@skipIf(NO_MOCK, NO_MOCK_REASON)
-@skipIf(sys.platform != 'solaris'... | Remove skipif and change expected return for solarisips test | py |
diff --git a/microcosm_postgres/createall.py b/microcosm_postgres/createall.py
index <HASH>..<HASH> 100644
--- a/microcosm_postgres/createall.py
+++ b/microcosm_postgres/createall.py
@@ -10,7 +10,9 @@ from microcosm_postgres.operations import create_all, drop_all
def parse_args(graph):
parser = ArgumentParser()
... | Parse only known arguments in `createall` **Why?** Services using `createall` may want to have custom behavior, depending on arguments that they will parse but will be unrecognized here. **What?** Only parse know arguments in `createall`. | 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
setup(
name='python-i18n',
- version='0.1.2',
+ version='0.1.3',
description='Translation library for Python',
long_description=open('README.md').read(),
a... | Add missing package to setup.py. | py |
diff --git a/salt/pillar/hiera.py b/salt/pillar/hiera.py
index <HASH>..<HASH> 100644
--- a/salt/pillar/hiera.py
+++ b/salt/pillar/hiera.py
@@ -3,9 +3,26 @@ Take in a hiera configuration file location and execute it.
Adds the hiera data to pillar
'''
+# Import python libs
+import logging
+
+# Import salt libs
+impor... | Some fixes for better logging and safety | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -16,6 +16,8 @@ setup(
'Documentation': 'https://features.readthedocs.io',
'Changelog': 'https://features.readthedocs.io/en/latest/changelog.html',
'Issue Tracker': 'https://github.com/xflr6/features/... | add Travis CI and Codecov to project_urls | py |
diff --git a/src/mousedb/data/views.py b/src/mousedb/data/views.py
index <HASH>..<HASH> 100644
--- a/src/mousedb/data/views.py
+++ b/src/mousedb/data/views.py
@@ -85,7 +85,6 @@ def experiment_details_csv(request, experiment_id):
return response
-@login_required
def aging_csv(request):
"""This vie... | added an alive status indicator to aging.csv. Removed login required protection. | py |
diff --git a/sos/report/plugins/podman.py b/sos/report/plugins/podman.py
index <HASH>..<HASH> 100644
--- a/sos/report/plugins/podman.py
+++ b/sos/report/plugins/podman.py
@@ -38,7 +38,6 @@ class Podman(Plugin, RedHatPlugin, UbuntuPlugin):
'info',
'images',
'pod ps',
- '... | [podman] remove "podman pod ps -a" command "-a" option is not used for a while (if ever) and we collect "podman pod ps" already. Resolves: #<I> | py |
diff --git a/agentarchives/archivists_toolkit/atk.py b/agentarchives/archivists_toolkit/atk.py
index <HASH>..<HASH> 100644
--- a/agentarchives/archivists_toolkit/atk.py
+++ b/agentarchives/archivists_toolkit/atk.py
@@ -58,14 +58,13 @@ def get_resource_component_and_children(db, resource_id, resource_type='collecti
... | Got rid of use of non-existent column in resources table. | py |
diff --git a/test/test_remote.py b/test/test_remote.py
index <HASH>..<HASH> 100644
--- a/test/test_remote.py
+++ b/test/test_remote.py
@@ -406,7 +406,7 @@ class TestRemote(TestBase):
# cleanup - delete created tags and branches as we are in an innerloop on
# the same repository
TagReference.d... | also test a call to 'push' with <I>s timeout | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,6 @@
# See the LICENSE file for more information.
from setuptools import setup, find_packages
-import tornadis
DESCRIPTION = "tornadis is an async minimal redis client for tornado " \
"ioloop desi... | Don't import tornadis in setup.py | py |
diff --git a/seleniumbase/core/log_helper.py b/seleniumbase/core/log_helper.py
index <HASH>..<HASH> 100755
--- a/seleniumbase/core/log_helper.py
+++ b/seleniumbase/core/log_helper.py
@@ -130,3 +130,9 @@ def log_folder_setup(log_path, archive_logs=False):
os.makedirs(log_path)
if not settings.A... | When archive_logs is enabled, don't archive empty directories | py |
diff --git a/ss.py b/ss.py
index <HASH>..<HASH> 100644
--- a/ss.py
+++ b/ss.py
@@ -388,6 +388,7 @@ def main(argv=sys.argv, stream=sys.stdout):
with ThreadPoolExecutor(max_workers=config.parallel_jobs) as executor:
future_to_mkv_filename = {}
for movie_filename, subtitles in to_embed:
... | making tests more resilient ensuring subtitles are sorted before being passed to embed_mkv, since the order may change when running in multiple threads. | py |
diff --git a/pypif_sdk/accessor.py b/pypif_sdk/accessor.py
index <HASH>..<HASH> 100644
--- a/pypif_sdk/accessor.py
+++ b/pypif_sdk/accessor.py
@@ -1,5 +1,5 @@
-def get_propety_by_name(pif, name):
+def get_property_by_name(pif, name):
"""Get a property by name"""
return next((x for x in pif.properties if x... | Fixing typo in get_property_by_name | py |
diff --git a/glitter/urls.py b/glitter/urls.py
index <HASH>..<HASH> 100644
--- a/glitter/urls.py
+++ b/glitter/urls.py
@@ -7,6 +7,7 @@ from glitter.integration import glitter_app_pool
import importlib
urlpatterns = []
+used_apps = []
try:
# Attempt to find all Glitter App Pages, get their corresponding Glit... | Don't error out when using App Page routes not yet in nav For #<I> | py |
diff --git a/skyfield/timelib.py b/skyfield/timelib.py
index <HASH>..<HASH> 100644
--- a/skyfield/timelib.py
+++ b/skyfield/timelib.py
@@ -159,11 +159,15 @@ class JulianDate(object):
"""
dt, leap_second = self.utc_datetime()
- normalize = getattr(tz, 'normalize', lambda d: d)
- if self... | Remove no-op lambda, at a cost of more if-else's | py |
diff --git a/uncompyle6/__init__.py b/uncompyle6/__init__.py
index <HASH>..<HASH> 100644
--- a/uncompyle6/__init__.py
+++ b/uncompyle6/__init__.py
@@ -31,7 +31,7 @@ from __future__ import print_function
Probably a complete rewrite would be sensefull. hG/2000-12-27
'''
-import os, marshal, sys, types
+import imp, ... | Restrict marshal.loads when magic is the same. This is more stringent than using the Python major/minor version | py |
diff --git a/pifpaf/tests/test_drivers.py b/pifpaf/tests/test_drivers.py
index <HASH>..<HASH> 100644
--- a/pifpaf/tests/test_drivers.py
+++ b/pifpaf/tests/test_drivers.py
@@ -75,6 +75,7 @@ class TestDrivers(testtools.TestCase):
def test_stuck_process(self):
d = drivers.Driver(debug=True)
+ d.setU... | tests: call setUp to init cleanups | py |
diff --git a/meleeuploader/forms.py b/meleeuploader/forms.py
index <HASH>..<HASH> 100755
--- a/meleeuploader/forms.py
+++ b/meleeuploader/forms.py
@@ -107,7 +107,7 @@ class MeleeUploader(BaseWidget):
resp = self.question(f"Current Version: {consts.__version__}\nVersion {latest_version} is available... | show a message to the user about restarting the program after an update | py |
diff --git a/tests/integration/__init__.py b/tests/integration/__init__.py
index <HASH>..<HASH> 100644
--- a/tests/integration/__init__.py
+++ b/tests/integration/__init__.py
@@ -147,6 +147,14 @@ class ModuleCase(TestCase):
orig = self.client.cmd('minion', function, arg)
return orig['minion']
+
+ ... | Add run_state function to ModuleCase | py |
diff --git a/test.py b/test.py
index <HASH>..<HASH> 100644
--- a/test.py
+++ b/test.py
@@ -1826,6 +1826,11 @@ time.sleep(3)
class MiscTests(unittest.TestCase):
+ # https://github.com/amoffat/sh/issues/121
+ def test_wraps(self):
+ from sh import ls
+ wraps(ls)(lambda f: True)
+
def test_si... | test for functools.wraps on a sh command | py |
diff --git a/deis/settings.py b/deis/settings.py
index <HASH>..<HASH> 100644
--- a/deis/settings.py
+++ b/deis/settings.py
@@ -155,10 +155,6 @@ AUTHENTICATION_BACKENDS = (
)
ANONYMOUS_USER_ID = -1
-ACCOUNT_EMAIL_REQUIRED = True
-ACCOUNT_EMAIL_VERIFICATION = 'none'
-ACCOUNT_LOGOUT_ON_GET = True
-ACCOUNT_USERNAME_BLA... | ref(controller): remove several unused settings The ACCOUNT_* settings were not removed when django-allauth was, and DEFAULT_BUILD is not referenced anywhere. | py |
diff --git a/tests/unit/index_tests.py b/tests/unit/index_tests.py
index <HASH>..<HASH> 100644
--- a/tests/unit/index_tests.py
+++ b/tests/unit/index_tests.py
@@ -351,20 +351,15 @@ class IndexTests(UnitTestDbBase):
def test_index_usage_via_query(self):
"""
- Test that a query will fail if the ind... | Refactored test_index_usage_via_query Changed to assert that a warning is returned with the result rather than expecting an exception. | py |
diff --git a/python/jsbeautifier/unpackers/packer.py b/python/jsbeautifier/unpackers/packer.py
index <HASH>..<HASH> 100644
--- a/python/jsbeautifier/unpackers/packer.py
+++ b/python/jsbeautifier/unpackers/packer.py
@@ -40,7 +40,7 @@ def detect(source):
endstr = ''
else:
endstr = s... | Fix to make the unpacker pass the tests. | py |
diff --git a/openquake/engine/engine.py b/openquake/engine/engine.py
index <HASH>..<HASH> 100644
--- a/openquake/engine/engine.py
+++ b/openquake/engine/engine.py
@@ -453,6 +453,12 @@ def expose_outputs(dstore, job):
:param job: an OqJob instance
"""
exportable = set(ekey[0] for ekey in export.export)
+
... | Hiding the sescollection output of scenario calculators | py |
diff --git a/pyfirmata/pyfirmata.py b/pyfirmata/pyfirmata.py
index <HASH>..<HASH> 100755
--- a/pyfirmata/pyfirmata.py
+++ b/pyfirmata/pyfirmata.py
@@ -268,7 +268,9 @@ class Board(object):
return False
try:
handler(*data)
- except ValueError:
+ except ValueError, TypeErro... | Catch TypeError on handlers as they might occur when something is screwed up with the data sent from the board | py |
diff --git a/spyderlib/widgets/sourcecode/codeeditor.py b/spyderlib/widgets/sourcecode/codeeditor.py
index <HASH>..<HASH> 100644
--- a/spyderlib/widgets/sourcecode/codeeditor.py
+++ b/spyderlib/widgets/sourcecode/codeeditor.py
@@ -1992,6 +1992,7 @@ class CodeEditor(TextEditBaseWidget):
statement"""
r... | Editor: Don't insert colons after a line continuation character ('\') | py |
diff --git a/src/mbed_cloud/subscribe/observer.py b/src/mbed_cloud/subscribe/observer.py
index <HASH>..<HASH> 100644
--- a/src/mbed_cloud/subscribe/observer.py
+++ b/src/mbed_cloud/subscribe/observer.py
@@ -1,5 +1,3 @@
-# coding=utf8
-
# --------------------------------------------------------------------------
# Mbe... | py2/3 unicode literals don't work with linter | py |
diff --git a/delphi/translators/for2py/syntax.py b/delphi/translators/for2py/syntax.py
index <HASH>..<HASH> 100644
--- a/delphi/translators/for2py/syntax.py
+++ b/delphi/translators/for2py/syntax.py
@@ -86,7 +86,7 @@ RE_ENDDO_STMT = re.compile(ENDDO_STMT, re.I)
ENDIF_STMT = r"\s*(\d+|&)?\s*end\s*if\s*"
RE_ENDIF_STMT ... | bug fix to accept "GO TO" as well as "GOTO" (#<I>) | py |
diff --git a/libsubmit/version.py b/libsubmit/version.py
index <HASH>..<HASH> 100644
--- a/libsubmit/version.py
+++ b/libsubmit/version.py
@@ -1,4 +1,4 @@
''' Set module version
<Major>.<Minor>.<maintenance>[-alpha/beta/..]
'''
-VERSION = '0.2.2'
+VERSION = '0.2.3' | Bumping minor version for cobalt fix | py |
diff --git a/ipymd/markdown.py b/ipymd/markdown.py
index <HASH>..<HASH> 100644
--- a/ipymd/markdown.py
+++ b/ipymd/markdown.py
@@ -146,6 +146,13 @@ class BaseMarkdownWriter(object):
def append_code(self, input, output=None):
raise NotImplementedError("This method must be overriden.")
+ def write(self... | Added writer.write() method in markdown. | py |
diff --git a/src/toil/cwl/cwltoil.py b/src/toil/cwl/cwltoil.py
index <HASH>..<HASH> 100755
--- a/src/toil/cwl/cwltoil.py
+++ b/src/toil/cwl/cwltoil.py
@@ -13,7 +13,7 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See... | Update cwltoil.py Trying to trigger Jenkins with a commit. | py |
diff --git a/Lib/fontbakery/specifications/cmap.py b/Lib/fontbakery/specifications/cmap.py
index <HASH>..<HASH> 100644
--- a/Lib/fontbakery/specifications/cmap.py
+++ b/Lib/fontbakery/specifications/cmap.py
@@ -74,11 +74,9 @@ def com_google_fonts_check_078(ttFont):
"glyph names.")
else:
failed... | <I>: work on font.getGlyphOrder() instead Gets the names from post or CFF tables, so it works for TTFs and OTFs. | py |
diff --git a/skitai/server/http_server.py b/skitai/server/http_server.py
index <HASH>..<HASH> 100644
--- a/skitai/server/http_server.py
+++ b/skitai/server/http_server.py
@@ -336,6 +336,7 @@ class http_server (asyncore.dispatcher):
pid = os.fork ()
if pid == 0:
self.worker_ident = "worker #%d"... | handle KeyboardInterrupt on posix | py |
diff --git a/jss/pretty_element.py b/jss/pretty_element.py
index <HASH>..<HASH> 100644
--- a/jss/pretty_element.py
+++ b/jss/pretty_element.py
@@ -50,7 +50,12 @@ class PrettyElement(ElementTree.Element):
def __getattr__(self, name):
if re.match(_DUNDER_PATTERN, name):
return super(PrettyEleme... | Getattr should raise AttributeError when nothing is found | py |
diff --git a/openquake/hazardlib/calc/filters.py b/openquake/hazardlib/calc/filters.py
index <HASH>..<HASH> 100644
--- a/openquake/hazardlib/calc/filters.py
+++ b/openquake/hazardlib/calc/filters.py
@@ -188,7 +188,7 @@ class IntegrationDistance(collections.Mapping):
return repr(self.dic)
-def prefilter(src... | Renamed prefilter->preprocess | py |
diff --git a/discord/ext/commands/bot.py b/discord/ext/commands/bot.py
index <HASH>..<HASH> 100644
--- a/discord/ext/commands/bot.py
+++ b/discord/ext/commands/bot.py
@@ -108,6 +108,7 @@ class BotBase(GroupMixin):
self.description = inspect.cleandoc(description) if description else ''
self.owner_id = ... | [commands] Add support for stripping whitespace after the prefix This is configured with the strip_after_prefix option in `Bot.__init__` | py |
diff --git a/spacy/lang/en/__init__.py b/spacy/lang/en/__init__.py
index <HASH>..<HASH> 100644
--- a/spacy/lang/en/__init__.py
+++ b/spacy/lang/en/__init__.py
@@ -16,11 +16,13 @@ from ...language import Language
from ...attrs import LANG, NORM
from ...util import update_exc, add_lookups
+def _return_en(_):
+ ret... | Make lambda func a named function, for pickling | py |
diff --git a/spyderlib/widgets/ipython.py b/spyderlib/widgets/ipython.py
index <HASH>..<HASH> 100644
--- a/spyderlib/widgets/ipython.py
+++ b/spyderlib/widgets/ipython.py
@@ -379,7 +379,8 @@ class IPythonClient(QWidget, SaveHistoryMixin):
while error.startswith('<br>'):
error = error[4:]
... | IPython Console: Don't show connection lines in error message for <I>.x | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -11,7 +11,7 @@ def read_description():
setup(
name='Inject',
- version='3.5.3',
+ version='3.5.4.dev0',
url='https://github.com/ivankorobkov/python-inject',
license='Apache License 2.0', | Bumpted to <I>.dev0. | py |
diff --git a/edisgo/flex_opt/curtailment.py b/edisgo/flex_opt/curtailment.py
index <HASH>..<HASH> 100644
--- a/edisgo/flex_opt/curtailment.py
+++ b/edisgo/flex_opt/curtailment.py
@@ -101,7 +101,8 @@ def curtail_voltage(feedin, total_curtailment_ts, edisgo_object, **kwargs):
feedin_factor = v_pu - voltage_thres... | Bug Fix, properly eliminating the generator curtailments by changing to -1 and later adding 1 | py |
diff --git a/salt/runners/jobs.py b/salt/runners/jobs.py
index <HASH>..<HASH> 100644
--- a/salt/runners/jobs.py
+++ b/salt/runners/jobs.py
@@ -133,15 +133,16 @@ def lookup_jid(jid,
targeted_minions = data.get('Minions', [])
returns = data.get('Result', {})
- for minion in returns:
- if display_pro... | One more case where returner doesn't respond | py |
diff --git a/c7n/resources/asg.py b/c7n/resources/asg.py
index <HASH>..<HASH> 100644
--- a/c7n/resources/asg.py
+++ b/c7n/resources/asg.py
@@ -1403,7 +1403,7 @@ class MarkForOp(Tag):
schema = type_schema(
'mark-for-op',
- op={'enum': ['suspend', 'resume', 'delete']},
+ op={'type': 'string'... | aws.asg - mark-for-op support all asg actions (#<I>) | py |
diff --git a/src/yamlinclude/readers.py b/src/yamlinclude/readers.py
index <HASH>..<HASH> 100644
--- a/src/yamlinclude/readers.py
+++ b/src/yamlinclude/readers.py
@@ -16,7 +16,7 @@ except ImportError:
toml = None
__all__ = ['READER_TABLE', 'get_reader_class_by_path', 'get_reader_class_by_name',
- 'Rea... | Add PlainTextReader to __all__ (cherry picked from commit <I>f<I>eb<I>f<I>d6a0e<I>cbf<I>ee<I>) | py |
diff --git a/cheroot/test/test_core.py b/cheroot/test/test_core.py
index <HASH>..<HASH> 100644
--- a/cheroot/test/test_core.py
+++ b/cheroot/test/test_core.py
@@ -128,10 +128,22 @@ class HTTPTests(helper.CherootWebCase):
assert response.fp.read(21) == b'Malformed Request-URI'
c.close()
- for ... | Extract leading slash checks into separate tests | py |
diff --git a/source/awesome_tool/statemachine/data_port.py b/source/awesome_tool/statemachine/data_port.py
index <HASH>..<HASH> 100644
--- a/source/awesome_tool/statemachine/data_port.py
+++ b/source/awesome_tool/statemachine/data_port.py
@@ -227,7 +227,7 @@ class DataPort(Observable, yaml.YAMLObject):
eli... | Fix parsing of boolean default value - when parsing a boolean default value, first ast.literal_eval is applied - after this, boil is called with the result - this fixes the issue that any default value inserted was converted into True | py |
diff --git a/django_jenkins/tasks/run_sloccount.py b/django_jenkins/tasks/run_sloccount.py
index <HASH>..<HASH> 100644
--- a/django_jenkins/tasks/run_sloccount.py
+++ b/django_jenkins/tasks/run_sloccount.py
@@ -15,8 +15,7 @@ class Task(BaseTask):
def __init__(self, test_labels, options):
super(Task,... | Fix fake coverage by sloccount task. Close #<I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -22,7 +22,7 @@ CLASSIFIERS = [
setup(
name='django-mail-templated',
- version='0.2.1',
+ version='0.2.2',
packages=['mail_templated'],
author='Artem Rizhov',
author_email='artem.rizhov@gmail.com', | Changed version to <I> | py |
diff --git a/pyAudioAnalysis/ShortTermFeatures.py b/pyAudioAnalysis/ShortTermFeatures.py
index <HASH>..<HASH> 100644
--- a/pyAudioAnalysis/ShortTermFeatures.py
+++ b/pyAudioAnalysis/ShortTermFeatures.py
@@ -556,7 +556,7 @@ def feature_extraction(signal, sampling_rate, window, step, deltas=True):
RETURNS
f... | Fixed return description for feature_extraction() | py |
diff --git a/pywal/export.py b/pywal/export.py
index <HASH>..<HASH> 100644
--- a/pywal/export.py
+++ b/pywal/export.py
@@ -47,6 +47,7 @@ def get_export_type(export_type):
"tty": "colors-tty.sh",
"xresources": "colors.Xresources",
"yaml": "colors.yml",
+ "xmonad": "colors.hs",
}.ge... | I added the xmonad export_type. | py |
diff --git a/tests/test_rectangular_selection.py b/tests/test_rectangular_selection.py
index <HASH>..<HASH> 100755
--- a/tests/test_rectangular_selection.py
+++ b/tests/test_rectangular_selection.py
@@ -10,6 +10,7 @@ import base
from PyQt5.QtCore import Qt
from PyQt5.QtTest import QTest
+from PyQt5.QtGui import QKe... | Fix: Use platform-independent keystrokes in tests. This makes Mac tests pass. | py |
diff --git a/pymatgen/io/shengbte.py b/pymatgen/io/shengbte.py
index <HASH>..<HASH> 100644
--- a/pymatgen/io/shengbte.py
+++ b/pymatgen/io/shengbte.py
@@ -82,8 +82,8 @@ class Control(dict, MSONable):
self["t"] = t
self.update(kwargs)
- @staticmethod
- def from_file(filepath):
+ @classmethod... | Fixed 'from_file()' to be a class method | py |
diff --git a/test/logging_test.py b/test/logging_test.py
index <HASH>..<HASH> 100644
--- a/test/logging_test.py
+++ b/test/logging_test.py
@@ -228,6 +228,9 @@ REQUEST_NEW_CONNECTION = TEST_CONFIG.get_option('TEST', 'request_new_connection'
REQUEST_POST_ENDPOINT = TEST_CONFIG.get_option('TEST', 'request_POST_endpoint'... | adding nowebhook skip to discord_logger test | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.