diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/sirmordred/_version.py b/sirmordred/_version.py index <HASH>..<HASH> 100644 --- a/sirmordred/_version.py +++ b/sirmordred/_version.py @@ -1,2 +1,2 @@ # Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440 -__version__ = "0.2.1" +__version__ = "0.2.2"
[release] Update version number to <I>
py
diff --git a/src/runcommands/util/printer.py b/src/runcommands/util/printer.py index <HASH>..<HASH> 100644 --- a/src/runcommands/util/printer.py +++ b/src/runcommands/util/printer.py @@ -93,6 +93,8 @@ class Printer: def print(self, *args, color=None, sep=" ", **kwargs): string = self.colorize(*args, col...
Ignore flush arg in Printer.print() Rich handles flushing for us. Amends f<I>b<I>b<I>b7a<I>a<I>a<I>c<I>fda5c2b<I>
py
diff --git a/frog/video_thread.py b/frog/video_thread.py index <HASH>..<HASH> 100644 --- a/frog/video_thread.py +++ b/frog/video_thread.py @@ -43,7 +43,7 @@ except AttributeError: raise ImproperlyConfigured('FROG_FFMPEG and FROG_FFPROBE are required') FROG_SCRUB_DURATION = getattr(settings, 'FROG_SCRUB_DURATION...
Added pix_fmt to fix bug in edge playback
py
diff --git a/betfairlightweight/resources/bettingresources.py b/betfairlightweight/resources/bettingresources.py index <HASH>..<HASH> 100644 --- a/betfairlightweight/resources/bettingresources.py +++ b/betfairlightweight/resources/bettingresources.py @@ -324,7 +324,9 @@ class CurrentOrder(BaseResource): 's...
customer strategy / order ref added to current and cleared don't think its returned on place requests
py
diff --git a/librosa/feature.py b/librosa/feature.py index <HASH>..<HASH> 100644 --- a/librosa/feature.py +++ b/librosa/feature.py @@ -220,6 +220,14 @@ def chromagram(S, sr, method='Ellis', norm='inf', beat_times=None, tuning=0.0, # Extract loudness-based chroma # FIXME: 2013-09-25 17:25:12 by Brian ...
feature.py - added comments to explain magic numbers
py
diff --git a/pyzotero/zotero.py b/pyzotero/zotero.py index <HASH>..<HASH> 100644 --- a/pyzotero/zotero.py +++ b/pyzotero/zotero.py @@ -11,6 +11,7 @@ License: http://www.gnu.org/licenses/gpl-3.0.txt __version__ = '0.6.7' + import urllib import urllib2 import socket
Just adding a blank line, nothing to see here
py
diff --git a/twine/commands/upload.py b/twine/commands/upload.py index <HASH>..<HASH> 100644 --- a/twine/commands/upload.py +++ b/twine/commands/upload.py @@ -83,7 +83,7 @@ def find_dists(dists): if not files: raise ValueError( "Cannot find file (or expand pattern): '%s'" % filena...
Put back indentation removed by pycharm
py
diff --git a/ev3dev/core.py b/ev3dev/core.py index <HASH>..<HASH> 100644 --- a/ev3dev/core.py +++ b/ev3dev/core.py @@ -62,7 +62,7 @@ INPUT_AUTO = '' OUTPUT_AUTO = '' # Keep the __version__ in sync with the package version in debian/changelog -__version___ = '0.7.0' +__version__ = '0.7.0' # ----------------------...
Getting version number of installed library (fixed typo)
py
diff --git a/keanu-python/keanu/context.py b/keanu-python/keanu/context.py index <HASH>..<HASH> 100644 --- a/keanu-python/keanu/context.py +++ b/keanu-python/keanu/context.py @@ -45,9 +45,6 @@ class KeanuContext(metaclass=Singleton): def jvm_view(self): return self._gateway.new_jvm_view() - def list_...
Remove unused method in KeanuContext
py
diff --git a/google/api/control/compat.py b/google/api/control/compat.py index <HASH>..<HASH> 100644 --- a/google/api/control/compat.py +++ b/google/api/control/compat.py @@ -1,5 +1,25 @@ +# Copyright 2017 Google Inc. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may ...
Exclude compat.py from linting.
py
diff --git a/gbdxtools/images/ipe_image.py b/gbdxtools/images/ipe_image.py index <HASH>..<HASH> 100644 --- a/gbdxtools/images/ipe_image.py +++ b/gbdxtools/images/ipe_image.py @@ -52,6 +52,10 @@ class IpeImage(GeoDaskImage): _default_proj = "EPSG:4326" def __new__(cls, op, **kwargs): + if op is not No...
missing the graph logic in ipe_image
py
diff --git a/sphviewer/Render.py b/sphviewer/Render.py index <HASH>..<HASH> 100644 --- a/sphviewer/Render.py +++ b/sphviewer/Render.py @@ -4,7 +4,6 @@ import numpy as np import matplotlib.pyplot as plt import os import colorsys -import Image PROJECT_ROOT = os.path.abspath(os.path.dirname(__file__))
I removed "import Image" because I am not using it anymore
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,13 +1,8 @@ from setuptools import setup, find_packages -# Read in the version number -__version__ = None # This makes linters happy -with open('conference_scheduler/version.py', 'r') as f: - exec(f.read()) - setup( ...
[#<I>] Use static version number in setup.py
py
diff --git a/sentry_sdk/integrations/_wsgi_common.py b/sentry_sdk/integrations/_wsgi_common.py index <HASH>..<HASH> 100644 --- a/sentry_sdk/integrations/_wsgi_common.py +++ b/sentry_sdk/integrations/_wsgi_common.py @@ -21,6 +21,7 @@ SENSITIVE_ENV_KEYS = ( "HTTP_SET_COOKIE", "HTTP_COOKIE", "HTTP_AUTHORIZA...
Treat x-api-key header as sensitive (#<I>)
py
diff --git a/AlphaTwirl/ProgressBar/ProgressReport.py b/AlphaTwirl/ProgressBar/ProgressReport.py index <HASH>..<HASH> 100755 --- a/AlphaTwirl/ProgressBar/ProgressReport.py +++ b/AlphaTwirl/ProgressBar/ProgressReport.py @@ -2,19 +2,16 @@ ##____________________________________________________________________________||...
update docstring in ProgressReport
py
diff --git a/src/towncrier/check.py b/src/towncrier/check.py index <HASH>..<HASH> 100644 --- a/src/towncrier/check.py +++ b/src/towncrier/check.py @@ -52,7 +52,7 @@ def __main(comparewith, directory, config): raise if not files_changed: - click.echo("On trunk, or no diffs, so no newsfragment requ...
Remove hardcoded "trunk" branch name from info message.
py
diff --git a/noseselenium/plugins.py b/noseselenium/plugins.py index <HASH>..<HASH> 100644 --- a/noseselenium/plugins.py +++ b/noseselenium/plugins.py @@ -53,8 +53,11 @@ def _setup_test_db(): test_db_name = _get_test_db_name(connection) connection.settings_dict['NAME'] = test_db_name - can_ro...
Django <I> compatibility fix: connection.creation._can_rollback() is not available in <I>
py
diff --git a/tests/test_guild.py b/tests/test_guild.py index <HASH>..<HASH> 100644 --- a/tests/test_guild.py +++ b/tests/test_guild.py @@ -58,7 +58,7 @@ class GuildTest(unittest.TestCase): character = guild.get_leader() - self.assertRegexpMatches(character.get_full_class_name(), r'^Feral Combat Drui...
Sejta has changed it's primary spec.
py
diff --git a/tests/test_dj.py b/tests/test_dj.py index <HASH>..<HASH> 100644 --- a/tests/test_dj.py +++ b/tests/test_dj.py @@ -183,6 +183,16 @@ class DjangoResourceTestCase(unittest.TestCase): with self.assertRaises(Unauthorized): self.res.handle('list') + # Now with DEBUG off. + s...
Added tests covering the behavior from #4.
py
diff --git a/ncbi_genome_download/core.py b/ncbi_genome_download/core.py index <HASH>..<HASH> 100644 --- a/ncbi_genome_download/core.py +++ b/ncbi_genome_download/core.py @@ -350,7 +350,8 @@ def parse_summary(summary_file): return SummaryReader(summary_file) -def downloadjob_creator_caller(args): +def download...
chore: Add docstring and coverage skip to `downloadjob_creator_caller`
py
diff --git a/mapclassify.py b/mapclassify.py index <HASH>..<HASH> 100644 --- a/mapclassify.py +++ b/mapclassify.py @@ -1853,6 +1853,13 @@ def fj(x, k=5): def opt_part(x): """ Find optimal bi-partition of x values + + Parameters + ----------- + + x : array (n,1) + Array of attribute values + ...
Added missing argument definition to opt_part
py
diff --git a/tests/plugins/test_bugzilla.py b/tests/plugins/test_bugzilla.py index <HASH>..<HASH> 100644 --- a/tests/plugins/test_bugzilla.py +++ b/tests/plugins/test_bugzilla.py @@ -11,7 +11,7 @@ CONFIG = """ [bz] type = bugzilla prefix = BZ -url = https://bugzilla.redhat.com/xmlrpc.cgi +url = https://partner-bugzi...
Let's use partner-bugzilla instance for testing
py
diff --git a/spacy/cli/train.py b/spacy/cli/train.py index <HASH>..<HASH> 100644 --- a/spacy/cli/train.py +++ b/spacy/cli/train.py @@ -53,7 +53,8 @@ def train(lang_id, output_dir, train_data, dev_data, n_iter, n_sents, golds = list(golds) nlp.update(docs, golds, drop=dropout, sgd=optim...
Use averaged params for evaluation
py
diff --git a/scanpy/data_structs/data_graph.py b/scanpy/data_structs/data_graph.py index <HASH>..<HASH> 100644 --- a/scanpy/data_structs/data_graph.py +++ b/scanpy/data_structs/data_graph.py @@ -237,6 +237,7 @@ class DataGraph(): else: self.k = None # currently do not store this, is unkno...
fixed bug in init of data graph
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ setup( url='https://github.com/bitprophet/botox', packages=["botox"], - install_requires=["boto>=2.0", "prettytable", "decorator>=3.0"], + install_requires=["boto>=2.0", "decorator>=3.0"], ...
Nuke PrettyTable for now, should be optional
py
diff --git a/saharaclient/api/job_binaries.py b/saharaclient/api/job_binaries.py index <HASH>..<HASH> 100644 --- a/saharaclient/api/job_binaries.py +++ b/saharaclient/api/job_binaries.py @@ -25,7 +25,14 @@ class JobBinariesManager(base.ResourceManager): def create(self, name, url, description=None, extra=None, i...
Properly document job binary "extra" After bp sahara-support-s3 the use of the "extra" parameter is not only for binaries stored in Swift. So, modify some docstrings (which are in turn included in the actual docs) to reflect this. Change-Id: I<I>fce<I>a7d<I>d<I>f<I>e9a8b1d8ebb6ec1
py
diff --git a/scripts/run.py b/scripts/run.py index <HASH>..<HASH> 100755 --- a/scripts/run.py +++ b/scripts/run.py @@ -1434,8 +1434,6 @@ def signal_handler(signum, stackframe): print("SIGNAL CAUGHT (" + str(signum) + "). TEARING DOWN CLOUDS.") print("") print("-------------------------------------------...
Don't print an extra summary report on a signal.
py
diff --git a/rest_framework_gis/serializers.py b/rest_framework_gis/serializers.py index <HASH>..<HASH> 100644 --- a/rest_framework_gis/serializers.py +++ b/rest_framework_gis/serializers.py @@ -49,7 +49,7 @@ class GeoFeatureModelSerializer(GeoModelSerializer): # if 'fields' are declared, make sure it incl...
allow for list or tuple of field names
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 @@ -34,6 +34,7 @@ class DraggableTabBar(TabBar): self._pos = QtCore.QPoint()...
Fix pyQode/pyQode#<I> (set elide mode to None)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -25,7 +25,6 @@ requirements = [ "numba", "pandas>=0.23", "cftime>=1.2.0", - "netCDF4>=1.4", "dask[array]>=2.6", "pint>=0.9", "bottleneck~=1.3.1",
Remove explicitly installed netCDF4 from requirements
py
diff --git a/uwsgiconf/base.py b/uwsgiconf/base.py index <HASH>..<HASH> 100644 --- a/uwsgiconf/base.py +++ b/uwsgiconf/base.py @@ -24,7 +24,13 @@ class Options(object): """ key = self.opt_type.__name__ - options_obj = section._options_objects.get(key) + try: + options_obj = ...
Enabled easy access to option group static params.
py
diff --git a/epitopes/mutate.py b/epitopes/mutate.py index <HASH>..<HASH> 100644 --- a/epitopes/mutate.py +++ b/epitopes/mutate.py @@ -82,7 +82,7 @@ def get_mutation_region( def mutate_protein_from_transcript( - transcript_seq, position, ref, alt, min_padding = 8): + transcript_seq, position, ref, al...
added max_length param to mutate
py
diff --git a/tests/test_cli.py b/tests/test_cli.py index <HASH>..<HASH> 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -151,7 +151,7 @@ def test_down_no_app(delete, runner): with runner.isolated_filesystem(): result = runner.invoke(cli, ['down']) - assert delete.called == False + assert...
== False -> is False
py
diff --git a/arguments/__init__.py b/arguments/__init__.py index <HASH>..<HASH> 100644 --- a/arguments/__init__.py +++ b/arguments/__init__.py @@ -335,7 +335,7 @@ class Arguments(object): for line in doc.split("\n"): if cmdbuffering is True: - ls = line.strip().split(" ") + ...
guestbook Monday <I> April <I> (week:<I> day:<I>), <I>:<I>:<I>
py
diff --git a/validate/validator.py b/validate/validator.py index <HASH>..<HASH> 100644 --- a/validate/validator.py +++ b/validate/validator.py @@ -889,7 +889,7 @@ def rule_type(field): str(option_value.double) or str(option_value.uint32) or str(option_value.uint64) or \ ...
Fix "SyntaxWarning: "is not" with a literal. Did you mean "!="?" (#<I>)
py
diff --git a/master/buildbot/status/web/base.py b/master/buildbot/status/web/base.py index <HASH>..<HASH> 100644 --- a/master/buildbot/status/web/base.py +++ b/master/buildbot/status/web/base.py @@ -53,7 +53,6 @@ class IHTMLLog(Interface): css_classes = {SUCCESS: "success", WARNINGS: "warnings", ...
Reverts one change from commit 6d<I>ea<I>a<I>f<I>a9d3b<I>a8d6a<I>dd3.
py
diff --git a/tests/test_fits_image.py b/tests/test_fits_image.py index <HASH>..<HASH> 100644 --- a/tests/test_fits_image.py +++ b/tests/test_fits_image.py @@ -58,6 +58,22 @@ def test_get_beam(): assert beam is None +def test_fix_aips_header(): + header = fits.getheader('tests/test_files/1904-66_SIN.fits') +...
add test for fix_aips_header
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -84,7 +84,7 @@ html_theme = 'alabaster' # further. For a list of options available for each theme, see the # documentation. html_theme_options = { - 'github_user': 'jeremycline', + 'github_user': 'fed...
Change the GitHub user in the documentation project
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ setup( 'Intended Audience :: Developers', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', - 'Programming Language :: Python :: 3.3', + 'Pr...
Fix wrong Python version in setup.py
py
diff --git a/rewind/rewind.py b/rewind/rewind.py index <HASH>..<HASH> 100644 --- a/rewind/rewind.py +++ b/rewind/rewind.py @@ -18,7 +18,7 @@ import rewind.eventstores as eventstores logger = logging.getLogger(__name__) -class IdGenerator: +class _IdGenerator: """Generates unique strings.""" def __init__(...
Rename `IdGenerator` to `_IdGenerator` It is only used within the same module. This follows PEP8 better.
py
diff --git a/zipline/utils/test_utils.py b/zipline/utils/test_utils.py index <HASH>..<HASH> 100644 --- a/zipline/utils/test_utils.py +++ b/zipline/utils/test_utils.py @@ -26,10 +26,8 @@ def check_list(test, a, b, label): def check_dict(test, a, b, label): test.assertTrue(isinstance(a, dict)) test.assertTrue(...
TST: When comparing dicts, ensure they have the same keys. dict 'b' might have more keys.
py
diff --git a/DFA.py b/DFA.py index <HASH>..<HASH> 100644 --- a/DFA.py +++ b/DFA.py @@ -272,9 +272,37 @@ def dfa_reachable(dfa): return dfa + # remove states that do not reach a final state from dfa def dfa_co_reachable(dfa): - return False + # TODO handle side-effect + # set of states reaching final...
first implementation of dfa_co_reachable
py
diff --git a/spyder/widgets/calltip.py b/spyder/widgets/calltip.py index <HASH>..<HASH> 100644 --- a/spyder/widgets/calltip.py +++ b/spyder/widgets/calltip.py @@ -118,8 +118,12 @@ class CallTipWidget(QLabel): """ Reimplemented to disconnect signal handlers and event filter. """ super(CallTipW...
Calltip: Catch an error when disconnecting a signal
py
diff --git a/bibliopixel/animation/collection.py b/bibliopixel/animation/collection.py index <HASH>..<HASH> 100644 --- a/bibliopixel/animation/collection.py +++ b/bibliopixel/animation/collection.py @@ -13,6 +13,7 @@ class Collection(animation.BaseAnimation): # Override to handle all the animations def clea...
Collection/Sequence could start next before dying
py
diff --git a/rtwilio/__init__.py b/rtwilio/__init__.py index <HASH>..<HASH> 100644 --- a/rtwilio/__init__.py +++ b/rtwilio/__init__.py @@ -1,4 +1,4 @@ "Twilio backend for the RapidSMS project." -__version__ = '1.0.0dev' +__version__ = '1.0.0dev0'
Tox doesn't like this version number.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ setup(name='ftw', keywords=['waf'], install_requires=[ 'IPy', - 'pytest', + 'pytest=2.9.1', 'PyYAML' ], )
Pin pytest in setup.py
py
diff --git a/swaggery/application.py b/swaggery/application.py index <HASH>..<HASH> 100644 --- a/swaggery/application.py +++ b/swaggery/application.py @@ -21,8 +21,8 @@ from .checker import main as check_and_load # the installed version of "swaggery"] from .introspection import introspection -# Note that the follow...
Added http method to log, indentation
py
diff --git a/tornado/web.py b/tornado/web.py index <HASH>..<HASH> 100644 --- a/tornado/web.py +++ b/tornado/web.py @@ -1337,7 +1337,7 @@ class Application(object): self.handlers.append((re.compile(host_pattern), handlers)) for spec in host_handlers: - if isinstance(spec, type(())): + ...
update the statement of testing if a handler is a list or tuple
py
diff --git a/versions/models.py b/versions/models.py index <HASH>..<HASH> 100644 --- a/versions/models.py +++ b/versions/models.py @@ -755,7 +755,13 @@ class VersionedReverseManyRelatedObjectsDescriptor(ReverseManyRelatedObjectsDesc filter = Q(**{relation_manager.source_field.attname: instance.pk}) ...
Django <I> compatibility fix for m2m direct assignment
py
diff --git a/rest_registration/api/views/register_email.py b/rest_registration/api/views/register_email.py index <HASH>..<HASH> 100644 --- a/rest_registration/api/views/register_email.py +++ b/rest_registration/api/views/register_email.py @@ -1,3 +1,4 @@ +from django.contrib.auth import get_user_model from django.http...
Add check for email is assigned with other user or not before sending register email link. (#<I>)
py
diff --git a/emailit/__init__.py b/emailit/__init__.py index <HASH>..<HASH> 100644 --- a/emailit/__init__.py +++ b/emailit/__init__.py @@ -1,2 +1,2 @@ # -*- coding: utf-8 -*- -__version__ = '0.1a5' +__version__ = '0.2'
version bump to <I> because the new pip is bitchy about alpha versions
py
diff --git a/UWG/utilities.py b/UWG/utilities.py index <HASH>..<HASH> 100644 --- a/UWG/utilities.py +++ b/UWG/utilities.py @@ -25,18 +25,6 @@ def read_csv(file_name_): def is_near_zero(num, eps=1e-10): return abs(num) < eps -def sign(x): - """ https://docs.scipy.org/doc/numpy-1.13.0/reference/generated/numpy...
Get rid of unused sign() utilities method.
py
diff --git a/src/metpy/calc/thermo.py b/src/metpy/calc/thermo.py index <HASH>..<HASH> 100644 --- a/src/metpy/calc/thermo.py +++ b/src/metpy/calc/thermo.py @@ -416,10 +416,6 @@ def lcl(pressure, temperature, dewpoint, max_iters=50, eps=1e-5): The function is guaranteed to finish by virtue of the `max_iters` count...
DOC: Remove incorrect 1D note from lcl docs (Fixes #<I>) lcl actually works just fine on grids.
py
diff --git a/salt/utils/win_dacl.py b/salt/utils/win_dacl.py index <HASH>..<HASH> 100644 --- a/salt/utils/win_dacl.py +++ b/salt/utils/win_dacl.py @@ -1133,7 +1133,7 @@ def get_name(principal): try: return win32security.LookupAccountSid(None, sid_obj)[0] - except TypeError: + except (pywintypes.er...
Fix traceback and incorrect message when resolving an unresolvable SID
py
diff --git a/rdp/__init__.py b/rdp/__init__.py index <HASH>..<HASH> 100644 --- a/rdp/__init__.py +++ b/rdp/__init__.py @@ -13,7 +13,7 @@ import numpy as np def pldist(x0, x1, x2): """ - Calculates the distance from the point ``x1`` to the line given + Calculates the distance from the point ``x0`` to the l...
Fixed typo (x1=>x0)
py
diff --git a/server/apps/core/admin.py b/server/apps/core/admin.py index <HASH>..<HASH> 100755 --- a/server/apps/core/admin.py +++ b/server/apps/core/admin.py @@ -109,6 +109,7 @@ class ProjectProcAdmin(admin.ModelAdmin): readonly_fields = ("is_running", "get_raw_safe", "get_template") def save_model(self, r...
first save data and then send signal to create it
py
diff --git a/Lib/fontParts/base/bPoint.py b/Lib/fontParts/base/bPoint.py index <HASH>..<HASH> 100644 --- a/Lib/fontParts/base/bPoint.py +++ b/Lib/fontParts/base/bPoint.py @@ -290,13 +290,22 @@ class BaseBPoint( """ point = self._point typ = point.type + bType = None if point.s...
bPoint curve type only for smooth points where the current of next segment is a curve
py
diff --git a/jumeaux/models.py b/jumeaux/models.py index <HASH>..<HASH> 100644 --- a/jumeaux/models.py +++ b/jumeaux/models.py @@ -139,7 +139,7 @@ class Response(OwlMixin): return Response.from_dict({ 'body': res.content, 'encoding': res.encoding, - 'text': res.text, + ...
:arrow_upper_right: Fix performance issue (requests.text is slow)
py
diff --git a/setuptools/tests/test_packageindex.py b/setuptools/tests/test_packageindex.py index <HASH>..<HASH> 100644 --- a/setuptools/tests/test_packageindex.py +++ b/setuptools/tests/test_packageindex.py @@ -7,6 +7,7 @@ import distutils.errors from setuptools.extern import six from setuptools.extern.six.moves impo...
Assert that warning is raised with svn downloads This both prevents the warning from surfacing during the tests and ensures that no regressions occur.
py
diff --git a/path/__init__.py b/path/__init__.py index <HASH>..<HASH> 100644 --- a/path/__init__.py +++ b/path/__init__.py @@ -58,7 +58,7 @@ from . import matchers from .py37compat import best_realpath -__all__ = ['Path', 'TempDir', 'CaseInsensitivePattern'] +__all__ = ['Path', 'TempDir'] LINESEPS = ['\r\n', ...
Remove CaseInsensitivePattern from __all__. Ref #<I>.
py
diff --git a/placebo/utils.py b/placebo/utils.py index <HASH>..<HASH> 100644 --- a/placebo/utils.py +++ b/placebo/utils.py @@ -3,8 +3,6 @@ import boto3 import os import functools -PLACEBO_DIR = os.path.join(os.path.dirname(__file__), 'placebo') - def placebo_session(function): """ @@ -14,6 +12,7 @@ def plac...
placebo_dir environment variable instead of __file__
py
diff --git a/master/buildbot/sourcestamp.py b/master/buildbot/sourcestamp.py index <HASH>..<HASH> 100644 --- a/master/buildbot/sourcestamp.py +++ b/master/buildbot/sourcestamp.py @@ -276,9 +276,6 @@ class SourceStamp(util.ComparableMixin, styles.Versioned): def upgradeToVersion3(self): #In version 2 sou...
sourcestampsetid removed from pickle again
py
diff --git a/src/spead2/tools/bench_asyncio.py b/src/spead2/tools/bench_asyncio.py index <HASH>..<HASH> 100644 --- a/src/spead2/tools/bench_asyncio.py +++ b/src/spead2/tools/bench_asyncio.py @@ -83,7 +83,8 @@ class AgentConnection: thread_pool = spead2.ThreadPool() memory_pool ...
Fix a line-too-long from flake8
py
diff --git a/imgaug/augmenters/size.py b/imgaug/augmenters/size.py index <HASH>..<HASH> 100644 --- a/imgaug/augmenters/size.py +++ b/imgaug/augmenters/size.py @@ -1416,7 +1416,6 @@ class CropToFixedSize(Augmenter): offset_xs, offset_ys = self._draw_samples(nb_images, random_state) for i in sm.xrange(n...
Allow all dtypes in CropToFixedSize
py
diff --git a/game.py b/game.py index <HASH>..<HASH> 100644 --- a/game.py +++ b/game.py @@ -506,7 +506,15 @@ class Game(object): elif self.control_state[Control.SwitchToLazer]: self.equipped_gun = Control.SwitchToLazer - arm_animation = self.animations.get(negate + self.gun_animations[self...
fix the wrong animation shown for grapple gun
py
diff --git a/update_dotdee/__init__.py b/update_dotdee/__init__.py index <HASH>..<HASH> 100644 --- a/update_dotdee/__init__.py +++ b/update_dotdee/__init__.py @@ -41,7 +41,7 @@ from property_manager import ( from six.moves import configparser # Semi-standard module versioning. -__version__ = '4.0' +__version__ = '5...
Release <I>: Support *.ini configuration file loading
py
diff --git a/pyemu/pst/pst_handler.py b/pyemu/pst/pst_handler.py index <HASH>..<HASH> 100644 --- a/pyemu/pst/pst_handler.py +++ b/pyemu/pst/pst_handler.py @@ -1,6 +1,7 @@ from __future__ import print_function, division import os import copy +import warnings import numpy as np import pandas as pd pd.options.displa...
added depreciation warnings to par_data() and obs_data() property methods in pst_handler.
py
diff --git a/wda/__init__.py b/wda/__init__.py index <HASH>..<HASH> 100644 --- a/wda/__init__.py +++ b/wda/__init__.py @@ -126,7 +126,7 @@ def _is_tmq_platform() -> bool: def _is_session_id_error(value: Union[str, dict]): if isinstance(value, dict): # 新版WDA逻辑 - error = value['error'] + error = va...
hot fix, i do not know why
py
diff --git a/galpy/util/bovy_conversion.py b/galpy/util/bovy_conversion.py index <HASH>..<HASH> 100644 --- a/galpy/util/bovy_conversion.py +++ b/galpy/util/bovy_conversion.py @@ -567,11 +567,13 @@ def physical_conversion(quantity,pop=False): fac= freq_in_Gyr(vo,ro)**2. if _APY_...
Just return None rather than physical when the result is None
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -130,17 +130,17 @@ kw = {'name': "pyscard", }, 'classifiers': [ - 'Development Status :: 5 - Release', + 'Development Status :: 5 - Production/Stable', 'License :: OSI Approve...
setup.py: fix classifiers to conform to pypi Some values have been renamed or removed.
py
diff --git a/hwt/hdl/assignment.py b/hwt/hdl/assignment.py index <HASH>..<HASH> 100644 --- a/hwt/hdl/assignment.py +++ b/hwt/hdl/assignment.py @@ -117,11 +117,10 @@ class Assignment(HdlStatement): return isinstance(other, self.__class__) def isSame(self, other): - # [TODO] indexes if isi...
fix indexes care in Assignment.isSame
py
diff --git a/mutant/__init__.py b/mutant/__init__.py index <HASH>..<HASH> 100644 --- a/mutant/__init__.py +++ b/mutant/__init__.py @@ -1,5 +1,5 @@ import logging -__version__ = VERSION = (0, 0, 1) +__version__ = VERSION = (0, 0, 2) logger = logging.getLogger('mutant')
Bumped version number to <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -66,8 +66,6 @@ setup( 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3.5',...
setup.py: Drop leftover classifiers (#<I>, #<I>)
py
diff --git a/master/buildbot/test/unit/test_stats_service.py b/master/buildbot/test/unit/test_stats_service.py index <HASH>..<HASH> 100644 --- a/master/buildbot/test/unit/test_stats_service.py +++ b/master/buildbot/test/unit/test_stats_service.py @@ -179,7 +179,7 @@ class TestInfluxDB(TestStatsServicesBase, logging.Log...
pylint: fix comparison with None
py
diff --git a/winbuildtest.py b/winbuildtest.py index <HASH>..<HASH> 100644 --- a/winbuildtest.py +++ b/winbuildtest.py @@ -172,7 +172,7 @@ def main(): setup(tarball_name) untar(tarball_path) move_source_to_gopath(tarball_name) - build_client() + build_client(JUJU_CMD_DIR, GO_CMD...
Fixed args to build_client.
py
diff --git a/esgfpid/connector.py b/esgfpid/connector.py index <HASH>..<HASH> 100644 --- a/esgfpid/connector.py +++ b/esgfpid/connector.py @@ -306,7 +306,7 @@ class Connector(object): # Check if data node is given if self.__data_node is None: - msg = 'No data_node given (but it is mandato...
Typo in logging, added log statement.
py
diff --git a/salt/utils/event.py b/salt/utils/event.py index <HASH>..<HASH> 100644 --- a/salt/utils/event.py +++ b/salt/utils/event.py @@ -20,6 +20,7 @@ import hashlib import errno import logging import multiprocessing +from multiprocessing import Process # Import Third Party libs import zmq @@ -159,8 +160,7 @@ ...
Fix a weird `NameError` issue.
py
diff --git a/spead2/test/test_passthrough_trollius.py b/spead2/test/test_passthrough_trollius.py index <HASH>..<HASH> 100644 --- a/spead2/test/test_passthrough_trollius.py +++ b/spead2/test/test_passthrough_trollius.py @@ -76,8 +76,7 @@ class TestPassthroughUdpCustomSocket(BaseTestPassthroughAsync): @trollius.coro...
USe <I> instead of localhost Hoping that this will fix one of the OS X Travis issues
py
diff --git a/jujupy.py b/jujupy.py index <HASH>..<HASH> 100644 --- a/jujupy.py +++ b/jujupy.py @@ -174,7 +174,7 @@ class EnvJujuClient: # As described in bug #1538735, default-series and --bootstrap-series must # match. 'series' should be here, but is omitted so that default-series # is always forced to...
Remove bootstrap-host from bootstrap_supports.
py
diff --git a/salt/modules/mdadm.py b/salt/modules/mdadm.py index <HASH>..<HASH> 100644 --- a/salt/modules/mdadm.py +++ b/salt/modules/mdadm.py @@ -205,11 +205,15 @@ def create(name, For more info, read the ``mdadm(8)`` manpage ''' opts = [] + raid_devices = len(devices) + for key in kwargs: ...
correctly count raid devices when creating an array with spares
py
diff --git a/maildump/__init__.py b/maildump/__init__.py index <HASH>..<HASH> 100644 --- a/maildump/__init__.py +++ b/maildump/__init__.py @@ -18,12 +18,12 @@ socketio_server = None def start(http_host, http_port, smtp_host, smtp_port, db_path=None): global socketio_server # Webserver - log.debug('Startin...
Show used host/port in console output
py
diff --git a/test/temporalcommunity/test_allegiance.py b/test/temporalcommunity/test_allegiance.py index <HASH>..<HASH> 100644 --- a/test/temporalcommunity/test_allegiance.py +++ b/test/temporalcommunity/test_allegiance.py @@ -20,7 +20,7 @@ def test_allegiance(): C = len(community[0]) P = allegience(N,C,com...
Update test_allegiance.py Added comment about the nature of the answeers tested (so we know where those numbers come from in the future)
py
diff --git a/satpy/tests/test_scene.py b/satpy/tests/test_scene.py index <HASH>..<HASH> 100644 --- a/satpy/tests/test_scene.py +++ b/satpy/tests/test_scene.py @@ -168,6 +168,21 @@ class TestScene(unittest.TestCase): reader_kwargs=None, ...
Test that filter_parameters isn't passed to the filehandlers
py
diff --git a/chainerui/__init__.py b/chainerui/__init__.py index <HASH>..<HASH> 100644 --- a/chainerui/__init__.py +++ b/chainerui/__init__.py @@ -4,9 +4,11 @@ import os from alembic.command import upgrade from alembic.config import Config from flask import Flask +from flask import jsonify from flask import render_...
fix project API to return status <I> when db is not created
py
diff --git a/salt/output/json_out.py b/salt/output/json_out.py index <HASH>..<HASH> 100644 --- a/salt/output/json_out.py +++ b/salt/output/json_out.py @@ -21,9 +21,11 @@ def output(data): Print the output data in JSON ''' try: - if 'output_indent' in __opts__ and __opts__['output_indent'] >= 0: - ...
Don't break previous behaviour. Default `json` indentation is 4.
py
diff --git a/tools/harness-thci/OpenThread_WpanCtl.py b/tools/harness-thci/OpenThread_WpanCtl.py index <HASH>..<HASH> 100644 --- a/tools/harness-thci/OpenThread_WpanCtl.py +++ b/tools/harness-thci/OpenThread_WpanCtl.py @@ -419,7 +419,7 @@ class OpenThread_WpanCtl(IThci): """ print 'call __setRouterDow...
[thci] fix warning when set downgrade threshold for ncp device (#<I>)
py
diff --git a/flask_unchained/bundles/sqlalchemy/base_model.py b/flask_unchained/bundles/sqlalchemy/base_model.py index <HASH>..<HASH> 100644 --- a/flask_unchained/bundles/sqlalchemy/base_model.py +++ b/flask_unchained/bundles/sqlalchemy/base_model.py @@ -139,3 +139,28 @@ class BaseModel(FlaskSQLAlchemyBaseModel): ...
implement __eq__ and __ne__ methods on BaseModel
py
diff --git a/example/article/admin.py b/example/article/admin.py index <HASH>..<HASH> 100644 --- a/example/article/admin.py +++ b/example/article/admin.py @@ -25,6 +25,7 @@ class ArticleAdmin(TranslatableAdmin): # The 'language_column' is provided by the base class: list_display = ('title', 'language_column...
Add list_filter to example ArticleAdmin When using a list filter and then adding or editing an object the language GET parameter goes missing causing the wrong translation to be edited.
py
diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index <HASH>..<HASH> 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -532,7 +532,7 @@ class Client: chunk = f.read(512 * 1024) if not chunk: - md5_sum = md5_sum...
Fix file uploading for Python < <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -42,7 +42,7 @@ install_requires = [ ] setup( - name='djangocms-shiny-app', + name='djangocms-lab-carousel', version='0.1.0', packages=['cms_lab_carousel'], include_package_data=True,
Correct app name in setup.py
py
diff --git a/tests/test_reference.py b/tests/test_reference.py index <HASH>..<HASH> 100644 --- a/tests/test_reference.py +++ b/tests/test_reference.py @@ -17,9 +17,11 @@ from .utils import dedent class ReferencedDoc(Document): name = fields.StringField() + class ReferencedDocWithUniqueField(Document): nam...
Linebreaks to keep linter happy.
py
diff --git a/core/sawtooth/cli/__init__.py b/core/sawtooth/cli/__init__.py index <HASH>..<HASH> 100644 --- a/core/sawtooth/cli/__init__.py +++ b/core/sawtooth/cli/__init__.py @@ -14,4 +14,4 @@ # ------------------------------------------------------------------------------ -__all__ = ['main'] +__all__ = []
Remove 'main' from __all__ This fixes the documentation build.
py
diff --git a/gifi/queue.py b/gifi/queue.py index <HASH>..<HASH> 100644 --- a/gifi/queue.py +++ b/gifi/queue.py @@ -18,7 +18,7 @@ def _pop(): except GitCommandError: raise CommandException('Unable to pop automatically. Resolve conflicts then run queue-pop-finish.') else: - ...
Do not raise git exception when unable to
py
diff --git a/benchexec/tablegenerator/columns.py b/benchexec/tablegenerator/columns.py index <HASH>..<HASH> 100644 --- a/benchexec/tablegenerator/columns.py +++ b/benchexec/tablegenerator/columns.py @@ -171,7 +171,8 @@ class Column(object): return value # Apply the scale factor to the value - ...
Fix bug in table generator: Check whether scale factor was defined
py
diff --git a/twx/botapi/botapi.py b/twx/botapi/botapi.py index <HASH>..<HASH> 100644 --- a/twx/botapi/botapi.py +++ b/twx/botapi/botapi.py @@ -1399,7 +1399,7 @@ class TelegramBot: self._bot_user = response def update_bot_info(self): - return self.get_me(callback=self._update_bot_info) + re...
Fix warning about deprecated usage Fix for "WARNING: callback is deprecated in favor of on_success"
py
diff --git a/treeherder/log_parser/tasks.py b/treeherder/log_parser/tasks.py index <HASH>..<HASH> 100644 --- a/treeherder/log_parser/tasks.py +++ b/treeherder/log_parser/tasks.py @@ -40,6 +40,11 @@ def parse_json_log(project, job_log_url, job_guid, check_errors=False): """ Apply the Structured Log Fault Forma...
Bug <I> - Temporarily disable the parse-json-log task Since it is taking <I>x longer than it did previously and is causing backlogs in the standard log parsing tasks too.
py
diff --git a/src/nmi/builds/genbuild.py b/src/nmi/builds/genbuild.py index <HASH>..<HASH> 100755 --- a/src/nmi/builds/genbuild.py +++ b/src/nmi/builds/genbuild.py @@ -5,10 +5,10 @@ import os import sys import commands -import nmiOpts +from glue import nmi.opts # define common options (e.g., -v -q -h) -parser = n...
change from cwd lib import of nmiOpts to new glue.nmi.opts module
py
diff --git a/master/buildbot/steps/shell.py b/master/buildbot/steps/shell.py index <HASH>..<HASH> 100644 --- a/master/buildbot/steps/shell.py +++ b/master/buildbot/steps/shell.py @@ -112,7 +112,7 @@ class ShellCommand(buildstep.LoggingBuildStep): # ShellCommand class is directly instantiated. ...
check that command kwarg is specified + add check to WarningCountingShellCommand
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -28,6 +28,6 @@ setup( ], url='http://github.com/parallels/artifactory', download_url='http://github.com/parallels/artifactory', - install_requires=['pathlib', 'dateutil'], + install_requires=['pathlib', 'p...
fix broken dependency on python-dateutil
py
diff --git a/optlang/cplex_interface.py b/optlang/cplex_interface.py index <HASH>..<HASH> 100644 --- a/optlang/cplex_interface.py +++ b/optlang/cplex_interface.py @@ -470,7 +470,7 @@ class Configuration(interface.MathematicalProgrammingConfiguration): def flush(self): self.logger.debug(sel...
refactor: set cplex logger name (#<I>) cplex_interface.Configuration was setting the root logger level to CRITICAL which silences most other logging output across the process.
py