diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/jax/experimental/vectorize.py b/jax/experimental/vectorize.py index <HASH>..<HASH> 100644 --- a/jax/experimental/vectorize.py +++ b/jax/experimental/vectorize.py @@ -252,7 +252,8 @@ def vectorize(signature): def decorator(func): @functools.wraps(func) - def wrapper(*args, axis=None): + de...
Changed axis kwarg in wrapper for py2 compat.
py
diff --git a/ykman/cli/opgp.py b/ykman/cli/opgp.py index <HASH>..<HASH> 100644 --- a/ykman/cli/opgp.py +++ b/ykman/cli/opgp.py @@ -166,14 +166,14 @@ def set_touch(ctx, key, policy, admin_pin, force): """ controller = ctx.obj['controller'] - if admin_pin is None: - admin_pin = click.prompt('Enter a...
Check if OPGP touch policy is supported before prompting for PIN
py
diff --git a/src/feat/common/log.py b/src/feat/common/log.py index <HASH>..<HASH> 100644 --- a/src/feat/common/log.py +++ b/src/feat/common/log.py @@ -335,10 +335,10 @@ class FluLogKeeper(object): ### ILogger Methods ### def do_log(self, level, object, category, format, args, - depth=-1, file_...
Hurray for feat wanting to do things differently. Because it just ends up doing it wrong. In this case, someone thought that depth was a better name than where, and that the arguments should be positive instead of negative. But it doesn't properly map one to the other, and hence everything breaks. So it wasn't only...
py
diff --git a/rdt/transformers/boolean.py b/rdt/transformers/boolean.py index <HASH>..<HASH> 100644 --- a/rdt/transformers/boolean.py +++ b/rdt/transformers/boolean.py @@ -38,5 +38,5 @@ class BooleanTransformer(BaseTransformer): if self.nan != 'ignore': data = self.null_transformer.reverse_transfor...
numpy based dropna
py
diff --git a/assemblerflow/generator/__init__.py b/assemblerflow/generator/__init__.py index <HASH>..<HASH> 100644 --- a/assemblerflow/generator/__init__.py +++ b/assemblerflow/generator/__init__.py @@ -0,0 +1,3 @@ +""" +Placeholder for Process creation docs +""" \ No newline at end of file
Added placeholder for processes docs
py
diff --git a/raven/base.py b/raven/base.py index <HASH>..<HASH> 100644 --- a/raven/base.py +++ b/raven/base.py @@ -248,8 +248,6 @@ class Client(object): for k, v in result.iteritems(): if k not in data: data[k] = v - else: - data[k].update(v) i...
Remove code that I have no idea why it exists anymore
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ with open('LICENSE') as fl: setup( name='CurrencyConverter', - version='0.14.3', + version='0.14.4', author='Alex Prengère', author_email='alexprengere@gmail.com', url='https://githu...
Bump to version <I>
py
diff --git a/test_pytest_cov.py b/test_pytest_cov.py index <HASH>..<HASH> 100644 --- a/test_pytest_cov.py +++ b/test_pytest_cov.py @@ -263,7 +263,10 @@ def test_empty_report(testdir): def test_dist_missing_data(testdir): venv_path = os.path.join(str(testdir.tmpdir), 'venv') virtualenv.create_environment(venv...
Fixed test_dist_missing_data on Windows.
py
diff --git a/src/projexui/widgets/xviewwidget/xviewwidget.py b/src/projexui/widgets/xviewwidget/xviewwidget.py index <HASH>..<HASH> 100644 --- a/src/projexui/widgets/xviewwidget/xviewwidget.py +++ b/src/projexui/widgets/xviewwidget/xviewwidget.py @@ -136,7 +136,15 @@ class XViewWidget(QtGui.QScrollArea): :retu...
checking to make sure the focus panel is within the view widget
py
diff --git a/vertex/test/test_conncache.py b/vertex/test/test_conncache.py index <HASH>..<HASH> 100644 --- a/vertex/test/test_conncache.py +++ b/vertex/test/test_conncache.py @@ -172,6 +172,8 @@ class TestConnectionCache(TestCase): self.assertNoResult(d) transport.loseConnectionDeferred.callback(None)...
Skip test about not waiting for disconnection from unrequested connections.
py
diff --git a/flasgger/base.py b/flasgger/base.py index <HASH>..<HASH> 100644 --- a/flasgger/base.py +++ b/flasgger/base.py @@ -178,6 +178,8 @@ class OutputView(MethodView): "info": { "version": self.spec.get('version', "0.0.0"), "title": self.spec.get('title', "A swagger A...
Adding further fields to info object Adding the rest of the string fields for the info object. Contact and license fields still missing. Check all the possible fields [here](<URL>).
py
diff --git a/sixpack/models.py b/sixpack/models.py index <HASH>..<HASH> 100644 --- a/sixpack/models.py +++ b/sixpack/models.py @@ -7,7 +7,7 @@ from db import _key, msetbit, sequential_id # This is pretty restrictive, but we can always relax it later. VALID_EXPERIMENT_ALTERNATIVE_RE = re.compile(r"^[a-z0-9][a-z0-9\-...
inject sample size (or something) for testing
py
diff --git a/stockcrawler/tests/test_loaders.py b/stockcrawler/tests/test_loaders.py index <HASH>..<HASH> 100644 --- a/stockcrawler/tests/test_loaders.py +++ b/stockcrawler/tests/test_loaders.py @@ -1375,6 +1375,24 @@ class ReportItemLoaderTest(TestCaseBase): 'cash': 1915000000.0 }) + def tes...
Test LTD <I> Q3 report. (Failed)
py
diff --git a/easy_thumbnails/tests/widgets.py b/easy_thumbnails/tests/widgets.py index <HASH>..<HASH> 100644 --- a/easy_thumbnails/tests/widgets.py +++ b/easy_thumbnails/tests/widgets.py @@ -1,4 +1,5 @@ from easy_thumbnails import widgets, test +from django.core.files.uploadedfile import SimpleUploadedFile from djang...
Add test for widget and uploaded images.
py
diff --git a/tests/test_asym_logit.py b/tests/test_asym_logit.py index <HASH>..<HASH> 100644 --- a/tests/test_asym_logit.py +++ b/tests/test_asym_logit.py @@ -20,7 +20,7 @@ import pylogit.asym_logit as asym try: # in Python 3 range returns an iterator instead of list # to maintain backwards compatibility use...
Added import of python2 compatible range function for testing.
py
diff --git a/gwpy/frequencyseries/hist.py b/gwpy/frequencyseries/hist.py index <HASH>..<HASH> 100644 --- a/gwpy/frequencyseries/hist.py +++ b/gwpy/frequencyseries/hist.py @@ -22,14 +22,12 @@ import numpy import sys -if sys.version_info[0] < 3: - range = xrange - -__author__ = 'Duncan Macleod <duncan.macleod@ligo...
frequencyseries.hist: use six for xrange
py
diff --git a/rllib/evaluation/rollout_worker.py b/rllib/evaluation/rollout_worker.py index <HASH>..<HASH> 100644 --- a/rllib/evaluation/rollout_worker.py +++ b/rllib/evaluation/rollout_worker.py @@ -516,8 +516,13 @@ class RolloutWorker(ParallelIteratorWorker): torch.version.cuda) >= 10.2: ...
[Rllib] Torch Backwards Compatibility (#<I>)
py
diff --git a/contrib/template/{{cookiecutter.project_name}}/jupyter_{{cookiecutter.project_name}}_proxy/__init__.py b/contrib/template/{{cookiecutter.project_name}}/jupyter_{{cookiecutter.project_name}}_proxy/__init__.py index <HASH>..<HASH> 100644 --- a/contrib/template/{{cookiecutter.project_name}}/jupyter_{{cookiecu...
Replace icon_url with icon_path in __init__.py. In line with the documentation the correct key for the path of the icons folder in the launcher_entry is icon_path and not icon_url. See <URL>
py
diff --git a/master/buildbot/steps/transfer.py b/master/buildbot/steps/transfer.py index <HASH>..<HASH> 100644 --- a/master/buildbot/steps/transfer.py +++ b/master/buildbot/steps/transfer.py @@ -30,7 +30,7 @@ class _FileWriter(pb.Referenceable): fd, self.tmpname = tempfile.mkstemp(dir=dirname) self.fp...
transfer: correct bug where trying to chmod not existing file
py
diff --git a/examples/custom_decorators.py b/examples/custom_decorators.py index <HASH>..<HASH> 100644 --- a/examples/custom_decorators.py +++ b/examples/custom_decorators.py @@ -33,7 +33,7 @@ def add_claims_to_access_token(identity): if identity == 'admin': return {'roles': 'admin'} else: - r...
example(custom_decorators): fix "peasant" typo (#<I>)
py
diff --git a/iopipe/contrib/profiler/plugin.py b/iopipe/contrib/profiler/plugin.py index <HASH>..<HASH> 100644 --- a/iopipe/contrib/profiler/plugin.py +++ b/iopipe/contrib/profiler/plugin.py @@ -26,10 +26,9 @@ class ProfilerPlugin(Plugin): """ Instantiates the profiler plugin - :param enabled...
Add profiler auto label earlier to ensure it is added to report
py
diff --git a/dark/bowtie2.py b/dark/bowtie2.py index <HASH>..<HASH> 100644 --- a/dark/bowtie2.py +++ b/dark/bowtie2.py @@ -235,6 +235,7 @@ class Bowtie2(object): "--reference '%s' " "--input '%s' " "--output '%s' " + "--sample-ploidy 1 " '-ERC GVCF' % ...
Added ploidy argument in bowtie2.py script
py
diff --git a/labsuite/compilers/compiler.py b/labsuite/compilers/compiler.py index <HASH>..<HASH> 100644 --- a/labsuite/compilers/compiler.py +++ b/labsuite/compilers/compiler.py @@ -39,7 +39,7 @@ def compile(compiler, data, **kwargs): raise ImportError("Invalid compiler name.") try: - mod = __im...
Compiler: Relative include.
py
diff --git a/fudge/patcher.py b/fudge/patcher.py index <HASH>..<HASH> 100644 --- a/fudge/patcher.py +++ b/fudge/patcher.py @@ -121,9 +121,8 @@ class PatchHandler(object): .. note:: - This is not thread safe. However, it is probably sufficient enough for "stubbing" a - piece of middl...
Updated note about multi-threaded issues when using the patcher
py
diff --git a/tests.py b/tests.py index <HASH>..<HASH> 100644 --- a/tests.py +++ b/tests.py @@ -113,11 +113,13 @@ class ValidatorTest(unittest.TestCase): ContainsRule(data['c'], 'Field C'), ] + inner_code_calls = 0 with self.assertRaises(ValidationException) as rai...
improved validator test for context processor scenario
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -5,5 +5,5 @@ setup( name="handparser", version='0.2.0', py_modules=['handparser'], - requires=['pytz', 'nose'], + requires=['pytz', 'nose', 'nose-parameterized'], )
nose-parameterized package for testing
py
diff --git a/spyder/__init__.py b/spyder/__init__.py index <HASH>..<HASH> 100644 --- a/spyder/__init__.py +++ b/spyder/__init__.py @@ -29,7 +29,7 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. """ -version_info = (5, 0, "0a2") +version_info = (5, 0, 0, "dev0") __...
Back to work [ci skip]
py
diff --git a/injectors/bind_pwd.py b/injectors/bind_pwd.py index <HASH>..<HASH> 100644 --- a/injectors/bind_pwd.py +++ b/injectors/bind_pwd.py @@ -18,6 +18,12 @@ class BindPwdInjector(HicaInjector): def get_injected_args(self): return ((None, HicaValueType.PATH, os.getenv("PWD")),) + def inject_config(self, ...
BindPwd injector now also sets the in-container workdir to the $PWD path
py
diff --git a/nosedjango/nosedjango.py b/nosedjango/nosedjango.py index <HASH>..<HASH> 100644 --- a/nosedjango/nosedjango.py +++ b/nosedjango/nosedjango.py @@ -487,6 +487,7 @@ class SetupCeleryTesting(): def before(self): from django.conf import settings settings.CELERY_ALWAYS_EAGER = True + ...
Set the celery results backend to 'database' because that's the only thing we can reliably use for unit testing.
py
diff --git a/runway/module/staticsite.py b/runway/module/staticsite.py index <HASH>..<HASH> 100644 --- a/runway/module/staticsite.py +++ b/runway/module/staticsite.py @@ -319,7 +319,7 @@ class StaticSite(RunwayModule): def _get_supported_identity_providers(self): providers = self.parameters.get('staticsit...
staticsite: drop upper-casing of federated providers These can be mixed-case at times
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -50,6 +50,7 @@ extensions = [ 'sphinx.ext.autosummary', 'sphinx.ext.coverage', 'sphinx.ext.intersphinx', + 'sphinx.ext.napoleon', 'numpydoc', ]
added napoleaon extension to enable numpy style docstrings
py
diff --git a/spyder/utils/dochelpers.py b/spyder/utils/dochelpers.py index <HASH>..<HASH> 100644 --- a/spyder/utils/dochelpers.py +++ b/spyder/utils/dochelpers.py @@ -306,7 +306,7 @@ def isdefined(obj, force_import=False, namespace=None): if base not in globals(): globals()[base] =...
Add catch for NameError in isdefined method.
py
diff --git a/numina/core/metaclass.py b/numina/core/metaclass.py index <HASH>..<HASH> 100644 --- a/numina/core/metaclass.py +++ b/numina/core/metaclass.py @@ -53,7 +53,7 @@ class StoreType(type): if self.exclude(key, value): self.__stored__[key] = value else: - super(StoreType,...
Call base instance method, not base class method
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ config = { 'url' : 'http://github.com/ftomassetti/lands', 'download_url' : 'http://github.com/ftomassetti/lands', 'author_email' : 'f.tomassetti@gmail.com', - 'version' ...
Setting the version to <I> (from <I>) Former-commit-id: <I>def<I>e<I>dcef<I>f5cac<I>ad5a<I>f9c<I>
py
diff --git a/hpcbench/driver.py b/hpcbench/driver.py index <HASH>..<HASH> 100644 --- a/hpcbench/driver.py +++ b/hpcbench/driver.py @@ -520,17 +520,23 @@ class MetricsDriver(object): def _check_metric(cls, schema, metric, name, value): if isinstance(metric, Metric): if not isinstance(value, me...
improved error reporting on type mismatch of metrics
py
diff --git a/src/astral/sun.py b/src/astral/sun.py index <HASH>..<HASH> 100644 --- a/src/astral/sun.py +++ b/src/astral/sun.py @@ -711,7 +711,8 @@ def dawn( Args: observer: Observer to calculate dawn for date: Date to calculate for. Default is today's date in the timezone `tzinfo`. - ...
Updated docstrings for default depression
py
diff --git a/sumo/electronic_structure/dos.py b/sumo/electronic_structure/dos.py index <HASH>..<HASH> 100644 --- a/sumo/electronic_structure/dos.py +++ b/sumo/electronic_structure/dos.py @@ -107,8 +107,12 @@ def load_dos(vasprun, elements=None, lm_orbitals=None, atoms=None, if adjust_fermi: dos.efermi -= ...
#<I> in the upstream of sumo, decline the shift of DOS energies by SIGMA
py
diff --git a/manticore/core/cpu/abstractcpu.py b/manticore/core/cpu/abstractcpu.py index <HASH>..<HASH> 100644 --- a/manticore/core/cpu/abstractcpu.py +++ b/manticore/core/cpu/abstractcpu.py @@ -730,7 +730,7 @@ class Cpu(Eventful): self._insn_implementation(insn) self._icount += 1 - self.publ...
did_execute_instruction nit (#<I>)
py
diff --git a/mutagen/flac.py b/mutagen/flac.py index <HASH>..<HASH> 100644 --- a/mutagen/flac.py +++ b/mutagen/flac.py @@ -503,6 +503,21 @@ class Picture(MetadataBlock): * colors -- number of colors for indexed palettes (like GIF), 0 for non-indexed * data -- picture data + + To create a picture fro...
docs: add example for how to create a new flac.Picture (Fixes issue #<I>)
py
diff --git a/asammdf/blocks/utils.py b/asammdf/blocks/utils.py index <HASH>..<HASH> 100644 --- a/asammdf/blocks/utils.py +++ b/asammdf/blocks/utils.py @@ -250,7 +250,7 @@ def get_text_v4(address, stream, mapped=False): text = text_bytes.strip(b" \r\t\n\0").decode("utf-8") except UnicodeDecodeError: ...
fix after changes of get_text_v4
py
diff --git a/fs/path.py b/fs/path.py index <HASH>..<HASH> 100644 --- a/fs/path.py +++ b/fs/path.py @@ -509,7 +509,7 @@ def forcedir(path): >>> forcedir("foo/bar/") 'foo/bar/' >>> forcedir("foo/spam.txt") - 'foo/spam.txt' + 'foo/spam.txt/' """ if not path.endswith("/"...
Corrected docs for forcedir
py
diff --git a/gwpy/io/tests/test_nds2.py b/gwpy/io/tests/test_nds2.py index <HASH>..<HASH> 100644 --- a/gwpy/io/tests/test_nds2.py +++ b/gwpy/io/tests/test_nds2.py @@ -201,7 +201,7 @@ def test_auth_connect(connect): @skip_missing_dependency('nds2') -@mock.patch('gwpy.io.kerberos.kinit') +@mock.patch('gwpy.io.nds2.k...
gwpy.io: fixed mock path
py
diff --git a/lib/autokey/service.py b/lib/autokey/service.py index <HASH>..<HASH> 100644 --- a/lib/autokey/service.py +++ b/lib/autokey/service.py @@ -464,7 +464,6 @@ class ScriptRunner: def __init__(self, mediator: IoMediator, app): self.mediator = mediator self.app = app - self.error = '...
Removed the deprecated and now superfluous ScriptRunner.error attribute.
py
diff --git a/libsongtext/lyricwiki.py b/libsongtext/lyricwiki.py index <HASH>..<HASH> 100644 --- a/libsongtext/lyricwiki.py +++ b/libsongtext/lyricwiki.py @@ -61,7 +61,7 @@ class LyricWikiSong(object): tag.drop_tree() # Remove HTML comments - real_string = etree.tostring(element, encoding...
Fix keyword arg in lxml method as part of porting the package to be compatible with Python <I>. (#<I>)
py
diff --git a/scs_core/location/timezone_conf.py b/scs_core/location/timezone_conf.py index <HASH>..<HASH> 100644 --- a/scs_core/location/timezone_conf.py +++ b/scs_core/location/timezone_conf.py @@ -73,10 +73,7 @@ class TimezoneConf(PersistentJSONable): # -----------------------------------------------------------...
Upgraded TimezoneConf to use system timezone.
py
diff --git a/openpnm/models/misc/basic_math.py b/openpnm/models/misc/basic_math.py index <HASH>..<HASH> 100644 --- a/openpnm/models/misc/basic_math.py +++ b/openpnm/models/misc/basic_math.py @@ -160,7 +160,7 @@ def product(target, props): Returns ------- value : NumPy ndarray - Array containing pr...
added a space just to push and see where things break
py
diff --git a/xapian_backend.py b/xapian_backend.py index <HASH>..<HASH> 100755 --- a/xapian_backend.py +++ b/xapian_backend.py @@ -664,7 +664,7 @@ class XapianSearchBackend(BaseSearchBackend): for spy in facets_spies: enquire.add_matchspy(spy) - print enquire.get_query() + ...
Correction from the exact to the reserved field django_ct (he was being treated with a phrase.).
py
diff --git a/doc/source/conf.py b/doc/source/conf.py index <HASH>..<HASH> 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -224,7 +224,7 @@ latex_elements = { #'pointsize': '10pt', # Additional stuff for the LaTeX preamble. -#'preamble': '', +'preamble': r"\usepackage{amsmath,amssymb}", } # Grouping ...
[doc] latex preamble e load amsmath and amssymb package to render equations correctly
py
diff --git a/hearthstone/enums.py b/hearthstone/enums.py index <HASH>..<HASH> 100644 --- a/hearthstone/enums.py +++ b/hearthstone/enums.py @@ -2027,11 +2027,13 @@ TAG_TYPES = { GameTag.SPARE_PART: Type.BOOL, GameTag.PLAYSTATE: PlayState, GameTag.ZONE: Zone, + GameTag.FAKE_ZONE: Zone, GameTag.STEP: Step, GameT...
Add FAKE_ZONE and SPELL_SCHOOL to TAG_TYPES
py
diff --git a/fluo/__init__.py b/fluo/__init__.py index <HASH>..<HASH> 100644 --- a/fluo/__init__.py +++ b/fluo/__init__.py @@ -21,11 +21,11 @@ # THE SOFTWARE. from __future__ import absolute_import, division, print_function, unicode_literals +from .utils.version import get_version VERSION = (0, 2, 0, 'alpha', ...
update the package version info (added __version__, __author__ and __email__)
py
diff --git a/metaknowledge/visual/plotting.py b/metaknowledge/visual/plotting.py index <HASH>..<HASH> 100644 --- a/metaknowledge/visual/plotting.py +++ b/metaknowledge/visual/plotting.py @@ -28,7 +28,6 @@ def quickVisual(G, showLabel = False): nx.draw_networkx_labels(G, pos = layout, font_size = 8, ax = ax) ...
Small change to plotting Former-commit-id: <I>a1a0c3a<I>a6dae0e<I>cdcf3d<I>c5f<I>ed7fdf
py
diff --git a/chess/__init__.py b/chess/__init__.py index <HASH>..<HASH> 100644 --- a/chess/__init__.py +++ b/chess/__init__.py @@ -1239,12 +1239,12 @@ class BaseBoard: builder.append(RANK_NAMES[rank_index]) builder.append(" ") - for file_index in range(8): + for...
Fix order of files on flipped unicode board
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,3 @@ -from io import open from setuptools import setup, find_packages from os import path import re @@ -40,8 +39,10 @@ setup(name='livelossplot', 'Topic :: Scientific/Engineering :: Artificial Intelligenc...
fix(setup) changed to Python <I>-7 version
py
diff --git a/gns3server/modules/iou/iou_vm.py b/gns3server/modules/iou/iou_vm.py index <HASH>..<HASH> 100644 --- a/gns3server/modules/iou/iou_vm.py +++ b/gns3server/modules/iou/iou_vm.py @@ -370,6 +370,8 @@ class IOUVM(BaseVM): return config = configparser.ConfigParser() + if self.iourc_p...
Do not crash if iourc file is missing
py
diff --git a/dedupe/canopy_index.py b/dedupe/canopy_index.py index <HASH>..<HASH> 100644 --- a/dedupe/canopy_index.py +++ b/dedupe/canopy_index.py @@ -21,14 +21,13 @@ class CanopyIndex(TextIndex): # pragma: no cover N = len(self.index._docweight) threshold = int(max(1000, N * 0.05)) + stop_w...
fix bug caused by deleting keys as we iterated through index closes #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -71,12 +71,12 @@ if sys.version_info[0] < 3: # python2 test_requirements = ['pytest>=3.5,<5', 'pytest-timeout', 'pytest-mock>=1.9.0,<3', 'pytest-faulthandler~=1.6.0', 'importlib-metadata~=2.0.0'...
test: add numpy to test requirements
py
diff --git a/src/cobald/daemon/config/yaml.py b/src/cobald/daemon/config/yaml.py index <HASH>..<HASH> 100644 --- a/src/cobald/daemon/config/yaml.py +++ b/src/cobald/daemon/config/yaml.py @@ -1,11 +1,20 @@ -from yaml import safe_load +from typing import Type +from yaml import SafeLoader, BaseLoader, nodes from .mappi...
yaml config loading now supports arbitrary loaders
py
diff --git a/salt/roster/cache.py b/salt/roster/cache.py index <HASH>..<HASH> 100644 --- a/salt/roster/cache.py +++ b/salt/roster/cache.py @@ -6,7 +6,6 @@ to access regular minions over ``salt-ssh``. .. versionadded:: Nitrogen - grains, pillar, mine data matching - - environment variables - SDB URLs ...
Cache roster: Rework env support through SDB
py
diff --git a/src/toil/test/provisioners/cgcloud/provisionerTest.py b/src/toil/test/provisioners/cgcloud/provisionerTest.py index <HASH>..<HASH> 100644 --- a/src/toil/test/provisioners/cgcloud/provisionerTest.py +++ b/src/toil/test/provisioners/cgcloud/provisionerTest.py @@ -111,7 +111,9 @@ class AbstractCGCloudProvisio...
Prevent cache collisions of pip instances in concurrent tests
py
diff --git a/src/feat/web/http.py b/src/feat/web/http.py index <HASH>..<HASH> 100644 --- a/src/feat/web/http.py +++ b/src/feat/web/http.py @@ -387,7 +387,12 @@ class BaseProtocol(log.Logger, basic.LineReceiver, timeout.Mixin): def _on_inactivity_timeout(self): self.warning("Inactivity timeout") - ...
Comment out wrong method call in http base protocol inactivity timeout.
py
diff --git a/rlp.py b/rlp.py index <HASH>..<HASH> 100644 --- a/rlp.py +++ b/rlp.py @@ -25,21 +25,21 @@ def __decode(s, pos=0): if fchar < 128: return (s[pos], pos + 1) elif fchar < 184: - b = ord(s[pos]) - 128 + b = fchar - 128 return (s[pos + 1:pos + 1 + b], pos + 1 + b) ...
shorten code a bit by reusing the value of ord(s[pos]) in __decode
py
diff --git a/test/test_vtk.py b/test/test_vtk.py index <HASH>..<HASH> 100644 --- a/test/test_vtk.py +++ b/test/test_vtk.py @@ -67,6 +67,7 @@ def test_reference_file(filename, md5, ref_sum, ref_num_cells, write_binary): @pytest.mark.parametrize( "filename, md5, ref_cells, ref_num_cells, ref_num_pnt", [ + ...
test_vtk: test 2D image with float origin/spacing
py
diff --git a/tests/test_async_with.py b/tests/test_async_with.py index <HASH>..<HASH> 100644 --- a/tests/test_async_with.py +++ b/tests/test_async_with.py @@ -1,7 +1,7 @@ import asyncio from tests.base import AIOPyMySQLTestCase from aiomysql import SSCursor -from aiomysql import sa +from aiomysql import sa, create_p...
Fix tests for async with and pool
py
diff --git a/mopidy_tunein/tunein.py b/mopidy_tunein/tunein.py index <HASH>..<HASH> 100644 --- a/mopidy_tunein/tunein.py +++ b/mopidy_tunein/tunein.py @@ -305,13 +305,11 @@ class TuneIn(object): parser = find_playlist_parser(extension, content_type) if parser: playlist_data = ...
filter out recursive playlist in list comp
py
diff --git a/malcolm/imalcolm.py b/malcolm/imalcolm.py index <HASH>..<HASH> 100755 --- a/malcolm/imalcolm.py +++ b/malcolm/imalcolm.py @@ -189,7 +189,6 @@ def try_prepare_locals(q, args): def main(): print("Loading malcolm...") - # import queue from malcolm.profiler import Profiler args = parse_a...
Remove commented out import in imalcolm
py
diff --git a/git/remote.py b/git/remote.py index <HASH>..<HASH> 100644 --- a/git/remote.py +++ b/git/remote.py @@ -295,7 +295,7 @@ class FetchInfo(object): # parse lines control_character, operation, local_remote_ref, remote_local_ref, note = match.groups() try: - new_hex_sha, fetc...
renamed unused vars
py
diff --git a/astrodbkit/astrodb.py b/astrodbkit/astrodb.py index <HASH>..<HASH> 100755 --- a/astrodbkit/astrodb.py +++ b/astrodbkit/astrodb.py @@ -1096,6 +1096,7 @@ class Database: Radius in degrees in which to search for objects if using (ra,dec). Default: 1/60 degree """ + # Get list ...
update to search() method re:issue #<I>
py
diff --git a/delocate/delocating.py b/delocate/delocating.py index <HASH>..<HASH> 100644 --- a/delocate/delocating.py +++ b/delocate/delocating.py @@ -304,6 +304,9 @@ def _copy_required( ``/sys/libB.dylib``, so we fix our copy of `libC.dylib`` to point to ``my_lib_path/libB.dylib`` and add ``/sys/libC.dylib``...
Note _copy_required as deprecated.
py
diff --git a/tests/test_pubsub.py b/tests/test_pubsub.py index <HASH>..<HASH> 100644 --- a/tests/test_pubsub.py +++ b/tests/test_pubsub.py @@ -1,14 +1,12 @@ -import pytest import threading import time - from unittest import mock +import pytest import redis from redis.exceptions import ConnectionError -from .co...
daemonize the thread to see if the tests will continue
py
diff --git a/source/test/common/test_zz_gui_docking_windows.py b/source/test/common/test_zz_gui_docking_windows.py index <HASH>..<HASH> 100644 --- a/source/test/common/test_zz_gui_docking_windows.py +++ b/source/test/common/test_zz_gui_docking_windows.py @@ -17,7 +17,7 @@ import testing_utils from testing_utils import...
Fixed bug in docking unit test.
py
diff --git a/simuvex/plugins/symbolic_memory.py b/simuvex/plugins/symbolic_memory.py index <HASH>..<HASH> 100644 --- a/simuvex/plugins/symbolic_memory.py +++ b/simuvex/plugins/symbolic_memory.py @@ -164,9 +164,6 @@ class SimSymbolicMemory(SimMemory): #pylint:disable=abstract-method l.debug("... concrete va...
don't spend time explicitly checking for state satisfiability
py
diff --git a/scapy/fields.py b/scapy/fields.py index <HASH>..<HASH> 100644 --- a/scapy/fields.py +++ b/scapy/fields.py @@ -531,9 +531,11 @@ class FieldListField(Field): return val def any2i(self, pkt, x): if type(x) is not list: - return [x] + return [self.field.any2i(pkt, x...
[fields.py]: Better support for EnumFields in FieldListField
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -22,8 +22,10 @@ try: ) readme = proc.stdout.read() except: - if len(sys.argv) >=2 and sys.argv[1] in ["register", "upload"]: - raise Exception("Unable to convert Markdown README to ReST for upload to PyPi. Do you have pa...
Correct check for upload or register setup command Ensure we don't upload Markdown docs to PyPi. The upload or register commands won't necessarily be the first argument.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -17,6 +17,7 @@ setup(name="magic-wormhole", "wormhole.blocking", "wormhole.twisted", "wormhole.scripts", "wormhole.test", "wormhole.util", "wormhole.servers"], + package_...
include .sql file in package_data
py
diff --git a/make_release_notes.py b/make_release_notes.py index <HASH>..<HASH> 100755 --- a/make_release_notes.py +++ b/make_release_notes.py @@ -31,7 +31,7 @@ series in the following PPA: https://launchpad.net/~juju/+archive/devel -Windows and OS X users will find installers at: +Windows, Centos, and OS X us...
Added centos to release notes.
py
diff --git a/airflow/contrib/operators/gcs_to_bq.py b/airflow/contrib/operators/gcs_to_bq.py index <HASH>..<HASH> 100644 --- a/airflow/contrib/operators/gcs_to_bq.py +++ b/airflow/contrib/operators/gcs_to_bq.py @@ -124,6 +124,9 @@ class GoogleCloudStorageToBigQueryOperator(BaseOperator): time_partitioning. The...
[AIRFLOW-XXX] Add missing docstring for 'autodetect' in GCS to BQ Operator (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ setup( packages = ['tibber'], install_requires=['gql>=0.1.0', 'aiohttp>=3.0.6', 'async_timeout>=1.4.0', 'websockets>=6.0', - 'graphql-subscription-manager>=0.2...
graphql-subscription-manager>=<I>
py
diff --git a/tests/test_io.py b/tests/test_io.py index <HASH>..<HASH> 100644 --- a/tests/test_io.py +++ b/tests/test_io.py @@ -12,6 +12,8 @@ from auditok.io import ( AudioIOError, AudioParameterError, BufferAudioSource, + RawAudioSource, + WaveAudioSource, check_audio_data, _guess_audio_f...
Add tests for from_file with large_file=True
py
diff --git a/FlowCal/excel_ui.py b/FlowCal/excel_ui.py index <HASH>..<HASH> 100644 --- a/FlowCal/excel_ui.py +++ b/FlowCal/excel_ui.py @@ -78,16 +78,17 @@ import platform import re import six import subprocess -import sys import time import warnings # Tkinter is imported differently depending on which version o...
Modified tkinter import in excel_ui to use six.
py
diff --git a/rotunicode/console_scripts.py b/rotunicode/console_scripts.py index <HASH>..<HASH> 100644 --- a/rotunicode/console_scripts.py +++ b/rotunicode/console_scripts.py @@ -1,8 +1,10 @@ # coding: utf-8 +from __future__ import print_function from __future__ import unicode_literals import argparse import sys ...
Use print function instead of print statement. print statement no longer exists in Python 3.
py
diff --git a/atlassian/confluence.py b/atlassian/confluence.py index <HASH>..<HASH> 100644 --- a/atlassian/confluence.py +++ b/atlassian/confluence.py @@ -218,3 +218,8 @@ class Confluence(AtlassianRestAPI): url=result['_links']['tinyui'])) return result + + def convert_wiki_to_storage(self, w...
Add convert_wiki_to_storage function to Confluence (#<I>) The Confluence REST API now allows access to the body content convertion functions. Particularly useful when you want to upload wiki format to Confluence.
py
diff --git a/kibitzr/transformer/xpath.py b/kibitzr/transformer/xpath.py index <HASH>..<HASH> 100644 --- a/kibitzr/transformer/xpath.py +++ b/kibitzr/transformer/xpath.py @@ -1,9 +1,6 @@ import logging -import re import six -from defusedxml import lxml as dlxml -from lxml import etree from .utils import bake_par...
Lazy import re, lxml and defusedxml
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -23,6 +23,8 @@ with open('requirements.txt') as reqs: if sys.version_info[:2] == (3, 2): install_requires.append("tornado>=4.2,<4.4") +elif sys.version_info[:2] == (3, 3): + install_requires.append("tornado>=4.2,<5....
fix compatibility of tornado5 with python <I>
py
diff --git a/alpaca_trade_api/polygon/entity.py b/alpaca_trade_api/polygon/entity.py index <HASH>..<HASH> 100644 --- a/alpaca_trade_api/polygon/entity.py +++ b/alpaca_trade_api/polygon/entity.py @@ -345,8 +345,12 @@ trade_mapping = { "s": "size", "t": "timestamp", "f": "trf_timestamp", - "y": "exchang...
chore(trades): changed y naming and added i, r, q, z to mapping
py
diff --git a/mpop/scene.py b/mpop/scene.py index <HASH>..<HASH> 100644 --- a/mpop/scene.py +++ b/mpop/scene.py @@ -33,7 +33,7 @@ import os import logging from mpop import runtime_import, config_search_paths, get_environ_config_dir -from mpop.projectable import Projectable, InfoObject, DatasetID, DatasetDict +from m...
Fix import error in scene A small refactor was done and then undone to move DatasetDict and DatasetID. This little import change wasn't properly cleaned up.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -39,11 +39,9 @@ setup( 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Natural Language :: English', - "Programming Language :: Python :: 2", - 'Programmin...
don't claim anything but <I> and <I>
py
diff --git a/OutputCheck/Driver.py b/OutputCheck/Driver.py index <HASH>..<HASH> 100644 --- a/OutputCheck/Driver.py +++ b/OutputCheck/Driver.py @@ -24,10 +24,15 @@ def main(args): parser.add_argument('--comment=',type=str, default="", help='Force one line comment value. Default guess from file extension of check_fi...
Show simpler logging output when not using level is not debug.
py
diff --git a/vyper/builtin_functions/functions.py b/vyper/builtin_functions/functions.py index <HASH>..<HASH> 100644 --- a/vyper/builtin_functions/functions.py +++ b/vyper/builtin_functions/functions.py @@ -1028,7 +1028,7 @@ class AsWeiValue: value, denom_name = args[0], args[1].decode() denom_divis...
fix: as_wei_value for uint8 (#<I>) ideally we would refactor this slightly so it works for any integer type
py
diff --git a/glances/exports/glances_rabbitmq.py b/glances/exports/glances_rabbitmq.py index <HASH>..<HASH> 100644 --- a/glances/exports/glances_rabbitmq.py +++ b/glances/exports/glances_rabbitmq.py @@ -81,9 +81,8 @@ class Export(GlancesExport): """Init the connection to the rabbitmq server""" if not ...
RabbitMQ export : delete debug info
py
diff --git a/nhlib/mfd/base.py b/nhlib/mfd/base.py index <HASH>..<HASH> 100644 --- a/nhlib/mfd/base.py +++ b/nhlib/mfd/base.py @@ -40,8 +40,6 @@ class BaseMFD(object): Modifications can be applied one on top of another. The logic of stacking modifications is up to a specific MFD implementation. - ...
mfd/base: Removed a docstring reference to a method which no longer exists.
py
diff --git a/tests/integration/standard/test_cluster.py b/tests/integration/standard/test_cluster.py index <HASH>..<HASH> 100644 --- a/tests/integration/standard/test_cluster.py +++ b/tests/integration/standard/test_cluster.py @@ -192,13 +192,23 @@ class ClusterTests(unittest.TestCase): @test_category connec...
Fixed opened connections in test_session_host_parameter
py
diff --git a/vivarium/framework/components.py b/vivarium/framework/components.py index <HASH>..<HASH> 100644 --- a/vivarium/framework/components.py +++ b/vivarium/framework/components.py @@ -129,7 +129,7 @@ class ComponentManager: Components to register """ - self.components.extend(componen...
Make add_components prepend to ease initialization from sources other than a config file
py
diff --git a/bakery/gitauth/views.py b/bakery/gitauth/views.py index <HASH>..<HASH> 100644 --- a/bakery/gitauth/views.py +++ b/bakery/gitauth/views.py @@ -76,7 +76,7 @@ def authorized(next = None): # flash(_('Welcome to Bakery.')) # update user data - user.name = me['name'] + user.name = me.get('n...
Fix for rare problem when user don't have name in Github profile
py
diff --git a/vcr/files.py b/vcr/files.py index <HASH>..<HASH> 100644 --- a/vcr/files.py +++ b/vcr/files.py @@ -2,10 +2,16 @@ import os import yaml from .cassette import Cassette +# Use the libYAML versions if possible +try: + from yaml import CLoader as Loader, CDumper as Dumper +except ImportError: + from ya...
Use the libYAML version of yaml if it's available
py
diff --git a/pybitcoin/rpc/config.py b/pybitcoin/rpc/config.py index <HASH>..<HASH> 100644 --- a/pybitcoin/rpc/config.py +++ b/pybitcoin/rpc/config.py @@ -9,7 +9,7 @@ import os -NAMECOIND_ENABLED = True +NAMECOIND_ENABLED = False BITCOIND_ENABLED = True DEBUG = True
turn off namecoind support by default
py
diff --git a/metal/end_model/end_model.py b/metal/end_model/end_model.py index <HASH>..<HASH> 100644 --- a/metal/end_model/end_model.py +++ b/metal/end_model/end_model.py @@ -212,9 +212,6 @@ class EndModel(Classifier): # Convert input data to data loaders train_loader = self._create_data_loader(train_...
Don't reset the model for every train_model() call
py
diff --git a/sos/plugins/__init__.py b/sos/plugins/__init__.py index <HASH>..<HASH> 100644 --- a/sos/plugins/__init__.py +++ b/sos/plugins/__init__.py @@ -525,10 +525,12 @@ class Plugin(object): """Execute a command and save the output to a file for inclusion in the report. """ + start...
Record duration of calls to external programs at debug level The old profiling report was removed in favour of using external profilers like cProfile. This is useful for overall profiling and identifying code hotspots but is less helpful for drilling down to the collection of individual items. Since running programs ...
py
diff --git a/crabpy/tests/gateway/test_crab.py b/crabpy/tests/gateway/test_crab.py index <HASH>..<HASH> 100644 --- a/crabpy/tests/gateway/test_crab.py +++ b/crabpy/tests/gateway/test_crab.py @@ -1862,13 +1862,13 @@ class AdrespositieTests(unittest.TestCase): self.assertEqual(a.aard, 2) self.assertIsIn...
Fix failing tests. #<I>
py
diff --git a/test/unit/test_service_models.py b/test/unit/test_service_models.py index <HASH>..<HASH> 100644 --- a/test/unit/test_service_models.py +++ b/test/unit/test_service_models.py @@ -94,7 +94,7 @@ class HostListTestMixin(UrlTesterTestMixin): return function(unsupported_host) - de...
Rename test_contains_returns_false_for_unsupported_host The method is being renamed to test_contains_for_invalid_host
py
diff --git a/training/deepspeech_training/util/audio.py b/training/deepspeech_training/util/audio.py index <HASH>..<HASH> 100644 --- a/training/deepspeech_training/util/audio.py +++ b/training/deepspeech_training/util/audio.py @@ -579,17 +579,18 @@ def get_dtype(audio_format): def pcm_to_np(pcm_data, audio_format=...
Don't throw on mono audio any more since everything should work?
py