diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/cumulusci/core/tests/test_keychain.py b/cumulusci/core/tests/test_keychain.py index <HASH>..<HASH> 100644 --- a/cumulusci/core/tests/test_keychain.py +++ b/cumulusci/core/tests/test_keychain.py @@ -365,7 +365,7 @@ class TestEncryptedFileProjectKeychain(TestBaseProjectKeychain): self.project_name =...
Add coverage for loading a scratch org
py
diff --git a/phylotoast/util.py b/phylotoast/util.py index <HASH>..<HASH> 100755 --- a/phylotoast/util.py +++ b/phylotoast/util.py @@ -263,7 +263,7 @@ def gather_categories(imap, header, categories=None): if all([row[c] == conditions[c] for c in conditions])} return {"default": DataCategory(si...
gather_categories() now returns categories in the order in which they appear in the mapping file
py
diff --git a/salt/pillar/cmd_yaml.py b/salt/pillar/cmd_yaml.py index <HASH>..<HASH> 100644 --- a/salt/pillar/cmd_yaml.py +++ b/salt/pillar/cmd_yaml.py @@ -1,14 +1,14 @@ ''' -Execute a command and read the output as YAML +Execute a command and read the output as YAML. The YAML data is then directly +overlaid onto the m...
make the cmd_yaml pillar work
py
diff --git a/raiden/raiden_service.py b/raiden/raiden_service.py index <HASH>..<HASH> 100644 --- a/raiden/raiden_service.py +++ b/raiden/raiden_service.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # pylint: disable=too-many-lines +import os import logging import random import itertools @@ -130,8 +131,7 @@ def create...
replaced mersenne PRGN with the OS random source
py
diff --git a/globals.py b/globals.py index <HASH>..<HASH> 100644 --- a/globals.py +++ b/globals.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- ## ## This file is part of Invenio. -## Copyright (C) 2013 CERN. +## Copyright (C) 2013, 2014 CERN. ## ## Invenio is free software; you can redistribute it and/or ## modify it...
oauth2server: access and refresh tokens encrytion * Uses encryption field for seamless encryption/decryption of the access and refresh tokens. (addresses #<I>)
py
diff --git a/bin/detect.py b/bin/detect.py index <HASH>..<HASH> 100755 --- a/bin/detect.py +++ b/bin/detect.py @@ -19,8 +19,8 @@ print("Is this a Coral Edge TPU?", detector.board.CORAL_EDGE_TPU_DEV) print("Is this a SiFive Unleashed? ", detector.board.SIFIVE_UNLEASHED) print("Is this an embedded Linux system?", detec...
Add detection of the Pine<I> in the `detect.py`
py
diff --git a/benchmarks/test_cattrs.py b/benchmarks/test_cattrs.py index <HASH>..<HASH> 100644 --- a/benchmarks/test_cattrs.py +++ b/benchmarks/test_cattrs.py @@ -95,7 +95,5 @@ class TestCAttrs: def validate(self, data): try: return True, cattr.structure(data, self.model) - except Valu...
fix: attrs + cattrs benchmark (#<I>)
py
diff --git a/plotlywrapper.py b/plotlywrapper.py index <HASH>..<HASH> 100644 --- a/plotlywrapper.py +++ b/plotlywrapper.py @@ -1056,10 +1056,11 @@ class PandasPlotting(object): div = self._data.max(axis=0) - self._data.min(axis=0) + epsilon normed = (self._data - self._data.mean(axis=0)) / div * per...
use an offset of 1 so x-axis doesn't show
py
diff --git a/urlutils.py b/urlutils.py index <HASH>..<HASH> 100644 --- a/urlutils.py +++ b/urlutils.py @@ -111,10 +111,10 @@ def redirect_to_url(req, url, redirection_type=None): if redirection_type is None: redirection_type = apache.HTTP_MOVED_TEMPORARILY req.err_headers_out["Location"] = url - i...
Always avoiding proxy caching when redirecting.
py
diff --git a/data/accessor.py b/data/accessor.py index <HASH>..<HASH> 100644 --- a/data/accessor.py +++ b/data/accessor.py @@ -170,12 +170,36 @@ class CWRConfiguration(object): class CWRTables(object): + """ + Accesses the data inside CWR table files. + + This is used on the Lookup fields, to know which v...
Tables accessor is now a singleton.
py
diff --git a/pyghmi/ipmi/oem/lenovo/imm.py b/pyghmi/ipmi/oem/lenovo/imm.py index <HASH>..<HASH> 100644 --- a/pyghmi/ipmi/oem/lenovo/imm.py +++ b/pyghmi/ipmi/oem/lenovo/imm.py @@ -1469,6 +1469,7 @@ class XCCClient(IMMClient): raise Exception('Unexpected return to verify: ' + repr(rsp)) verifystatus...
Refresh token during validation XCC may take a while validating, and the token must be refreshed to avoid chance of expiry. Change-Id: I0e<I>dba6bc<I>ca<I>b<I>d2f<I>bb
py
diff --git a/django_extensions/management/commands/reset_db.py b/django_extensions/management/commands/reset_db.py index <HASH>..<HASH> 100644 --- a/django_extensions/management/commands/reset_db.py +++ b/django_extensions/management/commands/reset_db.py @@ -145,10 +145,19 @@ Type 'yes' to continue, or 'no' to cancel: ...
Close Sessions Before Database Drop If there are open connections they need to be closed before the drop of database. caveat: pg_terminate_backend is only introduced in Postgres <I>
py
diff --git a/examples/compare_stat_power.py b/examples/compare_stat_power.py index <HASH>..<HASH> 100644 --- a/examples/compare_stat_power.py +++ b/examples/compare_stat_power.py @@ -21,7 +21,7 @@ A few comments to do on phone with M: ''' -# EBIC, gamma=0.3 +# QuicGraphLassoEBIC, gamma=0.3 sp = StatisticalPower( ...
Add sklearn graphlassocv example, just for testing
py
diff --git a/airflow/executors/celery_executor.py b/airflow/executors/celery_executor.py index <HASH>..<HASH> 100644 --- a/airflow/executors/celery_executor.py +++ b/airflow/executors/celery_executor.py @@ -14,6 +14,7 @@ import subprocess import time +import os from celery import Celery from celery import state...
[AIRFLOW-<I>] Update celery task to preserve environment variables and improve logging on exception Closes #<I> from johnarnold/celery_env
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -26,7 +26,7 @@ import alabaster module_spec = importlib.util.spec_from_file_location( - 'generate_includes', str(Path(__file__).parent / 'includes' / 'generate.py')) + 'generate_includes', Path(__fil...
Aims to fix the build on rtd.
py
diff --git a/openpnm/core/Project.py b/openpnm/core/Project.py index <HASH>..<HASH> 100644 --- a/openpnm/core/Project.py +++ b/openpnm/core/Project.py @@ -3,6 +3,7 @@ import pickle import h5py from openpnm.core import Workspace from openpnm.utils.misc import SettingsDict +import openpnm import numpy as np ws = Wor...
Adding a new_object method to Project, hidden for now
py
diff --git a/sphinx-jsonschema/__init__.py b/sphinx-jsonschema/__init__.py index <HASH>..<HASH> 100644 --- a/sphinx-jsonschema/__init__.py +++ b/sphinx-jsonschema/__init__.py @@ -14,15 +14,13 @@ """ import json - -from docutils.parsers.rst import Directive, states -from docutils import nodes, statemachine - +from d...
Implemented option display_if. Implemented property $$display. As per issue #1.
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 @@ -516,7 +516,13 @@ class CWLGather(Job): def run(self, fileStore): outobj = {} - for k in [shortname(i) for i in self.step.tool["out"]]: + ...
Handle workflow step out list with objects.
py
diff --git a/noxfile.py b/noxfile.py index <HASH>..<HASH> 100644 --- a/noxfile.py +++ b/noxfile.py @@ -13,6 +13,8 @@ def test(session): session.install("-e", ".[test]") options = session.posargs + if '-k' in options: + options.append('--no-cov') session.run('pytest', '--ignore', 'examples/', ...
do not report coverage if running a subset of tests
py
diff --git a/abilian/application.py b/abilian/application.py index <HASH>..<HASH> 100644 --- a/abilian/application.py +++ b/abilian/application.py @@ -7,7 +7,7 @@ import yaml import logging from werkzeug.datastructures import ImmutableDict -from flask import Flask, g, request, current_app +from flask import Flask, ...
start_services must be run within an application context
py
diff --git a/tests/core/test_providers_manager.py b/tests/core/test_providers_manager.py index <HASH>..<HASH> 100644 --- a/tests/core/test_providers_manager.py +++ b/tests/core/test_providers_manager.py @@ -18,7 +18,7 @@ import logging import re import unittest -from unittest.mock import patch +from unittest.mock im...
Fix failing main due to #<I> (#<I>) * Use mock in test_hooks mock import spec * comment on mock
py
diff --git a/tests/test_core/test_controller.py b/tests/test_core/test_controller.py index <HASH>..<HASH> 100644 --- a/tests/test_core/test_controller.py +++ b/tests/test_core/test_controller.py @@ -31,5 +31,9 @@ class TestController(unittest.TestCase): self.assertEqual(c.block, b) b.add_method.assert...
Added Controller test for baseclass raise
py
diff --git a/ford/__init__.py b/ford/__init__.py index <HASH>..<HASH> 100644 --- a/ford/__init__.py +++ b/ford/__init__.py @@ -81,6 +81,7 @@ LICENSES = { 'by': '<a rel="license" href="http://creativecommons.org/licenses/b 'opl': '<a rel="license" href="http://opencontent.org/openpub/">Open Publication Lic...
Added the ISC license as option.
py
diff --git a/mixbox/namespaces.py b/mixbox/namespaces.py index <HASH>..<HASH> 100644 --- a/mixbox/namespaces.py +++ b/mixbox/namespaces.py @@ -317,6 +317,8 @@ class NamespaceSet(object): return elif not ni.schema_location: ni.schema_location = incoming_schemaloc or None + elif ...
Fixed __merge_schema_locations() bug where exception was raised when existing NamespaceInfo has a schemaloc and input schemaloc is None. This condition is now a no-op.
py
diff --git a/flask_resteasy.py b/flask_resteasy.py index <HASH>..<HASH> 100644 --- a/flask_resteasy.py +++ b/flask_resteasy.py @@ -203,6 +203,9 @@ class Api(object): Additional keyword arguments not specified above will be passed as-is to :meth:`flask.Flask.add_url_rule`. + + SIDE EFFECT + ...
Document side effect of add_resource
py
diff --git a/pygam/__init__.py b/pygam/__init__.py index <HASH>..<HASH> 100644 --- a/pygam/__init__.py +++ b/pygam/__init__.py @@ -14,4 +14,4 @@ from pygam.pygam import InvGaussGAM __all__ = ['GAM', 'LinearGAM', 'LogisticGAM', 'GammaGAM', 'PoissonGAM', 'InvGaussGAM'] -__version__ = '0.2.15' +__version__ ...
check_X edge knots is permissive up to +/- <I> to help with plotting from generate_X_grid
py
diff --git a/autofit/optimize/non_linear/multi_nest.py b/autofit/optimize/non_linear/multi_nest.py index <HASH>..<HASH> 100644 --- a/autofit/optimize/non_linear/multi_nest.py +++ b/autofit/optimize/non_linear/multi_nest.py @@ -141,15 +141,10 @@ class MultiNest(NonLinearOptimizer): # noinspection PyUnusedLoca...
simplified returning of physical vector to multinest
py
diff --git a/leancloud/object_.py b/leancloud/object_.py index <HASH>..<HASH> 100644 --- a/leancloud/object_.py +++ b/leancloud/object_.py @@ -30,6 +30,8 @@ class ObjectMeta(type): attrs['_class_name'] = '_Installation' elif name == 'Notification': attrs['_class_name'] = '_Notificatio...
fix Role class don't have underscore prefix
py
diff --git a/scr_sync.py b/scr_sync.py index <HASH>..<HASH> 100755 --- a/scr_sync.py +++ b/scr_sync.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python3.5 """ Sync the scicrunch registry to a ttl file for loading into scigraph for autocomplete. @@ -180,7 +180,7 @@ field_mapping = { def main()...
updated mysql endpoing for scr_sync
py
diff --git a/tldap/base.py b/tldap/base.py index <HASH>..<HASH> 100644 --- a/tldap/base.py +++ b/tldap/base.py @@ -216,8 +216,7 @@ class LDAPobject(object): if self._dn is None and self._base_dn is None: self._base_dn = self._meta.base_dn - - def rdn_to_dn(self, name, using): + def _rdn_to...
Make rdn_to_dn a private function.
py
diff --git a/numina/user/clirundal.py b/numina/user/clirundal.py index <HASH>..<HASH> 100644 --- a/numina/user/clirundal.py +++ b/numina/user/clirundal.py @@ -109,6 +109,17 @@ def mode_run_common_obs(args): _logger.debug('recipe class is %s', recipeclass) rinput = recipeclass.build_recipe_input(obsres, dal,...
Add better logging of recipe inputs
py
diff --git a/samples/sigsmacross/sigsmacross.py b/samples/sigsmacross/sigsmacross.py index <HASH>..<HASH> 100644 --- a/samples/sigsmacross/sigsmacross.py +++ b/samples/sigsmacross/sigsmacross.py @@ -31,16 +31,17 @@ class SmaCross(bt.SignalStrategy): params = dict(sma1=10, sma2=20) def notify_order(self, ord...
Improve sigsmacross sample
py
diff --git a/canmatrix/xlsx.py b/canmatrix/xlsx.py index <HASH>..<HASH> 100644 --- a/canmatrix/xlsx.py +++ b/canmatrix/xlsx.py @@ -437,12 +437,11 @@ def load(filename, **options): from sys import modules # use xlrd excel reader if available, because its more robust -# try: -# import canmatrix.xls ...
disable xlsx-legacy support, because it is outdated (#<I>)
py
diff --git a/python/ray/autoscaler/updater.py b/python/ray/autoscaler/updater.py index <HASH>..<HASH> 100644 --- a/python/ray/autoscaler/updater.py +++ b/python/ray/autoscaler/updater.py @@ -286,7 +286,8 @@ class NodeUpdater: self.cmd_runner.run( ...
[autoscaler] Fix run_env='host' for initialization commands (#<I>)
py
diff --git a/src/pymoca/backends/casadi/api.py b/src/pymoca/backends/casadi/api.py index <HASH>..<HASH> 100644 --- a/src/pymoca/backends/casadi/api.py +++ b/src/pymoca/backends/casadi/api.py @@ -280,14 +280,19 @@ def transfer_model(model_folder: str, model_name: str, compiler_options=None): codegen = compiler_opti...
Only raise "cache needs expand_mx" warning if compiling
py
diff --git a/visidata/save.py b/visidata/save.py index <HASH>..<HASH> 100644 --- a/visidata/save.py +++ b/visidata/save.py @@ -96,7 +96,7 @@ def saveSheets(vd, givenpath, *vsheets, confirm_overwrite=False): filetype = givenpath.ext or options.save_filetype - savefunc = getattr(vd, 'save_' + filetype, None) ...
[save] grab save_ from sheet-type first, to allow sheet specific saving
py
diff --git a/graphene_gae/ndb/types.py b/graphene_gae/ndb/types.py index <HASH>..<HASH> 100644 --- a/graphene_gae/ndb/types.py +++ b/graphene_gae/ndb/types.py @@ -113,7 +113,10 @@ class NdbObjectType(ObjectType): # Returns True if `root` is a PolyModel subclass and `cls` is in the # class hierarchy ...
Fix for PolyModel type lookup Note: When using graphene Interfaces, previous implementation could display false positives by only checking if the root type matches with the given model. Now if you pass in an Interface type, the check will check that the object type's class hierarchy is a subset of the instance's class...
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -62,7 +62,10 @@ setup( packages=find_packages(exclude=['tests']), license='BSD', classifiers=[ - 'License :: OSI Approved :: MIT License', + 'Development Status :: 3 - Alpha', + 'Intended Au...
Updated Trove Identifiers
py
diff --git a/annoying/decorators.py b/annoying/decorators.py index <HASH>..<HASH> 100644 --- a/annoying/decorators.py +++ b/annoying/decorators.py @@ -1,4 +1,4 @@ -from django.shortcuts import render_to_response +from django.shortcuts import render, render_to_response from django import forms from django import VERSI...
Fix render_to_response deprecation warning for django >= <I> Current code produce following warning with django <I>: RemovedInDjango<I>Warning: The context_instance argument of render_to_string is deprecated. Also, as it written in [django documentations](<URL>), `render_to_response` function is not recommen...
py
diff --git a/tests/test_tables.py b/tests/test_tables.py index <HASH>..<HASH> 100644 --- a/tests/test_tables.py +++ b/tests/test_tables.py @@ -115,5 +115,5 @@ def test_table_repr(db): assert re.match( r"<Table name=\'table4\', total=0, " - "storage=<tinydb\.database\.StorageProxy object at [a-zA-...
Chore: Fix DeprecationWarning due to unescaped sequence See #<I>
py
diff --git a/marathon/models/task.py b/marathon/models/task.py index <HASH>..<HASH> 100644 --- a/marathon/models/task.py +++ b/marathon/models/task.py @@ -59,8 +59,8 @@ class MarathonTask(MarathonResource): 'host': self.host, 'id': self.id, 'ports': self.ports, - 'stage...
Fix re-encoded names for task startedAt and stagedAt fields
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -29,6 +29,7 @@ setup( 'Mopidy >= 2.0', 'Pykka >= 2.0.1', 'youtube_dl', + 'bs4', 'cachetools', 'requests_cache' ],
Update setup.py to include bs4
py
diff --git a/fluent_blogs/__init__.py b/fluent_blogs/__init__.py index <HASH>..<HASH> 100644 --- a/fluent_blogs/__init__.py +++ b/fluent_blogs/__init__.py @@ -1,2 +1,9 @@ # following PEP 386 __version__ = "0.9.6" + +# Fix for internal messy imports. +# When base_models is imported before models/__init__.py runs, ther...
Fix circular import between base_models and models/__init__.py This error didn't happen when fluent_blogs.models was imported first. This happens in the `runserver` as it performs a model scan, but may not happen in production. This fix avoids the error taking place. Ideally, the either managers.py or base_models.py ...
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ with open(path.join(here, 'README.rst'), encoding='utf-8') as f: setup( name='neverbounce', - version='0.1.2', + version='0.1.3', author='Martin Kosír', author_email='martin@martinkosir.n...
Bumped the version to <I>.
py
diff --git a/devassistant/command_helpers.py b/devassistant/command_helpers.py index <HASH>..<HASH> 100644 --- a/devassistant/command_helpers.py +++ b/devassistant/command_helpers.py @@ -107,7 +107,9 @@ class RPMHelper(object): @classmethod def rpm_q(cls, rpm_name): try: - return plumbum.l...
Make sure that we also ask about virtual provides, not just package name
py
diff --git a/satpy/readers/nc_goes.py b/satpy/readers/nc_goes.py index <HASH>..<HASH> 100644 --- a/satpy/readers/nc_goes.py +++ b/satpy/readers/nc_goes.py @@ -146,10 +146,11 @@ Eumetsat formated netCDF data: The main differences are: 1: The geolocation is in a separate file, used for all bands -2: VIS data is calib...
Add resolution property to geo file handler
py
diff --git a/salt/utils/event.py b/salt/utils/event.py index <HASH>..<HASH> 100644 --- a/salt/utils/event.py +++ b/salt/utils/event.py @@ -14,6 +14,8 @@ Manage events # # Import Python libs import os +import fnmatch +import glob import hashlib import errno import logging @@ -228,17 +230,20 @@ class Reactor(object...
Make the reactor allow for glob matching
py
diff --git a/py/h2o.py b/py/h2o.py index <HASH>..<HASH> 100644 --- a/py/h2o.py +++ b/py/h2o.py @@ -919,7 +919,7 @@ class H2O(object): } browseAlso = kwargs.pop('browseAlso',False) params_dict.update(kwargs) - verboseprint("\nrandom_forest parameters:", params_dict) + print "...
want to keep printing the RF parameters so we can see what case failed from random groups in jenkins
py
diff --git a/bin/run_tests.py b/bin/run_tests.py index <HASH>..<HASH> 100755 --- a/bin/run_tests.py +++ b/bin/run_tests.py @@ -121,7 +121,7 @@ parser.add_option( def main(parser, parse_args): """ Parse CLI options and execute tests """ - exitStatus = -1 # Default to failure + exitStatus = 0 # Default to success...
Fixing a bug in exit status for running specified test lists.
py
diff --git a/moran.py b/moran.py index <HASH>..<HASH> 100644 --- a/moran.py +++ b/moran.py @@ -172,40 +172,6 @@ class Moran: else: self.p_z_sim = stats.norm.cdf(self.z_sim) - def __repr__(self): - return ''' - Moran's I: {} - - Normality Assumption - ------...
removed moran __repr__
py
diff --git a/graphos/renderers/base.py b/graphos/renderers/base.py index <HASH>..<HASH> 100644 --- a/graphos/renderers/base.py +++ b/graphos/renderers/base.py @@ -19,14 +19,19 @@ class BaseChart(object): self.html_id = html_id or "".join([random_letter() for el in ran...
added a couple of attributes and methods to BaseChart
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -22,8 +22,8 @@ setup( author="UW-IT AXDD", author_email="aca-it@uw.edu", include_package_data=True, - install_requires=['UW-RestClients-Core>=1.0,<2.0', - 'UW-RestClients-PWS>=2.0,<3.0', ...
update restclients-core, uw_pws version
py
diff --git a/src/ossos-pipeline/ossos/ssos.py b/src/ossos-pipeline/ossos/ssos.py index <HASH>..<HASH> 100644 --- a/src/ossos-pipeline/ossos/ssos.py +++ b/src/ossos-pipeline/ossos/ssos.py @@ -287,8 +287,8 @@ class SSOSParser(object): # ADDING THIS TEMPORARILY TO GET THE NON-OSSOS and wallpaper DATA OUT OF...
Return u' band data from SSOIS in image stacks.
py
diff --git a/pyetesync/api.py b/pyetesync/api.py index <HASH>..<HASH> 100644 --- a/pyetesync/api.py +++ b/pyetesync/api.py @@ -130,6 +130,9 @@ class Calendar(BaseCollection): for event in self.cache_journal.event_set: yield Event(event) + def get(self, uid): + return Event(self.cache_j...
Api: add a get method for collections to get events/contacts.
py
diff --git a/kconfiglib.py b/kconfiglib.py index <HASH>..<HASH> 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -1848,12 +1848,12 @@ class Kconfig(object): def eval_string(self, s): """ Returns the tristate value of the expression 's', represented as 0, 1, - and 2 for n, m, and y, respec...
Simplify eval_string() docstring re. syntax errors Syntax checking has been strict for a long time, so say "if there are syntax errors" instead of "if syntax errors are detected".
py
diff --git a/spyder/plugins/editor/widgets/base.py b/spyder/plugins/editor/widgets/base.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/editor/widgets/base.py +++ b/spyder/plugins/editor/widgets/base.py @@ -97,8 +97,10 @@ class TextEditBaseWidget(QPlainTextEdit, BaseEditMixin): # Save current cell. This is...
add 1 line before nested definition
py
diff --git a/tests/profiling/zipkin_span_benchmark_test.py b/tests/profiling/zipkin_span_benchmark_test.py index <HASH>..<HASH> 100644 --- a/tests/profiling/zipkin_span_benchmark_test.py +++ b/tests/profiling/zipkin_span_benchmark_test.py @@ -112,7 +112,7 @@ def test_zipkin_span_logging( def benchmark_zipkin_span(...
Bump the number of rounds to run for logging spans.
py
diff --git a/orcid/rest.py b/orcid/rest.py index <HASH>..<HASH> 100644 --- a/orcid/rest.py +++ b/orcid/rest.py @@ -99,7 +99,7 @@ class Author(AuthorBase): def _load_works(self): resp = requests.get(ORCID_PUBLIC_BASE_URL + self.orcid + '/orcid-works', headers = BASE_HEADERS) - ...
requests.json is now a callable.
py
diff --git a/tests/bindings_test.py b/tests/bindings_test.py index <HASH>..<HASH> 100644 --- a/tests/bindings_test.py +++ b/tests/bindings_test.py @@ -216,6 +216,11 @@ class DefaultGetArgNamesFromClassNameTest(unittest.TestCase): [], bindings_lib.default_get_arg_names_from_class_name( 'not...
Unit test check for class names with single letter camel case words
py
diff --git a/tests.py b/tests.py index <HASH>..<HASH> 100644 --- a/tests.py +++ b/tests.py @@ -8,6 +8,11 @@ import tempfile import subprocess import contextlib +try: + from StringIO import StringIO +except ImportError: + from io import StringIO # Python 3 + from nose.tools import ( assert_raises, ) @@...
Resolving conflicts with StringIO imports
py
diff --git a/nodeshot/interop/sync/settings.py b/nodeshot/interop/sync/settings.py index <HASH>..<HASH> 100755 --- a/nodeshot/interop/sync/settings.py +++ b/nodeshot/interop/sync/settings.py @@ -15,6 +15,7 @@ DEFAULT_SYNCHRONIZERS = [ ('nodeshot.interop.sync.synchronizers.GeoJsonCitySdkMobility', 'GeoJSON CitySDK ...
Added missing synchronizer to synchronizer list #<I>
py
diff --git a/tests/urls.py b/tests/urls.py index <HASH>..<HASH> 100644 --- a/tests/urls.py +++ b/tests/urls.py @@ -1,12 +1,12 @@ # -*- coding: utf-8 -*- from __future__ import unicode_literals -from django.conf.urls import patterns, include, url +from django.conf.urls import include, url from django.contrib import...
attempt fix at django<I> patterns error
py
diff --git a/pkg_resources.py b/pkg_resources.py index <HASH>..<HASH> 100644 --- a/pkg_resources.py +++ b/pkg_resources.py @@ -16,6 +16,7 @@ method. import sys import os +import io import time import re import imp @@ -46,7 +47,6 @@ if PY2: if PY3: basestring = str - from io import BytesIO def exe...
next function and io module are available on Python <I>
py
diff --git a/spacy/lang/it/lemmatizer.py b/spacy/lang/it/lemmatizer.py index <HASH>..<HASH> 100644 --- a/spacy/lang/it/lemmatizer.py +++ b/spacy/lang/it/lemmatizer.py @@ -8,7 +8,7 @@ LOOKUP = { "a-storica": "a-storico", "a-storiche": "a-storico", "a-storici": "a-storico", - "abati": "abate", + "ab...
BOM in Italian lemmatiser
py
diff --git a/phoebe/parameters/distributions.py b/phoebe/parameters/distributions.py index <HASH>..<HASH> 100644 --- a/phoebe/parameters/distributions.py +++ b/phoebe/parameters/distributions.py @@ -37,7 +37,10 @@ try: except ImportError: pass from scipy.stats import distributions -import matplotlib.pyplot as pl...
distributions.py no longer requires mpl to be imported
py
diff --git a/src/urh/main.py b/src/urh/main.py index <HASH>..<HASH> 100755 --- a/src/urh/main.py +++ b/src/urh/main.py @@ -93,6 +93,8 @@ def main(): if sys.platform == "darwin": menu_bar = main_window.menuBar() menu_bar.setNativeMenuBar(False) + import multiprocessing as mp + mp.set...
set osx to spawn
py
diff --git a/lib/external_authentication_robot.py b/lib/external_authentication_robot.py index <HASH>..<HASH> 100644 --- a/lib/external_authentication_robot.py +++ b/lib/external_authentication_robot.py @@ -205,6 +205,10 @@ class ExternalAuthRobot(ExternalAuth): raise InvenioWebAccessExternalAuthError("The...
WebAccess: workaround for Perl base<I> padding * In the external_authentication_robot plugin, when using compressed assertions, if those are computed by a Perl script, Perl will not use padding in the base<I> encoding. Python expects such padding, thus the padding is automatically added in case it is missing.
py
diff --git a/dvc/state.py b/dvc/state.py index <HASH>..<HASH> 100644 --- a/dvc/state.py +++ b/dvc/state.py @@ -104,6 +104,9 @@ class State(object): return str(System.inode(path)) def update(self, path, dump=True): + if not os.path.exists(path): + return None + mtime = self.mti...
state: handle non-existing path
py
diff --git a/porespy/simulations/__funcs__.py b/porespy/simulations/__funcs__.py index <HASH>..<HASH> 100644 --- a/porespy/simulations/__funcs__.py +++ b/porespy/simulations/__funcs__.py @@ -29,17 +29,16 @@ def feature_size(im): if im.ndim == 2: from skimage.morphology import square as cube dt = spim...
Fixing progress bar in the 'feasure_size' function
py
diff --git a/test/test_opencl_functions.py b/test/test_opencl_functions.py index <HASH>..<HASH> 100644 --- a/test/test_opencl_functions.py +++ b/test/test_opencl_functions.py @@ -14,12 +14,10 @@ def skip_if_no_opencl(): try: import pyopencl except Exception, e: - #if "No module named pycuda.au...
added check for pyopencl install
py
diff --git a/openquake/calculators/event_based_risk.py b/openquake/calculators/event_based_risk.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/event_based_risk.py +++ b/openquake/calculators/event_based_risk.py @@ -381,7 +381,7 @@ class EventBasedRiskCalculator(event_based.EventBasedCalculator): ""...
Small fix in log_info [ci skip]
py
diff --git a/cqlengine/models.py b/cqlengine/models.py index <HASH>..<HASH> 100644 --- a/cqlengine/models.py +++ b/cqlengine/models.py @@ -1,6 +1,6 @@ from collections import OrderedDict import re - +import copy from cqlengine import columns from cqlengine.exceptions import ModelException, CQLEngineException, Valid...
ensure we're only operating on a copy of the instance
py
diff --git a/examples/plot_8_animations.py b/examples/plot_8_animations.py index <HASH>..<HASH> 100644 --- a/examples/plot_8_animations.py +++ b/examples/plot_8_animations.py @@ -3,6 +3,10 @@ Matplotlib animation support ============================ Show a Matplotlib animation, which should end up nicely embedded b...
Add info on enabling animation support to example (#<I>) * Add info on enabling animation support to example * Add link
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -6,6 +6,7 @@ setup( version='1.1.0', author='Wei-Cheng Pan', author_email='legnaleurc@gmail.com', + description='An Amazon Cloud Drive API tool.', url='https://github.com/legnaleurc/w...
Update setup.py Adding `description` to `setup.py`
py
diff --git a/mwbase/about.py b/mwbase/about.py index <HASH>..<HASH> 100644 --- a/mwbase/about.py +++ b/mwbase/about.py @@ -1,5 +1,5 @@ __name__ = "mwbase" -__version__ = "0.1.0" +__version__ = "0.1.1" __author__ = "Aaron Halfaker" __author_email__ = "aaron.halfaker@gmail.com" __description__ = "Data structure norma...
Release new version of mwbase Bug: T<I>
py
diff --git a/steam/__init__.py b/steam/__init__.py index <HASH>..<HASH> 100644 --- a/steam/__init__.py +++ b/steam/__init__.py @@ -1,7 +1,7 @@ -__version__ = "0.8.10" +__version__ = "0.8.11" __author__ = "Rossen Georgiev" -version_info = (0, 8, 10) +version_info = (0, 8, 11) from steam.steamid import SteamID fro...
bump to <I> [ci skip]
py
diff --git a/zvmsdk/api.py b/zvmsdk/api.py index <HASH>..<HASH> 100755 --- a/zvmsdk/api.py +++ b/zvmsdk/api.py @@ -331,7 +331,7 @@ class SDKAPI(object): :param bool active: whether delete a nic on active guest system """ - self.zvmclient.delete_nic(self, userid, vdev, + self._networkop...
Fix bug which calling zvmclient in SDKAPI Change-Id: I8bf1fda<I>c<I>f6ba<I>f9ac4bf7cbafc1b5
py
diff --git a/test/test_motor_pool.py b/test/test_motor_pool.py index <HASH>..<HASH> 100644 --- a/test/test_motor_pool.py +++ b/test/test_motor_pool.py @@ -14,6 +14,8 @@ """Test Motor, an asynchronous driver for MongoDB and Tornado.""" +from __future__ import with_statement + import datetime import functools imp...
Py<I>-compatibility
py
diff --git a/charmhelpers/core/hookenv.py b/charmhelpers/core/hookenv.py index <HASH>..<HASH> 100644 --- a/charmhelpers/core/hookenv.py +++ b/charmhelpers/core/hookenv.py @@ -92,7 +92,7 @@ def log(message, level=None): try: subprocess.call(command) except OSError as e: - if e.errno == errno.EE...
That should be ENOENT not EEXIST
py
diff --git a/polymodels/tests/models.py b/polymodels/tests/models.py index <HASH>..<HASH> 100644 --- a/polymodels/tests/models.py +++ b/polymodels/tests/models.py @@ -51,6 +51,7 @@ class Trait(PolymorphicModel): class AcknowledgedTrait(Trait): class Meta: + app_label = 'polymodels' proxy = True
Added a missing app_label on a test model.
py
diff --git a/cdpybio/analysis.py b/cdpybio/analysis.py index <HASH>..<HASH> 100644 --- a/cdpybio/analysis.py +++ b/cdpybio/analysis.py @@ -140,8 +140,10 @@ def parse_grasp_gwas(fn): the SNP coordinates. """ df = pd.read_table(fn, low_memory=False) + df = df[df.Pvalue < 1e-5] df = df.sort(colu...
Reverted changes to grasp method I don't want to change this yet. I should update the function in the future to tak as arguments a p-value filter and a chromosome filter.
py
diff --git a/holoviews/plotting/bokeh/annotation.py b/holoviews/plotting/bokeh/annotation.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/bokeh/annotation.py +++ b/holoviews/plotting/bokeh/annotation.py @@ -25,6 +25,8 @@ class LineAnnotationPlot(ElementPlot): style_opts = line_properties + _update_h...
Update only the glyph object for LineAnnotationPlot
py
diff --git a/findimports.py b/findimports.py index <HASH>..<HASH> 100755 --- a/findimports.py +++ b/findimports.py @@ -75,12 +75,6 @@ import zipfile from operator import attrgetter from compiler.visitor import ASTVisitor -try: - set -except NameError: - # Python 2.3 compatibility -- does anybody still care? -...
Drop Python <I> compatibility shim. I've no Python <I> available for testing, and I bet nobody cares.
py
diff --git a/ipyrad/core/assembly.py b/ipyrad/core/assembly.py index <HASH>..<HASH> 100644 --- a/ipyrad/core/assembly.py +++ b/ipyrad/core/assembly.py @@ -813,13 +813,22 @@ class Assembly(object): ## Creating new Samples else: ## first check if demultiplexed files exist in sorted path - ...
Fixed bug with empty path to sorted_fastq path crashing.
py
diff --git a/spyderlib/baseconfig.py b/spyderlib/baseconfig.py index <HASH>..<HASH> 100644 --- a/spyderlib/baseconfig.py +++ b/spyderlib/baseconfig.py @@ -65,8 +65,17 @@ def debug_print(message): #============================================================================== # Configuration paths #================...
Python 3 compatibility: Save Spyder settings in a 'python3' dir (inside ~/.spyder2) for Python 3
py
diff --git a/tests/unit/test_queryset.py b/tests/unit/test_queryset.py index <HASH>..<HASH> 100644 --- a/tests/unit/test_queryset.py +++ b/tests/unit/test_queryset.py @@ -219,6 +219,50 @@ def test_create_queryset_with_scoring_and_filtering(): compare(t._query, results) +def test_create_queryset_with_scoring_an...
Add test for using filter objects with scoring
py
diff --git a/wsproto/frame_protocol.py b/wsproto/frame_protocol.py index <HASH>..<HASH> 100644 --- a/wsproto/frame_protocol.py +++ b/wsproto/frame_protocol.py @@ -497,7 +497,7 @@ class FrameProtocol(object): return self._serialize_frame(Opcode.CLOSE, payload) - def pong(self, payload=None): + def pon...
Default to an empty bytestring for pong payload.
py
diff --git a/promise/__init__.py b/promise/__init__.py index <HASH>..<HASH> 100644 --- a/promise/__init__.py +++ b/promise/__init__.py @@ -10,7 +10,7 @@ except NameError: __SETUP__ = False -VERSION = (2, 2, 0, "final", 0) +VERSION = (2, 2, 1, "final", 0) __version__ = get_version(VERSION)
Updated version to <I>
py
diff --git a/tests/test_color.py b/tests/test_color.py index <HASH>..<HASH> 100644 --- a/tests/test_color.py +++ b/tests/test_color.py @@ -215,7 +215,7 @@ class VisualTest(g.unittest.TestCase): uv = g.np.array([[0.25, 0.2], [0.4, 0.5]], dtype=float) texture = g.np.arange(96, dtype=g.np.uint8).reshape(...
Fix test_uv_color for minor change of indexing
py
diff --git a/src/saml2/metadata.py b/src/saml2/metadata.py index <HASH>..<HASH> 100644 --- a/src/saml2/metadata.py +++ b/src/saml2/metadata.py @@ -66,18 +66,14 @@ class MetaData(object): :param entity_descriptor: A EntityDescriptor instance """ - try: - afd = entity_descrip...
Single value where originally it was thought to be multivalue
py
diff --git a/tests/test_downloaders.py b/tests/test_downloaders.py index <HASH>..<HASH> 100644 --- a/tests/test_downloaders.py +++ b/tests/test_downloaders.py @@ -81,7 +81,6 @@ class TestDefaultDownloader(object): with open(iris_path, 'r') as f: assert hashlib.md5( f.read().encode...
os.remove calls redundant with tearDown's rmtree.
py
diff --git a/quantecon/quadsums.py b/quantecon/quadsums.py index <HASH>..<HASH> 100644 --- a/quantecon/quadsums.py +++ b/quantecon/quadsums.py @@ -6,7 +6,6 @@ in the docstrings. import numpy as np -from numpy import sqrt, dot import scipy.linalg from .matrix_eqn import solve_discrete_lyapunov @@ -54,10 +53,10 ...
Fix lgtm warnings in quadsums.py. (#<I>)
py
diff --git a/nosedjango/nosedjango.py b/nosedjango/nosedjango.py index <HASH>..<HASH> 100644 --- a/nosedjango/nosedjango.py +++ b/nosedjango/nosedjango.py @@ -249,6 +249,9 @@ def custom_before(): setup_celery = SetupCeleryTesting() setup_cache = SetupCacheTesting() + from django.conf import settings + ...
Added setting to stop printing documents on save
py
diff --git a/linkcheck/director/__init__.py b/linkcheck/director/__init__.py index <HASH>..<HASH> 100644 --- a/linkcheck/director/__init__.py +++ b/linkcheck/director/__init__.py @@ -47,8 +47,13 @@ def check_urls (aggregate): " is allowed to start new threads.")) abort(aggregate) except Ex...
Added some documentation about exception handling.
py
diff --git a/subliminal/cli.py b/subliminal/cli.py index <HASH>..<HASH> 100644 --- a/subliminal/cli.py +++ b/subliminal/cli.py @@ -56,6 +56,9 @@ def subliminal(): # output output_group = parser.add_argument_group('output') + output_group.add_argument('-d', '--directory', + he...
Add support for directory and encoding in cli
py
diff --git a/genomepy/provider.py b/genomepy/provider.py index <HASH>..<HASH> 100644 --- a/genomepy/provider.py +++ b/genomepy/provider.py @@ -24,6 +24,10 @@ from appdirs import user_cache_dir from genomepy import exceptions from genomepy.utils import filter_fasta +# Create .cache dir if it does not exist +if not o...
create .cache dir if it doesn't exist
py
diff --git a/autopep8.py b/autopep8.py index <HASH>..<HASH> 100755 --- a/autopep8.py +++ b/autopep8.py @@ -145,6 +145,8 @@ class FixPEP8(object): is_logical_fix = len(inspect.getargspec(fix).args) > 2 if is_logical_fix: logical = self._get_logical(result) + ...
Skip if logical fix cannot be done
py
diff --git a/tests/test_fastani.py b/tests/test_fastani.py index <HASH>..<HASH> 100644 --- a/tests/test_fastani.py +++ b/tests/test_fastani.py @@ -112,11 +112,11 @@ def test_fastani_multiple(fastani_cmds_four): assert cmds == (fastani_cmds_four.fastcmds) -def test_fastani_job_generation(fastani_cmds_four): - ...
Add test for fastANI job list generation
py
diff --git a/blimpy/file_wrapper.py b/blimpy/file_wrapper.py index <HASH>..<HASH> 100644 --- a/blimpy/file_wrapper.py +++ b/blimpy/file_wrapper.py @@ -249,7 +249,7 @@ class Reader(object): """ Given the blob dimensions, calculate how many fit in the data selection. """ - n_blobs = int(np.ceil...
Updated calc_n_blobs for readability
py
diff --git a/invenio_communities/version.py b/invenio_communities/version.py index <HASH>..<HASH> 100644 --- a/invenio_communities/version.py +++ b/invenio_communities/version.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # # This file is part of Invenio. -# Copyright (C) 2016-2021 CERN. +# Copyright (C) 2016-2022 CERN...
release: <I>.dev9
py