diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/tryp/maybe.py b/tryp/maybe.py index <HASH>..<HASH> 100644 --- a/tryp/maybe.py +++ b/tryp/maybe.py @@ -60,6 +60,9 @@ class Maybe(Generic[A]): def smap(self, f: Callable[..., B]) -> 'Maybe[B]': return self.cata(lambda v: Just(f(*v)), Empty()) # type: ignore + def ssmap(self, f: Callable[....
Maybe.ssmap that applies its value as **v to an f
py
diff --git a/elasticsearch_dsl/query.py b/elasticsearch_dsl/query.py index <HASH>..<HASH> 100644 --- a/elasticsearch_dsl/query.py +++ b/elasticsearch_dsl/query.py @@ -143,6 +143,9 @@ class Bool(Query): elif not q.should: q.minimum_should_match = min_should_match ...
Add special case for combining bool queries Ref #<I>
py
diff --git a/etk/etk.py b/etk/etk.py index <HASH>..<HASH> 100644 --- a/etk/etk.py +++ b/etk/etk.py @@ -33,11 +33,7 @@ class ETK(object): Returns: List of the strings in the glossary. """ #to-do: this should be a list, not a dict - res = dict() with open(file_path) as fp: - ...
implemented GlossaryExtractor; fixed load_glossary() to return a list rather than a dictionary
py
diff --git a/python/simplerandom.py b/python/simplerandom.py index <HASH>..<HASH> 100644 --- a/python/simplerandom.py +++ b/python/simplerandom.py @@ -5,7 +5,6 @@ Reference: http://www.cse.yorku.ca/~oz/marsaglia-rng.html """ import random -import simplerandomcython as src class RandomIteratorTemplate(object): ...
Remove dependency of simplerandom on simplerandomcython.
py
diff --git a/model_utils/choices.py b/model_utils/choices.py index <HASH>..<HASH> 100644 --- a/model_utils/choices.py +++ b/model_utils/choices.py @@ -92,9 +92,6 @@ class Choices(object): return self._full == other._full return False - def __ne__(self, other): - return not self.__eq__(...
Removed redundant inequality method on Choices
py
diff --git a/salt/states/boto_iam_role.py b/salt/states/boto_iam_role.py index <HASH>..<HASH> 100644 --- a/salt/states/boto_iam_role.py +++ b/salt/states/boto_iam_role.py @@ -41,6 +41,8 @@ with the role. This is the default behavior of the AWS console. - region: us-east-1 - key: GKTADJGHEIQSXM...
Add policies_from_pillars to example
py
diff --git a/cloudvolume/datasource/graphene/metadata.py b/cloudvolume/datasource/graphene/metadata.py index <HASH>..<HASH> 100644 --- a/cloudvolume/datasource/graphene/metadata.py +++ b/cloudvolume/datasource/graphene/metadata.py @@ -7,7 +7,7 @@ from six.moves import urllib import numpy as np -from ...lib import ...
feat(graphene): adds point_to_chunk_bbox
py
diff --git a/katcp/client.py b/katcp/client.py index <HASH>..<HASH> 100644 --- a/katcp/client.py +++ b/katcp/client.py @@ -341,7 +341,7 @@ class DeviceClient(object): def run(self): """Process reply and inform messages from the server.""" self._logger.debug("Starting thread %s" % (threading.curre...
Reduce client sleep to <I>s (from <I>s) to make shutdown more responsive. git-svn-id: <URL>
py
diff --git a/examples/cluster_scoped_custom_object.py b/examples/cluster_scoped_custom_object.py index <HASH>..<HASH> 100644 --- a/examples/cluster_scoped_custom_object.py +++ b/examples/cluster_scoped_custom_object.py @@ -68,7 +68,7 @@ def main(): "metadata": {"name": "test-crontab"}, "spec": {"cronS...
Update cluster_scoped_custom_object.py
py
diff --git a/benchexec/tools/p4-test-tool.py b/benchexec/tools/p4-test-tool.py index <HASH>..<HASH> 100644 --- a/benchexec/tools/p4-test-tool.py +++ b/benchexec/tools/p4-test-tool.py @@ -20,8 +20,13 @@ class Tool(benchexec.tools.template.BaseTool2): return "P4 Test" def determine_result(self, run): + ...
Fixed tool to work on more test cases
py
diff --git a/redcap/project.py b/redcap/project.py index <HASH>..<HASH> 100755 --- a/redcap/project.py +++ b/redcap/project.py @@ -237,14 +237,14 @@ class Project(object): df_kwargs = {'index_col': 'field_name'} return read_csv(StringIO(response), **df_kwargs) - def delete_record(self...
:muscle: Allow for deletion of multiple records
py
diff --git a/anytemplate/utils.py b/anytemplate/utils.py index <HASH>..<HASH> 100644 --- a/anytemplate/utils.py +++ b/anytemplate/utils.py @@ -217,7 +217,7 @@ def write_to_output(content, output=None, anytemplate.compat.copen(output, 'w').write(content) else: - print(content, get_output_stream())...
fix a bug that output stream is not set
py
diff --git a/aioblescan/__main__.py b/aioblescan/__main__.py index <HASH>..<HASH> 100644 --- a/aioblescan/__main__.py +++ b/aioblescan/__main__.py @@ -27,6 +27,7 @@ import argparse import re import aioblescan as aiobs from aioblescan.plugins import EddyStone +from aioblescan.plugins import RuuviWeather def chec...
import of RuuviWeather at the wrong place
py
diff --git a/microsoftbotframework/msbot.py b/microsoftbotframework/msbot.py index <HASH>..<HASH> 100644 --- a/microsoftbotframework/msbot.py +++ b/microsoftbotframework/msbot.py @@ -154,8 +154,10 @@ class MsBot: def _get_redis_certificates(self): self.redis = redis.StrictRedis.from_url(self.redis_uri) ...
Caught exception for errors with additional redis fields that are not accepted.
py
diff --git a/src/taxi/models.py b/src/taxi/models.py index <HASH>..<HASH> 100755 --- a/src/taxi/models.py +++ b/src/taxi/models.py @@ -25,7 +25,7 @@ class Entry: return '%-30s %-5.2f %s' % (project_name, self.get_duration() or 0, self.description) def is_ignored(self): - return self.project_name[...
Don't rely on the description to detect ignored entries (and don't check if it's empty since it can't be)
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 @@ -321,8 +321,8 @@ def _gen_keep_files(name, require): ''' Check whether ``path`` is child of ``directory`` ''' - path = os.path.realpath(path) - ...
use abspath, do not eliminating symlinks realpath will eliminating symlinks, so following sls won't work as expected /root/a: file.directory: - user: root - group: root - mode: <I> - clean: True - require: - file: /root/a/b /root/a/b: file.symlink: - user: root - group: root ...
py
diff --git a/premailer/__main__.py b/premailer/__main__.py index <HASH>..<HASH> 100644 --- a/premailer/__main__.py +++ b/premailer/__main__.py @@ -113,6 +113,11 @@ def main(args): help="Pretty-print the outputted HTML.", ) + parser.add_argument( + "--encoding", default='utf-8', + help="...
Allow setting encoding from command-line. (#<I>) * Allow setting encoding from command-line. Passing `--encoding ascii` should fix issues #<I>, #<I>, #<I> and #<I>. * PEP8 fixes
py
diff --git a/latools/D_obj.py b/latools/D_obj.py index <HASH>..<HASH> 100644 --- a/latools/D_obj.py +++ b/latools/D_obj.py @@ -588,11 +588,13 @@ class D(object): if np.isnan(internal_standard_conc): for a in analytes: - self.data['mass_fraction'][a] = np.full(self.data['ca...
calc_analyte_mass now works with analyte ratios
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -7,10 +7,10 @@ setup( author="imtapps", author_email="imtapps@apps-system.com", description="pretty_times provides django template helpers for the py-pretty library.", - long_description=file('README.rst', 'r...
Bug Fix: made setup.py python3 compatible
py
diff --git a/chess/__init__.py b/chess/__init__.py index <HASH>..<HASH> 100644 --- a/chess/__init__.py +++ b/chess/__init__.py @@ -1885,6 +1885,17 @@ class Board(BaseBoard): game has to be replayed because there is no incremental transposition table. """ + # Fast check, based on occupa...
Optimize is_repetition() with a fast pass
py
diff --git a/doc/conf.py b/doc/conf.py index <HASH>..<HASH> 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -94,7 +94,7 @@ release = asam_version # # This is also used if you do content translation via gettext catalogs. # Usually you set "language" from the command line for these cases. -language = None +language = "e...
sphinx failing because language isn't set
py
diff --git a/mama_cas/compat.py b/mama_cas/compat.py index <HASH>..<HASH> 100644 --- a/mama_cas/compat.py +++ b/mama_cas/compat.py @@ -21,7 +21,7 @@ user_model = getattr(settings, 'AUTH_USER_MODEL', 'auth.User') def get_username(user): try: return user.get_username() - except AttributeError: + exce...
Ignore coverage for username shim fallback path
py
diff --git a/matplotlib_scalebar/scalebar.py b/matplotlib_scalebar/scalebar.py index <HASH>..<HASH> 100644 --- a/matplotlib_scalebar/scalebar.py +++ b/matplotlib_scalebar/scalebar.py @@ -372,7 +372,7 @@ class ScaleBar(Artist): width_fraction = _get_value("width_fraction", 0.01) location = _get_value("...
Ensure lower case for rotation and location
py
diff --git a/allennlp/training/trainer.py b/allennlp/training/trainer.py index <HASH>..<HASH> 100644 --- a/allennlp/training/trainer.py +++ b/allennlp/training/trainer.py @@ -129,11 +129,11 @@ class Trainer: num_training_batches = self._iterator.get_num_batches(self._train_dataset) if self._validation...
Fix calculation of patience and best epoch (#<I>)
py
diff --git a/tools/rect_wpoly_coeff.py b/tools/rect_wpoly_coeff.py index <HASH>..<HASH> 100644 --- a/tools/rect_wpoly_coeff.py +++ b/tools/rect_wpoly_coeff.py @@ -1518,6 +1518,8 @@ def main(args=None): fxpeaks=fxpeaks, poly_degree_wfit=args.poldeg_initial, wv_master=wv...
Enlarge volume of solution space for wavelength calibration
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -100,12 +100,13 @@ class update_libusb(Command): raise ValueError('Failed to locate current windows binary release') build_dir = os.path.join(os.path.dirname(__file__), 'build') download_cache_pa...
setup.py: Fix download-cache directory creation. For when the directory already exists but the latest upstream version does not.
py
diff --git a/vais/worlds.py b/vais/worlds.py index <HASH>..<HASH> 100644 --- a/vais/worlds.py +++ b/vais/worlds.py @@ -242,7 +242,7 @@ class WorldSimulation(object): print("--------------------------------------------------") print("Starting Simulation - target = ", self.agent_list[0].target_y, self.a...
uncommented highlight_surroundings for coverage testing
py
diff --git a/bcbio/structural/validate.py b/bcbio/structural/validate.py index <HASH>..<HASH> 100644 --- a/bcbio/structural/validate.py +++ b/bcbio/structural/validate.py @@ -25,7 +25,7 @@ except ImportError: from bcbio.log import logger from bcbio import utils -EVENT_SIZES = [(1, 250), (250, 1000), (1000, 5000), (...
Provide better size ranges for validating structural variants
py
diff --git a/pycbc/waveform/parameters.py b/pycbc/waveform/parameters.py index <HASH>..<HASH> 100644 --- a/pycbc/waveform/parameters.py +++ b/pycbc/waveform/parameters.py @@ -241,11 +241,11 @@ spin_sz = Parameter("spin_sz", description="The z component of the dimensionless spin of the " ...
fix label (#<I>)
py
diff --git a/stimela/main.py b/stimela/main.py index <HASH>..<HASH> 100644 --- a/stimela/main.py +++ b/stimela/main.py @@ -314,7 +314,7 @@ def pull(argv): singularity.pull( image, simage, directory=pull_folder, force=args.force) else: - image = "...
fix unspecified pull from docker/podman
py
diff --git a/custodian/custodian.py b/custodian/custodian.py index <HASH>..<HASH> 100644 --- a/custodian/custodian.py +++ b/custodian/custodian.py @@ -24,7 +24,6 @@ import time from glob import glob import tarfile import os -import shutil from abc import ABCMeta, abstractmethod from itertools import islice @@ -1...
reduce checkpoint compression level By default, shutil.make_archive uses the max gzip compression (9), which is slow and unneccessary (>5minutes to checkpoint a VASP job). Reducing compression to 3 improves by approximately <I>x, with ~<I>% increase in file size
py
diff --git a/datatableview/views.py b/datatableview/views.py index <HASH>..<HASH> 100644 --- a/datatableview/views.py +++ b/datatableview/views.py @@ -163,9 +163,7 @@ class DatatableMixin(MultipleObjectMixin): # only database fields? continue - ...
Reduce list of field tests isinstance() checks subclass types, allowing for simpler, more readable if-else branches. CharField and TextField are base classes of all other fields that also support the "__icontains" query type.
py
diff --git a/python/ray/tune/tests/test_tune_restore.py b/python/ray/tune/tests/test_tune_restore.py index <HASH>..<HASH> 100644 --- a/python/ray/tune/tests/test_tune_restore.py +++ b/python/ray/tune/tests/test_tune_restore.py @@ -558,7 +558,7 @@ class ResourceExhaustedTest(unittest.TestCase): from sklearn.dat...
[tune] Fix test_resource_exhausted_info test (#<I>) #<I> broke this test
py
diff --git a/openstack_dashboard/dashboards/identity/users/tables.py b/openstack_dashboard/dashboards/identity/users/tables.py index <HASH>..<HASH> 100644 --- a/openstack_dashboard/dashboards/identity/users/tables.py +++ b/openstack_dashboard/dashboards/identity/users/tables.py @@ -236,7 +236,7 @@ class UsersTable(tabl...
Users table email cell inline editing should have restriction Users table inline cell editing should be restricted input can be only a mailbox format. Change-Id: I<I>c8c<I>c0a<I>fc3fb<I>b5fc<I>d6d<I>bf Closes-Bug: #<I>
py
diff --git a/basil/TL/SiTcp.py b/basil/TL/SiTcp.py index <HASH>..<HASH> 100644 --- a/basil/TL/SiTcp.py +++ b/basil/TL/SiTcp.py @@ -163,7 +163,9 @@ class SiTcp(SiTransferLayer): elif not wlist: raise IOError('SiTcp:_write_single - Write timeout') else: - self._so...
ENH: aadditional checks for the message length
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -14,6 +14,19 @@ release = '0.3.dev1' pygments_style = 'sphinx' html_theme = 'alabaster' +html_theme_options = { + 'github_user': 'mbr', + 'github_repo': 'flask-nav', +} +html_sidebars = { + '**': [...
Added proper html theme options and sidebards to conf.py.
py
diff --git a/nipap/setup.py b/nipap/setup.py index <HASH>..<HASH> 100644 --- a/nipap/setup.py +++ b/nipap/setup.py @@ -28,6 +28,9 @@ def get_data_files(): ('/usr/share/man/man8/', 'nipapd.8.gz') ] + return files + + long_desc = open('README.rst').read() short_desc = long_desc.split('\n')[0]...
Bah, real fix for setup.py Haste makes waste. Somehow I was able to delete the return line just before commiting. Undid that in this commit :) Part of #<I>.
py
diff --git a/src/anyconfig/utils.py b/src/anyconfig/utils.py index <HASH>..<HASH> 100644 --- a/src/anyconfig/utils.py +++ b/src/anyconfig/utils.py @@ -405,7 +405,7 @@ def is_dict_like(obj): >>> is_dict_like(anyconfig.compat.OrderedDict((('a', 1), ('b', 2)))) True """ - return isinstance(obj, (dict, co...
fix deprecated collections reference utils.py:<I>: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python <I>, and in <I> it will stop working
py
diff --git a/anillo/middlewares/cors.py b/anillo/middlewares/cors.py index <HASH>..<HASH> 100644 --- a/anillo/middlewares/cors.py +++ b/anillo/middlewares/cors.py @@ -12,6 +12,8 @@ def wrap_cors(func=None, *, allow_origin='*', allow_headers=DEFAULT_HEADERS): respectively. """ + _allow_headers = ", ".join...
Generate the final allow headers at definition time instead runtime.
py
diff --git a/invenio_rest/views.py b/invenio_rest/views.py index <HASH>..<HASH> 100644 --- a/invenio_rest/views.py +++ b/invenio_rest/views.py @@ -66,18 +66,12 @@ class ContentNegotiatedMethodView(MethodView): def __init__(self, serializers=None, method_serializers=None, default_media_type=None, ...
docs: ContentNegotiatedMethodView improvements
py
diff --git a/salt/modules/git.py b/salt/modules/git.py index <HASH>..<HASH> 100644 --- a/salt/modules/git.py +++ b/salt/modules/git.py @@ -203,7 +203,7 @@ def clone(cwd, repository, opts=None, user=None, identity=None, if not opts: opts = '' - if salt.utils.is_windows(): + if utils.is_windows(): ...
Fixed incorrect importing of salt utils
py
diff --git a/gamest/app.py b/gamest/app.py index <HASH>..<HASH> 100644 --- a/gamest/app.py +++ b/gamest/app.py @@ -54,10 +54,7 @@ def identify_window(pid, text): nontext = Session.query(UserApp).filter(UserApp.window_text == None) # noqa pylint: disable=C0121 if uas.count(): proc = psutil.Process(pi...
We should no longer get AccessDenied with the current version of psutil.
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.14" +__version__ = "0.3.15"
Bumped version to <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,7 @@ INSTALL_REQUIRES = [ 'jsonschema>=2.5,<3.0', 'unicodecsv>=0.14,<2.0', 'jsonpointer>=1.10,<2.0', - 'tableschema>=1.0.0a14,<2.0', + 'tableschema>=1.0,<2.0', 'tabulator>=1.3,<2.0', # ...
Updated to tableschema@<I>
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 @@ -243,7 +243,7 @@ def run_calc(log): # check the available memory before starting while True: used_mem = psutil.virtual_memo...
Raised memory limit in run_calc [ci skip]
py
diff --git a/txaws/version.py b/txaws/version.py index <HASH>..<HASH> 100644 --- a/txaws/version.py +++ b/txaws/version.py @@ -1,3 +1,3 @@ -txaws = "0.3.0.dev0" +txaws = "0.3.0" ec2_api = "2012-08-15" s3_api = "2006-03-01"
bump the version to <I> for the final.
py
diff --git a/tests.py b/tests.py index <HASH>..<HASH> 100755 --- a/tests.py +++ b/tests.py @@ -28,7 +28,7 @@ class TestBootstrapper(unittest.TestCase): if hasattr(self, 'old_stderr'): sys.stderr = self.old_stderr - self.delete(self.requirements, self.venv) + self.delete(self.requir...
Fix deleting venv directory in test.
py
diff --git a/filer/models/filemodels.py b/filer/models/filemodels.py index <HASH>..<HASH> 100644 --- a/filer/models/filemodels.py +++ b/filer/models/filemodels.py @@ -5,6 +5,8 @@ from django.core import urlresolvers from django.db import models from django.contrib.auth import models as auth_models +from easy_thumbn...
add a hack to delete the thumbnails when we move the images
py
diff --git a/yolk/pypi.py b/yolk/pypi.py index <HASH>..<HASH> 100644 --- a/yolk/pypi.py +++ b/yolk/pypi.py @@ -23,13 +23,34 @@ import os import time import logging import urllib2 +import urllib from yolk.utils import get_yolk_dir XML_RPC_SERVER = 'http://pypi.python.org/pypi' -#XML_RPC_SERVER = 'http://downl...
Issue #3. Thanks David Bennett for python<I> addinfourl fix
py
diff --git a/f5/bigip/test/functional/test_resource.py b/f5/bigip/test/functional/test_resource.py index <HASH>..<HASH> 100644 --- a/f5/bigip/test/functional/test_resource.py +++ b/f5/bigip/test/functional/test_resource.py @@ -29,4 +29,3 @@ def test_load_example_resource(request, mgmt_root): assert x.kind == 'tm:l...
Issue #<I> - removed single assertion tmos <I> inconsistent
py
diff --git a/pysonos/snapshot.py b/pysonos/snapshot.py index <HASH>..<HASH> 100644 --- a/pysonos/snapshot.py +++ b/pysonos/snapshot.py @@ -169,10 +169,11 @@ class Snapshot(object): fade (bool): Whether volume should be faded up on restore. """ - if self.is_coordinator: - self._...
Always restore volume If a coordinator state is restored onto a SoCo that is now a slave, exceptions can happen. While that should probably be handled in a well-defined way, this commit just ensures that the volume is at least restored in that situation (since that is still valid for a slave).
py
diff --git a/django_coverage_plugin/plugin.py b/django_coverage_plugin/plugin.py index <HASH>..<HASH> 100644 --- a/django_coverage_plugin/plugin.py +++ b/django_coverage_plugin/plugin.py @@ -150,8 +150,6 @@ class FileReporter(coverage.plugin.FileReporter): # TODO: do we want the .filename attribute to be part ...
No longer need FileReporter.name
py
diff --git a/growler/metadata.py b/growler/metadata.py index <HASH>..<HASH> 100644 --- a/growler/metadata.py +++ b/growler/metadata.py @@ -4,14 +4,14 @@ """Project Metadata""" package = 'growler' -project = 'A New Web Framework' +project = 'Micro-Framework using asyncio corutines' project_no_spaces = project.repla...
Version bump to <I> - now considering project in 'Beta' mode
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -161,7 +161,6 @@ celery = [ cgroups = [ 'cgroupspy>=0.1.4', ] -# major update coming soon, clamp to 0.x cloudant = ['cloudant>=2.0'] crypto = ['cryptography>=0.9.3'] dask = [ @@ -273,7 +272,9 @@ devel = [ 'reque...
[AIRFLOW-<I>] Add mypy to setup.py dependencies (#<I>) - remove old comment regarding to cloudant upgrade
py
diff --git a/drivers/python/rethinkdb/ast.py b/drivers/python/rethinkdb/ast.py index <HASH>..<HASH> 100644 --- a/drivers/python/rethinkdb/ast.py +++ b/drivers/python/rethinkdb/ast.py @@ -877,7 +877,7 @@ class Nth(RqlQuery): def compose(self, args, optargs): return T(args[0], '[', args[1], ']') -class Ma...
fixing printing of python driver Match objects, OTS review by wmrowan
py
diff --git a/tests/functional/test_models.py b/tests/functional/test_models.py index <HASH>..<HASH> 100644 --- a/tests/functional/test_models.py +++ b/tests/functional/test_models.py @@ -7,9 +7,17 @@ except ImportError: import os import sys +# Add project folder to PATH for avoiding troubles in Django < 1.8 +# It c...
Solved problems with different versions of Django in testing
py
diff --git a/tools/run_tests/run_xds_tests.py b/tools/run_tests/run_xds_tests.py index <HASH>..<HASH> 100755 --- a/tools/run_tests/run_xds_tests.py +++ b/tools/run_tests/run_xds_tests.py @@ -1069,6 +1069,7 @@ try: if not os.path.exists(log_dir): os.makedirs(log_dir) test_log_file = open(o...
log exception and init client_process
py
diff --git a/pyvim/layout.py b/pyvim/layout.py index <HASH>..<HASH> 100644 --- a/pyvim/layout.py +++ b/pyvim/layout.py @@ -528,7 +528,7 @@ class EditorLayout(object): def _create_window_frame(self, editor_buffer): """ - Create a Window for the buffer, with underneat a status bar. + Create ...
docs: fix simple typo, underneat -> underneath There is a small typo in pyvim/layout.py. Should read `underneath` rather than `underneat`.
py
diff --git a/py3status/modules/keyboard_locks.py b/py3status/modules/keyboard_locks.py index <HASH>..<HASH> 100644 --- a/py3status/modules/keyboard_locks.py +++ b/py3status/modules/keyboard_locks.py @@ -5,10 +5,10 @@ Monitor CapsLock, NumLock, and ScrLock keys Configuration parameters: cache_timeout: refresh inte...
keyboard_locks: fix typo error
py
diff --git a/tests/__init__.py b/tests/__init__.py index <HASH>..<HASH> 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,14 +1,8 @@ # -*- coding: utf-8 -*- - from __future__ import unicode_literals import os import io import unittest - -for name in ['LANGUAGE', 'LC_ALL', 'LC_CTYPE', 'LC_MESSAGES']: - ...
Reorder statements in tests/__init__ to keep pep8 happy
py
diff --git a/rtv/submission_page.py b/rtv/submission_page.py index <HASH>..<HASH> 100644 --- a/rtv/submission_page.py +++ b/rtv/submission_page.py @@ -147,14 +147,14 @@ class SubmissionPage(Page): data = self.get_selected_item() if data['type'] == 'Submission': - self.open_submission_or_p...
Rename function for opening the link of an item
py
diff --git a/importmagic/importer.py b/importmagic/importer.py index <HASH>..<HASH> 100644 --- a/importmagic/importer.py +++ b/importmagic/importer.py @@ -101,7 +101,7 @@ class Imports(object): cfg_path = os.path.join(self._root_dir, PROJECT_CONFIG_FILE) config = ConfigParser() config.read(cf...
Use a python2/3 independent way to retreive config.
py
diff --git a/cumulusci/tasks/apex/testrunner.py b/cumulusci/tasks/apex/testrunner.py index <HASH>..<HASH> 100644 --- a/cumulusci/tasks/apex/testrunner.py +++ b/cumulusci/tasks/apex/testrunner.py @@ -42,6 +42,8 @@ WHERE AsyncApexJobId='{}' class RunApexTests(BaseSalesforceApiTask): """ Task to run Apex tests wit...
retrieve test results with api<I>
py
diff --git a/elasticutils/__init__.py b/elasticutils/__init__.py index <HASH>..<HASH> 100644 --- a/elasticutils/__init__.py +++ b/elasticutils/__init__.py @@ -109,8 +109,14 @@ class F(object): Filter objects. """ def __init__(self, **filters): - self.filters = {'and': _process_filters(filters.item...
only AND filters in an F is there are more than one
py
diff --git a/DemoPrograms/Demo_Multithreaded_Logging.py b/DemoPrograms/Demo_Multithreaded_Logging.py index <HASH>..<HASH> 100644 --- a/DemoPrograms/Demo_Multithreaded_Logging.py +++ b/DemoPrograms/Demo_Multithreaded_Logging.py @@ -46,16 +46,15 @@ class QueueHandler(logging.Handler): def main(): layout = [ - ...
Updated to use more recent design patterns.
py
diff --git a/pykwalify/rule.py b/pykwalify/rule.py index <HASH>..<HASH> 100644 --- a/pykwalify/rule.py +++ b/pykwalify/rule.py @@ -380,9 +380,9 @@ class Rule(object): t = DEFAULT_TYPE self.type = t else: - if not isinstance(schema["type"], str): + ...
schema["type"] should allow str or unicode, and the error now prints the type
py
diff --git a/tmdbsimple/base.py b/tmdbsimple/base.py index <HASH>..<HASH> 100644 --- a/tmdbsimple/base.py +++ b/tmdbsimple/base.py @@ -64,9 +64,9 @@ class TMDB(object): api_dict = {'api_key': API_KEY} if params: params.update(api_dict) - for key, value in params.iteritems(): + ...
Change iteritems() to 2/3 compat, check bool param is True - iteritems() is only py2 compatible, changing to items(), although inefficient, should be fine for this and does not require importing future - Add a verbose check to ensure bool type param is True
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ setup( tests_require=["nose==1.2.1", "pinocchio==0.3.1", unittest2_module], classifiers=[ 'Development Status :: 4 - Beta', - 'Intended Audience :: Developers' + 'Intended Audien...
Add missing comma to classifiers list in setup.py This typo was yielding an invalid classifier.
py
diff --git a/src/python/pants/jvm/dependency_inference/artifact_mapper.py b/src/python/pants/jvm/dependency_inference/artifact_mapper.py index <HASH>..<HASH> 100644 --- a/src/python/pants/jvm/dependency_inference/artifact_mapper.py +++ b/src/python/pants/jvm/dependency_inference/artifact_mapper.py @@ -388,7 +388,7 @@ c...
remove spurious quote mark (#<I>) Remove extra quote mark. [ci skip-rust] [ci skip-build-wheels]
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ setup( author_email='benedict@soe.usc.edu', url="https://github.com/BD2KGenomics/toil", install_requires=[ 'bd2k-python-lib>=1.7.dev1' ], - tests_require=[ 'mock' ], + tests_require=[ 'mock==1...
Pin specific version of setup.py, hopefully avoiding version conflict with siz
py
diff --git a/parsers/isophonics_parser.py b/parsers/isophonics_parser.py index <HASH>..<HASH> 100755 --- a/parsers/isophonics_parser.py +++ b/parsers/isophonics_parser.py @@ -67,6 +67,7 @@ def get_duration_from_annot(annot): def lab_to_range_annotation(lab_file, annot): """Populate a range annotation with a giv...
Substituting mir_eval by pandas
py
diff --git a/suds/client.py b/suds/client.py index <HASH>..<HASH> 100644 --- a/suds/client.py +++ b/suds/client.py @@ -108,7 +108,8 @@ class Client(UnicodeMixin): options = Options() options.transport = HttpAuthenticated() self.options = options - options.cache = ObjectCache(days=1) + ...
do not create client's default cache when another is given This fixed related failing unit tests and resolves project issue #2 opened on BitBucket by Arthur Clune related to suds failing to create its default client cache in his environment (caused by some temporary folder not being writeable), and not allowing the us...
py
diff --git a/pyout.py b/pyout.py index <HASH>..<HASH> 100644 --- a/pyout.py +++ b/pyout.py @@ -116,7 +116,7 @@ class Tabular(object): if key in ["bold", "underline"]: if value: return key - if key == "color": + elif key == "color": return value de...
Convert an 'if' to 'elif' Avoid a needless check when the top-level 'if' succeeds but 'value' is false.
py
diff --git a/example/image-classification/symbols/googlenet.py b/example/image-classification/symbols/googlenet.py index <HASH>..<HASH> 100644 --- a/example/image-classification/symbols/googlenet.py +++ b/example/image-classification/symbols/googlenet.py @@ -65,7 +65,7 @@ def get_symbol(num_classes = 1000, **kwargs): ...
Using the "global_pool" option to avoid an unmatching input shape of (#<I>) the last average pooling layer of GoogleNet
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -63,7 +63,7 @@ master_doc = "index" # General information about the project. project = "Apache Superset" -copyright = "Copyright © 2019 The Apache Software Foundation, Licensed under the Apache License, Ver...
Bump copyright notice (#<I>)
py
diff --git a/treeherder/autoclassify/matchers.py b/treeherder/autoclassify/matchers.py index <HASH>..<HASH> 100644 --- a/treeherder/autoclassify/matchers.py +++ b/treeherder/autoclassify/matchers.py @@ -7,6 +7,7 @@ from abc import (ABCMeta, from collections import namedtuple from difflib import SequenceMatcher +imp...
Send ES result count to new relic
py
diff --git a/neo/Prompt/Commands/Invoke.py b/neo/Prompt/Commands/Invoke.py index <HASH>..<HASH> 100644 --- a/neo/Prompt/Commands/Invoke.py +++ b/neo/Prompt/Commands/Invoke.py @@ -234,12 +234,12 @@ def test_invoke(script, wallet, outputs): # tx.Gas = Fixed8.One() # tx.Attributes = [] # ...
Not enough values to unpack (expected 4, got 2) When contract test invoke is not successful, got error message ValueError: not enough values to unpack (expected 4, got 2)
py
diff --git a/script/upload.py b/script/upload.py index <HASH>..<HASH> 100755 --- a/script/upload.py +++ b/script/upload.py @@ -55,7 +55,9 @@ def upload(): version = get_atom_shell_version() s3put(bucket, access_key, secret_key, DIST_DIR, - 'atom-shell/{0}'.format(version), glob.glob('atom-shell*.zip')) +...
Also upload node's headers to S3.
py
diff --git a/phy/cluster/supervisor.py b/phy/cluster/supervisor.py index <HASH>..<HASH> 100644 --- a/phy/cluster/supervisor.py +++ b/phy/cluster/supervisor.py @@ -262,8 +262,12 @@ class ClusterView(Table): color: #86D16D; } - table tr[data-group='mua'], table tr[data-group='no...
Different colors for MUA and noise groups in cluster view
py
diff --git a/salt/cloud/clouds/vmware.py b/salt/cloud/clouds/vmware.py index <HASH>..<HASH> 100644 --- a/salt/cloud/clouds/vmware.py +++ b/salt/cloud/clouds/vmware.py @@ -747,7 +747,8 @@ def _wait_for_vmware_tools(vm_ref, max_wait): time.sleep(1.0 - ((time.time() - starttime) % 1.0)) time_counter +=...
log warning timeout in minutes log warning timeout in minutes
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from os import name -from setuptools import setup +from setuptools import setup, find_packages from teletype import VERSION @@ -18,7 +18,7 @@ setup( long_description=LONG_DESCRIPTION, long_desc...
Uses find_packages to include nested sub-packages
py
diff --git a/tendril/manager.py b/tendril/manager.py index <HASH>..<HASH> 100644 --- a/tendril/manager.py +++ b/tendril/manager.py @@ -39,7 +39,7 @@ class TendrilManager(object): __metaclass__ = abc.ABCMeta _managers = weakref.WeakValueDictionary() - _running_managers = weakref.WeakValueDictionary() + ...
_running_managers shouldn't be weak If _running_managers is a WeakValueDictionary, we could have a manager deallocated even though it is in use.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ from setuptools import setup setup( name ='PyForms', - version ='0.1.4.dev2', + version ='0.1.4.dev3', description ="""Pyforms is a Python 2.7 and 3.0 framework to develop GUI application, ...
double click added to ControlTree and ControlCodeEditor updated
py
diff --git a/tests/test_main.py b/tests/test_main.py index <HASH>..<HASH> 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -736,7 +736,7 @@ class MainTestCase(utils.TestCase): entity = os.path.realpath(os.path.join(tempdir, 'emptyfile.txt')) now = u(int(time.time())) - ...
test --write with verbose flag on
py
diff --git a/salt/utils/boto3.py b/salt/utils/boto3.py index <HASH>..<HASH> 100644 --- a/salt/utils/boto3.py +++ b/salt/utils/boto3.py @@ -260,8 +260,8 @@ def get_error(e): aws['status'] = e.status if hasattr(e, 'reason'): aws['reason'] = e.reason - if hasattr(e, 'message') and...
Clean up boto exception handling The .message attr is not supported in modern python versions.
py
diff --git a/plex_metadata/library.py b/plex_metadata/library.py index <HASH>..<HASH> 100644 --- a/plex_metadata/library.py +++ b/plex_metadata/library.py @@ -1,4 +1,5 @@ from plex import Plex +from plex.core.helpers import to_iterable from plex_metadata.guid import Guid from plex_metadata.metadata import Default as...
Library.all() now returns a single type map if only one was requested
py
diff --git a/crysp/poly.py b/crysp/poly.py index <HASH>..<HASH> 100644 --- a/crysp/poly.py +++ b/crysp/poly.py @@ -17,7 +17,7 @@ class Poly(object): elif isinstance(v,(int,long)): self.ival = [v&mask] elif isinstance(v,list): - self.ival = [x&mask for x in v] + self.ival = [in...
allow to instanciate with list of Bits
py
diff --git a/stacker/hooks/aws_lambda.py b/stacker/hooks/aws_lambda.py index <HASH>..<HASH> 100644 --- a/stacker/hooks/aws_lambda.py +++ b/stacker/hooks/aws_lambda.py @@ -122,7 +122,7 @@ def _zip_from_file_patterns(root, includes, excludes): logger.info('lambda: adding %d files:', len(files)) for fname in f...
Reduce Lambda hook verbosity
py
diff --git a/tests/test_activities.py b/tests/test_activities.py index <HASH>..<HASH> 100644 --- a/tests/test_activities.py +++ b/tests/test_activities.py @@ -201,11 +201,11 @@ class TestActivities(TestBetamax): specify_wd.edit(start_date=tzaware_start) self.assertTrue(specify_wd._json_data['start_d...
reactivate self.assertRegexpMatches for some tests, compatible with <I>
py
diff --git a/pabot/pabot.py b/pabot/pabot.py index <HASH>..<HASH> 100755 --- a/pabot/pabot.py +++ b/pabot/pabot.py @@ -255,9 +255,8 @@ def _wait_for_return_code(process, item_name, pool_id): if elapsed == ping_time: ping_interval += 50 ping_time += ping_interval - _write_wi...
remove ping log as it generates questions about how the system polls execution
py
diff --git a/yotta/lib/vcs.py b/yotta/lib/vcs.py index <HASH>..<HASH> 100644 --- a/yotta/lib/vcs.py +++ b/yotta/lib/vcs.py @@ -110,7 +110,7 @@ class Git(VCS): return self.worktree def _gitCmd(self, *args): - return ['git','--work-tree=%s' % self.worktree,'--git-dir=%s'%self.gitdir] + list(args); ...
Fix 'yotta version' in Windows Without this patch, 'yotta version' would fail with an 'Invalid argument' error in Windows. With this patch, the command works. No idea why it works, but it does. Also, it seems that replacing '\' with '/' only needs to happen for --git-dir, --work-tree doesn't have a problem with backsl...
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages install_requires = [ "Jinja2", - "boto>=2.33.0", + "boto>=2.36.0", "flask", "httpretty==0.8.10", "requests",
Update setup.py Boto >= <I> required to resolve awslambda ImportError
py
diff --git a/angr/path_history.py b/angr/path_history.py index <HASH>..<HASH> 100644 --- a/angr/path_history.py +++ b/angr/path_history.py @@ -91,6 +91,9 @@ class PathHistory(object): # FIXME: redesign so this does not happen l.warning("Encountered a path to a SimProcedure with a symbolic target address.") ...
properly track path length when unicorn is present
py
diff --git a/pyqg/layered_model.py b/pyqg/layered_model.py index <HASH>..<HASH> 100644 --- a/pyqg/layered_model.py +++ b/pyqg/layered_model.py @@ -181,9 +181,9 @@ class LayeredModel(model.Model): self.gpi = self.g*(self.rhoi[1:]-self.rhoi[:-1])/self.rhoi[:-1] self.f2gpi = (self.f2/self.gpi)[:,...
Fixes small bug in assertions
py
diff --git a/salt/client/ssh/__init__.py b/salt/client/ssh/__init__.py index <HASH>..<HASH> 100644 --- a/salt/client/ssh/__init__.py +++ b/salt/client/ssh/__init__.py @@ -896,9 +896,9 @@ class Single(object): opts_pkg['id'] = self.id retcode = 0 - + popts = self.context['master_op...
When we generate the pillar we should send in the master opts This better reflects how salt works per #<I>
py
diff --git a/src/ossos-pipeline/ossos/fitsviewer/singletviewer.py b/src/ossos-pipeline/ossos/fitsviewer/singletviewer.py index <HASH>..<HASH> 100644 --- a/src/ossos-pipeline/ossos/fitsviewer/singletviewer.py +++ b/src/ossos-pipeline/ossos/fitsviewer/singletviewer.py @@ -34,9 +34,17 @@ class SingletViewer(WxMPLFitsViewe...
Added back markers for singlets, implemented in the fitsviewer.
py
diff --git a/openquake/db/models.py b/openquake/db/models.py index <HASH>..<HASH> 100644 --- a/openquake/db/models.py +++ b/openquake/db/models.py @@ -679,11 +679,11 @@ class HazardJobProfile(djm.Model): ################################ # Output/post-processing params: ################################ - ...
Adjusted a few field types Former-commit-id: <I>aaa<I>ceaa<I>fb5ed3a0f<I>b<I>b2d1dbdbd
py
diff --git a/tensorflow_probability/python/experimental/bijectors/distribution_bijectors_test.py b/tensorflow_probability/python/experimental/bijectors/distribution_bijectors_test.py index <HASH>..<HASH> 100644 --- a/tensorflow_probability/python/experimental/bijectors/distribution_bijectors_test.py +++ b/tensorflow_pr...
Test Truncated distribgutions in distribution_bijectors_test.py PiperOrigin-RevId: <I>
py
diff --git a/src/UcsSdk/Version.py b/src/UcsSdk/Version.py index <HASH>..<HASH> 100755 --- a/src/UcsSdk/Version.py +++ b/src/UcsSdk/Version.py @@ -11,4 +11,4 @@ # See the License for the specific language governing permissions and # limitations under the License. -__version__ = "0.8.2.4" +__version__ = "0.8.2.5"
Updating version to <I> for release
py
diff --git a/aegean.py b/aegean.py index <HASH>..<HASH> 100755 --- a/aegean.py +++ b/aegean.py @@ -66,7 +66,7 @@ import AegeanTools.pprocess as pprocess import multiprocessing # Aegean version [Updated via script] -version = 'v1.9rc1-70-gbcd531d' +version = 'v1.9rc1-75-gac488ac' header = """#Aegean version {0} ...
int_flux/peak_flux ratios no longer scale with dec The bias in this ratio away from 1:1 remains. v+
py