diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/salt/utils/process.py b/salt/utils/process.py index <HASH>..<HASH> 100644 --- a/salt/utils/process.py +++ b/salt/utils/process.py @@ -237,13 +237,13 @@ class ProcessManager(object): else: return - for pid, p_map in list(self._process_map.items()): + for pid, p_...
Removing lists and change back to earlier
py
diff --git a/src/python/turicreate/toolkits/drawing_classifier/drawing_classifier.py b/src/python/turicreate/toolkits/drawing_classifier/drawing_classifier.py index <HASH>..<HASH> 100644 --- a/src/python/turicreate/toolkits/drawing_classifier/drawing_classifier.py +++ b/src/python/turicreate/toolkits/drawing_classifier...
Moved offending code to if loop (#<I>) Moved data init for forward() pass inside the TF if-condition.
py
diff --git a/oembed/providers.py b/oembed/providers.py index <HASH>..<HASH> 100644 --- a/oembed/providers.py +++ b/oembed/providers.py @@ -459,10 +459,9 @@ class DjangoProvider(BaseProvider): the url to the new image and the new width & height (http://path-to-new-image, 300, 300) """ - ...
Relaxing requirement on image field, fixes #<I>
py
diff --git a/luminoso_api/json_stream.py b/luminoso_api/json_stream.py index <HASH>..<HASH> 100644 --- a/luminoso_api/json_stream.py +++ b/luminoso_api/json_stream.py @@ -137,7 +137,7 @@ def detect_file_encoding(filename): your file contains, please save it in UTF-8. """ opened = open(filename, 'rb') - ...
.strip() csv header names, because apparently people sometimes put extra spaces in them
py
diff --git a/uptick/markets.py b/uptick/markets.py index <HASH>..<HASH> 100644 --- a/uptick/markets.py +++ b/uptick/markets.py @@ -324,5 +324,28 @@ def spread(ctx, market, side, min, max, num, total, account): pprint(ctx.bitshares.txbuffer.broadcast()) -if __name__ == "__main__": - main() +@main.command() +...
[calls] list call positions of an account
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -92,5 +92,5 @@ setup( url="https://github.com/aresch/rencode", cmdclass={'build_ext': optional_build_ext}, ext_modules=ext_modules, - setup_requires=['setuptools', 'wheel'], + setup_requires=['setuptools'], )
Remove unnecessary wheel dependency (#<I>)
py
diff --git a/client/cli/ok.py b/client/cli/ok.py index <HASH>..<HASH> 100644 --- a/client/cli/ok.py +++ b/client/cli/ok.py @@ -71,7 +71,9 @@ CLIENT_ROOT = os.path.dirname(client.__file__) def parse_input(command_input=None): """Parses command line input.""" parser = argparse.ArgumentParser( + prog='py...
Show usage as "python3 ok [--help] [options]"
py
diff --git a/plaso/engine/engine.py b/plaso/engine/engine.py index <HASH>..<HASH> 100644 --- a/plaso/engine/engine.py +++ b/plaso/engine/engine.py @@ -275,7 +275,12 @@ class BaseEngine(object): searcher = file_system_searcher.FileSystemSearcher( file_system, mount_point) - operating_system = se...
Changes to gracefully handle pre-processing errors #<I> (#<I>)
py
diff --git a/salt/modules/tls.py b/salt/modules/tls.py index <HASH>..<HASH> 100644 --- a/salt/modules/tls.py +++ b/salt/modules/tls.py @@ -926,7 +926,7 @@ def create_csr(ca_name, req.get_subject().CN = CN req.get_subject().emailAddress = emailAddress - extensions = get_extensions('server')['csr'] + ex...
Oops. Neglected to replace the string, 'server', with cert_type when those bits were added in. Eagle eye award to @quantonganh
py
diff --git a/examples/cpp/example_test.py b/examples/cpp/example_test.py index <HASH>..<HASH> 100644 --- a/examples/cpp/example_test.py +++ b/examples/cpp/example_test.py @@ -321,7 +321,7 @@ Tock... # SSL without SASL addr = "amqps://" + pick_addr() + "/examples" # Disable valgrind when using...
PROTON-<I>: Turn off valgrind for tests which fail Travis CI. - This should be reverted if we move to a different Travis environment or find another fix for this problem.
py
diff --git a/lib/svtplay_dl/utils/stream.py b/lib/svtplay_dl/utils/stream.py index <HASH>..<HASH> 100644 --- a/lib/svtplay_dl/utils/stream.py +++ b/lib/svtplay_dl/utils/stream.py @@ -81,12 +81,13 @@ def subtitle_filter(subtitles) -> List: for sub in subtitles: if sub.subfix not in languages: - ...
subtitle_filter: rewrite function to work as intended
py
diff --git a/salt/states/file.py b/salt/states/file.py index <HASH>..<HASH> 100644 --- a/salt/states/file.py +++ b/salt/states/file.py @@ -3251,7 +3251,7 @@ def copy(name, source, force=False, makedirs=False): dname = os.path.dirname(name) if not os.path.isdir(dname): if makedirs: - __salt...
copy and rename should pass name instead of dname when makedirs is true
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -105,7 +105,7 @@ setup( install_requires=['pybind11 >= 2.2, < 3'], cmdclass={'build_ext': BuildExt}, zip_safe=False, - setup_requires=['pytest-runner', 'setuptools-scm'], + setup_requires=['pytest-runner',...
Fix spelling of setuptools_scm
py
diff --git a/pymatgen/core/surface.py b/pymatgen/core/surface.py index <HASH>..<HASH> 100644 --- a/pymatgen/core/surface.py +++ b/pymatgen/core/surface.py @@ -817,17 +817,16 @@ class SlabGenerator(object): return sorted(new_slabs, key=lambda s: s.energy) - def symmetrize_slab(self, slab, tol=1e-3): + ...
rename symmetrize slab to nonstoichiometric symmetrized slab
py
diff --git a/beanstalkc.py b/beanstalkc.py index <HASH>..<HASH> 100644 --- a/beanstalkc.py +++ b/beanstalkc.py @@ -192,12 +192,12 @@ class Connection(object): def delete(self, jid): self._interact('delete %d\r\n' % jid, ['DELETED'], ['NOT_FOUND']) - def release(self, jid, priority=None, delay=0): + ...
Fix default for the priority parameter in Connection#release and #bury As Connection#release and #bury are meant to be even more low-level than the respective methods in Job, we keep the priority-preserving magic in Job and just use DEFAULT_PRIORITY as default in Connection. Fixes #<I>.
py
diff --git a/pipeline/compilers/__init__.py b/pipeline/compilers/__init__.py index <HASH>..<HASH> 100644 --- a/pipeline/compilers/__init__.py +++ b/pipeline/compilers/__init__.py @@ -36,9 +36,10 @@ class Compiler(object): infile = self.storage.path(input_path) except NotImp...
Use the file in the project to check if file is outdated, and compile this file. This will allow to set PIPELINE_COLLECTOR_ENABLED to False and still pick up changes.
py
diff --git a/pyArango/graph.py b/pyArango/graph.py index <HASH>..<HASH> 100644 --- a/pyArango/graph.py +++ b/pyArango/graph.py @@ -72,7 +72,12 @@ class Graph(object) : self._rev = jsonInit["_rev"] self._id = jsonInit["_id"] - defs = [] + self.definitions = {} + for de in self._edgeDefinitions : + if de.na...
Now tests if the definition is an edge collection
py
diff --git a/openpnm/core/ModelsMixin.py b/openpnm/core/ModelsMixin.py index <HASH>..<HASH> 100644 --- a/openpnm/core/ModelsMixin.py +++ b/openpnm/core/ModelsMixin.py @@ -27,6 +27,8 @@ class ModelsDict(PrintableDict): class ModelsMixin(): def add_model(self, propname, model, regen_mode='deferred', **kwargs): + ...
Added remove_model function to ModelsMixin
py
diff --git a/picopt/detect_format.py b/picopt/detect_format.py index <HASH>..<HASH> 100644 --- a/picopt/detect_format.py +++ b/picopt/detect_format.py @@ -28,7 +28,6 @@ def is_format_selected(image_format, formats, progs): was selected by the command line arguments""" intersection = formats & Settings.formats...
remove debugging print from detect_format
py
diff --git a/wsgidav/request_server.py b/wsgidav/request_server.py index <HASH>..<HASH> 100644 --- a/wsgidav/request_server.py +++ b/wsgidav/request_server.py @@ -667,7 +667,17 @@ class RequestServer(object): fileobj = res.beginWrite(contentType=environ.get("CONTENT_TYPE")) if environ.get("H...
Fix Mac Finder upload and copy as described in issue <I>: <URL>
py
diff --git a/test/unit/test_filters.py b/test/unit/test_filters.py index <HASH>..<HASH> 100644 --- a/test/unit/test_filters.py +++ b/test/unit/test_filters.py @@ -12,8 +12,7 @@ ps.settings.tqdm['disable'] = True class FilterTest(): def setup_class(self): np.random.seed(0) - self.im = ps.generators...
oops, broke all the tests
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -37,7 +37,9 @@ kwargs = dict( 'requests>=2.18.0,<3.0.0', 'toml>=0.9.4,<0.10.0', 'cachy>=0.1.0,<0.2.0', - 'pip-tools>=1.11.0,<2.0.0' + 'pip-tools>=1.11.0,<2.0.0', + 'twine>=^1.10....
Add missing dependencies to setup.py
py
diff --git a/salt/utils/schedule.py b/salt/utils/schedule.py index <HASH>..<HASH> 100644 --- a/salt/utils/schedule.py +++ b/salt/utils/schedule.py @@ -582,6 +582,7 @@ class Schedule(object): self.returners = salt.loader.returners(self.opts, self.functions) ret = {'id': self.opts.get('id', 'master'...
Add fun_args to scheduled return data (part of #<I>) (#<I>) * Add fun_args and fun_kwargs to scheduled return data (part of #<I>) * scheduled return data (part of #<I>): Improved fix for fun_args
py
diff --git a/symfit/core/support.py b/symfit/core/support.py index <HASH>..<HASH> 100644 --- a/symfit/core/support.py +++ b/symfit/core/support.py @@ -13,7 +13,7 @@ from sympy.utilities.lambdify import lambdify import sympy from sympy.tensor import Idx -from sympy import symbols +from sympy import symbols, MatrixEx...
Any valid Expr or MatrixExpr that is not a Parameter is now a valid variable
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -84,7 +84,7 @@ if __name__ == '__main__': zip_safe=False, extras_require={ 'docs': [ - 'sphinx==1.6.9', + 'sphinx<1.7.0', ], 'tests': [ ...
attempted fix for readthedocs/sphinx bug
py
diff --git a/tests/unit/io/JSONGraphFormatTest.py b/tests/unit/io/JSONGraphFormatTest.py index <HASH>..<HASH> 100644 --- a/tests/unit/io/JSONGraphFormatTest.py +++ b/tests/unit/io/JSONGraphFormatTest.py @@ -51,6 +51,14 @@ class JSONGraphFormatTest: 'pore.area', 'pore.volume'} assert pore...
Ensure correctness of pore properties
py
diff --git a/lib/search_engine.py b/lib/search_engine.py index <HASH>..<HASH> 100644 --- a/lib/search_engine.py +++ b/lib/search_engine.py @@ -1993,10 +1993,10 @@ def search_unit(p, f=None, m=None): # we are doing search by the citation count set = search_unit_citedby(p) elif m == 'a' or m == 'r'...
BibIndex: author index include/exclude first names * New config variable CFG_BIBINDEX_AUTHOR_WORD_INDEX_EXCLUDE_FIRST_NAMES is introduced to govern whether to include or exclude first names when creating author word index. The default is to include first names, as it used to be traditionally. (closes #<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -1,6 +1,7 @@ #!/usr/bin/env python import logging import os +import runpy import sys import subprocess import warnings @@ -67,9 +68,10 @@ class PyTest(TestCommand): def run_tests(self): # before running tes...
Configured to use autopep8 as a module in order to work with venvs.
py
diff --git a/svg/charts/line.py b/svg/charts/line.py index <HASH>..<HASH> 100644 --- a/svg/charts/line.py +++ b/svg/charts/line.py @@ -28,6 +28,10 @@ class Line(Graph): stylesheet_names = Graph.stylesheet_names + ['plot.css'] + def __init__(self, fields, *args, **kargs): + self.fields = fields + super(Line, se...
Thanks to Emmanuel Blot for patch: * Adds dedicated initializer to line.py consistent with bar.py to define the fields. * Corrected buggy logic in y-axis label rendering.
py
diff --git a/AegeanTools/catalogs.py b/AegeanTools/catalogs.py index <HASH>..<HASH> 100644 --- a/AegeanTools/catalogs.py +++ b/AegeanTools/catalogs.py @@ -488,7 +488,7 @@ def writeAnn(filename, catalog, fmt): out = open(new_file, 'w') print >> out, "#Aegean version {0}-({1})".format(__version_...
fixed "1e-5" type notation problems with .reg files.
py
diff --git a/pyinfra/api/facts.py b/pyinfra/api/facts.py index <HASH>..<HASH> 100644 --- a/pyinfra/api/facts.py +++ b/pyinfra/api/facts.py @@ -237,8 +237,9 @@ def get_facts(state, name, args=None, ensure_hosts=None): data = fact.default() - if status and stdout: - data = fact....
Only try to process fact output if present.
py
diff --git a/telethon/client/messageparse.py b/telethon/client/messageparse.py index <HASH>..<HASH> 100644 --- a/telethon/client/messageparse.py +++ b/telethon/client/messageparse.py @@ -211,13 +211,18 @@ class MessageParseMethods: # deleted or `WORKER_BUSY_TOO_LONG_RETRY` if there are issues at ...
Fix return value when fwding msgs if some are missing It was supposed to return None for the spots were it failed to fwd a message, but instead only those that were present were returned, because we were iterating over the wrong object (dict and not list).
py
diff --git a/salt/states/memcached.py b/salt/states/memcached.py index <HASH>..<HASH> 100644 --- a/salt/states/memcached.py +++ b/salt/states/memcached.py @@ -14,6 +14,11 @@ try: except ImportError: HAS_MEMCACHE = False +# Define a function alias in order not to shadow built-in's +__func_alias__ = { + 'set_'...
avoid shadowing set built-in type in memcached state ************* Module salt.states.memcached salt/states/memcached.py:<I>: [W<I>(redefined-builtin), set] Redefining built-in 'set'
py
diff --git a/reana_commons/version.py b/reana_commons/version.py index <HASH>..<HASH> 100755 --- a/reana_commons/version.py +++ b/reana_commons/version.py @@ -14,4 +14,4 @@ and parsed by ``setup.py``. from __future__ import absolute_import, print_function -__version__ = "0.7.0.dev20200417" +__version__ = "0.7.0.de...
release: <I>.de<I>
py
diff --git a/app/sqlite.py b/app/sqlite.py index <HASH>..<HASH> 100644 --- a/app/sqlite.py +++ b/app/sqlite.py @@ -134,6 +134,5 @@ class ProteinPeptideDB(DatabaseConnection): self.conn.commit() def index(self): - self.index_column('spec_index', 'peptides', 'spectra_file') - self.index_colu...
Create correct indexes (I hope) on tables
py
diff --git a/network/datadog_checks/network/network.py b/network/datadog_checks/network/network.py index <HASH>..<HASH> 100644 --- a/network/datadog_checks/network/network.py +++ b/network/datadog_checks/network/network.py @@ -20,6 +20,11 @@ from datadog_checks.base.utils.common import pattern_filter from datadog_chec...
Fix procfs_path retrieval in network check (#<I>)
py
diff --git a/flask_ask/core.py b/flask_ask/core.py index <HASH>..<HASH> 100644 --- a/flask_ask/core.py +++ b/flask_ask/core.py @@ -871,4 +871,4 @@ class YamlLoader(BaseLoader): if template in self.mapping: source = self.mapping[template] return source, None, lambda: source == self.map...
fix for YamlLoader: raise TemplateNotFound instead of returning it
py
diff --git a/bottery/handlers.py b/bottery/handlers.py index <HASH>..<HASH> 100644 --- a/bottery/handlers.py +++ b/bottery/handlers.py @@ -22,9 +22,15 @@ class BaseHandler: class RegexHandler(BaseHandler): + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + self.regex = No...
Added if to avoid call re.compile twice
py
diff --git a/pyvisa-sim/parser.py b/pyvisa-sim/parser.py index <HASH>..<HASH> 100644 --- a/pyvisa-sim/parser.py +++ b/pyvisa-sim/parser.py @@ -290,7 +290,7 @@ def get_devices(filename, bundled): dd = loader.get_device_dict(device_name, resource_dict.get('filename', None), ...
Fixed bug in which get_devices of parser.py would throw an exception for missing positional argument in loader.get_device_dict call.
py
diff --git a/panya/generic/views.py b/panya/generic/views.py index <HASH>..<HASH> 100755 --- a/panya/generic/views.py +++ b/panya/generic/views.py @@ -37,7 +37,8 @@ class GenericBase(object): view_modifier = view.params['extra_context']['view_modifier'] if view_modifier: if ca...
correctly call and set callable view modifier
py
diff --git a/tensorboardX/utils.py b/tensorboardX/utils.py index <HASH>..<HASH> 100644 --- a/tensorboardX/utils.py +++ b/tensorboardX/utils.py @@ -80,7 +80,7 @@ def make_grid(I, ncols=8): W = I.shape[3] ncols = min(nimg, ncols) nrows = int(np.ceil(float(nimg) / ncols)) - canvas = np.zeros((I.shape[1],...
fix #<I> (#<I>)
py
diff --git a/backend/src/analyser/common/uploadcontroller.py b/backend/src/analyser/common/uploadcontroller.py index <HASH>..<HASH> 100644 --- a/backend/src/analyser/common/uploadcontroller.py +++ b/backend/src/analyser/common/uploadcontroller.py @@ -112,11 +112,11 @@ class UploadController(object): srcFs = si...
indicate on screen that resampling is in progress
py
diff --git a/test.py b/test.py index <HASH>..<HASH> 100644 --- a/test.py +++ b/test.py @@ -393,5 +393,7 @@ if __name__ == '__main__': process = Process(target=run_server) process.start() time.sleep(0.1) - unittest.main(exit=False) - process.terminate() + try: + unittest.main() + finall...
test.py: return proper exit code to shell on failure This change helps downstream packagers make the package build fail if a test fails.
py
diff --git a/aiogram/types/reply_keyboard.py b/aiogram/types/reply_keyboard.py index <HASH>..<HASH> 100644 --- a/aiogram/types/reply_keyboard.py +++ b/aiogram/types/reply_keyboard.py @@ -41,7 +41,7 @@ class ReplyKeyboardMarkup(base.TelegramObject): :rtype: :obj:`types.ReplyKeyboardMarkup` """ ...
Fix ReplyKeyboardMarkup's add method Fix when add method taking multiple buttons was adding one button to a new row and then adding items to rows according to row_width
py
diff --git a/src/streamlink/stream/hds.py b/src/streamlink/stream/hds.py index <HASH>..<HASH> 100644 --- a/src/streamlink/stream/hds.py +++ b/src/streamlink/stream/hds.py @@ -224,6 +224,7 @@ class HDSStreamWorker(SegmentedStreamWorker): def fragment_count(self): table = self.fragmentruntable.payload.fragm...
stream.hds: ensure the live edge does not go past the latest fragment
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup setup(name='bread', - version='1.0', + version='1.1', description='Binary format parsing made easier', url='https://github.com/alexras/bread', author...
Version bump to <I>.
py
diff --git a/test/unit/Network/CubicTest.py b/test/unit/Network/CubicTest.py index <HASH>..<HASH> 100644 --- a/test/unit/Network/CubicTest.py +++ b/test/unit/Network/CubicTest.py @@ -50,7 +50,7 @@ class CubicTest: def test_add_boundaries2(self): net = OpenPNM.Network.Cubic(shape=[3, 3, 3], spacing=1) ...
Fixed unit test error...test was wrong, not the code
py
diff --git a/gyazo/image.py b/gyazo/image.py index <HASH>..<HASH> 100644 --- a/gyazo/image.py +++ b/gyazo/image.py @@ -6,6 +6,7 @@ import json import math import dateutil.parser +import dateutil.tz import requests from .error import GyazoError @@ -33,6 +34,12 @@ class Image(object): return self.thu...
Add Image.local_created_at
py
diff --git a/tests/test_Consumer.py b/tests/test_Consumer.py index <HASH>..<HASH> 100644 --- a/tests/test_Consumer.py +++ b/tests/test_Consumer.py @@ -283,7 +283,7 @@ def test_any_method_after_close_throws_exception(): assert ex.match('Consumer closed') with pytest.raises(RuntimeError) as ex: - c.see...
Fix test: seek() accepts one TopicPartition only (@hrchu, #<I>)
py
diff --git a/blocking.py b/blocking.py index <HASH>..<HASH> 100644 --- a/blocking.py +++ b/blocking.py @@ -108,15 +108,17 @@ def trainBlocking(training_pairs, predicates, data_model, eta, epsilon) : return finalPredicateSet if __name__ == '__main__': - import dedupe + from dedupe import createTrainingPairs + f...
moved out canonicaldata test functions
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -31,7 +31,7 @@ setup( packages=["ariadne"], include_package_data=True, install_requires=[ - "graphql-core<3.1.0", + "graphql-core>=3.0.0,<3.1.0", "starlette<0.14", "typing_extensi...
Fixing ariadne incompatibility with graphql-core 2.x or less
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,12 @@ # -*- coding: utf-8 -*- from setuptools import setup +import sys + +extra = {} +if sys.version_info >= (3,): + extra['use_2to3'] = True + setup( name='funcparserlib', @@ -12,4 +18,4 @@ setup( ...
Compatibility with setuptools instead of distribute for Python 2
py
diff --git a/ocrmypdf/main.py b/ocrmypdf/main.py index <HASH>..<HASH> 100755 --- a/ocrmypdf/main.py +++ b/ocrmypdf/main.py @@ -450,8 +450,9 @@ def triage( @transform( input=triage, - filter=formatter('(?i)\.pdf'), - output=os.path.join(work_folder, '{basename[0]}.repaired.pdf'), + filter=suffix('.pdf')...
Most tests were failing at split_pages() It seems that ruffus sometimes decides to send a ['inputfile.pdf'] instead of a bare string.
py
diff --git a/openquake/engine/bin/openquake_cli.py b/openquake/engine/bin/openquake_cli.py index <HASH>..<HASH> 100755 --- a/openquake/engine/bin/openquake_cli.py +++ b/openquake/engine/bin/openquake_cli.py @@ -451,7 +451,13 @@ def main(): if args.what_if_I_upgrade: conn = models.getcursor('admin').conn...
Added a bit more of explanation
py
diff --git a/concepts/contexts.py b/concepts/contexts.py index <HASH>..<HASH> 100644 --- a/concepts/contexts.py +++ b/concepts/contexts.py @@ -7,12 +7,12 @@ import heapq from ._compat import py3_unicode_to_str, string_types, map -from . import formats -from . import matrices -from . import tools from . import def...
reorder imports and improve formatting
py
diff --git a/hypermedia_resource/base.py b/hypermedia_resource/base.py index <HASH>..<HASH> 100644 --- a/hypermedia_resource/base.py +++ b/hypermedia_resource/base.py @@ -22,7 +22,7 @@ class TranslatiorMixin: adapter = self.adapters[media_type]() return adapter.build(self) -class HypermediaResource(...
Add translation mixin to hypermedia resource
py
diff --git a/dolo/compiler/function_compiler_matlab.py b/dolo/compiler/function_compiler_matlab.py index <HASH>..<HASH> 100644 --- a/dolo/compiler/function_compiler_matlab.py +++ b/dolo/compiler/function_compiler_matlab.py @@ -84,7 +84,7 @@ end if diff: for i,a_g in enumerate(args_list): lhs ...
BUG: incorrect comment in matlab
py
diff --git a/angr/analyses/cfg/indirect_jump_resolvers/jumptable.py b/angr/analyses/cfg/indirect_jump_resolvers/jumptable.py index <HASH>..<HASH> 100644 --- a/angr/analyses/cfg/indirect_jump_resolvers/jumptable.py +++ b/angr/analyses/cfg/indirect_jump_resolvers/jumptable.py @@ -837,6 +837,18 @@ class JumpTableResolver(...
JumptableResolver: Filter jump targets based on instruction alignment. (#<I>) * JumptableResolver: Filter jump targets based on instruction alignment. * Wow our test cases actually catch bugs.
py
diff --git a/salt/minion.py b/salt/minion.py index <HASH>..<HASH> 100644 --- a/salt/minion.py +++ b/salt/minion.py @@ -533,7 +533,9 @@ class MinionBase(object): msg = ('No master could be reached or all masters ' 'denied the minions connection attempt.') ...
Disabled pylint warning I believe the pylint warning to be a false positive, so I disabled it and added a comment explaining why.
py
diff --git a/seleniumbase/fixtures/base_case.py b/seleniumbase/fixtures/base_case.py index <HASH>..<HASH> 100755 --- a/seleniumbase/fixtures/base_case.py +++ b/seleniumbase/fixtures/base_case.py @@ -1706,6 +1706,22 @@ class BaseCase(unittest.TestCase): except Exception: pass + def cho...
Add the choose_file() method for uploading a file
py
diff --git a/tests/satosa/backends/test_saml2.py b/tests/satosa/backends/test_saml2.py index <HASH>..<HASH> 100644 --- a/tests/satosa/backends/test_saml2.py +++ b/tests/satosa/backends/test_saml2.py @@ -5,6 +5,7 @@ import os import re from base64 import urlsafe_b64encode from collections import Counter +from datetim...
Mock all dates for hardcoded encrypted test assertion.
py
diff --git a/py/__init__.py b/py/__init__.py index <HASH>..<HASH> 100644 --- a/py/__init__.py +++ b/py/__init__.py @@ -50,7 +50,6 @@ py_ignore_service_list = { "Map.eventJournalRead", "Map.eventJournalSubscribe", "Map.removeAll", - "Map.removeInterceptor", "Map.removePartitionLostListener", ...
Unignore Map#removeInterceptor for Python client (#<I>)
py
diff --git a/pyoos/cdm/collections/point_collection.py b/pyoos/cdm/collections/point_collection.py index <HASH>..<HASH> 100644 --- a/pyoos/cdm/collections/point_collection.py +++ b/pyoos/cdm/collections/point_collection.py @@ -1,6 +1,6 @@ from pyoos.cdm.collections.feature_collection import FeatureCollection from sha...
Add a time and variable filter on a PointCollection
py
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index <HASH>..<HASH> 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -770,7 +770,7 @@ class DataFrame(NDFrame): _shared_docs[ "items" ] = r""" - Iterator over (column name, Series) pairs. + Iterate over (column nam...
DOC: Standardize use of "Iterate" and "Iterator" (#<I>) changed `Iterator over` --> `Iterate over` closes #<I>
py
diff --git a/xapian_backend.py b/xapian_backend.py index <HASH>..<HASH> 100755 --- a/xapian_backend.py +++ b/xapian_backend.py @@ -237,7 +237,7 @@ class XapianSearchBackend(BaseSearchBackend): weight = int(weights[field['field_name']]) except KeyError: ...
Fixed #1 by making ID to be parsed as a non-text.
py
diff --git a/test/test_examples.py b/test/test_examples.py index <HASH>..<HASH> 100644 --- a/test/test_examples.py +++ b/test/test_examples.py @@ -1010,7 +1010,8 @@ class TestTransactionExamples(IntegrationTest): with session.start_transaction( read_concern=ReadConcern("snapshot"), -...
PYTHON-<I> Add read preference to transaction retry example
py
diff --git a/docs/prepare.py b/docs/prepare.py index <HASH>..<HASH> 100644 --- a/docs/prepare.py +++ b/docs/prepare.py @@ -1,3 +1,4 @@ +import codecs import os import re from pathlib import Path @@ -80,3 +81,20 @@ def main(*args, **kwargs): for file_ in updated_files_to_process: process_file(file_) +...
Update the mkdocs prepare tool
py
diff --git a/openid/association.py b/openid/association.py index <HASH>..<HASH> 100644 --- a/openid/association.py +++ b/openid/association.py @@ -8,6 +8,11 @@ from openid.util import (DiffieHellman, long2a, to_b64, parsekv, from_b64, a2long, sha1, strxor) class Association(object): + ""...
[project @ Added docstr for Association class]
py
diff --git a/ara/ui/management/commands/generate.py b/ara/ui/management/commands/generate.py index <HASH>..<HASH> 100644 --- a/ara/ui/management/commands/generate.py +++ b/ara/ui/management/commands/generate.py @@ -1,3 +1,4 @@ +import codecs import os import shutil @@ -51,6 +52,9 @@ class Command(BaseCommand): ...
ui: escape surrogates when generating static report We had already done this for the live interface in 5bd<I>ff<I>a<I>e<I>d<I>bb<I>a<I>aa but we need to do the same thing for static generation. Change-Id: I<I>a<I>d6db<I>b7d<I>ea<I>c<I>e<I> Related: <URL>
py
diff --git a/lib/autokey/scripting/mouse.py b/lib/autokey/scripting/mouse.py index <HASH>..<HASH> 100644 --- a/lib/autokey/scripting/mouse.py +++ b/lib/autokey/scripting/mouse.py @@ -18,6 +18,7 @@ import typing if typing.TYPE_CHECKING: import autokey.iomediator.iomediator +import autokey.iomediator.waiter cl...
Fix for mouse.wait_for_click(), missing import from refactor, similar to #<I>
py
diff --git a/webpack_manifest/webpack_manifest.py b/webpack_manifest/webpack_manifest.py index <HASH>..<HASH> 100644 --- a/webpack_manifest/webpack_manifest.py +++ b/webpack_manifest/webpack_manifest.py @@ -180,7 +180,8 @@ class WebpackManifest(object): class WebpackManifestTypeEntry(object): - def __init__(sel...
Facilitate debugging by allowing `WebpackManifestTypeEntry` instances to access their parent manifest via `self.manifest`
py
diff --git a/salt/utils/http.py b/salt/utils/http.py index <HASH>..<HASH> 100644 --- a/salt/utils/http.py +++ b/salt/utils/http.py @@ -124,6 +124,7 @@ def __decompressContent(coding, pgctnt): log.trace("Content size after decompression: %s", len(pgctnt)) return pgctnt + @jinja_filter('http_query') def que...
Fix pylint failure, I think?
py
diff --git a/gcloud/datastore/connection.py b/gcloud/datastore/connection.py index <HASH>..<HASH> 100644 --- a/gcloud/datastore/connection.py +++ b/gcloud/datastore/connection.py @@ -322,8 +322,6 @@ class Connection(object): :type properties: dict :param properties: The properties to store on the entity. ...
Remove TODO from datastore.connection.
py
diff --git a/utils/check_dummies.py b/utils/check_dummies.py index <HASH>..<HASH> 100644 --- a/utils/check_dummies.py +++ b/utils/check_dummies.py @@ -26,7 +26,7 @@ PATH_TO_TRANSFORMERS = "src/transformers" _re_backend = re.compile(r"is\_([a-z_]*)_available()") # Matches from xxx import bla _re_single_line_import = ...
Fix dummy creation script (#<I>)
py
diff --git a/rackspace_monitoring/drivers/rackspace.py b/rackspace_monitoring/drivers/rackspace.py index <HASH>..<HASH> 100644 --- a/rackspace_monitoring/drivers/rackspace.py +++ b/rackspace_monitoring/drivers/rackspace.py @@ -50,6 +50,8 @@ class RackspaceMonitoringValidationError(LibcloudError): self.details ...
Add __str__ method to validation error and latest alarm state class.
py
diff --git a/scenarios/kubernetes_build.py b/scenarios/kubernetes_build.py index <HASH>..<HASH> 100755 --- a/scenarios/kubernetes_build.py +++ b/scenarios/kubernetes_build.py @@ -100,6 +100,10 @@ def main(args): print >>sys.stderr, 'build already exists, exit' sys.exit(0) + # Configure docker cli...
Register gcr.io helper for docker before the build This allows build dependencies to be sourced from gcr.io registries that require authentication.
py
diff --git a/pyocd/coresight/discovery.py b/pyocd/coresight/discovery.py index <HASH>..<HASH> 100644 --- a/pyocd/coresight/discovery.py +++ b/pyocd/coresight/discovery.py @@ -51,9 +51,13 @@ class CoreSightDiscovery(object): raise NotImplementedError() def _create_component(self, cmpid): - LOG.deb...
Discovery: gracefully report failures to create CoreSight components. If pyocd gets an exception while trying to create a CoreSight component, it will report the error but continue running.
py
diff --git a/src/hamster/storage.py b/src/hamster/storage.py index <HASH>..<HASH> 100644 --- a/src/hamster/storage.py +++ b/src/hamster/storage.py @@ -295,7 +295,7 @@ class Storage(dbus.service.Object): category_id = category_id or None if activity: - return dict(self.__get_activity_by_na...
don't die if the activity to switch to can't be found when workspace tracking is enabled
py
diff --git a/lament/meta.py b/lament/meta.py index <HASH>..<HASH> 100644 --- a/lament/meta.py +++ b/lament/meta.py @@ -14,7 +14,9 @@ class ConfigMeta(type): if name in self._re_keys: return self._re_config[name] else: - super(object, self).__getattr__(name) + ...
@bugfix. Didn't need to access super.__getattr__ Should just raise AttributeError instead. What I didn't realise at the time was that __getattr__ was the fall back if __getattribute__ fails. There's no need to look for methods or attributes if __getattr__ fails, it's already been handled.
py
diff --git a/biblion/settings.py b/biblion/settings.py index <HASH>..<HASH> 100644 --- a/biblion/settings.py +++ b/biblion/settings.py @@ -3,4 +3,4 @@ from django.conf import settings ALL_SECTION_NAME = getattr(settings, "BIBLION_ALL_SECTION_NAME", "all") -SECTIONS = settings.BIBLION_SECTIONS \ No newline at end o...
made BIBLION_SECTIONS setting optional
py
diff --git a/epab/cmd/_release.py b/epab/cmd/_release.py index <HASH>..<HASH> 100644 --- a/epab/cmd/_release.py +++ b/epab/cmd/_release.py @@ -96,8 +96,8 @@ def _release(ctx): ctx.invoke(epab.cmd.reqs) _check_dirty('requirements changed') - ctx.invoke(epab.cmd.chglog, next_version=next_version) - _che...
chg: disable changelog during release
py
diff --git a/src/nupic/algorithms/cla_classifier_factory.py b/src/nupic/algorithms/cla_classifier_factory.py index <HASH>..<HASH> 100644 --- a/src/nupic/algorithms/cla_classifier_factory.py +++ b/src/nupic/algorithms/cla_classifier_factory.py @@ -57,7 +57,7 @@ class CLAClassifierFactory(object): if impl == 'py': ...
Use FastCLAClassifier read class method instead of instance method
py
diff --git a/xapian_backend.py b/xapian_backend.py index <HASH>..<HASH> 100755 --- a/xapian_backend.py +++ b/xapian_backend.py @@ -585,15 +585,16 @@ class SearchBackend(BaseSearchBackend): 'column': column, } - if isinstance(field_class, (DateField,...
Updated build_schema to use field_type parameter instead of isinstance as updated in Haystack.
py
diff --git a/vel/rl/env/wrappers/clip_episode_length.py b/vel/rl/env/wrappers/clip_episode_length.py index <HASH>..<HASH> 100644 --- a/vel/rl/env/wrappers/clip_episode_length.py +++ b/vel/rl/env/wrappers/clip_episode_length.py @@ -19,6 +19,7 @@ class ClipEpisodeEnv(gym.Wrapper): if self.current_episode_lengt...
Additional information from the clipped env length wrapper.
py
diff --git a/integration_tests/blockstack_integration_tests/scenarios/rest_register_renew_keep_profile.py b/integration_tests/blockstack_integration_tests/scenarios/rest_register_renew_keep_profile.py index <HASH>..<HASH> 100644 --- a/integration_tests/blockstack_integration_tests/scenarios/rest_register_renew_keep_pro...
renew gets pushed back at least <I> blocks, not precisely <I> blocks (since we don't control when the tx gets sent)
py
diff --git a/blockstack_cli_0.14.1/blockstack_client/backend/utxo/blockstack_utxo/version.py b/blockstack_cli_0.14.1/blockstack_client/backend/utxo/blockstack_utxo/version.py index <HASH>..<HASH> 100644 --- a/blockstack_cli_0.14.1/blockstack_client/backend/utxo/blockstack_utxo/version.py +++ b/blockstack_cli_0.14.1/blo...
keep version in sync with client and server
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -8,5 +8,6 @@ setup(name='lifx', author='Sharp Hall', author_email='sh@sauropod.org', url='https://github.com/sharph/lifx-python', - packages=['lifx'] + packages=['lifx'], + license='AGPLv3' ...
Added license to setup.py.
py
diff --git a/pmagpy/pmagplotlib.py b/pmagpy/pmagplotlib.py index <HASH>..<HASH> 100644 --- a/pmagpy/pmagplotlib.py +++ b/pmagpy/pmagplotlib.py @@ -31,6 +31,19 @@ version_num = pmag.get_version() # matplotlib.ticker_Formatter.xaxis.set_powerlimits((-3,4)) # matplotlib.ticker_Formatter.yaxis.set_powerlimits((-3,4)) +...
Add upgrade warning for matplotlib to pmagplotlib
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ requirements = ( setup( name='combine', - version='0.0.14.dev0', + version='0.0.14', description='A helpful, simple static site generator.', long_description=long_description, long_d...
Preparing release <I>
py
diff --git a/tests/unit_test_utils.py b/tests/unit_test_utils.py index <HASH>..<HASH> 100644 --- a/tests/unit_test_utils.py +++ b/tests/unit_test_utils.py @@ -1,5 +1,6 @@ import doctest from unittest import TestCase +import sys import pandas as pd import xarray as xr @@ -470,3 +471,29 @@ class TestUtils(TestCase)...
added tests for new funcs in utils
py
diff --git a/tempy/tempy.py b/tempy/tempy.py index <HASH>..<HASH> 100755 --- a/tempy/tempy.py +++ b/tempy/tempy.py @@ -404,22 +404,18 @@ class DOMElement: raise DOMModByIndexError(self, "Given index invalid.") else: result = [] - search_func = lambda s: [x for x in self...
pop method light refactor, sligthly faster, more explicit.
py
diff --git a/nion/swift/LinePlotCanvasItem.py b/nion/swift/LinePlotCanvasItem.py index <HASH>..<HASH> 100755 --- a/nion/swift/LinePlotCanvasItem.py +++ b/nion/swift/LinePlotCanvasItem.py @@ -426,7 +426,7 @@ class LinePlotCanvasItem(DisplayCanvasItem.DisplayCanvasItem): right = intervals[0][1] ...
Fixed minor bug in LinePlotCanvasItem view_to_intervals. Replaced a min() with a max(). Does not appear to change functionality as tests passed before fix
py
diff --git a/bcbio/pipeline/shared.py b/bcbio/pipeline/shared.py index <HASH>..<HASH> 100644 --- a/bcbio/pipeline/shared.py +++ b/bcbio/pipeline/shared.py @@ -156,9 +156,9 @@ def _subset_bed_by_region(in_file, out_file, region, do_merge=True): orig_bed = pybedtools.BedTool(in_file) region_bed = pybedtools.Bed...
Avoid filtering small regions when merging BEDs Enables calling on tiny regions while still avoiding initial error with FreeBayes.
py
diff --git a/src/satosa/consent.py b/src/satosa/consent.py index <HASH>..<HASH> 100644 --- a/src/satosa/consent.py +++ b/src/satosa/consent.py @@ -231,14 +231,12 @@ class ConsentModule(object): attributes to be sent. :return: True if given consent, else False """ - try: - re...
Remove unnecessary re-throw of exception in consent.py.
py
diff --git a/bika/lims/subscribers/analysisrequest.py b/bika/lims/subscribers/analysisrequest.py index <HASH>..<HASH> 100644 --- a/bika/lims/subscribers/analysisrequest.py +++ b/bika/lims/subscribers/analysisrequest.py @@ -22,7 +22,12 @@ def AfterTransitionEventHandler(instance, event): workflow = getToolByName(...
Add future_dated attribute to sample objects on creation
py
diff --git a/client/protocols/backup.py b/client/protocols/backup.py index <HASH>..<HASH> 100644 --- a/client/protocols/backup.py +++ b/client/protocols/backup.py @@ -136,6 +136,8 @@ class BackupProtocol(models.Protocol): def _get_end_time(self): access_token = self.assignment.authenticate(nointeract=Fals...
handle missing due date (#<I>) * handle missing due date * whoops revert everything but the one change
py
diff --git a/uricore/wkz_urls.py b/uricore/wkz_urls.py index <HASH>..<HASH> 100644 --- a/uricore/wkz_urls.py +++ b/uricore/wkz_urls.py @@ -96,23 +96,20 @@ def _uri_split(uri): """Splits up an URI or IRI.""" scheme, netloc, path, query, fragment = _safe_urlsplit(uri) + auth = None port = None - ho...
rewriting IPV6 parsing a bit fewer variables, easier to follow code
py
diff --git a/tvdbapi_client/api.py b/tvdbapi_client/api.py index <HASH>..<HASH> 100644 --- a/tvdbapi_client/api.py +++ b/tvdbapi_client/api.py @@ -1,6 +1,8 @@ """Provide API client for TVDB API v2.0 services.""" import json import logging +import os +import tempfile import cachecontrol from cachecontrol import c...
Move request cache to system temp The current working directory might not be writable.
py
diff --git a/insights/specs/default.py b/insights/specs/default.py index <HASH>..<HASH> 100644 --- a/insights/specs/default.py +++ b/insights/specs/default.py @@ -238,7 +238,7 @@ class DefaultSpecs(Specs): if os.path.basename(cmd).startswith('httpd'): ps_httpds.add(cmd) # ...
At present, we can only handle 1 httpd instance (with single MPM or version) (#<I>)
py
diff --git a/oplus/version.py b/oplus/version.py index <HASH>..<HASH> 100644 --- a/oplus/version.py +++ b/oplus/version.py @@ -1 +1 @@ -version='6.0.1.dev5' +version='6.0.1.dev6'
[skip ci] updated version as <I>.dev6
py