diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/doc/data/messages/m/missing-yield-doc/good.py b/doc/data/messages/m/missing-yield-doc/good.py index <HASH>..<HASH> 100644 --- a/doc/data/messages/m/missing-yield-doc/good.py +++ b/doc/data/messages/m/missing-yield-doc/good.py @@ -1,10 +1,13 @@ -def even_number_under(n: int): +from typing import Iterator + ...
Migrate return type to annotations in missing-yield-doc example (#<I>)
py
diff --git a/models/depparse/scorer.py b/models/depparse/scorer.py index <HASH>..<HASH> 100644 --- a/models/depparse/scorer.py +++ b/models/depparse/scorer.py @@ -1,15 +1,18 @@ """ -Utils and wrappers for scoring lemmatizers. +Utils and wrappers for scoring parsers. """ from models.common.utils import ud_scores -d...
Better prints for parser scorer
py
diff --git a/spyder/app/tests/test_mainwindow.py b/spyder/app/tests/test_mainwindow.py index <HASH>..<HASH> 100644 --- a/spyder/app/tests/test_mainwindow.py +++ b/spyder/app/tests/test_mainwindow.py @@ -349,12 +349,12 @@ def test_single_instance_and_edit_magic(main_window, qtbot, tmpdir): spy_dir = osp.dirname(g...
Fix minor error with Windows paths in edit magic test
py
diff --git a/subconvert.py b/subconvert.py index <HASH>..<HASH> 100755 --- a/subconvert.py +++ b/subconvert.py @@ -60,14 +60,12 @@ class GenericSubParser: if not atom['time_from']: atom['time_from'] = m.group('time_from') else: - pass - #raise SubError, 'time_from catched/specifie...
Raise errors if time_from or time_to is repeated.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,7 @@ setup( zip_safe=False, install_requires=[ 'Django>=1.5.0', - 'djangorestframework>=2.3.13', + 'djangorestframework>=2.3.13, <3.0', 'six>=1.8.0', ], test_suite=...
update install_requires in setup.py
py
diff --git a/scanpy/plotting.py b/scanpy/plotting.py index <HASH>..<HASH> 100755 --- a/scanpy/plotting.py +++ b/scanpy/plotting.py @@ -1,4 +1,5 @@ -# Copyright 2016-2017 F. Alexander Wolf (http://falexwolf.de). +# Authors: F. Alex Wolf <http://falexwolf.de> +# P. Angerer """ Plotting """ @@ -855,5 +...
fixed color palettes for larger number of categories
py
diff --git a/fuzzywuzzy/fuzz.py b/fuzzywuzzy/fuzz.py index <HASH>..<HASH> 100644 --- a/fuzzywuzzy/fuzz.py +++ b/fuzzywuzzy/fuzz.py @@ -25,12 +25,14 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. """ from __future__ import unico...
Remove the warning for "slow" sequence matcher on PyPy where it's preferable to use the pure-python implementation.
py
diff --git a/neurom/stats.py b/neurom/stats.py index <HASH>..<HASH> 100644 --- a/neurom/stats.py +++ b/neurom/stats.py @@ -157,7 +157,6 @@ def compare_two(data1, data2, test='ks_2samp'): ''' results = getattr(_st, test)(data1, data2) - stats = {'dist': results[0]} - stats['p-value'] = results[1] + ...
Present stats.compare results in a more comprehensible way
py
diff --git a/src/ossos-pipeline/scripts/reset_processing_tags.py b/src/ossos-pipeline/scripts/reset_processing_tags.py index <HASH>..<HASH> 100755 --- a/src/ossos-pipeline/scripts/reset_processing_tags.py +++ b/src/ossos-pipeline/scripts/reset_processing_tags.py @@ -57,6 +57,7 @@ if __name__ == '__main__': parse...
Added a 'dbimages' option so we can reset tags for other projects (like HL)
py
diff --git a/orb/testing/mock_connection.py b/orb/testing/mock_connection.py index <HASH>..<HASH> 100644 --- a/orb/testing/mock_connection.py +++ b/orb/testing/mock_connection.py @@ -245,17 +245,7 @@ class MockConnection(orb.Connection): assert issubclass(model, orb.Model) assert isinstance(context, o...
* requiring the mocked responses to match exactly what the method is expected to return
py
diff --git a/py/nupic/research/spatial_pooler.py b/py/nupic/research/spatial_pooler.py index <HASH>..<HASH> 100644 --- a/py/nupic/research/spatial_pooler.py +++ b/py/nupic/research/spatial_pooler.py @@ -441,16 +441,19 @@ class SpatialPooler(object): activeColumns: An array containing the indices of the active column...
aligned overlap duty cycle and update rounds with old spatial pooler implementaiton
py
diff --git a/haproxystats/haproxystats.py b/haproxystats/haproxystats.py index <HASH>..<HASH> 100644 --- a/haproxystats/haproxystats.py +++ b/haproxystats/haproxystats.py @@ -21,12 +21,23 @@ class HaproxyStats(object): def update(self): self.last_update = datetime.utcnow() + self.all_stats = { ...
add check, attr for failed servers
py
diff --git a/spyder/widgets/sourcecode/codeeditor.py b/spyder/widgets/sourcecode/codeeditor.py index <HASH>..<HASH> 100644 --- a/spyder/widgets/sourcecode/codeeditor.py +++ b/spyder/widgets/sourcecode/codeeditor.py @@ -1179,7 +1179,11 @@ class CodeEditor(TextEditBaseWidget): active_line_number = active_block.b...
Restore original behavior for PyQt4
py
diff --git a/pypot/utils/trajectory.py b/pypot/utils/trajectory.py index <HASH>..<HASH> 100644 --- a/pypot/utils/trajectory.py +++ b/pypot/utils/trajectory.py @@ -1,7 +1,7 @@ import numpy -import collections +import collections.abc import pypot.utils.pypot_time as time from ..utils.stoppablethread import Stopp...
Import ABC from collections.abc for Python <I> compatibility.
py
diff --git a/spyderlib/plugins/inspector.py b/spyderlib/plugins/inspector.py index <HASH>..<HASH> 100644 --- a/spyderlib/plugins/inspector.py +++ b/spyderlib/plugins/inspector.py @@ -228,6 +228,7 @@ class SphinxThread(QThread): self.math_option = math_option def run(self): + html_text = self.h...
Object Inspector: Avoid AttributeError if sphinx thread fails. SphinxThread in the Object Inspector might return an AttributeError if for some reason the thread fails to return a valid doc string. Set html_text to something valid at the beginning of the run method instead of later. Update Issue <I> Status: Fixed
py
diff --git a/aversion.py b/aversion.py index <HASH>..<HASH> 100644 --- a/aversion.py +++ b/aversion.py @@ -17,6 +17,7 @@ import logging import re import webob.dec +import webob.exc LOG = logging.getLogger('aversion') @@ -424,7 +425,11 @@ class AVersion(object): # Select the correct application ...
Do something intelligent if no version app can be found.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from __future__ import print_function -from distutils.core import setup, Extension +from setuptools import setup, Extension import sys try:
Use setuptools This allows stuff like setup.py develop
py
diff --git a/tests/test__execute.py b/tests/test__execute.py index <HASH>..<HASH> 100644 --- a/tests/test__execute.py +++ b/tests/test__execute.py @@ -19,7 +19,7 @@ class TestCase(test_utils.TestCase): def assertImmediate(self): return self.assertTakesAlmost(0) @contextmanager - def assertTakesAlm...
TRIVIAL increasing delta to make tests pass When the VMs are loaded, the current delta is too short
py
diff --git a/pandas/tests/test_compat.py b/pandas/tests/test_compat.py index <HASH>..<HASH> 100644 --- a/pandas/tests/test_compat.py +++ b/pandas/tests/test_compat.py @@ -11,7 +11,7 @@ import unittest import nose import pandas.util.testing as tm -class TestBuiltinIterators(unittest.TestCase): +class TestBuiltinIter...
CLN: Change assert_([not] isinstance(a,b)) to specialized forms Work on #<I>. Change superclass of tests/test_compat, to use tm.TestCase
py
diff --git a/tests/scripts/sql_coverage_test.py b/tests/scripts/sql_coverage_test.py index <HASH>..<HASH> 100755 --- a/tests/scripts/sql_coverage_test.py +++ b/tests/scripts/sql_coverage_test.py @@ -744,8 +744,19 @@ if __name__ == "__main__": options.report_all, options.ascii_only, args, te...
sql_coverage_test.py: added a temporary kludge to ignore the known failures in the numeric-decimals and numeric-ints test suites, when running the "extended" SQLCoverage against PostgreSQL - which will be fixed later, as ENG-<I>.
py
diff --git a/tests/exemplars_test.py b/tests/exemplars_test.py index <HASH>..<HASH> 100644 --- a/tests/exemplars_test.py +++ b/tests/exemplars_test.py @@ -33,6 +33,11 @@ def exemplar(name, val): data = MsgPackUnmarshaler().load(stream) self.assertEqual(val, data) + def test_js...
Consume json-verbose from transit/simple-examples
py
diff --git a/plenum/client/wallet.py b/plenum/client/wallet.py index <HASH>..<HASH> 100644 --- a/plenum/client/wallet.py +++ b/plenum/client/wallet.py @@ -101,6 +101,32 @@ class Wallet: self.aliasesToIds[signer.alias] = signer.identifier return signer.identifier, signer + def updateSigner(sel...
adding method in wallet to update signer of identifier
py
diff --git a/telethon/client/updates.py b/telethon/client/updates.py index <HASH>..<HASH> 100644 --- a/telethon/client/updates.py +++ b/telethon/client/updates.py @@ -405,7 +405,10 @@ class UpdateMethods: # # It will return `None` if we haven't logged in yet which is # fine, we wi...
Fix internal get_me() was not expecting network errors (#<I>)
py
diff --git a/scour/scour.py b/scour/scour.py index <HASH>..<HASH> 100644 --- a/scour/scour.py +++ b/scour/scour.py @@ -847,8 +847,6 @@ def renameID(idFrom, idTo, identifiedElements, referringNodes): definingNode = identifiedElements[idFrom] definingNode.setAttribute("id", idTo) - del identifiedElements[i...
renameID: Fix bug when swapping two IDs
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -38,7 +38,7 @@ setup( install_requires=[ "h5py", "imageio", - "matplotlib>=3.3.0", + "matplotlib>=3.4.0", "numexpr", "numpy>=1.15.0", "pint",
bump mpl version to accept CenteredNorm
py
diff --git a/asciimatics/effects.py b/asciimatics/effects.py index <HASH>..<HASH> 100644 --- a/asciimatics/effects.py +++ b/asciimatics/effects.py @@ -458,7 +458,7 @@ class _Trail(object): self._y = 0 self._life = self._screen.height // self._rate else: - se...
Minor tweak to Matrix effect to hit more of the screen.
py
diff --git a/remote.py b/remote.py index <HASH>..<HASH> 100644 --- a/remote.py +++ b/remote.py @@ -98,9 +98,10 @@ class ZebraRemote(Remote): continue if 'exception' in json_response: - print 'Unable to push entry "%s". Error was : %s' % (entry, json_response['e...
Restored entries commenting in the zebra file
py
diff --git a/zimsoap/zobjects.py b/zimsoap/zobjects.py index <HASH>..<HASH> 100644 --- a/zimsoap/zobjects.py +++ b/zimsoap/zobjects.py @@ -301,8 +301,13 @@ class Signature(ZObject): """ o = super(Signature, cls).from_dict(d) if d.has_key('content'): - o._content = d['content']['_co...
handle several content in signatures fixes #<I> @0h<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,9 +4,9 @@ from setuptools import setup setup( name='MotherNature', - version='0.2', + version='0.3', description='Python Environment Variables Manager', - long_description="Manage python environment va...
Bumped version to <I>
py
diff --git a/atomic_reactor/pulp_util.py b/atomic_reactor/pulp_util.py index <HASH>..<HASH> 100644 --- a/atomic_reactor/pulp_util.py +++ b/atomic_reactor/pulp_util.py @@ -210,7 +210,8 @@ class PulpHandler(object): self.p.copy_filters(repo_id, filters=pulp_filter, v1=True, v2=False) def update_repo(self,...
Make v1 image tagging atomic (OSBS-<I>) Use LockedPulpRepository context manager while updating repository. This is to allow the 'scratchpad' tags (for v1 images) to be updated atomically with respect to other atomic-reactor builds.
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-attachments', - version='0.1', + version='0.2', description='A generic Django application to attach Files (Attachments) to any mod...
Bumped up to version <I>.
py
diff --git a/src/marshmallow/schema.py b/src/marshmallow/schema.py index <HASH>..<HASH> 100644 --- a/src/marshmallow/schema.py +++ b/src/marshmallow/schema.py @@ -355,15 +355,6 @@ class BaseSchema(base.SchemaABC): ) self.prefix = prefix self.strict = strict if strict is not None else self...
Remove ChangedInMarshmallow3Warning about strict mode It produces false positives for Nested Schemas (#<I>) and in general might be too noisy to be useful. See <URL>
py
diff --git a/shinken/objects/module.py b/shinken/objects/module.py index <HASH>..<HASH> 100644 --- a/shinken/objects/module.py +++ b/shinken/objects/module.py @@ -50,6 +50,8 @@ class Module(Item): def __repr__(self): return '<module type=%s name=%s />' % (self.module_type, self.module_name) + __str__...
enh: also use __str__ for __repr__ for Module
py
diff --git a/tests/fake_webapp.py b/tests/fake_webapp.py index <HASH>..<HASH> 100644 --- a/tests/fake_webapp.py +++ b/tests/fake_webapp.py @@ -87,6 +87,26 @@ EXAMPLE_IFRAME_HTML = """\ </body> </html>""" +EXAMPLE_ALERT_HTML = """\ +<html> + <head> + <title>Alert Example Title</title> + <script type="text/j...
added the html and route for the alert tests
py
diff --git a/pdfwatermarker/watermark/lib/gui.py b/pdfwatermarker/watermark/lib/gui.py index <HASH>..<HASH> 100644 --- a/pdfwatermarker/watermark/lib/gui.py +++ b/pdfwatermarker/watermark/lib/gui.py @@ -73,7 +73,7 @@ class GUI: if len(values[6]) > 0: user_pw = values[6] else: - ...
Changed user_pw default from None to ''
py
diff --git a/ballet/validation/__init__.py b/ballet/validation/__init__.py index <HASH>..<HASH> 100644 --- a/ballet/validation/__init__.py +++ b/ballet/validation/__init__.py @@ -10,6 +10,7 @@ from ballet.project import Project from ballet.util.log import logger, stacklog from ballet.validation.feature_evaluation imp...
add gfssf_validator into acceptance pipeline
py
diff --git a/test/shinken_test.py b/test/shinken_test.py index <HASH>..<HASH> 100755 --- a/test/shinken_test.py +++ b/test/shinken_test.py @@ -423,7 +423,7 @@ if not hasattr(ShinkenTest, 'assertIn'): if not hasattr(ShinkenTest, 'assertIsInstance'): def assertIsInstance(self, obj, cls, msg=None): - self.a...
Fix : getting back tests alive.
py
diff --git a/mlbgame/data.py b/mlbgame/data.py index <HASH>..<HASH> 100644 --- a/mlbgame/data.py +++ b/mlbgame/data.py @@ -8,9 +8,10 @@ gets the data from mlb.com import os try: - from urlib.request import urlopen + from urllib2 import urlopen, HTTPError except: - from urllib2 import urlopen + from url...
Fix bug where remote url was not found
py
diff --git a/tests/test_server.py b/tests/test_server.py index <HASH>..<HASH> 100644 --- a/tests/test_server.py +++ b/tests/test_server.py @@ -39,7 +39,7 @@ class TestServer(object): expected_data = get_stream().get_epoch_iterator() for _, s, e in zip(range(3), server_data, expected_data): ...
Decrease precision to fix test_pickling
py
diff --git a/tests/integ/test_experiments_analytics.py b/tests/integ/test_experiments_analytics.py index <HASH>..<HASH> 100644 --- a/tests/integ/test_experiments_analytics.py +++ b/tests/integ/test_experiments_analytics.py @@ -138,6 +138,7 @@ def _delete_resources(sagemaker_client, experiment_name, trials): for tr...
infra: wait for DisassociateTrialComponent to take effect in experiment integ test cleanup (#<I>)
py
diff --git a/metoffer.py b/metoffer.py index <HASH>..<HASH> 100644 --- a/metoffer.py +++ b/metoffer.py @@ -382,6 +382,8 @@ class Weather(): dt = (date + datetime.timedelta(seconds=int(rep["$"]) * 60), "") # dt always a tuple except(ValueError): dt ...
KeyError exception for reps w/o $s; fixed bug Fix "data" in line <I> to "self.data". Also some reps don't have $s so have added a KeyError (line <I>) exception.
py
diff --git a/mambugroup.py b/mambugroup.py index <HASH>..<HASH> 100644 --- a/mambugroup.py +++ b/mambugroup.py @@ -208,6 +208,25 @@ class MambuGroup(MambuStruct): return requests + def setBranch(self, *args, **kwargs): + """Adds the branch to which this groups belongs + """ + from m...
MambuGroup new methods setBranch and setCentre.
py
diff --git a/c3d.py b/c3d.py index <HASH>..<HASH> 100644 --- a/c3d.py +++ b/c3d.py @@ -497,7 +497,7 @@ class Group(dict): return self[key.upper()].string_value -class Manager(dict): +class Manager(object): '''A base class for managing C3D file metadata. This class manages a C3D header (which co...
Do not inherit from dict, makes interface confusing. Needs testing!
py
diff --git a/third_party/tvcm/tvcm/dev_server.py b/third_party/tvcm/tvcm/dev_server.py index <HASH>..<HASH> 100644 --- a/third_party/tvcm/tvcm/dev_server.py +++ b/third_party/tvcm/tvcm/dev_server.py @@ -175,7 +175,8 @@ def do_GET_root(request): class DevServer(SocketServer.ThreadingMixIn, BaseHTTPServer.HTTPServer):...
Bind dev server to localhost
py
diff --git a/confidence/exceptions.py b/confidence/exceptions.py index <HASH>..<HASH> 100644 --- a/confidence/exceptions.py +++ b/confidence/exceptions.py @@ -6,7 +6,7 @@ class MergeConflictError(ConfigurationError): """ Error raised during loading configuration sources that conflict internally. """ - ...
Add typing annotations to confidence.exceptions
py
diff --git a/stacker/lookups/__init__.py b/stacker/lookups/__init__.py index <HASH>..<HASH> 100644 --- a/stacker/lookups/__init__.py +++ b/stacker/lookups/__init__.py @@ -15,7 +15,7 @@ LOOKUP_REGEX = re.compile(""" # space ?\s* # any number of s...
added [] to lookup regex
py
diff --git a/src/flask_assets.py b/src/flask_assets.py index <HASH>..<HASH> 100644 --- a/src/flask_assets.py +++ b/src/flask_assets.py @@ -307,6 +307,14 @@ class Environment(BaseEnvironment): directory = property(get_directory, set_directory, doc= """The base directory to which all paths will be relative to. ...
url-property: add url as a property that can be determined from the app context
py
diff --git a/azure-mgmt/tests/test_batch.py b/azure-mgmt/tests/test_batch.py index <HASH>..<HASH> 100644 --- a/azure-mgmt/tests/test_batch.py +++ b/azure-mgmt/tests/test_batch.py @@ -161,9 +161,7 @@ def create_batch_account(client, settings, live): aad_creds = AADTokenCredentials(token={'access_token':'faked_t...
Removing header hooks to fix PR builds Will do a better solution to check for these headers later
py
diff --git a/pymc3/plots/energyplot.py b/pymc3/plots/energyplot.py index <HASH>..<HASH> 100644 --- a/pymc3/plots/energyplot.py +++ b/pymc3/plots/energyplot.py @@ -37,8 +37,8 @@ def energyplot(trace, kind='kde', figsize=None, ax=None, legend=True, lw=0, alph except KeyError: print('There is no energy infor...
Changed labels for series in energyplot
py
diff --git a/openid/tools/events.py b/openid/tools/events.py index <HASH>..<HASH> 100644 --- a/openid/tools/events.py +++ b/openid/tools/events.py @@ -2,7 +2,7 @@ """ import time -from xml.sax.saxutils import escape +from xml.sax.saxutils import quoteattr, escape class Event(object): def __init__(self): @@ ...
[project @ tools.events.SetupNeeded.to_html: render the setup url as a hyperlink]
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -36,7 +36,6 @@ setup( 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.2', ...
Remove <I> from the trove classifiers, since we can't get it to run under tox anymore.
py
diff --git a/lib/spectrum.py b/lib/spectrum.py index <HASH>..<HASH> 100644 --- a/lib/spectrum.py +++ b/lib/spectrum.py @@ -79,6 +79,20 @@ def MergeWaveSets(waveset1, waveset2): MergedWaveSet = None else: MergedWaveSet = N.union1d(waveset1, waveset2) + + # The merged wave sets may s...
This commit addresses ticket #<I>. The function spectrum.MergeWaveSets is modified so that when two sets are merged the returned set has no two adjacent values which are less than 1e-<I> apart from each other. git-svn-id: <URL>
py
diff --git a/websocket/__init__.py b/websocket/__init__.py index <HASH>..<HASH> 100644 --- a/websocket/__init__.py +++ b/websocket/__init__.py @@ -1025,7 +1025,10 @@ class WebSocketApp(object): elif op_code == ABNF.OPCODE_CONT and self.on_cont_message: self._callback(self.o...
- refs #<I> - keep backword compatibility.
py
diff --git a/tests/test_utils.py b/tests/test_utils.py index <HASH>..<HASH> 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -128,7 +128,6 @@ def test_utils_post_slack_message(mock_slack): @mock.patch('gate_request') -@mock.patch('foremast.utils.apps.API_URL', 'http://test.com') def test_utils_apps_g...
Removed unused mocks as they have moved
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 @@ -4,7 +4,6 @@ import unittest import tables as tb import numpy as np -from pixel_clusterizer.clusterizer import HitClusterizer from pybar_fei4_interpreter import ana...
BUG: pixel clusterizer dependency deleted
py
diff --git a/src/sentry_plugins/splunk/plugin.py b/src/sentry_plugins/splunk/plugin.py index <HASH>..<HASH> 100644 --- a/src/sentry_plugins/splunk/plugin.py +++ b/src/sentry_plugins/splunk/plugin.py @@ -180,6 +180,7 @@ class SplunkPlugin(CorePluginMixin, Plugin): headers={ 'Authori...
ref(splunk): Lower timeout to 5s
py
diff --git a/lib/brownanrs/polynomial.py b/lib/brownanrs/polynomial.py index <HASH>..<HASH> 100644 --- a/lib/brownanrs/polynomial.py +++ b/lib/brownanrs/polynomial.py @@ -2,6 +2,7 @@ # See LICENSE.txt for license terms from StringIO import StringIO +from itertools import izip class Polynomial(object): """Co...
update: another small optimization in polynomial.py
py
diff --git a/plexapi/__init__.py b/plexapi/__init__.py index <HASH>..<HASH> 100644 --- a/plexapi/__init__.py +++ b/plexapi/__init__.py @@ -15,7 +15,7 @@ CONFIG = PlexConfig(CONFIG_PATH) # PlexAPI Settings PROJECT = 'PlexAPI' -VERSION = '4.1.0' +VERSION = '4.1.1' TIMEOUT = CONFIG.get('plexapi.timeout', 30, int) X_...
Bump to <I> release (#<I>)
py
diff --git a/mailchimp3/helpers.py b/mailchimp3/helpers.py index <HASH>..<HASH> 100644 --- a/mailchimp3/helpers.py +++ b/mailchimp3/helpers.py @@ -58,7 +58,7 @@ def check_email(email): :type email: :py:class:`str` :return: Nothing """ - if not re.match(r"(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]...
Validate emails by simply checking for @.
py
diff --git a/tile_generator/opsmgr.py b/tile_generator/opsmgr.py index <HASH>..<HASH> 100644 --- a/tile_generator/opsmgr.py +++ b/tile_generator/opsmgr.py @@ -484,7 +484,7 @@ def configure(product, properties, strict=False, skip_validation=False, network= # Update using the appropriate API for the Ops Manager version...
Handle PCF major versions greater than 1
py
diff --git a/host/fei4/register_utils.py b/host/fei4/register_utils.py index <HASH>..<HASH> 100644 --- a/host/fei4/register_utils.py +++ b/host/fei4/register_utils.py @@ -317,8 +317,9 @@ class FEI4RegisterUtils(object): commands = [] commands.extend(self.register.get_commands("confmode")) i...
ENH: should be better at lower thresholds
py
diff --git a/ella/positions/templatetags/positions.py b/ella/positions/templatetags/positions.py index <HASH>..<HASH> 100644 --- a/ella/positions/templatetags/positions.py +++ b/ella/positions/templatetags/positions.py @@ -12,11 +12,8 @@ def _get_category_from_pars_var(template_var, context): ''' get category...
removed catching exception VariableDoesNotExist
py
diff --git a/pyxel/editor/piano_roll.py b/pyxel/editor/piano_roll.py index <HASH>..<HASH> 100644 --- a/pyxel/editor/piano_roll.py +++ b/pyxel/editor/piano_roll.py @@ -76,6 +76,7 @@ class PianoRoll(Widget): elif x < self._press_x: step = -1 else: + self._set_note(x, y) ...
Fixed the editing method for the piano roll
py
diff --git a/spyder/widgets/mixins.py b/spyder/widgets/mixins.py index <HASH>..<HASH> 100644 --- a/spyder/widgets/mixins.py +++ b/spyder/widgets/mixins.py @@ -355,9 +355,14 @@ class BaseEditMixin(object): # Process signature template if parameter: - # '*' has a meaning in r...
Editor: Escape regex characters from signature params
py
diff --git a/molo/core/templatetags/core_tags.py b/molo/core/templatetags/core_tags.py index <HASH>..<HASH> 100644 --- a/molo/core/templatetags/core_tags.py +++ b/molo/core/templatetags/core_tags.py @@ -199,7 +199,7 @@ def load_child_articles_for_section(context, section, count=5): @register.assignment_tag(takes_c...
not limit number of subcats on page
py
diff --git a/axes/middleware.py b/axes/middleware.py index <HASH>..<HASH> 100644 --- a/axes/middleware.py +++ b/axes/middleware.py @@ -17,6 +17,10 @@ class AxesMiddleware: Middleware that calculates necessary HTTP request attributes for attempt monitoring and maps lockout signals into readable HTTP 403 Forbid...
Update documentation of AxesMiddleware
py
diff --git a/tests/iam/test_iam_construct.py b/tests/iam/test_iam_construct.py index <HASH>..<HASH> 100644 --- a/tests/iam/test_iam_construct.py +++ b/tests/iam/test_iam_construct.py @@ -40,3 +40,20 @@ def test_iam_construct_policy(requests_get): settings.update({'services': {'dynamodb': ['coreforrest', 'edgeforre...
test: Check CloudWatch Logs acces for Lambda Lambda Policy should automatically have CloudWatch Logs access. See also: PSOBAT-<I>
py
diff --git a/setuptools_rust/check.py b/setuptools_rust/check.py index <HASH>..<HASH> 100644 --- a/setuptools_rust/check.py +++ b/setuptools_rust/check.py @@ -11,7 +11,7 @@ import semantic_version from .extension import RustExtension from .utils import cpython_feature, get_rust_version -MIN_VERSION = semantic_versi...
fix rust version check in check command
py
diff --git a/backrefs/util.py b/backrefs/util.py index <HASH>..<HASH> 100644 --- a/backrefs/util.py +++ b/backrefs/util.py @@ -7,7 +7,6 @@ Copyright (c) 2015 - 2018 Isaac Muse <isaacmuse@gmail.com> import sys import struct import string -import _string PY2 = (2, 0) <= sys.version_info < (3, 0) PY3 = (3, 0) <= sy...
Don't include _string in PY2
py
diff --git a/cumulusci/tasks/vlocity/vlocity.py b/cumulusci/tasks/vlocity/vlocity.py index <HASH>..<HASH> 100644 --- a/cumulusci/tasks/vlocity/vlocity.py +++ b/cumulusci/tasks/vlocity/vlocity.py @@ -61,7 +61,7 @@ class VlocitySimpleJobTask(VlocityBaseTask, ABC): username: str = self.org_config.username ...
use json output to supress ascii for now
py
diff --git a/raiden_contracts/tests/test_secret_registry.py b/raiden_contracts/tests/test_secret_registry.py index <HASH>..<HASH> 100644 --- a/raiden_contracts/tests/test_secret_registry.py +++ b/raiden_contracts/tests/test_secret_registry.py @@ -18,8 +18,9 @@ def test_register_secret_call(secret_registry_contract: Con...
Skip validation failure that is known upstream
py
diff --git a/phypno/widgets/utils.py b/phypno/widgets/utils.py index <HASH>..<HASH> 100644 --- a/phypno/widgets/utils.py +++ b/phypno/widgets/utils.py @@ -237,8 +237,14 @@ def keep_recent_recordings(new_recording=None): history = [history] if new_recording is not None: + if new_recording in histo...
additional log info when changing history of recent recordings
py
diff --git a/indra/assemblers/pysb_assembler.py b/indra/assemblers/pysb_assembler.py index <HASH>..<HASH> 100644 --- a/indra/assemblers/pysb_assembler.py +++ b/indra/assemblers/pysb_assembler.py @@ -1487,6 +1487,8 @@ def translocation_monomers_default(stmt, agent_set): agent.create_site('loc', [stmt.from_location,...
Handle missing Translocation locations in PySB assembler
py
diff --git a/benchexec/tablegenerator/__init__.py b/benchexec/tablegenerator/__init__.py index <HASH>..<HASH> 100755 --- a/benchexec/tablegenerator/__init__.py +++ b/benchexec/tablegenerator/__init__.py @@ -186,7 +186,7 @@ class Util: @staticmethod def json(obj): - return tempita.html(json.dumps(obj)...
Deterministic JSON output in HTML tables. This allows to check more easily whether a table has changed after re-generation.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -45,7 +45,7 @@ Above is the ouput showing how the compilation failed.""" % ext.name setup( name="pymongo", - version="0.7.1", + version="0.7.2", description="Driver for the Mongo database <http://www.mongodb...
bumping version w/ support for Python <I>
py
diff --git a/test/test_mock_solver_loading.py b/test/test_mock_solver_loading.py index <HASH>..<HASH> 100644 --- a/test/test_mock_solver_loading.py +++ b/test/test_mock_solver_loading.py @@ -7,6 +7,7 @@ import unittest import requests_mock import dwave_micro_client +from dwave_micro_client import InvalidAPIResponse...
Fix unit test for case of a solver with invalid structure
py
diff --git a/ffi/build.py b/ffi/build.py index <HASH>..<HASH> 100755 --- a/ffi/build.py +++ b/ffi/build.py @@ -7,6 +7,7 @@ from __future__ import print_function from ctypes.util import find_library import re +import multiprocessing import os import subprocess import shutil @@ -199,7 +200,11 @@ def main_posix(kin...
build: Default to running parallel make with -j matching CPU count
py
diff --git a/billy/bin/update.py b/billy/bin/update.py index <HASH>..<HASH> 100755 --- a/billy/bin/update.py +++ b/billy/bin/update.py @@ -305,6 +305,8 @@ def main(old_scrape_compat=False): scrape_data = {} if 'scrape' in args.actions: + _clear_scraped_data(args.output_dir) + ...
Placing a clean call before scrape
py
diff --git a/unittest/test_core.py b/unittest/test_core.py index <HASH>..<HASH> 100644 --- a/unittest/test_core.py +++ b/unittest/test_core.py @@ -147,7 +147,11 @@ class TestAVTransport: ('CurrentURIMetaData', '') ]) - moco.avTransport.Play.assert_called_once_with( + def test_soco_play...
Moved assertion that play_uri calls play to separate test.
py
diff --git a/bigchaindb_driver/common/exceptions.py b/bigchaindb_driver/common/exceptions.py index <HASH>..<HASH> 100644 --- a/bigchaindb_driver/common/exceptions.py +++ b/bigchaindb_driver/common/exceptions.py @@ -38,10 +38,6 @@ class CyclicBlockchainError(BigchainDBError): """Raised when there is a cycle in the ...
Problem: KeypairNotFoundException does not exist anymore (#<I>). Solution: Remove KeypairNotFoundException.
py
diff --git a/colab/accounts/tests/test_user.py b/colab/accounts/tests/test_user.py index <HASH>..<HASH> 100644 --- a/colab/accounts/tests/test_user.py +++ b/colab/accounts/tests/test_user.py @@ -75,10 +75,6 @@ class UserTest(TestCase): self.assertEqual('https://www.facebook.com/usertestcolab', ...
Dropped tests related to superarchive
py
diff --git a/steam/api.py b/steam/api.py index <HASH>..<HASH> 100644 --- a/steam/api.py +++ b/steam/api.py @@ -192,9 +192,14 @@ class method_result(dict): return getattr(super(method_result, self), method)(*args, **kwargs) - def __init__(self, *args, aggressive=False, **kwargs): + def __init__(self, ...
Fix invalid syntax in python 2 Guess that's what I get for assuming basic language constructs like that would be compatible
py
diff --git a/comparison/plot.py b/comparison/plot.py index <HASH>..<HASH> 100644 --- a/comparison/plot.py +++ b/comparison/plot.py @@ -17,4 +17,5 @@ ax.set_ylim(1, 35) ax.grid() ax.set_xlabel('Array size') ax.set_ylabel('Speedup (fast-histogram / numpy)') +ax.legend() fig.savefig('speedup_compared.png', bbox_inches...
added a legend to comparison plots
py
diff --git a/pandas/tests/io/test_parquet.py b/pandas/tests/io/test_parquet.py index <HASH>..<HASH> 100644 --- a/pandas/tests/io/test_parquet.py +++ b/pandas/tests/io/test_parquet.py @@ -637,6 +637,29 @@ class TestBasic(Base): expected = expected.drop("c", axis=1) tm.assert_frame_equal(result2, ex...
TST: add test to read empty array (#<I>)
py
diff --git a/collections_.py b/collections_.py index <HASH>..<HASH> 100644 --- a/collections_.py +++ b/collections_.py @@ -4,7 +4,7 @@ # Copyright © 2009 Michael Lenzen <m.lenzen@gmail.com> # -_version = '0.4.1' +_version = '0.1.0' import heapq import sys
Changed version number of collections_ to <I>
py
diff --git a/tests.py b/tests.py index <HASH>..<HASH> 100755 --- a/tests.py +++ b/tests.py @@ -210,10 +210,27 @@ class TestCLI(BaseTestCase): stdout=subprocess.PIPE, stderr=subprocess.PIPE) out, err = p.communicate() if p.returncode != 0: - # On Windows we know there are many C...
make sure exes are in PATH
py
diff --git a/airflow/utils/dag_processing.py b/airflow/utils/dag_processing.py index <HASH>..<HASH> 100644 --- a/airflow/utils/dag_processing.py +++ b/airflow/utils/dag_processing.py @@ -1216,7 +1216,7 @@ class DagFileProcessorManager(LoggingMixin): # pylint: disable=too-many-instanc def emit_metrics(self): ...
Fix typo in doc of DagFileProcessorManager.emit_metrics (#<I>)
py
diff --git a/tests/test_tcp.py b/tests/test_tcp.py index <HASH>..<HASH> 100644 --- a/tests/test_tcp.py +++ b/tests/test_tcp.py @@ -73,7 +73,7 @@ class TCPTestList(common.UVTestCase): client = server.accept() self.client_connections.append(client) client.start_read(self.on_client_connection_re...
Fixed test for writing lists of strings (TCP)
py
diff --git a/superset/viz.py b/superset/viz.py index <HASH>..<HASH> 100644 --- a/superset/viz.py +++ b/superset/viz.py @@ -115,6 +115,8 @@ class BaseViz: self.results: Optional[QueryResult] = None self.error_message: Optional[str] = None self.force = force + self.from_ddtm: Optional[da...
Another attempt to fix a viz.py bug (#<I>) * Another attempt to fix a viz.py bug * Add types to new ddtm attributes
py
diff --git a/ailment/converter_vex.py b/ailment/converter_vex.py index <HASH>..<HASH> 100644 --- a/ailment/converter_vex.py +++ b/ailment/converter_vex.py @@ -148,7 +148,12 @@ class VEXExprConverter(Converter): if op_name is None and op._conversion: # conversion # TODO: Finish this - ...
Add a bandaid for int-to-fp conversions. (#<I>)
py
diff --git a/tests/test_object_proxy.py b/tests/test_object_proxy.py index <HASH>..<HASH> 100644 --- a/tests/test_object_proxy.py +++ b/tests/test_object_proxy.py @@ -1176,7 +1176,7 @@ class TestObjectRepresentationObjectProxy(unittest.TestCase): number = 10 value = wrapt.ObjectProxy(number) - ...
Module context for ObjectProxy differs between pure Python and C implementation.
py
diff --git a/seed_stage_based_messaging/__init__.py b/seed_stage_based_messaging/__init__.py index <HASH>..<HASH> 100644 --- a/seed_stage_based_messaging/__init__.py +++ b/seed_stage_based_messaging/__init__.py @@ -1,2 +1,2 @@ -__version__ = '0.9.8' +__version__ = '0.9.9' VERSION = __version__
version bumnp to <I>
py
diff --git a/openquake/calculators/event_based.py b/openquake/calculators/event_based.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/event_based.py +++ b/openquake/calculators/event_based.py @@ -313,8 +313,6 @@ class EventBasedCalculator(base.HazardCalculator): rlzs_by_gsim = self.rlzs_by_gsim_...
Removed log [skip CI]
py
diff --git a/beeswarm/feeder/bees/ssh.py b/beeswarm/feeder/bees/ssh.py index <HASH>..<HASH> 100644 --- a/beeswarm/feeder/bees/ssh.py +++ b/beeswarm/feeder/bees/ssh.py @@ -46,8 +46,10 @@ class ssh(ClientBase, Commands): except (SSHException, AuthenticationFailed) as err: logging.debug('Caught excep...
actually enabled the sense decide act loop on ssh
py
diff --git a/zipline/pipeline/mixins.py b/zipline/pipeline/mixins.py index <HASH>..<HASH> 100644 --- a/zipline/pipeline/mixins.py +++ b/zipline/pipeline/mixins.py @@ -144,7 +144,11 @@ class CustomTermMixin(object): """ Override this method with a function that writes a value into `out`. """ -...
MAINT: Adding more expressive error message on CustomTermMixin
py
diff --git a/gandi/cli/commands/paas.py b/gandi/cli/commands/paas.py index <HASH>..<HASH> 100644 --- a/gandi/cli/commands/paas.py +++ b/gandi/cli/commands/paas.py @@ -167,7 +167,7 @@ def delete(gandi, background, force, resource): @click.option('--vhosts', default=None, multiple=True, help='List of virt...
Fix paas snapshot_profile option: the API need a INT
py
diff --git a/datadog_checks_dev/datadog_checks/dev/tooling/create.py b/datadog_checks_dev/datadog_checks/dev/tooling/create.py index <HASH>..<HASH> 100644 --- a/datadog_checks_dev/datadog_checks/dev/tooling/create.py +++ b/datadog_checks_dev/datadog_checks/dev/tooling/create.py @@ -20,10 +20,12 @@ from .utils import ke...
remove marketplace from type (#<I>)
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -2,7 +2,7 @@ # # This file only contains a selection of the most common options. For a full # list see the documentation: -# http://www.sphinx-doc.org/en/master/config +# https://www.sphinx-doc.org/en/master...
remove version from docs for better seo
py
diff --git a/packages/vaex-core/vaex/column.py b/packages/vaex-core/vaex/column.py index <HASH>..<HASH> 100644 --- a/packages/vaex-core/vaex/column.py +++ b/packages/vaex-core/vaex/column.py @@ -75,6 +75,9 @@ class ColumnSparse(Column): def __len__(self): return self.shape[0] + def trim(self, i1, i2)...
fix: with the dataset api we need to be able to trim sparse columns
py
diff --git a/vespa/transit_basic.py b/vespa/transit_basic.py index <HASH>..<HASH> 100644 --- a/vespa/transit_basic.py +++ b/vespa/transit_basic.py @@ -334,6 +334,8 @@ def eclipse(p0,b,aR,P=1,ecc=0,w=0,npts=100,u1=0.394,u2=0.261,width=3, dur = transit_duration(p0, P, b, aR, ecc, w*np.pi/180, sec) if np.isnan(d...
changed fit-duration window to have minimum of 2*texp
py