diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/tests/test_archive_util.py b/tests/test_archive_util.py index <HASH>..<HASH> 100644 --- a/tests/test_archive_util.py +++ b/tests/test_archive_util.py @@ -308,7 +308,7 @@ class ArchiveUtilTestCase(support.TempdirManager, owner='kjhkjhkjg', group='oihohoh') self.assertTru...
Issue #<I>, #<I>: check ZLIB_SUPPORT, not zlib (which might not be bound)
py
diff --git a/copulas/bivariate/base.py b/copulas/bivariate/base.py index <HASH>..<HASH> 100644 --- a/copulas/bivariate/base.py +++ b/copulas/bivariate/base.py @@ -396,11 +396,10 @@ class Bivariate(object): right = [] X_left = np.column_stack((z_left, z_left)) - for copula in copulas: - ...
Avoid duplicated copulas iteration
py
diff --git a/test/test_nebula_python_sdk.py b/test/test_nebula_python_sdk.py index <HASH>..<HASH> 100644 --- a/test/test_nebula_python_sdk.py +++ b/test/test_nebula_python_sdk.py @@ -170,6 +170,7 @@ class BaseTests(TestCase): self.assertEqual(reply["status_code"], 200) self.assertTrue(isinstance(reply...
unit tests fo the new apps_list in the device group info
py
diff --git a/zipline/utils/date_utils.py b/zipline/utils/date_utils.py index <HASH>..<HASH> 100644 --- a/zipline/utils/date_utils.py +++ b/zipline/utils/date_utils.py @@ -128,13 +128,6 @@ def utcnow(): return datetime.utcnow().replace(tzinfo=pytz.utc) -class utcdatetime(datetime): - def __new__(cls, *args, ...
Removes unused utcdatetime class from date_utils.
py
diff --git a/spyderlib/utils/introspection/base.py b/spyderlib/utils/introspection/base.py index <HASH>..<HASH> 100644 --- a/spyderlib/utils/introspection/base.py +++ b/spyderlib/utils/introspection/base.py @@ -483,7 +483,7 @@ if __name__ == '__main__': comp = p.get_token_completion_list(code, len(code), None) ...
Python 3 compatibility: Fix a couple of wrong unicode literal uses for <I>
py
diff --git a/tests/test_osmnx.py b/tests/test_osmnx.py index <HASH>..<HASH> 100644 --- a/tests/test_osmnx.py +++ b/tests/test_osmnx.py @@ -45,6 +45,20 @@ def test_gdf_shapefiles(): ox.plot_shape(city) +def test_graph_from_file(): + + G = ox.graph_from_file('tests/input_data/West-Oakland.osm.bz2') + n...
Added test for graph_from_file()
py
diff --git a/shutit_global.py b/shutit_global.py index <HASH>..<HASH> 100644 --- a/shutit_global.py +++ b/shutit_global.py @@ -748,7 +748,10 @@ END_""" + random_id) '===========================') self.log('Sending file to' + path) if log: - self.log('contents >>>' + contents + '<<<') + for c in conte...
logging binaries and implement file not exists for insert text
py
diff --git a/webwhatsapp.py b/webwhatsapp.py index <HASH>..<HASH> 100644 --- a/webwhatsapp.py +++ b/webwhatsapp.py @@ -9,7 +9,9 @@ selectors = { 'firstrun':"#wrapper", 'qrCode':"#window > div.entry-main > div.qrcode > img", 'mainPage':".app.two", - 'chatList':".infinite-list-viewport" + 'chatList':...
Added a few selectors
py
diff --git a/tests/test_commands.py b/tests/test_commands.py index <HASH>..<HASH> 100644 --- a/tests/test_commands.py +++ b/tests/test_commands.py @@ -22,6 +22,12 @@ class CommandBase(unittest.TestCase): shutil.rmtree(self.path) super(CommandBase, self).tearDown() + def _create_file(self, file_na...
move _create_file helper to general command test base
py
diff --git a/gitlab_registry_usage/registry/high_level_api.py b/gitlab_registry_usage/registry/high_level_api.py index <HASH>..<HASH> 100644 --- a/gitlab_registry_usage/registry/high_level_api.py +++ b/gitlab_registry_usage/registry/high_level_api.py @@ -26,6 +26,10 @@ class GitLabRegistry: self._total_size = ...
Added an `update` function to the high level api The update function can be used to get the most recent registry information.
py
diff --git a/tests/integration/modules/supervisord.py b/tests/integration/modules/supervisord.py index <HASH>..<HASH> 100644 --- a/tests/integration/modules/supervisord.py +++ b/tests/integration/modules/supervisord.py @@ -168,8 +168,7 @@ class SupervisordModuleTest(integration.ModuleCase): ret = self.run_func...
Don't fail on valid order change
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -54,6 +54,9 @@ html_context = { } } +# Output file base name for HTML help builder. +htmlhelp_basename = 'crud-view' + # Grouping the document tree into LaTeX files. List of tuples # (source start fil...
docs: move custom setting up
py
diff --git a/SpiceyPy/wrapper.py b/SpiceyPy/wrapper.py index <HASH>..<HASH> 100644 --- a/SpiceyPy/wrapper.py +++ b/SpiceyPy/wrapper.py @@ -1440,15 +1440,13 @@ def eqstr(a, b): def erract(op, lenout, action=None): - #erract works, new method for dealing with returned strings/buffers if action is None: ...
one small fix for erract, turns out string buffer method creates issues, need to remove other impls of this
py
diff --git a/PyMC2/SamplingMethods.py b/PyMC2/SamplingMethods.py index <HASH>..<HASH> 100644 --- a/PyMC2/SamplingMethods.py +++ b/PyMC2/SamplingMethods.py @@ -913,5 +913,7 @@ def JointMetroCompetence(parameter): elif isinstance(parameter.value, ndarray): return 2 + else: + return 0 Samp...
JointMetroCompetence was returning None in some cases and winning. git-svn-id: <URL>
py
diff --git a/test/test_basepack.py b/test/test_basepack.py index <HASH>..<HASH> 100644 --- a/test/test_basepack.py +++ b/test/test_basepack.py @@ -77,3 +77,14 @@ class TestContentTypes: assert len(cts) == 1 assert len(re.findall('application/xml', cts.dump())) == 1 assert len(re.findall('Extension="xml"', cts....
Adding test to capture Part naming validation
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -7,6 +7,8 @@ setup( include_package_data=True, package_data={'pastml': [os.path.join('templates', '*.html'), os.path.join('templates', '*.js'), os.path.join('..', 'README.md')]}, + de...
Fixed long description in the setup.py
py
diff --git a/thermo/phases/phase_utils.py b/thermo/phases/phase_utils.py index <HASH>..<HASH> 100644 --- a/thermo/phases/phase_utils.py +++ b/thermo/phases/phase_utils.py @@ -90,8 +90,8 @@ def lnphis_direct(zs, model, T, P, N, *args): for i in range(N): lnphis[i] = 0.0 return lnphis - ...
Comment out unifac direct fugacity call in numba - it refuses to work
py
diff --git a/more_itertools/more.py b/more_itertools/more.py index <HASH>..<HASH> 100644 --- a/more_itertools/more.py +++ b/more_itertools/more.py @@ -1345,6 +1345,10 @@ def groupby_transform(iterable, keyfunc=None, valuefunc=None): >>> [(k, ''.join(g)) for k, g in grouper] [(0, 'ab'), (1, 'cde'), (2,...
Note about order in groupy_transform
py
diff --git a/pywb/urlrewrite/rewriterapp.py b/pywb/urlrewrite/rewriterapp.py index <HASH>..<HASH> 100644 --- a/pywb/urlrewrite/rewriterapp.py +++ b/pywb/urlrewrite/rewriterapp.py @@ -125,6 +125,10 @@ class RewriterApp(object): full_prefix=full_prefix, ...
ensure trailing slash: redirect to ensure a host-only url has a trailing slash, eg. /live/<URL>
py
diff --git a/anndata/compat/_overloaded_dict.py b/anndata/compat/_overloaded_dict.py index <HASH>..<HASH> 100644 --- a/anndata/compat/_overloaded_dict.py +++ b/anndata/compat/_overloaded_dict.py @@ -1,6 +1,6 @@ from collections.abc import MutableMapping from functools import partial -from typing import Any, Callable,...
QOL improvements for overloaded dict * Added ipython tab completion * `.keys()` returns underlying data's keys, so you can see what the keys actually are.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -23,10 +23,7 @@ setup( author_email="info@stochastictechnologies.com", url="https://github.com/stochastic-technologies/shortuuid/", description="A generator library for concise, " "unambiguous and URL-safe UUIDs...
Use README as the long description on PyPI
py
diff --git a/etrago/cluster/disaggregation.py b/etrago/cluster/disaggregation.py index <HASH>..<HASH> 100644 --- a/etrago/cluster/disaggregation.py +++ b/etrago/cluster/disaggregation.py @@ -46,8 +46,8 @@ class Disaggregation: def construct_partial_network(self, cluster, scenario): """ - Compute ...
Remove superfluous "network" in docstring
py
diff --git a/mongo_connector/doc_managers/solr_doc_manager.py b/mongo_connector/doc_managers/solr_doc_manager.py index <HASH>..<HASH> 100755 --- a/mongo_connector/doc_managers/solr_doc_manager.py +++ b/mongo_connector/doc_managers/solr_doc_manager.py @@ -68,10 +68,7 @@ class DocManager(): def build_fields(self): ...
solr_doc_manager should fail with SolrError if it encounters one while getting schema fields
py
diff --git a/milight/__init__.py b/milight/__init__.py index <HASH>..<HASH> 100644 --- a/milight/__init__.py +++ b/milight/__init__.py @@ -15,6 +15,16 @@ def color_from_hls(hue, light, sat): hsl = colorsys.rgb_to_hls(rgb[2], rgb[1], rgb[0]) c = int(floor(hsl[0] * 255)) return c + +def tes...
added a test function to try out some hue convertion
py
diff --git a/cumulusci/core/config/ScratchOrgConfig.py b/cumulusci/core/config/ScratchOrgConfig.py index <HASH>..<HASH> 100644 --- a/cumulusci/core/config/ScratchOrgConfig.py +++ b/cumulusci/core/config/ScratchOrgConfig.py @@ -143,14 +143,12 @@ class ScratchOrgConfig(OrgConfig): @property def expired(self):...
Better way to ensure it always returns a bool
py
diff --git a/plaso/parsers/pls_recall.py b/plaso/parsers/pls_recall.py index <HASH>..<HASH> 100644 --- a/plaso/parsers/pls_recall.py +++ b/plaso/parsers/pls_recall.py @@ -72,7 +72,14 @@ class PlsRecallParser(dtfabric_parser.DtFabricBaseParser): Returns: bool: True if this is a valid PLS Recall record, False...
Changes to PLS recall parser format validation #<I> (#<I>)
py
diff --git a/dist.py b/dist.py index <HASH>..<HASH> 100644 --- a/dist.py +++ b/dist.py @@ -12,6 +12,12 @@ __revision__ = "$Id$" import sys, os, string, re from types import * from copy import copy + +try: + import warnings +except: + warnings = None + from distutils.errors import * from distutils.fancy_getop...
Make the Distribution() constructor forgiving of unknown keyword arguments, triggering a warning instead of raising an exception. (In <I>/<I>, it will print to stderr.) Bugfix candidate for all previous versions. This changes behaviour, but the old behaviour wasn't very useful. If Distutils version X<I> adds a new ...
py
diff --git a/master/setup.py b/master/setup.py index <HASH>..<HASH> 100755 --- a/master/setup.py +++ b/master/setup.py @@ -191,11 +191,11 @@ setup_args = { "buildbot.www", "buildbot.www.hooks", "buildbot.www.authz", - ] + ([] if BUILDING_WHEEL else [ # skip tests for wheels (save 50% of t...
master: Don't exclude test utilities from wheels
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -10,19 +10,18 @@ setup( author = "adam goucher", author_email = "adam@element34.ca", install_requires = ['pytest>2.0.2', 'pytest-marks', 'pytest-markfiltration'], - long_description=open('README.md').read(), ...
including the markdown didn't work so well
py
diff --git a/angr/manager.py b/angr/manager.py index <HASH>..<HASH> 100644 --- a/angr/manager.py +++ b/angr/manager.py @@ -605,14 +605,14 @@ class SimulationManager(ana.Storable): if step_func is not None: pg = step_func(pg) - if len(pg.stashes[stash]) == 0: - l...
Move until check above out-of-states check to improve user's opportunity for instrumentation (and make tests pass)
py
diff --git a/smartcard/pcsc/PCSCCardRequest.py b/smartcard/pcsc/PCSCCardRequest.py index <HASH>..<HASH> 100644 --- a/smartcard/pcsc/PCSCCardRequest.py +++ b/smartcard/pcsc/PCSCCardRequest.py @@ -89,7 +89,9 @@ class PCSCCardRequest(AbstractCardRequest): # get inserted readers hresult, pcscreaders = S...
getReaderNames(): handle SCARD_E_SERVICE_STOPPED on Windows On Windows (at least W<I>) when you remove the last connected reader you get the error SCARD_E_SERVICE_STOPPED. We can just ignore the error since a new connection will be made on next call to getReaderNames(). See db<I>d<I>be<I>b8d<I>d8a<I>c<I>c<I>e
py
diff --git a/openid/server/server.py b/openid/server/server.py index <HASH>..<HASH> 100644 --- a/openid/server/server.py +++ b/openid/server/server.py @@ -276,7 +276,7 @@ class PlainTextServerSession(object): @see: AssociateRequest """ session_type = 'no-encryption' - allowed_assoc_types = ['HMAC-SHA1...
[project @ server.server: s/HMAC-SHA<I>/HMAC-SHA<I>-SIGNALL/]
py
diff --git a/archive_util.py b/archive_util.py index <HASH>..<HASH> 100644 --- a/archive_util.py +++ b/archive_util.py @@ -68,7 +68,7 @@ def make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0): def make_zipfile(base_name, base_dir, verbose=0, dry_run=0): """Create a zip file from all the file...
Fix wrong name in docstring and doc (#<I>). Original patch by Eli Bendersky.
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -19,7 +19,7 @@ try: except ImportError: import mock MOCK_MODULES = ['numpy', 'numpy.linalg', 'scipy', 'scipy.sparse', 'matplotlib', - 'matplotlib.pyplot', 'qutip', 'ply','pyx','pyx.text'] + 'matplo...
Add 'sympy' to mocked packages for autodoc
py
diff --git a/zake/fake_client.py b/zake/fake_client.py index <HASH>..<HASH> 100644 --- a/zake/fake_client.py +++ b/zake/fake_client.py @@ -129,8 +129,15 @@ class FakeClient(object): are empty. This is useful to make sure that all watchers and callbacks have settled before performing further operations...
Only check if handler has queue attributes
py
diff --git a/gooey/gui/widgets/components.py b/gooey/gui/widgets/components.py index <HASH>..<HASH> 100644 --- a/gooey/gui/widgets/components.py +++ b/gooey/gui/widgets/components.py @@ -167,6 +167,8 @@ class RadioGroup(object): self.do_layout(parent, title, msg) + self.selected_button = None + def ...
enable deselecting a mutually exclusive group
py
diff --git a/billboard.py b/billboard.py index <HASH>..<HASH> 100755 --- a/billboard.py +++ b/billboard.py @@ -44,13 +44,14 @@ class ChartEntry: rank: The track's position on the chart, as an int. """ - def __init__(self, title, artist, peakPos, lastPos, weeks, rank): + def __init__(self, title, a...
New boolean in ChartEntry named newEntry. It reflects weather track is new in list or not.
py
diff --git a/pundler/core.py b/pundler/core.py index <HASH>..<HASH> 100644 --- a/pundler/core.py +++ b/pundler/core.py @@ -63,6 +63,7 @@ class Pundler(object): self.args.append(line) continue + logger.debug("handling requirement: %s", line) self.deps[line] = [...
on installation the package is not yet satisifed
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -39,8 +39,7 @@ setup( packages=find_packages(exclude=('ci',)), include_package_data=True, - install_requires=['requests>=2.3.0', - 'requests[security]', + install_requires=['requests[secu...
Fixing issue with setup not installing security modules for requests
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -36,7 +36,7 @@ setup( namespace_packages = [], packages = find_packages(), package_data = {"appinst" : ["*.txt"], }, - version = "2.0.0", + version = "2.0.1", url = "http://www.python.org/sigs/distuti...
Bumping version number in preparation for release.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -16,8 +16,8 @@ import subprocess from setuptools import setup, find_packages ##################################### -VERSION = "0.7.3" -ISRELEASED = False +VERSION = "0.8.0" +ISRELEASED = True if ISRELEASED: __version...
Bump to version <I>
py
diff --git a/telebot/__init__.py b/telebot/__init__.py index <HASH>..<HASH> 100644 --- a/telebot/__init__.py +++ b/telebot/__init__.py @@ -2510,6 +2510,8 @@ class TeleBot: if isinstance(question, types.Poll): raise RuntimeError("The send_poll signature was changed, please see send_poll function de...
Added ability to set default parse_mode for explanation_parse_mode in send_poll
py
diff --git a/spacy/about.py b/spacy/about.py index <HASH>..<HASH> 100644 --- a/spacy/about.py +++ b/spacy/about.py @@ -1,6 +1,6 @@ # fmt: off __title__ = "spacy" -__version__ = "3.0.3" +__version__ = "3.0.4" __download_url__ = "https://github.com/explosion/spacy-models/releases/download" __compatibility__ = "https:...
Set version to <I> (#<I>)
py
diff --git a/pypeerassets/provider/cryptoid.py b/pypeerassets/provider/cryptoid.py index <HASH>..<HASH> 100644 --- a/pypeerassets/provider/cryptoid.py +++ b/pypeerassets/provider/cryptoid.py @@ -49,11 +49,13 @@ class Cryptoid: if self.net.startswith('t'): return True + else: + ...
return false if network is not testnet.
py
diff --git a/py/testdir_multi_jvm/test_parse_bounds_libsvm.py b/py/testdir_multi_jvm/test_parse_bounds_libsvm.py index <HASH>..<HASH> 100644 --- a/py/testdir_multi_jvm/test_parse_bounds_libsvm.py +++ b/py/testdir_multi_jvm/test_parse_bounds_libsvm.py @@ -91,6 +91,10 @@ class Basic(unittest.TestCase): i...
add some num_rows/cols printing
py
diff --git a/src/_pytest/capture.py b/src/_pytest/capture.py index <HASH>..<HASH> 100644 --- a/src/_pytest/capture.py +++ b/src/_pytest/capture.py @@ -510,12 +510,16 @@ class MultiCapture: if self.in_: self.in_.done() - def readouterr(self): - """ return snapshot unicode value of stdou...
doc: internal: fix `MultiCapture.readouterr` (#<I>) Remove wrong docstring: it might actually return bytes. Replace it with a type annotation which is clear enough.
py
diff --git a/zhaquirks/__init__.py b/zhaquirks/__init__.py index <HASH>..<HASH> 100755 --- a/zhaquirks/__init__.py +++ b/zhaquirks/__init__.py @@ -70,7 +70,7 @@ class LocalDataCluster(CustomCluster): async def _configure_reporting(self, *args, **kwargs): # pylint: disable=W0221 """Prevent remote config...
Return correct responses for plugged method in LocalDataCluster (#<I>)
py
diff --git a/alignak/http/daemon.py b/alignak/http/daemon.py index <HASH>..<HASH> 100644 --- a/alignak/http/daemon.py +++ b/alignak/http/daemon.py @@ -85,7 +85,9 @@ class HTTPDaemon(object): 'request.body.processors': {'application/x-www-form-urlencoded': process_urlencoded, ...
Add gzip compression of data of all responses (in cherrypy) Clean
py
diff --git a/astroid/inference.py b/astroid/inference.py index <HASH>..<HASH> 100644 --- a/astroid/inference.py +++ b/astroid/inference.py @@ -18,6 +18,8 @@ """this module contains a set of functions to handle inference on astroid trees """ +# pylint: disable=no-value-for-parameter; Pylint FP #629, please remove af...
Disable the no-value-for-parameter message for now, since it's a false positive that needs to be fixed later on in Pylint.
py
diff --git a/python/test/bigdl/dlframes/test_dl_image_transformer.py b/python/test/bigdl/dlframes/test_dl_image_transformer.py index <HASH>..<HASH> 100644 --- a/python/test/bigdl/dlframes/test_dl_image_transformer.py +++ b/python/test/bigdl/dlframes/test_dl_image_transformer.py @@ -49,7 +49,7 @@ class TestDLImageTransf...
[WIP] spark <I> (#<I>) * spark <I>
py
diff --git a/openquake/commonlib/source.py b/openquake/commonlib/source.py index <HASH>..<HASH> 100644 --- a/openquake/commonlib/source.py +++ b/openquake/commonlib/source.py @@ -709,6 +709,9 @@ class CompositeSourceModel(collections.Sequence): srcs, stime = split_sources(src_group) ...
Fixed case with mutex sources [skip hazardlib]
py
diff --git a/salt/minion.py b/salt/minion.py index <HASH>..<HASH> 100644 --- a/salt/minion.py +++ b/salt/minion.py @@ -100,6 +100,7 @@ import salt.defaults.exitcodes import salt.cli.daemons import salt.log.setup +import salt.utils.dictupdate from salt.config import DEFAULT_MINION_OPTS from salt.defaults import DE...
Override proxy opts with pillar data when required
py
diff --git a/asammdf/mdf_v4.py b/asammdf/mdf_v4.py index <HASH>..<HASH> 100644 --- a/asammdf/mdf_v4.py +++ b/asammdf/mdf_v4.py @@ -5945,6 +5945,9 @@ class MDF4(object): if dep_list: if all(isinstance(dep, ChannelArrayBlock) for dep in dep_list): ...
possible workaround for issue #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ license: GNU-GPL2 from setuptools import setup setup(name='consoleprinter', - version='75', + version='78', description='Console printer with linenumbers, stacktraces, logging, conversions and...
Tuesday <I> June <I> (week:<I> day:<I>), <I>:<I>:<I>
py
diff --git a/icekit/urls.py b/icekit/urls.py index <HASH>..<HASH> 100644 --- a/icekit/urls.py +++ b/icekit/urls.py @@ -158,5 +158,5 @@ if getattr(settings, 'ICEKIT_USE_LOGIN', True): # HAYSTACK ######################################################################################## # Add built in support for haysta...
Add a way to turn off search URL.
py
diff --git a/flask_rest_jsonapi/decorators.py b/flask_rest_jsonapi/decorators.py index <HASH>..<HASH> 100644 --- a/flask_rest_jsonapi/decorators.py +++ b/flask_rest_jsonapi/decorators.py @@ -17,7 +17,7 @@ def check_headers(func): @wraps(func) def wrapped(*args, **kwargs): if request.method in ('POST'...
Checking if Content-Type is present in the request headers
py
diff --git a/ryu/app/ofctl_rest.py b/ryu/app/ofctl_rest.py index <HASH>..<HASH> 100644 --- a/ryu/app/ofctl_rest.py +++ b/ryu/app/ofctl_rest.py @@ -367,12 +367,14 @@ class StatsController(ControllerBase): if dp is None: return Response(status=404) + flow = {'table_id': dp.ofproto.OFPTT_ALL...
ofctl_rest: Fix clear flow entries command Currently, clear flow entries command (/stats/flowentry/clear/<dpid>) in ofctl_rest deletes flow entries from only table 0. This patch fixes the command to delete flow entries from all tables.
py
diff --git a/AlphaTwirl/Events/Events.py b/AlphaTwirl/Events/Events.py index <HASH>..<HASH> 100755 --- a/AlphaTwirl/Events/Events.py +++ b/AlphaTwirl/Events/Events.py @@ -10,7 +10,7 @@ class Events(object): def __iter__(self): for self.iEvent in xrange(self.nEvents): - if self.tree.GetEntry(s...
stop checking the return value of tree.GetEntry() in Events
py
diff --git a/linguist/utils/__init__.py b/linguist/utils/__init__.py index <HASH>..<HASH> 100644 --- a/linguist/utils/__init__.py +++ b/linguist/utils/__init__.py @@ -11,8 +11,6 @@ from .i18n import (get_language_name, build_localized_verbose_name) from .models import load_class, get_model_string...
Remove obsolete imports from utils/__init__.
py
diff --git a/pymola/backends/casadi/api.py b/pymola/backends/casadi/api.py index <HASH>..<HASH> 100644 --- a/pymola/backends/casadi/api.py +++ b/pymola/backends/casadi/api.py @@ -128,11 +128,12 @@ def _save_model(model_folder: str, model_name: str, model: Model): logger.debug("Generating {}".format(library_nam...
CasADi backend codegen: Explicitly include sparsity information, as available on CasADi 'develop' branch.
py
diff --git a/zk_shell/tests/test_cp_cmds.py b/zk_shell/tests/test_cp_cmds.py index <HASH>..<HASH> 100644 --- a/zk_shell/tests/test_cp_cmds.py +++ b/zk_shell/tests/test_cp_cmds.py @@ -79,9 +79,7 @@ class CpCmdsTestCase(ShellTestCase): bad_path = "%s/doesnt/exist/path" % (self.tests_path) self.shell.one...
tests: relax matching in test bad local path In TravisCI, IPv6 is preferred over IPv4 so remove any direct matching of <I>.
py
diff --git a/mythril/laser/ethereum/instructions.py b/mythril/laser/ethereum/instructions.py index <HASH>..<HASH> 100644 --- a/mythril/laser/ethereum/instructions.py +++ b/mythril/laser/ethereum/instructions.py @@ -808,6 +808,8 @@ class Instruction: state.stack.pop(), state.stack.pop(), ...
Fix variable reference before assignment in returndatacopy
py
diff --git a/simple_db_migrate/config.py b/simple_db_migrate/config.py index <HASH>..<HASH> 100644 --- a/simple_db_migrate/config.py +++ b/simple_db_migrate/config.py @@ -11,11 +11,12 @@ class Config(object): def __repr__(self): return str(self._config) - def get(self, config_key, default_value=None)...
default_value was assigned as !@#$%&* to be more easy to check when the default value is None, empty string or False
py
diff --git a/shap/explainers/_explainer.py b/shap/explainers/_explainer.py index <HASH>..<HASH> 100644 --- a/shap/explainers/_explainer.py +++ b/shap/explainers/_explainer.py @@ -234,8 +234,13 @@ class Explainer(): if callable(getattr(self.masker, "feature_names", None)): row...
Added support in _explainer.py when feature_names callable in a masker returns None to set it back to default value
py
diff --git a/aegean.py b/aegean.py index <HASH>..<HASH> 100644 --- a/aegean.py +++ b/aegean.py @@ -200,6 +200,7 @@ class SimpleSource(): """ return an ordered list of the source attributes """ + self.sanitise() l=[] for name in self.names: l.append(getatt...
database output fixed bug was np.float<I> being retarded
py
diff --git a/salt/loader.py b/salt/loader.py index <HASH>..<HASH> 100644 --- a/salt/loader.py +++ b/salt/loader.py @@ -1065,7 +1065,12 @@ class LazyLoader(salt.utils.lazy.LazyDict): self._apply_outputter(func, mod) # enforce depends - Depends.enforce_dependencies(self._dict, self.tag) + ...
Added exception handler to trap the RuntimeError raised when Depends.enforce_dependency() class method fires unsuccessfully. There appears to be no synchronization within the Depends decorator class wrt the class global dependency_dict which results in incomplete population of any loader instantiation occuring at the t...
py
diff --git a/globus_cli/commands/bookmark/list.py b/globus_cli/commands/bookmark/list.py index <HASH>..<HASH> 100644 --- a/globus_cli/commands/bookmark/list.py +++ b/globus_cli/commands/bookmark/list.py @@ -4,7 +4,7 @@ from globus_cli.parsing import common_options from globus_cli.helpers import outformat_is_json, prin...
Update bookmark list columns; add endpoint name Makes calls to the service for each bookmark. We could mildly optimize, but in principle this is the minimally necessary work to get this column added. Closes #<I>
py
diff --git a/asammdf/utils.py b/asammdf/utils.py index <HASH>..<HASH> 100644 --- a/asammdf/utils.py +++ b/asammdf/utils.py @@ -975,4 +975,4 @@ def is_file_like(obj): if not hasattr(obj, "__iter__"): return False - return True \ No newline at end of file + return True
Add missing newline to utils.py Accidentally removed newline character in previous commit. Re-Adding it in this one.
py
diff --git a/duolingo.py b/duolingo.py index <HASH>..<HASH> 100644 --- a/duolingo.py +++ b/duolingo.py @@ -94,7 +94,7 @@ class Duolingo(object): fields = ['username', 'bio', 'id', 'num_following', 'cohort', 'num_followers', 'learning_language_string', 'created', 'contribut...
Add ui_language to user info.
py
diff --git a/gwpy/tests/test_timeseries.py b/gwpy/tests/test_timeseries.py index <HASH>..<HASH> 100644 --- a/gwpy/tests/test_timeseries.py +++ b/gwpy/tests/test_timeseries.py @@ -851,7 +851,7 @@ class TestTimeSeries(TestTimeSeriesBase): # check that basic methods always post a warning telling the user ...
tests: use window=None for test_psd_basic
py
diff --git a/tests/test_configmanager.py b/tests/test_configmanager.py index <HASH>..<HASH> 100644 --- a/tests/test_configmanager.py +++ b/tests/test_configmanager.py @@ -25,6 +25,7 @@ from tests.engine_helpers import * import autokey.model.folder from autokey.configmanager.configmanager import ConfigManager +from ...
test: fix default folder not being created
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -45,7 +45,7 @@ setup( # This is a one-line description or tagline of what your project does. This # corresponds to the "Summary" metadata field: # https://packaging.python.org/specifications/core-metadata/#summa...
Updated description in setup.py
py
diff --git a/tensorflow_datasets/graphs/ogbg_molpcba/ogbg_molpcba.py b/tensorflow_datasets/graphs/ogbg_molpcba/ogbg_molpcba.py index <HASH>..<HASH> 100644 --- a/tensorflow_datasets/graphs/ogbg_molpcba/ogbg_molpcba.py +++ b/tensorflow_datasets/graphs/ogbg_molpcba/ogbg_molpcba.py @@ -61,7 +61,7 @@ Not all targets apply t...
Change 'ndash' to 'minus' in ogbg_molpcba description so that it can be ASCII encoded. PiperOrigin-RevId: <I>
py
diff --git a/cheroot/test/test__compat.py b/cheroot/test/test__compat.py index <HASH>..<HASH> 100644 --- a/cheroot/test/test__compat.py +++ b/cheroot/test/test__compat.py @@ -7,7 +7,7 @@ __metaclass__ = type import pytest import six -from cheroot._compat import extract_bytes, ntob, ntou, bton +from cheroot._compat ...
Use memoryview from cheroot._compat in tests
py
diff --git a/pydoop/utils/serialize.py b/pydoop/utils/serialize.py index <HASH>..<HASH> 100644 --- a/pydoop/utils/serialize.py +++ b/pydoop/utils/serialize.py @@ -84,6 +84,42 @@ FlowReader = sc.FlowReader FlowWriter = sc.FlowWriter +class FlowReader(sc.FlowReader): + + def __init__(self, stream, is_owned=True):...
Added wrapper to Flow{Reader,Writer} Added context support. See test_flow.py
py
diff --git a/master/buildbot/sourcestamp.py b/master/buildbot/sourcestamp.py index <HASH>..<HASH> 100644 --- a/master/buildbot/sourcestamp.py +++ b/master/buildbot/sourcestamp.py @@ -118,7 +118,8 @@ class SourceStamp(util.ComparableMixin, styles.Versioned): def gci(id): chdict = yield mast...
handle Deferred from fromChdict
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,21 @@ #!/usr/bin/env python -from setuptools import setup, find_packages +try: + from setuptools import setup, find_packages + from setuptools.command.test import test +except ImportError: + from ez_setup i...
Support test command in setup.py
py
diff --git a/indra/statements/delta.py b/indra/statements/delta.py index <HASH>..<HASH> 100644 --- a/indra/statements/delta.py +++ b/indra/statements/delta.py @@ -11,6 +11,8 @@ logger = logging.getLogger(__name__) class Delta(object): """The parent class of all delta types.""" + + @staticmethod def from...
Add missing staticmethod annotation to Delta.from_json()
py
diff --git a/wikipediaapi/wikipedia.py b/wikipediaapi/wikipedia.py index <HASH>..<HASH> 100644 --- a/wikipediaapi/wikipedia.py +++ b/wikipediaapi/wikipedia.py @@ -94,7 +94,10 @@ class Wikipedia(object): self.language = language.strip().lower() self.extract_format = extract_format self.__heade...
updated a line for pep8 standard
py
diff --git a/slave/buildslave/commands/hg.py b/slave/buildslave/commands/hg.py index <HASH>..<HASH> 100644 --- a/slave/buildslave/commands/hg.py +++ b/slave/buildslave/commands/hg.py @@ -118,7 +118,7 @@ class Mercurial(SourceBaseCommand): return self._clobber(dummy, dirname) # Purge was ...
_update2 will be call later in any case. Avoid calling it twice. And remove unused code.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ install_requirements = [ 'oceandb-mongodb-driver==0.1.3', 'oceandb-elasticsearch-driver==0.0.2', # 'oceandb-bigchaindb-driver==0.1.4', - 'PyYAML==3.13', + 'PyYAML==4.2b', 'pytz==2018.5'...
Fix security issue in pyyaml
py
diff --git a/dvc/__init__.py b/dvc/__init__.py index <HASH>..<HASH> 100644 --- a/dvc/__init__.py +++ b/dvc/__init__.py @@ -10,7 +10,7 @@ import os import warnings -VERSION_BASE = "0.28.2" +VERSION_BASE = "0.29.0" __version__ = VERSION_BASE PACKAGEPATH = os.path.abspath(os.path.dirname(__file__))
dvc: bump to <I>
py
diff --git a/salt/modules/tomcat.py b/salt/modules/tomcat.py index <HASH>..<HASH> 100644 --- a/salt/modules/tomcat.py +++ b/salt/modules/tomcat.py @@ -597,7 +597,7 @@ def version(): if not line: continue if 'Server version' in line: - comps = line.split(': ') + comps...
Strip off tabs for tomcat version calls
py
diff --git a/tests/test_commands.py b/tests/test_commands.py index <HASH>..<HASH> 100644 --- a/tests/test_commands.py +++ b/tests/test_commands.py @@ -18,6 +18,12 @@ class testIrcLogParsing(unittest.TestCase): self.assertEqual("bar baz", cmd._parse_irc_message(msg)) + def testNormalPubmsgWithSpaces(self...
Unit test learning from irc logs with spaces in nicks
py
diff --git a/pgmpy/factors/Factor.py b/pgmpy/factors/Factor.py index <HASH>..<HASH> 100644 --- a/pgmpy/factors/Factor.py +++ b/pgmpy/factors/Factor.py @@ -441,7 +441,7 @@ class Factor: vars=', '.join([str(var) for var in self.variables]))) s...
fixing _str in factor.py
py
diff --git a/dipper/sources/Coriell.py b/dipper/sources/Coriell.py index <HASH>..<HASH> 100644 --- a/dipper/sources/Coriell.py +++ b/dipper/sources/Coriell.py @@ -398,7 +398,7 @@ class Coriell(Source): gu.addType(self.graph,patient_id,geno.genoparts['wildtype']) elif genoty...
fix str conversion issue in Coriell
py
diff --git a/conllu/__init__.py b/conllu/__init__.py index <HASH>..<HASH> 100644 --- a/conllu/__init__.py +++ b/conllu/__init__.py @@ -1,2 +1,2 @@ from conllu.parser import parse, parse_tree, serialize_tree # noqa -from conllu.tree_helpers import print_tree # noqa +from conllu.tree_helpers import print_tree # noqa
Inline comments should have two spaces.
py
diff --git a/scanpy/plotting/preprocessing.py b/scanpy/plotting/preprocessing.py index <HASH>..<HASH> 100644 --- a/scanpy/plotting/preprocessing.py +++ b/scanpy/plotting/preprocessing.py @@ -41,6 +41,12 @@ def filter_genes_dispersion(result, log=False, save=None, show=None): pl.ylim(y_min, 1.05*np.max(disp...
Now writes both normalized and standard image. I didn't change the basename of the standard one so existing tool expectations wouldn't break. Addresses scanpy issue #<I>
py
diff --git a/bika/lims/utils/analysis.py b/bika/lims/utils/analysis.py index <HASH>..<HASH> 100644 --- a/bika/lims/utils/analysis.py +++ b/bika/lims/utils/analysis.py @@ -52,6 +52,9 @@ def duplicateAnalysis(base): SamplePartition=base.getSamplePartition()) analysis.setDetectionLimitOperand(base.getDetecti...
Added NumberOfRequiredVerifications and Verificators to reflex rules
py
diff --git a/tools/batch_daemon/cm.py b/tools/batch_daemon/cm.py index <HASH>..<HASH> 100644 --- a/tools/batch_daemon/cm.py +++ b/tools/batch_daemon/cm.py @@ -67,7 +67,7 @@ def check_connection(): def ping(): try: - cm_conn.write('ping\r\n' % cluster_name) + cm_conn.write('ping\r\n') ret ...
batch_daemon: fix a bug that check_connection() always fails and this tool reconnects to cm too frequently
py
diff --git a/O365/connection.py b/O365/connection.py index <HASH>..<HASH> 100644 --- a/O365/connection.py +++ b/O365/connection.py @@ -419,12 +419,13 @@ class Connection: os.environ['OAUTHLIB_RELAX_TOKEN_SCOPE'] = '1' os.environ['OAUTHLIB_IGNORE_SCOPE_CHANGE'] = '1' + scopes = requested_scope...
Fix bug: scopes was not set on client credentials flow #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ setup( long_description=readme + '\n\n' + history, author='Beau Barker', author_email='beauinmelbourne@gmail.com', - url='http://jsonrpcserver.readthedocs.org/', + url='https://jsonrpcserver...
Replaced the http readthedocs link with https.
py
diff --git a/exa/util/isotopes.py b/exa/util/isotopes.py index <HASH>..<HASH> 100644 --- a/exa/util/isotopes.py +++ b/exa/util/isotopes.py @@ -49,7 +49,9 @@ if not hasattr(_bz2, "open"): class Element(object): """ An element from Mendeleev's periodic table. + .. code-block:: python + from exa.u...
Updated line breaks in Isotope and Element docstrings
py
diff --git a/proso_flashcards/management/commands/load_flashcards.py b/proso_flashcards/management/commands/load_flashcards.py index <HASH>..<HASH> 100644 --- a/proso_flashcards/management/commands/load_flashcards.py +++ b/proso_flashcards/management/commands/load_flashcards.py @@ -34,7 +34,7 @@ class Command(BaseComma...
fix strategy for ignored flashcards during loading
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -32,11 +32,13 @@ from setuptools import setup HTTPretty.disable() +HTTPRETTY_PATH = os.path.abspath(os.path.join(__file__, os.pardir)) + def get_packages(): # setuptools can't do the job :( packages = [] - ...
Fixing an issue with setup.py being run in a different directory that the egg root
py
diff --git a/smartcard/ReaderMonitoring.py b/smartcard/ReaderMonitoring.py index <HASH>..<HASH> 100644 --- a/smartcard/ReaderMonitoring.py +++ b/smartcard/ReaderMonitoring.py @@ -107,8 +107,14 @@ class ReaderMonitor(Observable): # avoid a deadlock; addObserver and notifyObservers called ...
Python3: thread has been renamed _thread The code now support the 2 different module names.
py
diff --git a/tests/unit/states/test_modjk.py b/tests/unit/states/test_modjk.py index <HASH>..<HASH> 100644 --- a/tests/unit/states/test_modjk.py +++ b/tests/unit/states/test_modjk.py @@ -1,21 +1,11 @@ -# -*- coding: utf-8 -*- """ :codeauthor: Jayesh Kariya <jayeshk@saltstack.com> """ -# Import Python libs -from ...
Drop Py2 and six on tests/unit/states/test_modjk.py
py
diff --git a/ceph_deploy/tests/parser/test_main.py b/ceph_deploy/tests/parser/test_main.py index <HASH>..<HASH> 100644 --- a/ceph_deploy/tests/parser/test_main.py +++ b/ceph_deploy/tests/parser/test_main.py @@ -65,17 +65,6 @@ class TestParserMain(object): args = self.parser.parse_args('forgetkeys'.split()) ...
[RM-<I>] tests: remove tests that validated cluster name
py
diff --git a/ailment/__init__.py b/ailment/__init__.py index <HASH>..<HASH> 100644 --- a/ailment/__init__.py +++ b/ailment/__init__.py @@ -1,4 +1,4 @@ -__version__ = "9.2.2.dev0" +__version__ = "9.2.3.dev0" import logging from typing import Set
Update version to <I>.dev0 [ci skip]
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ setup( package_dir={'': 'src'}, include_package_data=True, python_requires='>= 3.3', - install_requires=['setuptools', 'pip', 'docutils', 'purepng>=0.1.1', + install_requires=['setuptools', ...
Require purepng >= <I> (fixes installation issues) See issue #<I>.
py