diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/pynmea2/types/talker.py b/pynmea2/types/talker.py index <HASH>..<HASH> 100644 --- a/pynmea2/types/talker.py +++ b/pynmea2/types/talker.py @@ -684,8 +684,6 @@ class VPW(TalkerSentence): # 5) Checksum class VDR(TalkerSentence): - """ Set and Drift - """ fields = ( ("Degrees Tru...
Update talker.py VDR added (set and drift)
py
diff --git a/tests/test_parser.py b/tests/test_parser.py index <HASH>..<HASH> 100644 --- a/tests/test_parser.py +++ b/tests/test_parser.py @@ -37,3 +37,20 @@ def test_parse_string(string_data): } assert parse_string(string_data) == expected + + +@pytest.fixture +def string_data_with_no_newline(): + with ...
Add new test for strings that don't end with a newline
py
diff --git a/fc/plot.py b/fc/plot.py index <HASH>..<HASH> 100644 --- a/fc/plot.py +++ b/fc/plot.py @@ -721,7 +721,8 @@ def density_and_hist(data, # Plot gate contour if gate_contour is not None: for g in gate_contour: - pyplot.plot(g[:,0], g[:,1], color = 'r', linewidth = 1...
Changed gate color in plots.
py
diff --git a/did/plugins/jira.py b/did/plugins/jira.py index <HASH>..<HASH> 100644 --- a/did/plugins/jira.py +++ b/did/plugins/jira.py @@ -110,7 +110,7 @@ class Issue(object): for comment in self.comments: created = dateutil.parser.parse(comment["created"]).date() try: - ...
Use email for searching Jira issues [fix #<I>]
py
diff --git a/benchexec/tools/frama-c-sv.py b/benchexec/tools/frama-c-sv.py index <HASH>..<HASH> 100644 --- a/benchexec/tools/frama-c-sv.py +++ b/benchexec/tools/frama-c-sv.py @@ -40,7 +40,7 @@ class Tool(benchexec.tools.template.BaseTool2): def determine_result(self, run): lastline = run.output[-1] - ...
Update result matching for frama-c-sv. We recently changed the output format of frama-c-sv which causes Benchexec to report all new run results as error. This commit adjusts result determination to match the new ouput format.
py
diff --git a/tcconfig/parser.py b/tcconfig/parser.py index <HASH>..<HASH> 100644 --- a/tcconfig/parser.py +++ b/tcconfig/parser.py @@ -75,10 +75,6 @@ class TcFilterParser(object): return self.__filter_network @property - def filter_port(self): - return self.__filter_dst_port - - @property ...
Remove a public attribute that does not call from outside the class
py
diff --git a/test_pylast.py b/test_pylast.py index <HASH>..<HASH> 100755 --- a/test_pylast.py +++ b/test_pylast.py @@ -5,6 +5,7 @@ Integration (not unit) tests for pylast.py import argparse import os from random import choice +import sys import time import unittest @@ -30,6 +31,16 @@ class TestPyLast(unittest.Te...
Python 3 fix: DeprecationWarning: Please use assertRaisesRegex instead
py
diff --git a/SoftLayer/CLI/virt/create_options.py b/SoftLayer/CLI/virt/create_options.py index <HASH>..<HASH> 100644 --- a/SoftLayer/CLI/virt/create_options.py +++ b/SoftLayer/CLI/virt/create_options.py @@ -27,7 +27,7 @@ def cli(env): datacenters = [dc['template']['datacenter']['name'] for dc i...
Fixes datacenter listing overrunning its line in `vs create-options` cmd
py
diff --git a/discord/webhook/async_.py b/discord/webhook/async_.py index <HASH>..<HASH> 100644 --- a/discord/webhook/async_.py +++ b/discord/webhook/async_.py @@ -1471,6 +1471,10 @@ class Webhook(BaseWebhook): if view is not MISSING: if isinstance(self._state, _WebhookState): rais...
Raise a TypeError if a non-View is passed to Webhook.send
py
diff --git a/django_static/templatetags/django_static.py b/django_static/templatetags/django_static.py index <HASH>..<HASH> 100644 --- a/django_static/templatetags/django_static.py +++ b/django_static/templatetags/django_static.py @@ -747,6 +747,11 @@ def _run_closure_compiler(jscode): proc = Popen(cmd, shell=True...
Added a workaround for a bug with new closure compiler versions
py
diff --git a/cwltool/executors.py b/cwltool/executors.py index <HASH>..<HASH> 100644 --- a/cwltool/executors.py +++ b/cwltool/executors.py @@ -97,7 +97,10 @@ class JobExecutor(six.with_metaclass(ABCMeta, object)): path_mapper=runtime_context.path_mapper) if runtime_context.rm_tmpdir: - ...
Fix case where cachedir is None (i.e. caching disabled)
py
diff --git a/bika/lims/browser/contact.py b/bika/lims/browser/contact.py index <HASH>..<HASH> 100644 --- a/bika/lims/browser/contact.py +++ b/bika/lims/browser/contact.py @@ -77,16 +77,14 @@ class ContactLoginDetailsView(BrowserView): group.addMember(username) # Additional groups for Lab...
Fixed Client Contacts: no groups specified also #<I>
py
diff --git a/validator/sawtooth_validator/server/future.py b/validator/sawtooth_validator/server/future.py index <HASH>..<HASH> 100644 --- a/validator/sawtooth_validator/server/future.py +++ b/validator/sawtooth_validator/server/future.py @@ -14,6 +14,7 @@ # ------------------------------------------------------------...
Add support for tracking reconciliation time to Future
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -27,6 +27,6 @@ setup(name='wilson', install_requires=['scipy>=1.0', 'numpy', 'pylha>=0.2', 'pyyaml', 'ckmutil>=0.3', 'wcxf>=1.4.2', 'rundec>=0.5'], extras_require={ - 'testing'...
Remove smeftrunner from testing dependencies
py
diff --git a/tests/test_cli.py b/tests/test_cli.py index <HASH>..<HASH> 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -160,7 +160,7 @@ def test_list_with_instance(): assert "OPTION_FOR_TESTS: True" in result -def test_list_with_instance_from_env(mocker): +def test_list_with_instance_from_env(): ...
Remove mocker fixture Left this accidentaly. <URL>
py
diff --git a/tools/c7n_azure/c7n_azure/resources/advisor.py b/tools/c7n_azure/c7n_azure/resources/advisor.py index <HASH>..<HASH> 100644 --- a/tools/c7n_azure/c7n_azure/resources/advisor.py +++ b/tools/c7n_azure/c7n_azure/resources/advisor.py @@ -17,7 +17,7 @@ class AdvisorRecommendation(ArmResourceManager): ...
azure - advisor-recommendation - fix typo in example (#<I>) Fix spelling mistake in example policy
py
diff --git a/parse_rest/tests.py b/parse_rest/tests.py index <HASH>..<HASH> 100755 --- a/parse_rest/tests.py +++ b/parse_rest/tests.py @@ -208,8 +208,8 @@ class TestTypes(unittest.TestCase): self.assert_(type(native_date) is dict, 'Could not serialize date into dict') iso_date = ...
Update tests to be consistent with commit de1be9a<I>fda4aff<I>aa<I>fdd7bb9d<I>be<I>ab
py
diff --git a/django_toolkit/views.py b/django_toolkit/views.py index <HASH>..<HASH> 100644 --- a/django_toolkit/views.py +++ b/django_toolkit/views.py @@ -222,7 +222,7 @@ class AjaxMixin(object): return self.request.META.get('HTTP_X_REQUESTED_WITH') == 'XMLHttpRequest' def accepts_json(self): - ...
Ensured that if META HTTP_ACCEPT is not set an error does not occur.
py
diff --git a/command/install.py b/command/install.py index <HASH>..<HASH> 100644 --- a/command/install.py +++ b/command/install.py @@ -51,7 +51,7 @@ if HAS_USER_SITE: 'purelib': '$usersite', 'platlib': '$usersite', 'headers': '$userbase/Python$py_version_nodot/Include/$dist_name', - 's...
Closes #<I>: Make user scripts directory versioned on Windows (patch by pmoore)
py
diff --git a/umbra/globals/uiConstants.py b/umbra/globals/uiConstants.py index <HASH>..<HASH> 100644 --- a/umbra/globals/uiConstants.py +++ b/umbra/globals/uiConstants.py @@ -246,7 +246,7 @@ class UiConstants(): :type invalidLinkHtmlFile: unicode """ - crittercismId = "51290b63421c983d17000490" + crittercismId = ...
Update "Crittercism" application id.
py
diff --git a/discord/member.py b/discord/member.py index <HASH>..<HASH> 100644 --- a/discord/member.py +++ b/discord/member.py @@ -551,8 +551,6 @@ class Member(discord.abc.Messageable, _UserTag): @property def mention(self) -> str: """:class:`str`: Returns a string that allows you to mention the memb...
Remove the use of ! in the Member.mention property
py
diff --git a/tests/test_cli.py b/tests/test_cli.py index <HASH>..<HASH> 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -9,6 +9,8 @@ from click.testing import CliRunner import xclim as xc from xclim.cli import cli +xc.set_options(cf_compliance="warn") + @pytest.mark.parametrize( "indicators,indnam...
Set cf compliance in cli tests
py
diff --git a/salt/states/mount.py b/salt/states/mount.py index <HASH>..<HASH> 100644 --- a/salt/states/mount.py +++ b/salt/states/mount.py @@ -217,6 +217,9 @@ def mounted(name, 'auto', 'users', 'bind', + 'nonempty', + '...
Adding sshfs mount options to the invisible list. These options force a reboot since they won't be listed in the currently mounted device listing.
py
diff --git a/uni_form/layout.py b/uni_form/layout.py index <HASH>..<HASH> 100644 --- a/uni_form/layout.py +++ b/uni_form/layout.py @@ -231,13 +231,6 @@ class Div(object): self.template = kwargs.get('template', self.template) def render(self, form, form_style, context): - template = Template(""" -...
Left former template in code in `Div` by mistake, removing unused code.
py
diff --git a/raiden_contracts/tests/test_contract_manager.py b/raiden_contracts/tests/test_contract_manager.py index <HASH>..<HASH> 100644 --- a/raiden_contracts/tests/test_contract_manager.py +++ b/raiden_contracts/tests/test_contract_manager.py @@ -36,5 +36,5 @@ def test_solc_unavailable(): importlib.reload(...
Use ImportError instead of ModuleNotFoundError to support python <I>
py
diff --git a/py/apigen/apigen.py b/py/apigen/apigen.py index <HASH>..<HASH> 100644 --- a/py/apigen/apigen.py +++ b/py/apigen/apigen.py @@ -16,7 +16,8 @@ def get_documentable_items(pkgdir): sys.path.insert(0, str(pkgdir.dirpath())) rootmod = __import__(pkgdir.basename) d = pkg_to_dict(rootmod) - d['exe...
[svn r<I>] guido, unless i am missing something there seem to be two problems with your making Channel's public: you didn't import it (py.__.* is not lazy) and it fails the apigen tests even after fixing it. --HG-- branch : trunk
py
diff --git a/sos/plugins/__init__.py b/sos/plugins/__init__.py index <HASH>..<HASH> 100644 --- a/sos/plugins/__init__.py +++ b/sos/plugins/__init__.py @@ -403,13 +403,12 @@ class Plugin(object): if filespec not in self.copyPaths: self.copyPaths.append((filespec, sub)) - def callExtPro...
adding timeout to callExtProg as well
py
diff --git a/nptdms/reader.py b/nptdms/reader.py index <HASH>..<HASH> 100644 --- a/nptdms/reader.py +++ b/nptdms/reader.py @@ -198,7 +198,7 @@ class TdmsReader(object): segment_num_values = { path: np.zeros(num_segments, dtype=np.int64) for path in data_objects} segment_chunk_sizes = { - ...
Use int<I> for chunk sizes in index
py
diff --git a/facebook/version.py b/facebook/version.py index <HASH>..<HASH> 100644 --- a/facebook/version.py +++ b/facebook/version.py @@ -14,4 +14,4 @@ # License for the specific language governing permissions and limitations # under the License. -__version__ = "1.0.0-alpha" +__version__ = "1.0.0"
Update version to <I>.
py
diff --git a/ipuz/structures/groupspec.py b/ipuz/structures/groupspec.py index <HASH>..<HASH> 100644 --- a/ipuz/structures/groupspec.py +++ b/ipuz/structures/groupspec.py @@ -4,24 +4,22 @@ from .common import ( validate_rect, ) from .stylespec import validate_stylespec -from ipuz.validators import validate_strin...
Reuse validate_dict function to reduce code needed
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ with open(path.join(here, 'README.rst')) as f: setup( name='django-username-email', - version='2.5.1', + version='2.5.2', description='Custom Django User model that makes email the USERNAME_FI...
Bumped version to <I>
py
diff --git a/spanner/setup.py b/spanner/setup.py index <HASH>..<HASH> 100644 --- a/spanner/setup.py +++ b/spanner/setup.py @@ -30,7 +30,7 @@ version = '1.1.0' release_status = 'Development Status :: 4 - Beta' dependencies = [ 'google-cloud-core<0.29dev,>=0.28.0', - 'google-api-core[grpc]<2.0.0dev,>=1.0.0', + ...
Update minimum version for google-api-core to <I> (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ ROOT = os.path.dirname(os.path.abspath(__file__)) setup( name=__projectname__, - version='0.0.3', + version='0.0.4', url="https://github.com/jesuejunior/b2tool", license="3-BSD", description='bbto...
Get new version with correction to compile
py
diff --git a/capidup/finddups.py b/capidup/finddups.py index <HASH>..<HASH> 100644 --- a/capidup/finddups.py +++ b/capidup/finddups.py @@ -251,19 +251,9 @@ def find_duplicates_in_dirs(directories): all_duplicates = [] - # Now, within each file size, check for duplicates. There are a couple - # of memory ...
find_duplicates_in_dirs: remove inacurate comment. Expanding the values using d.iteritems() or even d.items() doesn't mean creating a copy of the values. There wouldn't be a problem with huge file lists, as the dictionary will just give us a reference to the existing file list. The problem would of course be if there ...
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -28,6 +28,7 @@ http://docs.python.org/2/distutils/sourcedist.html """ import os +import uuid import tornado_botocore as app from pip.req import parse_requirements @@ -41,7 +42,7 @@ def read(fname): return '' ...
Updated requirements for pip <I>+ to include a session
py
diff --git a/ommprotocol/ommprotocol.py b/ommprotocol/ommprotocol.py index <HASH>..<HASH> 100644 --- a/ommprotocol/ommprotocol.py +++ b/ommprotocol/ommprotocol.py @@ -235,6 +235,10 @@ def stage(input_top, positions=None, forcefields=None, velocities=None, box_vect _friction/...
Weird bug in OpenMM resulted in failed GPU simulations when setting the box vectors after the coordinates
py
diff --git a/tests/test_integration.py b/tests/test_integration.py index <HASH>..<HASH> 100644 --- a/tests/test_integration.py +++ b/tests/test_integration.py @@ -52,10 +52,12 @@ def test_pth_activation(): hunter_env = 'action=CodePrinter,module={!r},function="join"'.format(module_name) func_spec = _get_func_...
Stop pytest-cov/coveragepy doing clever stuff in the subprocess.
py
diff --git a/sftpman/cli.py b/sftpman/cli.py index <HASH>..<HASH> 100644 --- a/sftpman/cli.py +++ b/sftpman/cli.py @@ -1,6 +1,6 @@ import sys import getopt -import collections +import collections.abc from .exception import SftpException, SftpConfigException, SftpMountException from .model import EnvironmentModel,...
Fix collections.Callable missing in Python <I> > Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python <I>, and in <I> it will stop working
py
diff --git a/Lib/fontParts/objects/base/glyph.py b/Lib/fontParts/objects/base/glyph.py index <HASH>..<HASH> 100644 --- a/Lib/fontParts/objects/base/glyph.py +++ b/Lib/fontParts/objects/base/glyph.py @@ -168,14 +168,14 @@ class BaseGlyph(BaseObject): """ self.raiseNotImplementedError() - def draw(...
Add some flexibility to draw and drawPoints.
py
diff --git a/pyOCD/gdbserver/gdbserver.py b/pyOCD/gdbserver/gdbserver.py index <HASH>..<HASH> 100644 --- a/pyOCD/gdbserver/gdbserver.py +++ b/pyOCD/gdbserver/gdbserver.py @@ -248,7 +248,6 @@ class GDBServer(threading.Thread): if self.wss_server == None: self.abstract_socket = GDBSocket(self.port, ...
Removed extraneous import of socket that sneaked in.
py
diff --git a/gpustat.py b/gpustat.py index <HASH>..<HASH> 100755 --- a/gpustat.py +++ b/gpustat.py @@ -257,8 +257,13 @@ class GPUStatCollection(object): for nv_process in nv_processes: #TODO: could be more information such as system memory usage, # CPU percenta...
Fix bug in which NVML returns non-existing pids Handle the exception `NoSuchProcess` raised by `psutil`.
py
diff --git a/blimpy/sigproc.py b/blimpy/sigproc.py index <HASH>..<HASH> 100644 --- a/blimpy/sigproc.py +++ b/blimpy/sigproc.py @@ -128,7 +128,7 @@ def read_next_header_keyword(fh): if dtype == b'<d': val = struct.unpack(dtype, fh.read(8))[0] if dtype == b'str': - str_len = np.f...
int<I> -> uint<I> typo fix, was loading a uint as an integer. This will not actually affect real-world headers but is more strictly correct. See #<I> Former-commit-id: 6f6a<I>ea<I>fff<I>a5da7b<I>ccf<I>ad
py
diff --git a/tests/unit/test_commands.py b/tests/unit/test_commands.py index <HASH>..<HASH> 100644 --- a/tests/unit/test_commands.py +++ b/tests/unit/test_commands.py @@ -51,7 +51,6 @@ class TestCommands: path = os.path.dirname(os.path.abspath(__file__)) os.remove(os.path.join(path, 'pmxbot.sqlite')) - @pytest....
Google seems to have corrected the issue. Removing xfail. Fixes #<I>.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ from setuptools import setup setup( name = 'isoweek', - version = '1.3.1', + version = '1.3.2', description = 'Objects representing a week', author='Gisle Aas', author_email='gisle@aas...
Increment version number to <I>
py
diff --git a/future/tests/test_import_star.py b/future/tests/test_import_star.py index <HASH>..<HASH> 100644 --- a/future/tests/test_import_star.py +++ b/future/tests/test_import_star.py @@ -50,8 +50,16 @@ class TestImportStar(unittest.TestCase): def test_python3_stdlib_imports(self): # These should fai...
Fix a dodgy test: importing the stdlib without explictly enabling hooks
py
diff --git a/bids/layout/layout.py b/bids/layout/layout.py index <HASH>..<HASH> 100644 --- a/bids/layout/layout.py +++ b/bids/layout/layout.py @@ -309,14 +309,18 @@ class BIDSLayout(object): set( [(t.value, t.file.entities.get('subject')) for t in - self.s...
Only loop over files that have subhject as an entity
py
diff --git a/bxml/xt.py b/bxml/xt.py index <HASH>..<HASH> 100644 --- a/bxml/xt.py +++ b/bxml/xt.py @@ -31,7 +31,7 @@ class XT: if type(elems) != list: elems = [elems] for elem in elems: - LOG.debug("%s %r" % (elem.tag, elem.attrib)) + # LOG.debug("%s %r" % (elem.tag,...
less logging, even in DEBUG
py
diff --git a/salt/utils/winapi.py b/salt/utils/winapi.py index <HASH>..<HASH> 100644 --- a/salt/utils/winapi.py +++ b/salt/utils/winapi.py @@ -15,8 +15,6 @@ except ImportError: log = logging.getLogger(__name__) -__salt__ = None - def __virtual__(): ''' @@ -25,9 +23,6 @@ def __virtual__(): if not HAS_L...
Remove extra __salt__ work
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -32,7 +32,7 @@ setup( python_requires='>=3.5, <4', extras_require={ 'tester': [ - "eth-tester[py-evm]==0.1.0-beta.23", + "eth-tester[py-evm]==0.1.0-beta.24", "py-geth>=2.0....
upgrade eth-tester to beta <I>
py
diff --git a/gwpy/timeseries/timeseries.py b/gwpy/timeseries/timeseries.py index <HASH>..<HASH> 100644 --- a/gwpy/timeseries/timeseries.py +++ b/gwpy/timeseries/timeseries.py @@ -31,16 +31,6 @@ from scipy import signal from astropy import units -try: - import nds2 -except ImportError: - NDS2_FETCH_TYPE_MASK ...
timeseries.timeseries: removed unused code
py
diff --git a/gui/tools/migrate.py b/gui/tools/migrate.py index <HASH>..<HASH> 100644 --- a/gui/tools/migrate.py +++ b/gui/tools/migrate.py @@ -201,7 +201,7 @@ if __name__ == '__main__': if len(sys.argv) > 1: # use the provided resource file: - rsrc = gui.load(sys.argv[1]) + rsrc = gui....
fixed migration tool bug due to parse/load rename
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 = 'AGEpy', - version = '0.1.3', + version = '0.1.4', description = 'Bioinformatics tools for Python developed at the MPI for Biology of Ageing', ...
setup.py: release <I>
py
diff --git a/slither/utils/expression_manipulations.py b/slither/utils/expression_manipulations.py index <HASH>..<HASH> 100644 --- a/slither/utils/expression_manipulations.py +++ b/slither/utils/expression_manipulations.py @@ -3,6 +3,8 @@ as they should be immutable """ import copy + +from slither.core.expressio...
Add support for ternary on unary operator
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ except ImportError: def get_version(): - regex = r"__version__\s=\s\'(?P<version>[\d\.]+?)\'" + regex = r"__version__\s=\s\'(?P<version>[\d\.ab]+?)\'" path = 'aiocassandra.py'
Allow alpha/beta version in regex
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -2,6 +2,7 @@ # -*- coding:utf-8 -*- from __future__ import absolute_import, division, print_function, unicode_literals +import codecs import os import re @@ -12,17 +13,18 @@ def get_version(package): """ Retu...
setup.py - use codecs.open and context manager
py
diff --git a/marshmallow/validate.py b/marshmallow/validate.py index <HASH>..<HASH> 100644 --- a/marshmallow/validate.py +++ b/marshmallow/validate.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- """Validation functions for various types of data.""" import re -from marshmallow.compat import string_types +from marshmallow...
Use basestring to allow regext to be a bytes object
py
diff --git a/tests/test_core.py b/tests/test_core.py index <HASH>..<HASH> 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -95,7 +95,6 @@ def test_download_all_formats(monkeypatch, mocker, req): assert core.create_downloadjob.call_count == 1 # Many nested tuples in call_args_list, no kidding. ...
tests: Remove a useless print call
py
diff --git a/spyder/widgets/figurebrowser.py b/spyder/widgets/figurebrowser.py index <HASH>..<HASH> 100644 --- a/spyder/widgets/figurebrowser.py +++ b/spyder/widgets/figurebrowser.py @@ -128,13 +128,11 @@ class FigureBrowser(QWidget): for widget in toolbar: self.tools_layout.addWidget(widget) ...
Fix setup_options_button in setup and docstring
py
diff --git a/tohu/item_list.py b/tohu/item_list.py index <HASH>..<HASH> 100644 --- a/tohu/item_list.py +++ b/tohu/item_list.py @@ -1,6 +1,7 @@ import io import pandas as pd from operator import attrgetter +from sqlalchemy import create_engine def _generate_csv_header_line(*, header_names, header_prefix='', head...
Support exporting ItemList to Postgres
py
diff --git a/flux_led/models_db.py b/flux_led/models_db.py index <HASH>..<HASH> 100755 --- a/flux_led/models_db.py +++ b/flux_led/models_db.py @@ -1012,10 +1012,14 @@ MODELS = [ model_num=0x44, # v8 - AK001-ZJ200 aka old flux # v9 - AK001-ZJ210 + # v10.49 - AK001-ZJ2101 models...
Add newer 0x<I> bulb to the database (#<I>)
py
diff --git a/simpleimages/trackers.py b/simpleimages/trackers.py index <HASH>..<HASH> 100644 --- a/simpleimages/trackers.py +++ b/simpleimages/trackers.py @@ -1,13 +1,23 @@ from django.db.models.signals import post_save from django.dispatch import receiver -from . import utils +import simpleimages.utils def tr...
Added docstrings to tracking
py
diff --git a/meshio/_mesh.py b/meshio/_mesh.py index <HASH>..<HASH> 100644 --- a/meshio/_mesh.py +++ b/meshio/_mesh.py @@ -102,3 +102,14 @@ class Mesh: self.cells[key] = all_cells_flat[k : k + n].reshape(s) k += n return + + def to_file(self, path_or_buf, file_format=None, **kwargs...
Mesh object has read/write methods
py
diff --git a/pymatgen/entries/computed_entries.py b/pymatgen/entries/computed_entries.py index <HASH>..<HASH> 100644 --- a/pymatgen/entries/computed_entries.py +++ b/pymatgen/entries/computed_entries.py @@ -108,8 +108,10 @@ class ComputedEntry(MSONable): def from_dict(cls, d): dec = MontyDecoder() ...
iMore bug fix for entry serialziation.
py
diff --git a/galpy/util/__init__.py b/galpy/util/__init__.py index <HASH>..<HASH> 100644 --- a/galpy/util/__init__.py +++ b/galpy/util/__init__.py @@ -1,4 +1,4 @@ -import shutil +import os import tempfile import pickle def save_pickles(savefilename,*args): @@ -25,7 +25,7 @@ def save_pickles(savefilename,*args): ...
try fixing the too many open files error
py
diff --git a/backupdb/utils/log.py b/backupdb/utils/log.py index <HASH>..<HASH> 100644 --- a/backupdb/utils/log.py +++ b/backupdb/utils/log.py @@ -58,10 +58,10 @@ def section(msg): try: yield except SectionError as e: - logger.error(e.message) + logger.error(e) logger.info(bar(...
Fix error message format The old code didn't work with Python 3. This should work with <I>+.
py
diff --git a/ipfsapi/client.py b/ipfsapi/client.py index <HASH>..<HASH> 100644 --- a/ipfsapi/client.py +++ b/ipfsapi/client.py @@ -2056,7 +2056,12 @@ class Client(object): ``ipfsapi.exceptions.ConnectionError``, until you start another IPFS daemon instance. """ - return self._client.re...
CI-FIX (3/3): `.shutdown()` may disconnect before sending response (always swallow this exception)
py
diff --git a/mutagen/wave.py b/mutagen/wave.py index <HASH>..<HASH> 100644 --- a/mutagen/wave.py +++ b/mutagen/wave.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2017 Borewit # Copyright (C) 2019-2020 Philipp Wolfer #
drop encoding marker that's a Python 2 thing
py
diff --git a/DemoPrograms/Demo_User_Settings_Config_INI_Format.py b/DemoPrograms/Demo_User_Settings_Config_INI_Format.py index <HASH>..<HASH> 100644 --- a/DemoPrograms/Demo_User_Settings_Config_INI_Format.py +++ b/DemoPrograms/Demo_User_Settings_Config_INI_Format.py @@ -79,4 +79,13 @@ if __name__ == '__main__': SE...
Updated User Settings INI Demo with more examples of class interface
py
diff --git a/OpenSSL/_util.py b/OpenSSL/_util.py index <HASH>..<HASH> 100644 --- a/OpenSSL/_util.py +++ b/OpenSSL/_util.py @@ -23,7 +23,7 @@ def exception_from_error_queue(exceptionType): def native(s): """ Convert :py:class:`bytes` or :py:class:`unicode` to the native - :py:class:`str` type, using UTF-9 ...
UTF-9 is sort of a thing but not a thing we're concerned with here.
py
diff --git a/src/hypercorn/asyncio/run.py b/src/hypercorn/asyncio/run.py index <HASH>..<HASH> 100644 --- a/src/hypercorn/asyncio/run.py +++ b/src/hypercorn/asyncio/run.py @@ -172,14 +172,14 @@ async def worker_serve( await asyncio.wait_for(gathered_server_tasks, config.graceful_timeout) except asy...
Bugfix ensure lifespan shutdowns occur Even when the server tasks error, for example with a "ssl.SSLError: [SSL: APPLICATION_DATA_AFTER_CLOSE_NOTIFY] application data after close notify".
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ from distutils.spawn import find_executable ##################################### NAME = 'mbuild' -VERSION = "0.10.7" +VERSION = "0.10.8" ISRELEASED = True if ISRELEASED: __version__ = VERSION
Bump to version <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ with open('HISTORY.md') as history_file: history = history_file.read() install_requires = [ - 'numpy>=1.13.1,<1.17', + 'numpy>=1.13.1,<2', 'pandas>=0.22.0,<0.25', 'scipy>=1.2,<1.3', ...
Raise numpy version upper bound to 2
py
diff --git a/thinc/neural/_classes/elu.py b/thinc/neural/_classes/elu.py index <HASH>..<HASH> 100644 --- a/thinc/neural/_classes/elu.py +++ b/thinc/neural/_classes/elu.py @@ -1,6 +1,7 @@ from .relu import ReLu from .affine import Affine + class ELU(Affine): name = 'elu' @property @@ -17,14 +18,14 @@ clas...
Use ops for fwd and bwd ELU.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,9 +3,8 @@ from setuptools import find_packages, setup -VERSION = '1.1.1' +VERSION = '1.2.0' REPO_URL = 'https://github.com/drongo-framework/drongo-wing-session' -DOWNLOAD_URL = REPO_URL + '/archive/v{version}.tar.gz'....
Updating setup.py.
py
diff --git a/test.py b/test.py index <HASH>..<HASH> 100644 --- a/test.py +++ b/test.py @@ -1723,6 +1723,22 @@ sys.stdin.read(1) self.assertTrue(d["unbuffered_success"]) + def test_callable_interact(self): + py = create_tmp_test(""" +import sys +sys.stdout.write("line1") +""") + + class Cal...
callable class _out callback coverage
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ setup( packages=find_packages(), include_package_data=True, install_requires=[ - "Django>=1.4.5", + "Django>=1.4", ], classifiers=[ 'Development Status :: 3 - Alph...
Ensure the tests for tinycontent pass on Django <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ requirements = [ setup( name='gnosis-py', - version='2.8.6', + version='2.9.0', packages=find_packages(), package_data={'gnosis': ['py.typed']}, install_requires=requirements,
Set version <I> - Support <I> Safe contracts
py
diff --git a/fake2db/helpers.py b/fake2db/helpers.py index <HASH>..<HASH> 100644 --- a/fake2db/helpers.py +++ b/fake2db/helpers.py @@ -1,4 +1,4 @@ -import socket + import logging import getpass import string @@ -10,11 +10,11 @@ def fake2db_logger(): '''creates a logger obj''' # Pull the local ip and userna...
removing socket/ip causes trouble in some VMs and docker containers #<I>
py
diff --git a/coconut/command/watch.py b/coconut/command/watch.py index <HASH>..<HASH> 100644 --- a/coconut/command/watch.py +++ b/coconut/command/watch.py @@ -34,6 +34,3 @@ class RecompilationWatcher(FileSystemEventHandler): def on_modified(self, event): self.recompile(event.src_path) - - def on_crea...
Fixes watcher compiling same file twice Resolves #<I>.
py
diff --git a/tests/risk/answer_key.py b/tests/risk/answer_key.py index <HASH>..<HASH> 100644 --- a/tests/risk/answer_key.py +++ b/tests/risk/answer_key.py @@ -241,6 +241,12 @@ class AnswerKey(object): 'CUMULATIVE_INFORMATION': DataIndex( 'Sim Cumulative', 'Y', 4, 254), + 'CUMULATIVE_BETA'...
TST: Add annualized alpha and beta to answer key. Add a column that uses annualized mean returns as the inputs into alpha and beta.
py
diff --git a/src/_pytest/assertion/rewrite.py b/src/_pytest/assertion/rewrite.py index <HASH>..<HASH> 100644 --- a/src/_pytest/assertion/rewrite.py +++ b/src/_pytest/assertion/rewrite.py @@ -771,7 +771,7 @@ warn_explicit( fail_save = self.on_failure levels = len(boolop.values) - 1 self.push_f...
Fix typo replace `circuting` with `circuiting`.
py
diff --git a/rightscale/rightscale.py b/rightscale/rightscale.py index <HASH>..<HASH> 100644 --- a/rightscale/rightscale.py +++ b/rightscale/rightscale.py @@ -211,8 +211,6 @@ class RightScale(Resource): } client = self._client response = client.post(OAUTH2_RES_PATH, data=login_data) - ...
Remove extra check already done client.post()
py
diff --git a/gwpy/table/io/ascii.py b/gwpy/table/io/ascii.py index <HASH>..<HASH> 100644 --- a/gwpy/table/io/ascii.py +++ b/gwpy/table/io/ascii.py @@ -35,7 +35,7 @@ from six import string_types from numpy import loadtxt -from glue.ligolw.table import (reassign_ids, StripTableName) +from glue.ligolw.table import re...
table.io.ascii: updated reference to deleted glue.ligolw object
py
diff --git a/tests/hamsterlib/test_lib.py b/tests/hamsterlib/test_lib.py index <HASH>..<HASH> 100644 --- a/tests/hamsterlib/test_lib.py +++ b/tests/hamsterlib/test_lib.py @@ -33,16 +33,3 @@ class TestControler: # assert len(logger.handlers) == 1 assert isinstance(logger.handlers[0], logging.NullHandle...
Remove legacy test. Our parsing is realy just that: *parsing*. At that stage there is no notion of "existsing" activity. All that happens is that we instanciate a Fact with all the parsed information. This gets handed to the backend which decides what to do / how to resolve any reference to existing entities.
py
diff --git a/convert.py b/convert.py index <HASH>..<HASH> 100644 --- a/convert.py +++ b/convert.py @@ -31,7 +31,7 @@ class Styler(Preprocessor): if node.body != []: last_expr = node.body[-1] if not isinstance(last_expr, ast.Expr): pass # Not an expression - ...
Fix to only apply to cells using %%opts
py
diff --git a/plenum/test/batching_3pc/test_basic_batching.py b/plenum/test/batching_3pc/test_basic_batching.py index <HASH>..<HASH> 100644 --- a/plenum/test/batching_3pc/test_basic_batching.py +++ b/plenum/test/batching_3pc/test_basic_batching.py @@ -86,4 +86,5 @@ def testRequestDynamicValidation(tconf, looper, txnPool...
fix compatibility issue with error messages in Rejects: fix tests
py
diff --git a/kubespawner/reflector.py b/kubespawner/reflector.py index <HASH>..<HASH> 100644 --- a/kubespawner/reflector.py +++ b/kubespawner/reflector.py @@ -65,6 +65,8 @@ class PodReflector(SingletonConfigurable): ) # This is an atomic operation on the dictionary! self.pods = {p.metadata.na...
use resource_version to avoid missing events
py
diff --git a/loom/common/filehandler.py b/loom/common/filehandler.py index <HASH>..<HASH> 100644 --- a/loom/common/filehandler.py +++ b/loom/common/filehandler.py @@ -186,6 +186,8 @@ class GoogleStorageSource(AbstractSource): """ type = 'google_storage' + CHUNK_SIZE = 1024 * 1024 * 100 # Must be multiple...
Increase chunk_size to improve download speed from google storage
py
diff --git a/pcef/modes/cc.py b/pcef/modes/cc.py index <HASH>..<HASH> 100644 --- a/pcef/modes/cc.py +++ b/pcef/modes/cc.py @@ -327,7 +327,8 @@ class CodeCompletionMode(Mode, QObject): if self.__completer.popup().isVisible(): self._requestCompletion(completionPrefix=word, onlyAdapt=True) #...
Prevent popup from showing when using a key with modifier when the word under cursor is long enough
py
diff --git a/casting.py b/casting.py index <HASH>..<HASH> 100644 --- a/casting.py +++ b/casting.py @@ -141,10 +141,8 @@ def default(value): def truthy(string): - """Ensure that a boolean value is 1, if present.""" - - assert string == '1' - return True + """Determine if an int stored in a string is tru...
Allow for false boolean values. Although the spec says that these should not be present, in practice they do appear to be.
py
diff --git a/irc3/plugins/storage.py b/irc3/plugins/storage.py index <HASH>..<HASH> 100644 --- a/irc3/plugins/storage.py +++ b/irc3/plugins/storage.py @@ -272,7 +272,7 @@ class Storage(object): stored = self.get(key_, dict()) changed = False for k, v in kwargs.items(): - if stored[...
Prevent keyerror when setting keys that don't exist.
py
diff --git a/satpy/resample.py b/satpy/resample.py index <HASH>..<HASH> 100644 --- a/satpy/resample.py +++ b/satpy/resample.py @@ -324,11 +324,18 @@ class KDTreeResampler(BaseResampler): "resampler. Cached parameters are affected by " "masked pixels. Will not cache resu...
Adjust radius of influence for AreaDefinitions too
py
diff --git a/src/python/pants/core/goals/tailor.py b/src/python/pants/core/goals/tailor.py index <HASH>..<HASH> 100644 --- a/src/python/pants/core/goals/tailor.py +++ b/src/python/pants/core/goals/tailor.py @@ -210,8 +210,8 @@ class PutativeTarget: return f'"{v}"' if isinstance(v, tuple): ...
tailor: do not append comma to kwarg with empty tuple (#<I>) If an empty tuple is passed as the value of a kwarg to `PutativeTarget.for_target_type`, `tailor` will generate `[,]` in the `BUILD` file which does not parse. Fix the issue by only appending the comma when there are actually values to put into the BUILD fil...
py
diff --git a/gwpy/detector/units.py b/gwpy/detector/units.py index <HASH>..<HASH> 100644 --- a/gwpy/detector/units.py +++ b/gwpy/detector/units.py @@ -27,6 +27,9 @@ from astropy.units.format.generic import Generic __author__ = "Duncan Macleod <duncan.macleod@ligo.org>" +# container for new units (so that each one ...
detector.units: cache unrecognised units that have been created on-the-fly. this is required so that `IrreducibleUnit('blah') == IrreducibleUnit('blah')` evaluates to `True`, which is required by `TimeSeries.is_compatible` and friends
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -21,14 +21,16 @@ with open(os.path.join(here, version_filename)) as version_file: # change setup.py for readthedocs on_rtd = os.environ.get('READTHEDOCS') == 'True' -install_requires=['pandas', 'numpy', 'apexpy', 'aacgmv2'...
Removed pyglow from required packages. Moved pysatMagVect import to improve RTD compatibility
py
diff --git a/tests/preProcessor_test.py b/tests/preProcessor_test.py index <HASH>..<HASH> 100644 --- a/tests/preProcessor_test.py +++ b/tests/preProcessor_test.py @@ -92,13 +92,13 @@ class TTFPreProcessorTest: assert (glyphSets1["a"][0][0].y - glyphSets0["a"][0][0].y) == 10 def test_custom_filters_as_ar...
tests: load filter directly instead of loadFilterFromString
py
diff --git a/salt/utils/lazy.py b/salt/utils/lazy.py index <HASH>..<HASH> 100644 --- a/salt/utils/lazy.py +++ b/salt/utils/lazy.py @@ -66,7 +66,7 @@ class LazyDict(collections.MutableMapping): def _missing(self, key): ''' - Wheter or not the key is missing (meaning we know its not there) + ...
correct spelling (#<I>) * correct spelling * Update lazy.py
py
diff --git a/yacron/config.py b/yacron/config.py index <HASH>..<HASH> 100644 --- a/yacron/config.py +++ b/yacron/config.py @@ -223,7 +223,7 @@ class JobConfig: def parse_config_file(path: str) -> List[JobConfig]: with open(path, "rb") as stream: doc = yaml.load(stream) - defaults = doc['defaults'] + ...
Don't crash if there is no `defaults` section
py
diff --git a/skosprovider/tests/test_registry.py b/skosprovider/tests/test_registry.py index <HASH>..<HASH> 100644 --- a/skosprovider/tests/test_registry.py +++ b/skosprovider/tests/test_registry.py @@ -49,8 +49,7 @@ class RegistryTests(unittest.TestCase): def test_one_provider_register_double_provider(self): ...
Fix tests to run on py<I>.
py
diff --git a/test/python/qobj/test_pulse_converter.py b/test/python/qobj/test_pulse_converter.py index <HASH>..<HASH> 100644 --- a/test/python/qobj/test_pulse_converter.py +++ b/test/python/qobj/test_pulse_converter.py @@ -102,6 +102,19 @@ class TestInstructionToQobjConverter(QiskitTestCase): self.assertEqua...
Pulse assembly bug (#<I>) * small bug * Add test for bug.
py