diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/discord/backoff.py b/discord/backoff.py index <HASH>..<HASH> 100644 --- a/discord/backoff.py +++ b/discord/backoff.py @@ -61,7 +61,7 @@ class ExponentialBackoff: rand = random.Random() rand.seed() - self._randfunc = rand.rand_range if integral else rand.uniform + self._ran...
Fixed ExponentialBackoff not working when integral
py
diff --git a/salt/states/archive.py b/salt/states/archive.py index <HASH>..<HASH> 100644 --- a/salt/states/archive.py +++ b/salt/states/archive.py @@ -664,21 +664,6 @@ def extracted(name, # Neither was passed, default is True keep_source = True - if 'keep_source' in kwargs and 'keep' in kwargs: -...
Removing redundant code which is prevening keep & keep_source from being set.
py
diff --git a/pykube/rolling_updater.py b/pykube/rolling_updater.py index <HASH>..<HASH> 100644 --- a/pykube/rolling_updater.py +++ b/pykube/rolling_updater.py @@ -19,15 +19,14 @@ class RollingUpdater(object): self.max_surge = kwargs.get("max_surge", 1) def update(self): - if self.new_rc.exists():...
Fixed bug recently introduced in RollingUpdater
py
diff --git a/pyrogram/crypto/ige.py b/pyrogram/crypto/ige.py index <HASH>..<HASH> 100644 --- a/pyrogram/crypto/ige.py +++ b/pyrogram/crypto/ige.py @@ -16,10 +16,7 @@ # You should have received a copy of the GNU Lesser General Public License # along with Pyrogram. If not, see <http://www.gnu.org/licenses/>. -try: -...
Remove try..except block, now pyaes is made available during setup
py
diff --git a/tornado/iostream.py b/tornado/iostream.py index <HASH>..<HASH> 100644 --- a/tornado/iostream.py +++ b/tornado/iostream.py @@ -59,7 +59,8 @@ _ERRNO_WOULDBLOCK = (errno.EWOULDBLOCK, errno.EAGAIN) # These errnos indicate that a connection has been abruptly terminated. # They should be caught and handled l...
Add ETIMEDOUT to the list of relatively benign unclean-close errnos.
py
diff --git a/salt/fileserver/gitfs.py b/salt/fileserver/gitfs.py index <HASH>..<HASH> 100644 --- a/salt/fileserver/gitfs.py +++ b/salt/fileserver/gitfs.py @@ -130,6 +130,7 @@ def update(): # Found it, make sure it has the correct ref if not branch.tracking_branch() is r...
Forgot to set the found flag!
py
diff --git a/vtkInterface/plotting.py b/vtkInterface/plotting.py index <HASH>..<HASH> 100755 --- a/vtkInterface/plotting.py +++ b/vtkInterface/plotting.py @@ -3,17 +3,17 @@ vtk plotting module """ import colorsys - -import vtk -from vtk.util import numpy_support as VN import numpy as np - import vtkInterf...
allowed to pass on loading vtk for autodoc for plotting
py
diff --git a/treeherder/webapp/api/logslice.py b/treeherder/webapp/api/logslice.py index <HASH>..<HASH> 100644 --- a/treeherder/webapp/api/logslice.py +++ b/treeherder/webapp/api/logslice.py @@ -63,7 +63,8 @@ class LogSliceView(viewsets.ViewSet): logs = jm.get_log_references(job_id) try: - ...
Bug <I> - Adds a check for old logs till they're expunged from the db. Till all the old data is expunged from the db, this should act as a check for them. New logs ingested use the new name. This should be removed once all the old data is removed from the db in a few months, which should be around 4 months.
py
diff --git a/viper/parser/expr.py b/viper/parser/expr.py index <HASH>..<HASH> 100644 --- a/viper/parser/expr.py +++ b/viper/parser/expr.py @@ -17,6 +17,7 @@ from .parser_utils import ( ) from viper.utils import ( MemoryPositions, + SizeLimits, bytes_to_int, string_to_bytes, DECIMAL_DIVISOR, @@ ...
use clamp constants for literals as well
py
diff --git a/multiqc/__init__.py b/multiqc/__init__.py index <HASH>..<HASH> 100644 --- a/multiqc/__init__.py +++ b/multiqc/__init__.py @@ -77,8 +77,7 @@ class BaseMultiqcModule(object): name = p.get('name', k+1) ylab = p.get('ylab', name) html += '<button class="btn bt...
Python 3 doesn't like my whitespace
py
diff --git a/pylint_django/common.py b/pylint_django/common.py index <HASH>..<HASH> 100644 --- a/pylint_django/common.py +++ b/pylint_django/common.py @@ -1,12 +1,20 @@ from astroid import MANAGER from astroid.builder import AstroidBuilder from astroid import nodes +from pylint.checkers.base import NameChecker +impo...
Adding some additional configuration to prevent common Django variable names and package names from throwing up warnings
py
diff --git a/deployutils/crypt.py b/deployutils/crypt.py index <HASH>..<HASH> 100644 --- a/deployutils/crypt.py +++ b/deployutils/crypt.py @@ -50,6 +50,11 @@ class JSONEncoder(json.JSONEncoder): return obj.isoformat() if isinstance(obj, decimal.Decimal): return float(obj) + if ...
prevents exception-with-exception due to PosixPath When we log an exception as a JSON event, Py<I>/Django<I> will describe part of the context using `PosixPath` objects. We aggressively encode all objects which are not built-in types as `str` to prevent unexpected exception-with-exception which would result in the ori...
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ long_description=open('README.rst', 'r').read() setup( name='ansible-modules-hashivault', - version='3.8.1', + version='3.8.2', description='Ansible Modules for Hashicorp Vault', long_des...
Update seal/unseal release
py
diff --git a/green/cmdline.py b/green/cmdline.py index <HASH>..<HASH> 100644 --- a/green/cmdline.py +++ b/green/cmdline.py @@ -36,7 +36,7 @@ def main(testing=False): if args.debug: green.output.debug_level = args.debug - stream = GreenStream(sys.stdout) + stream = GreenStream(sys.stdout, disable_w...
Added disable_windows arg to the GreenStream constuctor in cmdline.main(). + This made things actually work when the cli arg was present. Horray!
py
diff --git a/tests/test_analysis.py b/tests/test_analysis.py index <HASH>..<HASH> 100644 --- a/tests/test_analysis.py +++ b/tests/test_analysis.py @@ -98,8 +98,8 @@ class EncodingTest(unittest.TestCase): test_path = self._test_path(encoding) with open(test_path, 'w', encoding=encoding) as test...
Activated tests for all encodings in list.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,7 @@ REQUIRES = [ 'six >= 1.8.0', ] -with open('README', 'r') as f: +with open('README.md', 'r') as f: README = f.read() with open('HISTORY', 'r') as f:
Updating setup.py for markdown
py
diff --git a/scripts/edenise.py b/scripts/edenise.py index <HASH>..<HASH> 100755 --- a/scripts/edenise.py +++ b/scripts/edenise.py @@ -3,7 +3,7 @@ from configparser import ConfigParser from sys import argv -from autofit.tools import edenise +from autoeden import edenise def main( @@ -24,7 +24,7 @@ def main( ...
moved eden to PYAutoEden
py
diff --git a/lmj/tnn/feedforward.py b/lmj/tnn/feedforward.py index <HASH>..<HASH> 100644 --- a/lmj/tnn/feedforward.py +++ b/lmj/tnn/feedforward.py @@ -60,7 +60,7 @@ class Network(object): count = 0 for i, (a, b) in enumerate(zip(layers[:-2], layers[1:-1])): count += (1 + a) * b - ...
Change numbering on weights vs layers to be a little more natural.
py
diff --git a/config.py b/config.py index <HASH>..<HASH> 100644 --- a/config.py +++ b/config.py @@ -110,11 +110,10 @@ The following environment variables are used : * PYLINTHOME path to the directory where data of persistent run will be stored. If ...
config: kill some text in environment section of the man page
py
diff --git a/examples/google_spreadsheet.py b/examples/google_spreadsheet.py index <HASH>..<HASH> 100755 --- a/examples/google_spreadsheet.py +++ b/examples/google_spreadsheet.py @@ -81,7 +81,7 @@ FREQUENCY_SECONDS = 30 def login_open_sheet(oauth_key_file, spreadsheet): """Connect to Google Docs spreadsheet ...
Update Google Drive API Scope - Resolves #<I> in original project
py
diff --git a/openstack_dashboard/api/cinder.py b/openstack_dashboard/api/cinder.py index <HASH>..<HASH> 100644 --- a/openstack_dashboard/api/cinder.py +++ b/openstack_dashboard/api/cinder.py @@ -65,7 +65,10 @@ def volume_list(request, search_opts=None): To see all volumes in the cloud as an admin you can pass in a...
Catch another breakage, when cinder is unavailable During review of backporting avoid cinder calls, this has been discovered and should be applied to master branch. Fixes bug <I> Change-Id: I<I>c7fabd<I>ed<I>fc9f<I>ec<I>b2c<I>dd7c9b9ef
py
diff --git a/salt/utils/network.py b/salt/utils/network.py index <HASH>..<HASH> 100644 --- a/salt/utils/network.py +++ b/salt/utils/network.py @@ -1945,7 +1945,7 @@ def parse_host_port(host_port): _s_ = host_port[:] if _s_[0] == "[": - if "]" in host_port[0]: + if "]" in host_port: ...
avoid TypeError by not constructing an ip_address from an ip_address
py
diff --git a/test.py b/test.py index <HASH>..<HASH> 100755 --- a/test.py +++ b/test.py @@ -3427,10 +3427,14 @@ class SvgTestCase(unittest.TestCase): self.assertIn("<circle", svg) self.assertNotIn("<line", svg) - svg = chess.svg.board(arrows=[(chess.A1, chess.H8)]) + svg = chess.svg.boa...
Better chess.svg test coverage
py
diff --git a/pyqode/core/widgets/splittable_tab_widget.py b/pyqode/core/widgets/splittable_tab_widget.py index <HASH>..<HASH> 100644 --- a/pyqode/core/widgets/splittable_tab_widget.py +++ b/pyqode/core/widgets/splittable_tab_widget.py @@ -1048,10 +1048,8 @@ class SplittableCodeEditTabWidget(SplittableTabWidget): ...
Fix tab not renamed after save_as
py
diff --git a/internetarchive/files.py b/internetarchive/files.py index <HASH>..<HASH> 100644 --- a/internetarchive/files.py +++ b/internetarchive/files.py @@ -351,7 +351,7 @@ class File(BaseFile): url = '{0}//s3.us.archive.org/{1}/{2}'.format(self.item.session.protocol, ...
more copy/delete encoding fixes
py
diff --git a/admin_interface/templatetags/admin_interface_tags.py b/admin_interface/templatetags/admin_interface_tags.py index <HASH>..<HASH> 100644 --- a/admin_interface/templatetags/admin_interface_tags.py +++ b/admin_interface/templatetags/admin_interface_tags.py @@ -1,7 +1,8 @@ # -*- coding: utf-8 -*- -import re -...
Sorted imports. [ci skip]
py
diff --git a/openquake/commands/webui.py b/openquake/commands/webui.py index <HASH>..<HASH> 100644 --- a/openquake/commands/webui.py +++ b/openquake/commands/webui.py @@ -45,7 +45,7 @@ def webui(cmd, hostport='127.0.0.1:8800'): subprocess.Popen([sys.executable, '-m', 'openquake.server.dbserver']) coun...
Reduce the timeout to 5 secs Former-commit-id: <I>dde<I>efe<I>eadf4f7a3f<I>b<I>aa<I>
py
diff --git a/neo/SmartContract/ApplicationEngine.py b/neo/SmartContract/ApplicationEngine.py index <HASH>..<HASH> 100644 --- a/neo/SmartContract/ApplicationEngine.py +++ b/neo/SmartContract/ApplicationEngine.py @@ -298,7 +298,7 @@ class ApplicationEngine(ExecutionEngine): item = self.Evaluati...
Update ApplicationEngine.py Correct `isinstance` to look for `Array`.
py
diff --git a/stanza/_version.py b/stanza/_version.py index <HASH>..<HASH> 100644 --- a/stanza/_version.py +++ b/stanza/_version.py @@ -1,4 +1,4 @@ """ Single source of truth for version number """ -__version__ = "1.3.1" -__resources_version__ = '1.3.1' +__version__ = "1.4.0" +__resources_version__ = '1.4.0'
Update version to <I> instead of <I> - enough fancy changes such as adding Bert
py
diff --git a/cellpy/utils/batch.py b/cellpy/utils/batch.py index <HASH>..<HASH> 100644 --- a/cellpy/utils/batch.py +++ b/cellpy/utils/batch.py @@ -501,6 +501,34 @@ def main(): print("---FINISHED---") +def process_batch(*args, **kwargs): + default_log_level = kwargs.pop("default_log_level", "INFO") + if l...
add the function process_batch to the batch utils (that runs all the batch processes in one go instead of step by step in a notebook)
py
diff --git a/salt/master.py b/salt/master.py index <HASH>..<HASH> 100644 --- a/salt/master.py +++ b/salt/master.py @@ -340,6 +340,8 @@ class Publisher(multiprocessing.Process): except AttributeError: pub_sock.setsockopt(zmq.SNDHWM, 1) pub_sock.setsockopt(zmq.RCVHWM, 1) + if has...
Add ipv6 support to master
py
diff --git a/icalevents/icalparser.py b/icalevents/icalparser.py index <HASH>..<HASH> 100644 --- a/icalevents/icalparser.py +++ b/icalevents/icalparser.py @@ -306,9 +306,9 @@ def create_recurring_events(start, end, component): if freq == 'DAILY': delta = timedelta(days=1) elif freq == 'WE...
Fixed trying to make a set from None
py
diff --git a/vasppy/poscar.py b/vasppy/poscar.py index <HASH>..<HASH> 100644 --- a/vasppy/poscar.py +++ b/vasppy/poscar.py @@ -140,7 +140,7 @@ class Poscar: cell_lengths = self.cell.lengths() * self.scaling / unit_scaling print( "T\nF\nF\nF" ) for row in self.cell_coordinates(): - ...
Fixed Angstrom to Bohr scaling in Poscar PIMAIM output (positions)
py
diff --git a/spyder/plugins/completion/languageserver/client.py b/spyder/plugins/completion/languageserver/client.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/completion/languageserver/client.py +++ b/spyder/plugins/completion/languageserver/client.py @@ -19,7 +19,6 @@ import signal import subprocess import sy...
LSP: Remove warning about localhost usage This was fixed already by not using localhost but <I> instead
py
diff --git a/djangosaml2/views.py b/djangosaml2/views.py index <HASH>..<HASH> 100644 --- a/djangosaml2/views.py +++ b/djangosaml2/views.py @@ -183,18 +183,15 @@ def logout_service(request, config_loader=config_settings_loader): raise Http404('No SAMLResponse or SAMLRequest parameter found') -def metadata(r...
Don't use settings that are already inside the saml conf
py
diff --git a/src/accounts/models.py b/src/accounts/models.py index <HASH>..<HASH> 100644 --- a/src/accounts/models.py +++ b/src/accounts/models.py @@ -21,18 +21,6 @@ class User(AbstractUser): verification_hash = models.CharField(max_length=32, null=True, blank=True) modified = models.DateTimeField(auto_now=Tr...
Removing more unnecessary things from user
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,12 +2,12 @@ from setuptools import setup, find_packages setup( name = "SimpleDBMigrate", - version = "1.0", + version = "1.1", packages = find_packages("src"), package_dir = {"":"src"}, scripts ...
#<I>: Declaring the correct mysql-python version number and package name.
py
diff --git a/dipper/sources/FlyBase.py b/dipper/sources/FlyBase.py index <HASH>..<HASH> 100644 --- a/dipper/sources/FlyBase.py +++ b/dipper/sources/FlyBase.py @@ -1673,7 +1673,7 @@ class FlyBase(PostgreSQLSource): logger.error( "The gene_id for object_id is ...
local & remote are not in sync
py
diff --git a/O365/utils/attachment.py b/O365/utils/attachment.py index <HASH>..<HASH> 100644 --- a/O365/utils/attachment.py +++ b/O365/utils/attachment.py @@ -1,6 +1,7 @@ import base64 import logging from pathlib import Path +from io import BytesIO from .utils import ApiComponent @@ -128,9 +129,15 @@ class Base...
Enhancement #<I> Attachment: You can now add in memory files to attachments. Pass a tuple (BytesIO instance, 'file name.png') Attachment: The size property is now updated when saving the file to disk.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -7,7 +7,6 @@ from setuptools import setup, find_packages setup( name="django-cumulus", version=__import__("cumulus").get_version().replace(" ", "-"), - url="http://django-cumulus.readthedocs.org/", packages=...
use github as the package url
py
diff --git a/figment/zone.py b/figment/zone.py index <HASH>..<HASH> 100644 --- a/figment/zone.py +++ b/figment/zone.py @@ -93,8 +93,10 @@ class Zone(object): self.config = config - # TODO: Read redis connection params from config - self.redis = StrictRedis() + self.redis = StrictRedis(...
Read Redis connection info from world config
py
diff --git a/peerplaysbase/chains.py b/peerplaysbase/chains.py index <HASH>..<HASH> 100644 --- a/peerplaysbase/chains.py +++ b/peerplaysbase/chains.py @@ -15,4 +15,9 @@ known_chains = { "chain_id": "be6b79295e728406cbb7494bcb626e62ad278fa4018699cf8f75739f4c1a81fd", "core_symbol": "PPYTEST", "...
Added Charlie to the list of known chains
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -30,6 +30,7 @@ else: exec(open("cyipopt/version.py").read()) PACKAGE_NAME = "cyipopt" +DEPRICATED_PACKAGE_NAME = "ipopt" VERSION = __version__ DESCRIPTION = "A Cython wrapper to the IPOPT optimization package" if si...
Add depricated 'ipopt' package name to setup
py
diff --git a/roadmaptools/inout.py b/roadmaptools/inout.py index <HASH>..<HASH> 100644 --- a/roadmaptools/inout.py +++ b/roadmaptools/inout.py @@ -19,10 +19,11 @@ import csv # import gpxpy # import gpxpy.gpx import gpx_lite -from gpx_lite.gpx import GPX +import pandas from typing import Iterable, Callable, Dict, ...
new method for loading pandas dataframe from csv
py
diff --git a/anyconfig/backend/xml.py b/anyconfig/backend/xml.py index <HASH>..<HASH> 100644 --- a/anyconfig/backend/xml.py +++ b/anyconfig/backend/xml.py @@ -238,7 +238,7 @@ class Parser(anyconfig.backend.base.ToStreamDumper): :return: Dict-like object holding config parameters """ - root = ...
fix: simplify the code to load XML from string
py
diff --git a/jsontableschema/types.py b/jsontableschema/types.py index <HASH>..<HASH> 100644 --- a/jsontableschema/types.py +++ b/jsontableschema/types.py @@ -57,7 +57,7 @@ class JTSType(constraints.NoConstraintsSupportedMixin): required = self._get_constraint_value('required') if required is not None...
Not required and value is none, return None. Instead of returning True, return None, which is like casting the none value.
py
diff --git a/fireplace/card.py b/fireplace/card.py index <HASH>..<HASH> 100644 --- a/fireplace/card.py +++ b/fireplace/card.py @@ -215,6 +215,11 @@ class PlayableCard(BaseCard): def slots(self): return self.buffs + def _setZone(self, zone): + super()._setZone(zone) + if zone == Zone.HAND: + self.clearBuffs()...
Only clear buffs when moving cards to Zone.HAND This is somewhat temporary until we can clean it up but we don't actually need (or, currently, want) to remove buffs when cards are destroyed due to things such as Soul of the Forest.
py
diff --git a/pmag.py b/pmag.py index <HASH>..<HASH> 100755 --- a/pmag.py +++ b/pmag.py @@ -4916,6 +4916,7 @@ def sortmwarai(datablock,exp_type): # def doigrf(long,lat,alt,date,**kwargs): """ + called with doigrf(long,lat,alt,date,**kwargs) # calculates the interpolated (<2010) or extrapolated (>201...
modified: pmag.py
py
diff --git a/instabot/api/api_video.py b/instabot/api/api_video.py index <HASH>..<HASH> 100644 --- a/instabot/api/api_video.py +++ b/instabot/api/api_video.py @@ -321,7 +321,7 @@ def resize_video(fname, thumbnail=None): bottom = h vid = vid.crop(x1=left, y1=top, x2=right, y2=bottom) ...
Fixing incorrect resizing for correct size video
py
diff --git a/crosscat/tests/geweke_on_schemas.py b/crosscat/tests/geweke_on_schemas.py index <HASH>..<HASH> 100644 --- a/crosscat/tests/geweke_on_schemas.py +++ b/crosscat/tests/geweke_on_schemas.py @@ -117,8 +117,10 @@ if __name__ == '__main__': if do_plots: - results = er.get_results(er.frame).values(...
pre-empt memory issue with plotting read results in one at a time instead of in bulk
py
diff --git a/rw/plugins/mail_local.py b/rw/plugins/mail_local.py index <HASH>..<HASH> 100644 --- a/rw/plugins/mail_local.py +++ b/rw/plugins/mail_local.py @@ -73,7 +73,6 @@ class Handler(RequestHandler): html = unicode(mail_part.get_payload(decode=True), str(charset), "ignore") self.finish(htm...
Added function to return unread messages as json.
py
diff --git a/nanoget/version.py b/nanoget/version.py index <HASH>..<HASH> 100644 --- a/nanoget/version.py +++ b/nanoget/version.py @@ -1 +1 @@ -__version__ = "0.11.0" +__version__ = "0.11.1"
bumping version to <I>
py
diff --git a/spyderlib/widgets/sourcecode/base.py b/spyderlib/widgets/sourcecode/base.py index <HASH>..<HASH> 100644 --- a/spyderlib/widgets/sourcecode/base.py +++ b/spyderlib/widgets/sourcecode/base.py @@ -191,14 +191,19 @@ class TextEditBaseWidget(QPlainTextEdit): self.indent_chars = " "*4 ...
(Fixes Issue <I>) When Console/Editor dockwidget is undocked, code completion's combo box is hidden behind console/editor window
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- + """Setup module for the PyBEL package""" import codecs # To use a consistent encoding
Add encoding to setup [skip ci]
py
diff --git a/mutagen/apev2.py b/mutagen/apev2.py index <HASH>..<HASH> 100644 --- a/mutagen/apev2.py +++ b/mutagen/apev2.py @@ -16,10 +16,11 @@ also have APEv2 tags, but this can cause problems with many MP3 decoders and taggers. APEv2 tags, like Vorbis comments, are freeform key=value pairs. APEv2 -keys can be any ...
Fix APEv2 key docs.
py
diff --git a/vespa/kepler.py b/vespa/kepler.py index <HASH>..<HASH> 100644 --- a/vespa/kepler.py +++ b/vespa/kepler.py @@ -53,7 +53,8 @@ WEAKSECDATA.index = WEAKSECDATA['KOI'].apply(ku.koiname) MAXAV = pd.read_table(os.path.join(DATAFOLDER, 'koi_maxAV.txt'), - ...
re-implement MAXAV index
py
diff --git a/searx/engines/google.py b/searx/engines/google.py index <HASH>..<HASH> 100644 --- a/searx/engines/google.py +++ b/searx/engines/google.py @@ -11,6 +11,7 @@ from urllib import urlencode from urlparse import urlparse, parse_qsl from lxml import html +from searx.poolrequests import get from searx.engines....
[fix] google engine: depending on the IP of the searx instance, each searx request where making two HTTP requests (see <URL>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ def main(): description = "Tools for manipulating biological data, particularly multiple sequence alignments", url = "http://bitbucket.org/james_taylor/bx-python/wiki/Home", ...
Fix typo in classifiers list name in setup.py pointed out by Bob Harris.
py
diff --git a/src/sentry_plugins/slack/plugin.py b/src/sentry_plugins/slack/plugin.py index <HASH>..<HASH> 100644 --- a/src/sentry_plugins/slack/plugin.py +++ b/src/sentry_plugins/slack/plugin.py @@ -195,13 +195,15 @@ class SlackPlugin(CorePluginMixin, notify.NotificationPlugin): # Make sure it's an abs...
fix(slack): Correctly encode rules field (#<I>)
py
diff --git a/llvmlite/tests/test_binding.py b/llvmlite/tests/test_binding.py index <HASH>..<HASH> 100644 --- a/llvmlite/tests/test_binding.py +++ b/llvmlite/tests/test_binding.py @@ -398,7 +398,7 @@ class TestMisc(BaseTest): def test_version(self): major, minor, patch = llvm.llvm_version_info # o...
fix LLVM version in test too As title
py
diff --git a/websocket/_logging.py b/websocket/_logging.py index <HASH>..<HASH> 100644 --- a/websocket/_logging.py +++ b/websocket/_logging.py @@ -24,7 +24,7 @@ import logging _logger = logging.getLogger('websocket') _traceEnabled = False -__all__ = ["enableTrace", "dump", "error", "debug", "trace", +__all__ = ["en...
add warning() to _logging.__all__ to resolve _send_ping issue
py
diff --git a/tests/test_code_quality.py b/tests/test_code_quality.py index <HASH>..<HASH> 100644 --- a/tests/test_code_quality.py +++ b/tests/test_code_quality.py @@ -34,6 +34,8 @@ def tab_in_leading(s): def use_tab_rule(fname): return not (basename(fname) == 'Makefile' or splitext(fname)[1] == '.bat') +exclude...
exclude CHANGELOG from quality checks
py
diff --git a/tests/test_api.py b/tests/test_api.py index <HASH>..<HASH> 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -1,3 +1,5 @@ +import sure + import uncurl
added 'sure' import that I initially removed
py
diff --git a/python/ray/tune/trainable.py b/python/ray/tune/trainable.py index <HASH>..<HASH> 100644 --- a/python/ray/tune/trainable.py +++ b/python/ray/tune/trainable.py @@ -625,10 +625,12 @@ class Trainable: self._stdout_stream.flush() self._stdout_context.__exit__(None, None, None) ...
[tune] Close logfile contexts (#<I>)
py
diff --git a/src/python/pants/backend/python/util_rules/pex_cli.py b/src/python/pants/backend/python/util_rules/pex_cli.py index <HASH>..<HASH> 100644 --- a/src/python/pants/backend/python/util_rules/pex_cli.py +++ b/src/python/pants/backend/python/util_rules/pex_cli.py @@ -102,7 +102,7 @@ async def setup_pex_cli_proce...
Finish CreateDigest Directory cleanup. (#<I>)
py
diff --git a/pyqode/cobol/widgets/pic_offsets.py b/pyqode/cobol/widgets/pic_offsets.py index <HASH>..<HASH> 100644 --- a/pyqode/cobol/widgets/pic_offsets.py +++ b/pyqode/cobol/widgets/pic_offsets.py @@ -1,3 +1,4 @@ +import weakref from pyqode.qt import QtCore, QtWidgets @@ -21,10 +22,10 @@ class PicOffsetsTable(Qt...
Fix editor memory leak refernce holded by the pic offsets table
py
diff --git a/salt/crypt.py b/salt/crypt.py index <HASH>..<HASH> 100644 --- a/salt/crypt.py +++ b/salt/crypt.py @@ -92,7 +92,7 @@ class MasterKeys(dict): else: log.info('Generating keys: {0}'.format(self.opts['pki_dir'])) gen_keys(self.opts['pki_dir'], 'master', 4096) - key ...
load_key does not take the cipher type arg
py
diff --git a/bokeh/mpl.py b/bokeh/mpl.py index <HASH>..<HASH> 100644 --- a/bokeh/mpl.py +++ b/bokeh/mpl.py @@ -25,6 +25,8 @@ def axes2plot(axes): # Get axis background color background_fill = axes.get_axis_bgcolor() + if background_fill == 'w': + background_fill = 'white' plot = objects.Plot(...
Fixed 'w' not recognized as a color.
py
diff --git a/openstack_dashboard/dashboards/admin/hypervisors/compute/tables.py b/openstack_dashboard/dashboards/admin/hypervisors/compute/tables.py index <HASH>..<HASH> 100644 --- a/openstack_dashboard/dashboards/admin/hypervisors/compute/tables.py +++ b/openstack_dashboard/dashboards/admin/hypervisors/compute/tables....
Message appear N/A in the tab compute host of hypervisors page In the hypervisors page, when switch to compute host tab, disable the host service, and then enable the service, the message appear N/A. Change N/A to host_name Closes-bug:#<I> Change-Id: I<I>ad1e<I>ff<I>d3ea8be9a3a<I>b<I>
py
diff --git a/multiqc/modules/happy/happy.py b/multiqc/modules/happy/happy.py index <HASH>..<HASH> 100644 --- a/multiqc/modules/happy/happy.py +++ b/multiqc/modules/happy/happy.py @@ -59,7 +59,7 @@ class MultiqcModule(BaseMultiqcModule): Ideally, precision, recall and F1 Score should all be as close to ...
only plot indel the problem might me that happy only expects to generate one plot (table)
py
diff --git a/tensor2tensor/data_generators/ptb.py b/tensor2tensor/data_generators/ptb.py index <HASH>..<HASH> 100644 --- a/tensor2tensor/data_generators/ptb.py +++ b/tensor2tensor/data_generators/ptb.py @@ -49,8 +49,6 @@ def _build_vocab(filename, vocab_path, vocab_size): """Reads a file to build a vocabulary of `vo...
Delete references to github.com/tensorflow/models/blob/master/tutorials The directory is not maintained, and is no longer being used for tensorflow.org. I am deleting it in <URL>
py
diff --git a/c7n/resources/asg.py b/c7n/resources/asg.py index <HASH>..<HASH> 100644 --- a/c7n/resources/asg.py +++ b/c7n/resources/asg.py @@ -105,10 +105,15 @@ class LaunchConfigFilterBase(object): self.log.debug( "Querying launch configs for filter %s", self.__class__.__name__) - ...
asg - unencrypted filter - minimize api calls based on number of asgs being processed (#<I>)
py
diff --git a/luigi/contrib/ssh.py b/luigi/contrib/ssh.py index <HASH>..<HASH> 100644 --- a/luigi/contrib/ssh.py +++ b/luigi/contrib/ssh.py @@ -17,12 +17,13 @@ """ Light-weight remote execution library and utilities. -There are some examples in the unittest, but -I added another more luigi-specific in the examples d...
Fixing typo in contrib/ssh.py docs Adding a closing parenthesis on the file name that's mentioned and line-wrapping two paragraphs to <I> characters.
py
diff --git a/detect_secrets/plugins/base.py b/detect_secrets/plugins/base.py index <HASH>..<HASH> 100644 --- a/detect_secrets/plugins/base.py +++ b/detect_secrets/plugins/base.py @@ -86,7 +86,7 @@ class BasePlugin: if name.endswith('Detector'): name = name[:-len('Detector')] - # turn came...
:mortar_board: Consistency nit
py
diff --git a/hamster/applet.py b/hamster/applet.py index <HASH>..<HASH> 100755 --- a/hamster/applet.py +++ b/hamster/applet.py @@ -57,8 +57,8 @@ class HamsterApplet(object): self.treeview = self.glade.get_widget('today') self.treeview.set_tooltip_column(1) - self.treeview.append_colum...
no need to translate columns that do not appear on screen svn path=/trunk/; revision=<I>
py
diff --git a/holoviews/plotting/bokeh/element.py b/holoviews/plotting/bokeh/element.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/bokeh/element.py +++ b/holoviews/plotting/bokeh/element.py @@ -244,7 +244,7 @@ class ElementPlot(BokehPlot, GenericElementPlot): properties['x_axis_label'] = xlabel if 'x'...
Fix for robust Bokeh version comparison Fixes Issue #<I>
py
diff --git a/hawkrest/__init__.py b/hawkrest/__init__.py index <HASH>..<HASH> 100644 --- a/hawkrest/__init__.py +++ b/hawkrest/__init__.py @@ -117,6 +117,9 @@ class HawkAuthenticatedUser(object): def get_username(self): return str(self.__class__.__name__) + def save(self, *args, **kwargs): + r...
Give HawkAuthenticatedUser a save() method to match AbstractBaseUser A `save()` method was added to `AbstractBaseUser` in: <URL>: File "/home/Ed/src/hawkrest/tests/test_authentication.py", line <I>, in test_method_compliance .format(name)) AssertionError: HawkAuthenticatedUser is missing method: save
py
diff --git a/remi/server.py b/remi/server.py index <HASH>..<HASH> 100644 --- a/remi/server.py +++ b/remi/server.py @@ -367,8 +367,8 @@ class _UpdateThread(threading.Thread): except: client.websockets.remove(ws) client.old_roo...
server: make sure client is set up before first idle
py
diff --git a/certsuite/harness.py b/certsuite/harness.py index <HASH>..<HASH> 100644 --- a/certsuite/harness.py +++ b/certsuite/harness.py @@ -228,7 +228,7 @@ class TestRunner(object): proc.wait() logger.debug("Process finished") - except Exception as e: + except Exception: ...
Use 'as' instead of comma
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ for requirement in (l.strip() for l in open(os.path.join(MODULE_PATH, 'requireme setup( name='django-mutant', - version='.'.join(str(v) for v in __version__), + version=__version__, descriptio...
Used the correct version format during setup.
py
diff --git a/ipyrad/assemble/cluster_across.py b/ipyrad/assemble/cluster_across.py index <HASH>..<HASH> 100644 --- a/ipyrad/assemble/cluster_across.py +++ b/ipyrad/assemble/cluster_across.py @@ -452,9 +452,9 @@ def oldpre(): else: ## Hierarchical clustering - print gids - print groups - ...
Changed a couple print statements to print functions.
py
diff --git a/esda/shape.py b/esda/shape.py index <HASH>..<HASH> 100644 --- a/esda/shape.py +++ b/esda/shape.py @@ -9,13 +9,17 @@ def _cast(collection): Cast a collection to a pygeos geometry array. """ if isinstance(collection, (geopandas.GeoSeries, geopandas.GeoDataFrame)): - return collection.va...
update cast to handle geodataframes
py
diff --git a/edalize/flows/edaflow.py b/edalize/flows/edaflow.py index <HASH>..<HASH> 100644 --- a/edalize/flows/edaflow.py +++ b/edalize/flows/edaflow.py @@ -186,7 +186,8 @@ class Edaflow(object): def add_scripts(self, depends, hook_name): last_script = depends - for script in self.hooks.get(hoo...
Remove hooks as class variable in EdaFlow
py
diff --git a/invenio_workflows/models.py b/invenio_workflows/models.py index <HASH>..<HASH> 100644 --- a/invenio_workflows/models.py +++ b/invenio_workflows/models.py @@ -89,10 +89,10 @@ class Workflow(db.Model): str(self.id_user), str(self.status)) @classmethod - def delete(cls, uuid=None): ...
models.workflow.delete: make uuid mandatory It makes no sense to have a classmethod trying to access an instance level property (that never worked) so simplifying the method to use always the passed uuid.
py
diff --git a/blockstack_cli_0.14.1/blockstore_client/user.py b/blockstack_cli_0.14.1/blockstore_client/user.py index <HASH>..<HASH> 100644 --- a/blockstack_cli_0.14.1/blockstore_client/user.py +++ b/blockstack_cli_0.14.1/blockstore_client/user.py @@ -76,20 +76,9 @@ def parse_user( user_json ): except Exception, e: ...
Don't be strict about the zone file schema
py
diff --git a/auto_ml/utils.py b/auto_ml/utils.py index <HASH>..<HASH> 100644 --- a/auto_ml/utils.py +++ b/auto_ml/utils.py @@ -80,10 +80,9 @@ class BasicDataCleaning(BaseEstimator, TransformerMixin): ##Todo: transformation taken in a dict of dicts and transforms row by row, must use a dataframe based idea inst...
Added TFIDF vectorizer as text input transformer During training Fit method : fits the tfidfvectorizer is fitted on training data Transform: previosuly fit model is used to transform the train and test sentences. Passed all the tests in test_script.py for iris and text classification datasets.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,11 @@ setup(name="magic-wormhole", "wormhole-server = wormhole_server.runner:entry", ]}, install_requires=["spake2==0.3", "pynacl", "requests", "argparse", - ...
Depend upon autobahn, for upcoming websocket support. Use 'autobahn[twisted]' just to be sure (plain 'autobahn' worked fine for py<I>, but maybe it's needed for py<I> or something). Autobahn is failing to do some conditional import and accidentally depends upon pytrie (for some encrypted WAMP thing) when we didn't as...
py
diff --git a/io/eolearn/io/sentinelhub_service.py b/io/eolearn/io/sentinelhub_service.py index <HASH>..<HASH> 100644 --- a/io/eolearn/io/sentinelhub_service.py +++ b/io/eolearn/io/sentinelhub_service.py @@ -200,7 +200,8 @@ class SentinelHubOGCInput(EOTask): request_dates = request.get_dates() - if n...
add time dependency to overwriting timestamps condition * now timeless features cannot have overwriting timestamps of eopatch
py
diff --git a/phoebe/backend/backends.py b/phoebe/backend/backends.py index <HASH>..<HASH> 100644 --- a/phoebe/backend/backends.py +++ b/phoebe/backend/backends.py @@ -12,13 +12,17 @@ from phoebe import u, c from phoebe import conf try: - import phoebeBackend as phb1 + import phoebe_legacy as phb1 except Impo...
Start to use phoebe_legacy as phoebe 1 backend.
py
diff --git a/junit_xml/__init__.py b/junit_xml/__init__.py index <HASH>..<HASH> 100644 --- a/junit_xml/__init__.py +++ b/junit_xml/__init__.py @@ -68,8 +68,8 @@ class TestSuite(object): test_suite_attributes['name'] = str(self.name) test_suite_attributes['failures'] = str(len([c for c in self.test_cas...
Remove tabs and extra whitespace It was breaking my first attempt at tox py<I>.
py
diff --git a/littlechef/tests.py b/littlechef/tests.py index <HASH>..<HASH> 100644 --- a/littlechef/tests.py +++ b/littlechef/tests.py @@ -36,13 +36,13 @@ class BaseTest(unittest.TestCase): """Simulate we are inside a kitchen""" # Orient ourselves os.chdir(littlechef_src) - for d in ['...
Add site-cookbooks to BaseTest
py
diff --git a/tests/test_output_format.py b/tests/test_output_format.py index <HASH>..<HASH> 100644 --- a/tests/test_output_format.py +++ b/tests/test_output_format.py @@ -21,7 +21,7 @@ OTHER DEALINGS IN THE SOFTWARE. """ import os from collections import namedtuple -from datetime import datetime +from datetime impor...
Add test for desired support of timedelta output to JSON
py
diff --git a/examples/web_classview1.py b/examples/web_classview1.py index <HASH>..<HASH> 100644 --- a/examples/web_classview1.py +++ b/examples/web_classview1.py @@ -70,7 +70,7 @@ async def index(request): async def init(loop): app = Application(loop=loop) app.router.add_route('GET', '/', index) - app.ro...
Revert to GET from * in route
py
diff --git a/redisco/models/__init__.py b/redisco/models/__init__.py index <HASH>..<HASH> 100644 --- a/redisco/models/__init__.py +++ b/redisco/models/__init__.py @@ -2,5 +2,8 @@ from base import * from attributes import * from exceptions import * -__all__ = ['Model', 'Attribute', 'IntegerField', 'DateTimeField', -...
Adds forgotten attributes to models.__all__
py
diff --git a/bambi/priors.py b/bambi/priors.py index <HASH>..<HASH> 100644 --- a/bambi/priors.py +++ b/bambi/priors.py @@ -225,8 +225,8 @@ class PriorScaler(object): ll = np.array([x.llf for x in null]) # if just a single predictor, use statsmodels to evaluate the LL else: - nu...
Attempt to fix inexplicably failing travis test
py
diff --git a/danceschool/core/management/commands/setup_permissions.py b/danceschool/core/management/commands/setup_permissions.py index <HASH>..<HASH> 100644 --- a/danceschool/core/management/commands/setup_permissions.py +++ b/danceschool/core/management/commands/setup_permissions.py @@ -137,6 +137,7 @@ Note: This pr...
Add default permission to mark revenue items as received for instructors
py
diff --git a/km3modules/plot.py b/km3modules/plot.py index <HASH>..<HASH> 100644 --- a/km3modules/plot.py +++ b/km3modules/plot.py @@ -247,7 +247,7 @@ def ztplot( """Creates a ztplot like shown in the online monitoring""" fontsize = 16 - dus = set(hits.du) + dus = sorted(set(hits.du)) if n_dus ...
Sort DUs by their ID in ztplot
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -23,9 +23,9 @@ project = u'Ouzo' copyright = u'2014, Ouzo developers' # The short X.Y version. -version = '1.3' +# version = '1.3' # The full version, including alpha/beta/rc tags. -release = '1.3' +# rele...
Removed version and release info from sphinx config.
py
diff --git a/consul/base.py b/consul/base.py index <HASH>..<HASH> 100644 --- a/consul/base.py +++ b/consul/base.py @@ -128,7 +128,8 @@ class Consul(object): else: data = json.loads(response.body) for item in data: - item['Value'] = base64...
Fixing a bug when trying to parse keys from recursive GET. When executing a recursive list of keys, the parent folder is being included as a result. However, as it is a folder, the value is set is to None. This is breaking when trying to base<I> decode the value. The bug is fixed by only parsing the values that are kn...
py
diff --git a/hvac/tests/test_integration.py b/hvac/tests/test_integration.py index <HASH>..<HASH> 100644 --- a/hvac/tests/test_integration.py +++ b/hvac/tests/test_integration.py @@ -545,7 +545,7 @@ class IntegrationTest(TestCase): _ = self.client.unwrap(wrap['wrap_info']['token']) # Attempt to retr...
Vault will now return an InvalidRequest exception when trying to unwrap a token that has already been unwrapped. Changed test_wrapped_token_intercept()'s assert statement to reflect this and allow the test to pass.
py