diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -8,6 +8,7 @@ from __pkginfo__ import \ scripts, short_desc, tests_require, \ VERSION, web, zip_safe +from setuptools import setup setup( author ...
Reinstate inadventently dropped import
py
diff --git a/tests/utils.py b/tests/utils.py index <HASH>..<HASH> 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -68,7 +68,7 @@ def check_client_method(): response = Mock() response.status = 200 http.request = Mock(return_value=( - response, json.dumps(returned_object))) + resp...
the response from httplib2 is now bytes, not str
py
diff --git a/ulid/__init__.py b/ulid/__init__.py index <HASH>..<HASH> 100644 --- a/ulid/__init__.py +++ b/ulid/__init__.py @@ -7,6 +7,12 @@ :copyright: (c) 2017 Andrew Hawker. :license: Apache 2.0, see LICENSE for more details. """ +from . import api +from .api import * +from . import ulid +from .ulid import...
Expose api and ulid modules as package interface.
py
diff --git a/test_copier.py b/test_copier.py index <HASH>..<HASH> 100644 --- a/test_copier.py +++ b/test_copier.py @@ -65,6 +65,15 @@ def test_copy_dir(reporter): shutil.rmtree(test_dir) +@patch("moban.reporter.report_error_message") +def test_copy_dir_with_error(reporter): + test_dir = "/tmp/copy-a-directo...
:microscope: better test coverage
py
diff --git a/abydos/clustering.py b/abydos/clustering.py index <HASH>..<HASH> 100644 --- a/abydos/clustering.py +++ b/abydos/clustering.py @@ -225,7 +225,8 @@ def rle_encode(text, use_bwt=True): """ if use_bwt: text = bwt(text) - text = [str(len(list(g)))+k for k,g in groupby(text)] + text = [(...
re-org of decoder for time efficiency; ensured that encoder won't produce longer strings than input
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ from setuptools import setup, find_packages install_requires = [] tests_require = ["coverage", "flake8", "pexpect", "wheel"] -importlib_backport_requires = ["importlib-metadata >= 0.23, < 3"] +importlib_backpo...
Update importlib-metadata dependency pin (#<I>)
py
diff --git a/cwltool/job.py b/cwltool/job.py index <HASH>..<HASH> 100644 --- a/cwltool/job.py +++ b/cwltool/job.py @@ -401,7 +401,7 @@ class DockerCommandLineJob(JobBase): if rm_container: runtime.append(u"--rm") - runtime.append(u"--env=TMPDIR=%s" % self.builder.tmpdir) + runtime....
switch back to hardcoded /tmp as TMPDIR inside Docker
py
diff --git a/mangopay/api.py b/mangopay/api.py index <HASH>..<HASH> 100644 --- a/mangopay/api.py +++ b/mangopay/api.py @@ -155,8 +155,11 @@ class APIRequest(object): return result, json.loads(content) except ValueError: - is_cardregistration_result = isinstance...
Modified for debugging purposes.
py
diff --git a/glove/glove.py b/glove/glove.py index <HASH>..<HASH> 100644 --- a/glove/glove.py +++ b/glove/glove.py @@ -2,6 +2,7 @@ # http://nlp.stanford.edu/projects/glove/. import collections +import sys try: # Python 2 compat import cPickle as pickle @@ -217,6 +218,11 @@ class Glove(object): i...
Python 3: encode string queries to bytes
py
diff --git a/OpenPNM/Utilities/IO.py b/OpenPNM/Utilities/IO.py index <HASH>..<HASH> 100644 --- a/OpenPNM/Utilities/IO.py +++ b/OpenPNM/Utilities/IO.py @@ -74,10 +74,10 @@ class PNM(object): #Enter each object's data, object tree and models into dictionary for obj in all_objs: - try: - ...
IO no longer deletes the logger...this is not needed for the approach used.
py
diff --git a/kettle.py b/kettle.py index <HASH>..<HASH> 100755 --- a/kettle.py +++ b/kettle.py @@ -133,6 +133,7 @@ class Kettle(socketserver.BaseRequestHandler): game = Game(players=players) manager = KettleManager(game) game.manager.register(manager) + game.current_player = game.players[0] # Dumb. game.s...
Kettle: Force the current_player to be defined at Game.start()
py
diff --git a/workshift/fill.py b/workshift/fill.py index <HASH>..<HASH> 100644 --- a/workshift/fill.py +++ b/workshift/fill.py @@ -179,7 +179,11 @@ def _get_semester(): semester, created = Semester.objects.get_or_create( year=year, season=season, - defaults=dict(start_date=...
Added a default rate to a semester
py
diff --git a/scout/constants/gene_tags.py b/scout/constants/gene_tags.py index <HASH>..<HASH> 100644 --- a/scout/constants/gene_tags.py +++ b/scout/constants/gene_tags.py @@ -1,3 +1,7 @@ +# These inheritance models are distinct from the official OMIM models of inheritance for variants +# Which are specified by GENETIC_...
add comment describing gene custom inheritance models
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -86,15 +86,14 @@ def run_make_print_config(): def run_nm_defined_symbols(objfile): - stdout = subprocess.check_output(["nm", objfile]) + stdout = subprocess.check_output(["nm", "-g", "-P", objfile]) if IS_PYTHO...
Make symbol check even more portable POSIX does in fact define several nm options: use -g to drop non-global symbols (including debugging symbols) and -P to make parsing the output easier. Tested on Linux, macOS, OpenBSD, and Illumos. Ignore symbols of types U (undefined), F (BSD filenames), and W/w (weak definitions...
py
diff --git a/margaritashotgun/memory.py b/margaritashotgun/memory.py index <HASH>..<HASH> 100755 --- a/margaritashotgun/memory.py +++ b/margaritashotgun/memory.py @@ -90,10 +90,11 @@ class memory(): filename)) def to_s3(self, key_id, secret_key, bucket...
don't initialize progressbar for parallel s3 uploads
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ setup( author_email='pydanny@gmail.com', url='https://github.com/pydanny/django-wysiwyg', license='MIT', - packages=find_packages(exclude=('test_project',)), + packages=find_packages(exclude...
setup.py: properly exclude test_project
py
diff --git a/master/buildbot/util/deferwaiter.py b/master/buildbot/util/deferwaiter.py index <HASH>..<HASH> 100644 --- a/master/buildbot/util/deferwaiter.py +++ b/master/buildbot/util/deferwaiter.py @@ -37,6 +37,7 @@ class DeferWaiter: self._waited.add(id(d)) d.addBoth(self._finished, d) + re...
util: Return added Deferred from DeferWaiter.add()
py
diff --git a/benchexec/result.py b/benchexec/result.py index <HASH>..<HASH> 100644 --- a/benchexec/result.py +++ b/benchexec/result.py @@ -79,6 +79,7 @@ RESULT_ERROR = 'ERROR' # or any other value not listed here RESULT_TRUE_PROP = 'true' """property holds""" RESULT_FALSE_REACH = STR_FAL...
Also accept the old string for RESULT_FALSE_REACH to allow table-generator to properly handle results produced with older versions of BenchExec.
py
diff --git a/allianceauth/authentication/signals.py b/allianceauth/authentication/signals.py index <HASH>..<HASH> 100644 --- a/allianceauth/authentication/signals.py +++ b/allianceauth/authentication/signals.py @@ -119,7 +119,7 @@ def validate_main_character_token(sender, instance, *args, **kwargs): in...
Don't force token updates on main character checks.
py
diff --git a/lib/svtplay_dl/service/eurosport.py b/lib/svtplay_dl/service/eurosport.py index <HASH>..<HASH> 100644 --- a/lib/svtplay_dl/service/eurosport.py +++ b/lib/svtplay_dl/service/eurosport.py @@ -10,7 +10,7 @@ from svtplay_dl.error import ServiceError class Eurosport(Service): - supported_domains = ['se....
eurosport: add support for more subdomains.
py
diff --git a/wagtailmarkdown/edit_handlers.py b/wagtailmarkdown/edit_handlers.py index <HASH>..<HASH> 100644 --- a/wagtailmarkdown/edit_handlers.py +++ b/wagtailmarkdown/edit_handlers.py @@ -14,5 +14,4 @@ except ImportError: class MarkdownPanel(FieldPanel): - def __init__(self, field_name, classname="", widget=...
FIX: Wagtail 2 compatibility in `MarkdownPanel` (#<I>) Fixes errors: * "got an unexpected keyword argument 'heading'" — Caused by a new keyword argument in Wagtail 2. * "got multiple values for argument 'heading'" — Caused by a keyword argument getting converted to a positional argument.
py
diff --git a/openquake/hazardlib/gsim/toro_2002.py b/openquake/hazardlib/gsim/toro_2002.py index <HASH>..<HASH> 100644 --- a/openquake/hazardlib/gsim/toro_2002.py +++ b/openquake/hazardlib/gsim/toro_2002.py @@ -89,7 +89,7 @@ class ToroEtAl2002(GMPE): if imt.period == 4.0: mean /= 0.559 - ...
Refactored toro_<I>
py
diff --git a/src/ossos-pipeline/pipeline/plant.py b/src/ossos-pipeline/pipeline/plant.py index <HASH>..<HASH> 100755 --- a/src/ossos-pipeline/pipeline/plant.py +++ b/src/ossos-pipeline/pipeline/plant.py @@ -281,4 +281,4 @@ def main(argv): if __name__ == '__main__': - sys.exit(main(sys.argv)) \ No newline at end...
PEP8 doesn't like newlines at end of file, removed one
py
diff --git a/aigerbv/common.py b/aigerbv/common.py index <HASH>..<HASH> 100644 --- a/aigerbv/common.py +++ b/aigerbv/common.py @@ -210,12 +210,35 @@ def sink(wordlen, inputs): ) +FULL_ADDER = aiger.parse("""aag 10 3 0 2 7 +2 +4 +6 +18 +21 +8 4 2 +10 5 3 +12 11 9 +14 12 6 +16 13 7 +18 17 15 +20 15 9 +i0 x +i1 y...
Parsing the full adder is slow! Using relabels halves runtime
py
diff --git a/projects/l2_pooling/multi_column_convergence.py b/projects/l2_pooling/multi_column_convergence.py index <HASH>..<HASH> 100644 --- a/projects/l2_pooling/multi_column_convergence.py +++ b/projects/l2_pooling/multi_column_convergence.py @@ -403,7 +403,7 @@ def plotConvergenceByColumnTopology(results, columnRa...
RES-<I> fix error in topology convergence printing logic
py
diff --git a/salt/minion.py b/salt/minion.py index <HASH>..<HASH> 100644 --- a/salt/minion.py +++ b/salt/minion.py @@ -15,6 +15,7 @@ import threading import time import traceback import sys +import signal # Import third party libs import zmq @@ -589,6 +590,12 @@ class Minion(object): self.schedule.f...
Fix #<I> I realize why I did it the way I did, originally I did not use a poll in the zeromq process, and the result was that the actual gathering of the command got dropped when the signal inturuped the zeromq recv wait, but we should be fine now that we are using poll. This may still be a problem though, so we will ...
py
diff --git a/py3status/modules/volume_status.py b/py3status/modules/volume_status.py index <HASH>..<HASH> 100644 --- a/py3status/modules/volume_status.py +++ b/py3status/modules/volume_status.py @@ -118,7 +118,7 @@ class AmixerBackend(AudioBackend): self.device = 'default' self.cmd = ['amixer', '-...
volume_status module: use human-scale volume percentages like alsamixer (#<I>) * Update volume_status.py Use human-scale volume percentages like alsamixer does. Log scale makes no sense * Update volume_status.py split up <'amixer -M'> command to <'amixer', '-M'> for style compatibility
py
diff --git a/scripts/worker.py b/scripts/worker.py index <HASH>..<HASH> 100755 --- a/scripts/worker.py +++ b/scripts/worker.py @@ -21,7 +21,7 @@ RESULTS_PATH = 'results' EXECUTION_FILES_PATH = 'execution_files' SYNC_FILE = 'sync_files' -MAX_FILE_SIZE = 65536 +MAX_FILE_SIZE = 81920 class SubmissionHandler(objec...
Increase output filesize to <I>KB.
py
diff --git a/killbill/__init__.py b/killbill/__init__.py index <HASH>..<HASH> 100644 --- a/killbill/__init__.py +++ b/killbill/__init__.py @@ -27,7 +27,7 @@ def load(file): """ fp = open(file) reader = csv.reader(fp) - headers = reader.next() + headers = next(reader) costs = Costs(headers) ...
Use next(reader) rather than reader.next() to make Python 3.x happy.
py
diff --git a/django_webmap_corpus/tests/south_settings.py b/django_webmap_corpus/tests/south_settings.py index <HASH>..<HASH> 100644 --- a/django_webmap_corpus/tests/south_settings.py +++ b/django_webmap_corpus/tests/south_settings.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- """ These settings are used by the ``manag...
add unicode to south_settings
py
diff --git a/tests/test_document.py b/tests/test_document.py index <HASH>..<HASH> 100644 --- a/tests/test_document.py +++ b/tests/test_document.py @@ -1,7 +1,7 @@ from tests import BaseTestCase from flask import Flask from flaskext import mongoalchemy -from nose.tools import assert_equals +from nose.tools import ass...
An assert for use when two documents are not equal
py
diff --git a/utool/util_git.py b/utool/util_git.py index <HASH>..<HASH> 100755 --- a/utool/util_git.py +++ b/utool/util_git.py @@ -248,6 +248,11 @@ class Repo(util_dev.NiceRepr): if len(urls) > 1: print('[git] WARNING: repo %r has multiple urls' % (repo,)) url = urls[0] + ...
Some special cases in parsing github remote configuration files
py
diff --git a/src/scs_core/client/http_response.py b/src/scs_core/client/http_response.py index <HASH>..<HASH> 100644 --- a/src/scs_core/client/http_response.py +++ b/src/scs_core/client/http_response.py @@ -25,7 +25,7 @@ class HTTPResponse(JSONable, ABC): # -------------------------------------------------------...
Added ConfigurationSample class
py
diff --git a/AegeanTools/source_finder.py b/AegeanTools/source_finder.py index <HASH>..<HASH> 100755 --- a/AegeanTools/source_finder.py +++ b/AegeanTools/source_finder.py @@ -1856,6 +1856,8 @@ class SourceFinder(object): islands = find_islands(im=data, bkg=np.zeros_like(data), rms=rmsimg, ...
add found/fit island/source reporting
py
diff --git a/pyphi/network.py b/pyphi/network.py index <HASH>..<HASH> 100644 --- a/pyphi/network.py +++ b/pyphi/network.py @@ -121,7 +121,7 @@ class Network: @property def causally_significant_nodes(self): - """See :func:`connectivity.causally_significant_nodes`.""" + """See :func:`~pyphi.conn...
Fix cross-reference in docstring
py
diff --git a/glue/segmentsUtils.py b/glue/segmentsUtils.py index <HASH>..<HASH> 100644 --- a/glue/segmentsUtils.py +++ b/glue/segmentsUtils.py @@ -76,7 +76,10 @@ def fromfilenames(filenames, coltype=int): pattern = re.compile(r"-([\d.]+)-([\d.]+)\.[\w_+#]+\Z") l = segments.segmentlist() for name in filenames: + ...
allow fromfilenames function to accept xml filenames with .gz extension. Not nice work but it works for now. Ideally it should be for any type of files
py
diff --git a/spinoff/util/testing.py b/spinoff/util/testing.py index <HASH>..<HASH> 100644 --- a/spinoff/util/testing.py +++ b/spinoff/util/testing.py @@ -4,6 +4,8 @@ from functools import wraps from twisted.internet.task import Clock +from spinoff.util.async import CancelledError + __all__ = ['deferred', 'asse...
Added util.testing.cancel_deferred which suppresses the CancelledError before cancelling the Deferred
py
diff --git a/blockstore/lib/nameset/virtualchain_hooks.py b/blockstore/lib/nameset/virtualchain_hooks.py index <HASH>..<HASH> 100644 --- a/blockstore/lib/nameset/virtualchain_hooks.py +++ b/blockstore/lib/nameset/virtualchain_hooks.py @@ -38,17 +38,21 @@ log = virtualchain.session.log blockstore_db = None last_load_t...
A transaction can have multiple recipients (i.e. for transfers), so take the first non-OP_RETURN one when we have a choice.
py
diff --git a/nose/test_quantity.py b/nose/test_quantity.py index <HASH>..<HASH> 100644 --- a/nose/test_quantity.py +++ b/nose/test_quantity.py @@ -2659,6 +2659,19 @@ def test_actionAngleIsochroneApprix_setup_b_units(): assert numpy.fabs(aA._aAI.b-aAu._aAI.b) < 10.**-10., 'b with units in actionAngleIsochroneApprox...
Test that tintJ in actionAngleIsochroneApprox can have units
py
diff --git a/openquake/calculators/classical.py b/openquake/calculators/classical.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/classical.py +++ b/openquake/calculators/classical.py @@ -84,7 +84,7 @@ def classical_split_filter(srcs, srcfilter, gsims, params, monitor): yield classical(blocks[0], sr...
[skip CI] Former-commit-id: 3d3c7d9f3dad<I>eb8b<I>fc<I>e<I>
py
diff --git a/test/test_distance.py b/test/test_distance.py index <HASH>..<HASH> 100644 --- a/test/test_distance.py +++ b/test/test_distance.py @@ -15,17 +15,9 @@ class TestDistance(unittest.TestCase): "My Gym. Childrens Fitness")) def test_get_jaro_dist...
update to work with py<I>
py
diff --git a/niworkflows/viz/plots.py b/niworkflows/viz/plots.py index <HASH>..<HASH> 100644 --- a/niworkflows/viz/plots.py +++ b/niworkflows/viz/plots.py @@ -360,6 +360,8 @@ def _carpet( ax1.spines["bottom"].set_visible(False) ax1.spines["left"].set_color("none") ax1.spines["left"].set_visible(False) + ...
Set (optional) title on carpet plot
py
diff --git a/binance/depthcache.py b/binance/depthcache.py index <HASH>..<HASH> 100644 --- a/binance/depthcache.py +++ b/binance/depthcache.py @@ -199,6 +199,14 @@ class DepthCacheManager(object): """ + if 'e' in msg and msg['e'] == 'error': + # close the socket + self.close() ...
Handle websocket disconnecting
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,9 +2,13 @@ from distutils.core import setup setup( name='rawdisk', + author='D. Bakunas' version='0.1dev', description='Experimental python code to learn different disk formats', packages=['rawdisk...
Modified license field in setup.py
py
diff --git a/container/config.py b/container/config.py index <HASH>..<HASH> 100644 --- a/container/config.py +++ b/container/config.py @@ -300,7 +300,7 @@ class BaseAnsibleContainerConfig(Mapping): config = json.load(open(abspath)) except Exception as exc: raise AnsibleCon...
Don't bomb out on an empty vars file (#<I>) Fixes #<I>
py
diff --git a/malcolm/assemblyutil.py b/malcolm/assemblyutil.py index <HASH>..<HASH> 100644 --- a/malcolm/assemblyutil.py +++ b/malcolm/assemblyutil.py @@ -225,7 +225,7 @@ def call_with_map(ob, name, d, *args): ob = getattr(ob, n) if d and "name" not in ob.MethodMeta.takes.elements and "name" in d: - ...
ruamel.ordereddict doesn't support copying, us a normal one
py
diff --git a/test_glibc.py b/test_glibc.py index <HASH>..<HASH> 100644 --- a/test_glibc.py +++ b/test_glibc.py @@ -99,8 +99,8 @@ class GlibcTests(unittest.TestCase): def get_real_constant_value(info): with tempfile.TemporaryDirectory() as tmpdir: - name_c = os.path.join(tmpdir, 'test_{}.c'.format(info.na...
Use valueof_ prefix for constant value tests
py
diff --git a/plexapi/media.py b/plexapi/media.py index <HASH>..<HASH> 100644 --- a/plexapi/media.py +++ b/plexapi/media.py @@ -351,6 +351,7 @@ class Optimized(PlexObject): TAG = 'Optimized' def _loadData(self, data): + self._data = data self.id = data.attrib.get('id') self.composite...
add _data attrib to Optimized and Conversion
py
diff --git a/cherrypy/lib/filter/xmlrpcfilter.py b/cherrypy/lib/filter/xmlrpcfilter.py index <HASH>..<HASH> 100644 --- a/cherrypy/lib/filter/xmlrpcfilter.py +++ b/cherrypy/lib/filter/xmlrpcfilter.py @@ -204,8 +204,6 @@ class XmlRpcFilter(BaseFilter): import sys # Since we got here because of a...
oops missed one little thing in the previous commit... duh!
py
diff --git a/asks/request_object.py b/asks/request_object.py index <HASH>..<HASH> 100644 --- a/asks/request_object.py +++ b/asks/request_object.py @@ -275,9 +275,7 @@ class Request: if not self.path: self.path = '/' if self.query: - self.path = requote_uri(self.path + '?' + - ...
more quote wangjangling. Blanket requote all paths.
py
diff --git a/examples/run_squad.py b/examples/run_squad.py index <HASH>..<HASH> 100644 --- a/examples/run_squad.py +++ b/examples/run_squad.py @@ -855,7 +855,7 @@ def main(): global_step = 0 if args.do_train: cached_train_features_file = args.train_file+'_{0}_{1}_{2}_{3}'.format( - args.be...
Fix error when `bert_model` param is path or url. Error occurs when `bert_model` param is path or url. Therefore, if it is path, specify the last path to prevent error.
py
diff --git a/urbansim/developer/sqftproforma.py b/urbansim/developer/sqftproforma.py index <HASH>..<HASH> 100644 --- a/urbansim/developer/sqftproforma.py +++ b/urbansim/developer/sqftproforma.py @@ -572,7 +572,6 @@ class SqFtProForma(object): else: df['min_max_fars'] = df[['max_far_from_heights', ...
one of my debug statements snuck in there
py
diff --git a/sgp4/tests.py b/sgp4/tests.py index <HASH>..<HASH> 100644 --- a/sgp4/tests.py +++ b/sgp4/tests.py @@ -275,13 +275,12 @@ def load_tests(loader, tests, ignore): # Defeat a problem on Travis CI by importing numpy early. # Otherwise, on Travis CI, when the doctest tries to import - #...
Try fixing Travis CI with sys.path shenanigans
py
diff --git a/panoramix/models.py b/panoramix/models.py index <HASH>..<HASH> 100644 --- a/panoramix/models.py +++ b/panoramix/models.py @@ -134,9 +134,12 @@ class Dashboard(Model, AuditMixinNullable): def __repr__(self): return self.dashboard_title + @property + def url(self): + return "/pan...
Increasing test coverage to <I>%
py
diff --git a/Lib/fontMath/mathKerning.py b/Lib/fontMath/mathKerning.py index <HASH>..<HASH> 100644 --- a/Lib/fontMath/mathKerning.py +++ b/Lib/fontMath/mathKerning.py @@ -62,6 +62,22 @@ class MathKerning(object): g[groupName].append(glyphName) return g + def getGroupsForGlyph(self, gl...
Added a method for getting the list of groups that a glyph belongs to.
py
diff --git a/areaSelector.py b/areaSelector.py index <HASH>..<HASH> 100644 --- a/areaSelector.py +++ b/areaSelector.py @@ -331,7 +331,7 @@ class ImageWidget(QtGui.QLabel): y2 = y2 if y2 >= 0.0 else 0.0 y2 = y2 if y2 <= 1.0 else 1.0 - rect = QtCore.QRect(10, 20, 30, 40) + rect = QtCore.QRect(min(pixX1, pixX2),...
Partial implementation of selected PDF thumbnail in the Position localisation widget.
py
diff --git a/gwpy/cli/cliproduct.py b/gwpy/cli/cliproduct.py index <HASH>..<HASH> 100644 --- a/gwpy/cli/cliproduct.py +++ b/gwpy/cli/cliproduct.py @@ -34,7 +34,7 @@ from functools import wraps from six import add_metaclass -from matplotlib import rcParams +from matplotlib import rcParams, rc try: from matplo...
Implement --title option, removing latex checks from previous attempt
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -17,7 +17,4 @@ setup(name='aiohttp-json-rpc', 'pytest11': [ 'aiohttp-json-rpc = aiohttp_json_rpc.pytest', ] - }, - classifiers=[ - 'Framework :: Pytest', - ]) + ...
packaging: remove classifiers from setup.py setuptools seems to ignore all classifiers set in the setup.cfg if there are classifiers set in the setup.py
py
diff --git a/pyramid_authsanity/__init__.py b/pyramid_authsanity/__init__.py index <HASH>..<HASH> 100644 --- a/pyramid_authsanity/__init__.py +++ b/pyramid_authsanity/__init__.py @@ -1,6 +1,3 @@ -import logging -log = logging.getLogger(__name__) - import base64 import os
We don't directly use the logger So don't import it.
py
diff --git a/guake/boxes.py b/guake/boxes.py index <HASH>..<HASH> 100644 --- a/guake/boxes.py +++ b/guake/boxes.py @@ -245,18 +245,12 @@ class RootTerminalBox(Gtk.Overlay, TerminalHolder): def on_search_prev_clicked(self, widget): term = self.last_terminal_focused result = term.search_find_previo...
Remove set_sensitive on search next/prev button
py
diff --git a/bingo/views.py b/bingo/views.py index <HASH>..<HASH> 100644 --- a/bingo/views.py +++ b/bingo/views.py @@ -60,7 +60,8 @@ def main(request, reclaim_form=None, create_form=None): def reclaim_board(request): ip = request.META['REMOTE_ADDR'] game = get_game(site=get_current_site(request), create=Fals...
check if game is not None before calling game.save()
py
diff --git a/cflib/crazyflie/mem/lighthouse_memory.py b/cflib/crazyflie/mem/lighthouse_memory.py index <HASH>..<HASH> 100644 --- a/cflib/crazyflie/mem/lighthouse_memory.py +++ b/cflib/crazyflie/mem/lighthouse_memory.py @@ -115,12 +115,12 @@ class LighthouseBsCalibration: result = LighthouseCalibrationSweep() ...
(#<I>) fixed flake8 issue
py
diff --git a/pandas/tseries/index.py b/pandas/tseries/index.py index <HASH>..<HASH> 100644 --- a/pandas/tseries/index.py +++ b/pandas/tseries/index.py @@ -422,13 +422,20 @@ class DatetimeIndex(Int64Index): @classmethod def _cached_range(cls, start=None, end=None, periods=None, offset=None, ...
CLN: Clean up the _cached_range exceptions and checks (Plus catch the uncaught obj + None TypeError that was going on in the test cases)
py
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index <HASH>..<HASH> 100755 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -1844,25 +1844,14 @@ def chmod(path, mode): def fix_jython_executable(executable, options): - if sys.platform.star...
Deprecate fix_jython_executable and replace with JythonCommandSpec
py
diff --git a/parsl/dataflow/dflow.py b/parsl/dataflow/dflow.py index <HASH>..<HASH> 100644 --- a/parsl/dataflow/dflow.py +++ b/parsl/dataflow/dflow.py @@ -256,6 +256,7 @@ class DataFlowKernel(object): final_state_flag = True self.tasks_failed_count += 1 + self.tasks[ta...
Minor fix to ensure failed tasks have a finished time.
py
diff --git a/tests/optvis/param/test_unit_balls.py b/tests/optvis/param/test_unit_balls.py index <HASH>..<HASH> 100644 --- a/tests/optvis/param/test_unit_balls.py +++ b/tests/optvis/param/test_unit_balls.py @@ -10,8 +10,9 @@ learning_rate = .1 num_steps = 16 +@pytest.mark.skip(reason="Unpredictably imprecise right...
Skipping unit_ball_test for now as they fail remotely.
py
diff --git a/Exscript/protocols/drivers/ios.py b/Exscript/protocols/drivers/ios.py index <HASH>..<HASH> 100644 --- a/Exscript/protocols/drivers/ios.py +++ b/Exscript/protocols/drivers/ios.py @@ -31,7 +31,7 @@ from .driver import Driver _user_re = [re.compile(r'user ?name: ?$', re.I)] _password_re = [re.compile(r'(?...
Ajusted IOS driver for login with SSH (was guessed as one_os). Added another IOS test banner.
py
diff --git a/tunigo/cache.py b/tunigo/cache.py index <HASH>..<HASH> 100644 --- a/tunigo/cache.py +++ b/tunigo/cache.py @@ -21,7 +21,7 @@ class Cache(object): if self._cache_valid(key): return self._cache[key]['obj'] else: - return False + return None def inser...
Return None from cache if not found It makes more sense to return None than False for a missing cache entry.
py
diff --git a/invocations/packaging/release.py b/invocations/packaging/release.py index <HASH>..<HASH> 100644 --- a/invocations/packaging/release.py +++ b/invocations/packaging/release.py @@ -638,6 +638,8 @@ def publish(c, sdist=True, wheel=False, index=None, sign=False, dry_run=False, When ``None`` (the defaul...
Don't hide publish() output for now
py
diff --git a/pcef/python/modes/pyflakes_checker.py b/pcef/python/modes/pyflakes_checker.py index <HASH>..<HASH> 100644 --- a/pcef/python/modes/pyflakes_checker.py +++ b/pcef/python/modes/pyflakes_checker.py @@ -15,6 +15,7 @@ import logging import _ast from pcef.core import CheckerMode, CheckerMessage from pcef.core ...
Pyflakes checker only check on save (otherwise wee see error anytime we begin by typing)
py
diff --git a/dwave/system/composites/virtual_graph.py b/dwave/system/composites/virtual_graph.py index <HASH>..<HASH> 100644 --- a/dwave/system/composites/virtual_graph.py +++ b/dwave/system/composites/virtual_graph.py @@ -282,7 +282,7 @@ class VirtualGraphComposite(dimod.ComposedSampler, dimod.Structured): if...
Passing chain strength properly to get_flux_biases.
py
diff --git a/holoviews/plotting/comms.py b/holoviews/plotting/comms.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/comms.py +++ b/holoviews/plotting/comms.py @@ -3,20 +3,12 @@ import uuid import sys import traceback -from unittest import SkipTest - try: from StringIO import StringIO except: fro...
Inlined ipykernel.comm and IPython imports in comms.py
py
diff --git a/multiqc/modules/stacks/stacks.py b/multiqc/modules/stacks/stacks.py index <HASH>..<HASH> 100644 --- a/multiqc/modules/stacks/stacks.py +++ b/multiqc/modules/stacks/stacks.py @@ -199,8 +199,10 @@ class MultiqcModule(BaseMultiqcModule): ) config_distribs = { 'id': 'distribs_plo...
Stacks: Fix linegraph linting
py
diff --git a/src/canari/maltego/transform.py b/src/canari/maltego/transform.py index <HASH>..<HASH> 100644 --- a/src/canari/maltego/transform.py +++ b/src/canari/maltego/transform.py @@ -65,6 +65,9 @@ class Transform(object): # Specifies a disclaimer for the transform that appears prior to the first execution of a...
Added future `command` placeholder for external transform execution.
py
diff --git a/docs/source/conf.py b/docs/source/conf.py index <HASH>..<HASH> 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -40,6 +40,7 @@ extensions = [ 'sphinx.ext.autosummary', 'sphinx.ext.extlinks', 'sphinx.ext.napoleon', + 'sphinx.ext.linkcode', ] napoleon_include_special_with_d...
Docs: Add basic links to the source
py
diff --git a/tests/test_std.py b/tests/test_std.py index <HASH>..<HASH> 100644 --- a/tests/test_std.py +++ b/tests/test_std.py @@ -274,6 +274,7 @@ class TestConsul(object): assert [ v['Address'] for k, v in c.agent.services().iteritems() if k == 'foo'][0] == '10.10.10.1' + asse...
clean up state after test_agent_services runs
py
diff --git a/pupa/cli/commands/update.py b/pupa/cli/commands/update.py index <HASH>..<HASH> 100644 --- a/pupa/cli/commands/update.py +++ b/pupa/cli/commands/update.py @@ -40,7 +40,7 @@ def save_report(report, jurisdiction): plan = RunPlan.objects.create(jurisdiction_id=jurisdiction, success=report['success']) ...
fixed save_report for when scraper has kwargs
py
diff --git a/rootpy/logger/magic.py b/rootpy/logger/magic.py index <HASH>..<HASH> 100644 --- a/rootpy/logger/magic.py +++ b/rootpy/logger/magic.py @@ -76,6 +76,10 @@ def get_seh(): ErrorHandlerFunc_t = ctypes.CFUNCTYPE(None, ctypes.c_int, ctypes.c_bool, ctypes.c_char_p, ctypes.c_char_p) + # Required ...
Fix for #<I>, import ROOT to avoid DL issue.
py
diff --git a/steamfiles/appinfo.py b/steamfiles/appinfo.py index <HASH>..<HASH> 100644 --- a/steamfiles/appinfo.py +++ b/steamfiles/appinfo.py @@ -1,3 +1,4 @@ +import copy import struct from collections import OrderedDict @@ -17,12 +18,11 @@ def loads(content): def dump(obj, fp): - for chunk in AppinfoEncod...
[Appinfo] Both dump() and dumps() are now implemented
py
diff --git a/astroid/node_classes.py b/astroid/node_classes.py index <HASH>..<HASH> 100644 --- a/astroid/node_classes.py +++ b/astroid/node_classes.py @@ -3860,7 +3860,7 @@ class TryExcept(mixins.MultiLineBlockMixin, mixins.BlockRangeMixIn, Statement): <TryExcept l.2 at 0x7f23b2e9d908> """ _astroid_field...
Add missing TryExcept multi-line block field (#<I>) This was overlooked in the initial implementation of _multi_line_block_fields.
py
diff --git a/phylopandas/seqio/read.py b/phylopandas/seqio/read.py index <HASH>..<HASH> 100644 --- a/phylopandas/seqio/read.py +++ b/phylopandas/seqio/read.py @@ -168,7 +168,8 @@ def read_blast_xml(filename, **kwargs): 'subject_start': [], 'subject_end':[], 'query_start':[], - ...
made blast parser add uid
py
diff --git a/src/python/pants/backend/codegen/tasks/code_gen.py b/src/python/pants/backend/codegen/tasks/code_gen.py index <HASH>..<HASH> 100644 --- a/src/python/pants/backend/codegen/tasks/code_gen.py +++ b/src/python/pants/backend/codegen/tasks/code_gen.py @@ -21,7 +21,7 @@ class CodeGen(Task): @classmethod d...
Add python as default codegen product. This sits alongside the existing (brittle) hack in codegen that allows downstream goals that only work with python products to trigger codegen before they're run. Testing Done: Running internally at 4sq. CI is green Reviewed at <URL>
py
diff --git a/sacred/observers/slack.py b/sacred/observers/slack.py index <HASH>..<HASH> 100644 --- a/sacred/observers/slack.py +++ b/sacred/observers/slack.py @@ -32,7 +32,7 @@ class SlackObserver(RunObserver): icon=":angel:", priority=DEFAULT_SLACK_PRIORITY, completed_text=None, - int...
Fix typo on slack observer. (#<I>)
py
diff --git a/quark/plugin.py b/quark/plugin.py index <HASH>..<HASH> 100644 --- a/quark/plugin.py +++ b/quark/plugin.py @@ -544,7 +544,9 @@ class Plugin(quantum_plugin_base_v2.QuantumPluginBaseV2): """ LOG.info("get_ports for tenant %s filters %s fields %s" % (context.tenant_id, filter...
Fix for port_find invocation with filters
py
diff --git a/ELiDE/layout.py b/ELiDE/layout.py index <HASH>..<HASH> 100644 --- a/ELiDE/layout.py +++ b/ELiDE/layout.py @@ -110,6 +110,7 @@ class ELiDELayout(FloatLayout): self.bind( selection=self._trigger_reremote ) + self._trigger_reremote() bind_charsh...
necessary for displaying the contents of the charsheet upon startup
py
diff --git a/contact_form/__init__.py b/contact_form/__init__.py index <HASH>..<HASH> 100644 --- a/contact_form/__init__.py +++ b/contact_form/__init__.py @@ -1,4 +1,4 @@ -VERSION = (0, 3, 2, 'stable') +VERSION = (0, 3, 3, 'dev') def get_release():
running on <I>-dev
py
diff --git a/morris/__init__.py b/morris/__init__.py index <HASH>..<HASH> 100644 --- a/morris/__init__.py +++ b/morris/__init__.py @@ -562,6 +562,9 @@ class boundmethod(object): def __init__(self, instance, func): self.instance = instance self.func = func + if hasattr(func, '__qualname__')...
Set __{qual,}name__ in boundmethod() This patch makes the boundmethod() object look a little more like a function by having __qualname__ and __name__. This makes it compatible with _get_fn_name()
py
diff --git a/bcbio/rnaseq/dexseq.py b/bcbio/rnaseq/dexseq.py index <HASH>..<HASH> 100644 --- a/bcbio/rnaseq/dexseq.py +++ b/bcbio/rnaseq/dexseq.py @@ -46,6 +46,10 @@ def run_count(bam_file, dexseq_gff, stranded, out_file, data): logger.info("DEXseq is not installed, skipping exon-level counting.") ret...
Disabled DEXSeq when the aligner is bwa.
py
diff --git a/bolt/__init__.py b/bolt/__init__.py index <HASH>..<HASH> 100644 --- a/bolt/__init__.py +++ b/bolt/__init__.py @@ -8,6 +8,7 @@ import sys from _bterror import InvalidTask from _btregistry import TaskRegistry +from _btutils import load_script _registry = TaskRegistry() @@ -39,7 +40,9 @@ def run(): ...
Loading bolt file as a module
py
diff --git a/cwltool/draft2tool.py b/cwltool/draft2tool.py index <HASH>..<HASH> 100644 --- a/cwltool/draft2tool.py +++ b/cwltool/draft2tool.py @@ -125,6 +125,19 @@ def check_adjust(builder, f): raise WorkflowException("Invalid filename: '%s' contains illegal characters" % (f["basename"])) return f +def ...
Fix to compute checksums and record file sizes for secondaryFiles. (#<I>)
py
diff --git a/AegeanTools/AeRes.py b/AegeanTools/AeRes.py index <HASH>..<HASH> 100644 --- a/AegeanTools/AeRes.py +++ b/AegeanTools/AeRes.py @@ -1,8 +1,16 @@ -import logging +#! /usr/bin/env python +""" +Aegean Residual (AeRes) has the following capability: +- convert a catalogue into an image model +- subtract image mod...
add shebang and docstring
py
diff --git a/uriutils/storages.py b/uriutils/storages.py index <HASH>..<HASH> 100644 --- a/uriutils/storages.py +++ b/uriutils/storages.py @@ -77,10 +77,13 @@ class BaseURI(object): """ :param dict storage_args: Arguments that will be applied to the storage system for read/write operations ""...
Fix issues with `storage_args` in file
py
diff --git a/zappa/handler.py b/zappa/handler.py index <HASH>..<HASH> 100644 --- a/zappa/handler.py +++ b/zappa/handler.py @@ -109,7 +109,7 @@ class LambdaHandler: try: cdll.LoadLibrary(os.path.join(os.getcwd(), library)) except OSError: - ...
show filename when failing to load libray (#<I>) this is to help debugging
py
diff --git a/rqalpha/main.py b/rqalpha/main.py index <HASH>..<HASH> 100644 --- a/rqalpha/main.py +++ b/rqalpha/main.py @@ -29,7 +29,6 @@ from rqalpha.core.strategy import Strategy from rqalpha.core.strategy_context import StrategyContext from rqalpha.core.executor import Executor from rqalpha.data.base_data_source i...
fix: rqdatac init missed in main.run
py
diff --git a/angr/engines/vex/claripy/ccall.py b/angr/engines/vex/claripy/ccall.py index <HASH>..<HASH> 100644 --- a/angr/engines/vex/claripy/ccall.py +++ b/angr/engines/vex/claripy/ccall.py @@ -42,9 +42,9 @@ def boolean_extend(O, a, b, size): def op_concretize(op): if type(op) is int: return op - op ...
Use original op in CCallMultivaluedException to make _perform_vex_expr_CCall happy (#<I>)
py
diff --git a/acos_client/v30/slb/virtual_port.py b/acos_client/v30/slb/virtual_port.py index <HASH>..<HASH> 100644 --- a/acos_client/v30/slb/virtual_port.py +++ b/acos_client/v30/slb/virtual_port.py @@ -204,8 +204,8 @@ class VirtualPort(base.BaseV30): ): # backward compatiable for a10-neutron-lbaas - ...
STACK-<I> l7policy delete failed
py
diff --git a/netpyne/support/morphology.py b/netpyne/support/morphology.py index <HASH>..<HASH> 100644 --- a/netpyne/support/morphology.py +++ b/netpyne/support/morphology.py @@ -65,7 +65,7 @@ def load(filename, fileformat=None, cell=None, use_axon=True, xshift=0, yshift=0 """ if cell is None: - cell...
Fixed bug in netpyne/support/morphology
py
diff --git a/oscrypto/_win/tls.py b/oscrypto/_win/tls.py index <HASH>..<HASH> 100644 --- a/oscrypto/_win/tls.py +++ b/oscrypto/_win/tls.py @@ -634,12 +634,12 @@ class TLSSocket(object): ) handle_crypt32_error(result) + cert_context = unwrap(cert_context_pointer) + cert_...
Explicitly check certificate signature type during Windows TLS extra root validation
py
diff --git a/openquake/calculators/classical.py b/openquake/calculators/classical.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/classical.py +++ b/openquake/calculators/classical.py @@ -424,11 +424,11 @@ class ClassicalCalculator(PSHACalculator): self.datastore.set_attrs('hcurves', nbytes=totb...
Monitored sending pmaps Former-commit-id: f<I>c8c<I>e<I>b<I>d2d0a<I>a1c5a<I>e<I>e<I>
py
diff --git a/pyecobee/__init__.py b/pyecobee/__init__.py index <HASH>..<HASH> 100644 --- a/pyecobee/__init__.py +++ b/pyecobee/__init__.py @@ -87,7 +87,7 @@ class Ecobee(object): return self.authorization_code = request.json()['code'] self.pin = request.json()['ecobeePin'] - logger...
Update request_pin method Change log level of authorization message to info from error so that this information is not unnecessarily surfaced to a Home Assistant user (config flow will handle displaying information about the authorization steps to the user).
py