diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/pipenv/core.py b/pipenv/core.py index <HASH>..<HASH> 100644 --- a/pipenv/core.py +++ b/pipenv/core.py @@ -2825,8 +2825,10 @@ def do_sync( three=three, python=python, validate=False, + system=system, deploy=deploy, pypi_mirror=pypi_mirror, + clear=c...
fix: do_sync should pass system/clear
py
diff --git a/pyontutils/core.py b/pyontutils/core.py index <HASH>..<HASH> 100644 --- a/pyontutils/core.py +++ b/pyontutils/core.py @@ -633,7 +633,7 @@ class OntResAny: """ try: org = OntResGit(path, ref=ref) - org.get() # yes this is slow, but it is the safest way ... + ...
OntResGit call to get was renamed to _get
py
diff --git a/py3status/modules/battery_level.py b/py3status/modules/battery_level.py index <HASH>..<HASH> 100644 --- a/py3status/modules/battery_level.py +++ b/py3status/modules/battery_level.py @@ -181,16 +181,6 @@ class Py3status: if message: self.py3.notify_user(message, 'info') - def _des...
Remove unused method _desktop_notification()
py
diff --git a/validator/txnintegration/validator_collection_controller.py b/validator/txnintegration/validator_collection_controller.py index <HASH>..<HASH> 100644 --- a/validator/txnintegration/validator_collection_controller.py +++ b/validator/txnintegration/validator_collection_controller.py @@ -171,7 +171,7 @@ class...
update vcc shutdown Update ValidatorCollectionController with recent changes to ValidatorNetworkManager. Adding this to this patch-set because our tests for the genesis utilities use the VCC framework rather than VNM, and we want to be as safe as possible.
py
diff --git a/superset/views/base.py b/superset/views/base.py index <HASH>..<HASH> 100644 --- a/superset/views/base.py +++ b/superset/views/base.py @@ -217,7 +217,7 @@ def menu_data(): if not g.user.is_anonymous: try: logo_target_path = ( - appbuilder.app.config.get("LOGO_TARGET...
gotta catch 'em all (#<I>)
py
diff --git a/netjsonconfig/schema.py b/netjsonconfig/schema.py index <HASH>..<HASH> 100644 --- a/netjsonconfig/schema.py +++ b/netjsonconfig/schema.py @@ -146,6 +146,8 @@ schema = { "mac": { "type": "string", "title": "mac address", + "minLen...
[schema] Added minLength and maxLength to interface "mac" property
py
diff --git a/tests/labsuite/protocol/test_protocol.py b/tests/labsuite/protocol/test_protocol.py index <HASH>..<HASH> 100644 --- a/tests/labsuite/protocol/test_protocol.py +++ b/tests/labsuite/protocol/test_protocol.py @@ -223,7 +223,7 @@ class ProtocolTest(unittest.TestCase): {'a': 0} ] ...
Test Fix: Protocol.run returns (current, total) tuples. I really need to stop being like, "Hey, check out how cool this thing I'm about to commit is," and then tweaking it before pushing without running tests...
py
diff --git a/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/wsgi.py b/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/wsgi.py index <HASH>..<HASH> 100644 --- a/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/wsgi.py +++ b/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/wsgi.py @@ -25,7 +25,7 @@...
ignore pep8 on django-configurations import in wsgi.py file
py
diff --git a/kernel_tuner/interface.py b/kernel_tuner/interface.py index <HASH>..<HASH> 100644 --- a/kernel_tuner/interface.py +++ b/kernel_tuner/interface.py @@ -172,11 +172,12 @@ def tune_kernel(kernel_name, kernel_string, problem_size, arguments, the grid dimensions in the x-direction. Arithmetic expression...
small fix to explaination in grid_div_x documentation
py
diff --git a/pyecobee/__init__.py b/pyecobee/__init__.py index <HASH>..<HASH> 100644 --- a/pyecobee/__init__.py +++ b/pyecobee/__init__.py @@ -302,8 +302,8 @@ class Ecobee(object): def set_hold_temp( self, index: int, - cool_temp: int, - heat_temp: int, + cool_temp: float, + ...
type temp input as floats to eliminate truncation of tenths precision
py
diff --git a/src/nupic/regions/TMRegion.py b/src/nupic/regions/TMRegion.py index <HASH>..<HASH> 100644 --- a/src/nupic/regions/TMRegion.py +++ b/src/nupic/regions/TMRegion.py @@ -43,8 +43,6 @@ def _getTPClass(temporalImp): return backtracking_tm_shim.TMShim elif temporalImp == 'tm_cpp': return backtracking...
Removed references to obsolete tm_py_fast shim (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -13,6 +13,13 @@ try: except ImportError: from distutils.command.build_py import build_py +""" +https://packaging.python.org/guides/making-a-pypi-friendly-readme/ +check the README.rst works on pypi as the +long_descrip...
adding long_description as the readme for pypi
py
diff --git a/django_admin_bootstrapped/renderers.py b/django_admin_bootstrapped/renderers.py index <HASH>..<HASH> 100644 --- a/django_admin_bootstrapped/renderers.py +++ b/django_admin_bootstrapped/renderers.py @@ -7,6 +7,7 @@ from django.forms import (FileInput, CheckboxInput, RadioSelect, CheckboxSelectM from boot...
Import text_value from bootstrap3
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ with open('requirements.txt') as f: setup( name='pyicloud', - version='0.7.0', + version='0.7.1', url='https://github.com/picklepete/pyicloud', description=( 'PyiCloud is a module ...
Release <I>; Validates Apple's server certificate (to eliminate an emitted warning).
py
diff --git a/centinel/client.py b/centinel/client.py index <HASH>..<HASH> 100644 --- a/centinel/client.py +++ b/centinel/client.py @@ -59,9 +59,12 @@ def run(): print "Reading input from %s" % (input_file) input_file = open(input_file) - print "Running %s test." % (name) - exp = Exp(in...
don't quit if one of the experiments break fixes #8
py
diff --git a/src/Exscript/protocols/drivers/junos.py b/src/Exscript/protocols/drivers/junos.py index <HASH>..<HASH> 100644 --- a/src/Exscript/protocols/drivers/junos.py +++ b/src/Exscript/protocols/drivers/junos.py @@ -47,7 +47,7 @@ _ps = r'(?:\{primary:node\d+\}|\{secondary:node\d+\})' _re_re = r'(?:'+...
handles the case where prompt has a username that contains a dot at junos driver
py
diff --git a/tests/test_openwrt.py b/tests/test_openwrt.py index <HASH>..<HASH> 100644 --- a/tests/test_openwrt.py +++ b/tests/test_openwrt.py @@ -484,34 +484,7 @@ config wifi-device 'radio1' """ self.assertEqual(o.render(), expected) - def test_radio_ac(self): - o = OpenWrt({ - "type":...
Simplified custom attributes test for wireless section
py
diff --git a/tests/contrib/test_reddit.py b/tests/contrib/test_reddit.py index <HASH>..<HASH> 100644 --- a/tests/contrib/test_reddit.py +++ b/tests/contrib/test_reddit.py @@ -63,18 +63,18 @@ def test_context_local(): # set up two apps with two different set of auth tokens app1 = Flask(__name__) - ghbp1 =...
Fix variable names for blueprints in Reddit tests
py
diff --git a/src/sos/hosts.py b/src/sos/hosts.py index <HASH>..<HASH> 100755 --- a/src/sos/hosts.py +++ b/src/sos/hosts.py @@ -418,7 +418,7 @@ class RemoteHost(object): k = max(matched, key=len) dest = self.path_map[k] + dest[len(k):] else: - env.logger.warn...
Reduce a warning to DEBUG
py
diff --git a/mammoth/docx/__init__.py b/mammoth/docx/__init__.py index <HASH>..<HASH> 100644 --- a/mammoth/docx/__init__.py +++ b/mammoth/docx/__init__.py @@ -28,12 +28,9 @@ def read(fileobj): with _open_entry(zip_file, "word/_rels/document.xml.rels") as relationships_fileobj: relationships = read_r...
Read numbering.xml using common code
py
diff --git a/ReText/highlighter.py b/ReText/highlighter.py index <HASH>..<HASH> 100644 --- a/ReText/highlighter.py +++ b/ReText/highlighter.py @@ -102,8 +102,8 @@ class ReTextHighlighter(QSyntaxHighlighter): (reMkdLinksImgs, colorScheme[4], QFont.Normal), (reMkdLinkRefs, None, QFont.Normal, True, ...
highlighter: Make reStructuredText roles and directives bold
py
diff --git a/twarc.py b/twarc.py index <HASH>..<HASH> 100755 --- a/twarc.py +++ b/twarc.py @@ -232,10 +232,12 @@ def archive(q, statuses): fh = open(archive_filename, "w") for status in statuses: - logging.info("archived %s", status["id_str"]) - fh.write(json.dumps(status)) - fh.write("...
catch unexpected exceptions to prevent halting
py
diff --git a/mbed/mbed.py b/mbed/mbed.py index <HASH>..<HASH> 100644 --- a/mbed/mbed.py +++ b/mbed/mbed.py @@ -1219,7 +1219,7 @@ class Program(object): def post_action(self): mbed_tools_path = self.get_tools_dir() - if not mbed_tools_path and self.is_classic: + if not mbed_tools_path and (...
Fixed detection of programs that need external tools but do not have .bld file (e.g. Microbit projects)
py
diff --git a/flubber/core/hub.py b/flubber/core/hub.py index <HASH>..<HASH> 100644 --- a/flubber/core/hub.py +++ b/flubber/core/hub.py @@ -162,6 +162,20 @@ class Hub(object): """ return _Timer(self, seconds, cb, *args, **kw) + def call_from_thread(self, func, *args, **kw): + """Run the giv...
Added Hub.call_from_thread Calls the given function in the hub thread. This is the only thread-safe function and the one that must be used to call hub functions from other OS thread.
py
diff --git a/__init__.py b/__init__.py index <HASH>..<HASH> 100644 --- a/__init__.py +++ b/__init__.py @@ -20,4 +20,4 @@ __revision__ = "$Id$" # In general, major and minor version should loosely follow the Python # version number the distutils code was shipped with. # -__version__ = "2.5.0" +__version__ = "2.5.1"
Bump the patch level version of distutils since there were a few bug fixes since the <I> release. Backport of r<I>.
py
diff --git a/openquake/calculators/extract.py b/openquake/calculators/extract.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/extract.py +++ b/openquake/calculators/extract.py @@ -542,7 +542,7 @@ def extract_aggregate_by(dstore, what): except ValueError: # missing '/' at the end tagnames, name...
Removed aggregate_by/curves which was incorrect [skip CI]
py
diff --git a/trunk/languagetool/tag.py b/trunk/languagetool/tag.py index <HASH>..<HASH> 100644 --- a/trunk/languagetool/tag.py +++ b/trunk/languagetool/tag.py @@ -9,12 +9,13 @@ # TODO: remove/ignore non-word characters # fixme(?): needs to recognize 100% if trained on the same text (problem: special characters) -im...
clean entities when tagging BNC files
py
diff --git a/tests/integration/long/test_schema.py b/tests/integration/long/test_schema.py index <HASH>..<HASH> 100644 --- a/tests/integration/long/test_schema.py +++ b/tests/integration/long/test_schema.py @@ -66,7 +66,7 @@ class SchemaTests(unittest.TestCase): session.execute(ss) def test_for_...
Set the protocol_version in test_schema tests
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -22,12 +22,13 @@ setup(name=name, packages=find_packages(), data_files=[('share/doc/%s' % name, ['LICENSE','README.md']), ], - install_requires = [ + install_requires=[ "urwid"...
Add urwid_readline as dependency
py
diff --git a/yowsup/layers/protocol_iq/protocolentities/iq.py b/yowsup/layers/protocol_iq/protocolentities/iq.py index <HASH>..<HASH> 100644 --- a/yowsup/layers/protocol_iq/protocolentities/iq.py +++ b/yowsup/layers/protocol_iq/protocolentities/iq.py @@ -22,6 +22,9 @@ class IqProtocolEntity(ProtocolEntity): def ge...
Added getType method in iq protocol entity
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ here = os.path.normpath(os.path.abspath(os.path.dirname(__file__))) site_packages_path = sysconfig.get_python_lib() site_packages_files = ["vext_importer.pth"] if os.environ.get('VIRTUAL_ENV') else [] -sandbox...
Use absolute paths in sandbox excemption.
py
diff --git a/src/mimerender.py b/src/mimerender.py index <HASH>..<HASH> 100644 --- a/src/mimerender.py +++ b/src/mimerender.py @@ -363,5 +363,12 @@ if __name__ == "__main__": txt=lambda: None, xml=lambda: None)(lambda: {})() self.assertEquals(mimerender.content_typ...
test case: decorated function's name should stay the same
py
diff --git a/scripts/lib/mha_config_helper.py b/scripts/lib/mha_config_helper.py index <HASH>..<HASH> 100644 --- a/scripts/lib/mha_config_helper.py +++ b/scripts/lib/mha_config_helper.py @@ -1,7 +1,7 @@ import ConfigParser class MHA_config_helper(object): - CONFIG_PATH = "/usr/local/mha-helper/conf/global.conf.s...
Change the configuration path of the global config file in config helper
py
diff --git a/openquake/calculators/extract.py b/openquake/calculators/extract.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/extract.py +++ b/openquake/calculators/extract.py @@ -188,6 +188,7 @@ def _agg(losses, idxs): def _filter_agg(assetcol, losses, tags): + # losses is an array of shape (A, ...,...
Added comments [skip CI]
py
diff --git a/ncclient/operations/rpc.py b/ncclient/operations/rpc.py index <HASH>..<HASH> 100644 --- a/ncclient/operations/rpc.py +++ b/ncclient/operations/rpc.py @@ -119,7 +119,7 @@ class RPCReply(object): ok = root.find(qualify("ok")) if ok is None: # Create RPCError objects from <rpc-e...
Update rpc for nested rpc-errors
py
diff --git a/holoviews/core/dimension.py b/holoviews/core/dimension.py index <HASH>..<HASH> 100644 --- a/holoviews/core/dimension.py +++ b/holoviews/core/dimension.py @@ -438,7 +438,10 @@ class Dimensioned(LabelledData): deep dimensions may then be listed (for applicable deep dimensions). """...
Allowed empty indices in Dimensioned getitem
py
diff --git a/pysubs2/ssafile.py b/pysubs2/ssafile.py index <HASH>..<HASH> 100644 --- a/pysubs2/ssafile.py +++ b/pysubs2/ssafile.py @@ -349,7 +349,10 @@ class SSAFile(MutableSequence): """ if isinstance(other, SSAFile): - return self.info == other.info and self.styles == other.styles and \...
Fix bug that sometimes caused SSAFile.equals() to misbehave OrderedDict is order-sensitive in __eq__, which is unwanted here.
py
diff --git a/tests/test_detector_postal_codes.py b/tests/test_detector_postal_codes.py index <HASH>..<HASH> 100644 --- a/tests/test_detector_postal_codes.py +++ b/tests/test_detector_postal_codes.py @@ -12,10 +12,11 @@ class PostalCodesTestCase(unittest.TestCase): def test_not_implemented_locale(self): ...
test the warning differently as we want the original way not to cause an warning only when its manually added
py
diff --git a/pymc3/distributions/multivariate.py b/pymc3/distributions/multivariate.py index <HASH>..<HASH> 100755 --- a/pymc3/distributions/multivariate.py +++ b/pymc3/distributions/multivariate.py @@ -650,10 +650,16 @@ class Wishart(Continuous): self.p = p = tt.as_tensor_variable(V.shape[0]) self.V ...
implement random method for wishart (#<I>) For potential usage in SMC/ABC where we need random method to generate sample. Still not encourage to use.
py
diff --git a/partridge/readers.py b/partridge/readers.py index <HASH>..<HASH> 100644 --- a/partridge/readers.py +++ b/partridge/readers.py @@ -27,7 +27,7 @@ def read_busiest_date(path): service_ids_by_date = _service_ids_by_date(feed) trip_counts_by_date = _trip_counts_by_date(feed) - date, _ = max(trip_...
Use a stable sort for finding the busiest date Guarantee the earliest, busiest date.
py
diff --git a/tensor2tensor/data_generators/problem.py b/tensor2tensor/data_generators/problem.py index <HASH>..<HASH> 100644 --- a/tensor2tensor/data_generators/problem.py +++ b/tensor2tensor/data_generators/problem.py @@ -485,11 +485,12 @@ class Problem(object): def get_hparams(self, model_hparams=None): """...
Favour an early return in get_hparams(). This way we don't do needless extra work when we are returning anyways. PiperOrigin-RevId: <I>
py
diff --git a/pymunin/plugins/phpapcstats.py b/pymunin/plugins/phpapcstats.py index <HASH>..<HASH> 100755 --- a/pymunin/plugins/phpapcstats.py +++ b/pymunin/plugins/phpapcstats.py @@ -65,7 +65,7 @@ __author__ = "Ali Onur Uyar" __copyright__ = "Copyright 2011, Ali Onur Uyar" __credits__ = ["Preston Mason (https://githu...
Bump up version of phpapcplugin.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,10 +1,14 @@ #!/usr/bin/env python """ setup script for delocate package """ +import sys from os.path import join as pjoin -try: + +# For some commands, use setuptools. +if len(set(('develop', 'bdist_egg', 'bdist_rpm', 'b...
RF: only use setuptools for specific commands
py
diff --git a/pyvim/commands/commands.py b/pyvim/commands/commands.py index <HASH>..<HASH> 100644 --- a/pyvim/commands/commands.py +++ b/pyvim/commands/commands.py @@ -600,5 +600,16 @@ def enable_mouse(editor): @set_cmd('nomouse') def disable_mouse(editor): - " disable mouse. " + " Disable mouse. " editor...
Added tildeop command.
py
diff --git a/pywatson/watson.py b/pywatson/watson.py index <HASH>..<HASH> 100644 --- a/pywatson/watson.py +++ b/pywatson/watson.py @@ -2,4 +2,18 @@ class Watson: """The Watson API adapter class""" def __init__(self, url, username, password): + self.url = url + self.username = username + ...
Add ask_question stub
py
diff --git a/salt/modules/rh_ip.py b/salt/modules/rh_ip.py index <HASH>..<HASH> 100644 --- a/salt/modules/rh_ip.py +++ b/salt/modules/rh_ip.py @@ -63,7 +63,6 @@ _CONFIG_FALSE = ['no', 'off', 'false', '0', False] _IFACE_TYPES = [ 'eth', 'bond', 'alias', 'clone', 'ipsec', 'dialup', 'bridge', 'slave', 'vlan', -...
pep8 and remove a line Just some simple pep8 cleanup and remove a unnecessary interface type.
py
diff --git a/docs/source/conf.py b/docs/source/conf.py index <HASH>..<HASH> 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -92,9 +92,9 @@ exclude_patterns = [] # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -# html_theme = 'bizstyle' +html_them...
Switch to biz sphinx theme
py
diff --git a/faker/providers/address/__init__.py b/faker/providers/address/__init__.py index <HASH>..<HASH> 100644 --- a/faker/providers/address/__init__.py +++ b/faker/providers/address/__init__.py @@ -93,8 +93,10 @@ class Provider(BaseProvider): if not center: return Decimal(str(random.randint(-...
Fixed issue with Decimal objects as input to geo_coordinate.
py
diff --git a/__init__.py b/__init__.py index <HASH>..<HASH> 100644 --- a/__init__.py +++ b/__init__.py @@ -20,5 +20,5 @@ __revision__ = "$Id$" # #--start constants-- -__version__ = "3.0a5" +__version__ = "3.0b1" #--end constants--
Bump to <I>b1
py
diff --git a/src/foremast/runner.py b/src/foremast/runner.py index <HASH>..<HASH> 100755 --- a/src/foremast/runner.py +++ b/src/foremast/runner.py @@ -92,6 +92,7 @@ class ForemastRunner(object): 'trigger_job': self.trigger_job, 'prop_path': self.json_path, 'base': None, + ...
fix: Pass runway directory to Pipeline See also: #<I>
py
diff --git a/docs/source/conf.py b/docs/source/conf.py index <HASH>..<HASH> 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -10,12 +10,12 @@ # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. # -i...
FIX: Fix conf.py to import in correct order
py
diff --git a/salt/engines/junos_syslog.py b/salt/engines/junos_syslog.py index <HASH>..<HASH> 100644 --- a/salt/engines/junos_syslog.py +++ b/salt/engines/junos_syslog.py @@ -92,8 +92,10 @@ import time import salt.utils.event as event try: - from twisted.internet.protocol import DatagramProtocol - from twiste...
Disabling lint check on twisted.internet imports to allow lint checks to pass.
py
diff --git a/tests/model.py b/tests/model.py index <HASH>..<HASH> 100644 --- a/tests/model.py +++ b/tests/model.py @@ -698,5 +698,22 @@ class ConnectionTest(LimpydBaseTest): self.assertEqual(bike.connection, boat.connection) +class ProxyTest(LimpydBaseTest): + + def proxy_get_should_call_real_getter(sel...
Add tests for proxy_get and proxy_set new methods
py
diff --git a/kafka/consumer/fetcher.py b/kafka/consumer/fetcher.py index <HASH>..<HASH> 100644 --- a/kafka/consumer/fetcher.py +++ b/kafka/consumer/fetcher.py @@ -474,7 +474,9 @@ class Fetcher(six.Iterator): self.config['value_deserializer'], tp.topic, record.value) ...
Set length of header value to 0 if None
py
diff --git a/custodian/qchem/jobs.py b/custodian/qchem/jobs.py index <HASH>..<HASH> 100644 --- a/custodian/qchem/jobs.py +++ b/custodian/qchem/jobs.py @@ -1,6 +1,7 @@ # coding: utf-8 from __future__ import unicode_literals, division +import shlex """ This module implements basic kinds of jobs for QChem runs. @@...
clean /tmp before running QChem on Hopper/Edison
py
diff --git a/keyboard/__main__.py b/keyboard/__main__.py index <HASH>..<HASH> 100644 --- a/keyboard/__main__.py +++ b/keyboard/__main__.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- import keyboard print('Press space twice to replay keyboard actions.') keyboard.play(keyboard.record('space, space'), 3)
Add encoding definition to __main__ as preventive measure
py
diff --git a/dispatch/modules/content/embeds.py b/dispatch/modules/content/embeds.py index <HASH>..<HASH> 100644 --- a/dispatch/modules/content/embeds.py +++ b/dispatch/modules/content/embeds.py @@ -91,13 +91,12 @@ class CodeController: @staticmethod def render(data): - if(data['mode'] == 'ht...
modify code embed controller to return unformatted code by default
py
diff --git a/gitlab/exceptions.py b/gitlab/exceptions.py index <HASH>..<HASH> 100644 --- a/gitlab/exceptions.py +++ b/gitlab/exceptions.py @@ -134,7 +134,7 @@ def raise_error_from_response(response, error, expected_code=200): try: message = response.json()['message'] - except (KeyError, ValueError): ...
Handle empty messages from server in exceptions
py
diff --git a/pyqode/core/panels/folding.py b/pyqode/core/panels/folding.py index <HASH>..<HASH> 100644 --- a/pyqode/core/panels/folding.py +++ b/pyqode/core/panels/folding.py @@ -516,7 +516,7 @@ class FoldingPanel(Panel): bottom = self.editor.linePos(fi.end) h = bottom - top w = self.sizeHint...
Use QRectF instead of QRect (avoid some bugs with old versions of Qt)
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, find_packages setup( name='django-section', - version='0.0.1', + version='0.0.2', description='Django app for determining site section by request.', long_descr...
added snippetscream dep. version bump
py
diff --git a/tests/test_acceptance.py b/tests/test_acceptance.py index <HASH>..<HASH> 100644 --- a/tests/test_acceptance.py +++ b/tests/test_acceptance.py @@ -2456,7 +2456,7 @@ class TestAcceptance(TestCase): result = u"the sky is blue" self.assertRender(template, context, result, helpers) - def ...
Add one more test for nested raw blocks
py
diff --git a/pyshop/helpers/authentication.py b/pyshop/helpers/authentication.py index <HASH>..<HASH> 100644 --- a/pyshop/helpers/authentication.py +++ b/pyshop/helpers/authentication.py @@ -41,6 +41,7 @@ class RouteSwithchAuthPolicy(CallbackAuthenticationPolicy): 'tk': AuthTktAuthenticationPolicy...
Fix authentication, the AuthPolicy must retain the callback method
py
diff --git a/txaws/testing/ec2.py b/txaws/testing/ec2.py index <HASH>..<HASH> 100644 --- a/txaws/testing/ec2.py +++ b/txaws/testing/ec2.py @@ -13,13 +13,15 @@ from txaws.ec2.model import Keypair, SecurityGroup class FakeEC2Client(object): - def __init__(self, creds, endpoint, query_factory=None, instances=None,...
Put query_factory at the end in case someone somewhere is passing parameters by position. Also fix bug in query_factory assignment.
py
diff --git a/test/test_properties.py b/test/test_properties.py index <HASH>..<HASH> 100755 --- a/test/test_properties.py +++ b/test/test_properties.py @@ -63,8 +63,17 @@ class TestBoolProp(unittest.TestCase, PropertyTests): def test_pythonize(self): p = BoolProp() + # allowed strings for `True` ...
Add tests for all true/false strings of BoolProp.
py
diff --git a/installers/macOS/setup.py b/installers/macOS/setup.py index <HASH>..<HASH> 100644 --- a/installers/macOS/setup.py +++ b/installers/macOS/setup.py @@ -103,6 +103,10 @@ def make_app_bundle(dist_dir, make_lite=False): PIL : Library not loaded: @loader_path/.dylibs/libjpeg.9.dylib Note: ...
Mac app: pkg_resources stopped being zip compatible
py
diff --git a/pyimgur/__init__.py b/pyimgur/__init__.py index <HASH>..<HASH> 100644 --- a/pyimgur/__init__.py +++ b/pyimgur/__init__.py @@ -783,6 +783,12 @@ class Imgur: The self.access_token attribute will be updated with the value of the new access_token which will also be returned. """ + ...
Add sanity check to refresh_access_token If either client_secret or refresh_token is None, then the method would return a <I> BAD REQUEST. The added sanity checks will raise an exception client-side with a more descriptive error message.
py
diff --git a/src/streamcorpus_pipeline/_pipeline.py b/src/streamcorpus_pipeline/_pipeline.py index <HASH>..<HASH> 100644 --- a/src/streamcorpus_pipeline/_pipeline.py +++ b/src/streamcorpus_pipeline/_pipeline.py @@ -395,7 +395,7 @@ class Pipeline(object): self.t_chunk.close() - os.rename(t_pa...
fixing typo bug in _maybe_run_post_batch_incremental_transforms
py
diff --git a/src/python/dxpy/templating/utils.py b/src/python/dxpy/templating/utils.py index <HASH>..<HASH> 100644 --- a/src/python/dxpy/templating/utils.py +++ b/src/python/dxpy/templating/utils.py @@ -63,7 +63,7 @@ def clean(s): return "\n".join(line.rstrip() for line in s.split("\n")) def use_completer(compl...
Fix fallout from removal of callable completers
py
diff --git a/nhlib/geo/geodetic.py b/nhlib/geo/geodetic.py index <HASH>..<HASH> 100644 --- a/nhlib/geo/geodetic.py +++ b/nhlib/geo/geodetic.py @@ -30,7 +30,7 @@ def geodetic_distance(lons1, lats1, lons2, lats2): of points. Parameters are coordinates in decimal degrees. They could be scalar - float number...
geo/geodetic [doc]: fixed a typo in geodetic_distance
py
diff --git a/gdax/public_client.py b/gdax/public_client.py index <HASH>..<HASH> 100644 --- a/gdax/public_client.py +++ b/gdax/public_client.py @@ -157,7 +157,7 @@ class PublicClient(object): params['limit'] = limit r = requests.get(url, params=params) - r.raise_for_status() + # r.r...
remove raise and comment out time.sleep
py
diff --git a/rtv/subreddit.py b/rtv/subreddit.py index <HASH>..<HASH> 100644 --- a/rtv/subreddit.py +++ b/rtv/subreddit.py @@ -106,23 +106,19 @@ class SubredditPage(BasePage): page = SubmissionPage(self.stdscr, self.reddit, url=data['permalink']) page.loop() - if data['url'] == 'selfpost': - ...
Don't forget to add selfposts and x-posts to history Links for selfposts and x-posts don't go purple after my last PR (#<I>). This'll fix it.
py
diff --git a/sim/cell.py b/sim/cell.py index <HASH>..<HASH> 100644 --- a/sim/cell.py +++ b/sim/cell.py @@ -482,7 +482,7 @@ class Pop(object): cells = self.createCellsFixedNum() # create cells based on yfrac density - elif 'yFracRange' in self.tags and 'density' in self.tags: + elif...
debugged M1yfrac creation of cells and conns
py
diff --git a/src/toil/test/utils/toilKillTest.py b/src/toil/test/utils/toilKillTest.py index <HASH>..<HASH> 100644 --- a/src/toil/test/utils/toilKillTest.py +++ b/src/toil/test/utils/toilKillTest.py @@ -31,7 +31,7 @@ class ToilKillTest(ToilTest): """Shared test variables.""" self.cwl = os.path.abspath...
Change path for jobstore on jenkins.
py
diff --git a/webcolors.py b/webcolors.py index <HASH>..<HASH> 100644 --- a/webcolors.py +++ b/webcolors.py @@ -99,6 +99,13 @@ methods of specifying sRGB colors, and conversions between them: This module does not support ``hsl()`` triplets, nor does it support opacity/alpha-channel information via ``rgba()`` or ``hsla...
Documentation note pointing to the colorsys module in the Python stdlib for HSL and other color spaces.
py
diff --git a/napalm/junos/junos.py b/napalm/junos/junos.py index <HASH>..<HASH> 100644 --- a/napalm/junos/junos.py +++ b/napalm/junos/junos.py @@ -190,6 +190,8 @@ class JunOSDriver(NetworkDriver): 'protect', 'rename', 'unprotect', + 'edit', + 'top', ...
junos: support edit/top keywords in set based configs (#<I>)
py
diff --git a/tests/test_phases.py b/tests/test_phases.py index <HASH>..<HASH> 100644 --- a/tests/test_phases.py +++ b/tests/test_phases.py @@ -2742,16 +2742,19 @@ def test_DryAirLemmon(): g0 = gas.to(T=100, V=1/(28000), zs=[1.0]) assert_close(g0.k()*1e3, 119.221, atol=.0005) + assert_close(g0.mu()*1e...
More thermal conductivity tests for dry air
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ except ImportError: setup( name='eventsourcing', - version='0.8.0', + version='0.8.1', description='Event sourcing in Python', author='John Bywater', author_email='john.bywater@appro...
Increased version number to <I>.
py
diff --git a/tossi/coda.py b/tossi/coda.py index <HASH>..<HASH> 100644 --- a/tossi/coda.py +++ b/tossi/coda.py @@ -21,7 +21,8 @@ import unicodedata from .hangul import split_phonemes -__all__ = ['filter_only_significant', 'guess_coda', 'pick_coda_from_decimal', +__all__ = ['filter_only_significant', 'guess_coda', ...
Split guess_coda() logic
py
diff --git a/authapi/urls.py b/authapi/urls.py index <HASH>..<HASH> 100644 --- a/authapi/urls.py +++ b/authapi/urls.py @@ -40,7 +40,7 @@ team_router.register( urlpatterns = [ url(r'^', include(router.urls)), url( - r'^/user$', views.UserPermissionsView.as_view(), + r'^user$', views.UserPermissi...
Fix /user and /usr/tokens/ urls (thanks @rudigiesler)
py
diff --git a/pyaxiom/netcdf/sensors/timeseries.py b/pyaxiom/netcdf/sensors/timeseries.py index <HASH>..<HASH> 100644 --- a/pyaxiom/netcdf/sensors/timeseries.py +++ b/pyaxiom/netcdf/sensors/timeseries.py @@ -176,7 +176,7 @@ class TimeSeries(object): nc.setncattr("geospatial_bounds", "POINT({} {})".format(...
Include the "EPSG:" in geospatial_bounds_crs
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -121,7 +121,7 @@ class update_libusb(Command): archive_path + '.asc', archive_path, ], # gnupg will not shut its pie hole. - stdout=devnull, + ...
setup.py: gpgv prints to stderr, not stdout.
py
diff --git a/test/worker_test.py b/test/worker_test.py index <HASH>..<HASH> 100644 --- a/test/worker_test.py +++ b/test/worker_test.py @@ -34,6 +34,7 @@ from luigi import ExternalTask, RemoteScheduler, Task from luigi.mock import MockTarget, MockFileSystem from luigi.scheduler import CentralPlannerScheduler from lui...
Fix test_connection_error Reraising exceptions in worker.py to handle internal luigi errors made the test fail.
py
diff --git a/asks/req_structs.py b/asks/req_structs.py index <HASH>..<HASH> 100644 --- a/asks/req_structs.py +++ b/asks/req_structs.py @@ -2,8 +2,8 @@ ''' Some structures used throughout asks. ''' -from collections import OrderedDict, MutableMapping, Mapping, deque - +from collections import OrderedDict, deque +from...
switch from collections to collections.abc for abc imports (deprecating in <I>)
py
diff --git a/umsgpack.py b/umsgpack.py index <HASH>..<HASH> 100644 --- a/umsgpack.py +++ b/umsgpack.py @@ -117,13 +117,7 @@ class Ext: String representation of this Ext object. """ s = "Ext Object (Type: 0x%02x, Data: " % self.type - for i in range(min(len(self.data), 8)): - ...
add hex prefix to data bytes in string representation of Ext
py
diff --git a/concentration/settings.py b/concentration/settings.py index <HASH>..<HASH> 100644 --- a/concentration/settings.py +++ b/concentration/settings.py @@ -28,7 +28,9 @@ for config_file_path in ('/etc/concentration.distractors', os.path.expanduser('~ for config_file_path in ('/etc/concentration.safe', os.path.e...
Fixed a bug where the whitelist domains were being added to the list of DISTRACTORS instead of being removed
py
diff --git a/cheroot/test/test_conn.py b/cheroot/test/test_conn.py index <HASH>..<HASH> 100644 --- a/cheroot/test/test_conn.py +++ b/cheroot/test/test_conn.py @@ -651,9 +651,13 @@ def test_broken_connection_during_tcp_fin( mocker.mock_module.Mock(side_effect=exc_instance), ) _clos...
Fix test_broken_connection_during_tcp_fin exc flag
py
diff --git a/GPy/kern/parts/hetero.py b/GPy/kern/parts/hetero.py index <HASH>..<HASH> 100644 --- a/GPy/kern/parts/hetero.py +++ b/GPy/kern/parts/hetero.py @@ -1,7 +1,6 @@ # Copyright (c) 2013, GPy authors (see AUTHORS.txt). # Licensed under the BSD 3-clause license (see LICENSE.txt) -from IPython.core.debugger impo...
Removed ipython dependency from kern
py
diff --git a/acos_client/client.py b/acos_client/client.py index <HASH>..<HASH> 100644 --- a/acos_client/client.py +++ b/acos_client/client.py @@ -92,8 +92,18 @@ LOG = logging.getLogger(__name__) class Client(object): - def __init__(self, host, version, username, password, port=None, - protocol=...
add comments to client __init__
py
diff --git a/jarn/mkrelease/mkrelease.py b/jarn/mkrelease/mkrelease.py index <HASH>..<HASH> 100644 --- a/jarn/mkrelease/mkrelease.py +++ b/jarn/mkrelease/mkrelease.py @@ -186,7 +186,7 @@ class ReleaseMaker(object): """Parse command line. """ try: - options, args = getopt.getopt(sel...
Support -n alias for --dry-run.
py
diff --git a/src/SALib/analyze/hdmr.py b/src/SALib/analyze/hdmr.py index <HASH>..<HASH> 100644 --- a/src/SALib/analyze/hdmr.py +++ b/src/SALib/analyze/hdmr.py @@ -362,12 +362,14 @@ def B_spline(X, m, d): """ # Initialize B matrix B = np.zeros((X.shape[0], m+3, d)) + # Cubic basis-spline settings ...
Removed one line function Avoid additional constant function call overhead
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -119,7 +119,7 @@ setup( # # For an analysis of "install_requires" vs pip's requirements files see: # https://packaging.python.org/en/latest/requirements.html - install_requires=['torch', 'torchvision', 'munch...
Add tqdm as requirement in setup.py "ModuleNotFoundError: No module named 'tqdm'", requirement is currently not installed by pip
py
diff --git a/openTSNE/affinity.py b/openTSNE/affinity.py index <HASH>..<HASH> 100644 --- a/openTSNE/affinity.py +++ b/openTSNE/affinity.py @@ -288,12 +288,12 @@ def build_knn_index( preferred_approx_method = nearest_neighbors.NNDescent if data.shape[0] < 1000: - preferred_method = nearest_neighbo...
Update default exact method to use Sklearn instead of BallTree
py
diff --git a/dev/sparktestsupport/modules.py b/dev/sparktestsupport/modules.py index <HASH>..<HASH> 100644 --- a/dev/sparktestsupport/modules.py +++ b/dev/sparktestsupport/modules.py @@ -557,6 +557,16 @@ kubernetes = Module( sbt_test_goals=["kubernetes/test"] ) + +spark_ganglia_lgpl = Module( + name="spark-g...
[SPARK-<I>] Build external/spark-ganglia-lgpl in Jenkins Test ## What changes were proposed in this pull request? Currently, we do not build external/spark-ganglia-lgpl in Jenkins tests when the code is changed. ## How was this patch tested? N/A Closes #<I> from gatorsmile/buildGanglia.
py
diff --git a/client/deis.py b/client/deis.py index <HASH>..<HASH> 100755 --- a/client/deis.py +++ b/client/deis.py @@ -2208,7 +2208,17 @@ def main(): if hasattr(cli, cmd): method = getattr(cli, cmd) else: - raise DocoptExit('Found no matching command, try `deis help`') + # split by : to...
feat(client): add client extensions If an unknown command is specified, the client will attempt to execute the command as a dash-separated command. If the command cannot be found, The original usage message is returned. This opens the opportunity to add and install extensions to the deis client by simply installing a ...
py
diff --git a/depot/apt.py b/depot/apt.py index <HASH>..<HASH> 100644 --- a/depot/apt.py +++ b/depot/apt.py @@ -230,6 +230,7 @@ class AptRepository(object): release.update_hash(release_sources_path+'.bz2') if lzma: release.update_hash(release_sources_path+'.lzma') + ...
Reset dirty flags when needed.
py
diff --git a/docs/source/conf.py b/docs/source/conf.py index <HASH>..<HASH> 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -110,21 +110,21 @@ htmlhelp_basename = 'PoreSpydoc' # -- Options for LaTeX output --------------------------------------------- latex_elements = { - # The paper size ('letterp...
fixing pep8 in docs
py
diff --git a/pyalveo/pyalveo.py b/pyalveo/pyalveo.py index <HASH>..<HASH> 100644 --- a/pyalveo/pyalveo.py +++ b/pyalveo/pyalveo.py @@ -150,9 +150,10 @@ class OAuth2(object): try: oauth = OAuth2Session(self.client_id,token=self.token,redirect_uri=self.redirect_url,state=self.state) - ...
test new hcsvlab route for getting the API-Key with OAuth token
py
diff --git a/src/molecule/driver/delegated.py b/src/molecule/driver/delegated.py index <HASH>..<HASH> 100644 --- a/src/molecule/driver/delegated.py +++ b/src/molecule/driver/delegated.py @@ -171,7 +171,16 @@ class Delegated(Driver): @property def default_ssh_connection_options(self): if self.managed:...
Fix ansible_ssh_common_args in molecule.yml (#<I>) * Fix ansible_ssh_common_args in molecule.yml Makes the option `ansible_ssh_common_args` in molecule.yml work as documented. * Fixed formatting (black)
py
diff --git a/Hourly.py b/Hourly.py index <HASH>..<HASH> 100644 --- a/Hourly.py +++ b/Hourly.py @@ -40,12 +40,12 @@ for n in range(3): Plot_28Days.Plot_28Days(params, daily_data, hourly_data, work_dir, png28_file) uploads.append(png28_file) for template in os.listdir(template_dir): + ...
Now copes with directories (such as .svn) in template directory
py
diff --git a/five9/environment.py b/five9/environment.py index <HASH>..<HASH> 100644 --- a/five9/environment.py +++ b/five9/environment.py @@ -131,7 +131,7 @@ class Environment(object): Returns: Environment: An environment representing the recordset. """ - records = self.__model__....
[FIX] Environment search should pass five9 * Pass the `five9` object to model `search` method in Environment `search`
py