diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/schedula/utils/drw/__init__.py b/schedula/utils/drw/__init__.py index <HASH>..<HASH> 100644 --- a/schedula/utils/drw/__init__.py +++ b/schedula/utils/drw/__init__.py @@ -757,7 +757,7 @@ class SiteFolder: i: v for i, v in gnode.items() if i in nodes and (i is not SINK or succ[SINK]...
fix(drw): Remove empty node if some node is available.
py
diff --git a/src/pyrocore/util/matching.py b/src/pyrocore/util/matching.py index <HASH>..<HASH> 100644 --- a/src/pyrocore/util/matching.py +++ b/src/pyrocore/util/matching.py @@ -450,7 +450,7 @@ class MagicFilter(FieldFilter): pass elif val.replace('.', '0').isdigit(): matcher = Floa...
fix degradation (changed type to set())
py
diff --git a/gridmap/job.py b/gridmap/job.py index <HASH>..<HASH> 100644 --- a/gridmap/job.py +++ b/gridmap/job.py @@ -134,16 +134,17 @@ class Job(object): self.white_list = [] self.name = name.replace(' ', '_') self.queue = queue - # fetch env vars from shell - env = {env_var: ...
Python 3 fixes for DRMAA (again)
py
diff --git a/adafruit_platformdetect/board.py b/adafruit_platformdetect/board.py index <HASH>..<HASH> 100644 --- a/adafruit_platformdetect/board.py +++ b/adafruit_platformdetect/board.py @@ -115,6 +115,8 @@ class Board: board_id = self._pynq_id() elif chip_id == chips.A64: board_id = ...
Add PineH<I> to board detection
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,6 +2,7 @@ import setuptools from distutils.core import setup import sys +import time setup( # Application name: name="ChromeController", @@ -24,11 +25,12 @@ setup( description="Chrome Remote Debugger interface.", ...
Work around stupid setuptools issue where it only sometimes recognizes git+https URLs.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ from setuptools import find_packages, setup MIN_PY_VERSION = "3.9" PACKAGES = find_packages(exclude=["tests", "tests.*"]) REQUIREMENTS = list(val.strip() for val in open("requirements.txt")) -VERSION = "87" +VE...
Bump to <I> (#<I>)
py
diff --git a/lib/pyfrc/test_support/fake_time.py b/lib/pyfrc/test_support/fake_time.py index <HASH>..<HASH> 100644 --- a/lib/pyfrc/test_support/fake_time.py +++ b/lib/pyfrc/test_support/fake_time.py @@ -163,12 +163,14 @@ class FakeTime: current_thread = threading.current_thread() if current_thread.ide...
fake_time: rework child thread insertion
py
diff --git a/nosedjango/nosedjango.py b/nosedjango/nosedjango.py index <HASH>..<HASH> 100644 --- a/nosedjango/nosedjango.py +++ b/nosedjango/nosedjango.py @@ -114,16 +114,19 @@ class NoseDjango(Plugin): # to be off. settings.DEBUG = False - from django.core import mail - self.mail = ma...
Removed tinkering with mail from the test setup since django's setup and teardown test_environment() methods handle that. Added a management command hack to ensure that nosedjango always uses the *real* syncdb so that tests work even with South installed
py
diff --git a/bokeh/models/transforms.py b/bokeh/models/transforms.py index <HASH>..<HASH> 100644 --- a/bokeh/models/transforms.py +++ b/bokeh/models/transforms.py @@ -19,11 +19,11 @@ class Transform(Model): .. code-block: coffeescript - compute: (x) -> - # compute the transform of a single va...
DOC : Transforms methods dedent for Sphinx (#<I>) Looks like the methods to be implemented were indented one space too many, and missed by sphinx.
py
diff --git a/pysnmp/smi/mibs/SNMPv2-TC.py b/pysnmp/smi/mibs/SNMPv2-TC.py index <HASH>..<HASH> 100644 --- a/pysnmp/smi/mibs/SNMPv2-TC.py +++ b/pysnmp/smi/mibs/SNMPv2-TC.py @@ -302,7 +302,8 @@ class RowStatus(Integer, TextualConvention): # Run through states transition matrix, # resolve new instance va...
fix to RowStatus instantiation in case if uninitialized value is passed
py
diff --git a/gfycat/client.py b/gfycat/client.py index <HASH>..<HASH> 100644 --- a/gfycat/client.py +++ b/gfycat/client.py @@ -1,4 +1,5 @@ import requests +import time import uuid from constants import (FETCH_URL_ENDPOINT, FETCH_URL_LAZY_ENDPOINT, @@ -53,6 +54,9 @@ class GfycatClient(object): raise Gf...
Silently handle timeout errors from gfycat
py
diff --git a/evm/logic/system.py b/evm/logic/system.py index <HASH>..<HASH> 100644 --- a/evm/logic/system.py +++ b/evm/logic/system.py @@ -230,6 +230,10 @@ class Create2(CreateEIP150): salt, call_data, ) + _state_db = computation.vm_state.state_db( + read_only=True, ...
fix on cleaned up state_db context
py
diff --git a/xhtml2pdf/context.py b/xhtml2pdf/context.py index <HASH>..<HASH> 100644 --- a/xhtml2pdf/context.py +++ b/xhtml2pdf/context.py @@ -209,12 +209,12 @@ class pisaCSSBuilder(css.CSSBuilder): if data.has_key("-pdf-page-size"): c.pageSize = xhtml2pdf.default.PML_PAGESIZES.get(str(data["-pdf-...
check page orientation, set landscape to false by default
py
diff --git a/amazon/api.py b/amazon/api.py index <HASH>..<HASH> 100644 --- a/amazon/api.py +++ b/amazon/api.py @@ -853,3 +853,38 @@ class AmazonProduct(object): return [] return [AmazonBrowseNode(child) for child in root.iterchildren()] + + @property + def genre(self): + """Movie Ge...
Adding properties for Genre, Actor, and Director
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -9,6 +9,7 @@ setup( license='MIT', author='Daniel Wolf', author_email='danielrwolf5@gmail.com', - description='Python implementation of Dropbox\'s realistic password strength estimator', + description='Pyt...
updated the description in setup.py
py
diff --git a/strsimpy/ngram.py b/strsimpy/ngram.py index <HASH>..<HASH> 100644 --- a/strsimpy/ngram.py +++ b/strsimpy/ngram.py @@ -46,7 +46,7 @@ class NGram(NormalizedStringDistance): for i in range(min(sl, tl)): if s0[i] == s1[i]: cost += 1 - return 1.0 * c...
fix ngram distance for strings shorter then N
py
diff --git a/openpnm/algorithms/GenericTransport.py b/openpnm/algorithms/GenericTransport.py index <HASH>..<HASH> 100644 --- a/openpnm/algorithms/GenericTransport.py +++ b/openpnm/algorithms/GenericTransport.py @@ -682,6 +682,7 @@ class GenericTransport(GenericAlgorithm): physics = prj.physics().values() ...
Made _sanity_check more robust, in case props are not a proper pore-scale model, yet contain NaNs
py
diff --git a/pycdlib/pycdlib.py b/pycdlib/pycdlib.py index <HASH>..<HASH> 100644 --- a/pycdlib/pycdlib.py +++ b/pycdlib/pycdlib.py @@ -324,19 +324,21 @@ def find_parent_index_from_dirrecord(dirrecord): Returns: The index of this directory record in the parent's list of children. ''' - for index, chil...
Switch find_parent_index_from_dirrecord to use bisect. This should make it faster.
py
diff --git a/fireplace/cards.py b/fireplace/cards.py index <HASH>..<HASH> 100644 --- a/fireplace/cards.py +++ b/fireplace/cards.py @@ -265,6 +265,10 @@ class _Card(Entity, XMLCard): else: raise NotImplementedError(self.name, self.type) + # Card must already be on the field for activate + if self.type not in ...
Make sure the card is on the field when triggering activate()
py
diff --git a/Evtx/BinaryParser.py b/Evtx/BinaryParser.py index <HASH>..<HASH> 100644 --- a/Evtx/BinaryParser.py +++ b/Evtx/BinaryParser.py @@ -182,9 +182,6 @@ class Block(object): def __repr__(self): return "Block(buf={!r}, offset={!r})".format(self._buf, self._offset) - def __unicode__(self): - ...
binary parser: remove dead code
py
diff --git a/netmiko/dlink/dlink_ds.py b/netmiko/dlink/dlink_ds.py index <HASH>..<HASH> 100644 --- a/netmiko/dlink/dlink_ds.py +++ b/netmiko/dlink/dlink_ds.py @@ -22,7 +22,7 @@ class DlinkDSBase(NoEnable, NoConfig, CiscoSSHConnection): cmd=cmd, confirm=confirm, confirm_response=confirm_response ) ...
Update dlink_ds.py (#<I>) Change command in def cleanup, correct command for exit "logout", no "exit".
py
diff --git a/src/python/twitter/pants/python/interpreter_cache.py b/src/python/twitter/pants/python/interpreter_cache.py index <HASH>..<HASH> 100644 --- a/src/python/twitter/pants/python/interpreter_cache.py +++ b/src/python/twitter/pants/python/interpreter_cache.py @@ -121,6 +121,12 @@ class PythonInterpreterCache(obj...
don't always patch the current interpreter into the compatible interpreters set. Reviewed at <URL>
py
diff --git a/openquake/baselib/parallel.py b/openquake/baselib/parallel.py index <HASH>..<HASH> 100644 --- a/openquake/baselib/parallel.py +++ b/openquake/baselib/parallel.py @@ -165,7 +165,6 @@ import itertools import traceback import collections import multiprocessing.dummy -from unittest import mock import psuti...
Fixed the order of the events in ebrisk
py
diff --git a/cfgrib/dataset.py b/cfgrib/dataset.py index <HASH>..<HASH> 100644 --- a/cfgrib/dataset.py +++ b/cfgrib/dataset.py @@ -63,7 +63,7 @@ GRID_TYPE_MAP = { 'regular_gg': [ 'Ni', 'iDirectionIncrementInDegrees', 'iScansNegatively', 'longitudeOfFirstGridPointInDegrees', 'longitudeOfLastGridPo...
The `Nj` key is required to be set correctly on save.
py
diff --git a/pyth/plugins/rtf15/reader.py b/pyth/plugins/rtf15/reader.py index <HASH>..<HASH> 100644 --- a/pyth/plugins/rtf15/reader.py +++ b/pyth/plugins/rtf15/reader.py @@ -359,7 +359,10 @@ class Group(object): def handle_ansi_escape(self, code): - self.content.append(chr(int(code, 16)).decode(self.ch...
Use ? for undefined character mappings
py
diff --git a/thinc/neural/_classes/relu.py b/thinc/neural/_classes/relu.py index <HASH>..<HASH> 100644 --- a/thinc/neural/_classes/relu.py +++ b/thinc/neural/_classes/relu.py @@ -3,6 +3,17 @@ from .affine import Affine class ReLu(Affine): name = 'relu' + @property + def describe_params(self): + '''...
Describe params in relu
py
diff --git a/indra/pysb_assembler.py b/indra/pysb_assembler.py index <HASH>..<HASH> 100644 --- a/indra/pysb_assembler.py +++ b/indra/pysb_assembler.py @@ -170,7 +170,7 @@ def get_agent_rule_str(agent): for m, mp in zip(agent.mods, agent.mod_sites): mstr = abbrevs[m] mpstr = '' if mp i...
Fix getting strings for mods and mod sites
py
diff --git a/readthedocs_ext/template-meta.py b/readthedocs_ext/template-meta.py index <HASH>..<HASH> 100644 --- a/readthedocs_ext/template-meta.py +++ b/readthedocs_ext/template-meta.py @@ -13,6 +13,8 @@ def on_page_context(app, pagename, templatename, context, doctree): if 'meta' in context and 'template' in con...
Fix a linting problem
py
diff --git a/satpy/scene.py b/satpy/scene.py index <HASH>..<HASH> 100644 --- a/satpy/scene.py +++ b/satpy/scene.py @@ -640,8 +640,8 @@ class Scene: 'mean', 'sum', 'min', 'max', 'median', 'argmin', 'argmax', 'prod', 'std', 'var'. 'mean' ...
Update satpy/scene.py
py
diff --git a/doac/utils.py b/doac/utils.py index <HASH>..<HASH> 100644 --- a/doac/utils.py +++ b/doac/utils.py @@ -30,6 +30,9 @@ def request_error_header(exception): if hasattr(exception, "error"): header = header + ", error=\"%s\"" % (exception.error, ) + if hasattr(exception, "reason"): + ...
Added error_description support for if error has a reason
py
diff --git a/src/transformers/pipelines.py b/src/transformers/pipelines.py index <HASH>..<HASH> 100755 --- a/src/transformers/pipelines.py +++ b/src/transformers/pipelines.py @@ -656,8 +656,8 @@ class TextClassificationPipeline(Pipeline): def __call__(self, *args, **kwargs): outputs = super().__call__(*...
Fix #<I> (#<I>) * Fix of issue #<I> Reshaped score array to avoid `numpy` ValueError. * Update src/transformers/pipelines.py * Update src/transformers/pipelines.py
py
diff --git a/tests/test_mentions.py b/tests/test_mentions.py index <HASH>..<HASH> 100644 --- a/tests/test_mentions.py +++ b/tests/test_mentions.py @@ -23,11 +23,10 @@ class TestParsing(unittest.TestCase): # test the core mention and replies link finding def runTest(self): with HTTMock(bear_im_mock): ...
fix mentions tests to match changes to ronkyuu
py
diff --git a/gwpy/types/array.py b/gwpy/types/array.py index <HASH>..<HASH> 100644 --- a/gwpy/types/array.py +++ b/gwpy/types/array.py @@ -28,6 +28,8 @@ transforming instances of the class. """ import warnings +from math import modf +from decimal import Decimal import numpy @@ -292,7 +294,7 @@ class Array(Quan...
Array.epoch: store internally as Decimal lal.LIGOTimeGPS isn't picklable, so don't use it
py
diff --git a/Lib/fontParts/objects/base/font.py b/Lib/fontParts/objects/base/font.py index <HASH>..<HASH> 100644 --- a/Lib/fontParts/objects/base/font.py +++ b/Lib/fontParts/objects/base/font.py @@ -563,8 +563,8 @@ class BaseFont(_BaseGlyphVendor): """ Subclasses may override this method. """...
Only the default layer should be rounded.
py
diff --git a/heron/cli/src/python/submit.py b/heron/cli/src/python/submit.py index <HASH>..<HASH> 100644 --- a/heron/cli/src/python/submit.py +++ b/heron/cli/src/python/submit.py @@ -173,13 +173,18 @@ def submit_fatjar(cl_args, unknown_args, tmp_dir): # execute main of the topology to create the topology definitio...
catch exception when unable to run the topology main and print an error
py
diff --git a/tests/test_runtime_typecheck.py b/tests/test_runtime_typecheck.py index <HASH>..<HASH> 100644 --- a/tests/test_runtime_typecheck.py +++ b/tests/test_runtime_typecheck.py @@ -2,7 +2,7 @@ from typing import Union, Tuple, Any, List import pytest -from runtime_typecheck.runtime_typecheck import check_type...
Add (failing) test for type of error
py
diff --git a/subconvert/gui/SubtitleWindow.py b/subconvert/gui/SubtitleWindow.py index <HASH>..<HASH> 100644 --- a/subconvert/gui/SubtitleWindow.py +++ b/subconvert/gui/SubtitleWindow.py @@ -240,7 +240,8 @@ class SubtitleTab(SubTab): class SubtitleEditor(SubTab): def __init__(self, filePath, subtitleData, paren...
Display only file names (not full paths) on tabs.
py
diff --git a/runtests.py b/runtests.py index <HASH>..<HASH> 100755 --- a/runtests.py +++ b/runtests.py @@ -3,26 +3,31 @@ import os, sys from django.conf import settings +import django -if not settings.configured: - settings_dict = dict( - INSTALLED_APPS=( - 'django.contrib.contenttypes', - ...
Update runtests.py for compatibility with Django <I>.
py
diff --git a/openid/consumer/discover.py b/openid/consumer/discover.py index <HASH>..<HASH> 100644 --- a/openid/consumer/discover.py +++ b/openid/consumer/discover.py @@ -1,11 +1,17 @@ from urljr import fetchers +from openid import oidutil + # If the Yadis library is available, use it. Otherwise, only use # old-st...
[project @ Add log message when library is operating without Yadis sup]
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,10 +1,10 @@ -from setuptools import setup +from setuptools import setup, find_packages setup( name="arviz", version="0.1.0", - packages=['arviz'], + packages=find_packages(), include_package_data=T...
use find_packages (#<I>)
py
diff --git a/napalm_logs/device.py b/napalm_logs/device.py index <HASH>..<HASH> 100644 --- a/napalm_logs/device.py +++ b/napalm_logs/device.py @@ -9,10 +9,10 @@ import os import re import signal import logging +import calendar import datetime import dateutil import threading -from time import mktime # Import t...
Use Python calendar functions to determine the message UTC timestamp ``calendar.timegm`` is more reliable than ``time.mktime`` as the latter would adapt to the local timezone regardless.
py
diff --git a/hotel/models/hotel.py b/hotel/models/hotel.py index <HASH>..<HASH> 100644 --- a/hotel/models/hotel.py +++ b/hotel/models/hotel.py @@ -978,7 +978,7 @@ class HotelServiceLine(models.Model): if not self.ser_checkout_date: self.ser_checkout_date = time_a if self.ser_checkout_date...
[FIX-Issue] Fixed Error issue-#<I>
py
diff --git a/IPython/nbconvert/exporters/python.py b/IPython/nbconvert/exporters/python.py index <HASH>..<HASH> 100644 --- a/IPython/nbconvert/exporters/python.py +++ b/IPython/nbconvert/exporters/python.py @@ -1,6 +1,5 @@ -""" -Python exporter which exports Notebook code into a PY file. -""" +"""Python script Exporter...
add raw_format to Exporter classes sets their values in resources
py
diff --git a/workshift/views.py b/workshift/views.py index <HASH>..<HASH> 100644 --- a/workshift/views.py +++ b/workshift/views.py @@ -150,7 +150,7 @@ def add_workshift_context(request): ] if workshift_profile: -n try: + try: standing = workshift_profile.pool_hours.get(pool__i...
Removed extra character that accidentally got committed
py
diff --git a/python-package/xgboost/training.py b/python-package/xgboost/training.py index <HASH>..<HASH> 100644 --- a/python-package/xgboost/training.py +++ b/python-package/xgboost/training.py @@ -38,7 +38,10 @@ def train(params, dtrain, num_boost_round=10, evals=(), obj=None, feval=None, If early stopping o...
Updated the documentation a bit Will upload some demos for guide-python later.
py
diff --git a/openquake/calculators/views.py b/openquake/calculators/views.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/views.py +++ b/openquake/calculators/views.py @@ -719,7 +719,7 @@ def view_extreme_gmvs(token, dstore): if ':' in token: maxgmv = float(token.split(':')[1]) else: - ...
Added comment [skip CI]
py
diff --git a/neomodel/match.py b/neomodel/match.py index <HASH>..<HASH> 100644 --- a/neomodel/match.py +++ b/neomodel/match.py @@ -132,7 +132,7 @@ class QueryBuilder(object): self.build_additional_match(ident, source) - if hasattr(self.node_set, '_order_by'): + if hasattr(source, ...
check "order_by" on source and not self
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,9 +2,9 @@ # Use setuptools if we can try: - from setuptools import setup, find_packages + from setuptools import setup except ImportError: - from distutils import setup, find_packages + from distutils impor...
Further fixes to setup.py (fixes issue #1 and issue #5)
py
diff --git a/jupyterthemes/__init__.py b/jupyterthemes/__init__.py index <HASH>..<HASH> 100644 --- a/jupyterthemes/__init__.py +++ b/jupyterthemes/__init__.py @@ -24,13 +24,15 @@ def get_themes(): def install_path(profile=None, jupyter=True): """ return install path for profile, creates profile if profile does ...
fix inf loop during install on ipython4
py
diff --git a/simpleblog/views.py b/simpleblog/views.py index <HASH>..<HASH> 100644 --- a/simpleblog/views.py +++ b/simpleblog/views.py @@ -40,14 +40,14 @@ class BlogDetailView(DateDetailView): def post(self, request, *args, **kwargs): self.object = post = self.get_object() - if request.user.is_au...
Removed () from is_authenticated For Django 2.x compatibility line <I>, <I> & <I>
py
diff --git a/pipenv_to_requirements/__init__.py b/pipenv_to_requirements/__init__.py index <HASH>..<HASH> 100644 --- a/pipenv_to_requirements/__init__.py +++ b/pipenv_to_requirements/__init__.py @@ -37,6 +37,7 @@ def clean_version(pkg_name, pkg_info): editable = pkg_info.get("editable", False) markers = pkg_i...
editable: support 'subdir' field (#8)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -35,22 +35,21 @@ setup( packages=find_packages(), install_requires=[ "attrs>=17.4.0 ", - "eventlet==0.24.1", - "six>=1.10.0", - "si>==1.11.0", - "simplejson==3.11.1", + "ev...
remove strict dependencies (#<I>) * remove what strict dependencies i can
py
diff --git a/suds/client.py b/suds/client.py index <HASH>..<HASH> 100644 --- a/suds/client.py +++ b/suds/client.py @@ -62,21 +62,7 @@ class Client(object): client = SoapClient(url, kwargs) self.service = Service(client) self.factory = Factory(client.schema) - self.sd = None - -...
fix: namespace prefixes generated when ServiceDescription is created are missing if you don't print the client/proxy. As a result, types not resolved
py
diff --git a/pyknow/engine.py b/pyknow/engine.py index <HASH>..<HASH> 100644 --- a/pyknow/engine.py +++ b/pyknow/engine.py @@ -4,6 +4,7 @@ """ from inspect import getmembers +from itertools import chain import logging import warnings @@ -187,10 +188,9 @@ class KnowledgeEngine: self.matcher.reset() ...
Declaring all deffacts at once. Closes #<I>.
py
diff --git a/aiohttp/web.py b/aiohttp/web.py index <HASH>..<HASH> 100644 --- a/aiohttp/web.py +++ b/aiohttp/web.py @@ -245,7 +245,7 @@ class StreamResponse(HeadersMixin): resp_impl = self._resp_impl = ResponseImpl( self._request._server_http_protocol.writer, self._status_code, - ...
On sending headers use response.version, not request's one
py
diff --git a/src/doc/conf.py b/src/doc/conf.py index <HASH>..<HASH> 100644 --- a/src/doc/conf.py +++ b/src/doc/conf.py @@ -5,16 +5,17 @@ import sys on_rtd = os.environ.get("READTHEDOCS", None) == "True" # http://read-the-docs.readthedocs.org/en/latest/faq.html#i-get-import-errors-on-libraries-that-depend-on-c-modul...
Fix for ImportError of unittest.mock on RTD
py
diff --git a/salt/modules/apt.py b/salt/modules/apt.py index <HASH>..<HASH> 100644 --- a/salt/modules/apt.py +++ b/salt/modules/apt.py @@ -1549,7 +1549,7 @@ def _resolve_deps(name, pkgs, **kwargs): :depends: - python-apt module ''' missing_deps = [] - for pkg_file in pkg_params: + for pkg_file in...
Fixed a typo in variable name.
py
diff --git a/colorful/__init__.py b/colorful/__init__.py index <HASH>..<HASH> 100644 --- a/colorful/__init__.py +++ b/colorful/__init__.py @@ -4,6 +4,6 @@ from django.utils import version __all__ = ['VERSION', '__version__'] -VERSION = (1, 2, 1, 'alpha', 0) +VERSION = (1, 3, 0, 'final', 0) __version__ = version...
Bumped version number to <I>.
py
diff --git a/tests/toranj/wpan.py b/tests/toranj/wpan.py index <HASH>..<HASH> 100644 --- a/tests/toranj/wpan.py +++ b/tests/toranj/wpan.py @@ -438,7 +438,8 @@ class Node(object): try: node.leave() except subprocess.CalledProcessError as e: - _log...
[toranj] limit the logs during init of all nodes (#<I>)
py
diff --git a/bokeh/plotting.py b/bokeh/plotting.py index <HASH>..<HASH> 100644 --- a/bokeh/plotting.py +++ b/bokeh/plotting.py @@ -788,8 +788,8 @@ def _new_xy_plot(x_range=None, y_range=None, tools="pan,zoom,save,resize,select, if y_range is None: y_range = DataRange1d() p.y_range = y_range - xaxi...
Add explicit setting of location and bounds attributes for LinearAxis in plotting.py
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -43,7 +43,7 @@ setup( 'tools/meshio-convert', ], classifiers=[ - 'Development Status :: 4 - Beta', + 'Development Status :: 5 - Production/Stable', 'License :: OSI Approved :: MIT Lice...
increase development status to prod/stable
py
diff --git a/tensor2tensor/layers/bayes.py b/tensor2tensor/layers/bayes.py index <HASH>..<HASH> 100644 --- a/tensor2tensor/layers/bayes.py +++ b/tensor2tensor/layers/bayes.py @@ -117,7 +117,7 @@ class LinearKernel(object): encoded_x1 = self.encoder(x1) encoded_x2 = self.encoder(x2) dot_product = tf.matmu...
Remove the sqrt from the variance of the linear kernel. PiperOrigin-RevId: <I>
py
diff --git a/examples/tuning/PID_controller_tuner.py b/examples/tuning/PID_controller_tuner.py index <HASH>..<HASH> 100644 --- a/examples/tuning/PID_controller_tuner.py +++ b/examples/tuning/PID_controller_tuner.py @@ -152,7 +152,10 @@ class TunerControlCF: self.cf.param.add_update_callback( group...
PID_controller_tuner: handle velMax For now treat xVelMax and yVelMax as old xyVelMax. We might want to re-visit this example sometime.
py
diff --git a/shoebot/data/bezier.py b/shoebot/data/bezier.py index <HASH>..<HASH> 100644 --- a/shoebot/data/bezier.py +++ b/shoebot/data/bezier.py @@ -196,7 +196,7 @@ class BezierPath(Grob, ColorMixin): if self._bounds: return self._bounds - record_surface = cairo.RecordingSurface(cairo.C...
Fix #<I> Had missed this in port to Gtk3
py
diff --git a/src/pikepdf/models/metadata.py b/src/pikepdf/models/metadata.py index <HASH>..<HASH> 100644 --- a/src/pikepdf/models/metadata.py +++ b/src/pikepdf/models/metadata.py @@ -379,7 +379,7 @@ class PdfMetadata(MutableMapping): val = converter.xmp_from_docinfo(val) if not val...
metadata: Fix another case where we shouldn't warn
py
diff --git a/salt/modules/boto_cloudfront.py b/salt/modules/boto_cloudfront.py index <HASH>..<HASH> 100644 --- a/salt/modules/boto_cloudfront.py +++ b/salt/modules/boto_cloudfront.py @@ -400,9 +400,9 @@ def update_distribution( keyid=keyid, profile=profile ) - if 'error' in distribution_result...
Fixing a typo in the boto_cloudfront.
py
diff --git a/discord/member.py b/discord/member.py index <HASH>..<HASH> 100644 --- a/discord/member.py +++ b/discord/member.py @@ -142,24 +142,6 @@ class Member(User): self.voice.voice_channel = vc - def _handle_voice_channel(self, voice_channel, user_id): - old_channel = getattr(self, 'voice_cha...
Remove unused internal code in Member.
py
diff --git a/proso_flashcards/json_enrich.py b/proso_flashcards/json_enrich.py index <HASH>..<HASH> 100644 --- a/proso_flashcards/json_enrich.py +++ b/proso_flashcards/json_enrich.py @@ -65,7 +65,7 @@ def options(request, json_list, nested): if len(option_sets[question['payload']['item_id']]) == 0 and 'term_se...
restrict zero options also for T2T2 questions
py
diff --git a/loam/collections.py b/loam/collections.py index <HASH>..<HASH> 100644 --- a/loam/collections.py +++ b/loam/collections.py @@ -3,7 +3,7 @@ from __future__ import annotations from dataclasses import dataclass -from typing import Generic, TypeVar, Callable, Optional, Tuple, Type, Union +from typing import...
Argument of inner_to_toml is Any Using an object argument but accepting a type could error if the type constructor doesn't take exactly one argument. Using Any is probably a reasonable compromise between type safety and convenience.
py
diff --git a/AnyQt/_backport/QtGui.py b/AnyQt/_backport/QtGui.py index <HASH>..<HASH> 100644 --- a/AnyQt/_backport/QtGui.py +++ b/AnyQt/_backport/QtGui.py @@ -922,11 +922,11 @@ QGraphicsItem.translate = _QGraphicsItem_translate def _QGraphicsItem_rotate(self, angle): warnings.warn( "QGraphicsItem.rotate(...
Fix patched `QGraphicsItem.rotate` method The Qt documentation between Qt4 and Qt5 disagres about how it should be replaced.
py
diff --git a/djangosaml2/views.py b/djangosaml2/views.py index <HASH>..<HASH> 100644 --- a/djangosaml2/views.py +++ b/djangosaml2/views.py @@ -116,12 +116,8 @@ def logout_service(request): request started by another SP. """ client = Saml2Client(_load_conf(), persistent_cache=Cache('cache.saml')) -# su...
The logout process is not complete until we receive the SAML response from the IdP and do the local logout
py
diff --git a/src/collectors/processresources/processresources.py b/src/collectors/processresources/processresources.py index <HASH>..<HASH> 100644 --- a/src/collectors/processresources/processresources.py +++ b/src/collectors/processresources/processresources.py @@ -154,10 +154,10 @@ class ProcessResourcesCollector(dia...
BUGFIX: they are functions, not data attributes
py
diff --git a/watson_developer_cloud/watson_developer_cloud_service.py b/watson_developer_cloud/watson_developer_cloud_service.py index <HASH>..<HASH> 100644 --- a/watson_developer_cloud/watson_developer_cloud_service.py +++ b/watson_developer_cloud/watson_developer_cloud_service.py @@ -59,7 +59,7 @@ class WatsonDevelop...
Merge remote-tracking branch 'origin/master' remove unused condition when checking for vcap_services
py
diff --git a/dev/run-tests-jenkins.py b/dev/run-tests-jenkins.py index <HASH>..<HASH> 100755 --- a/dev/run-tests-jenkins.py +++ b/dev/run-tests-jenkins.py @@ -181,8 +181,9 @@ def main(): short_commit_hash = ghprb_actual_commit[0:7] # format: http://linux.die.net/man/1/timeout - # must be less than the ti...
[SPARK-<I>][INFRA] Fix the testing script to increase timeout for Jenkins build (from <I>m to <I>m) ## What changes were proposed in this pull request? This PR targets to increase the timeout from <I> to <I>m. Please also see <URL>
py
diff --git a/src/txkube/testing/_testcase.py b/src/txkube/testing/_testcase.py index <HASH>..<HASH> 100644 --- a/src/txkube/testing/_testcase.py +++ b/src/txkube/testing/_testcase.py @@ -26,10 +26,19 @@ class TestCase(TesttoolsTestCase): # recognize. def setup_example(self): try: + # Testt...
Some comments about the Hypothesis/testtools fix.
py
diff --git a/Lib/glyphs2ufo/torf.py b/Lib/glyphs2ufo/torf.py index <HASH>..<HASH> 100644 --- a/Lib/glyphs2ufo/torf.py +++ b/Lib/glyphs2ufo/torf.py @@ -113,7 +113,7 @@ def to_robofab(data, italic=False, include_instances=False, debug=False): add_groups_to_rfont(rfont, kerning_groups) # try to create ...
Handle missing glyphOrder in Glyphs source
py
diff --git a/testing/test_junitxml.py b/testing/test_junitxml.py index <HASH>..<HASH> 100644 --- a/testing/test_junitxml.py +++ b/testing/test_junitxml.py @@ -100,7 +100,7 @@ class TestPython: result, dom = runandparse(testdir) assert result.ret node = dom.find_first_by_tag("testsuite") - ...
Update test_junitxml.py to interpret XPASS as passed
py
diff --git a/wpull/version.py b/wpull/version.py index <HASH>..<HASH> 100644 --- a/wpull/version.py +++ b/wpull/version.py @@ -6,4 +6,4 @@ A string conforming to `Semantic Versioning Guidelines <http://semver.org/>`_ ''' -__version__ = '0.28' +__version__ = '0.29'
Bumps version to <I>.
py
diff --git a/lib/svtplay_dl/service/svtplay.py b/lib/svtplay_dl/service/svtplay.py index <HASH>..<HASH> 100644 --- a/lib/svtplay_dl/service/svtplay.py +++ b/lib/svtplay_dl/service/svtplay.py @@ -330,7 +330,7 @@ class Svtplay(Service, MetadataThumbMixin): def extrametadata(self, episode): self.output["tv...
svtplay: check for validFrom in the correct place
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -384,8 +384,8 @@ pagerduty = [ 'pdpyras>=4.1.2,<5', ] papermill = [ - 'nteract-scrapbook[all]>=0.3.1', 'papermill[all]>=1.2.1', + 'scrapbook[all]', ] password = [ 'bcrypt>=2.0.0',
Rename nteract-scrapbook to scrapbook (#<I>) * Rename nteract-scrapbook to scrapbook * fixup! Rename nteract-scrapbook to scrapbook * Remove version pin given it's minimal version
py
diff --git a/phono3py/phonon3/conductivity_RTA.py b/phono3py/phonon3/conductivity_RTA.py index <HASH>..<HASH> 100644 --- a/phono3py/phonon3/conductivity_RTA.py +++ b/phono3py/phonon3/conductivity_RTA.py @@ -509,11 +509,13 @@ class Conductivity_RTA(Conductivity): self._mode_kappa[j, k, i, l]...
FloatingPointError is escaped for lifetime calculation with almost zero gamma
py
diff --git a/shakedown/cli/main.py b/shakedown/cli/main.py index <HASH>..<HASH> 100644 --- a/shakedown/cli/main.py +++ b/shakedown/cli/main.py @@ -256,11 +256,14 @@ def cli(**args): state = 'skip' if state and secname != 'Captured stdout call': + module = repor...
(DCOS-<I>) Fix bug where `teardown` doesn't display
py
diff --git a/niworkflows/interfaces/bids.py b/niworkflows/interfaces/bids.py index <HASH>..<HASH> 100644 --- a/niworkflows/interfaces/bids.py +++ b/niworkflows/interfaces/bids.py @@ -587,9 +587,7 @@ space-MNI152NLin6Asym_desc-preproc_bold.json' ) and not out_file.name.endswith((".dtseries.nii", ".dtseries....
RF: Permit mmap for uncompressed files; no longer writing to same file
py
diff --git a/btfxwss/connection.py b/btfxwss/connection.py index <HASH>..<HASH> 100644 --- a/btfxwss/connection.py +++ b/btfxwss/connection.py @@ -354,13 +354,13 @@ class WebSocketConnection(Thread): :param ts: :return: """ - errors = {'10000': 'Unknown event', - '1000...
fixed Error codes not being recognized due to bitfinex sending ints instead of strings
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -12,6 +12,7 @@ setup( install_requires=[ 'fbpca>=1.0', 'matplotlib>=1.5', + 'numpy>=1.11.2', 'pandas>=0.19.0' ], license=__license__,
Add bumpy requirement for rtd
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ from setuptools import setup setup( name="Axe", - version="0.0.1a", + version="0.0.2a", author="Ju Lin", author_email="soasme@gmail.com", description="Decorator for retrying exec a met...
Bump to <I>a.
py
diff --git a/python/lib/sequence.py b/python/lib/sequence.py index <HASH>..<HASH> 100644 --- a/python/lib/sequence.py +++ b/python/lib/sequence.py @@ -109,7 +109,7 @@ class Sequence(object): ''' self.file_list = file_list - def split(self, cutoff_distance=500., cutoff_time=None, max_sequence_leng...
Add option to skip moving files in sequence cut
py
diff --git a/tests/test_sftp.py b/tests/test_sftp.py index <HASH>..<HASH> 100644 --- a/tests/test_sftp.py +++ b/tests/test_sftp.py @@ -256,7 +256,7 @@ class SFTPTestCase(SSH2TestCase): sftp = self.session.sftp_init() vfs = sftp.statvfs('.') self.assertTrue(vfs is not None) - self.asser...
Fix tests on FS without inode count (#<I>) On btrfs inode count is always 0, so test would fail.
py
diff --git a/mythril/analysis/modules/integer.py b/mythril/analysis/modules/integer.py index <HASH>..<HASH> 100644 --- a/mythril/analysis/modules/integer.py +++ b/mythril/analysis/modules/integer.py @@ -290,7 +290,7 @@ class IntegerOverflowUnderflowModule(DetectionModule): try: transacti...
Use the current state constraints over the constraint at the annotation time
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,5 @@ # Always prefer setuptools over distutils -from setuptools import setup +from setuptools import setup, find_packages with open('README.rst') as f: readme = f.read() @@ -22,6 +22,7 @@ setup( author_em...
include actual package in setup.py
py
diff --git a/OpenPNM/Physics/models/capillary_pressure.py b/OpenPNM/Physics/models/capillary_pressure.py index <HASH>..<HASH> 100644 --- a/OpenPNM/Physics/models/capillary_pressure.py +++ b/OpenPNM/Physics/models/capillary_pressure.py @@ -172,18 +172,18 @@ def static_pressure(network, >>> water = OpenPNM.Phases.Wa...
Fixed doc string error in static_pressure
py
diff --git a/src/hypercorn/asyncio/tcp_server.py b/src/hypercorn/asyncio/tcp_server.py index <HASH>..<HASH> 100644 --- a/src/hypercorn/asyncio/tcp_server.py +++ b/src/hypercorn/asyncio/tcp_server.py @@ -41,6 +41,7 @@ class TCPServer: self.protocol: ProtocolWrapper self.reader = reader self.wr...
Bugfix AssertionError when draining There can only be a single task waiting on the drain otherwise this line raises an AssertionError assert waiter is None or waiter.cancelled() the fix is to follow the trio TCP server and introduce a send lock.
py
diff --git a/linshareapi/admin/welcomemessages.py b/linshareapi/admin/welcomemessages.py index <HASH>..<HASH> 100644 --- a/linshareapi/admin/welcomemessages.py +++ b/linshareapi/admin/welcomemessages.py @@ -137,3 +137,7 @@ class WelcomeMessages(GenericClass): ) # server does not support uuid in URL fo...
Add new enpoint to discover supported language for welcome_messages.
py
diff --git a/ci/ext.py b/ci/ext.py index <HASH>..<HASH> 100644 --- a/ci/ext.py +++ b/ci/ext.py @@ -288,10 +288,11 @@ def build_extension(cmd, verbosity=3): if cmd == "debug": ext.compiler.add_compiler_flag("-g3") - ext.compiler.add_compiler_flag("-fdebug-macro") ext.compi...
Add -fdebug-macro compiler option for clang only (#<I>) `-fdebug-macro` option is clang specific, so other compilers may fail with messages like ``` gcc: error: unrecognized command line option ‘-fdebug-macro’; did you mean ‘-fdebug-cpp’? ```
py
diff --git a/grimoire_elk/_version.py b/grimoire_elk/_version.py index <HASH>..<HASH> 100644 --- a/grimoire_elk/_version.py +++ b/grimoire_elk/_version.py @@ -1,2 +1,2 @@ # Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440 -__version__ = "0.53.0" +__version__ = "0.54.0"
Update version number to <I>
py
diff --git a/tests/python/test_pyintegration.py b/tests/python/test_pyintegration.py index <HASH>..<HASH> 100644 --- a/tests/python/test_pyintegration.py +++ b/tests/python/test_pyintegration.py @@ -112,7 +112,7 @@ class TestSimpleStubModule(object): @pytest.mark.skipif( - sys.version_info < (3, 5), reason="Ann...
Corrected version to Python to skip tests for
py
diff --git a/txtorcon/router.py b/txtorcon/router.py index <HASH>..<HASH> 100644 --- a/txtorcon/router.py +++ b/txtorcon/router.py @@ -2,12 +2,12 @@ from util import NetLocation import types -def hexIdFromHash(hash): +def hexIdFromHash(thehash): """ From the base-64 encoded hashes Tor uses, this produces...
don't use function name for variable
py
diff --git a/synapse/lib/storm.py b/synapse/lib/storm.py index <HASH>..<HASH> 100644 --- a/synapse/lib/storm.py +++ b/synapse/lib/storm.py @@ -756,11 +756,8 @@ class NoderefsCmd(Cmd): # Don't revisit the inbound node from genr visited.add(node.buid) - async for item in self.doRefs...
Only do noderefs work once.
py
diff --git a/pyinstrument/base.py b/pyinstrument/base.py index <HASH>..<HASH> 100644 --- a/pyinstrument/base.py +++ b/pyinstrument/base.py @@ -138,7 +138,7 @@ class Frame(object): for child in sorted_children: if child is not last_child: c_indent = child_indent + (u'├─ ' if unicod...
Fix indentation issue with console output
py
diff --git a/tests/test_api.py b/tests/test_api.py index <HASH>..<HASH> 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -48,7 +48,8 @@ def test_valid_tests(): for f in os.listdir(valid_dir): if not f.endswith("toml"): continue - toml.dumps(toml.load(open(os.path.join(valid_di...
Fix ResourceWarning: unclosed file in test_api.py
py