diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/falafel/config/specs.py b/falafel/config/specs.py index <HASH>..<HASH> 100644 --- a/falafel/config/specs.py +++ b/falafel/config/specs.py @@ -188,7 +188,8 @@ static_specs = { SimpleFileSpec("database-schema-version")]), "rhn-schema-stats" : First([CommandS...
Changed to use the first of sosreport and spacewalk-debug paths
py
diff --git a/tests/test_PGPKeyring.py b/tests/test_PGPKeyring.py index <HASH>..<HASH> 100644 --- a/tests/test_PGPKeyring.py +++ b/tests/test_PGPKeyring.py @@ -82,9 +82,10 @@ class TestPGPKeyring: # pass @pytest.mark.parametrize("keyid", - ["9AFBC22F", "6D30F6669AFBC22F", - ...
changed key id/fingerprint for test_key_selection
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -52,6 +52,7 @@ setup( 'pytest-cov', 'pycodestyle>=2.0.0,<2.4.0', 'pytest-flake8', + 'codacy-coverage' ], extras_require={ 'dev': ['mypy', 'yapf', 'isort'],
Add dev dependency on codacy-coverage for Travis/Codacy
py
diff --git a/tests/someapp/tasks.py b/tests/someapp/tasks.py index <HASH>..<HASH> 100644 --- a/tests/someapp/tasks.py +++ b/tests/someapp/tasks.py @@ -1,6 +1,6 @@ from celery.task import task -from django.db.models import get_model +from .models import Thing @task(name='c.unittest.SomeAppTask') @@ -10,6 +10,5 @...
Fixed some tests on Django <I>. (#<I>)
py
diff --git a/spyderlib/widgets/arrayeditor.py b/spyderlib/widgets/arrayeditor.py index <HASH>..<HASH> 100644 --- a/spyderlib/widgets/arrayeditor.py +++ b/spyderlib/widgets/arrayeditor.py @@ -423,8 +423,14 @@ class ArrayView(QTableView): output = io.BytesIO() else: output = io.String...
Variable Explorer: Fix error when trying to copy contents of non-numeric arrays
py
diff --git a/gbdxtools/images/meta.py b/gbdxtools/images/meta.py index <HASH>..<HASH> 100644 --- a/gbdxtools/images/meta.py +++ b/gbdxtools/images/meta.py @@ -286,7 +286,7 @@ class GeoImage(Container): geometry = px_to_geom(xmin, ymin) full_bounds = box(*full_bounds.union(geometry).bou...
in python3 dict.keys() returns an interable view, explicitly converting it to a list
py
diff --git a/vtki/examples/downloads.py b/vtki/examples/downloads.py index <HASH>..<HASH> 100644 --- a/vtki/examples/downloads.py +++ b/vtki/examples/downloads.py @@ -6,18 +6,17 @@ import sys import vtki -# grab the correct url retriever -if sys.version_info < (3,): - urlretrieve = urllib.urlretrieve -else: - ...
Attempt fix windows issue with urllib
py
diff --git a/tests/unit/test_minion.py b/tests/unit/test_minion.py index <HASH>..<HASH> 100644 --- a/tests/unit/test_minion.py +++ b/tests/unit/test_minion.py @@ -47,6 +47,10 @@ class MinionTestCase(TestCase): try: event_publisher = event.AsyncEventPublisher(__opts__) resu...
Catch an operation on a closed socket in a test This failure wouldn't be related to the test in question so it should be safe to ignore.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -158,7 +158,7 @@ if __name__ == '__main__': break except ValueError: nanoversion = 0 - if nanoversion: + if nanoversion != 0: version_nu...
Minor update of setup.py for controling nanoversion.
py
diff --git a/spotify/oauth.py b/spotify/oauth.py index <HASH>..<HASH> 100644 --- a/spotify/oauth.py +++ b/spotify/oauth.py @@ -131,7 +131,7 @@ class OAuth2: @property def scopes(self): - """:class:`frozenset` - A proxy mapping of the current scopes""" + """:class:`frozenset` - A frozenset of t...
Update OAuth2.scopes docstring
py
diff --git a/tornado/httpserver.py b/tornado/httpserver.py index <HASH>..<HASH> 100644 --- a/tornado/httpserver.py +++ b/tornado/httpserver.py @@ -115,7 +115,7 @@ class HTTPServer(TCPServer): In many cases, `tornado.web.Application.listen` can be used to avoid the need to explicitly create the `HTTPServ...
Fix a straggling reference to netutil.TCPServer in comments.
py
diff --git a/demo.py b/demo.py index <HASH>..<HASH> 100755 --- a/demo.py +++ b/demo.py @@ -2,6 +2,7 @@ import argparse import re +import logging from miflora.miflora_poller import MiFloraPoller, \ MI_CONDUCTIVITY, MI_MOISTURE, MI_LIGHT, MI_TEMPERATURE, MI_BATTERY @@ -18,6 +19,7 @@ def valid_miflora_mac(mac,...
added "-v" flag to demo.py to print debug output to console. (#<I>)
py
diff --git a/pulsar/async/transports/protocols.py b/pulsar/async/transports/protocols.py index <HASH>..<HASH> 100644 --- a/pulsar/async/transports/protocols.py +++ b/pulsar/async/transports/protocols.py @@ -343,9 +343,10 @@ response).''' def finished(self, consumer, result=None): '''Call this method to cl...
make sure current_consumer in Connection is set to None before firing finish event
py
diff --git a/pyrogram/__init__.py b/pyrogram/__init__.py index <HASH>..<HASH> 100644 --- a/pyrogram/__init__.py +++ b/pyrogram/__init__.py @@ -16,7 +16,7 @@ # You should have received a copy of the GNU Lesser General Public License # along with Pyrogram. If not, see <http://www.gnu.org/licenses/>. -__version__ =...
Update Pyrogram to <I>
py
diff --git a/sherlock/transient_classifier.py b/sherlock/transient_classifier.py index <HASH>..<HASH> 100644 --- a/sherlock/transient_classifier.py +++ b/sherlock/transient_classifier.py @@ -1329,11 +1329,9 @@ class transient_classifier(): # start_time = time.time() # print "COLLECTING TRANSIENTS WITH...
fixing a memory issue with the query that updates annotations
py
diff --git a/nats/io/client.py b/nats/io/client.py index <HASH>..<HASH> 100644 --- a/nats/io/client.py +++ b/nats/io/client.py @@ -683,7 +683,7 @@ class Client(object): if self.is_connected: self._status = Client.RECONNECTING - if self._ping_timer.is_running: + if self._ping_timer.is_running(): ...
Fix wrong usage of is_running callback
py
diff --git a/engineio/socket.py b/engineio/socket.py index <HASH>..<HASH> 100755 --- a/engineio/socket.py +++ b/engineio/socket.py @@ -74,9 +74,9 @@ class Socket(object): start_response) try: packets = self.poll() - except IOError: ...
Preserve exception in case it is lost before it is re-reaised
py
diff --git a/cumulusci/tasks/command.py b/cumulusci/tasks/command.py index <HASH>..<HASH> 100644 --- a/cumulusci/tasks/command.py +++ b/cumulusci/tasks/command.py @@ -124,9 +124,11 @@ class SalesforceBrowserTest(SalesforceCommand): return env def _handle_returncode(self, returncode, stderr): - if...
Only catch exit code 1 in SalesforceBrowserTest
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -84,12 +84,13 @@ html_theme_options = { html_sidebars = { "contributing": ["sidebar-search-bs.html"], "changelog": [], - "examples/*": [] + # "examples/*": [] } html_js_files = ['js/custom....
Commented out line <I> and set allow errors to true
py
diff --git a/aliyun/log/version.py b/aliyun/log/version.py index <HASH>..<HASH> 100644 --- a/aliyun/log/version.py +++ b/aliyun/log/version.py @@ -1,4 +1,4 @@ -__version__ = '0.6.32.1' +__version__ = '0.6.32.2' USER_AGENT = 'log-python-sdk-v-' + __version__ LOGGING_HANDLER_USER_AGENT = 'logging-handler, ' + USER_AGEN...
Change version from <I> to <I>
py
diff --git a/tests/phonetic/test_phonetic_ainsworth.py b/tests/phonetic/test_phonetic_ainsworth.py index <HASH>..<HASH> 100644 --- a/tests/phonetic/test_phonetic_ainsworth.py +++ b/tests/phonetic/test_phonetic_ainsworth.py @@ -60,6 +60,11 @@ class AinsworthTestCases(unittest.TestCase): self.assertEqual(self.pa...
added examples for non-handled characters
py
diff --git a/test/unit/test_discovery_v1.py b/test/unit/test_discovery_v1.py index <HASH>..<HASH> 100644 --- a/test/unit/test_discovery_v1.py +++ b/test/unit/test_discovery_v1.py @@ -270,6 +270,7 @@ def test_query(): count=1, passages=True, passages_fields=...
test(Discovery): Add test for logging_opt_out param in query
py
diff --git a/indra/tests/test_rlimsp.py b/indra/tests/test_rlimsp.py index <HASH>..<HASH> 100644 --- a/indra/tests/test_rlimsp.py +++ b/indra/tests/test_rlimsp.py @@ -2,4 +2,11 @@ from indra.sources import rlimsp def test_simple_usage(): - stmts = rlimsp.process_pmc('PMC3717945') + rp = rlimsp.process_pmc('P...
Update test and add test for ungrounded endpoint.
py
diff --git a/calculate_rmsd.py b/calculate_rmsd.py index <HASH>..<HASH> 100755 --- a/calculate_rmsd.py +++ b/calculate_rmsd.py @@ -129,8 +129,7 @@ def rmsd(V, W): N = len(V) rmsd = 0.0 for v, w in zip(V, W): - rmsd += numpy.sqrt(sum([(v[i]-w[i])**2.0 for i in range(D)])) - rmsd /= N + rmsd += numpy.sqrt...
Fixed RMSD calculation. Thanks Thomas.
py
diff --git a/ipyrad/analysis/locus_extracter.py b/ipyrad/analysis/locus_extracter.py index <HASH>..<HASH> 100644 --- a/ipyrad/analysis/locus_extracter.py +++ b/ipyrad/analysis/locus_extracter.py @@ -541,7 +541,12 @@ class LocusExtracter(object): return seqarr.shape - def get_locus(self, lidx, include_em...
Add an option to LocusExtracter.get_locus to return a pd.DataFrame indexed by sample names
py
diff --git a/pyOCD/tools/gdb_server.py b/pyOCD/tools/gdb_server.py index <HASH>..<HASH> 100644 --- a/pyOCD/tools/gdb_server.py +++ b/pyOCD/tools/gdb_server.py @@ -148,8 +148,9 @@ class GDBServerTool(object): def setup_logging(self, args): + format = "%(relativeCreated)07d:%(levelname)s:%(module)s:%(mess...
Better logging format for pyocd-gdbserver.
py
diff --git a/airflow/models.py b/airflow/models.py index <HASH>..<HASH> 100644 --- a/airflow/models.py +++ b/airflow/models.py @@ -816,7 +816,8 @@ class TaskInstance(Base): .first() ) if not pool: - return False + raise ValueError('Task specified a pool ({}) but the ...
Raise an error if a pool doesn't exist
py
diff --git a/pyang/translators/schemanode.py b/pyang/translators/schemanode.py index <HASH>..<HASH> 100644 --- a/pyang/translators/schemanode.py +++ b/pyang/translators/schemanode.py @@ -141,7 +141,7 @@ class SchemaNode(object): def data_nodes_count(self): """Return the number of receiver's data subnodes....
DSDL: Fixed interleave with augmented stuff.
py
diff --git a/pandocfilters.py b/pandocfilters.py index <HASH>..<HASH> 100755 --- a/pandocfilters.py +++ b/pandocfilters.py @@ -158,7 +158,7 @@ Space = elt('Space', 0) LineBreak = elt('LineBreak', 0) Math = elt('Math', 2) RawInline = elt('RawInline', 2) -Link = elt('Link', 2) -Image = elt('Image', 2) +Link = elt('Lin...
Update to match pandoc <I> With pandoc <I>, links and images now have `attributes` -- a third argument in addition to the existing `caption` and `target`.
py
diff --git a/quantrisk/positions.py b/quantrisk/positions.py index <HASH>..<HASH> 100644 --- a/quantrisk/positions.py +++ b/quantrisk/positions.py @@ -95,25 +95,3 @@ def turnover(transactions_df, backtest_data_df, period='M'): turnoverpct = turnover / portfolio_value turnoverpct = turnoverpct.fillna(0) r...
REF Move get_all_tickers_traded() to internals. Since it depends on our internal DB layout it should live in internals.py.
py
diff --git a/nipap/nipap/smart_parsing.py b/nipap/nipap/smart_parsing.py index <HASH>..<HASH> 100644 --- a/nipap/nipap/smart_parsing.py +++ b/nipap/nipap/smart_parsing.py @@ -93,8 +93,13 @@ class SmartParser: """ # simple words - comp_word = Word(alphanums + "-./_") - word = Word(alpha...
smart_parsing: fix unicode search We need to match on unicode characters and not just US ASCII, which the old alphanums did. Since it's really difficult building an inclusive list of unicode characters I took the other approach and build a regex that matches everything except or a few "reserved" characters that we use...
py
diff --git a/cwltool/load_tool.py b/cwltool/load_tool.py index <HASH>..<HASH> 100644 --- a/cwltool/load_tool.py +++ b/cwltool/load_tool.py @@ -22,6 +22,7 @@ from six.moves import urllib from . import process, update from .errors import WorkflowException from .process import Process, shortname +from .update import AL...
load_tool.py: Raise validation exception when unsupported CWL Version is used
py
diff --git a/www/src/Lib/site-packages/tester.py b/www/src/Lib/site-packages/tester.py index <HASH>..<HASH> 100644 --- a/www/src/Lib/site-packages/tester.py +++ b/www/src/Lib/site-packages/tester.py @@ -97,8 +97,11 @@ class Tester: if item in container: raise AssertionError('%s should not be in %s...
Add method assertTrue to tester.py
py
diff --git a/lib/svtplay_dl/utils/__init__.py b/lib/svtplay_dl/utils/__init__.py index <HASH>..<HASH> 100644 --- a/lib/svtplay_dl/utils/__init__.py +++ b/lib/svtplay_dl/utils/__init__.py @@ -123,11 +123,11 @@ def norm(name): else: return name -def subtitle_tt(options, data): +def subtitle_tt(options, su...
subtitle_tt: converting didn't work. based on a fix from quite @ github
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ with open('requirements.txt') as f: setuptools.setup( name="luthor-for-lex", - version='0.0.10', + version='0.0.11.dev0', author="Troy Larson", author_email="troylar@gmail.com", descri...
Back to development: <I>
py
diff --git a/fireplace/card.py b/fireplace/card.py index <HASH>..<HASH> 100644 --- a/fireplace/card.py +++ b/fireplace/card.py @@ -720,11 +720,11 @@ class Aura(BaseCard): def _buff(self, target): if self.id: - buff = self.buff(target, self.id) + buff = self.source.buff(target, self.id) else: virtual =...
Make aura sources buff the targets, rather than the aura itself
py
diff --git a/tests/test_configupdater.py b/tests/test_configupdater.py index <HASH>..<HASH> 100644 --- a/tests/test_configupdater.py +++ b/tests/test_configupdater.py @@ -343,10 +343,10 @@ def test_set_option(): assert values == ["param1", "param2"] # non destructive operation with pytest.raises(NoSectionErr...
Use copy instead of deepcopy to satisfy Python <I>
py
diff --git a/photutils/detection/core.py b/photutils/detection/core.py index <HASH>..<HASH> 100644 --- a/photutils/detection/core.py +++ b/photutils/detection/core.py @@ -262,11 +262,8 @@ def find_peaks(data, threshold, min_separation=2, exclude_border=True, data : array_like The 2D array of the image. ...
find_peaks threshold must be scalar (scikit-image) [skip ci]
py
diff --git a/pyzotero/zotero.py b/pyzotero/zotero.py index <HASH>..<HASH> 100644 --- a/pyzotero/zotero.py +++ b/pyzotero/zotero.py @@ -1172,6 +1172,7 @@ class Zotero(object): "contentType", "md5", "filename", + "inPublications" ] ) ...
Add inPublications key to allowed template keys
py
diff --git a/grapheneapi/graphenewsrpc.py b/grapheneapi/graphenewsrpc.py index <HASH>..<HASH> 100644 --- a/grapheneapi/graphenewsrpc.py +++ b/grapheneapi/graphenewsrpc.py @@ -1,5 +1,5 @@ import websocket -# import ssl +import ssl import json import time import logging @@ -78,7 +78,8 @@ class GrapheneWebsocketRPC(ob...
Proper fix for SSL for websocket
py
diff --git a/frog/views/gallery.py b/frog/views/gallery.py index <HASH>..<HASH> 100644 --- a/frog/views/gallery.py +++ b/frog/views/gallery.py @@ -226,7 +226,7 @@ def _filter(request, object_, tags=None, models=(Image, Video), more=False): data = {} LOGGER.debug('init: %f' % (time.clock() - NOW)) - gRang...
Reset range to <I>
py
diff --git a/Lib/fontbakery/checkrunner.py b/Lib/fontbakery/checkrunner.py index <HASH>..<HASH> 100644 --- a/Lib/fontbakery/checkrunner.py +++ b/Lib/fontbakery/checkrunner.py @@ -536,7 +536,7 @@ class CheckRunner: else: try: _len = len(val) - bool_val = False if _len == 0 else True +...
[multiprocessing] minor pylint pleasing
py
diff --git a/findimports.py b/findimports.py index <HASH>..<HASH> 100755 --- a/findimports.py +++ b/findimports.py @@ -625,7 +625,7 @@ class ModuleGraph(object): """Return an alphabetical list of all modules.""" modules = list(self.modules.items()) modules.sort() - return [module for n...
Renamed unused variable to '_'
py
diff --git a/tests/integration/cli/repos_test.py b/tests/integration/cli/repos_test.py index <HASH>..<HASH> 100644 --- a/tests/integration/cli/repos_test.py +++ b/tests/integration/cli/repos_test.py @@ -35,9 +35,9 @@ class TestReposCLI(DustyIntegrationTestCase): def tearDown(self): self.run_command('bundl...
Tear down from top level of our temp dirs
py
diff --git a/globus_cli/commands/ls.py b/globus_cli/commands/ls.py index <HASH>..<HASH> 100644 --- a/globus_cli/commands/ls.py +++ b/globus_cli/commands/ls.py @@ -87,7 +87,7 @@ def _get_ls_res(client, path, endpoint_id, recursive, depth, show_hidden): help=('Do a recursive listing, up to the depth limit....
Change metavar `ls` int range to 'INTEGER' Rather than a metavar of 'INTEGER RANGE', which sounds like it accepts a range (i.e. two values) as its input, the metavar really should just be 'INTEGER'. Just override it in this one place, since we barely use IntRange types. Closes #<I>
py
diff --git a/shinken/modules/webui_broker/webui_broker.py b/shinken/modules/webui_broker/webui_broker.py index <HASH>..<HASH> 100644 --- a/shinken/modules/webui_broker/webui_broker.py +++ b/shinken/modules/webui_broker/webui_broker.py @@ -132,7 +132,6 @@ class Webui_broker(BaseModule, Daemon): print s ...
Remove a double assignment of the logger
py
diff --git a/tensorflow_probability/python/distributions/distribution_properties_test.py b/tensorflow_probability/python/distributions/distribution_properties_test.py index <HASH>..<HASH> 100644 --- a/tensorflow_probability/python/distributions/distribution_properties_test.py +++ b/tensorflow_probability/python/distrib...
Further loosen tolerance of sliced/non-sliced log-prob agreement. The goal of this test is to make sure slicing doesn't mess up the parameters, not to find discrepancies in Eigen's different numeric code paths. PiperOrigin-RevId: <I>
py
diff --git a/pipeline_live/data/sources/alpaca.py b/pipeline_live/data/sources/alpaca.py index <HASH>..<HASH> 100644 --- a/pipeline_live/data/sources/alpaca.py +++ b/pipeline_live/data/sources/alpaca.py @@ -49,9 +49,9 @@ def _get_stockprices(symbols, limit=365, timespan='day'): if df.index.tzinfo is No...
Adds back normalize call from original
py
diff --git a/autopython/ipython.py b/autopython/ipython.py index <HASH>..<HASH> 100644 --- a/autopython/ipython.py +++ b/autopython/ipython.py @@ -121,6 +121,8 @@ class PresenterShell(object): return history def ask_where_to_go(self, max_index): + while self._prompt_queue.qsize() == 0: + ...
Fix a race between the "Go To" prompt and the IPython thread
py
diff --git a/parserator/training.py b/parserator/training.py index <HASH>..<HASH> 100644 --- a/parserator/training.py +++ b/parserator/training.py @@ -27,9 +27,8 @@ def trainModel(training_data, module, # given a list of xml training filepaths & a parser module, # reads the xml & returns training data (for trainMod...
tweak readTrainingData to take in group label instead of module
py
diff --git a/sortedm2m/__init__.py b/sortedm2m/__init__.py index <HASH>..<HASH> 100644 --- a/sortedm2m/__init__.py +++ b/sortedm2m/__init__.py @@ -1,4 +1,4 @@ # -*- coding: utf-8 -*- -__version__ = '1.3.0.dev1' +__version__ = '1.3.1'
Version bump to satisfy pip requirements again
py
diff --git a/gandi/cli/core/params.py b/gandi/cli/core/params.py index <HASH>..<HASH> 100644 --- a/gandi/cli/core/params.py +++ b/gandi/cli/core/params.py @@ -30,7 +30,7 @@ class GandiChoice(click.Choice): gandi = self.gandi or GandiContextHelper() self._choices = self._get_choices(gandi) ...
Fix a bug with Choices which sometimes got stuck in an infinite loop
py
diff --git a/gns3server/schemas/qemu.py b/gns3server/schemas/qemu.py index <HASH>..<HASH> 100644 --- a/gns3server/schemas/qemu.py +++ b/gns3server/schemas/qemu.py @@ -17,7 +17,7 @@ from .custom_adapters import CUSTOM_ADAPTERS_ARRAY_SCHEMA -QEMU_PLATFORMS = ["aarch64", "alpha", "arm", "cris", "i386", "lm32", "m68k"...
Fix small bugs when using the new appliance management API.
py
diff --git a/cleverbot/cleverbot.py b/cleverbot/cleverbot.py index <HASH>..<HASH> 100644 --- a/cleverbot/cleverbot.py +++ b/cleverbot/cleverbot.py @@ -1,4 +1,5 @@ """Python library allowing interaction with the Cleverbot API.""" +import cookielib import hashlib import urllib import urllib2 @@ -58,11 +59,29 @@ class...
added support for cookies (fix for bug #<I>)
py
diff --git a/make_ffi.py b/make_ffi.py index <HASH>..<HASH> 100644 --- a/make_ffi.py +++ b/make_ffi.py @@ -72,8 +72,8 @@ def doit(vex_path): stdout=subprocess.PIPE, stderr=subprocess.PIPE) header, stderr = p.communicate() - if p...
Add a sanity check of the FFI header. Make sure the generated FFI header string is not empty. It happens when user specifies CPP environmental variable and uses g++ instead of cpp. Thanks @gynophage for helping me debugging this issue.
py
diff --git a/location_field/widgets.py b/location_field/widgets.py index <HASH>..<HASH> 100644 --- a/location_field/widgets.py +++ b/location_field/widgets.py @@ -17,7 +17,7 @@ class LocationWidget(widgets.TextInput): attrs = kwargs.pop('attrs', None) self.based_fields = kwargs.pop('based_fields', N...
Fixes an issue when passing form fields to based_fields #<I>
py
diff --git a/src/livestreamer/packages/flashmedia/box.py b/src/livestreamer/packages/flashmedia/box.py index <HASH>..<HASH> 100644 --- a/src/livestreamer/packages/flashmedia/box.py +++ b/src/livestreamer/packages/flashmedia/box.py @@ -814,14 +814,14 @@ class BoxPayloadABST(BoxPayload): for i in range(server_...
Sync packages.flashmedia with upstream.
py
diff --git a/blockstack/lib/operations/namespacereveal.py b/blockstack/lib/operations/namespacereveal.py index <HASH>..<HASH> 100644 --- a/blockstack/lib/operations/namespacereveal.py +++ b/blockstack/lib/operations/namespacereveal.py @@ -293,6 +293,7 @@ def check( state_engine, nameop, block_id, checked_ops ): ...
Count reveal_block from the namespace preorder
py
diff --git a/tests/core/network/test_network.py b/tests/core/network/test_network.py index <HASH>..<HASH> 100644 --- a/tests/core/network/test_network.py +++ b/tests/core/network/test_network.py @@ -94,6 +94,18 @@ class TestGridDing0(object): grid=load_grid) load_grid._loads.append(l...
Added tests for loads in GridDing0
py
diff --git a/wechatpy/replies.py b/wechatpy/replies.py index <HASH>..<HASH> 100644 --- a/wechatpy/replies.py +++ b/wechatpy/replies.py @@ -150,7 +150,15 @@ class MusicReply(BaseReply): @register_reply('news') class ArticleReply(BaseReply): type = 'news' - articles = ArticleField('Articles') + articles = Ar...
Add utility method add_article for ArticleReply
py
diff --git a/netsnmpagent.py b/netsnmpagent.py index <HASH>..<HASH> 100644 --- a/netsnmpagent.py +++ b/netsnmpagent.py @@ -6,7 +6,7 @@ # Main module # -"""Allows to write net-snmp subagents in Python. +""" Allows to write net-snmp subagents in Python. The Python bindings that ship with net-snmp support client op...
netsnmpagent: Update module docstring Hooray, we're not under heavy development anymore!
py
diff --git a/restclients/dao_implementation/o365.py b/restclients/dao_implementation/o365.py index <HASH>..<HASH> 100644 --- a/restclients/dao_implementation/o365.py +++ b/restclients/dao_implementation/o365.py @@ -152,8 +152,9 @@ class Live(object): def _expired_auth_token(self, response): try: ...
corrects reauth cue
py
diff --git a/tasktiger/tasktiger.py b/tasktiger/tasktiger.py index <HASH>..<HASH> 100644 --- a/tasktiger/tasktiger.py +++ b/tasktiger/tasktiger.py @@ -591,6 +591,17 @@ class TaskTiger(object): return total_processed + def would_process_configured_queue(self, queue_name): + """ + Return if ...
Add TaskTiger.would_process_configured_queue (#<I>)
py
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py index <HASH>..<HASH> 100644 --- a/cmd2/cmd2.py +++ b/cmd2/cmd2.py @@ -2612,6 +2612,10 @@ Usage: Usage: unalias [-a] name [name ...] param = args.settable[0] self.show(args, param) + def complete_set(self, text, line, begidx, endidx): + ...
The set command now tab-completes the setting names
py
diff --git a/test/unit/Utilities/IOTest.py b/test/unit/Utilities/IOTest.py index <HASH>..<HASH> 100644 --- a/test/unit/Utilities/IOTest.py +++ b/test/unit/Utilities/IOTest.py @@ -35,7 +35,7 @@ class IOTest: assert net.Nt == 54 assert sp.shape(net['pore.coords']) == (27, 3) assert sp.shape(net...
In IO.VTK Non-Legacy mode, the network data does NOT get the network.name appended to it. I changed this on the last commit, but forgot to update the test.
py
diff --git a/allennlp/predictors/coref.py b/allennlp/predictors/coref.py index <HASH>..<HASH> 100644 --- a/allennlp/predictors/coref.py +++ b/allennlp/predictors/coref.py @@ -199,6 +199,12 @@ class CorefPredictor(Predictor): """ document = json_dict["document"] spacy_document = self._spacy(do...
Fixes contiguous whitespaces causing coref model to produce bad results (#<I>)
py
diff --git a/datatableview/helpers.py b/datatableview/helpers.py index <HASH>..<HASH> 100644 --- a/datatableview/helpers.py +++ b/datatableview/helpers.py @@ -22,7 +22,7 @@ import six from .utils import resolve_orm_path, XEDITABLE_FIELD_TYPES -if get_version().split('.') >= ['1', '5']: +if [int(v) for v in get_ver...
Update helpers.py to properly detect Django <I> and up Was not allowing localtime adjustment due to incorrect version check which fails on DJango versions over <I>.
py
diff --git a/ufork/ufork.py b/ufork/ufork.py index <HASH>..<HASH> 100644 --- a/ufork/ufork.py +++ b/ufork/ufork.py @@ -50,7 +50,11 @@ class Worker(object): seed() # re-seed random number generator post-fork self.stdin_handler = StdinHandler(self) self.stdin_handler.start() - self.arbi...
added handling around user post_fork exception
py
diff --git a/nodeconductor/core/log.py b/nodeconductor/core/log.py index <HASH>..<HASH> 100644 --- a/nodeconductor/core/log.py +++ b/nodeconductor/core/log.py @@ -4,7 +4,6 @@ from datetime import datetime import logging from logging.handlers import SocketHandler import json -import uuid from nodeconductor.core.mi...
Log uuids without hyphens NC-<I>
py
diff --git a/compiler/grammar.py b/compiler/grammar.py index <HASH>..<HASH> 100644 --- a/compiler/grammar.py +++ b/compiler/grammar.py @@ -113,6 +113,8 @@ expression_ops = infixNotation(expression_definition, [ ('+', 2, opAssoc.LEFT, handle_binary_op), ('-', 2, opAssoc.LEFT, handle_binary_op), ('-', 1, opAssoc.RI...
added && and || to expression parser
py
diff --git a/photutils/aperture/core.py b/photutils/aperture/core.py index <HASH>..<HASH> 100644 --- a/photutils/aperture/core.py +++ b/photutils/aperture/core.py @@ -552,7 +552,7 @@ class PixelAperture(Aperture): # The aperture object must have a single value for each shape # parameter so we must use...
Ensure scalar values when converting between pixel and sky apertures
py
diff --git a/dvc/__init__.py b/dvc/__init__.py index <HASH>..<HASH> 100644 --- a/dvc/__init__.py +++ b/dvc/__init__.py @@ -5,7 +5,7 @@ Make your data science projects reproducible and shareable. """ import os -VERSION_BASE = '0.10.0' +VERSION_BASE = '0.10.1' __version__ = VERSION_BASE PACKAGEPATH = os.path.absp...
dvc: bump to <I>
py
diff --git a/mautrix/bridge/matrix.py b/mautrix/bridge/matrix.py index <HASH>..<HASH> 100644 --- a/mautrix/bridge/matrix.py +++ b/mautrix/bridge/matrix.py @@ -124,11 +124,12 @@ class BaseMatrixHandler: async def init_encryption(self) -> None: if self.e2ee: if not await self.e2ee.check_server_...
Ignore advertised login flows as synapse is broken (ref matrix-org/synapse#<I>)
py
diff --git a/nion/swift/DocumentController.py b/nion/swift/DocumentController.py index <HASH>..<HASH> 100755 --- a/nion/swift/DocumentController.py +++ b/nion/swift/DocumentController.py @@ -780,10 +780,11 @@ class DocumentController(Window.Window): match_items.update(display_item.data_items) ...
Show computations with extended display items as inputs too.
py
diff --git a/tcex/tcex.py b/tcex/tcex.py index <HASH>..<HASH> 100644 --- a/tcex/tcex.py +++ b/tcex/tcex.py @@ -209,7 +209,7 @@ class TcEx(object): def _logger_formatter(self): """Return log formatter.""" tx_format = '%(asctime)s - %(name)s - %(levelname)s - %(message)s ' - tx_format += '(%...
I propose we add the filename to each log
py
diff --git a/src/wormhole/_nameplate.py b/src/wormhole/_nameplate.py index <HASH>..<HASH> 100644 --- a/src/wormhole/_nameplate.py +++ b/src/wormhole/_nameplate.py @@ -133,6 +133,7 @@ class Nameplate(object): S4A.upon(connected, enter=S4B, outputs=[RC_tx_release]) S4A.upon(close, enter=S4A, outputs=[]) S4...
nameplate: tolerate rx_claimed during shutdown
py
diff --git a/karaage/machines/models.py b/karaage/machines/models.py index <HASH>..<HASH> 100644 --- a/karaage/machines/models.py +++ b/karaage/machines/models.py @@ -134,13 +134,13 @@ class UserAccount(models.Model): default_project=default_project, date_created=datetime.datetime.today()) +...
Create account before adding projects. Change-Id: I1d9ab7d<I>a<I>a9f9b<I>a9ed<I>aa<I>a5
py
diff --git a/area4/__init__.py b/area4/__init__.py index <HASH>..<HASH> 100644 --- a/area4/__init__.py +++ b/area4/__init__.py @@ -12,6 +12,8 @@ divider1 = str("------------------------") divider2 = str("________________________") divider3 = str("........................") divider4 = str("⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛") +divider5 =...
New up and down arrow emojis!
py
diff --git a/dp_tornado/helper/aws/s3.py b/dp_tornado/helper/aws/s3.py index <HASH>..<HASH> 100644 --- a/dp_tornado/helper/aws/s3.py +++ b/dp_tornado/helper/aws/s3.py @@ -169,20 +169,24 @@ class S3Helper(dpHelper): fields['success_action_status'] = '201' conditions.append({'success_action_stat...
return payload as old fashioned boto.
py
diff --git a/soapypower/power.py b/soapypower/power.py index <HASH>..<HASH> 100644 --- a/soapypower/power.py +++ b/soapypower/power.py @@ -145,9 +145,8 @@ class SoapyPower: buffer_size = math.ceil(samples / base_buffer_size) * base_buffer_size if not max_buffer_size: - # Max buffer size a...
Lower max buffer size to be about <I>MB (<I>MB has been too much on systems with not so much RAM)
py
diff --git a/spiketoolkit/postprocessing/threshold_min_num_spikes.py b/spiketoolkit/postprocessing/threshold_min_num_spikes.py index <HASH>..<HASH> 100644 --- a/spiketoolkit/postprocessing/threshold_min_num_spikes.py +++ b/spiketoolkit/postprocessing/threshold_min_num_spikes.py @@ -25,6 +25,6 @@ class ThresholdMinNumSp...
Update threshold_min_num_spikes.py
py
diff --git a/noxfile.py b/noxfile.py index <HASH>..<HASH> 100644 --- a/noxfile.py +++ b/noxfile.py @@ -32,7 +32,12 @@ TEST_DEPENDENCIES = [ "grpcio", ] -ASYNC_DEPENDENCIES = ["pytest-asyncio", "aioresponses", "asynctest"] +ASYNC_DEPENDENCIES = [ + "pytest-asyncio", + "aioresponses", + "asynctest", + ...
test: skip aiohttp version that breaks aioresponses (#<I>)
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -28,6 +28,7 @@ sys.modules['numpy'] = Mock() sys.modules['numpy.linalg'] = Mock() sys.modules['scipy'] = Mock() sys.modules['scipy.optimize'] = Mock() +sys.modules['scipy.interpolate'] = Mock() sys.modules[...
fixed docs conf to ignore scipy.interpolate in ADef attack
py
diff --git a/discord/ext/tasks/__init__.py b/discord/ext/tasks/__init__.py index <HASH>..<HASH> 100644 --- a/discord/ext/tasks/__init__.py +++ b/discord/ext/tasks/__init__.py @@ -185,7 +185,7 @@ class Loop(Generic[LF]): now = datetime.datetime.now(datetime.timezone.utc) if now ...
[tasks] Replace None check with MISSING check in task loop
py
diff --git a/salt/modules/boto_secgroup.py b/salt/modules/boto_secgroup.py index <HASH>..<HASH> 100644 --- a/salt/modules/boto_secgroup.py +++ b/salt/modules/boto_secgroup.py @@ -476,6 +476,9 @@ def authorize(name=None, source_group_name=None, log.error(msg) return False excep...
if we are trying to add the same rule then we are already in the desired state, return true
py
diff --git a/signalfx/version.py b/signalfx/version.py index <HASH>..<HASH> 100644 --- a/signalfx/version.py +++ b/signalfx/version.py @@ -1,4 +1,4 @@ # Copyright (C) 2015 SignalFx, Inc. All rights reserved. name = 'signalfx' -version = '0.3.6' +version = '0.3.7'
Updating version to push to Pypi
py
diff --git a/treeherder/services/pulse/consumers.py b/treeherder/services/pulse/consumers.py index <HASH>..<HASH> 100644 --- a/treeherder/services/pulse/consumers.py +++ b/treeherder/services/pulse/consumers.py @@ -20,11 +20,12 @@ class PulseConsumer(ConsumerMixin): """ Consume jobs from Pulse exchanges ...
Reduce configuration needed to build a Consumer instance Since we already have subclasses for the two types we can store their queue suffixes there.
py
diff --git a/incuna_auth/urls.py b/incuna_auth/urls.py index <HASH>..<HASH> 100644 --- a/incuna_auth/urls.py +++ b/incuna_auth/urls.py @@ -11,7 +11,7 @@ class IncunaAuthenticationForm(AuthenticationForm): urlpatterns = patterns('django.contrib.auth.views', - url(r'^login/$', 'login', {'authentication_form': Aut...
Fix urls to use IncunaAuthenticationForm for login.
py
diff --git a/myfitnesspal/client.py b/myfitnesspal/client.py index <HASH>..<HASH> 100644 --- a/myfitnesspal/client.py +++ b/myfitnesspal/client.py @@ -231,6 +231,17 @@ class Client(MFPBase): self._get_url_for_measurements() ) + return self._get_measurements(document) + + def _get_measu...
#<I> Added method to retrieve measurement ids MyFitnessPal uses IDs to identify custom measurements. This method returns a dictionary of measurement names as keys and IDs as values. Method will be expanded to collect actual data in following commits.
py
diff --git a/tests/unit/test_analytics.py b/tests/unit/test_analytics.py index <HASH>..<HASH> 100644 --- a/tests/unit/test_analytics.py +++ b/tests/unit/test_analytics.py @@ -25,7 +25,7 @@ def test_runtime_info(tmp_global_config): { "dvc_version": Any(builtin_str, str), "is_binary": b...
tests: adjust scm_class schema
py
diff --git a/aiounifi/devices.py b/aiounifi/devices.py index <HASH>..<HASH> 100644 --- a/aiounifi/devices.py +++ b/aiounifi/devices.py @@ -124,7 +124,7 @@ class Device(APIItem): } ) - url = "/rest/device/{self.id}" + url = f"/rest/device/{self.id}" data = {"port_ov...
Missed one f-string
py
diff --git a/src/python/test/test_dxclient.py b/src/python/test/test_dxclient.py index <HASH>..<HASH> 100755 --- a/src/python/test/test_dxclient.py +++ b/src/python/test/test_dxclient.py @@ -1358,6 +1358,9 @@ def main(array): first_job_handler.get_output_ref("array")...
Fix race condition in test (need to wait for state runnable)
py
diff --git a/tests/factory.py b/tests/factory.py index <HASH>..<HASH> 100644 --- a/tests/factory.py +++ b/tests/factory.py @@ -171,13 +171,21 @@ class FactoryTestCase(unittest.TestCase): def test_binary(self): from faker.providers.misc import Provider - + for _ in range(999): ...
Add in seed test for binary and fixed isinstance Pull #<I>
py
diff --git a/src/python/dxpy/cli/exec_io.py b/src/python/dxpy/cli/exec_io.py index <HASH>..<HASH> 100644 --- a/src/python/dxpy/cli/exec_io.py +++ b/src/python/dxpy/cli/exec_io.py @@ -402,8 +402,6 @@ def get_input_single(param_desc): return value except EOFError: raise Exception('') - excep...
Don't transform KeyboardInterrupt into Exception This interferes with expected exception handling and prints an ugly stack trace when the user presses Ctrl+C.
py
diff --git a/python-package/lightgbm/sklearn.py b/python-package/lightgbm/sklearn.py index <HASH>..<HASH> 100644 --- a/python-package/lightgbm/sklearn.py +++ b/python-package/lightgbm/sklearn.py @@ -529,6 +529,9 @@ class LGBMModel(_LGBMModelBase): } } + def __sklearn_is_fitted__(self) -> bool...
[python][sklearn] add `__sklearn_is_fitted__()` method to be better compatible with scikit-learn API (#<I>)
py
diff --git a/bigquery/tests/system.py b/bigquery/tests/system.py index <HASH>..<HASH> 100644 --- a/bigquery/tests/system.py +++ b/bigquery/tests/system.py @@ -24,6 +24,7 @@ import uuid import six +from google.api.core.exceptions import PreconditionFailed from google.cloud import bigquery from google.cloud.bigque...
bigquery: add system test for dataset update with etag (#<I>)
py
diff --git a/nodeconductor/structure/serializers.py b/nodeconductor/structure/serializers.py index <HASH>..<HASH> 100644 --- a/nodeconductor/structure/serializers.py +++ b/nodeconductor/structure/serializers.py @@ -1126,6 +1126,9 @@ class SummaryResourceSerializer(BasicResourceSerializer): created = serializers.Da...
Expose coordinates for resources (SAAS-<I>)
py
diff --git a/peony/exceptions.py b/peony/exceptions.py index <HASH>..<HASH> 100644 --- a/peony/exceptions.py +++ b/peony/exceptions.py @@ -137,7 +137,7 @@ class RateLimitExceeded(PeonyException): int Time when the limit will be reset """ - return int(self.response.headers['X-Rate-L...
make sure RateLimitExceeded.reset_in returns 0 or more there could be some cases where no headers would be in the response the value of reset would then be 0 and reset_in would be 0 too. A new request should be made to know how much time is needed before making a new successful request. <<URL>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: setup( name='django-localized-fields', - version='1.7', + version='1.8', packages=find_packages(), include_packag...
Bumped version to <I>
py
diff --git a/torchvision/datasets/folder.py b/torchvision/datasets/folder.py index <HASH>..<HASH> 100644 --- a/torchvision/datasets/folder.py +++ b/torchvision/datasets/folder.py @@ -4,6 +4,7 @@ from PIL import Image import os import os.path +import sys def has_file_allowed_extension(filename, extensions): @@ ...
Use scandir in _find_classes (#<I>) (#<I>) * Use scandir in _find_classes (#<I>) * fix lint
py