diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/ledger/merkle_tree.py b/ledger/merkle_tree.py index <HASH>..<HASH> 100644 --- a/ledger/merkle_tree.py +++ b/ledger/merkle_tree.py @@ -60,4 +60,9 @@ class MerkleTree: @abstractproperty def nodeCount(self) -> int: """ + """ + + @abstractmethod + def verifyConsistency(self) -> ...
add verifyConsistency method to MerkleTree
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ def read(fname): setup( name = "diyr", - version = "0.0.1a11", + version = "0.0.1a12", author = "Miguel Alex Cantu", author_email = "miguel.can2@gmail.com ", description = ("An inter...
Prepare setup.py for <I>a<I>
py
diff --git a/tests/collectors/test_nerrs.py b/tests/collectors/test_nerrs.py index <HASH>..<HASH> 100644 --- a/tests/collectors/test_nerrs.py +++ b/tests/collectors/test_nerrs.py @@ -61,4 +61,18 @@ class NerrTest(unittest.TestCase): self.c.clear() self.c.filter(variables=["ATemp","Temp"]) wit...
Add some filter chaining tests to NERRS for documentation/reference
py
diff --git a/uproot/interp/auto.py b/uproot/interp/auto.py index <HASH>..<HASH> 100644 --- a/uproot/interp/auto.py +++ b/uproot/interp/auto.py @@ -299,6 +299,10 @@ def interpret(branch, swapbytes=True): obj = branch._vecstreamer._fName.decode("utf-8") if...
resolves <EMAIL> issue
py
diff --git a/src/OpenAccess_EPUB/ops/opsplos.py b/src/OpenAccess_EPUB/ops/opsplos.py index <HASH>..<HASH> 100644 --- a/src/OpenAccess_EPUB/ops/opsplos.py +++ b/src/OpenAccess_EPUB/ops/opsplos.py @@ -417,6 +417,7 @@ class OPSPLoS(OPSMeta): first = False else: self.appendNew...
added todo for editors as collab
py
diff --git a/examples/plotting/file/stocks.py b/examples/plotting/file/stocks.py index <HASH>..<HASH> 100644 --- a/examples/plotting/file/stocks.py +++ b/examples/plotting/file/stocks.py @@ -44,7 +44,7 @@ def stocks(): scatter(aapl_dates, aapl, x_axis_type = "datetime", - color='#A6CEE3',...
removed embed_tool because it isn't applicable to file based plots
py
diff --git a/pandas/compat/pickle_compat.py b/pandas/compat/pickle_compat.py index <HASH>..<HASH> 100644 --- a/pandas/compat/pickle_compat.py +++ b/pandas/compat/pickle_compat.py @@ -68,7 +68,11 @@ Loading a saved '{cls}' as a {new} with sparse values. class _LoadSparseSeries: # To load a SparseSeries as a Seri...
TYPING: errors reported by mypy <I> (#<I>)
py
diff --git a/goatools/grouper/grprobj_init.py b/goatools/grouper/grprobj_init.py index <HASH>..<HASH> 100644 --- a/goatools/grouper/grprobj_init.py +++ b/goatools/grouper/grprobj_init.py @@ -145,7 +145,7 @@ class GrouperInit(object): gos_all = self.get_gos_all() # Minimum set of namedtuple fields avai...
Don't use go2nt if go2nt is None or is empty
py
diff --git a/tablature/views.py b/tablature/views.py index <HASH>..<HASH> 100644 --- a/tablature/views.py +++ b/tablature/views.py @@ -3,8 +3,9 @@ from __future__ import unicode_literals from django.contrib.postgres.search import SearchVector, SearchQuery +from django.core.exceptions import FieldDoesNotExist from ...
Fixes Django 3.x compatibility.
py
diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py index <HASH>..<HASH> 100644 --- a/discord/ext/commands/core.py +++ b/discord/ext/commands/core.py @@ -134,6 +134,9 @@ def _evaluate_annotation( _evaluate_annotation(arg, globals, locals, cache, implicit_str=implicit_str) for arg in ar...
[commands] Disallow complicated Literal types
py
diff --git a/testing/test_pdb.py b/testing/test_pdb.py index <HASH>..<HASH> 100644 --- a/testing/test_pdb.py +++ b/testing/test_pdb.py @@ -3756,7 +3756,7 @@ def test_python_m_pdb_uses_pdbpp_and_env(PDBPP_HIJACK_PDB, monkeypatch, tmpdir): from sysconfig import get_path if PDBPP_HIJACK_PDB: - pth = os....
tests: fix check for missing .pth file (#<I>)
py
diff --git a/tcex/bin/test.py b/tcex/bin/test.py index <HASH>..<HASH> 100644 --- a/tcex/bin/test.py +++ b/tcex/bin/test.py @@ -96,9 +96,12 @@ class Profiles: 'outputs': profile_data.get('outputs'), 'stage': profile_data.get('stage', {'redis': {}, 'threatconnect': []}), } - if p...
+ update for webhook_event in profile.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ if sys.version_info < (2, 7, 9): install_requires.append('idna') setup( - name='leancloud-sdk', + name='leancloud', version='1.13.0', description='LeanCloud Python SDK', url='https:/...
chore: rename package name to leancloud
py
diff --git a/check50.py b/check50.py index <HASH>..<HASH> 100755 --- a/check50.py +++ b/check50.py @@ -190,7 +190,7 @@ def print_results(results, log=False): cprint(" {}".format(result["rationale"]), "red") elif result["status"] == Checks.SKIP: cprint(":| {}".format(result["des...
Added rationale to skipped tests
py
diff --git a/src/foundations/dag.py b/src/foundations/dag.py index <HASH>..<HASH> 100644 --- a/src/foundations/dag.py +++ b/src/foundations/dag.py @@ -608,8 +608,8 @@ class AbstractCompositeNode(AbstractNode): #*********************************************************************************************** #*** Clas...
omment various execution tracing and exception handling statements for increased speed in "foundations.dag.AbstractNode" class.
py
diff --git a/spyderlib/widgets/codeeditor/base.py b/spyderlib/widgets/codeeditor/base.py index <HASH>..<HASH> 100644 --- a/spyderlib/widgets/codeeditor/base.py +++ b/spyderlib/widgets/codeeditor/base.py @@ -89,8 +89,8 @@ class CompletionWidget(QListWidget): or key == Qt.Key_Tab: self.item_sele...
Code completion/bugfix: list widget was not hiding as expected when pressing ':'
py
diff --git a/src/ossos-pipeline/ossos/ssos.py b/src/ossos-pipeline/ossos/ssos.py index <HASH>..<HASH> 100644 --- a/src/ossos-pipeline/ossos/ssos.py +++ b/src/ossos-pipeline/ossos/ssos.py @@ -628,5 +628,8 @@ class Query(object): raise IOError(os.errno.EACCES, "call to SSOIS failed...
Quick and dirty way to override SSOIS
py
diff --git a/patroni/postgresql/bootstrap.py b/patroni/postgresql/bootstrap.py index <HASH>..<HASH> 100644 --- a/patroni/postgresql/bootstrap.py +++ b/patroni/postgresql/bootstrap.py @@ -310,7 +310,15 @@ BEGIN CREATE ROLE "{0}" WITH {1}; END IF; END;$$""".format(name, ' '.join(options)) - self._po...
Avoid logging passwords on user creation (#<I>) Fixes <URL>
py
diff --git a/src/fileseq/__version__.py b/src/fileseq/__version__.py index <HASH>..<HASH> 100644 --- a/src/fileseq/__version__.py +++ b/src/fileseq/__version__.py @@ -1 +1 @@ -__version__ = '1.12.0' +__version__ = '1.12.1'
Re-tag <I> as <I> for deployment
py
diff --git a/helpers/constants.py b/helpers/constants.py index <HASH>..<HASH> 100644 --- a/helpers/constants.py +++ b/helpers/constants.py @@ -68,7 +68,7 @@ NOTIFICATION CONSTANTS SOCKETIO_URL = 'https://my.goabode.com' SOCKETIO_HEADERS = { - 'Origin': 'https://my.goabode.com' + 'Origin': 'https://my.goabode....
Add trailing slash to Origin header This is to avoid an "origin not allowed" response.
py
diff --git a/pre_commit/languages/perl.py b/pre_commit/languages/perl.py index <HASH>..<HASH> 100644 --- a/pre_commit/languages/perl.py +++ b/pre_commit/languages/perl.py @@ -1,5 +1,6 @@ import contextlib import os +import shlex from typing import Generator from typing import Sequence from typing import Tuple @@ -...
shlex-quote install path to fix windows
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,11 +1,25 @@ -from setuptools import setup -# you may need setuptools instead of distutils +import re +try: + from setuptools import setup +except ImportError: + from distutils.core import setup + +SCRIPT="git-archive-...
Improve setup.py. * Import setup from distutils.core if it can't be imported from setuptools. * Set the name in a variable. * Parse the version from the script. * Tweak the description.
py
diff --git a/goatools/associations.py b/goatools/associations.py index <HASH>..<HASH> 100755 --- a/goatools/associations.py +++ b/goatools/associations.py @@ -176,7 +176,7 @@ def get_b2aset(a2bset): def get_assc_pruned(assc_geneid2gos, max_genecnt, prt=sys.stdout): - """Remove GO IDs which are associated with l...
For one stochastic simulation variation; Add fnc to rm a few GO IDs assc with extremely large #s of genes.
py
diff --git a/telethon/telegram_client.py b/telethon/telegram_client.py index <HASH>..<HASH> 100644 --- a/telethon/telegram_client.py +++ b/telethon/telegram_client.py @@ -246,7 +246,7 @@ class TelegramClient(TelegramBareClient): # This is only valid when the read thread is reconnecting, # that is, the...
Ignore requests invoked from ReadThread instead raising Any unhandled exception on the ReadThread would cause it to stop, and handling the exception to the main thread on the next invoke or poll. Instead causing the thread to stop, simply ignore it.
py
diff --git a/openquake/signalling.py b/openquake/signalling.py index <HASH>..<HASH> 100644 --- a/openquake/signalling.py +++ b/openquake/signalling.py @@ -40,6 +40,7 @@ class AMQPMessageConsumer(threading.Thread): MyConsumer().start() """ + # TODO: unittest def __init__(self, routing_key, timeou...
AMQPMessageConsumer acknowledges received messages
py
diff --git a/flask_raml.py b/flask_raml.py index <HASH>..<HASH> 100644 --- a/flask_raml.py +++ b/flask_raml.py @@ -98,8 +98,10 @@ class API(raml.API): result.extend((uri, method) for method in resource['methodsByName'] if method.upper() not in methods) return result - def abort(self, status, ...
feat: allow abort without response body
py
diff --git a/bin/alert-ganglia.py b/bin/alert-ganglia.py index <HASH>..<HASH> 100755 --- a/bin/alert-ganglia.py +++ b/bin/alert-ganglia.py @@ -21,7 +21,7 @@ import uuid import re __program__ = 'alert-ganglia' -__version__ = '1.7.10' +__version__ = '1.7.11' BROKER_LIST = [('localhost', 61613)] # list of brokers ...
Human-readable timestamps in alert text
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -54,7 +54,7 @@ dependencies = { 'numpy': '>= 1.7.1', 'scipy': '>= 0.12.1', 'matplotlib': '>= 1.2.0', - 'astropy': '>= 1.1.1', '< 3.0.0' + 'astropy': '>= 1.1.1, < 3.0.0', 'h5py': '>= 1.3', 'ligo-s...
setup.py: trying to get syntax correct
py
diff --git a/python/proto.py b/python/proto.py index <HASH>..<HASH> 100644 --- a/python/proto.py +++ b/python/proto.py @@ -37,7 +37,8 @@ class Header: BLOCK_TYPE_LZ4HC = 3 VALID_BLOCK_TYPES = [BLOCK_TYPE_RAW, BLOCK_TYPE_LZ4, BLOCK_TYPE_LZ4HC] - VALID_VOXEL_TYPES = [np.uint8, np.uint16, np.uint32, np.uint...
Python: Add support for signed integers
py
diff --git a/workbench/clients/pcap_bro_raw.py b/workbench/clients/pcap_bro_raw.py index <HASH>..<HASH> 100644 --- a/workbench/clients/pcap_bro_raw.py +++ b/workbench/clients/pcap_bro_raw.py @@ -36,7 +36,7 @@ def run(): # Just want the logs if log_name.endswith('_log'): ...
shorting output of big bro logs
py
diff --git a/nose/test_streamdf.py b/nose/test_streamdf.py index <HASH>..<HASH> 100644 --- a/nose/test_streamdf.py +++ b/nose/test_streamdf.py @@ -1,6 +1,7 @@ from __future__ import print_function, division import functools import nose +from nose.tools import raises import numpy from scipy import interpolate, inte...
Test ValueError in density_par
py
diff --git a/satpy/tests/reader_tests/test_seviri_l1b_native.py b/satpy/tests/reader_tests/test_seviri_l1b_native.py index <HASH>..<HASH> 100644 --- a/satpy/tests/reader_tests/test_seviri_l1b_native.py +++ b/satpy/tests/reader_tests/test_seviri_l1b_native.py @@ -26,7 +26,7 @@ from satpy.readers.seviri_l1b_native import...
Fix severi l1b native tests
py
diff --git a/stacker_blueprints/empire/daemon.py b/stacker_blueprints/empire/daemon.py index <HASH>..<HASH> 100644 --- a/stacker_blueprints/empire/daemon.py +++ b/stacker_blueprints/empire/daemon.py @@ -217,7 +217,7 @@ class EmpireDaemon(Blueprint): " Amazon ECS service's DesiredCount value, that can r...
The default ECS uses is <I>%
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -256,8 +256,8 @@ def get_version_info(): # If this is a release or another kind of source distribution of PyCBC except: - version = '1.3.dev0' - release = 'False' + version = '1.2.2...
Set release version to <I>
py
diff --git a/utils/walletdump.py b/utils/walletdump.py index <HASH>..<HASH> 100755 --- a/utils/walletdump.py +++ b/utils/walletdump.py @@ -4,7 +4,8 @@ import logging import operator import re -from monero.backends.jsonrpc import JSONRPCWallet +from monero import exceptions +from monero.backends.jsonrpc import JSONR...
Make walletdump not crash on non-deterministic wallets
py
diff --git a/PySimpleGUI.py b/PySimpleGUI.py index <HASH>..<HASH> 100644 --- a/PySimpleGUI.py +++ b/PySimpleGUI.py @@ -4428,7 +4428,12 @@ class Table(Element): if self.BackgroundColor is not None and self.BackgroundColor != COLOR_SYSTEM_DEFAULT: self.TKTreeview.tag_configure(id, ba...
Added correct handling of foreground color for tables (text color) when updating
py
diff --git a/gntp/cli.py b/gntp/cli.py index <HASH>..<HASH> 100644 --- a/gntp/cli.py +++ b/gntp/cli.py @@ -120,7 +120,7 @@ def main(): # class but until I make _checkIcon smarter this is "easier" if options.icon and growl._checkIcon(options.icon) is False: logging.info('Loading image %s', options.icon) - f = op...
gntp cli should read files as binary
py
diff --git a/gssapi/__about__.py b/gssapi/__about__.py index <HASH>..<HASH> 100644 --- a/gssapi/__about__.py +++ b/gssapi/__about__.py @@ -2,7 +2,7 @@ from __future__ import unicode_literals __title__ = 'python-gssapi' __author__ = 'Hugh Cole-Baker and contributors' -__version__ = '0.6.3' +__version__ = '0.6.4pre' ...
Begin development of version <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,8 @@ if use_cython: else: ext_modules += [ Extension("scanpy.cython.utils_cy", - ["scanpy/cython/utils_cy.c"]), + ["scanpy/cython/utils_cy.c"], + incl...
added numpy.get_include() also to ext_modules for building without Cython
py
diff --git a/gns3server/controller/compute.py b/gns3server/controller/compute.py index <HASH>..<HASH> 100644 --- a/gns3server/controller/compute.py +++ b/gns3server/controller/compute.py @@ -372,7 +372,7 @@ class Compute: Connect to the notification stream """ try: - self._ws = yie...
Fix auth for websocket between controller and computes Fix #<I>
py
diff --git a/bench.py b/bench.py index <HASH>..<HASH> 100755 --- a/bench.py +++ b/bench.py @@ -24,7 +24,10 @@ else: bio = cStringIO.StringIO -import zstd +try: + import zstd +except ImportError: + import zstd_cffi as zstd def timer(fn, miniter=3, minwall=3.0):
bench: support using CFFI bindings
py
diff --git a/bokeh/objects.py b/bokeh/objects.py index <HASH>..<HASH> 100644 --- a/bokeh/objects.py +++ b/bokeh/objects.py @@ -398,7 +398,7 @@ class DataRangeBoxSelectTool(PlotObject): yselect = List(Instance(Range), has_ref=True) class PlotContext(PlotObject): - children = List(List(Instance(Plot), has_ref=...
Set type of PlotContext.children to List(Instance(Plot))
py
diff --git a/trunk/ipaddr_test.py b/trunk/ipaddr_test.py index <HASH>..<HASH> 100755 --- a/trunk/ipaddr_test.py +++ b/trunk/ipaddr_test.py @@ -309,8 +309,8 @@ class IpaddrUnitTest(unittest.TestCase): self.assertEquals(ipv6.__cmp__(ipv4), 1) self.assertEquals(ipv4.__cmp__(ipv6), -1) - def testEmbe...
r<I> overwrote part of the test for ipv4 embedded in ipv6; this fixes that. git-svn-id: <URL>
py
diff --git a/eliot/tests/test_twisted.py b/eliot/tests/test_twisted.py index <HASH>..<HASH> 100644 --- a/eliot/tests/test_twisted.py +++ b/eliot/tests/test_twisted.py @@ -122,6 +122,23 @@ class DeferredContextTests(TestCase): self.assertEqual(called, [(1, 2)]) @withActionContext + def test_addCallbac...
Add a failing test for the addCallbacks behavior
py
diff --git a/coursera/coursera_dl.py b/coursera/coursera_dl.py index <HASH>..<HASH> 100755 --- a/coursera/coursera_dl.py +++ b/coursera/coursera_dl.py @@ -84,7 +84,7 @@ _see_url = " See https://github.com/coursera-dl/coursera/issues/139" import bs4 import six -assert V(requests.__version__) >= V('1.2'), "Upgrade re...
coursera: Only run with a new enough requests library.
py
diff --git a/polymodels/tests/models.py b/polymodels/tests/models.py index <HASH>..<HASH> 100644 --- a/polymodels/tests/models.py +++ b/polymodels/tests/models.py @@ -43,6 +43,7 @@ class Reptile(Animal): class Snake(Reptile): class Meta: app_label = 'polymodels' + ordering = ('id',) class Big...
Make sure to define an ordering on all querie test models
py
diff --git a/pytablereader/loadermanager/_base.py b/pytablereader/loadermanager/_base.py index <HASH>..<HASH> 100644 --- a/pytablereader/loadermanager/_base.py +++ b/pytablereader/loadermanager/_base.py @@ -27,6 +27,14 @@ class TableLoaderManager(TableLoaderInterface): return self.__loader.source_type @...
Add an interface to change table_name
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,8 @@ setup( url="http://github.com/safl/cijoe", license="BSD-2", install_requires=[ - "ansi2html (>=1.5.2)", "jinja2 (>=2.0)", "pyyaml (>=3.10)" + "ansi2html (>=1.5.2)", "jinja2 (>=2.0)",...
dist: added package dependencies for reporter
py
diff --git a/tests/opc_test.py b/tests/opc_test.py index <HASH>..<HASH> 100644 --- a/tests/opc_test.py +++ b/tests/opc_test.py @@ -51,12 +51,12 @@ class SetupTestCase(unittest.TestCase): def tearDown(self): pass - + + ''' def test_spi(self): sleep(interval) self.assertI...
remove testing until proper mocking is done
py
diff --git a/test/layers_test.py b/test/layers_test.py index <HASH>..<HASH> 100644 --- a/test/layers_test.py +++ b/test/layers_test.py @@ -81,9 +81,9 @@ class TestRNN(Base): assert not upd -class TestRRNN(Base): +class TestARRNN(Base): def _build(self, **kwargs): - return theanets.layers.RRNN(n...
Update test for rrnn -> arrnn change.
py
diff --git a/uwsgiconf/runtime/scheduling.py b/uwsgiconf/runtime/scheduling.py index <HASH>..<HASH> 100644 --- a/uwsgiconf/runtime/scheduling.py +++ b/uwsgiconf/runtime/scheduling.py @@ -212,7 +212,7 @@ def register_cron(weekday=None, month=None, day=None, hour=None, minute=None, ta return func_action(*arg...
Fixed register_cron() work with periods
py
diff --git a/attitude/orientation/test_distances.py b/attitude/orientation/test_distances.py index <HASH>..<HASH> 100644 --- a/attitude/orientation/test_distances.py +++ b/attitude/orientation/test_distances.py @@ -6,6 +6,7 @@ between two uncertain orientation measurements. from __future__ import division import nu...
Added expected fail to distances test
py
diff --git a/num2words/lang_ES.py b/num2words/lang_ES.py index <HASH>..<HASH> 100644 --- a/num2words/lang_ES.py +++ b/num2words/lang_ES.py @@ -363,4 +363,5 @@ class Num2Word_ES(Num2Word_EU): list_result[0] = list_result[0].replace("uno", "una") result = " ".join(list_result) r...
Orthography fix: added accent veintiun->veintiún
py
diff --git a/sos/plugins/nfsganesha.py b/sos/plugins/nfsganesha.py index <HASH>..<HASH> 100644 --- a/sos/plugins/nfsganesha.py +++ b/sos/plugins/nfsganesha.py @@ -24,6 +24,10 @@ class NfsGanesha(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): "/var/log/ganesha/*.log" ]) + if self.get_o...
[nfsganesha] Collect rotated logs when using --all-logs If --all-logs is specified, the nfsganesha plugin will now gather the rotated log files from /var/log/ganesha, not just the current log file. Fixes: #<I>
py
diff --git a/tests/run.py b/tests/run.py index <HASH>..<HASH> 100644 --- a/tests/run.py +++ b/tests/run.py @@ -45,7 +45,7 @@ def terminate_thread(thread): :param thread: a threading.Thread instance """ - if not thread.isAlive(): + if not thread.is_alive(): return exc = ctypes.py_object...
Use threading.is_alive instead of older threading.isAlive name.
py
diff --git a/pypot/vrep/__init__.py b/pypot/vrep/__init__.py index <HASH>..<HASH> 100644 --- a/pypot/vrep/__init__.py +++ b/pypot/vrep/__init__.py @@ -115,6 +115,7 @@ def from_vrep(config, vrep_host, vrep_port, vrep_scene, Robot.current_simulation_time = property(lambda robot: current_simulation_time(robot)) ...
Prevent a bug in the v-rep vs pypot time.
py
diff --git a/src/rezplugins/release_vcs/hg.py b/src/rezplugins/release_vcs/hg.py index <HASH>..<HASH> 100644 --- a/src/rezplugins/release_vcs/hg.py +++ b/src/rezplugins/release_vcs/hg.py @@ -152,6 +152,10 @@ class HgReleaseVCS(ReleaseVCS): tags[tag_name] = {'rev': rev, 'shortnode': shortnode} retu...
Implementing tag_exists for hg. Allows check_tag to work with hg.
py
diff --git a/src/you_get/cli_wrapper/player/__main__.py b/src/you_get/cli_wrapper/player/__main__.py index <HASH>..<HASH> 100644 --- a/src/you_get/cli_wrapper/player/__main__.py +++ b/src/you_get/cli_wrapper/player/__main__.py @@ -1,7 +1,9 @@ #!/usr/bin/env python +''' WIP def main(): script_main('you-get', an...
comment the WIP code to silent lint
py
diff --git a/setuptools/tests/test_config.py b/setuptools/tests/test_config.py index <HASH>..<HASH> 100644 --- a/setuptools/tests/test_config.py +++ b/setuptools/tests/test_config.py @@ -1,7 +1,9 @@ # -*- coding: utf-8 -*- from __future__ import unicode_literals +import sys import contextlib + import pytest fr...
Delete packages from sys.modules
py
diff --git a/src/Exscriptd/OrderDB.py b/src/Exscriptd/OrderDB.py index <HASH>..<HASH> 100644 --- a/src/Exscriptd/OrderDB.py +++ b/src/Exscriptd/OrderDB.py @@ -436,7 +436,7 @@ class OrderDB(object): def get_orders(self, offset = 0, limit = 0, **kwargs): """ Returns all orders that match the given ...
Exscriptd.OrderDB.get_orders(): fix: limit was ignored; add ordering.
py
diff --git a/test/test_collection.py b/test/test_collection.py index <HASH>..<HASH> 100644 --- a/test/test_collection.py +++ b/test/test_collection.py @@ -1017,6 +1017,19 @@ class TestCollection(unittest.TestCase): else: self.fail("%s was not raised" % (expected_error.__name__,)) + def test_w...
Test that write concern of {wtimeout: <I>} is same as {w: 1, wtimeout: <I>}.
py
diff --git a/androguard/core/analysis/auto.py b/androguard/core/analysis/auto.py index <HASH>..<HASH> 100644 --- a/androguard/core/analysis/auto.py +++ b/androguard/core/analysis/auto.py @@ -143,9 +143,9 @@ class DefaultAndroAnalysis(object): :param log: an object which corresponds to a unique app :...
not sure what the problem is ehre
py
diff --git a/git/test/test_git.py b/git/test/test_git.py index <HASH>..<HASH> 100644 --- a/git/test/test_git.py +++ b/git/test/test_git.py @@ -201,7 +201,7 @@ class TestGit(TestBase): try: remote.fetch() except GitCommandError as err: - if sys.ve...
fix(travis): get py<I> to work Seems like OSX is somewhat special here ... .
py
diff --git a/budget/data.py b/budget/data.py index <HASH>..<HASH> 100644 --- a/budget/data.py +++ b/budget/data.py @@ -418,6 +418,9 @@ class Data(): row = [(str(i), str(i + 1))] cur.execute('UPDATE categories set categoryOrder = ? where categoryOrder = ?', row[0]) + # Dele...
Ref: #<I> - Remove deleted categories aggregate entries from database.
py
diff --git a/hvac/api/secrets_engines/aws.py b/hvac/api/secrets_engines/aws.py index <HASH>..<HASH> 100644 --- a/hvac/api/secrets_engines/aws.py +++ b/hvac/api/secrets_engines/aws.py @@ -326,14 +326,8 @@ class Aws(VaultApiBase): name=name, ) - if endpoint == 'sts': - response =...
* Removed if statement for `sts`. * Using POST to call the endpoint, get does not recognize json.
py
diff --git a/stackinabox/services/hello/__init__.py b/stackinabox/services/hello/__init__.py index <HASH>..<HASH> 100644 --- a/stackinabox/services/hello/__init__.py +++ b/stackinabox/services/hello/__init__.py @@ -5,16 +5,16 @@ from stackinabox.services.service import StackInABoxService class HelloService(StackIn...
Bug Fix: PEP8/spacing
py
diff --git a/jsone/shared.py b/jsone/shared.py index <HASH>..<HASH> 100644 --- a/jsone/shared.py +++ b/jsone/shared.py @@ -75,7 +75,7 @@ def fromNow(offset): return stringDate(utcnow() + delta if future else utcnow() - delta) -datefmt_re = re.compile(r'(\.[0-9]{3})[0-9]*\+00:00') +datefmt_re = re.compile(r'(\....
handle naive datetimes too (with no tzinfo)
py
diff --git a/galpy/potential_src/plotRotcurve.py b/galpy/potential_src/plotRotcurve.py index <HASH>..<HASH> 100644 --- a/galpy/potential_src/plotRotcurve.py +++ b/galpy/potential_src/plotRotcurve.py @@ -89,14 +89,8 @@ def calcRotcurve(Pot,Rs): grid=1 Rs= nu.array([Rs]) rotcurve= nu.zeros(grid) - ...
rewrite calcRotcurve
py
diff --git a/salt/modules/state.py b/salt/modules/state.py index <HASH>..<HASH> 100644 --- a/salt/modules/state.py +++ b/salt/modules/state.py @@ -2478,7 +2478,7 @@ def event( "{}\t{}".format( # future lint: blacklisted-function salt.utils.stringutils.to_str(ret["t...
make sure that the data being passed to salt.utils.json.dumps is in the right format.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -23,6 +23,7 @@ setup( url = "https://github.com/hMatoba/Piexif", packages = ['piexif'], test_suite = 's_test.suite', + python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", classifiers = ...
Add python_requires to help pip
py
diff --git a/thinc/layers/concatenate.py b/thinc/layers/concatenate.py index <HASH>..<HASH> 100644 --- a/thinc/layers/concatenate.py +++ b/thinc/layers/concatenate.py @@ -60,12 +60,15 @@ def _array_forward( dY = model.ops.as_contig(d_output[:, : widths[0]]) dX = callbacks[0](dY) start = width...
Avoid concatting `None` gradient (#<I>) * avoid concatting None gradient * rewrite concatenate fwd function
py
diff --git a/bundles.py b/bundles.py index <HASH>..<HASH> 100644 --- a/bundles.py +++ b/bundles.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- ## ## This file is part of Invenio. -## Copyright (C) 2014 CERN. +## Copyright (C) 2014, 2015 CERN. ## ## Invenio is free software; you can redistribute it and/or ## modify it...
deposit: eonasdan-bootstrap-datetimepicker fix * Locks the bundle version of the library to <I>, because the latest one (<I>) is not working properly. (addresses #<I>)
py
diff --git a/pdftools/pdftools.py b/pdftools/pdftools.py index <HASH>..<HASH> 100755 --- a/pdftools/pdftools.py +++ b/pdftools/pdftools.py @@ -69,14 +69,11 @@ def pdf_rotate( writer = PdfFileWriter() # get pages from source depending on pages parameter - if pages is None: - source_pages = reader.p...
Simplify page-selection logic
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -234,7 +234,7 @@ def setup_package(): "cuda91": ["cupy-cuda91>=5.0.0b4"], "cuda92": ["cupy-cuda92>=5.0.0b4"], "cuda100": ["cupy-cuda100>=5.0.0b4"], - "cuda110":...
fix cupy package name for CUDA <I> (#<I>)
py
diff --git a/test_depth_renderer.py b/test_depth_renderer.py index <HASH>..<HASH> 100644 --- a/test_depth_renderer.py +++ b/test_depth_renderer.py @@ -72,7 +72,7 @@ class TestDepthRenderer(unittest.TestCase): # print np.mean(np.abs(dr_pred-dr_emp)) - self.assertLess(np.mean(np.abs(dr_pred-dr...
test_depth_renderer.py: loosen test very slightly for derivative x2 change.
py
diff --git a/arctic/store/_version_store_utils.py b/arctic/store/_version_store_utils.py index <HASH>..<HASH> 100644 --- a/arctic/store/_version_store_utils.py +++ b/arctic/store/_version_store_utils.py @@ -63,7 +63,7 @@ def _define_compat_pickle_load(): """Factory function to initialise the correct Pickle load fu...
fix #<I> change the way to check for pandas version
py
diff --git a/jaraco/windows/api/security.py b/jaraco/windows/api/security.py index <HASH>..<HASH> 100644 --- a/jaraco/windows/api/security.py +++ b/jaraco/windows/api/security.py @@ -118,9 +118,11 @@ class SECURITY_ATTRIBUTES(ctypes.Structure): super(SECURITY_ATTRIBUTES, self).__init__(*args, **kwargs) self.nLeng...
Use property decorators, as committed in <URL>
py
diff --git a/Lib/glyphsLib/builder.py b/Lib/glyphsLib/builder.py index <HASH>..<HASH> 100644 --- a/Lib/glyphsLib/builder.py +++ b/Lib/glyphsLib/builder.py @@ -132,10 +132,6 @@ def to_ufos(data, include_instances=False, family_name=None, debug=False): # in the font are appended after the listed glyphs, in t...
Remove warning about glyph names with dashes Since <I>, the OpenType Feature File Syntax allows for glyph names with dashes. The removed regexp was even more restrictive than just prohibiting dashes. But glyphsLib is not in a good position to say whether a feature file is valid, so I'm removing the check altogether. ...
py
diff --git a/werobot/robot.py b/werobot/robot.py index <HASH>..<HASH> 100644 --- a/werobot/robot.py +++ b/werobot/robot.py @@ -6,7 +6,7 @@ from .bottle import Bottle, request, response, abort from .parser import parse_user_msg from .reply import create_reply -__all__ = ['WeRoBot'] +__all__ = ['BaseRoBot', 'WeRoBot'...
forgot to add `BaseRoBot` to __all__ ..
py
diff --git a/openquake/engine/db/models.py b/openquake/engine/db/models.py index <HASH>..<HASH> 100644 --- a/openquake/engine/db/models.py +++ b/openquake/engine/db/models.py @@ -700,10 +700,10 @@ class HazardCalculation(djm.Model): null=True, blank=True, ) - truncation_level = djm.FloatField(...
db/models: `truncation_level` is optional, so I changed the model field type to NullFloatField.
py
diff --git a/saltapi/netapi/rest_cherrypy.py b/saltapi/netapi/rest_cherrypy.py index <HASH>..<HASH> 100644 --- a/saltapi/netapi/rest_cherrypy.py +++ b/saltapi/netapi/rest_cherrypy.py @@ -187,7 +187,7 @@ class Login(LowDataAdapter): def GET(self): cherrypy.response._tmpl = self.tmpl cherrypy.respo...
Changed value of authentication header; still arbitrary and custom
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ from setuptools import setup setup( name='Flask-SQLAlchemy-Booster', - version='0.4.5', + version='0.4.6', description='Querying and JSON Response generation wrappers for Flask-SQLAlchemy', ...
bumping up fsab version
py
diff --git a/meepo/pub.py b/meepo/pub.py index <HASH>..<HASH> 100644 --- a/meepo/pub.py +++ b/meepo/pub.py @@ -52,6 +52,9 @@ def mysql_pub(mysql_dsn, tables=None, blocking=False, **kwargs): return tuple(values[k] for k in event.primary_key) for event in stream: + if not event.primary_key: + ...
skip event if no primary_key found
py
diff --git a/wkhtmltopdf/tests/run.py b/wkhtmltopdf/tests/run.py index <HASH>..<HASH> 100644 --- a/wkhtmltopdf/tests/run.py +++ b/wkhtmltopdf/tests/run.py @@ -18,6 +18,7 @@ settings.configure( } }, INSTALLED_APPS=( + 'django.contrib.contenttypes', 'wkhtmltopdf.tests', 'wkhtml...
Configure settings in `tests/run.py` for Django <I>+
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,10 @@ setup( packages=['geomdl', 'geomdl.visualization'], long_description=read('README-PyPI.rst'), classifiers=[ + 'Development Status :: 5 - Production/Stable', + 'Intended Audience...
Update classifiers in setup.py
py
diff --git a/evaluation/baseline.py b/evaluation/baseline.py index <HASH>..<HASH> 100644 --- a/evaluation/baseline.py +++ b/evaluation/baseline.py @@ -4,12 +4,25 @@ import os sys.path.append(os.path.join(os.path.dirname(os.path.realpath(__file__)), os.pardir, 'textrank')) import textcleaner # Uses textrank's method ...
Modifications to baseline according to DUC documentation.
py
diff --git a/pytest-cov/pytest_cov.py b/pytest-cov/pytest_cov.py index <HASH>..<HASH> 100644 --- a/pytest-cov/pytest_cov.py +++ b/pytest-cov/pytest_cov.py @@ -155,7 +155,8 @@ class CovPlugin(object): return if not (self.failed and self.options.no_cov_on_fail): total = self.cov_control...
added python 3 support
py
diff --git a/aredis/commands/iter.py b/aredis/commands/iter.py index <HASH>..<HASH> 100644 --- a/aredis/commands/iter.py +++ b/aredis/commands/iter.py @@ -82,17 +82,16 @@ class ClusterIterCommandMixin(IterCommandMixin): async def scan_iter(self, match=None, count=None): nodes = await self.cluster_nodes(...
Fix cluster iter (#<I>) * fix bug: wrong parse method of scan_iter in cluster mode * fix bug: wrong iter order of scan_iter
py
diff --git a/scripts/analyze_quality_recal.py b/scripts/analyze_quality_recal.py index <HASH>..<HASH> 100644 --- a/scripts/analyze_quality_recal.py +++ b/scripts/analyze_quality_recal.py @@ -56,7 +56,11 @@ def main(recal_bam, fastq1, fastq2=None, chunk_size=None, input_format=None, if db_dir is None: db_d...
Avoid error if creating image directory concurrently
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -23,12 +23,15 @@ tests_require = [ "pathlib>=1.0.1,<1.1.0", ] +snakemake_pkg = lambda extras="": f"snakemake{extras}>=6.5.3,<6.6.0" + extras_require = { "docs": ["Sphinx>=1.4.4", "sphinx-rtd-theme>=0.1.9",], ...
setup: make snakemake reports a separate extra Due to problems when installing the `reports` deps in Ubuntu machines. Plus, installing the `reports` deps is not needed for `reana-client` as this feature is only used directly in the workflow engine.
py
diff --git a/svgpathtools/paths2svg.py b/svgpathtools/paths2svg.py index <HASH>..<HASH> 100644 --- a/svgpathtools/paths2svg.py +++ b/svgpathtools/paths2svg.py @@ -278,8 +278,8 @@ def disvg(paths=None, colors=None, # Create an SVG file if svg_attributes: - szx = svg_attributes.get("width", "100%") - ...
changed default (when svg_attributes doesn't have a height/width) to the szx and szy constructed from path bounding boxes @DerVedro was there a reason you thought the default should be <I>% (beyond that being the current behavior -- which I see as a bug)?
py
diff --git a/staff/views.py b/staff/views.py index <HASH>..<HASH> 100644 --- a/staff/views.py +++ b/staff/views.py @@ -4,7 +4,7 @@ from django.shortcuts import get_object_or_404, render_to_response from django.template import RequestContext from django.template.loader import render_to_string from django.views.decora...
Fixed a strange import bug/typo. how did this not happen before?
py
diff --git a/src/transformers/models/gpt_neo/modeling_gpt_neo.py b/src/transformers/models/gpt_neo/modeling_gpt_neo.py index <HASH>..<HASH> 100755 --- a/src/transformers/models/gpt_neo/modeling_gpt_neo.py +++ b/src/transformers/models/gpt_neo/modeling_gpt_neo.py @@ -547,7 +547,6 @@ class GPTNeoModel(GPTNeoPreTrainedMod...
Remove duplicated line (#<I>) Removes a duplicated instantiation of device. I removed the second instance of the line to maintain code alignment with the GPT-J implementation of forward.
py
diff --git a/pyblish_nuke/nuke_path/menu.py b/pyblish_nuke/nuke_path/menu.py index <HASH>..<HASH> 100644 --- a/pyblish_nuke/nuke_path/menu.py +++ b/pyblish_nuke/nuke_path/menu.py @@ -9,7 +9,7 @@ try: __import__("pyblish") # Do not load integration in NukeStudio, Hiero or HieroPlayer - invalid_args = ["--...
Do not load this integration in NukeAssist.
py
diff --git a/qtawesome/iconic_font.py b/qtawesome/iconic_font.py index <HASH>..<HASH> 100644 --- a/qtawesome/iconic_font.py +++ b/qtawesome/iconic_font.py @@ -21,7 +21,7 @@ import hashlib import warnings # Third party imports -from qtpy.QtCore import QObject, QPoint, QRect, qRound, Qt +from qtpy.QtCore import QObje...
replace qRound (missing in PySide2) with round
py
diff --git a/html5lib/treewalkers/lxmletree.py b/html5lib/treewalkers/lxmletree.py index <HASH>..<HASH> 100644 --- a/html5lib/treewalkers/lxmletree.py +++ b/html5lib/treewalkers/lxmletree.py @@ -118,8 +118,10 @@ class FragmentWrapper(object): class TreeWalker(_base.NonRecursiveTreeWalker): def __init__(self, tree...
Don't let the lxml treewalker walk above the fragment root
py
diff --git a/O365/drive.py b/O365/drive.py index <HASH>..<HASH> 100644 --- a/O365/drive.py +++ b/O365/drive.py @@ -1144,7 +1144,8 @@ class Folder(DriveItem): else: return items - def upload_file(self, item, item_name=None, chunk_size=DEFAULT_UPLOAD_CHUNK_SIZE): + def upload_file(self, item...
Drive: `upload_file` method can now force the upload type to be in chunks
py
diff --git a/address.py b/address.py index <HASH>..<HASH> 100644 --- a/address.py +++ b/address.py @@ -509,6 +509,10 @@ class Address(object): logging.error(msg) pywaves.throw_error(msg) else: + if feeAsset: + feeInfos = pywaves.wrapper('/assets/details/' + f...
address.py is now considering min fees for sponsored assets
py
diff --git a/release/.buildkite/build_pipeline.py b/release/.buildkite/build_pipeline.py index <HASH>..<HASH> 100644 --- a/release/.buildkite/build_pipeline.py +++ b/release/.buildkite/build_pipeline.py @@ -75,7 +75,6 @@ CORE_NIGHTLY_TESTS = { "many_actors_smoke_test", "many_tasks_smoke_test", ...
Update build_pipeline.py (#<I>)
py
diff --git a/pyonep/onep.py b/pyonep/onep.py index <HASH>..<HASH> 100755 --- a/pyonep/onep.py +++ b/pyonep/onep.py @@ -250,5 +250,5 @@ class OnepV1(): def write(self, cik, rid, value, options={}, defer=False): return self._call('write', cik, [rid, value, options], defer) - def writegroup(self, cik, entries, ...
writegroup() does not take any options
py