diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/salt/minion.py b/salt/minion.py index <HASH>..<HASH> 100644 --- a/salt/minion.py +++ b/salt/minion.py @@ -787,7 +787,7 @@ class FileClient(object): if makedirs: os.makedirs(destdir) else: - return False + return ''...
make get_url consistent with get_file
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -VERSION = '1.0.4' +VERSION = '1.0.5' DESCRIPTION = 'Tx DBus' try: @@ -21,6 +21,7 @@ networking framework""", author = "Tom Cocagne", author_email = 'to...
Version bump for partial path introspection support added by rheenen
py
diff --git a/nosedjango/nosedjango.py b/nosedjango/nosedjango.py index <HASH>..<HASH> 100644 --- a/nosedjango/nosedjango.py +++ b/nosedjango/nosedjango.py @@ -469,6 +469,9 @@ class SetupCacheTesting(): settings.CACHE_BACKEND = 'locmem://' settings.DISABLE_QUERYSET_CACHE = True + from django.core.cac...
Made the cache testing plugin clear the cache between tests.
py
diff --git a/src/saml2/response.py b/src/saml2/response.py index <HASH>..<HASH> 100644 --- a/src/saml2/response.py +++ b/src/saml2/response.py @@ -57,6 +57,10 @@ class IncorrectlySigned(Exception): class VerificationError(Exception): pass + +class StatusError(Exception): + pass + # -------------------------...
Differentiate between SAML status errors and exceptions.
py
diff --git a/openquake/engine/db/fields.py b/openquake/engine/db/fields.py index <HASH>..<HASH> 100644 --- a/openquake/engine/db/fields.py +++ b/openquake/engine/db/fields.py @@ -156,6 +156,18 @@ class CharArrayField(djm.Field): def db_type(self, _connection): return 'varchar[]' + def to_python(self,...
db/fields: Implemented `to_python` of CharArrayField. This was done to fix some unstable handling of "string list" config parameters in job.ini. Former-commit-id: <I>b4aa<I>dc<I>cf<I>c<I>dd<I>
py
diff --git a/periphery/pwm.py b/periphery/pwm.py index <HASH>..<HASH> 100644 --- a/periphery/pwm.py +++ b/periphery/pwm.py @@ -85,7 +85,7 @@ class PWM(object): self._period = self._get_period() def close(self): - """Close the sysfs PWM.""" + """Close the PWM.""" self._chip = None ...
pwm: remove sysfs reference from some docstrings
py
diff --git a/test/test_queue_consumer.py b/test/test_queue_consumer.py index <HASH>..<HASH> 100644 --- a/test/test_queue_consumer.py +++ b/test/test_queue_consumer.py @@ -299,7 +299,5 @@ def test_kill_closes_connections(rabbit_manager, rabbit_config): # kill should close all connections queue_consumer.kill(Ex...
no longer need assert_stops_raising wrapper
py
diff --git a/istio/datadog_checks/istio/constants.py b/istio/datadog_checks/istio/constants.py index <HASH>..<HASH> 100644 --- a/istio/datadog_checks/istio/constants.py +++ b/istio/datadog_checks/istio/constants.py @@ -11,4 +11,4 @@ CITADEL_NAMESPACE = 'istio.citadel' ISTIOD_NAMESPACE = 'istio.istiod' # Known label...
Remvoe `destination_service` and `source_workload` from blacklist. (#<I>)
py
diff --git a/phoebe/parameters/parameters.py b/phoebe/parameters/parameters.py index <HASH>..<HASH> 100644 --- a/phoebe/parameters/parameters.py +++ b/phoebe/parameters/parameters.py @@ -2695,12 +2695,16 @@ class ParameterSet(object): if save or show or animate: # NOTE: time, times, will all be ...
clear autofig figure instance before raising error
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -181,7 +181,7 @@ setup_params = dict( tests_require=[ 'setuptools[ssl]', 'pytest-flake8', - 'pytest>=2.8', + 'pytest>=2.8,<3.0dev', ] + (['mock'] if sys.version_info[:2] < (3, 3) else ...
Pin to pytest < 3 until skip errors can be resolved.
py
diff --git a/lancet/launch.py b/lancet/launch.py index <HASH>..<HASH> 100644 --- a/lancet/launch.py +++ b/lancet/launch.py @@ -214,7 +214,7 @@ class Launcher(param.Parameterized): """ self._spec_log += specs # This should be removed log_path = os.path.join(self.root_directory, ("%s.log" % sel...
Fix unqualified use of Log in lancet.launch
py
diff --git a/owncloud/owncloud.py b/owncloud/owncloud.py index <HASH>..<HASH> 100644 --- a/owncloud/owncloud.py +++ b/owncloud/owncloud.py @@ -589,7 +589,7 @@ class Client(): chunk_count += 1 if chunk_count > 1: - headers['OC-CHUNKED'] = 1 + headers['OC-CHUNKED'] = '1' ...
Requests <I> requires string instead of int in headers
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,14 +1,14 @@ from setuptools import setup setup( - name = 'axis', - packages = ['axis'], - version = '6', - description = 'A python library for communicating with devices from Axis Communications', - author = 'Rober...
Trying to fix pypi
py
diff --git a/pypump/models/person.py b/pypump/models/person.py index <HASH>..<HASH> 100644 --- a/pypump/models/person.py +++ b/pypump/models/person.py @@ -154,6 +154,23 @@ class Person(AbstractModel): self._post_activity(activity) + def update(self, display_name=None, summary=None): + """ Updates...
Person.update(display_name=None, summary=None) method for updating a Person's details, only name and bio for now
py
diff --git a/dev_setup.py b/dev_setup.py index <HASH>..<HASH> 100644 --- a/dev_setup.py +++ b/dev_setup.py @@ -115,6 +115,11 @@ def windows_install(path_to_python=""): ans=raw_input() if ans=='y': pass else: return + + #be sure to add python.exe if the user forgets to include the file name...
Addressed #<I> by adding a check in the windows install of dev_setup which insures that the user provided a full path with python.exe at the end and didn't just give me the directory that python.exe is in
py
diff --git a/src/python/twitter/pants/tasks/scala_repl.py b/src/python/twitter/pants/tasks/scala_repl.py index <HASH>..<HASH> 100644 --- a/src/python/twitter/pants/tasks/scala_repl.py +++ b/src/python/twitter/pants/tasks/scala_repl.py @@ -25,6 +25,12 @@ from twitter.pants.tasks.jvm_task import JvmTask class ScalaR...
Made scala_repl a non-serialized target. The scala_repl command was, like all tasks, requiring the global lock in order to execute. There's no reason for it to require the lock at all. (sapling split of <I>b<I>ef<I>a9f<I>f<I>ab<I>b<I>efba)
py
diff --git a/peyotl/api/phylesystem_api.py b/peyotl/api/phylesystem_api.py index <HASH>..<HASH> 100644 --- a/peyotl/api/phylesystem_api.py +++ b/peyotl/api/phylesystem_api.py @@ -21,7 +21,6 @@ _REFR_NEVER, _REFR_SESSION, _REFR_ALWAYS = range(3) _REFRESH_VALUES = ('never', # *DEFAULT* never call "git pull" ...
bug fix to bug in previous commit - need to know the repo_nexml2json to create a default schema
py
diff --git a/gandi/cli/commands/root.py b/gandi/cli/commands/root.py index <HASH>..<HASH> 100644 --- a/gandi/cli/commands/root.py +++ b/gandi/cli/commands/root.py @@ -76,6 +76,19 @@ def help(ctx, command): def status(gandi, service): """Display current status from status.gandi.net.""" + if not service: + ...
Check for an existing current event not specific to a service
py
diff --git a/gandi/cli/core/params.py b/gandi/cli/core/params.py index <HASH>..<HASH> 100644 --- a/gandi/cli/core/params.py +++ b/gandi/cli/core/params.py @@ -81,7 +81,8 @@ class DiskImageParamType(click.Choice): def __init__(self): """ Initialize choices list. """ gandi = GandiContextHelper() - ...
add disks to the list of possible source images
py
diff --git a/yasi.py b/yasi.py index <HASH>..<HASH> 100644 --- a/yasi.py +++ b/yasi.py @@ -921,11 +921,11 @@ def indent_code(original_code, options=None): # ---------------------------------------------------------- - # Strings are dealt with here only if we are not comment + # St...
The if expression can be replaced with 'bool(test)' (simplifiable-if-expression)
py
diff --git a/salt/cloud/clouds/softlayer.py b/salt/cloud/clouds/softlayer.py index <HASH>..<HASH> 100644 --- a/salt/cloud/clouds/softlayer.py +++ b/salt/cloud/clouds/softlayer.py @@ -186,7 +186,7 @@ def list_custom_images(call=None): conn = get_conn('SoftLayer_Account') response = conn.getBlockDeviceTemplateG...
Fix PEP8 E<I> - test for membership should be "not in"
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ import os from setuptools import setup, find_packages -VERSION_NUMBER = '0.4.8' +VERSION_NUMBER = '0.4.9' def read_file(fname): @@ -33,7 +33,8 @@ setup( 'jinja2', 'termcolor', '...
Add python-datetutil to setup.py (issue #<I>)
py
diff --git a/pyroSAR/spatial/vector.py b/pyroSAR/spatial/vector.py index <HASH>..<HASH> 100644 --- a/pyroSAR/spatial/vector.py +++ b/pyroSAR/spatial/vector.py @@ -148,9 +148,9 @@ class Vector(object): for feature in features: try: feature.geometry().Set3D(set3D) - excep...
Vector.convert2wkt: introduced ogr.Geometry.SetCoordinateDimension as alternative to Set3D
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -47,9 +47,9 @@ sphinx_gallery_conf = { 'matplotlib': 'http://matplotlib.org', 'numpy': 'http://docs.scipy.org/doc/numpy/', 'requests': 'http://docs.python-requests.org/en/master/'}, -...
BUG: Fix running sphinx-gallery on windows Windows no likey '/'
py
diff --git a/tests/test_library.py b/tests/test_library.py index <HASH>..<HASH> 100644 --- a/tests/test_library.py +++ b/tests/test_library.py @@ -2,6 +2,7 @@ from collections import namedtuple from datetime import datetime, timedelta import pytest +import plexapi.base from plexapi.exceptions import BadRequest, Not...
Add test for LibrarySection.all() returning guids
py
diff --git a/hgvs/config.py b/hgvs/config.py index <HASH>..<HASH> 100644 --- a/hgvs/config.py +++ b/hgvs/config.py @@ -56,7 +56,12 @@ class Config(object): """read configuration from ini-formatted file-like object """ - self._cp.read_file(flo) + self._cp.read_string(flo.read().decode('...
Add custom __copy__ method and fix unicode issue.
py
diff --git a/pypsa/linopt.py b/pypsa/linopt.py index <HASH>..<HASH> 100644 --- a/pypsa/linopt.py +++ b/pypsa/linopt.py @@ -700,9 +700,7 @@ def run_and_read_gurobi(n, problem_fn, solution_fn, solver_logfile, except AttributeError: logger.warning("Shadow prices of MILP couldn't be parsed") constrai...
linopt: Stop termination_condition being reset after gurobi solves
py
diff --git a/tests/test_pps_client.py b/tests/test_pps_client.py index <HASH>..<HASH> 100644 --- a/tests/test_pps_client.py +++ b/tests/test_pps_client.py @@ -174,6 +174,9 @@ def test_get_logs(): sandbox = Sandbox("get_logs") job_id = sandbox.wait_for_job() + # Wait for the job to complete + list(sand...
Wait for job to complete before getting logs
py
diff --git a/mailqueue/models.py b/mailqueue/models.py index <HASH>..<HASH> 100644 --- a/mailqueue/models.py +++ b/mailqueue/models.py @@ -150,4 +150,4 @@ class Attachment(models.Model): verbose_name_plural = _('Attachments') def __str__(self): - return self.original_filename + return str(...
#<I> Don't break django.debug.technical_<I>_response when Attachment.original_filename is None
py
diff --git a/thefuck/rules/apt_invalid_operation.py b/thefuck/rules/apt_invalid_operation.py index <HASH>..<HASH> 100644 --- a/thefuck/rules/apt_invalid_operation.py +++ b/thefuck/rules/apt_invalid_operation.py @@ -19,7 +19,8 @@ def _parse_apt_operations(help_text_lines): line = line.decode().strip() ...
#N/A: Update `apt_invalid_operation` rule
py
diff --git a/djcelery/loaders.py b/djcelery/loaders.py index <HASH>..<HASH> 100644 --- a/djcelery/loaders.py +++ b/djcelery/loaders.py @@ -35,7 +35,7 @@ class DjangoLoader(BaseLoader): # any embedded celerybeat process forks. signals.beat_embedded_init.connect(self.close_database) - def now(self)...
Compat with celery <I>
py
diff --git a/pymc/sampling_jax.py b/pymc/sampling_jax.py index <HASH>..<HASH> 100644 --- a/pymc/sampling_jax.py +++ b/pymc/sampling_jax.py @@ -435,6 +435,8 @@ def sample_numpyro_nuts( Keyword arguments for :func:`arviz.from_dict`. It also accepts a boolean as value for the ``log_likelihood`` key to in...
doc: add `nuts_kwargs` to `sample_numpyro_nuts` docstring (#<I>) The `nuts_kwargs` argument is currently missing from the docstring of `sample_numpyro_nuts`. This just adds a simple statement to indicate that the keyword arguments are passed to `numpyro.infer.NUTS()`.
py
diff --git a/telemetry/telemetry/core/browser_options.py b/telemetry/telemetry/core/browser_options.py index <HASH>..<HASH> 100644 --- a/telemetry/telemetry/core/browser_options.py +++ b/telemetry/telemetry/core/browser_options.py @@ -235,6 +235,13 @@ class BrowserOptions(object): self.disable_component_extensions...
Add a comment to dissuade addition of browser options. BUG=NONE TEST=comment only. NOTRY=True Review URL: <URL>
py
diff --git a/bika/lims/browser/analysisrequest/publish.py b/bika/lims/browser/analysisrequest/publish.py index <HASH>..<HASH> 100644 --- a/bika/lims/browser/analysisrequest/publish.py +++ b/bika/lims/browser/analysisrequest/publish.py @@ -379,6 +379,12 @@ class AnalysisRequestPublishView(BrowserView): exce...
Set Analyses' Published Date when parent AR is being published
py
diff --git a/lib/makewcs.py b/lib/makewcs.py index <HASH>..<HASH> 100644 --- a/lib/makewcs.py +++ b/lib/makewcs.py @@ -173,10 +173,10 @@ quiet=quiet,instrument=_instrument,prepend=_prepend, nrchip=Nrefchip, nrext = Nr print 'Restoring original WCS values for',_img restoreCD(_img,...
Removed the update of 'TDDCORR' from PERFORM to PERFORMED so that this computation will always be performed if TDDCORR is set to PERFORM. WJH git-svn-id: <URL>
py
diff --git a/mingus/core/keys.py b/mingus/core/keys.py index <HASH>..<HASH> 100644 --- a/mingus/core/keys.py +++ b/mingus/core/keys.py @@ -157,3 +157,10 @@ class Key(object): self.signature = get_key_signature(self.key) + def __eq__(self, other): + if self.key == other.key: + return Tr...
Implementing __eq__ and __ne__ methods in Key.
py
diff --git a/rinoh/reference.py b/rinoh/reference.py index <HASH>..<HASH> 100644 --- a/rinoh/reference.py +++ b/rinoh/reference.py @@ -11,6 +11,7 @@ import re from .annotation import NamedDestinationLink, AnnotatedSpan from .attribute import Attribute, OptionSet from .flowable import Flowable, LabeledFlowable, Dummy...
Handle ReflowRequired when placing footnotes This seems to to the right thing...
py
diff --git a/py3270/__init__.py b/py3270/__init__.py index <HASH>..<HASH> 100644 --- a/py3270/__init__.py +++ b/py3270/__init__.py @@ -11,6 +11,14 @@ import warnings log = logging.getLogger(__name__) + +try: + BrokenPipeError +except NameError: + class BrokenPipeError(Exception): + pass + + """ ...
define BrokenPipeError if it is not defined (issue in Python 2) Fixes #4
py
diff --git a/salt/cloud/cli.py b/salt/cloud/cli.py index <HASH>..<HASH> 100644 --- a/salt/cloud/cli.py +++ b/salt/cloud/cli.py @@ -348,6 +348,6 @@ class SaltCloud(parsers.SaltCloudParser): msg.format(exc), # Show the traceback if the debug logging level is # enabled - e...
Use `exc_info_on_loglevel` instead of `exc_info`
py
diff --git a/tests/parser/features/test_assert.py b/tests/parser/features/test_assert.py index <HASH>..<HASH> 100644 --- a/tests/parser/features/test_assert.py +++ b/tests/parser/features/test_assert.py @@ -1,5 +1,6 @@ import pytest from eth_tester.exceptions import TransactionFailed +from eth_abi import decode_singl...
add test for revert reason data length
py
diff --git a/pcef/core/editor.py b/pcef/core/editor.py index <HASH>..<HASH> 100644 --- a/pcef/core/editor.py +++ b/pcef/core/editor.py @@ -195,7 +195,13 @@ class QCodeEdit(QtGui.QPlainTextEdit): with open(filePath, 'rb') as f: data = f.read() if not encoding: - encoding...
Add a try/except when opening a file in case the detectEncoding fail to find encoding (especially if it is overriden)
py
diff --git a/cascadenik/output.py b/cascadenik/output.py index <HASH>..<HASH> 100644 --- a/cascadenik/output.py +++ b/cascadenik/output.py @@ -8,7 +8,7 @@ except ImportError: import mapnik def safe_str(s): - return None if not s else str(s) + return None if not s else unicode(s).encode('utf-8') class M...
Fixed safe_str() to work with unicode
py
diff --git a/tests/test_wrapper.py b/tests/test_wrapper.py index <HASH>..<HASH> 100644 --- a/tests/test_wrapper.py +++ b/tests/test_wrapper.py @@ -54,3 +54,15 @@ def test_inventory_with_ssid(cicowrapper, inventory_mock): def test_inventory_with_nonexisting_ssid(cicowrapper, inventory_mock): inventory = cicowrappe...
add tests for node_get and node_done
py
diff --git a/vprof/code_heatmap.py b/vprof/code_heatmap.py index <HASH>..<HASH> 100644 --- a/vprof/code_heatmap.py +++ b/vprof/code_heatmap.py @@ -73,7 +73,7 @@ class _CodeHeatmapCalculator(object): if not prev_line: prev_line = line_stats else: - if not check_s...
Don't include code heatmap module source in code heatmap (#<I>).
py
diff --git a/cumulusci/robotframework/Salesforce.py b/cumulusci/robotframework/Salesforce.py index <HASH>..<HASH> 100644 --- a/cumulusci/robotframework/Salesforce.py +++ b/cumulusci/robotframework/Salesforce.py @@ -282,13 +282,14 @@ class Salesforce(object): def _populate_field(self, locator, value): self...
Add some additional sleep time around populating form fields
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages setup( name='gevent_openssl', - version='1.0', + version='1.1', description='A gevent wrapper for pyOpenSSL', author='Menno Finlay-Smits', a...
Bumped version to <I>
py
diff --git a/bot/action/core/command/__init__.py b/bot/action/core/command/__init__.py index <HASH>..<HASH> 100644 --- a/bot/action/core/command/__init__.py +++ b/bot/action/core/command/__init__.py @@ -13,14 +13,22 @@ COMMAND_LOG_TAG = FormattedText().normal("COMMAND") class CommandAction(IntermediateAction): - ...
Add is_personal param to CommandAction
py
diff --git a/goless/backends.py b/goless/backends.py index <HASH>..<HASH> 100644 --- a/goless/backends.py +++ b/goless/backends.py @@ -116,15 +116,14 @@ def _make_gevent(): import gevent.hub import gevent.queue import greenlet - deadlock_errtype = SystemError if _os.name == 'nt' else gevent.hub.LoopEx...
only gevent.hub.LoopExit should be reraised as a deadlock, even on Windows.
py
diff --git a/rootpy/plotting/core.py b/rootpy/plotting/core.py index <HASH>..<HASH> 100644 --- a/rootpy/plotting/core.py +++ b/rootpy/plotting/core.py @@ -288,18 +288,6 @@ class Plottable(object): For full documentation of accepted *color* arguments, see :class:`rootpy.plotting.style.Color`. ...
set color of all color attrs in decorate
py
diff --git a/src/ossos-pipeline/ossos/astrom.py b/src/ossos-pipeline/ossos/astrom.py index <HASH>..<HASH> 100644 --- a/src/ossos-pipeline/ossos/astrom.py +++ b/src/ossos-pipeline/ossos/astrom.py @@ -4,10 +4,12 @@ Reads and writes .astrom files. __author__ = "David Rusk <drusk@uvic.ca>" import os -from ossos.gui imp...
Correct <I>b<I>e<I>f<I>d<I>faf0bcefbfb8f<I>d0 to point to correct image location.
py
diff --git a/main.py b/main.py index <HASH>..<HASH> 100644 --- a/main.py +++ b/main.py @@ -38,7 +38,8 @@ def printCommandOptions () : undoOption = 'u : undo last move' printLegalMovesOption = 'l : show all legal moves' randomMoveOption = 'r : make a random move' - options = [undoOption, printLegalMove...
Added option to make an explicit move
py
diff --git a/picotui/widgets.py b/picotui/widgets.py index <HASH>..<HASH> 100644 --- a/picotui/widgets.py +++ b/picotui/widgets.py @@ -153,8 +153,8 @@ class WButton(Widget): def handle_mouse(self, x, y): if not self.disabled: - if self.finish_dialog: - return self + ...
widgets: WButton: Return self.finish_dialog on mouse click. For consistency with Enter key handling. (But Enter key handling happens in common dialog code. TODO: Make this consistent?)
py
diff --git a/aiogram/utils/markdown.py b/aiogram/utils/markdown.py index <HASH>..<HASH> 100644 --- a/aiogram/utils/markdown.py +++ b/aiogram/utils/markdown.py @@ -12,6 +12,7 @@ MD_SYMBOLS = ( ("<i>", "</i>"), ("<code>", "</code>"), ("<pre>", "</pre>"), + ('<span class="tg-spoiler">', "</span>"), ) ...
fix: add span to MD_SYMBOLS
py
diff --git a/ommprotocol/utils.py b/ommprotocol/utils.py index <HASH>..<HASH> 100644 --- a/ommprotocol/utils.py +++ b/ommprotocol/utils.py @@ -76,7 +76,7 @@ def timed_input(prompt, timeout=300.0): astring = None try: timer.start() - astring = raw_input(prompt) + astring = raw_input() ...
fix: user prompt on emergency recovery was printed twice
py
diff --git a/pysat/instruments/rocsat1_ivm.py b/pysat/instruments/rocsat1_ivm.py index <HASH>..<HASH> 100644 --- a/pysat/instruments/rocsat1_ivm.py +++ b/pysat/instruments/rocsat1_ivm.py @@ -41,7 +41,7 @@ name = 'ivm' tags = {'': ''} sat_ids = {'': ['']} _test_dates = {'': {'': dt.datetime(2002, 1, 1)}} - +_test_dow...
TST: turn off rocsat tests for now
py
diff --git a/chess/xboard.py b/chess/xboard.py index <HASH>..<HASH> 100644 --- a/chess/xboard.py +++ b/chess/xboard.py @@ -550,6 +550,29 @@ class Engine(object): command = self.command("result " + str(result)) self._queue_command(command, async_callback) + def pause(self, async_callback=None): + ...
Added pause/resume
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ import setuptools with open('README.txt') as readme_stream: long_description = readme_stream.read() -setuptools.setup( +setup_params = dict( name='librarypaste', use_hg_version=dict(increment='0....
Allow setup.py to be imported without invocation.
py
diff --git a/astropy_helpers/tests/test_git_helpers.py b/astropy_helpers/tests/test_git_helpers.py index <HASH>..<HASH> 100644 --- a/astropy_helpers/tests/test_git_helpers.py +++ b/astropy_helpers/tests/test_git_helpers.py @@ -42,3 +42,13 @@ def test_update_git_devstr(testpackage, capsys): m = _DEV_VERSION_RE.matc...
A further enhancement that enables coverage for most of astropy_helpers.git_helpers.update_git_devstr
py
diff --git a/jarn/mkrelease/scp.py b/jarn/mkrelease/scp.py index <HASH>..<HASH> 100644 --- a/jarn/mkrelease/scp.py +++ b/jarn/mkrelease/scp.py @@ -1,4 +1,5 @@ -from tempfile import NamedTemporaryFile +import tempfile +import tee from process import Process from exit import err_exit @@ -22,12 +23,14 @@ class SCP(obj...
Flush the cmdfile so it actually contains commands.
py
diff --git a/spacy/lang/tn/stop_words.py b/spacy/lang/tn/stop_words.py index <HASH>..<HASH> 100644 --- a/spacy/lang/tn/stop_words.py +++ b/spacy/lang/tn/stop_words.py @@ -1,8 +1,3 @@ -coding: utf8 - -from __future__ import unicode_literals - - # Stop words STOP_WORDS = set(""" ke gareng ga selekanyo tlhwatlhw...
Update stop_words.py I have deleted line 1 to 5 and the statement print(STOP_WORDS)
py
diff --git a/uptick/tools.py b/uptick/tools.py index <HASH>..<HASH> 100644 --- a/uptick/tools.py +++ b/uptick/tools.py @@ -65,3 +65,20 @@ def getbrainkeys(ctx, limit): next(wif) print_table(t) + + +@tools.command() +@click.argument("identifiers", nargs=-1) +def operation(identifiers): + from bitshare...
A tool to decode operation ids
py
diff --git a/djangoql/admin.py b/djangoql/admin.py index <HASH>..<HASH> 100644 --- a/djangoql/admin.py +++ b/djangoql/admin.py @@ -23,10 +23,10 @@ except ImportError: # Django 2.0 from django.urls import reverse try: - from django.conf.urls import re_path + from django.urls import re_path # Django >= 4....
prioritize the latest Django version in imports order
py
diff --git a/src/sos/__main__.py b/src/sos/__main__.py index <HASH>..<HASH> 100755 --- a/src/sos/__main__.py +++ b/src/sos/__main__.py @@ -1634,6 +1634,7 @@ def cmd_config(args, workflow_args): sys.exit(1) else: env.logger.error('Config file {} does not exist'.format(config_file))...
Error out after non-existing config file for command sos config --unset
py
diff --git a/tests/test_hdate.py b/tests/test_hdate.py index <HASH>..<HASH> 100644 --- a/tests/test_hdate.py +++ b/tests/test_hdate.py @@ -502,7 +502,7 @@ class TestHDateReading(object): mydate.gdate += tdelta print("Testing date: {} which is {} days after Rosh Hashana".format( mydate...
Fix test in case of shabbat rosh hashana
py
diff --git a/ndb/context.py b/ndb/context.py index <HASH>..<HASH> 100644 --- a/ndb/context.py +++ b/ndb/context.py @@ -301,6 +301,12 @@ class Context(object): else: key = ent._key if key in self._cache: + hit = self._cache[key] + if hit is not None and hit.key != key...
Second half of fix for issue #<I> (by myself).
py
diff --git a/jpype/_jvmfinder.py b/jpype/_jvmfinder.py index <HASH>..<HASH> 100644 --- a/jpype/_jvmfinder.py +++ b/jpype/_jvmfinder.py @@ -129,7 +129,10 @@ class JVMFinder(object): for method in self._methods: try: jvm = method() - self.check(jvm) + + ...
Fix bug in the check architecture command.
py
diff --git a/src/pytest_cov/plugin.py b/src/pytest_cov/plugin.py index <HASH>..<HASH> 100644 --- a/src/pytest_cov/plugin.py +++ b/src/pytest_cov/plugin.py @@ -235,7 +235,7 @@ class CovPlugin(object): message = 'Failed to generate report: %s\n' % exc session.config.pluginmanager.getplug...
Fix call to warnings.warn
py
diff --git a/pyquil/__init__.py b/pyquil/__init__.py index <HASH>..<HASH> 100644 --- a/pyquil/__init__.py +++ b/pyquil/__init__.py @@ -1,4 +1,4 @@ -__version__ = "2.0.0b7" +__version__ = "2.0.0b8.dev0" from pyquil.quil import Program from pyquil.api import list_quantum_computers, get_qc
Bump pyquil version to <I>b8.dev0
py
diff --git a/simuvex/__init__.py b/simuvex/__init__.py index <HASH>..<HASH> 100644 --- a/simuvex/__init__.py +++ b/simuvex/__init__.py @@ -28,7 +28,7 @@ from .engines.vex.irop import operations, all_operations, unsupported as unsuppo from .plugins import * from .s_errors import * from .s_action import * -from .s_pca...
removed import * to avoid simuvex.dpkt to be exported
py
diff --git a/satpy/readers/native_msg.py b/satpy/readers/native_msg.py index <HASH>..<HASH> 100644 --- a/satpy/readers/native_msg.py +++ b/satpy/readers/native_msg.py @@ -62,12 +62,12 @@ class NativeMSGFileHandler(BaseFileHandler): """ def __init__(self, filename, filename_info, filetype_info): + """Initial...
moved doc string as per pull request comments
py
diff --git a/saspy/sasstat.py b/saspy/sasstat.py index <HASH>..<HASH> 100644 --- a/saspy/sasstat.py +++ b/saspy/sasstat.py @@ -1,4 +1,5 @@ from IPython.core.display import HTML +import IPython.display as id #from saspy import pysas34 as sas import time import logging @@ -197,14 +198,14 @@ class SAS_results(object):...
push of the ALL method to print all artificats and update of demo notebook Former-commit-id: fec<I>a<I>a6e<I>ddf<I>b8f<I>de<I>ff<I>e<I>
py
diff --git a/yowsup/axolotl/store/sqlite/liteprekeystore.py b/yowsup/axolotl/store/sqlite/liteprekeystore.py index <HASH>..<HASH> 100644 --- a/yowsup/axolotl/store/sqlite/liteprekeystore.py +++ b/yowsup/axolotl/store/sqlite/liteprekeystore.py @@ -1,6 +1,9 @@ from axolotl.state.prekeystore import PreKeyStore from axol...
[fix] raise InvalidKeyId if no prekeyrecord Previously "Exception" was thrown and not handled anywhere. The correct InvalidKeyIdException is already caught and handled in Axolotl layers Refs #<I> No such prekeyRecord!
py
diff --git a/tests/unit/states/test_macdefaults.py b/tests/unit/states/test_macdefaults.py index <HASH>..<HASH> 100644 --- a/tests/unit/states/test_macdefaults.py +++ b/tests/unit/states/test_macdefaults.py @@ -1,12 +1,4 @@ -# -*- coding: utf-8 -*- - -# Import Python libs -from __future__ import absolute_import, print_...
Drop Py2 and six on tests/unit/states/test_macdefaults.py
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -167,12 +167,12 @@ is_build_step = bool({'build', 'install', 'develop', protos_built = bool(_compiled_protos()) and 'clean' not in sys.argv if 'build_proto' in sys.argv or (is_build_step and not protos_built): - setup_r...
Fix setup.py failure caused by PyPI yanked package: grpcio=<I> (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ setup( install_requires=[ 'jupyterhub>=0.8', 'pyYAML', - 'kubernetes>=7', + 'kubernetes==7.0.0', 'escapism', 'jinja2', 'async_generator>=1.8',
Ping kubernetes version to <I> <I> alpha has breaking changes, and our version selector was including <I>alpha. Breaking changes listed here: <URL>
py
diff --git a/src/wa_kat/templates/static/js/Lib/site-packages/components/author_picker.py b/src/wa_kat/templates/static/js/Lib/site-packages/components/author_picker.py index <HASH>..<HASH> 100755 --- a/src/wa_kat/templates/static/js/Lib/site-packages/components/author_picker.py +++ b/src/wa_kat/templates/static/js/Lib...
#<I>: Added corporation/person indicator to the output.
py
diff --git a/legit/scm.py b/legit/scm.py index <HASH>..<HASH> 100644 --- a/legit/scm.py +++ b/legit/scm.py @@ -71,7 +71,7 @@ def unstash_index(sync=False, branch=None): repo_check() stash_list = repo.git.execute([git, - 'stash', 'list', '--date=default']) + 'stash', 'list']) if branch i...
Fix broken stash index by remove date info Fixed an issue where stash index data would get broken by extra date information.
py
diff --git a/yModel/mongo.py b/yModel/mongo.py index <HASH>..<HASH> 100644 --- a/yModel/mongo.py +++ b/yModel/mongo.py @@ -154,7 +154,7 @@ class MongoTree(MongoSchema, Tree): try: await super().create() except DuplicateKeyError: - raise URIAlreadyExists(self.slugable if hasattr(self, "slugable") e...
Provide the complete url of the offender
py
diff --git a/hearthstone/enums.py b/hearthstone/enums.py index <HASH>..<HASH> 100644 --- a/hearthstone/enums.py +++ b/hearthstone/enums.py @@ -823,7 +823,7 @@ class Locale(IntEnum): @property def unused(self): - return self in (self.UNKNOWN, self.enGB, self.ptPT) + return self.name in ("UNKNOWN", "enGB", "ptPT"...
enums: Check for .name attribute in Locale.unused The previous method worked only on Python <I>. The new method works with Python <I> as well.
py
diff --git a/bt/algos.py b/bt/algos.py index <HASH>..<HASH> 100644 --- a/bt/algos.py +++ b/bt/algos.py @@ -453,7 +453,7 @@ class RebalanceOverTime(Algo): # scale delta relative to # of days left and set that as the new # target for t in self._weights: - curr = targe...
fixed bug w/ child was missing
py
diff --git a/datatableview/columns.py b/datatableview/columns.py index <HASH>..<HASH> 100644 --- a/datatableview/columns.py +++ b/datatableview/columns.py @@ -176,7 +176,11 @@ class Column(six.with_metaclass(ColumnMetaclass)): return value - def get_processor_kwargs(self, **kwargs): + def get_process...
Forward the 'localize' value to processor
py
diff --git a/python/thunder/rdds/imgblocks/blocks.py b/python/thunder/rdds/imgblocks/blocks.py index <HASH>..<HASH> 100644 --- a/python/thunder/rdds/imgblocks/blocks.py +++ b/python/thunder/rdds/imgblocks/blocks.py @@ -181,13 +181,13 @@ class SimpleBlocks(Blocks): return temporalIdx, ary - def toSeries(...
add Series default cast to float back into image to series shuffle conversion
py
diff --git a/bt/algos.py b/bt/algos.py index <HASH>..<HASH> 100644 --- a/bt/algos.py +++ b/bt/algos.py @@ -401,12 +401,13 @@ class SelectHasData(Algo): """ def __init__(self, lookback=pd.DateOffset(months=3), - min_count=None): + min_count=None, include_no_data=False): ...
SelectHasData() now has include_no_data argument to avoid zero and NaN prices at target.now
py
diff --git a/python/thunder/rdds/timeseries.py b/python/thunder/rdds/timeseries.py index <HASH>..<HASH> 100644 --- a/python/thunder/rdds/timeseries.py +++ b/python/thunder/rdds/timeseries.py @@ -304,11 +304,14 @@ class TimeSeries(Series): left, right = (window/2 - 1, window/2) n = len(se...
fixed a minor error in 'window-fast' normalization method that came up during testing
py
diff --git a/gseapy/parser.py b/gseapy/parser.py index <HASH>..<HASH> 100644 --- a/gseapy/parser.py +++ b/gseapy/parser.py @@ -102,7 +102,7 @@ def gsea_gmt_parser(gmt, min_size = 3, max_size = 1000, gene_list=None): #filtering dict - if sys.version_info[0] == 3 : + if sys.version_info[0] >= 3 : ...
compatible with py version >= <I>
py
diff --git a/tests/test_lexer.py b/tests/test_lexer.py index <HASH>..<HASH> 100644 --- a/tests/test_lexer.py +++ b/tests/test_lexer.py @@ -237,7 +237,8 @@ class TestLexer(unittest.TestCase): def test_numeric(self): pairs = (('Number: +79', ['Number:', '+79']), - ('Binary: +2#0101#', ['Bi...
Test shows that we aren't parsing scientific notation properly.
py
diff --git a/deimos/docker.py b/deimos/docker.py index <HASH>..<HASH> 100644 --- a/deimos/docker.py +++ b/deimos/docker.py @@ -21,8 +21,10 @@ def run(options, image, command=[], env={}, cpus=None, mems=None, ports=[]): port_pairings = list(itertools.izip_longest(ports, inner_ports(image))) log.info("P...
Expose extra Mesos ports if they are available. They should show up in $PORT when launch with Marathon.
py
diff --git a/pyqode/core/__init__.py b/pyqode/core/__init__.py index <HASH>..<HASH> 100644 --- a/pyqode/core/__init__.py +++ b/pyqode/core/__init__.py @@ -23,4 +23,4 @@ pyqode is made up of the following top level packages/modules: """ -__version__ = '2.0.0-beta2' +__version__ = '2.0.0-beta3'
oops this is actually the third beta release
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -70,11 +70,19 @@ setup( keywords='open-banking sepa bunq finance api payment', # Packages of the project. "find_packages()" lists all the project packages. - packages=find_packages(exclude=['contrib', 'docs', 't...
feature/add_internal_notification_filters: Updated setup.py with latest dependency versions.
py
diff --git a/python/ray/_private/services.py b/python/ray/_private/services.py index <HASH>..<HASH> 100644 --- a/python/ray/_private/services.py +++ b/python/ray/_private/services.py @@ -170,6 +170,10 @@ def find_redis_address(address=None): The --redis-address here is what is now called the --address, but it ...
[CLI] Fix ray commands when RAY_ADDRESS used (#<I>) * [CLI] Fix ray commands when RAY_ADDRESS used * erics suggestion
py
diff --git a/astroplan/constraints.py b/astroplan/constraints.py index <HASH>..<HASH> 100644 --- a/astroplan/constraints.py +++ b/astroplan/constraints.py @@ -192,15 +192,15 @@ class AtNight(Constraint): @classmethod def twilight_civil(cls, **kwargs): - cls(max_solar_altitude=-6*u.deg, **kwargs) + ...
Somehow forgot the returns in the AtNight class methods
py
diff --git a/symfit/core/fit.py b/symfit/core/fit.py index <HASH>..<HASH> 100644 --- a/symfit/core/fit.py +++ b/symfit/core/fit.py @@ -670,7 +670,7 @@ class GradientModel(CallableModel, BaseGradientModel): """ eval_jac_dict = self.jacobian_model(*args, **kwargs)._asdict() # Take zero for comp...
Updated shaping for hessians and jacobians
py
diff --git a/mythril/analysis/modules/integer.py b/mythril/analysis/modules/integer.py index <HASH>..<HASH> 100644 --- a/mythril/analysis/modules/integer.py +++ b/mythril/analysis/modules/integer.py @@ -2,13 +2,12 @@ underflows.""" from math import log2, ceil -from typing import cast, List, Dict, Set +from typing i...
Handle the case for bool (#<I>)
py
diff --git a/entei.py b/entei.py index <HASH>..<HASH> 100755 --- a/entei.py +++ b/entei.py @@ -133,6 +133,9 @@ def tokenize(template): else: template.seek(template.tell() - (len(until) + 1)) + elif tag_type in ['variable', 'no escape']: + is_standalone = False +...
Fixed variables being registered as standalones I was never setting is_standalone to false if the tag was a variable or a no html escape tag
py
diff --git a/pygccxml/parser/linker.py b/pygccxml/parser/linker.py index <HASH>..<HASH> 100644 --- a/pygccxml/parser/linker.py +++ b/pygccxml/parser/linker.py @@ -100,14 +100,16 @@ class linker_t( decl_visitor_t, type_visitor_t, object ): #GCC-XML sometimes generates constructors with names that does not match...
Fixing the bug reported by Matthias.Name of constructors is set properly now.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ with open("README.md", "r") as fh: setup( name='django-cra-helper', - version='1.2.3', + version='2.0.0', description='The missing piece of the Django + React puzzle', long_description=lo...
Bump package version to <I>
py
diff --git a/stanza/models/classifier.py b/stanza/models/classifier.py index <HASH>..<HASH> 100644 --- a/stanza/models/classifier.py +++ b/stanza/models/classifier.py @@ -287,7 +287,7 @@ def confusion_to_macro_f1(confusion): fp = 0 for k2 in keys: if k == k2: - tp = confusi...
Fix an error when a class is never correctly guessed :/
py
diff --git a/spyder/widgets/editor.py b/spyder/widgets/editor.py index <HASH>..<HASH> 100644 --- a/spyder/widgets/editor.py +++ b/spyder/widgets/editor.py @@ -358,7 +358,7 @@ class TabSwitcherWidget(QListWidget): for index in reversed(self.stack_history): text = self.tabs.tabText(index) ...
Editor: Use TextFileIcon for the tab switcher This is to have the same icons in the file and tab switchers.
py
diff --git a/test/test_execute.py b/test/test_execute.py index <HASH>..<HASH> 100644 --- a/test/test_execute.py +++ b/test/test_execute.py @@ -1233,7 +1233,32 @@ depends: "a_2" with open('a_1') as a1, open('a_2') as a2: self.assertEqual(a1.read(), a2.read()) + def testDependsAuxiAndSingleStep...
Add a test for single-step workflow triggered by auxiliary step
py
diff --git a/tohu/cloning.py b/tohu/cloning.py index <HASH>..<HASH> 100644 --- a/tohu/cloning.py +++ b/tohu/cloning.py @@ -75,12 +75,24 @@ def attach_make_clone_method(cls): def make_clone(self): c = ClonedGenerator(parent=self) - self._dependent_generators.append(c) + self.register_clone(...
Register clone via publicly exposed method (which can be overwritten by subclasses if needed)
py