diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/tests/unit/modules/test_win_network.py b/tests/unit/modules/test_win_network.py index <HASH>..<HASH> 100644 --- a/tests/unit/modules/test_win_network.py +++ b/tests/unit/modules/test_win_network.py @@ -7,7 +7,6 @@ from __future__ import absolute_import # Import Salt Testing Libs -from tests.support.mix...
No need for setup_loader_modules since we're actually importing wmi
py
diff --git a/AlphaTwirl/EventReader/MPEventLoopRunner.py b/AlphaTwirl/EventReader/MPEventLoopRunner.py index <HASH>..<HASH> 100755 --- a/AlphaTwirl/EventReader/MPEventLoopRunner.py +++ b/AlphaTwirl/EventReader/MPEventLoopRunner.py @@ -1,5 +1,4 @@ # Tai Sakuma <tai.sakuma@cern.ch> -from CommunicationChannel import Comm...
remove an unnecessary import statement from MPEventLoopRunner
py
diff --git a/neo4jrestclient/client.py b/neo4jrestclient/client.py index <HASH>..<HASH> 100644 --- a/neo4jrestclient/client.py +++ b/neo4jrestclient/client.py @@ -1317,6 +1317,9 @@ class BaseInAndOut(object): def __init__(self, direction): self.direction = direction + if direction == "both" + ...
Adding some deprecation warnings.
py
diff --git a/cerberus/client.py b/cerberus/client.py index <HASH>..<HASH> 100644 --- a/cerberus/client.py +++ b/cerberus/client.py @@ -317,10 +317,10 @@ class CerberusClient(object): # json encode the input. Cerberus is sensitive to double vs single quotes. # an added bonus is that json encoding tran...
Update put_secret to supported cerb and param fix
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -24,6 +24,7 @@ setup( package_data={'colorise': ['tests', 'examples']}, url='https://github.com/MisanthropicBit/colorise', long_description=open('README.md').read(), + long_description_content_type='text/mark...
Make twine check happy [ci skip]
py
diff --git a/pysat/_meta.py b/pysat/_meta.py index <HASH>..<HASH> 100644 --- a/pysat/_meta.py +++ b/pysat/_meta.py @@ -114,7 +114,10 @@ class Meta(object): self[item] = val pop_list.append(item) for item in pop_list: - value = value.p...
Added length of list check as bugfix.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup setup( name='googledrivedownloader', - version='0.2', + version='0.4', packages=['google_drive_downloader'], url='https://github.com/ndrplz/google-drive-downloa...
- Updated version to <I>
py
diff --git a/iota/commands/__init__.py b/iota/commands/__init__.py index <HASH>..<HASH> 100644 --- a/iota/commands/__init__.py +++ b/iota/commands/__init__.py @@ -18,8 +18,12 @@ from iota.exceptions import with_context __all__ = [ 'BaseCommand', - 'CustomCommand', 'command_registry', + 'discover_commands', +...
Addressed IDE warnings.
py
diff --git a/phoebe/atmospheres/limbdark.py b/phoebe/atmospheres/limbdark.py index <HASH>..<HASH> 100644 --- a/phoebe/atmospheres/limbdark.py +++ b/phoebe/atmospheres/limbdark.py @@ -194,7 +194,6 @@ from phoebe.algorithms import interp_nDgrid from phoebe.atmospheres import sed from phoebe.atmospheres import reddening...
Removed flimbdark import statement, this was left over from one of the speed-up attempts.
py
diff --git a/tests/test_general.py b/tests/test_general.py index <HASH>..<HASH> 100644 --- a/tests/test_general.py +++ b/tests/test_general.py @@ -3,7 +3,6 @@ import unittest import sys import sympy import warnings -from collections import namedtuple import numpy as np import scipy.stats @@ -327,7 +326,7 @@ clas...
Changed checking for namedtuple to tuple for now, because the namedtyple returns a new type and can therefore not be checked for that easily.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,18 +1,19 @@ # -*- coding: utf-8 -*- - -from setuptools import setup - +# # you can install this to a local test virtualenv like so: # virtualenv venv # ./venv/bin/pip install --editable . # ./venv/bin/pip install...
setup.py: Move comments to the top of the script. This is in preparation for further enhancements to kill problems with `setup.py` not working for some people.
py
diff --git a/pygmsh/built_in/geometry.py b/pygmsh/built_in/geometry.py index <HASH>..<HASH> 100644 --- a/pygmsh/built_in/geometry.py +++ b/pygmsh/built_in/geometry.py @@ -212,7 +212,9 @@ class Geometry(object): [surface.line_loop.lines[1], surface.line_loop.lines[3]], size[1] ) if...
Reformat modifications to meet coding style (black).
py
diff --git a/holoviews/plotting/mpl/chart.py b/holoviews/plotting/mpl/chart.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/mpl/chart.py +++ b/holoviews/plotting/mpl/chart.py @@ -468,7 +468,7 @@ class SideHistogramPlot(AdjoinedPlot, HistogramPlot): """ edges, hvals, widths, lims, isdatetime = ...
Fix for inplace dtype issue (#<I>)
py
diff --git a/src/cs50/sql.py b/src/cs50/sql.py index <HASH>..<HASH> 100644 --- a/src/cs50/sql.py +++ b/src/cs50/sql.py @@ -385,13 +385,12 @@ class SQL(object): # If constraint violated, return None except sqlalchemy.exc.IntegrityError as e: - self._disconnect() ...
raising ValueError, no longer disconnecting on IntegrityError
py
diff --git a/pyads/constants.py b/pyads/constants.py index <HASH>..<HASH> 100644 --- a/pyads/constants.py +++ b/pyads/constants.py @@ -10,7 +10,7 @@ """ from ctypes import c_bool, c_byte, c_int8, c_uint8, c_int16, c_uint16, \ - c_int32, c_uint32, c_float, c_double, c_char, c_short + c_int32, c_uint32, c_f...
added PLCTYPE_LINT and PLCTYPE_ULINT to plc data types.
py
diff --git a/MAVProxy/modules/mavproxy_link.py b/MAVProxy/modules/mavproxy_link.py index <HASH>..<HASH> 100644 --- a/MAVProxy/modules/mavproxy_link.py +++ b/MAVProxy/modules/mavproxy_link.py @@ -413,7 +413,7 @@ class LinkModule(mp_module.MPModule): if out != self.status.last_apm_msg or time.time() > self.statu...
mavproxy_link: use AP rather than APM for console text prefix
py
diff --git a/chess/uci.py b/chess/uci.py index <HASH>..<HASH> 100644 --- a/chess/uci.py +++ b/chess/uci.py @@ -1111,6 +1111,9 @@ class Engine(object): self.pondering = ponder self.state_changed.notify_all() + for info_handler in self.info_handlers: + info_handler.on_go() + ...
Notify info handlers of started searches
py
diff --git a/src/digitalio.py b/src/digitalio.py index <HASH>..<HASH> 100755 --- a/src/digitalio.py +++ b/src/digitalio.py @@ -11,13 +11,13 @@ from adafruit_blinka.agnostic import board_id, detector # pylint: disable=ungrouped-imports,wrong-import-position -if detector.board.any_raspberry_pi_2_or_3: +if detector.c...
digitalio: detect chip instead of board
py
diff --git a/spyderlib/plugins/inspector.py b/spyderlib/plugins/inspector.py index <HASH>..<HASH> 100644 --- a/spyderlib/plugins/inspector.py +++ b/spyderlib/plugins/inspector.py @@ -57,7 +57,8 @@ class ObjectComboBox(EditableComboBox): objtxt = unicode(qstr) if self.object_inspector.get_option('auto...
Object inspector: bugfix following revision <I>f<I>cf
py
diff --git a/mama_cas/management/commands/cleanupcas.py b/mama_cas/management/commands/cleanupcas.py index <HASH>..<HASH> 100644 --- a/mama_cas/management/commands/cleanupcas.py +++ b/mama_cas/management/commands/cleanupcas.py @@ -20,6 +20,8 @@ deletes them. from django.core.management.base import NoArgsCommand fro...
Add new models to cleanupcas management command
py
diff --git a/pystache/view.py b/pystache/view.py index <HASH>..<HASH> 100644 --- a/pystache/view.py +++ b/pystache/view.py @@ -42,7 +42,15 @@ class View(object): template_encoding = None template_extension = 'mustache' - def __init__(self, template=None, context=None, **kwargs): + template_loader = No...
The View class constructor now accepts a loader instance.
py
diff --git a/src/report.py b/src/report.py index <HASH>..<HASH> 100644 --- a/src/report.py +++ b/src/report.py @@ -23,6 +23,7 @@ license: LGPL +from Cheetah.DummyTransaction import DummyTransaction from functools import partial from json import dump, JSONEncoder from os.path import exists, join, relpath @@ -48...
we can use a DummyTransaction instead of implementing our own
py
diff --git a/glue/ligolw/types.py b/glue/ligolw/types.py index <HASH>..<HASH> 100644 --- a/glue/ligolw/types.py +++ b/glue/ligolw/types.py @@ -100,12 +100,16 @@ def ligolw_string_format_func(s): return u"\"%s\"" % unicode(s).replace(u"\\", u"\\\\").replace(u"\"", u"\\\"") +def ligolw_blob_format_func(b): + return...
- Performance improvement: assume that ilwd:char ID strings do not contain backslashes or quote characters, and so replace ligolw_string_format_func with a simple "%s".__mod__ construct in the formater look-up table. - Introduce ligolw_blob_format_func(), and replace the lambda-forms used for blobs in the format...
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -164,3 +164,5 @@ if eval(setup_cfg.get('edit_on_github')): edit_on_github_doc_root = "docs" autodoc_docstring_signature = True + +nitpicky = True
Enable nitpicky mode for docs
py
diff --git a/bokeh/io.py b/bokeh/io.py index <HASH>..<HASH> 100644 --- a/bokeh/io.py +++ b/bokeh/io.py @@ -648,6 +648,7 @@ def export(obj, filename=None): canvas = driver.find_element_by_tag_name('canvas') wait_for_canvas_resize(canvas, driver) + driver.maximize_window() driver.save_screenshot(filen...
Maximize window to prevent clipping
py
diff --git a/hearthstone/enums.py b/hearthstone/enums.py index <HASH>..<HASH> 100644 --- a/hearthstone/enums.py +++ b/hearthstone/enums.py @@ -631,6 +631,7 @@ class GameTag(IntEnum): # Missing/guessed, only present in logs WEAPON = 334 DISCARD_CARDS = 890 + BATTLEGROUNDS_DARKMOON_PRIZE_TURN = 1735 CANT_BE_EXH...
Add darkmoon prize turn hidden tag
py
diff --git a/claripy/ast/bv.py b/claripy/ast/bv.py index <HASH>..<HASH> 100644 --- a/claripy/ast/bv.py +++ b/claripy/ast/bv.py @@ -140,6 +140,8 @@ BV.widen = op('widen', (BV, BV), BV, extra_check=length_same_check, calc_length= BV.intersection = op('intersection', (BV, BV), BV, extra_check=length_same_check, calc_leng...
Fixed a bug that results in the loss of eager-evaluation for BVVs
py
diff --git a/thinc/neural/util.py b/thinc/neural/util.py index <HASH>..<HASH> 100644 --- a/thinc/neural/util.py +++ b/thinc/neural/util.py @@ -53,17 +53,28 @@ def get_ops(ops): raise ValueError("Invalid ops (or device) description: %s" % ops) -def prefer_gpu(): +def set_active_gpu(gpu_id): + import cupy...
Support choice of GPU device, set up PyTorch correctly
py
diff --git a/tests/test_compressor.py b/tests/test_compressor.py index <HASH>..<HASH> 100644 --- a/tests/test_compressor.py +++ b/tests/test_compressor.py @@ -1,6 +1,7 @@ -from django.test import TestCase from django.template.loader import Template, Context +from tests.utils import CollectStaticTestCase + APP2_LI...
Collect static for the compressor tests.
py
diff --git a/tests/resource.py b/tests/resource.py index <HASH>..<HASH> 100644 --- a/tests/resource.py +++ b/tests/resource.py @@ -492,3 +492,22 @@ class ResourceTestCase(unittest.TestCase): resp = self.base_resource.get() self.assertEqual(resp['result'], ['a', 'b', 'c']) + + def test_post_201_do...
Add failing test from #<I>
py
diff --git a/src/livestreamer/plugins/gomtv.py b/src/livestreamer/plugins/gomtv.py index <HASH>..<HASH> 100644 --- a/src/livestreamer/plugins/gomtv.py +++ b/src/livestreamer/plugins/gomtv.py @@ -184,6 +184,13 @@ class GomTV(Plugin): username = self.rsession.cookies["SES_USERNICK"] self.logger....
plugins.gomtv: Log cookie when authenticating with username and password. The cookie logged can be used with --gomtv-cookie.
py
diff --git a/myql-cli.py b/myql-cli.py index <HASH>..<HASH> 100755 --- a/myql-cli.py +++ b/myql-cli.py @@ -68,16 +68,18 @@ class ExecuteAction(argparse.Action): yql = MYQL(**attr) yql.diagnostics = namespace.diagnostics if namespace.diagnostics else config.getboolean(format, 'diagnostics') - ...
#<I>: multiple query improved
py
diff --git a/tofu/version.py b/tofu/version.py index <HASH>..<HASH> 100644 --- a/tofu/version.py +++ b/tofu/version.py @@ -1,2 +1,2 @@ # Do not edit, pipeline versioning governed by git tags! -__version__ = '1.4.10-alpha8' +__version__ = '1.4.10-alpha9'
[deploy-test] new version number
py
diff --git a/signaturit_sdk/signaturit_client.py b/signaturit_sdk/signaturit_client.py index <HASH>..<HASH> 100644 --- a/signaturit_sdk/signaturit_client.py +++ b/signaturit_sdk/signaturit_client.py @@ -15,7 +15,7 @@ class SignaturitClient: 'mandatory_photo', 'mandatory_voice', 'branding_id',...
Fixed a typo on a storage constant
py
diff --git a/BAC0/bokeh/BokehServer.py b/BAC0/bokeh/BokehServer.py index <HASH>..<HASH> 100644 --- a/BAC0/bokeh/BokehServer.py +++ b/BAC0/bokeh/BokehServer.py @@ -41,7 +41,7 @@ class BokehServer(Thread): self.task() def startServer(self): - if 'win' in sys.platform: + if 'win32' in...
MacOS = darwin.... cannot use win in sys.platform to distinguish windows...
py
diff --git a/benchbuild/project.py b/benchbuild/project.py index <HASH>..<HASH> 100644 --- a/benchbuild/project.py +++ b/benchbuild/project.py @@ -433,10 +433,16 @@ def __add_filters__(project: ProjectT, version_str: str) -> ProjectT: if not project.SOURCE: return project - if isinstance(version_in, ...
projects/filters: accept csv values as indexed filters
py
diff --git a/spyderlib/utils/programs.py b/spyderlib/utils/programs.py index <HASH>..<HASH> 100644 --- a/spyderlib/utils/programs.py +++ b/spyderlib/utils/programs.py @@ -234,6 +234,10 @@ def check_version(actver, version, cmp_op): if isinstance(actver, tuple): actver = '.'.join([str(i) for i in actver])...
programs.check_version now supports versions like "<I>-1" Typical use case: In WinPython <I>, `rope` <I>-1 is included and Spyder considers that it does not meet the requirement which is '>=<I>'. Apparently version '<I>-1' is considered as lower than '<I>': it should be considered to be >= '<I>' (that is now the case ...
py
diff --git a/pymatgen/io/vasp/sets.py b/pymatgen/io/vasp/sets.py index <HASH>..<HASH> 100644 --- a/pymatgen/io/vasp/sets.py +++ b/pymatgen/io/vasp/sets.py @@ -1247,7 +1247,7 @@ class MPHSEBSSet(MPHSERelaxSet): self.added_kpoints = added_kpoints if added_kpoints is not None else [] self.mode = mode -...
Bug fix, typo in user_kpoints_setting
py
diff --git a/teamcity/nose_report.py b/teamcity/nose_report.py index <HASH>..<HASH> 100644 --- a/teamcity/nose_report.py +++ b/teamcity/nose_report.py @@ -19,6 +19,15 @@ class TeamcityReport(TeamcityTestResult): def options(self, parser, env=os.environ): pass + def getTestName(self, test): + s...
nose: fix test name reporting in hierarchy
py
diff --git a/python_utils/__about__.py b/python_utils/__about__.py index <HASH>..<HASH> 100644 --- a/python_utils/__about__.py +++ b/python_utils/__about__.py @@ -1,5 +1,5 @@ __package_name__ = 'python-utils' -__version__ = '2.6.0' +__version__ = '2.6.1' __author__ = 'Rick van Hattem' __author_email__ = 'Wolph@wol.p...
Incrementing version to <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -55,7 +55,7 @@ setup( author = "University of Tartu", author_email = "siim.orasmaa@gmail.com, alex.tk.fb@gmail.com, tpetmanson@gmail.com, swen@math.ut.ee", description = "Estnltk — open source tools for E...
README.md to setup
py
diff --git a/ReText/window.py b/ReText/window.py index <HASH>..<HASH> 100644 --- a/ReText/window.py +++ b/ReText/window.py @@ -776,9 +776,11 @@ class ReTextWindow(QMainWindow): def showEncodingDialog(self): if not self.maybeSave(self.ind): return + codecsSet = set(bytes(QTextCodec.codecForName(alias).name()) ...
window: Remove aliases from list of available codecs, and sort that list Sadly Qt provides no API to get the list of available codec names without aliases (availableMibs is not a solution because some codecs have zero MIB). So we have to use this hack to get the list of unique codec names. It significantly reduces t...
py
diff --git a/grabbit/core.py b/grabbit/core.py index <HASH>..<HASH> 100644 --- a/grabbit/core.py +++ b/grabbit/core.py @@ -66,9 +66,12 @@ class File(object): for name, val in entities.items(): - if name not in self.tags: + if (name not in self.tags) ^ (val is None): ...
ENH: Use key=None to filter for files that do not contain entity
py
diff --git a/kconfiglib.py b/kconfiglib.py index <HASH>..<HASH> 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -1312,7 +1312,7 @@ class Kconfig(object): for sym in self._defined_syms_set: sym._written = False - for sym in self._defined_syms_set: + for sym in self...
Make auto.conf symbol order match .config symbol order Not likely that you'd need to inspect it, since it's more of an implementation detail of incremental builds, but it doesn't hurt.
py
diff --git a/vacation/vacation.py b/vacation/vacation.py index <HASH>..<HASH> 100644 --- a/vacation/vacation.py +++ b/vacation/vacation.py @@ -1,5 +1,6 @@ from __future__ import absolute_import import argparse +import datetime from . import lexer from . import transactions @@ -28,7 +29,7 @@ def main(): ...
Round output at the very end I thought I already committed this...
py
diff --git a/bika/lims/content/worksheet.py b/bika/lims/content/worksheet.py index <HASH>..<HASH> 100644 --- a/bika/lims/content/worksheet.py +++ b/bika/lims/content/worksheet.py @@ -415,7 +415,6 @@ class Worksheet(BaseFolder, HistoryAwareMixin): supported_uids) el...
Remove PDB (!) and restrict Reference Analyses when applying template Only analyses that are 1) supported by the Reference Sample and 2) permitted by the worksheet template, may be added.
py
diff --git a/sentry_sdk/consts.py b/sentry_sdk/consts.py index <HASH>..<HASH> 100644 --- a/sentry_sdk/consts.py +++ b/sentry_sdk/consts.py @@ -62,9 +62,8 @@ class ClientConstructor(object): attach_stacktrace=False, # type: bool ca_certs=None, # type: Optional[str] propagate_traces=True, # ...
fix: Remove obsolete code comments and fip default of traceparent_v2
py
diff --git a/strictyaml/exceptions.py b/strictyaml/exceptions.py index <HASH>..<HASH> 100644 --- a/strictyaml/exceptions.py +++ b/strictyaml/exceptions.py @@ -1,4 +1,4 @@ -from ruamel.yaml import MarkedYAMLError +from ruamel.yaml.error import MarkedYAMLError from ruamel.yaml.dumper import RoundTripDumper from ruamel....
BUGFIX : #<I> - fix for regression caused by the release of ruamel.yaml <I>.
py
diff --git a/pyaardvark/cli_tool.py b/pyaardvark/cli_tool.py index <HASH>..<HASH> 100644 --- a/pyaardvark/cli_tool.py +++ b/pyaardvark/cli_tool.py @@ -98,7 +98,10 @@ def main(args=None): parser.add_argument('-v', action='store_true', dest='verbose', help='be more verbose') parser.add_argument('-d...
cli: support serial number Let the user specify a serial number to open the device. Fixes #7.
py
diff --git a/tpot/gp_deap.py b/tpot/gp_deap.py index <HASH>..<HASH> 100644 --- a/tpot/gp_deap.py +++ b/tpot/gp_deap.py @@ -361,7 +361,7 @@ def _wrapped_cross_val_score(sklearn_pipeline, features, classes, n_jobs=1, verbose=0, fit_params=sample_weight_dict, - , groups=groups + grou...
Removed stray comma.
py
diff --git a/kconfiglib.py b/kconfiglib.py index <HASH>..<HASH> 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -720,8 +720,8 @@ class Config(): i += 1 append(value) else: - # Fast path: If the rest of the string contains no backslashes - ...
Fix comment re. fast path.
py
diff --git a/src/infi/recipe/console_scripts/__init__.py b/src/infi/recipe/console_scripts/__init__.py index <HASH>..<HASH> 100644 --- a/src/infi/recipe/console_scripts/__init__.py +++ b/src/infi/recipe/console_scripts/__init__.py @@ -81,7 +81,7 @@ class Workaround(object): def callee(*args, **kwargs): ...
HOSTDEV-<I> fixing previous comit
py
diff --git a/salt/config.py b/salt/config.py index <HASH>..<HASH> 100644 --- a/salt/config.py +++ b/salt/config.py @@ -191,6 +191,7 @@ def minion_config(path): 'test': False, 'cython_enable': False, 'state_verbose': True, + 'state_output': 'full', 'acceptan...
Add state output option State printout has been enhanced, now by default the state output shows everything, but two options have been added to the configs that allow for the output to be more granularly configured. state_verbose is the same as it was, it just now defaults to True, and the new state_output option allow...
py
diff --git a/config_resolver.py b/config_resolver.py index <HASH>..<HASH> 100644 --- a/config_resolver.py +++ b/config_resolver.py @@ -16,7 +16,7 @@ import stat import sys from distutils.version import StrictVersion -__version__ = '4.2.3' +__version__ = '4.2.4' class PrefixFilter(object):
Version bumped to <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -24,6 +24,6 @@ setup( }, install_requires=[ 'httpie>=0.7.0', - 'edgegrid-python>=1.0.5' + 'edgegrid-python>=1.0.9' ], )
Updated edgegrid-python version dependency to <I> to pull in the fix for handling max-body in the .edgerc file and chaning the default setting from 2k to <I>k.
py
diff --git a/snowflake/tests/conftest.py b/snowflake/tests/conftest.py index <HASH>..<HASH> 100644 --- a/snowflake/tests/conftest.py +++ b/snowflake/tests/conftest.py @@ -20,6 +20,6 @@ def dd_environment(instance): yield instance -@pytest.fixture +@pytest.fixture(scope='session') def instance(): return I...
Fix instance fixture scope (#<I>)
py
diff --git a/tests/test_goea_statsmodels.py b/tests/test_goea_statsmodels.py index <HASH>..<HASH> 100755 --- a/tests/test_goea_statsmodels.py +++ b/tests/test_goea_statsmodels.py @@ -18,7 +18,7 @@ def test_goea_statsmodels(log=sys.stdout): prt_if = lambda nt: nt.p_uncorrected < 0.0005 ## These will specify to...
Add multiple-test method, FDR adaptive Gavrilov-Benjamini-Sarkar to tests.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -16,8 +16,8 @@ setup( platforms='any', python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*', extras_require={ - 'dev': ['tox>=3.0', 'flake8', 'pep8-naming', 'wheel', 'twine'], - 'test': ...
fix failing ci requiring mock 3 features
py
diff --git a/fenix.py b/fenix.py index <HASH>..<HASH> 100644 --- a/fenix.py +++ b/fenix.py @@ -85,3 +85,6 @@ class FenixAPISingleton(object): r = self._api_request('person') return r.json() + def get_about(self): + r = self._api_request('about') + return r.json()
Implemented the method to get about
py
diff --git a/openquake/commonlib/readinput.py b/openquake/commonlib/readinput.py index <HASH>..<HASH> 100644 --- a/openquake/commonlib/readinput.py +++ b/openquake/commonlib/readinput.py @@ -809,7 +809,7 @@ class Exposure(object): for idx, asset_node in enumerate(asset_nodes): asset_id = asset_nod...
Small fix [skip CI]
py
diff --git a/troposphere/s3.py b/troposphere/s3.py index <HASH>..<HASH> 100644 --- a/troposphere/s3.py +++ b/troposphere/s3.py @@ -18,7 +18,7 @@ PublicReadWrite = "PublicReadWrite" AuthenticatedRead = "AuthenticatedRead" BucketOwnerRead = "BucketOwnerRead" BucketOwnerFullControl = "BucketOwnerFullControl" -LogDelive...
LogDeliveryWrite should be in list of AccessControl types
py
diff --git a/genius/api.py b/genius/api.py index <HASH>..<HASH> 100644 --- a/genius/api.py +++ b/genius/api.py @@ -189,7 +189,7 @@ class Genius(_API): json_search = self._make_api_request((artist_name,'search')) for hit in json_search['hits']: found_artist = hit['r...
Remove punctuation from artist search term (notorious b.i.g. issue)
py
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index <HASH>..<HASH> 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py @@ -565,7 +565,7 @@ class Mastodon: Returns a media dict. This contains the id that can be used in status_post to attach the media file to a toot. """ - ...
fix ValueError checking if media_type is defined will short circuit the the call to os.path.isfile when content is supplied fixes #<I>
py
diff --git a/cleverhans_tutorials/tutorial_models.py b/cleverhans_tutorials/tutorial_models.py index <HASH>..<HASH> 100644 --- a/cleverhans_tutorials/tutorial_models.py +++ b/cleverhans_tutorials/tutorial_models.py @@ -27,7 +27,7 @@ class ModelBasicCNN(Model): # the start self.fprop(tf.placeholder(tf.float32,...
recommiting a file i did not mean to change
py
diff --git a/soco/alarms.py b/soco/alarms.py index <HASH>..<HASH> 100644 --- a/soco/alarms.py +++ b/soco/alarms.py @@ -290,7 +290,7 @@ def get_alarms(soco=None): instance.start_time = datetime.strptime( values['StartTime'], "%H:%M:%S").time() # NB StartTime, not - # StartLocalTime, w...
Flake 8 - turns out I used the wrong version
py
diff --git a/lago/cmd.py b/lago/cmd.py index <HASH>..<HASH> 100755 --- a/lago/cmd.py +++ b/lago/cmd.py @@ -942,6 +942,11 @@ def main(): out_plugins=out_plugins, ) args = parser.parse_args() + + if args.verb is None: + parser.print_help() + sys.exit(1) + config.update_args(args) ...
cmd: Fix arg parsing when no verb is provided With [1] the argument parsing machinery stopped complaining when no verb is being passed to lago - the code simply falls through with the value for 'args.verb' equal to 'None'. This patch fixes the issue by explicitly checking the value of the 'args.verb' argument and exit...
py
diff --git a/sos/report/plugins/selinux.py b/sos/report/plugins/selinux.py index <HASH>..<HASH> 100644 --- a/sos/report/plugins/selinux.py +++ b/sos/report/plugins/selinux.py @@ -23,9 +23,11 @@ class SELinux(Plugin, RedHatPlugin): def setup(self): self.add_copy_spec([ '/etc/sestatus.conf', - ...
[selinux] Increase default size limit for /var/lib/selinux Increase the default size limit for /var/lib/selinux, as the global default of <I> MB is too small to collect both the 'active' and 'targeted' subdirs in many test scenarios. Previously this had been copied in full due to the size limiting bug that #<I> resolv...
py
diff --git a/libzfs/utils/jsonify.py b/libzfs/utils/jsonify.py index <HASH>..<HASH> 100644 --- a/libzfs/utils/jsonify.py +++ b/libzfs/utils/jsonify.py @@ -31,7 +31,12 @@ def jsonify(o, max_depth=-1, parse_enums=PARSE_KEEP): return o max_depth -= 1 if isinstance(o, dict): - return {key: jsonify...
-Fix: Don't use callables when jsonifying a dict.. that way keys that are also callables on a dict (keys, items, values and the sorts) don't cause issues.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ def readme(): setup( name="quilt", - version="2.6.0", + version="2.6.1", packages=find_packages(), description='Quilt is an open-source data frame registry', long_description=readme(...
Increment version to <I> (#<I>)
py
diff --git a/anytemplate/engine.py b/anytemplate/engine.py index <HASH>..<HASH> 100644 --- a/anytemplate/engine.py +++ b/anytemplate/engine.py @@ -57,7 +57,7 @@ def list_engines_by_priority(engines=None): return sorted(engines, key=operator.methodcaller("priority")) -def find_by_filename(filename, engines=None...
change: allow passing no args to .engine.find_by_filename to use it as list_engine() (no args)
py
diff --git a/pythran/__init__.py b/pythran/__init__.py index <HASH>..<HASH> 100644 --- a/pythran/__init__.py +++ b/pythran/__init__.py @@ -32,5 +32,6 @@ Higher level entry points includes: ''' from toolchain import (generate_cxx, compile_cxxfile, compile_cxxcode, - compile_pythrancode, compile...
Export CompileError exception class at package level
py
diff --git a/ginga/qtw/Widgets.py b/ginga/qtw/Widgets.py index <HASH>..<HASH> 100644 --- a/ginga/qtw/Widgets.py +++ b/ginga/qtw/Widgets.py @@ -585,10 +585,11 @@ class Toolbar(ContainerBase): def add_action(self, text, toggle=False, iconpath=None): child = ToolbarAction() if iconpath: - ...
Fix for size of icons in toolbar on mac
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -184,7 +184,7 @@ def get_packages(): # NOTE: the '[...]_win_post_install.py' script is installed even on non-Windows # platforms due to a bug in pip installation process (see Issue 1158) SCRIPTS = ['spyder', '%s_win_post_in...
setup.py: Add gif files to the list of installed files
py
diff --git a/prompt.py b/prompt.py index <HASH>..<HASH> 100644 --- a/prompt.py +++ b/prompt.py @@ -818,15 +818,15 @@ if __name__ == "__main__": print("Cannot use bot --config and --mainnet parameters, please use only one.") exit(1) - if args.theme: - settings.set_theme(args.theme) - #...
Fix theme setting to the right config, when specifying a config file on the commandline
py
diff --git a/scapy/layers/dns.py b/scapy/layers/dns.py index <HASH>..<HASH> 100644 --- a/scapy/layers/dns.py +++ b/scapy/layers/dns.py @@ -250,7 +250,7 @@ class DNS(Packet): return 'DNS %s%s ' % (type, name) dnstypes = { 0:"ANY", 255:"ALL", - 1:"A", 2:"NS", 3:"MD", 4:"MD", 5:"CNAME", 6:"SOA", 7:...
Typo in DNS types list --HG-- branch : Issue #<I>
py
diff --git a/python/ray/tests/test_runtime_env_complicated.py b/python/ray/tests/test_runtime_env_complicated.py index <HASH>..<HASH> 100644 --- a/python/ray/tests/test_runtime_env_complicated.py +++ b/python/ray/tests/test_runtime_env_complicated.py @@ -32,7 +32,8 @@ def conda_envs(): ]) commands = [...
[Test] Deflake test_runtime_env_complicated by changing pip install to python -m pip install (#<I>)
py
diff --git a/arcana/utils/testing/xnat.py b/arcana/utils/testing/xnat.py index <HASH>..<HASH> 100644 --- a/arcana/utils/testing/xnat.py +++ b/arcana/utils/testing/xnat.py @@ -120,6 +120,8 @@ class TestOnXnatMixin(CreateXnatProjectMixin): if f.endswith('.dcm')] hdr ...
fixed up xnat testing setup
py
diff --git a/refcycle/__init__.py b/refcycle/__init__.py index <HASH>..<HASH> 100644 --- a/refcycle/__init__.py +++ b/refcycle/__init__.py @@ -112,13 +112,12 @@ def snapshot(): """ all_objects = gc.get_objects() this_frame = inspect.currentframe() - graph = ObjectGraph( - [ - obj for...
Lose the list comprehension, which was creating an extra cell in Python 3.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -5,6 +5,7 @@ import logging import re import platform import traceback +import multiprocessing from setuptools import setup, Extension as _Extension, find_packages from distutils.command.build_ext import build_ext from d...
Fix cpu_count for older Python versions
py
diff --git a/werkzeug/serving.py b/werkzeug/serving.py index <HASH>..<HASH> 100644 --- a/werkzeug/serving.py +++ b/werkzeug/serving.py @@ -355,7 +355,10 @@ class _SSLConnectionFix(object): return getattr(self._con, attrib) def shutdown(self, arg=None): - self._con.shutdown() + try: + ...
Fixed an error with openssl serving
py
diff --git a/summary/extractor.py b/summary/extractor.py index <HASH>..<HASH> 100644 --- a/summary/extractor.py +++ b/summary/extractor.py @@ -44,6 +44,10 @@ class Article(object): self.continuous_factor = 1.62 self.decay_factor = .93 + def __getitem__(self, attr): + print "FutureWarni...
add message about changing access method in future version
py
diff --git a/jss/__init__.py b/jss/__init__.py index <HASH>..<HASH> 100644 --- a/jss/__init__.py +++ b/jss/__init__.py @@ -30,7 +30,7 @@ Public package contents include: jamf_software_server: Class for representing a JSS, and for preference files to configure one. jssobject: Base class used for JSS o...
Add punctuation for jssobject docstring
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ license = open('LICENSE', encoding='utf-8').read() setup( name='yamale', - version='3.0.7', + version='3.0.8', url='https://github.com/23andMe/Yamale', author='Bo Lopker', author_email...
Update yamale to <I>
py
diff --git a/testing/test_tmpdir.py b/testing/test_tmpdir.py index <HASH>..<HASH> 100644 --- a/testing/test_tmpdir.py +++ b/testing/test_tmpdir.py @@ -1,4 +1,5 @@ import py, pytest +import os from _pytest.tmpdir import pytest_funcarg__tmpdir, TempdirHandler from _pytest.python import FuncargRequest @@ -69,7 +70,7 ...
use os.symlink to make things work on windows/py<I>
py
diff --git a/tornadose/stores.py b/tornadose/stores.py index <HASH>..<HASH> 100644 --- a/tornadose/stores.py +++ b/tornadose/stores.py @@ -1,11 +1,11 @@ """Data storage for dynamic updates to clients.""" +from asyncio import Event, Queue import logging from concurrent.futures import ThreadPoolExecutor + fro...
Use asyncio for Queue, Event
py
diff --git a/src/duplicity-backend.py b/src/duplicity-backend.py index <HASH>..<HASH> 100644 --- a/src/duplicity-backend.py +++ b/src/duplicity-backend.py @@ -131,4 +131,18 @@ class JottaCloudBackend(duplicity.backend.Backend): remote_file.delete() + def _query(self, filename): + """Get size of f...
Support duplicity _query method
py
diff --git a/pymongo/monitor.py b/pymongo/monitor.py index <HASH>..<HASH> 100644 --- a/pymongo/monitor.py +++ b/pymongo/monitor.py @@ -39,9 +39,6 @@ class Monitor(threading.Thread): Pass an initial ServerDescription, a Cluster, a Pool, and a ClusterSettings. - Optionally override call_ismaste...
PYTHON-<I> Update obsolete docstring.
py
diff --git a/ckanserviceprovider/default_settings.py b/ckanserviceprovider/default_settings.py index <HASH>..<HASH> 100644 --- a/ckanserviceprovider/default_settings.py +++ b/ckanserviceprovider/default_settings.py @@ -6,8 +6,6 @@ SECRET_KEY = 'please_replace_me' USERNAME = 'admin' PASSWORD = 'pass' -STDERR = True ...
move STDERR to logging section
py
diff --git a/opentrons/robot/robot.py b/opentrons/robot/robot.py index <HASH>..<HASH> 100644 --- a/opentrons/robot/robot.py +++ b/opentrons/robot/robot.py @@ -58,7 +58,8 @@ class Robot(object, metaclass=Singleton): <opentrons.robot.robot.Robot object at ...> >>> plate = containers.load('96-flat', 'A1', 'plate...
fixed docstrings test in Robot class
py
diff --git a/test.py b/test.py index <HASH>..<HASH> 100644 --- a/test.py +++ b/test.py @@ -781,6 +781,18 @@ def test_vsa(): nose.tools.assert_equal(si_byte2 == SI(bits=8, stride=0, lower_bound=0xff, upper_bound=0xff).model, TrueResult()) nose.tools.assert_equal(si_byte3 == SI(bits=8, stride=1, lower_bound=0xc...
test case for new bitwise-and in VSA
py
diff --git a/omego/env.py b/omego/env.py index <HASH>..<HASH> 100644 --- a/omego/env.py +++ b/omego/env.py @@ -139,7 +139,7 @@ class FileUtilsParser(argparse.ArgumentParser): group.add_argument("--skipunzip", action="store_true", help="Don't unzip archives") # Choices from ...
Change default overwrite option to keep This is the most backwards compatible option, though we may want to change it to error in future
py
diff --git a/tethne/tests/test_writers_graph.py b/tethne/tests/test_writers_graph.py index <HASH>..<HASH> 100644 --- a/tethne/tests/test_writers_graph.py +++ b/tethne/tests/test_writers_graph.py @@ -14,7 +14,7 @@ from tethne.readers.wos import read from tethne.networks.authors import coauthors datapath = './tethne/...
Update test_writers_graph.py
py
diff --git a/src/streamlink_cli/argparser.py b/src/streamlink_cli/argparser.py index <HASH>..<HASH> 100644 --- a/src/streamlink_cli/argparser.py +++ b/src/streamlink_cli/argparser.py @@ -541,6 +541,8 @@ def build_parser(): Write stream data to FILENAME instead of playing it. If FILENAME is set to - (dash), the...
cli.argparser: update help with dir/subdir creation info
py
diff --git a/hgtools/managers/cmd.py b/hgtools/managers/cmd.py index <HASH>..<HASH> 100644 --- a/hgtools/managers/cmd.py +++ b/hgtools/managers/cmd.py @@ -190,4 +190,4 @@ class Git(Command): @classmethod def _parse_version(cls, version): - return re.match(r'git version (\d+\.\d+.*)', version).group(1) + return ...
Adapt parsing of git version output. Fixes failing test and fixes #<I>.
py
diff --git a/insights/combiners/package_provides_httpd.py b/insights/combiners/package_provides_httpd.py index <HASH>..<HASH> 100644 --- a/insights/combiners/package_provides_httpd.py +++ b/insights/combiners/package_provides_httpd.py @@ -57,3 +57,10 @@ class PackageProvidesHttpdAll(LegacyItemAccess): """ ...
Provide API to access installed httpd packages directly (#<I>)
py
diff --git a/salt/modules/grains.py b/salt/modules/grains.py index <HASH>..<HASH> 100644 --- a/salt/modules/grains.py +++ b/salt/modules/grains.py @@ -140,6 +140,12 @@ def setval(key, val): __opts__['conf_file'], 'grains' ) + else: + gfn = os.path.join( + os.path....
Fix #<I> Add an else check to mimic the search routine in the lookup of the configured grains file
py
diff --git a/msmbuilder/example_datasets/base.py b/msmbuilder/example_datasets/base.py index <HASH>..<HASH> 100644 --- a/msmbuilder/example_datasets/base.py +++ b/msmbuilder/example_datasets/base.py @@ -13,5 +13,5 @@ try: clear_data_home, retry) except ImportError: warnings.warn("...
Fix for when msmb_data is not available
py
diff --git a/stl/base.py b/stl/base.py index <HASH>..<HASH> 100644 --- a/stl/base.py +++ b/stl/base.py @@ -315,6 +315,13 @@ class BaseMesh(logger.Logged, collections.Mapping): areas = .5 * numpy.sqrt((self.normals ** 2).sum(axis=1)) self.areas = areas.reshape((areas.size, 1)) + def check(self): +...
added test to fix #<I>
py
diff --git a/sovrin_client/test/cli/test_tutorial_manual.py b/sovrin_client/test/cli/test_tutorial_manual.py index <HASH>..<HASH> 100644 --- a/sovrin_client/test/cli/test_tutorial_manual.py +++ b/sovrin_client/test/cli/test_tutorial_manual.py @@ -51,7 +51,6 @@ def testGettingStartedTutorialAgainstSandbox(newGuyCLI, be,...
[#SOV-<I>] remove skip statement which was bring back accidentally in previous merge
py
diff --git a/docx.py b/docx.py index <HASH>..<HASH> 100755 --- a/docx.py +++ b/docx.py @@ -8,10 +8,7 @@ See LICENSE for licensing information. ''' import logging -try: - from xml.etree import ElementTree as etree -except ImportError: - from lxml import etree +from lxml import etree try: from PIL import ...
xml.etree seems not to support xpath
py