diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/mpdlcd/display_fields.py b/mpdlcd/display_fields.py index <HASH>..<HASH> 100644 --- a/mpdlcd/display_fields.py +++ b/mpdlcd/display_fields.py @@ -261,7 +261,7 @@ class SamplingField(Field): def __init__(self, **kwargs): width = len(self._format_sampling()) - super(BitRateField, self)...
Fix typo in display_fields (See #<I>).
py
diff --git a/pyqode/core/server.py b/pyqode/core/server.py index <HASH>..<HASH> 100644 --- a/pyqode/core/server.py +++ b/pyqode/core/server.py @@ -111,6 +111,7 @@ class Server(object): self._workQueue = [] if autoCloseOnQuit: QtGui.QApplication.instance().aboutToQuit.connect(self.close) +...
Fix issue with _lock not allocated
py
diff --git a/cablemap.core/cablemap/core/handler.py b/cablemap.core/cablemap/core/handler.py index <HASH>..<HASH> 100644 --- a/cablemap.core/cablemap/core/handler.py +++ b/cablemap.core/cablemap/core/handler.py @@ -55,7 +55,8 @@ Constant for a subject locator reference. class CableHandler(object): """\ - An ...
Better docs, added obligatory "pass" statements
py
diff --git a/paranoid/types/numeric.py b/paranoid/types/numeric.py index <HASH>..<HASH> 100644 --- a/paranoid/types/numeric.py +++ b/paranoid/types/numeric.py @@ -41,7 +41,7 @@ class Numeric(Type): yield np.uint16(1) yield np.int0(-1) yield np.float16(3.141) - yield np....
Remove float<I> tests, not supported in Windows
py
diff --git a/about_time/about_time.py b/about_time/about_time.py index <HASH>..<HASH> 100644 --- a/about_time/about_time.py +++ b/about_time/about_time.py @@ -106,3 +106,33 @@ class HandleResult(Handle): @property def result(self): return self.__result + + +class HandleStats(Handle): + def __init_...
feat(*) new counter and throughput class
py
diff --git a/progressbar/bar.py b/progressbar/bar.py index <HASH>..<HASH> 100644 --- a/progressbar/bar.py +++ b/progressbar/bar.py @@ -45,10 +45,12 @@ class DefaultFdMixin(ProgressBarMixinBase): def update(self, *args, **kwargs): ProgressBarMixinBase.update(self, *args, **kwargs) self.fd.write('\...
made sure to flush after writing to stream
py
diff --git a/knights/loader.py b/knights/loader.py index <HASH>..<HASH> 100644 --- a/knights/loader.py +++ b/knights/loader.py @@ -26,6 +26,8 @@ def load_template(name, paths=None): src = fin.read() return kompile(src) + except FileNotFoundError: + pass except:...
Swallow FileNotFound when looking for templates
py
diff --git a/photutils/conftest.py b/photutils/conftest.py index <HASH>..<HASH> 100644 --- a/photutils/conftest.py +++ b/photutils/conftest.py @@ -2,13 +2,23 @@ # by importing them here in conftest.py they are discoverable by py.test # no matter how it is invoked within the source tree. +import os from astropy.tes...
Adding photutils version number to testing header
py
diff --git a/pirate-get.py b/pirate-get.py index <HASH>..<HASH> 100755 --- a/pirate-get.py +++ b/pirate-get.py @@ -264,7 +264,7 @@ def main(): mirrors = ["http://thepiratebay.se"] try: opener = urllib2.build_opener(NoRedirection) - f = opener.open("http://proxybay.info/list.txt...
Fixed issue #<I> wrong url for proxy list
py
diff --git a/nidmresults/objects/modelfitting.py b/nidmresults/objects/modelfitting.py index <HASH>..<HASH> 100644 --- a/nidmresults/objects/modelfitting.py +++ b/nidmresults/objects/modelfitting.py @@ -292,8 +292,8 @@ class Data(NIDMObject): (NIDM_GRAND_MEAN_SCALING, self.grand_mean_sc), (NID...
has MRI protocol only for ><I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -36,7 +36,7 @@ CLASSIFIERS = [ MAJOR = 0 MINOR = 3 -MICRO = 0 +MICRO = 1 VERSION = "{}.{}.{}".format(MAJOR, MINOR, MICRO) DEV = False
Increment version micro to update pip/conda-forge
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 @@ -695,7 +695,7 @@ class BaseCase(unittest.TestCase): step_value = float(distance) / total_steps n...
Finding optimal timing for slow-scrolling
py
diff --git a/fuse.py b/fuse.py index <HASH>..<HASH> 100644 --- a/fuse.py +++ b/fuse.py @@ -19,6 +19,7 @@ except: from string import join import sys +import os from errno import * from os import environ import re @@ -326,7 +327,7 @@ class FuseOptParse(SubbedOptParse): def parse_args(self, args=None, values=N...
absolutify the mount path when "fetch_mp" is set
py
diff --git a/dvc/repo/plots/__init__.py b/dvc/repo/plots/__init__.py index <HASH>..<HASH> 100644 --- a/dvc/repo/plots/__init__.py +++ b/dvc/repo/plots/__init__.py @@ -18,13 +18,17 @@ class Plots: (out,) = self.repo.find_outs_by_path(path) # This out will become a plot unless it is one already - ...
Fix modifying plot (#<I>) - no error when modifying plot with no props yet - do not turn into non-plot if all props are unset
py
diff --git a/src/saml2/attributemaps/saml_uri.py b/src/saml2/attributemaps/saml_uri.py index <HASH>..<HASH> 100644 --- a/src/saml2/attributemaps/saml_uri.py +++ b/src/saml2/attributemaps/saml_uri.py @@ -7,7 +7,7 @@ NETSCAPE_LDAP = "urn:oid:2.16.840.1.113730.3.1." UCL_DIR_PILOT = 'urn:oid:0.9.2342.19200300.100.1.' PKC...
Missed one number in the schac attribute base urn.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -56,7 +56,7 @@ dev_requirements = [ setup( - name='ipa', + name='python3-ipa', version='0.4.0', description="Package for automated testing of cloud images.", long_description=readme,
Fix name in setup to match package name.
py
diff --git a/src/foremast/configs/prepare_configs.py b/src/foremast/configs/prepare_configs.py index <HASH>..<HASH> 100644 --- a/src/foremast/configs/prepare_configs.py +++ b/src/foremast/configs/prepare_configs.py @@ -23,10 +23,8 @@ from base64 import b64decode import gitlab -from ..consts import GIT_URL, GITLAB_...
discovered duplicate hardcoded environments. Removed this
py
diff --git a/tests/test_parse_metadata.py b/tests/test_parse_metadata.py index <HASH>..<HASH> 100644 --- a/tests/test_parse_metadata.py +++ b/tests/test_parse_metadata.py @@ -1,6 +1,7 @@ # -*- coding: utf-8 -*- import logging +import os import unittest from pathlib import Path @@ -89,6 +90,12 @@ class TestParse...
Added testing for local file parsing Closes #<I>
py
diff --git a/faradayio_cli/faradayio_cli.py b/faradayio_cli/faradayio_cli.py index <HASH>..<HASH> 100644 --- a/faradayio_cli/faradayio_cli.py +++ b/faradayio_cli/faradayio_cli.py @@ -45,7 +45,7 @@ def setupSerialPort(loopback, port): the command line option. If loopback is True then it overrides physical port ...
Fixed args statement in docstring for #8
py
diff --git a/src/astral/geocoder.py b/src/astral/geocoder.py index <HASH>..<HASH> 100644 --- a/src/astral/geocoder.py +++ b/src/astral/geocoder.py @@ -18,7 +18,6 @@ from typing import Dict, Generator, List, Tuple, Union from astral import LocationInfo, latlng_to_float - __all__ = ["lookup", "database", "add_locat...
Added Melbourne to the list of locations
py
diff --git a/airtest/utils/version.py b/airtest/utils/version.py index <HASH>..<HASH> 100644 --- a/airtest/utils/version.py +++ b/airtest/utils/version.py @@ -1,4 +1,4 @@ -__version__ = "1.1.9" +__version__ = "1.1.10" import os import sys
level up to <I> (cherry picked from commit ca<I>ba<I>c<I>c4cd<I>e3cf9dab4bba<I>cb<I>c<I>)
py
diff --git a/can/__init__.py b/can/__init__.py index <HASH>..<HASH> 100644 --- a/can/__init__.py +++ b/can/__init__.py @@ -5,7 +5,7 @@ from __future__ import absolute_import import logging -__version__ = "2.0.0-rc.1" +__version__ = "2.0.0" log = logging.getLogger('can')
remove rc<I> from version
py
diff --git a/neovim/msgpack_rpc/event_loop/asyncio.py b/neovim/msgpack_rpc/event_loop/asyncio.py index <HASH>..<HASH> 100644 --- a/neovim/msgpack_rpc/event_loop/asyncio.py +++ b/neovim/msgpack_rpc/event_loop/asyncio.py @@ -93,6 +93,8 @@ class AsyncioEventLoop(BaseEventLoop, asyncio.Protocol, self._loop.run_unt...
event_loop/asyncio.py: Attach loop to child watcher (#<I>) Closes #<I>
py
diff --git a/sos/plugins/ceph.py b/sos/plugins/ceph.py index <HASH>..<HASH> 100644 --- a/sos/plugins/ceph.py +++ b/sos/plugins/ceph.py @@ -67,6 +67,7 @@ class Ceph(Plugin, RedHatPlugin, UbuntuPlugin): "ceph osd crush show-tunables", "ceph-disk list", "ceph versions", + ...
[ceph] Add 'ceph insights' command output This change adds the output of the recently added 'ceph insights' command. Resolves: #<I>
py
diff --git a/dragnet/models.py b/dragnet/models.py index <HASH>..<HASH> 100644 --- a/dragnet/models.py +++ b/dragnet/models.py @@ -46,6 +46,8 @@ kohlschuetter_weninger_model._blockifier = TagCountNoCSSBlockifier content_extractor._blockifier = TagCountNoCSSReadabilityBlockifier content_extractor._block_model = Sklear...
Add thresholding for content_comments_extractor
py
diff --git a/esgfpid/assistant/consistency.py b/esgfpid/assistant/consistency.py index <HASH>..<HASH> 100644 --- a/esgfpid/assistant/consistency.py +++ b/esgfpid/assistant/consistency.py @@ -24,8 +24,12 @@ class Checker(object): self.__will_run_check = True self.__message_why_not = 'No reason specifie...
If solr is switched off, do not even try to ask it for consistency info.
py
diff --git a/moto/core/access_control.py b/moto/core/access_control.py index <HASH>..<HASH> 100644 --- a/moto/core/access_control.py +++ b/moto/core/access_control.py @@ -1,3 +1,17 @@ +""" +This implementation is NOT complete, there are many things to improve. +The following is a list of the most important missing feat...
Collected TODOs in the header of the access_control file.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -15,6 +15,7 @@ setup( open(os.path.join(here, 'CHANGES')).read(), license='LPGL, see LICENSE file.', install_requires=[ + 'Django', 'geojson == 1.0.1', 'shapely', ]...
Django should be listed in requirements
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -42,7 +42,7 @@ setup( download_url='https://github.com/sebotic/WikidataIntegrator/tarball/0.0.325', packages=find_packages(), include_package_data=True, - long_description=read('../README.md'), + #long_des...
setup.py adapted for pypi
py
diff --git a/src/python/turicreate/toolkits/object_detector/object_detector.py b/src/python/turicreate/toolkits/object_detector/object_detector.py index <HASH>..<HASH> 100644 --- a/src/python/turicreate/toolkits/object_detector/object_detector.py +++ b/src/python/turicreate/toolkits/object_detector/object_detector.py @...
add input_image_shape to model summary. (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -58,6 +58,7 @@ setup( author_email='tobias.l.gustafsson@gmail.com', url='http://github.com/tobgu/pyrsistent/', license='MIT', + license_files=['LICENCE.mit'], py_modules=['_pyrsistent_version'], cla...
Include LICENSE file in packaged distribution
py
diff --git a/salt/states/archive.py b/salt/states/archive.py index <HASH>..<HASH> 100644 --- a/salt/states/archive.py +++ b/salt/states/archive.py @@ -127,7 +127,10 @@ def extracted(name, cwd=name) if results['retcode'] != 0: return results - files...
archive state: make it work with bsdtar (for e.g: on the Mac OS X)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ setup(name=metadata["__title__"], url=metadata["__uri__"], license=metadata["__license__"], packages=['quarkc'], - package_data={'': ['*.q', "lib/*.q", "lib/*.py", "lib/*.js", + pa...
Adding lib/.rb files to setup.py
py
diff --git a/hamper/commander.py b/hamper/commander.py index <HASH>..<HASH> 100644 --- a/hamper/commander.py +++ b/hamper/commander.py @@ -190,13 +190,18 @@ class CommanderProtocol(irc.IRCClient): self.factory.loader.runPlugins(category, func, self, *args) def _hamper_send(self, func, comm, message, enc...
Add warning and error logging to Commander::_hamper_send (reply)
py
diff --git a/salt/modules/elasticsearch.py b/salt/modules/elasticsearch.py index <HASH>..<HASH> 100644 --- a/salt/modules/elasticsearch.py +++ b/salt/modules/elasticsearch.py @@ -69,6 +69,7 @@ def _get_instance(hosts=None, profile=None): ''' Return the elasticsearch instance ''' + es = None if pr...
raise exception in modules.elasticsearch when connection to ES cluster failed
py
diff --git a/insights/client/constants.py b/insights/client/constants.py index <HASH>..<HASH> 100644 --- a/insights/client/constants.py +++ b/insights/client/constants.py @@ -3,7 +3,7 @@ import os class InsightsConstants(object): app_name = 'insights-client' - version = '3.0.0-5' + version = '3.0.2-6' ...
gotta keep em seperated (#<I>) * gotta keep em seperated * actually version <I>
py
diff --git a/tests/test_mixins.py b/tests/test_mixins.py index <HASH>..<HASH> 100644 --- a/tests/test_mixins.py +++ b/tests/test_mixins.py @@ -128,8 +128,8 @@ def _test_mixins_imageUrl(obj, attr): url = getattr(obj, attr + 'Url') if getattr(obj, attr): assert url.startswith(utils.SERVER_BASEURL) - ...
Fix collections image url mixins test
py
diff --git a/distutils/tests/support.py b/distutils/tests/support.py index <HASH>..<HASH> 100644 --- a/distutils/tests/support.py +++ b/distutils/tests/support.py @@ -108,8 +108,7 @@ class DummyCommand: """Class to store options for retrieval via set_undefined_options().""" def __init__(self, **kwargs): - ...
In DummyCommand, simplify setting of kwargs.
py
diff --git a/pmagpy/validate_upload3.py b/pmagpy/validate_upload3.py index <HASH>..<HASH> 100644 --- a/pmagpy/validate_upload3.py +++ b/pmagpy/validate_upload3.py @@ -174,7 +174,7 @@ def cv(row, col_name, arg, current_data_model, df, con): cell_values = cell_value.split(":") cell_values = [c.strip() for c in ...
prevent validation error with boolean controlled vocabulary type
py
diff --git a/src/astral.py b/src/astral.py index <HASH>..<HASH> 100644 --- a/src/astral.py +++ b/src/astral.py @@ -57,7 +57,7 @@ try: except ImportError: raise ImportError('The astral module requires the pytz module to be available.') -__all__ = ['City', 'Astral','AstralError'] +__all__ = ['City','Astral','Astr...
Changed __getitem__ docstring Minor cosmetic change
py
diff --git a/fut/core.py b/fut/core.py index <HASH>..<HASH> 100644 --- a/fut/core.py +++ b/fut/core.py @@ -172,6 +172,9 @@ class Core(object): self.timeout = timeout self.delay = delay self.request_time = 0 + # db + self._players = None + self._nations = None ...
cache players & nations db
py
diff --git a/molo/commenting/models.py b/molo/commenting/models.py index <HASH>..<HASH> 100644 --- a/molo/commenting/models.py +++ b/molo/commenting/models.py @@ -1,4 +1,5 @@ from django_comments.models import Comment +from django_comments.models import CommentFlag from django.dispatch import receiver from django_co...
ensure other flags don't result in comment removal and approved comments aren't removed
py
diff --git a/python_modules/dagstermill/setup.py b/python_modules/dagstermill/setup.py index <HASH>..<HASH> 100644 --- a/python_modules/dagstermill/setup.py +++ b/python_modules/dagstermill/setup.py @@ -41,6 +41,7 @@ def _do_setup(name='dagstermill'): 'dagster-pandas', 'ipykernel>=4.9.0', ...
Pin nbformat to less than <I> Summary: Nbformat released a new major rev a couple hours ago which broke our tests. Pinning it for now. Test Plan: BK Reviewers: alangenfeld, prha Reviewed By: prha Differential Revision: <URL>
py
diff --git a/lib/devpipeline_core/sanitizer.py b/lib/devpipeline_core/sanitizer.py index <HASH>..<HASH> 100644 --- a/lib/devpipeline_core/sanitizer.py +++ b/lib/devpipeline_core/sanitizer.py @@ -8,19 +8,17 @@ import devpipeline_core.plugin def _sanitize_empty_depends(configuration, error_fn): - for component_na...
Fix #5 - Use dictionary-like interface to access component configurations
py
diff --git a/IPython/html/widgets/__init__.py b/IPython/html/widgets/__init__.py index <HASH>..<HASH> 100644 --- a/IPython/html/widgets/__init__.py +++ b/IPython/html/widgets/__init__.py @@ -1,5 +1,6 @@ from base import Widget, init_widget_js +from bool import BoolWidget from container import ContainerWidget from ...
Added missing import reference for bool widget
py
diff --git a/superset/db_engine_specs.py b/superset/db_engine_specs.py index <HASH>..<HASH> 100644 --- a/superset/db_engine_specs.py +++ b/superset/db_engine_specs.py @@ -1067,11 +1067,15 @@ class HiveEngineSpec(PrestoEngineSpec): @classmethod def fetch_data(cls, cursor, limit): + import pyhive ...
Allow empty results in Hive (from SET, eg) (#<I>) * Allow empty results in Hive (from SET, eg) * Remove patch * Merge heads * Delete merge heads
py
diff --git a/drivers/python/rethinkdb/ast.py b/drivers/python/rethinkdb/ast.py index <HASH>..<HASH> 100644 --- a/drivers/python/rethinkdb/ast.py +++ b/drivers/python/rethinkdb/ast.py @@ -705,9 +705,9 @@ class ReQLDecoder(py_json.JSONDecoder): ''' Default JSONDecoder subclass to handle pseudo-type conversi...
Apply a patch from @sontek for a mutable global object.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -69,6 +69,8 @@ setup( 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2', + 'Programming Language :: Python :: 2.6', + 'Progra...
According the README, script was successfully tested in Python <I> and <I>.
py
diff --git a/howdoi/howdoi.py b/howdoi/howdoi.py index <HASH>..<HASH> 100755 --- a/howdoi/howdoi.py +++ b/howdoi/howdoi.py @@ -171,7 +171,7 @@ def _extract_links(html, search_engine): def _get_search_url(search_engine): return SEARCH_URLS.get(search_engine, SEARCH_URLS['google']) -def _detect_block(page): +def ...
_detect_block -> _is_blocked
py
diff --git a/apng/__init__.py b/apng/__init__.py index <HASH>..<HASH> 100644 --- a/apng/__init__.py +++ b/apng/__init__.py @@ -30,12 +30,18 @@ def is_png(png): """ if isinstance(png, str): with open(png, "rb") as f: - png = f.read(8) + png_header = f.read(8) + elif hasattr(png, "read"): + position = png.t...
Fix: Reset file object position in is_png() (#2) * Reset file object position in is_png() Otherwise chunk() function will miss the first 8 bytes when `png` is file-object-like. * Update __init__.py
py
diff --git a/napd/nap.py b/napd/nap.py index <HASH>..<HASH> 100644 --- a/napd/nap.py +++ b/napd/nap.py @@ -283,6 +283,9 @@ class Nap: raise NapInputError("pool specification contain both 'id' and 'key', specify pool id or name") # name is only unique together with schema, find schema ...
Add TODO entry on improving code readability
py
diff --git a/pymmd/download.py b/pymmd/download.py index <HASH>..<HASH> 100644 --- a/pymmd/download.py +++ b/pymmd/download.py @@ -24,10 +24,10 @@ SHLIB_EXT = { } def build_posix(): - return subprocess.call(['make']) + return subprocess.call(['make', 'libMultiMarkdownShared']) def build_ms(): - return subproc...
Change download to only build shared library component
py
diff --git a/json5/lib.py b/json5/lib.py index <HASH>..<HASH> 100644 --- a/json5/lib.py +++ b/json5/lib.py @@ -269,15 +269,17 @@ def _dump_str(obj, ensure_ascii): ret.append('\\0') elif not ensure_ascii: ret.append(ch) - elif ord(ch) < 128: - ret.append(ch) - ...
escape chars < 0x<I> as well
py
diff --git a/currencies/utils.py b/currencies/utils.py index <HASH>..<HASH> 100644 --- a/currencies/utils.py +++ b/currencies/utils.py @@ -8,7 +8,7 @@ def calculate_price(price, currency): factor = Currency.objects.get(code__exact=currency).factor except Currency.DoesNotExist: if settings.DEBUG: ...
Simplify a raise in debug mode
py
diff --git a/wake.py b/wake.py index <HASH>..<HASH> 100644 --- a/wake.py +++ b/wake.py @@ -64,7 +64,11 @@ class Vulture(ast.NodeVisitor): def scan(self, node_string): self.code = node_string.splitlines() - node = ast.parse(node_string) + try: + node = ast.parse(node_string) + ...
print file for SyntaxErrors
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,9 +3,9 @@ import sdist_upip setup(name='picoweb', - version='1.4.1', + version='1.5', description="A very lightweight, memory-efficient async web framework \ -for MicroPython.org and its uasyncio modul...
setup: Release <I>.
py
diff --git a/spotify/sync/models.py b/spotify/sync/models.py index <HASH>..<HASH> 100644 --- a/spotify/sync/models.py +++ b/spotify/sync/models.py @@ -25,7 +25,7 @@ class SyncMeta(type): elif base_name != "Client": def __init__(self, client, *args, **kwargs): - super().__init__(cl...
bugfix #<I> bad mro resolution for super call
py
diff --git a/torf/_torrent.py b/torf/_torrent.py index <HASH>..<HASH> 100644 --- a/torf/_torrent.py +++ b/torf/_torrent.py @@ -1551,12 +1551,7 @@ class Torrent(): raise error.BdecodeError(filepath) def copy(self): - """ - Return a new object with the same metainfo - - Internally...
Torrent.copy(): Be less chatty in docstring
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ with open(os.path.join(os.path.dirname(__file__), 'test_requirements.txt')) as f setup( name='zappa', - version='0.17.3', + version='0.17.4', packages=['zappa'], install_requires=required...
<I> - Version bump to publish a few recent fixes
py
diff --git a/pysat/utils/_core.py b/pysat/utils/_core.py index <HASH>..<HASH> 100644 --- a/pysat/utils/_core.py +++ b/pysat/utils/_core.py @@ -495,13 +495,15 @@ def fmt_output_in_cols(out_strs, ncols=3, max_num=6, lpad=None): output += '\n' # Print out remaining variables one at a time on a single line ...
MAINT: removed extra newline Removed extra newline printed when there is no extra data.
py
diff --git a/pypsa/networkclustering.py b/pypsa/networkclustering.py index <HASH>..<HASH> 100644 --- a/pypsa/networkclustering.py +++ b/pypsa/networkclustering.py @@ -78,8 +78,9 @@ def aggregategenerators(network, busmap, with_time=True, carriers=None, custom_s columns = (set(attrs.index[attrs.static & attrs.statu...
networkclustering: Improve aggregategenerators w/o weights
py
diff --git a/pupa/importers/bills.py b/pupa/importers/bills.py index <HASH>..<HASH> 100644 --- a/pupa/importers/bills.py +++ b/pupa/importers/bills.py @@ -69,7 +69,7 @@ class BillImporter(BaseImporter): sponsor['person_id']) if 'organization_id' in sponsor: - sponsor['...
Importer for org sponsors should be the org_importer
py
diff --git a/holoviews/plotting/mpl/plot.py b/holoviews/plotting/mpl/plot.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/mpl/plot.py +++ b/holoviews/plotting/mpl/plot.py @@ -178,7 +178,7 @@ class MPLPlot(DimensionedPlot): return self.handles['axis'] else: fig = self.handles['...
Fixed closing of matplotlib figures
py
diff --git a/bot/action/core/filter.py b/bot/action/core/filter.py index <HASH>..<HASH> 100644 --- a/bot/action/core/filter.py +++ b/bot/action/core/filter.py @@ -43,6 +43,14 @@ class MessageAction(IntermediateAction): self._continue(event) +class ChosenInlineResultAction(IntermediateAction): + def ...
Add support for ChosenInlineResult with a filter action
py
diff --git a/qless/profile.py b/qless/profile.py index <HASH>..<HASH> 100644 --- a/qless/profile.py +++ b/qless/profile.py @@ -90,5 +90,3 @@ class Profiler(object): def __exit__(self, typ, value, trace): self.stop() self.display() - if typ: - raise typ, value, trace
No need to re-raise in context manager exit handlers
py
diff --git a/taskqueue_cli/taskqueue_cli.py b/taskqueue_cli/taskqueue_cli.py index <HASH>..<HASH> 100644 --- a/taskqueue_cli/taskqueue_cli.py +++ b/taskqueue_cli/taskqueue_cli.py @@ -65,7 +65,7 @@ def release(queuepath): @main.command() @click.argument("src") @click.argument("dest") -def copy(src, dest): +def cp(src...
refactor: rename copy to cp
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -46,7 +46,7 @@ setup( include_package_data=True, zip_safe=False, install_requires=[ - 'pysaml2==0.4.1', + 'pysaml2==0.4.3', 'python-memcached==1.48', ], )
Update pysaml2 to <I>
py
diff --git a/src/scs_core/gas/afe_calib.py b/src/scs_core/gas/afe_calib.py index <HASH>..<HASH> 100644 --- a/src/scs_core/gas/afe_calib.py +++ b/src/scs_core/gas/afe_calib.py @@ -162,27 +162,18 @@ class AFECalib(PersistentJSONable): def __eq__(self, other): try: - print(1) - if l...
Added __eq__(..) methods
py
diff --git a/synapse/lib/net.py b/synapse/lib/net.py index <HASH>..<HASH> 100644 --- a/synapse/lib/net.py +++ b/synapse/lib/net.py @@ -390,12 +390,12 @@ class Chan(Link): def _tx_real(self, mesg): + name = 'data' if self._chan_txinit: - self._chan_txinit = True - self.link...
Set _chan_txinit to False after it sends the initial init msg
py
diff --git a/trelliopg/sql.py b/trelliopg/sql.py index <HASH>..<HASH> 100755 --- a/trelliopg/sql.py +++ b/trelliopg/sql.py @@ -5,6 +5,7 @@ import sys from asyncpg.transaction import Transaction from asyncpg.connection import Connection from asyncpg.pool import Pool, create_pool +from trelliolibs.utils.helpers import...
async_atomic bad response bug fix
py
diff --git a/www/src/Lib/browser/webworker.py b/www/src/Lib/browser/webworker.py index <HASH>..<HASH> 100644 --- a/www/src/Lib/browser/webworker.py +++ b/www/src/Lib/browser/webworker.py @@ -9,9 +9,8 @@ from browser import window import asyncio import os import sys - -DEFAULT_BRYTHON_OPTIONS = { -} + +DEFAULT_...
Use the parent's brython options as the default for workers
py
diff --git a/swingtix/bookkeeper/models.py b/swingtix/bookkeeper/models.py index <HASH>..<HASH> 100644 --- a/swingtix/bookkeeper/models.py +++ b/swingtix/bookkeeper/models.py @@ -94,7 +94,8 @@ class Account(models.Model, _AccountApi): positive_credit = models.BooleanField( """credit entries increase the...
Resolution of that part of SwingTix/bookkeeper/#4 The relevant warning message was : "BooleanField does not have a default value". I provided a default of False as that was the default for a BooleanField before you were asked to make an explicit default.
py
diff --git a/dusty/systems/compose/__init__.py b/dusty/systems/compose/__init__.py index <HASH>..<HASH> 100644 --- a/dusty/systems/compose/__init__.py +++ b/dusty/systems/compose/__init__.py @@ -36,7 +36,7 @@ def _compose_up(): def _compose_stop(): logging.info('Running docker-compose stop') - check_call_dem...
near suicide. i hate this pr
py
diff --git a/spyderlib/widgets/sourcecode/codeeditor.py b/spyderlib/widgets/sourcecode/codeeditor.py index <HASH>..<HASH> 100644 --- a/spyderlib/widgets/sourcecode/codeeditor.py +++ b/spyderlib/widgets/sourcecode/codeeditor.py @@ -2121,8 +2121,11 @@ class CodeEditor(TextEditBaseWidget): cursor = self.textCurso...
Editor: Don't autoinsert quotes if there is text to the right of the cursor
py
diff --git a/imhotep/main.py b/imhotep/main.py index <HASH>..<HASH> 100644 --- a/imhotep/main.py +++ b/imhotep/main.py @@ -55,4 +55,4 @@ def main(): if __name__ == '__main__': - main() \ No newline at end of file + main()
W<I> no newline at end of file
py
diff --git a/dedupe/predicates.py b/dedupe/predicates.py index <HASH>..<HASH> 100644 --- a/dedupe/predicates.py +++ b/dedupe/predicates.py @@ -57,7 +57,7 @@ def initials(field, n=None): >>> initials("noslice") ('noslice', ) """ - return (field[:n], ) if not n or len(field) > n-1 else () + return (...
Caugh edge cause for initials of n=0 v. n=None
py
diff --git a/tests/CLI/modules/securitygroup_tests.py b/tests/CLI/modules/securitygroup_tests.py index <HASH>..<HASH> 100644 --- a/tests/CLI/modules/securitygroup_tests.py +++ b/tests/CLI/modules/securitygroup_tests.py @@ -118,8 +118,11 @@ class SecurityGroupTests(testing.TestCase): 'remoteG...
NETWORK-<I> - modifying the rule class and test class to have the createDate and modifyDate parameters
py
diff --git a/ipa/ipa_cloud.py b/ipa/ipa_cloud.py index <HASH>..<HASH> 100644 --- a/ipa/ipa_cloud.py +++ b/ipa/ipa_cloud.py @@ -605,7 +605,7 @@ class IpaCloud(object): If tests pass and cleanup flag is none, or cleanup flag is true, terminate instance. """ - if status == 0 and self.clea...
Wrap first clause in brackets. In cleanup instance method to make the order clear.
py
diff --git a/metanl/wordlist.py b/metanl/wordlist.py index <HASH>..<HASH> 100644 --- a/metanl/wordlist.py +++ b/metanl/wordlist.py @@ -201,7 +201,7 @@ def get_frequency(word, lang, default_freq=0, scale=1e9): "but %r contains a space" % word) lookup = preprocess_text(word).lower() - ...
Word frequencies should be monotonic. If you look up a word in the wordlist, and it occurs 0 times, then you get the default_freq back as your result. If it occurs once, previously you would get 1. What you should get is (default_freq + 1), so that it's higher than not being there at all.
py
diff --git a/graphene_django_extras/converter.py b/graphene_django_extras/converter.py index <HASH>..<HASH> 100644 --- a/graphene_django_extras/converter.py +++ b/graphene_django_extras/converter.py @@ -322,7 +322,8 @@ def convert_field_to_list_or_connection( def dynamic_type(): if input_flag and not nest...
Add description on manytomanyfields
py
diff --git a/pre_commit/languages/python.py b/pre_commit/languages/python.py index <HASH>..<HASH> 100644 --- a/pre_commit/languages/python.py +++ b/pre_commit/languages/python.py @@ -114,11 +114,6 @@ def get_default_version() -> str: # pragma: no cover (platform dependent) if _find_by_py_launcher(exe): r...
remove hardcoded python location
py
diff --git a/Lib/fontbakery/profiles/universal.py b/Lib/fontbakery/profiles/universal.py index <HASH>..<HASH> 100644 --- a/Lib/fontbakery/profiles/universal.py +++ b/Lib/fontbakery/profiles/universal.py @@ -1126,20 +1126,13 @@ def com_google_fonts_check_unreachable_glyphs(ttFont): for ligatures in sub....
Comment about GSUB5/6 lookups in unreachable glyphs check
py
diff --git a/tests/test_scrubbers.py b/tests/test_scrubbers.py index <HASH>..<HASH> 100644 --- a/tests/test_scrubbers.py +++ b/tests/test_scrubbers.py @@ -66,9 +66,10 @@ class ScrubberTestCase(unittest.TestCase): filth = list(scrubber.iter_filth('hello jane@example.com')) self.assertEqual(len(filth), ...
change test as py<I> and py<I> return different orders
py
diff --git a/ariadne/validation/query_cost.py b/ariadne/validation/query_cost.py index <HASH>..<HASH> 100644 --- a/ariadne/validation/query_cost.py +++ b/ariadne/validation/query_cost.py @@ -314,11 +314,11 @@ def validate_cost_map(cost_map: Dict[str, Dict[str, Any]], schema: GraphQLSchema ) -def...
Add more type annotations to query cost validator
py
diff --git a/hwrt/datasets/__init__.py b/hwrt/datasets/__init__.py index <HASH>..<HASH> 100644 --- a/hwrt/datasets/__init__.py +++ b/hwrt/datasets/__init__.py @@ -18,7 +18,8 @@ username2id = {} def formula_to_dbid(formula_str, backslash_fix=False): - """Convert a LaTeX formula to the database index. + """ + ...
Remove 'is_important' from 'wm_raw_draw_data'
py
diff --git a/cldoc/generators/xml.py b/cldoc/generators/xml.py index <HASH>..<HASH> 100644 --- a/cldoc/generators/xml.py +++ b/cldoc/generators/xml.py @@ -177,6 +177,8 @@ class Xml(Generator): elem.set('typedef', 'yes') def struct_to_xml(self, node, elem): + self.class_to_xml(node, elem) + ...
Call class_to_xml from struct_to_xml C++ structs are like classes
py
diff --git a/scheduler/coreos.py b/scheduler/coreos.py index <HASH>..<HASH> 100644 --- a/scheduler/coreos.py +++ b/scheduler/coreos.py @@ -112,7 +112,7 @@ class FleetClient(object): status = None for _ in range(60): status = subprocess.check_output( - "fleetctl.sh list-unit...
fix(controller): watch fifth column for state fleetctl <I> introduced a fifth column, so we need to update the location of the state column.
py
diff --git a/src/djangorecipe/wsgi.py b/src/djangorecipe/wsgi.py index <HASH>..<HASH> 100644 --- a/src/djangorecipe/wsgi.py +++ b/src/djangorecipe/wsgi.py @@ -29,7 +29,7 @@ def main(settings_file, logfile=None): self.log(data) def log(self, msg): - line = '%s - %s\n' %% ( ...
Fixed typo in wsgi.py
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -304,7 +304,6 @@ install_requires = [ 'pylint', 'psutil', 'qtawesome', - 'path.py', 'pickleshare' ]
Setuo.py: Remove path.py from our list of deps
py
diff --git a/zipline/transforms/utils.py b/zipline/transforms/utils.py index <HASH>..<HASH> 100644 --- a/zipline/transforms/utils.py +++ b/zipline/transforms/utils.py @@ -24,6 +24,7 @@ from copy import deepcopy from datetime import datetime from collections import deque from abc import ABCMeta, abstractmethod +from ...
MIN: Changed isinstance check to allow more types.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ setup( packages=find_packages('src', exclude=['ez_setup']), package_dir={'': 'src'}, namespace_packages=['calmjs'], - zip_safe=True, + zip_safe=False, install_requires=[ 'setup...
Remove zip_safe - Huge liability. - Makes it impossible for unittest to pick up tests automatically.
py
diff --git a/src/aks-preview/setup.py b/src/aks-preview/setup.py index <HASH>..<HASH> 100644 --- a/src/aks-preview/setup.py +++ b/src/aks-preview/setup.py @@ -8,7 +8,7 @@ from codecs import open as open1 from setuptools import setup, find_packages -VERSION = "0.5.24" +VERSION = "0.5.25" CLASSIFIERS = [ 'Devel...
update aks-preview version (#<I>)
py
diff --git a/cassandra/cluster.py b/cassandra/cluster.py index <HASH>..<HASH> 100644 --- a/cassandra/cluster.py +++ b/cassandra/cluster.py @@ -821,6 +821,7 @@ class Cluster(object): return log.debug("Preparing all known prepared statements against host %s", host) + connection = None ...
Don't reference uninitialized conn in finally block If we failed to get a connection, the finally block would try to reference an uninitialized variable
py
diff --git a/commands.py b/commands.py index <HASH>..<HASH> 100644 --- a/commands.py +++ b/commands.py @@ -431,7 +431,7 @@ def format_who_when(fields): def format_property(name, value): """Format the name and value (both unicode) of a property as a string.""" utf8_name = name.encode('utf8') - if value: + ...
Ensure empty string property values stay as empty strings
py
diff --git a/floyd/cli/experiment.py b/floyd/cli/experiment.py index <HASH>..<HASH> 100644 --- a/floyd/cli/experiment.py +++ b/floyd/cli/experiment.py @@ -6,7 +6,7 @@ import sys import floyd from floyd.cli.utils import ( - get_module_task_instance_id, normalize_job_name, normalize_data_name + get_module_task_...
fix: do not read data config for info command
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -42,6 +42,7 @@ setup(name='motor', author_email='jesse@10gen.com', url='https://github.com/mongodb/motor/', install_requires=[ + 'pymongo >= 2.4.2', 'tornado >= 2.4.0', 'gree...
PyMongo <I> is out; it's the first release Motor can use
py
diff --git a/tests/parse_ifconfig.py b/tests/parse_ifconfig.py index <HASH>..<HASH> 100644 --- a/tests/parse_ifconfig.py +++ b/tests/parse_ifconfig.py @@ -73,7 +73,8 @@ class IfConfig: else: env = os.environ.copy() env.update(LANG='C.utf8') - p = Popen('ifconfig', stdout=PI...
Use universal_newlines with Popen, get strs, not bytes
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,9 +1,13 @@ """ SQLAlchemy-JSONAPI -------------- +------------------ JSON API Mixin for SQLAlchemy that aims to meet the full JSON API spec as published at http://jsonapi.org/format. + +Full documentation is available...
Adding link to documentation in setup.py
py
diff --git a/pyfakefs/fake_filesystem.py b/pyfakefs/fake_filesystem.py index <HASH>..<HASH> 100644 --- a/pyfakefs/fake_filesystem.py +++ b/pyfakefs/fake_filesystem.py @@ -98,7 +98,7 @@ except ImportError: __pychecker__ = 'no-reimportself' -__version__ = '2.6' +__version__ = '2.7' PERM_READ = 0o400 # Read p...
Increment version to <I>
py
diff --git a/apps/align.py b/apps/align.py index <HASH>..<HASH> 100644 --- a/apps/align.py +++ b/apps/align.py @@ -145,7 +145,7 @@ def nucmer(args): mm = MakeManager() for i, (r, q) in enumerate(product(reflist, querylist)): - pf = "{0:03d}".format(i) + pf = "{0:04d}".format(i) cmd = ...
[apps] pad with 4 digits in apps.align.nucmer()
py