diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/dynetx/algorithms/paths.py b/dynetx/algorithms/paths.py index <HASH>..<HASH> 100644 --- a/dynetx/algorithms/paths.py +++ b/dynetx/algorithms/paths.py @@ -205,7 +205,8 @@ def all_time_respecting_paths(G, start=None, end=None, nodes_from=None, nodes_to """ res = {} - nodes = list(G.time_slice(...
:arrow_up: revised all paths
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,11 +1,7 @@ #!/usr/bin/env python -try: - from setuptools import setup - extra = dict(test_suite="tests.test.suite", include_package_data=True) -except ImportError: - from distutils.core import setup - extra =...
change setuptools to not conflict with bdist_rpm
py
diff --git a/discord/__init__.py b/discord/__init__.py index <HASH>..<HASH> 100644 --- a/discord/__init__.py +++ b/discord/__init__.py @@ -60,13 +60,15 @@ from .interactions import * from .components import * from .threads import * + class VersionInfo(NamedTuple): - major: int - minor: int - micro: int - releasele...
Add explicit type annotation to version_info and reformat
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ def load_reqs(filename): with open(filename) as reqs_file: return [ re.sub('==', '>=', line) for line in reqs_file.readlines() - if not re.match('\s*#', line) + i...
raw string to avoid invalid escape sequence Deprecated since Python <I>
py
diff --git a/pyeda/boolalg/expr.py b/pyeda/boolalg/expr.py index <HASH>..<HASH> 100644 --- a/pyeda/boolalg/expr.py +++ b/pyeda/boolalg/expr.py @@ -1274,7 +1274,9 @@ class ExprOrAnd(_ArgumentContainer, sat.DPLLInterface): elif fst < temp: drop_rst.add(temp) if not drop_...
Fix bug, absorption returned unsimplified
py
diff --git a/pyemma/coordinates/transform/tica.py b/pyemma/coordinates/transform/tica.py index <HASH>..<HASH> 100644 --- a/pyemma/coordinates/transform/tica.py +++ b/pyemma/coordinates/transform/tica.py @@ -234,7 +234,7 @@ class TICA(StreamingEstimationTransformer, SerializableMixIn): The projection matrix is ...
[TICA] respect self.chunksize in partial_fit
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -25,8 +25,8 @@ import sys from setuptools import setup, find_packages -NAME = "k8sclient" -VERSION = "1.0.0" +NAME = "kubernetes" +VERSION = "0.1.0" # To install the library, run the following # @@ -40,14 +40,15 @@ REQ...
Update package information in setup.py
py
diff --git a/publ/rendering.py b/publ/rendering.py index <HASH>..<HASH> 100644 --- a/publ/rendering.py +++ b/publ/rendering.py @@ -321,10 +321,10 @@ def render_category_path(category: str, template: typing.Optional[str]): view=view_obj) if request.if_none_match.contains(etag): - return 'Not modif...
Correctly format ETag header, and emit on <I> NOT MODIFIED Fixes #<I> Manually tested, this would be a great job for integration tests
py
diff --git a/gdxpy.py b/gdxpy.py index <HASH>..<HASH> 100644 --- a/gdxpy.py +++ b/gdxpy.py @@ -26,7 +26,7 @@ if __gdxpy_pyver__[0] >= 3: else: findexe = lambda x : spawn.find_executable(x) -__gdxpy_gamsdir__ = os.path.dirname(findexe('gams')) +__gdxpy_gamsdir__ = os.environ.get('GAMSDIR', os.path.dirname(findex...
if GAMSDIR is defined use it, otherwise use dir of gams exec
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,10 +3,7 @@ import sys import os -import subprocess from setuptools import setup, find_packages, __version__ -from setuptools.command.develop import develop -from setuptools.command.install import install v = sys.ver...
Update setup.py (#<I>) removed unused imports
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -18,6 +18,7 @@ setup(name="magic-wormhole", version=versioneer.get_version(), description="Securely transfer data between computers", long_description=open('README.md', 'rU').read(), + long_descriptio...
Add long_description_content_type to setup.py The new PyPI code discards long_description when it's not valid ReStructuredText. Luckily it also supports Markdown, but you have to [specify the content type](<URL>) explicitly in that case. (IIRC for this to work correctly you also have to use sufficiently recent ver...
py
diff --git a/openquake/commonlib/oqvalidation.py b/openquake/commonlib/oqvalidation.py index <HASH>..<HASH> 100644 --- a/openquake/commonlib/oqvalidation.py +++ b/openquake/commonlib/oqvalidation.py @@ -308,7 +308,7 @@ class OqParam(valid.ParamSet): for imt in self.hazard_imtls: i1...
Small change related to maximum_intensity
py
diff --git a/tests/queue/test_file.py b/tests/queue/test_file.py index <HASH>..<HASH> 100644 --- a/tests/queue/test_file.py +++ b/tests/queue/test_file.py @@ -28,7 +28,7 @@ class TestQueue(unittest.TestCase): self.queue = OutputFileQueue(self.tiles_fp) def test_read(self): - self._write_tiles_to_...
Make _write_tiles_to_file() accept a string. tests/queue/test_file.py -Address <URL>` accept a string parameter. Rename it to `_write_str_to_file()` for clarity.
py
diff --git a/goatools/go_enrichment.py b/goatools/go_enrichment.py index <HASH>..<HASH> 100755 --- a/goatools/go_enrichment.py +++ b/goatools/go_enrichment.py @@ -354,9 +354,9 @@ class GOEnrichmentStudy(object): """Print information regarding multitest correction results.""" ntm = ntmt.nt_method ...
Print name of multiple-test correction as it runs.
py
diff --git a/hpOneView/connection.py b/hpOneView/connection.py index <HASH>..<HASH> 100644 --- a/hpOneView/connection.py +++ b/hpOneView/connection.py @@ -14,6 +14,7 @@ from __future__ import unicode_literals from builtins import open from builtins import str from future import standard_library +from future.utils im...
Added raise_from usage from future to improve error trace.
py
diff --git a/openquake/calculators/tests/event_based_risk_test.py b/openquake/calculators/tests/event_based_risk_test.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/tests/event_based_risk_test.py +++ b/openquake/calculators/tests/event_based_risk_test.py @@ -163,8 +163,8 @@ class EventBasedRiskTestCase(Calc...
Commented test [skip hazardlib]
py
diff --git a/hydrachain/native_contracts.py b/hydrachain/native_contracts.py index <HASH>..<HASH> 100644 --- a/hydrachain/native_contracts.py +++ b/hydrachain/native_contracts.py @@ -83,6 +83,9 @@ class Registry(object): assert issubclass(contract, NativeContractBase) assert len(contract.address) == 2...
Be more resilient when contracts are already registered
py
diff --git a/gyr/utils.py b/gyr/utils.py index <HASH>..<HASH> 100644 --- a/gyr/utils.py +++ b/gyr/utils.py @@ -16,6 +16,7 @@ # along with Gyr. If not, see # <http://www.gnu.org/licenses/>. +from string import ascii_lowercase, digits import uuid from . import iofs @@ -37,6 +38,22 @@ def gen_txn_id(): retur...
Add utilities for working with mxids.
py
diff --git a/datefinder.py b/datefinder.py index <HASH>..<HASH> 100644 --- a/datefinder.py +++ b/datefinder.py @@ -151,15 +151,14 @@ class DateFinder(): # add timezones to replace - original_replacements = copy.copy(self.REPLACEMENTS) # don't mutate + cloned_replacements = copy.copy(self.REPL...
no really, don't mutate self.REPLACEMNTS :-)
py
diff --git a/test/test_modes/test_autocomplete.py b/test/test_modes/test_autocomplete.py index <HASH>..<HASH> 100644 --- a/test/test_modes/test_autocomplete.py +++ b/test/test_modes/test_autocomplete.py @@ -29,7 +29,7 @@ def test_basic(editor): def test_autocomple_func_parens(editor): editor.clear() editor.s...
Fix autocomplete test The test fail because gotoline now reacts in a different way when supplying out of range arguments: the first block of document is returned. The new values passed to this function are really what we want to test (this is a left over from the time where line and column were 1 based).
py
diff --git a/sanic/handlers.py b/sanic/handlers.py index <HASH>..<HASH> 100644 --- a/sanic/handlers.py +++ b/sanic/handlers.py @@ -78,7 +78,7 @@ class ErrorHandler: @classmethod def _get_fallback_value(cls, error_handler: ErrorHandler, config: Config): if error_handler._fallback is not _default: - ...
Resolve warning issue with error handler mismatch warning (#<I>)
py
diff --git a/discord/ext/commands/bot.py b/discord/ext/commands/bot.py index <HASH>..<HASH> 100644 --- a/discord/ext/commands/bot.py +++ b/discord/ext/commands/bot.py @@ -110,7 +110,6 @@ class BotBase(GroupMixin): self._before_invoke = None self._after_invoke = None self._help_command = None ...
[commands] Remove function call indirection when checking author
py
diff --git a/tests/conftest.py b/tests/conftest.py index <HASH>..<HASH> 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -95,6 +95,7 @@ def start_consul_instance(acl_master_token=None): requests.get(base_uri + 'agent/service/deregister/foo') # phew + time.sleep(2) return p, ports['http']
consul seems to need a bit more time before it's catalog syncing is fast enouugh for the tests
py
diff --git a/onecodex/utils.py b/onecodex/utils.py index <HASH>..<HASH> 100644 --- a/onecodex/utils.py +++ b/onecodex/utils.py @@ -112,10 +112,10 @@ def _cli_resource_fetcher(ctx, resource, uris): for uri in uris: try: instance = getattr(ctx.obj['API'], resource_name).get(uri) - ...
Catch bad ID fetches in CLI
py
diff --git a/glooey/images.py b/glooey/images.py index <HASH>..<HASH> 100644 --- a/glooey/images.py +++ b/glooey/images.py @@ -18,13 +18,16 @@ class Image(Widget): custom_image = None custom_alignment = 'center' - def __init__(self, image=None): + def __init__(self, image=None, responsive=False): + ...
Support responsive image visualization by sprite.scale
py
diff --git a/src/cryptojwt/jwk.py b/src/cryptojwt/jwk.py index <HASH>..<HASH> 100644 --- a/src/cryptojwt/jwk.py +++ b/src/cryptojwt/jwk.py @@ -407,7 +407,7 @@ class Key(object): if not self.key: self.deserialize() - if not kwargs.get('private', True): + if not kwargs.get('private',...
check if key has public_key() method
py
diff --git a/spyder/app/utils.py b/spyder/app/utils.py index <HASH>..<HASH> 100644 --- a/spyder/app/utils.py +++ b/spyder/app/utils.py @@ -192,7 +192,7 @@ def set_links_color(app): This was taken from QDarkstyle, which is MIT licensed. """ - color = QStylePalette.COLOR_ACCENT_3 + color = QStylePalette...
Change color for links to fix contrast in about dialog
py
diff --git a/tests/unit/models/geometry/ThroatLengthTest.py b/tests/unit/models/geometry/ThroatLengthTest.py index <HASH>..<HASH> 100644 --- a/tests/unit/models/geometry/ThroatLengthTest.py +++ b/tests/unit/models/geometry/ThroatLengthTest.py @@ -10,10 +10,6 @@ class ThroatStraightTest: self.geo = op.geometry....
Removed redundant models from ThroatLengthTest
py
diff --git a/contrib/aws/awsexecutor.py b/contrib/aws/awsexecutor.py index <HASH>..<HASH> 100644 --- a/contrib/aws/awsexecutor.py +++ b/contrib/aws/awsexecutor.py @@ -204,9 +204,9 @@ def execute_benchmark(benchmark, output_handler): while not event_handler.is_set(): http_response = requests.get(pr...
AWS executor: rewrite a comment
py
diff --git a/spinoff/actor/actor.py b/spinoff/actor/actor.py index <HASH>..<HASH> 100644 --- a/spinoff/actor/actor.py +++ b/spinoff/actor/actor.py @@ -105,11 +105,12 @@ class Actor(MicroProcess): child = actor_cls(*args, **kwargs) if hasattr(child, '_parent'): child._parent = ...
Handled actors whose start method doesn't return anything
py
diff --git a/cmsplugin_cascade/link/fields.py b/cmsplugin_cascade/link/fields.py index <HASH>..<HASH> 100644 --- a/cmsplugin_cascade/link/fields.py +++ b/cmsplugin_cascade/link/fields.py @@ -7,7 +7,7 @@ else: class PageSearchField(AutoModelSelect2Field): - empty_values = [] + empty_value = [] search_fie...
Fixed empty field issue for Select2 input fields
py
diff --git a/ChromeController/manager.py b/ChromeController/manager.py index <HASH>..<HASH> 100644 --- a/ChromeController/manager.py +++ b/ChromeController/manager.py @@ -48,9 +48,9 @@ class ChromeRemoteDebugInterface(ChromeRemoteDebugInterface_base): resp2 = self.DOM_enable() resp3 = self.Network_enable() - c...
apparently that's still in beta only
py
diff --git a/pyipma/forecast.py b/pyipma/forecast.py index <HASH>..<HASH> 100644 --- a/pyipma/forecast.py +++ b/pyipma/forecast.py @@ -88,8 +88,13 @@ class Forecast: @property def weather_type(self): """Weather type.""" + return self._data['idTipoTempo'] + + @property + def weather_type_...
Added @property weather_type_description
py
diff --git a/safe/impact_functions/inundation/flood_raster_roads_qgis_gdal.py b/safe/impact_functions/inundation/flood_raster_roads_qgis_gdal.py index <HASH>..<HASH> 100644 --- a/safe/impact_functions/inundation/flood_raster_roads_qgis_gdal.py +++ b/safe/impact_functions/inundation/flood_raster_roads_qgis_gdal.py @@ -1...
Fix pylint violation. This IF needs some love in the future.
py
diff --git a/samples/publish_sd_to_service.py b/samples/publish_sd_to_service.py index <HASH>..<HASH> 100644 --- a/samples/publish_sd_to_service.py +++ b/samples/publish_sd_to_service.py @@ -16,7 +16,7 @@ if __name__ == "__main__": password) # Create the ad...
Changes in publish_sd_to_service.py manageagol remained from old version
py
diff --git a/pyscroll/pyscroll.py b/pyscroll/pyscroll.py index <HASH>..<HASH> 100644 --- a/pyscroll/pyscroll.py +++ b/pyscroll/pyscroll.py @@ -7,7 +7,6 @@ import pygame def generate_default_image(size): i = pygame.Surface(size) i.fill((0, 0, 0)) - #i.set_alpha(128) return i
removed annoying alpha channel on the default image
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ from setuptools.command.test import test as TestCommand class PyTest(TestCommand): def finalize_options(self): TestCommand.finalize_options(self) - self.test_args = [] + self.test_args...
Change for setup.py (test)
py
diff --git a/zxbasm.py b/zxbasm.py index <HASH>..<HASH> 100755 --- a/zxbasm.py +++ b/zxbasm.py @@ -32,7 +32,7 @@ o_parser = OptionParser(usage='Usage: %prog <input file> [options]', version = '%prog ' + VERSION) o_parser.add_option("-d", "--debug", - action="store_true", dest="debug", default=OPT...
Debug option must be of type counter. So -dd is a mayor debug level than -d
py
diff --git a/examples/glyphs/glyph2.py b/examples/glyphs/glyph2.py index <HASH>..<HASH> 100644 --- a/examples/glyphs/glyph2.py +++ b/examples/glyphs/glyph2.py @@ -69,5 +69,3 @@ sess.plotcontext._dirty = True # not so nice.. but set the model doens't know # that we appended to children sess.store_all() -import webbro...
Don't open web browser in examples/glyphs/glyph2.py
py
diff --git a/gargoyle/conditions.py b/gargoyle/conditions.py index <HASH>..<HASH> 100644 --- a/gargoyle/conditions.py +++ b/gargoyle/conditions.py @@ -286,6 +286,9 @@ class ConditionSet(object): if exclude: return False return_value = True +...
If a condition doesn't match and we're excluding, then make sure we return true
py
diff --git a/hermes/admin.py b/hermes/admin.py index <HASH>..<HASH> 100644 --- a/hermes/admin.py +++ b/hermes/admin.py @@ -0,0 +1,9 @@ +from django.contrib import admin + +from .models import Post + + +class PostAdmin(admin.ModelAdmin): + prepopulated_fields = {"slug": ("subject", )} + +admin.site.register(Post, Pos...
Creates basic AdminModel class and registers Post model with admin.
py
diff --git a/fluent_contents/tests/templatetags.py b/fluent_contents/tests/templatetags.py index <HASH>..<HASH> 100644 --- a/fluent_contents/tests/templatetags.py +++ b/fluent_contents/tests/templatetags.py @@ -164,7 +164,7 @@ class TemplateTagTests(AppTestCase): ctx = self.assertNumQueries(2) with ct...
Fix build for Django <I>
py
diff --git a/twython/helpers.py b/twython/helpers.py index <HASH>..<HASH> 100644 --- a/twython/helpers.py +++ b/twython/helpers.py @@ -12,7 +12,7 @@ def _transparent_params(_params): params[k] = 'true' else: params[k] = 'false' - elif isinstance(v, basestring): + ...
Include ints in params too Oops ;P
py
diff --git a/hooks/post_gen_project.py b/hooks/post_gen_project.py index <HASH>..<HASH> 100644 --- a/hooks/post_gen_project.py +++ b/hooks/post_gen_project.py @@ -16,6 +16,7 @@ from __future__ import print_function import os import random import shutil +import string # Get the root project directory PROJECT_DIRE...
An small pythonic approach to password (#<I>) * An small pythonic approach to password Providing a more pythonic line for password generation using for that the string content, as suggested for the documentation in #<I>. * Adding missing line Adding missing import at the head of the file. The previous commit ...
py
diff --git a/arctic/mixins.py b/arctic/mixins.py index <HASH>..<HASH> 100755 --- a/arctic/mixins.py +++ b/arctic/mixins.py @@ -28,19 +28,22 @@ class SuccessMessageMixin(object): """ success_message = "" + message_delivered = False def form_valid(self, form): response = super(SuccessMessag...
Fixed duplication of messages when a form is created or updated.
py
diff --git a/applicationinsights/requests/WSGIApplication.py b/applicationinsights/requests/WSGIApplication.py index <HASH>..<HASH> 100644 --- a/applicationinsights/requests/WSGIApplication.py +++ b/applicationinsights/requests/WSGIApplication.py @@ -37,6 +37,10 @@ class WSGIApplication(object): if not wsgi_ap...
Defaulting request collection to the async channel such that the user need not call .flush()
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ except ImportError: setup( name='eventsourcing', - version='0.8.1', + version='0.8.2', description='Event sourcing in Python', author='John Bywater', author_email='john.bywater@appro...
Increased version number to <I>.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -13,6 +13,9 @@ if 'sdist' in sys.argv or 'develop' in sys.argv: try: from django.core import management management.call_command('compilemessages', stdout=sys.stderr, verbosity=1) + except ImportError:...
setup: raise when compilemessages fails during sdist
py
diff --git a/spyderlib/widgets/codeeditor/codeeditor.py b/spyderlib/widgets/codeeditor/codeeditor.py index <HASH>..<HASH> 100644 --- a/spyderlib/widgets/codeeditor/codeeditor.py +++ b/spyderlib/widgets/codeeditor/codeeditor.py @@ -1470,7 +1470,8 @@ class CodeEditor(TextEditBaseWidget): self.com...
Editor/bugfix: disabling code completion/calltips for non-Python source code (was not working -as expected- but was taking time to simply not work...)
py
diff --git a/sanic/server.py b/sanic/server.py index <HASH>..<HASH> 100644 --- a/sanic/server.py +++ b/sanic/server.py @@ -201,7 +201,7 @@ class HttpProtocol(asyncio.Protocol): netlog.info('', extra={ 'status': response.status, 'byte': len(response.body), - ...
Fix "TypeError: not all arguments converted during string formatting" socket.getpeername() returns AF_INET6 address family four-tuple, with flowid and scopeid. In server's write_response, an exception is raised when an IPv6 client connects due to four-tuple elements having two unused elements (flowid and scopeid). T...
py
diff --git a/tests/django_mysql_tests/test_cache.py b/tests/django_mysql_tests/test_cache.py index <HASH>..<HASH> 100644 --- a/tests/django_mysql_tests/test_cache.py +++ b/tests/django_mysql_tests/test_cache.py @@ -864,7 +864,7 @@ class MySQLCacheTests(TransactionTestCase): time.sleep(0.4) - result ...
Bump up timeout on MySQLCacheTests.test_add_with_expired so it never times out on Travis again
py
diff --git a/doc/conf.py b/doc/conf.py index <HASH>..<HASH> 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -3,6 +3,7 @@ ''' Sphinx documentation for Salt ''' +import functools import sys import os import types
Added missing functools import
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup setup( name='sphinx-git', description='git Changelog for Sphinx', - version='4', + version='5', author='Daniel Watkins', author_email='daniel@daniel-watkins....
Bump to v5 (for development).
py
diff --git a/tests/examples/todomvc/straightforward_approach/todomvc_test.py b/tests/examples/todomvc/straightforward_approach/todomvc_test.py index <HASH>..<HASH> 100644 --- a/tests/examples/todomvc/straightforward_approach/todomvc_test.py +++ b/tests/examples/todomvc/straightforward_approach/todomvc_test.py @@ -1,4 +...
improved waiting in straightforward_approach/todomvc_test.py
py
diff --git a/a10_neutronclient/a10_certificate.py b/a10_neutronclient/a10_certificate.py index <HASH>..<HASH> 100644 --- a/a10_neutronclient/a10_certificate.py +++ b/a10_neutronclient/a10_certificate.py @@ -79,7 +79,7 @@ class CertificateUpdate(client_extension.Update, CertificateExtension): shell_command = 'a10...
Removed description/cert_data/intermediate_data from cert update command
py
diff --git a/raiden/transfer/views.py b/raiden/transfer/views.py index <HASH>..<HASH> 100644 --- a/raiden/transfer/views.py +++ b/raiden/transfer/views.py @@ -31,6 +31,25 @@ def block_number(node_state: NodeState) -> int: return node_state.block_number +def count_token_network_channels( + node_state: No...
added count_token_network_channels
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -53,5 +53,6 @@ setup( 'pyyaml', 'simplesat>=0.8.0', 'Jinja2>=2.8', + 'jsonschema<3.0.0', ], )
Force jsonschema dependency to be <<I>. One of the real dependencies of fusesoc relies on jsonschema >= <I>. Unfortunately, as of this commit date allows alpha 2 of jsonschema <I> to be selected which fails to package correctly in the python <I> environment. This commit forces jsonschema < <I> as a workaround. Perhap...
py
diff --git a/foil/fileio.py b/foil/fileio.py index <HASH>..<HASH> 100644 --- a/foil/fileio.py +++ b/foil/fileio.py @@ -7,25 +7,11 @@ from collections import namedtuple from contextlib import contextmanager from io import BufferedReader -from lxml import etree from zipfile import ZipFile from foil.filters import...
Remove xml utlity function. * removes lxml dependency. * Functionality can be found in stlib xml module.
py
diff --git a/dedupe/api.py b/dedupe/api.py index <HASH>..<HASH> 100644 --- a/dedupe/api.py +++ b/dedupe/api.py @@ -978,8 +978,11 @@ def samplePredicate(subsample_size, predicate, items) : sample = [] block_dict = {} + predicate_function = predicate.func + field = predicate.field + for pivot, (ind...
pull out predicate components to avoid __call__
py
diff --git a/cppimport/build_module.py b/cppimport/build_module.py index <HASH>..<HASH> 100644 --- a/cppimport/build_module.py +++ b/cppimport/build_module.py @@ -62,10 +62,11 @@ def build_module(module_data): os.path.dirname(filepath), full_module_name, language = 'c++', - sources = [...
Adds support for setting libraries and external sources
py
diff --git a/supermercado/scripts/cli.py b/supermercado/scripts/cli.py index <HASH>..<HASH> 100644 --- a/supermercado/scripts/cli.py +++ b/supermercado/scripts/cli.py @@ -32,7 +32,7 @@ cli.add_command(edges) @click.option('--parsenames', is_flag=True) def union(inputtiles, parsenames): """ - Returns the union...
Update cli.py Fix typo in supermercado/scripts/cli.py
py
diff --git a/src/mdlib/cli.py b/src/mdlib/cli.py index <HASH>..<HASH> 100644 --- a/src/mdlib/cli.py +++ b/src/mdlib/cli.py @@ -217,7 +217,7 @@ class MdCLI(Cmdln): environment variable. """ # TODO fix this because it's broken right now - shellmain() + self.cmdloop(intro="md: the ...
a better way of doing the shell
py
diff --git a/gpiozero/pins/data.py b/gpiozero/pins/data.py index <HASH>..<HASH> 100644 --- a/gpiozero/pins/data.py +++ b/gpiozero/pins/data.py @@ -848,8 +848,8 @@ class PiBoardInfo(namedtuple('PiBoardInfo', ( 'A': '2013Q1', 'B': '2012Q1' if pcb_revision == '1.0' else '201...
Correct B+/2B release date change
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, find_packages setup(name='pypif-sdk', - version='2.2.0', + version='2.2.1', url='http://github.com/CitrineInformatics/pypif-sdk', description='High level s...
Version bump: patch for bugfixes
py
diff --git a/shoebot/gui/var_window.py b/shoebot/gui/var_window.py index <HASH>..<HASH> 100644 --- a/shoebot/gui/var_window.py +++ b/shoebot/gui/var_window.py @@ -1,4 +1,6 @@ #!/usr/bin/env python2 +from pkg_resources import resource_filename, Requirement + import gtk import os.path import sys @@ -8,7 +10,7 @@ TEXT...
Change the way the icon is found - wasn't always working before..
py
diff --git a/pyinfra/modules/git.py b/pyinfra/modules/git.py index <HASH>..<HASH> 100644 --- a/pyinfra/modules/git.py +++ b/pyinfra/modules/git.py @@ -124,9 +124,9 @@ def repo( if update_submodules: if recursive_submodules: - git_commands.append('submodule update --recursive') + gi...
adding --init flag to make sure submodule directory is properly initialised when updating
py
diff --git a/emailit/api.py b/emailit/api.py index <HASH>..<HASH> 100644 --- a/emailit/api.py +++ b/emailit/api.py @@ -3,7 +3,7 @@ import premailer from django.conf import settings from django.contrib.sites.models import Site from django.core.mail import EmailMultiAlternatives, mail_admins, mail_managers -from djang...
Use dict instead of Context for django <I> compatibility (#<I>)
py
diff --git a/imdbparser/movie.py b/imdbparser/movie.py index <HASH>..<HASH> 100644 --- a/imdbparser/movie.py +++ b/imdbparser/movie.py @@ -71,6 +71,8 @@ class Movie(Base): cover = self.trees[0].xpath("//link[@rel='image_src']/@href") if cover: self.cover = self.cleanup_photo_url(cover[0])...
not fetching imdb logo anymore when there is no cover
py
diff --git a/src/pythonModules/meteorpi_client/meteorpi_client/tests/test_client.py b/src/pythonModules/meteorpi_client/meteorpi_client/tests/test_client.py index <HASH>..<HASH> 100644 --- a/src/pythonModules/meteorpi_client/meteorpi_client/tests/test_client.py +++ b/src/pythonModules/meteorpi_client/meteorpi_client/te...
Commented tests a little.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ setup( , include_package_data = True , install_requires = - [ "delfick_app==0.9.3" + [ "delfick_app==0.9.4" , "option_merge==1.4.4" , "input_algorithms==0.5.8" , "option_...
Upgrading delfick_app
py
diff --git a/salt/modules/smartos_vmadm.py b/salt/modules/smartos_vmadm.py index <HASH>..<HASH> 100644 --- a/salt/modules/smartos_vmadm.py +++ b/salt/modules/smartos_vmadm.py @@ -98,10 +98,9 @@ def stop(vm=None, force=False, key='uuid'): if key not in ['uuid', 'alias', 'hostname']: ret['Error'] = 'Key mus...
always use lookup for vmadm.stop, this prevents incorrect uuids
py
diff --git a/steemtools/base.py b/steemtools/base.py index <HASH>..<HASH> 100644 --- a/steemtools/base.py +++ b/steemtools/base.py @@ -325,7 +325,7 @@ class Post(stm.steem.Post): steem = Node().default() if isinstance(post, stm.steem.Post): post = post.identifier - super(Post, ...
refactored to drop dependency on the steemtools, using python-steem feature branch
py
diff --git a/plenum/test/checkpoints/test_checkpoints_removal_in_view_change.py b/plenum/test/checkpoints/test_checkpoints_removal_in_view_change.py index <HASH>..<HASH> 100644 --- a/plenum/test/checkpoints/test_checkpoints_removal_in_view_change.py +++ b/plenum/test/checkpoints/test_checkpoints_removal_in_view_change....
INDY-<I>: add check that checkpoints don't processing in view change
py
diff --git a/dolo/compiler/model_numeric.py b/dolo/compiler/model_numeric.py index <HASH>..<HASH> 100644 --- a/dolo/compiler/model_numeric.py +++ b/dolo/compiler/model_numeric.py @@ -72,7 +72,7 @@ class NumericModel: try: group = group[0] except: - raise Exception('Unknown symb...
BUG: unformatted exception.
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 @@ -71,7 +71,8 @@ class Command: help : str The long help text for the command. brief : str - The short help text for the c...
[commands] Add Command.cog_name to get the cog name it belongs to.
py
diff --git a/future/tests/test_utils.py b/future/tests/test_utils.py index <HASH>..<HASH> 100644 --- a/future/tests/test_utils.py +++ b/future/tests/test_utils.py @@ -99,7 +99,11 @@ class TestUtils(unittest.TestCase): self.assertFalse(isbytes(self.s)) self.assertFalse(isbytes(self.s2)) + @unittes...
Mark test_raise_ as xfail on Py3 for now
py
diff --git a/napalm_yang/parser.py b/napalm_yang/parser.py index <HASH>..<HASH> 100644 --- a/napalm_yang/parser.py +++ b/napalm_yang/parser.py @@ -35,6 +35,7 @@ class Parser(object): device_config = "" self.config = "{}\n{}".format(self.config, device_config) + self.config = self.config.r...
Remove carrier returns from configurations for simplicity
py
diff --git a/dirutility/walk/walk.py b/dirutility/walk/walk.py index <HASH>..<HASH> 100644 --- a/dirutility/walk/walk.py +++ b/dirutility/walk/walk.py @@ -87,7 +87,7 @@ class DirPaths: self._get_filepaths() # Return filepaths def __iter__(self): - return iter(self.filepaths) + return iter...
Fixed a bug where filters were being applied without encoding strings to lowercase.
py
diff --git a/tests/unit/test_types.py b/tests/unit/test_types.py index <HASH>..<HASH> 100644 --- a/tests/unit/test_types.py +++ b/tests/unit/test_types.py @@ -201,7 +201,7 @@ class TypeTests(unittest.TestCase): self.assertEqual(DateType.deserialize(int64_pack(1000 * expected), 0), datetime.datetime.utcfromtime...
Don't use 'long' in unit tests. breaks python 3
py
diff --git a/src/peltak/core/git.py b/src/peltak/core/git.py index <HASH>..<HASH> 100755 --- a/src/peltak/core/git.py +++ b/src/peltak/core/git.py @@ -228,6 +228,7 @@ def guess_base_branch(): return None +@util.mark_deprecated('CommitDetails.get().author') def commit_author(sha1=''): """ Return the a...
Deprecate git.author() Replaced by CommitDetails.get().author
py
diff --git a/pandas/tests/indexing/test_loc.py b/pandas/tests/indexing/test_loc.py index <HASH>..<HASH> 100644 --- a/pandas/tests/indexing/test_loc.py +++ b/pandas/tests/indexing/test_loc.py @@ -43,6 +43,22 @@ from pandas.core.indexing import ( from pandas.tests.indexing.common import Base +@pytest.mark.parametriz...
TST: Nan must not be converted to string using .loc (#<I>) * TST: Nan must not be converted to string Closes #<I> * TST: Add test specific to the issue #<I> * TST: Parametrize multiple inputs change nan loc
py
diff --git a/threadedcomments/models.py b/threadedcomments/models.py index <HASH>..<HASH> 100644 --- a/threadedcomments/models.py +++ b/threadedcomments/models.py @@ -10,7 +10,7 @@ class ThreadedComment(Comment): parent = models.ForeignKey('self', null=True, blank=True, default=None, related_name='childre...
Changed tree_path not to be nullable, as per convention
py
diff --git a/fost_authn_debug/tests/mock_request.py b/fost_authn_debug/tests/mock_request.py index <HASH>..<HASH> 100644 --- a/fost_authn_debug/tests/mock_request.py +++ b/fost_authn_debug/tests/mock_request.py @@ -1,4 +1,5 @@ from datetime import datetime +from urllib import quote from fost_authn.signature import ...
We need to URL quote the username in case it has any weird characters in it.
py
diff --git a/src/pikepdf/models/image.py b/src/pikepdf/models/image.py index <HASH>..<HASH> 100644 --- a/src/pikepdf/models/image.py +++ b/src/pikepdf/models/image.py @@ -706,10 +706,6 @@ class PdfJpxImage(PdfImage): super().__init__(obj) self._jpxpil = self.as_pil_image() - def __eq__(self, othe...
image.py: Remove unneeded super delegation
py
diff --git a/torchvision/ops/misc.py b/torchvision/ops/misc.py index <HASH>..<HASH> 100644 --- a/torchvision/ops/misc.py +++ b/torchvision/ops/misc.py @@ -130,6 +130,16 @@ class FrozenBatchNorm2d(torch.nn.Module): self.register_buffer("running_mean", torch.zeros(n)) self.register_buffer("running_var",...
fix for loading models with num_batches_tracked in frozen bn (#<I>)
py
diff --git a/python/gumbo/gumboc.py b/python/gumbo/gumboc.py index <HASH>..<HASH> 100644 --- a/python/gumbo/gumboc.py +++ b/python/gumbo/gumboc.py @@ -496,13 +496,10 @@ class Options(ctypes.Structure): # function. Right now these are treated as opaque void pointers. ('allocator', ctypes.c_void_p), ...
Delete obsolete fields in ctypes Options structure.
py
diff --git a/raiden/network/proxies/service_registry.py b/raiden/network/proxies/service_registry.py index <HASH>..<HASH> 100644 --- a/raiden/network/proxies/service_registry.py +++ b/raiden/network/proxies/service_registry.py @@ -83,7 +83,7 @@ class ServiceRegistry: "url": url, } - if le...
Update raiden/network/proxies/service_registry.py
py
diff --git a/neurondm/neurondm/models/keast2020.py b/neurondm/neurondm/models/keast2020.py index <HASH>..<HASH> 100755 --- a/neurondm/neurondm/models/keast2020.py +++ b/neurondm/neurondm/models/keast2020.py @@ -9,7 +9,7 @@ sllp = 'ilxtr:hasSomaLocatedInLayer' alp = 'ilxtr:hasAxonLocatedIn' dlp = 'ilxtr:hasDendriteLoc...
keast update to use dendrite sensory subcellular element in there are edge cases where axons and/or somas can have sensory subcellular elements I'm sure, so we need to be explicit here for clarity
py
diff --git a/plaso/output/timesketch_out.py b/plaso/output/timesketch_out.py index <HASH>..<HASH> 100644 --- a/plaso/output/timesketch_out.py +++ b/plaso/output/timesketch_out.py @@ -5,7 +5,12 @@ from __future__ import unicode_literals try: from flask import current_app - import timesketch + # TODO: Added for b...
Updated Timesketch output module to work with upcoming version of Timesketch (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -87,6 +87,8 @@ def get_config_from_pkg_config(): known, unknown = parse_cflags(raw_cflags.decode("utf-8")) if unknown: print("pkg-config returned flags we don't understand: {}".format(unknown)) + if "...
[setup] detect static build, require FFmpeg to clean Fixes: #<I> Fixes: #<I>
py
diff --git a/mobanfile.py b/mobanfile.py index <HASH>..<HASH> 100644 --- a/mobanfile.py +++ b/mobanfile.py @@ -36,6 +36,7 @@ def handle_moban_file_v1(moban_file_configurations, command_line_options): targets = moban_file_configurations.get(constants.LABEL_TARGETS) if targets: + print(target) ...
:microscope: more test coverage. #<I>
py
diff --git a/qiskit/algorithms/optimizers/p_bfgs.py b/qiskit/algorithms/optimizers/p_bfgs.py index <HASH>..<HASH> 100644 --- a/qiskit/algorithms/optimizers/p_bfgs.py +++ b/qiskit/algorithms/optimizers/p_bfgs.py @@ -15,6 +15,7 @@ import logging import multiprocessing import platform +import sys import warnings from...
Fix bad version test in P_BFGS (#<I>) Comparing the string `platform.get_version_tuple()[1] >= "8"` fails once the minor version has two digits.
py
diff --git a/tests/test_utils.py b/tests/test_utils.py index <HASH>..<HASH> 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -94,7 +94,7 @@ def candidate_test_is_on_temporary_notimplemented_list(context, expectation_type # "expect_column_values_to_be_between", "expect_column_value...
corrected temp unimplemented list I messed up in previous commit, taking another test off of the temporary unimplemented list when it is not implemented in this PR
py
diff --git a/wandb/keras/__init__.py b/wandb/keras/__init__.py index <HASH>..<HASH> 100644 --- a/wandb/keras/__init__.py +++ b/wandb/keras/__init__.py @@ -187,6 +187,7 @@ class WandbCallback(keras.callbacks.Callback): self.log_gradients = log_gradients self.training_data = training_data self....
Move graph to batch_begin
py
diff --git a/cumulusci/robotframework/locators.py b/cumulusci/robotframework/locators.py index <HASH>..<HASH> 100644 --- a/cumulusci/robotframework/locators.py +++ b/cumulusci/robotframework/locators.py @@ -17,7 +17,7 @@ lex_locators = { }, "object": { "button": "css: div.windowViewMode-normal ul.for...
modify locator so that populate_form works with textareas previously it only worked for input fields, but it was a pretty simple fix to let it work with textareas
py
diff --git a/behave_django/environment.py b/behave_django/environment.py index <HASH>..<HASH> 100644 --- a/behave_django/environment.py +++ b/behave_django/environment.py @@ -1,4 +1,4 @@ -from behave import step_registry +from behave import step_registry as module_step_registry from behave.runner import ModelRunner, C...
FIX #<I>: Fixture loading using decorators not working
py
diff --git a/spacy/about.py b/spacy/about.py index <HASH>..<HASH> 100644 --- a/spacy/about.py +++ b/spacy/about.py @@ -1,6 +1,6 @@ # fmt: off __title__ = "spacy-nightly" -__version__ = "3.0.0a11" +__version__ = "3.0.0a12" __release__ = True __download_url__ = "https://github.com/explosion/spacy-models/releases/down...
Set version to <I>a<I>
py
diff --git a/pyontutils/ontutils.py b/pyontutils/ontutils.py index <HASH>..<HASH> 100755 --- a/pyontutils/ontutils.py +++ b/pyontutils/ontutils.py @@ -253,13 +253,12 @@ def url_blaster(urls, rate, timeout=5, verbose=False, debug=False, method='head' lt = len(urls) lo = lt - ln msg = f'{ln} ur...
ontutils_url blaster always print failures, also, vs curl even using joblib, url_blaster is hilariously slow, so something weird is going on
py
diff --git a/OpenPNM/Physics/models/multiphase.py b/OpenPNM/Physics/models/multiphase.py index <HASH>..<HASH> 100644 --- a/OpenPNM/Physics/models/multiphase.py +++ b/OpenPNM/Physics/models/multiphase.py @@ -66,7 +66,7 @@ def conduit_conductance(physics, phase, network, throat_conductance, open_conduits = -closed_c...
Removing white space for pep8 No comment!
py
diff --git a/pynspect/__init__.py b/pynspect/__init__.py index <HASH>..<HASH> 100644 --- a/pynspect/__init__.py +++ b/pynspect/__init__.py @@ -16,4 +16,4 @@ data structures. """ -__version__ = "0.14" +__version__ = "0.15"
DEPLOY: Increased package version to '<I>' to build new distribution.
py