diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/openquake/kvs/__init__.py b/openquake/kvs/__init__.py index <HASH>..<HASH> 100644 --- a/openquake/kvs/__init__.py +++ b/openquake/kvs/__init__.py @@ -27,6 +27,7 @@ import redis from openquake import logs from openquake.kvs import tokens from openquake.utils import config +from openquake.utils import sta...
kvs: cache_gc now deletes stats counters as well Former-commit-id: <I>ec<I>c8a<I>ae<I>eed<I>ca<I>e<I>a0ad
py
diff --git a/galpy/actionAngle/actionAngle.py b/galpy/actionAngle/actionAngle.py index <HASH>..<HASH> 100644 --- a/galpy/actionAngle/actionAngle.py +++ b/galpy/actionAngle/actionAngle.py @@ -177,7 +177,7 @@ class actionAngle(with_metaclass(MetaActionAngle,object)): self._eval_phi= phi else: # Orbi...
Fix checking the unit compatibility between an actionAngle object and an orbit given to it
py
diff --git a/testproject/tablib_test/tests.py b/testproject/tablib_test/tests.py index <HASH>..<HASH> 100644 --- a/testproject/tablib_test/tests.py +++ b/testproject/tablib_test/tests.py @@ -1,6 +1,6 @@ from django.test import TestCase -from django_tablib import ModelDataset +from django_tablib import ModelDataset, ...
Added test for declarative fields.
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 from codecs import open REPO_URL = "http://github.com/MatMaul/pynetgear" -VERSION = "0.9.2" +VERSION = "0.9.3" with open("requirements.txt") as f: required = f.read().split...
bump to version <I> (#<I>)
py
diff --git a/grimoire_elk/_version.py b/grimoire_elk/_version.py index <HASH>..<HASH> 100644 --- a/grimoire_elk/_version.py +++ b/grimoire_elk/_version.py @@ -1,2 +1,2 @@ # Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440 -__version__ = "0.30.49" +__version__ = "0.30.50"
Update version number to <I>
py
diff --git a/cas.py b/cas.py index <HASH>..<HASH> 100644 --- a/cas.py +++ b/cas.py @@ -184,7 +184,7 @@ class CASClientV2(CASClientBase): @classmethod def parse_attributes_xml_element(cls, element): - attributes = dict() + attributes = {} for attribute in element: tag = at...
Prefer dict literals over dict() Always slightly faster and is more idiomatic Python.
py
diff --git a/hydpy/docs/sphinx/conf.py b/hydpy/docs/sphinx/conf.py index <HASH>..<HASH> 100644 --- a/hydpy/docs/sphinx/conf.py +++ b/hydpy/docs/sphinx/conf.py @@ -1,4 +1,6 @@ # -*- coding: utf-8 -*- +# pylint: skip-file +# due to conforming to the "Sphinx style" # # HydPy documentation build configuration file, crea...
Do not evaluate `conf.py` with pylint.
py
diff --git a/nhe/mfd/base.py b/nhe/mfd/base.py index <HASH>..<HASH> 100644 --- a/nhe/mfd/base.py +++ b/nhe/mfd/base.py @@ -117,3 +117,25 @@ class BaseMFD(object): represents the number of events per year with magnitude that falls in between bin's boundaries. """ + + @abc.abstractme...
mfd/base: added abstract method get_rescaled_mfd()
py
diff --git a/rivescript/rivescript.py b/rivescript/rivescript.py index <HASH>..<HASH> 100644 --- a/rivescript/rivescript.py +++ b/rivescript/rivescript.py @@ -182,7 +182,7 @@ class RiveScript(object): self._warn("Error: " + directory + " is not a directory.") return - for root, subdir...
Changed minor error due to wrong naming
py
diff --git a/tests/auxiliary/user-account/test_contract.py b/tests/auxiliary/user-account/test_contract.py index <HASH>..<HASH> 100644 --- a/tests/auxiliary/user-account/test_contract.py +++ b/tests/auxiliary/user-account/test_contract.py @@ -359,7 +359,7 @@ def test_no_call_if_not_enough_gas(vm): transaction = Un...
Fix: update transaction gas provided in auxiliary test suite due to gas charge fix in #<I>
py
diff --git a/lib/imageconf.py b/lib/imageconf.py index <HASH>..<HASH> 100644 --- a/lib/imageconf.py +++ b/lib/imageconf.py @@ -40,8 +40,8 @@ class ImageConfig: self.auto_contrast_level = 1.0 self.datalimits = [None, None, None, None] self.cmap_lo = {'int': 0, 'red': 0, 'green': 0, 'blue': 0} ...
colormap range uniformly <I>
py
diff --git a/tests/base.py b/tests/base.py index <HASH>..<HASH> 100644 --- a/tests/base.py +++ b/tests/base.py @@ -9,6 +9,7 @@ # Copyright (c) 2011 globo.com timehome@corp.globo.com import random +import unicodedata from io import BytesIO from unittest import TestCase as PythonTestCase import urllib @@ -35,8 +36...
Normalizing unicode path on assertion
py
diff --git a/check_release_installation.py b/check_release_installation.py index <HASH>..<HASH> 100644 --- a/check_release_installation.py +++ b/check_release_installation.py @@ -15,6 +15,9 @@ def main(): def check_both_installations(ssh): l = CheckInstallation( + EasyInstall3Installation(), ssh, ver...
Add check for easy_install3 installation
py
diff --git a/salt/modules/zypper.py b/salt/modules/zypper.py index <HASH>..<HASH> 100644 --- a/salt/modules/zypper.py +++ b/salt/modules/zypper.py @@ -125,6 +125,12 @@ def info_installed(*names, **attr): t_nfo = dict() # Translate dpkg-specific keys to a common structure for key, value in pkg...
Check if byte strings are properly encoded in UTF-8
py
diff --git a/pelix/services/eventadmin.py b/pelix/services/eventadmin.py index <HASH>..<HASH> 100644 --- a/pelix/services/eventadmin.py +++ b/pelix/services/eventadmin.py @@ -201,22 +201,26 @@ class EventAdmin(object): - def send(self, event): + def send(self, topic, properties=None): """ ...
EventAdmin: API change - post() and send() now takes the topic and properties of the event as parameters, instead of an Event object => Simplifies the usage of the service => Avoids to import the Event type from the eventadmin module
py
diff --git a/businesstime/__init__.py b/businesstime/__init__.py index <HASH>..<HASH> 100644 --- a/businesstime/__init__.py +++ b/businesstime/__init__.py @@ -1,4 +1,5 @@ import datetime +import math __version__ = "0.1.0" @@ -154,11 +155,11 @@ class Holidays(object): return True ...
Fix python 3, I think
py
diff --git a/fedmsg_atomic_composer/config.py b/fedmsg_atomic_composer/config.py index <HASH>..<HASH> 100644 --- a/fedmsg_atomic_composer/config.py +++ b/fedmsg_atomic_composer/config.py @@ -19,6 +19,7 @@ config = dict( 'include': 'fedora-atomic-docker-host.json', 'ref': 'fedora-atomic...
config: Make it simple to include more packages in the treefile
py
diff --git a/transformers/configuration_xlm_roberta.py b/transformers/configuration_xlm_roberta.py index <HASH>..<HASH> 100644 --- a/transformers/configuration_xlm_roberta.py +++ b/transformers/configuration_xlm_roberta.py @@ -25,7 +25,7 @@ from .configuration_roberta import RobertaConfig logger = logging.getLogger(__...
configuration: fix model name for large XLM-RoBERTa model
py
diff --git a/bubbletools/info.py b/bubbletools/info.py index <HASH>..<HASH> 100644 --- a/bubbletools/info.py +++ b/bubbletools/info.py @@ -1,2 +1,2 @@ PACKAGE_NAME = 'bubbletools' -PACKAGE_VERSION = '0.5.0' +PACKAGE_VERSION = '0.5.1'
<I>: some additionnal functions ; some needs rewriting
py
diff --git a/shell.py b/shell.py index <HASH>..<HASH> 100644 --- a/shell.py +++ b/shell.py @@ -30,6 +30,7 @@ import fcntl import tempfile import time import signal +import six import select from itertools import chain from cStringIO import StringIO @@ -294,7 +295,8 @@ def escape_shell_arg(shell_arg): @raise ...
utils: unicode fix * Accepts unicode as well as strings for escape_shell_arg().
py
diff --git a/intranet/apps/dashboard/views.py b/intranet/apps/dashboard/views.py index <HASH>..<HASH> 100644 --- a/intranet/apps/dashboard/views.py +++ b/intranet/apps/dashboard/views.py @@ -80,7 +80,7 @@ def gen_schedule(user, num_blocks=6, surrounding_blocks=None): "flags": flags, "is_today"...
refactor: call the method EighthBlock.signup_time_future() explicitly Django will still call it in the template, but it's best to be explicit
py
diff --git a/pvl/encoder.py b/pvl/encoder.py index <HASH>..<HASH> 100644 --- a/pvl/encoder.py +++ b/pvl/encoder.py @@ -226,6 +226,8 @@ class PDSLabelEncoder(PVLEncoder): begin_object = b'OBJECT' def _detect_assignment_col(self, block, indent=0): + if not block: + return 0 block_it...
Fix detecting assignment column for empty blocks.
py
diff --git a/src/rituals/acts/releasing.py b/src/rituals/acts/releasing.py index <HASH>..<HASH> 100644 --- a/src/rituals/acts/releasing.py +++ b/src/rituals/acts/releasing.py @@ -352,11 +352,14 @@ def pex(ctx, pyrun='', upload=False, opts='', windows=False): envs = [i.split('-')[-3:] for i in non_universal...
pex: filter out platform tags with a compatible Python ABI before renaming
py
diff --git a/chainer_ui/tasks/crawl_results.py b/chainer_ui/tasks/crawl_results.py index <HASH>..<HASH> 100644 --- a/chainer_ui/tasks/crawl_results.py +++ b/chainer_ui/tasks/crawl_results.py @@ -38,9 +38,12 @@ def crawl_result_path(result_path): result['logs'] = load_result_json(result_path, 'log') re...
added sort process before db update
py
diff --git a/indra/assemblers/html/assembler.py b/indra/assemblers/html/assembler.py index <HASH>..<HASH> 100644 --- a/indra/assemblers/html/assembler.py +++ b/indra/assemblers/html/assembler.py @@ -201,6 +201,8 @@ class HtmlAssembler(object): # Get the English assembled statement ea = EnglishAssemble...
Handle a failed english assembly more gracefully.
py
diff --git a/allennlp/data/iterators/basic_iterator.py b/allennlp/data/iterators/basic_iterator.py index <HASH>..<HASH> 100644 --- a/allennlp/data/iterators/basic_iterator.py +++ b/allennlp/data/iterators/basic_iterator.py @@ -17,8 +17,9 @@ logger = logging.getLogger(__name__) # pylint: disable=invalid-name @DataIter...
fix comment (#<I>)
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 @@ -113,15 +113,11 @@ def parse_log(project, job_guid, job_log, _priority): @parser_task def store_failure_lines(project, job_guid, job_log...
Bug <I> - Remove duplicate .retry() of store_failure_lines Since the task already has the `@retryable_task` decorator applied.
py
diff --git a/blockstack_cli_0.14.1/blockstack_client/data.py b/blockstack_cli_0.14.1/blockstack_client/data.py index <HASH>..<HASH> 100644 --- a/blockstack_cli_0.14.1/blockstack_client/data.py +++ b/blockstack_cli_0.14.1/blockstack_client/data.py @@ -246,7 +246,7 @@ def get_immutable(name, data_hash, data_id=None, prox...
pass extra data_id and fqu hints
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -13,12 +13,13 @@ except ImportError: from ez_setup import use_setuptools use_setuptools() +import sys from setuptools import setup try: - f = open('README.rst','rU') - long_description = f.read() - f.c...
'U' mode was deprecated and will be removed in Python <I>. (#<I>)
py
diff --git a/src/holodeck/holodeckclient.py b/src/holodeck/holodeckclient.py index <HASH>..<HASH> 100644 --- a/src/holodeck/holodeckclient.py +++ b/src/holodeck/holodeckclient.py @@ -85,7 +85,7 @@ class HolodeckClient: # Unfortunately, OSX doesn't support sem_timedwait(), so setting this timeout # d...
Decrease semaphore timeout to <I>s for now
py
diff --git a/tests/unit/test_vanilla.py b/tests/unit/test_vanilla.py index <HASH>..<HASH> 100644 --- a/tests/unit/test_vanilla.py +++ b/tests/unit/test_vanilla.py @@ -591,22 +591,22 @@ class TestCup(object): h = vanilla.Hub() app = h.http.cup() - @app.route('/') - def index(request, re...
assert we can run multiple methods on the same endpoint
py
diff --git a/python/setup.py b/python/setup.py index <HASH>..<HASH> 100755 --- a/python/setup.py +++ b/python/setup.py @@ -57,7 +57,7 @@ del sources, libraries desc = 'MessagePack (de)serializer.' long_desc = """MessagePack (de)serializer for Python. -What's MessagePack? (from http://msgpack.sourceforge.net/) +What...
python: Change URL in setup.py from sf.net to msgpack.org
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -256,7 +256,6 @@ setup( long_description = open('README.rst').read(), author = 'Maik Riechert', author_email = 'maik.riechert@arcor.de', - license = 'MIT', url = 'https://github.com/neothemachi...
remove license keyword again, not needed if already in classifiers
py
diff --git a/traffic/algorithms/navigation.py b/traffic/algorithms/navigation.py index <HASH>..<HASH> 100644 --- a/traffic/algorithms/navigation.py +++ b/traffic/algorithms/navigation.py @@ -908,18 +908,17 @@ class NavigationFeatures: if moving is None: return None - first_segment = next(...
improve Flight.moving for stop detection of inbound traffic (#<I>)
py
diff --git a/gns3server/compute/dynamips/nodes/ethernet_switch.py b/gns3server/compute/dynamips/nodes/ethernet_switch.py index <HASH>..<HASH> 100644 --- a/gns3server/compute/dynamips/nodes/ethernet_switch.py +++ b/gns3server/compute/dynamips/nodes/ethernet_switch.py @@ -132,10 +132,11 @@ class EthernetSwitch(Device): ...
Avoid sending warning message all the time for Ethernet switch.
py
diff --git a/afterflight/settings_local_example.py b/afterflight/settings_local_example.py index <HASH>..<HASH> 100644 --- a/afterflight/settings_local_example.py +++ b/afterflight/settings_local_example.py @@ -16,5 +16,5 @@ INTERNAL_IPS = ('127.0.0.1',) # Add optional dependencies DEBUG_APPS = ('debug_toolbar',) -...
settings_local_example is written for development, so should be DEBUG = True
py
diff --git a/tensorpack/models/conv2d.py b/tensorpack/models/conv2d.py index <HASH>..<HASH> 100644 --- a/tensorpack/models/conv2d.py +++ b/tensorpack/models/conv2d.py @@ -218,7 +218,7 @@ def Conv2DTranspose( [shape_dyn[0], shape_dyn[1] * strides2d[0], shape_dyn[2] * ...
fix bug in Conv2DTranspose For TF<I> (introduced in <I>c4c2c<I>c6)
py
diff --git a/rest/rest_service.py b/rest/rest_service.py index <HASH>..<HASH> 100644 --- a/rest/rest_service.py +++ b/rest/rest_service.py @@ -424,7 +424,7 @@ class RestService(object): @retry(wait_exponential_multiplier=500, wait_exponential_max=10000) def _create_producer(self): - """Tries to estab...
fix typo for consumer vs producer Resolves #<I>
py
diff --git a/splitfolders/split.py b/splitfolders/split.py index <HASH>..<HASH> 100644 --- a/splitfolders/split.py +++ b/splitfolders/split.py @@ -246,7 +246,7 @@ def split_class_dir_fixed(class_dir, output, fixed, seed, prog_bar, group_prefix """ files = setup_files(class_dir, seed, group_prefix) - if n...
Fixed error message in split_class_dir_fixed (#<I>) if number of files is equal to sum of the fixed given by user, it should not throw an error message
py
diff --git a/src/guake.py b/src/guake.py index <HASH>..<HASH> 100755 --- a/src/guake.py +++ b/src/guake.py @@ -117,9 +117,10 @@ class PrefsDialog(SimpleGladeApp): # Preview when selecting a bgimage self.selection_preview = gtk.Image() self.file_filter = gtk.FileFilter() - self.file_fil...
Fixing jpg, jpeg file filters to be passed to gtk.FileChooser.
py
diff --git a/rash/functional_tests/test_cli.py b/rash/functional_tests/test_cli.py index <HASH>..<HASH> 100644 --- a/rash/functional_tests/test_cli.py +++ b/rash/functional_tests/test_cli.py @@ -306,7 +306,7 @@ class ShellTestMixIn(FunctionalTestMixIn): def pid_file_contains_a_number(): try: ...
Fix a bug in test_daemon (still failing)
py
diff --git a/nomenclate/version.py b/nomenclate/version.py index <HASH>..<HASH> 100644 --- a/nomenclate/version.py +++ b/nomenclate/version.py @@ -1 +1 @@ -__version__ = '1.3.0' +__version__ = '1.3.1'
versioned up to <I>
py
diff --git a/pyvista/plotting/colors.py b/pyvista/plotting/colors.py index <HASH>..<HASH> 100644 --- a/pyvista/plotting/colors.py +++ b/pyvista/plotting/colors.py @@ -152,6 +152,16 @@ white whitesmoke yellow yellowgreen +tab:blue +tab:orange +tab:green +tab:red +tab:purple +tab:brown +tab:pink +tab:gray +tab:olive +...
add new colors (#<I>)
py
diff --git a/tinyscript/preimports/inspectp.py b/tinyscript/preimports/inspectp.py index <HASH>..<HASH> 100644 --- a/tinyscript/preimports/inspectp.py +++ b/tinyscript/preimports/inspectp.py @@ -44,7 +44,7 @@ def getparentframe(**kwargs): frame = inspect.stack()[0][0] while frame is not None: frame =...
Fixed minor bug in preimports.inspect
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -119,7 +119,7 @@ for libname in extra_libs: srcfile = os.path.join(libsdir, libname) tgtfile = os.path.join("datatable", "lib", libname) if not os.path.exists(tgtfile): - print("Copying %s to %s" % (srcfi...
[BUILD] Setup py should avoid printing to stdout (#<I>)
py
diff --git a/neo/Network/nodemanager.py b/neo/Network/nodemanager.py index <HASH>..<HASH> 100644 --- a/neo/Network/nodemanager.py +++ b/neo/Network/nodemanager.py @@ -69,7 +69,7 @@ class NodeManager(Singleton): async def start(self): host = 'localhost' - port = 8888 # settings.NODE_PORT + ...
revert nodemanager.start.port (#<I>)
py
diff --git a/tests/integ/test_horovod_mx.py b/tests/integ/test_horovod_mx.py index <HASH>..<HASH> 100644 --- a/tests/integ/test_horovod_mx.py +++ b/tests/integ/test_horovod_mx.py @@ -92,6 +92,7 @@ def _create_and_fit_estimator(mxnet_version, py_version, sagemaker_session, inst py_version=py_version, f...
infra: disable_profiler on mx-horovod test (#<I>)
py
diff --git a/pyrogram/methods/chats/delete_user_history.py b/pyrogram/methods/chats/delete_user_history.py index <HASH>..<HASH> 100644 --- a/pyrogram/methods/chats/delete_user_history.py +++ b/pyrogram/methods/chats/delete_user_history.py @@ -42,9 +42,9 @@ class DeleteUserHistory(Scaffold): """ r = ...
Fix renamed raw API function (#<I>) `raw.functions.channels.DeleteUserHistory` to `raw.functions.channels.DeleteParticipantHistory`
py
diff --git a/__db.py b/__db.py index <HASH>..<HASH> 100644 --- a/__db.py +++ b/__db.py @@ -1,5 +1,4 @@ import motor -from bson import ObjectId from tornado.ioloop import IOLoop from time import * @@ -8,8 +7,6 @@ def _run(func): dbhelper.instance.result = None res = func(*args,**kargs) I...
restore bug in bson from <I> to <I>
py
diff --git a/glitch.py b/glitch.py index <HASH>..<HASH> 100644 --- a/glitch.py +++ b/glitch.py @@ -24,17 +24,15 @@ import docopt def fetchAlphanumeric(): an = list(string.ascii_letters + string.digits) random.shuffle(an) - return (an[i] for i in range(len(an))) + return (bytes([ord(an[i])]) for i in ra...
The position of transform bytes string process is moved.
py
diff --git a/skew/arn/__init__.py b/skew/arn/__init__.py index <HASH>..<HASH> 100644 --- a/skew/arn/__init__.py +++ b/skew/arn/__init__.py @@ -32,6 +32,16 @@ resource_events = { } +_region_names = ['us-east-1', + 'us-west-1', + 'us-west-2', + 'eu-west-1', + ...
Botocore no longer provides the region_names attribute on the Service object. Need to create our own list of regions for now.
py
diff --git a/pandas_plink/_read.py b/pandas_plink/_read.py index <HASH>..<HASH> 100644 --- a/pandas_plink/_read.py +++ b/pandas_plink/_read.py @@ -335,7 +335,7 @@ def _read_csv(fn, header): fn, delim_whitespace=True, header=None, - names=header.keys(), + names=list(header.keys()...
Fix for Pandas <I> (ValueError: Names should be an ordered collection)
py
diff --git a/pyensembl/shell.py b/pyensembl/shell.py index <HASH>..<HASH> 100755 --- a/pyensembl/shell.py +++ b/pyensembl/shell.py @@ -166,6 +166,7 @@ def collect_selected_genomes(args): genomes.append(Genome( reference_name=args.reference_name, annotation_name=args.annotation_name, +...
need annotation version to get paths to match up
py
diff --git a/deployment/appengine/hooks.py b/deployment/appengine/hooks.py index <HASH>..<HASH> 100644 --- a/deployment/appengine/hooks.py +++ b/deployment/appengine/hooks.py @@ -19,7 +19,6 @@ import datetime import logging from google.appengine.api import files -from google.appengine.api import images from google...
Thumbnails just aren't faster
py
diff --git a/urbansim/models/regression.py b/urbansim/models/regression.py index <HASH>..<HASH> 100644 --- a/urbansim/models/regression.py +++ b/urbansim/models/regression.py @@ -203,7 +203,8 @@ def _model_fit_to_table(fit): YTRANSFORM_MAPPING = { - None: None, + None: '', + '': None, np.exp: 'np.exp...
save 'None' ytransform as empty string instead of null
py
diff --git a/indra/tools/assemble_corpus.py b/indra/tools/assemble_corpus.py index <HASH>..<HASH> 100644 --- a/indra/tools/assemble_corpus.py +++ b/indra/tools/assemble_corpus.py @@ -216,10 +216,7 @@ def run_preassembly_related(preassembler, beliefengine, **kwargs): logger.info('Combining related on %d statements....
Remove 2nd timing from assemble_corpus for consistency
py
diff --git a/blockstack_client/client.py b/blockstack_client/client.py index <HASH>..<HASH> 100644 --- a/blockstack_client/client.py +++ b/blockstack_client/client.py @@ -330,7 +330,7 @@ def set_storage_setup( config_path=CONFIG_PATH): return {'status': True} -def storage_setup(password, blockchain_id=None, co...
differentiate between global-data initialization and local-data initialization
py
diff --git a/salt/modules/serverdensity_device.py b/salt/modules/serverdensity_device.py index <HASH>..<HASH> 100644 --- a/salt/modules/serverdensity_device.py +++ b/salt/modules/serverdensity_device.py @@ -34,7 +34,7 @@ def get_sd_auth(val, sd_auth_pillar_name='serverdensity'): sd_pillar = __pillar__.get(sd_auth_...
typo fix in log s/Cloud/Could/
py
diff --git a/khard/khard.py b/khard/khard.py index <HASH>..<HASH> 100644 --- a/khard/khard.py +++ b/khard/khard.py @@ -1644,15 +1644,12 @@ def main(argv=sys.argv[1:]): # example: "ls" --> "list" args.action = Actions.get_action(args.action) - # Check some of the simpler subcommands first. These ...
Fix filename subcommand (UnboundLocalError) The if statement was moved up to much in ac6a9e<I>e<I>bb9b4ff<I>c<I>dd<I>b5f9 such that the variable contact_list was yet not defined when it was needed.
py
diff --git a/lib/webcomment_regression_tests.py b/lib/webcomment_regression_tests.py index <HASH>..<HASH> 100644 --- a/lib/webcomment_regression_tests.py +++ b/lib/webcomment_regression_tests.py @@ -74,15 +74,6 @@ class WebCommentWebPagesAvailabilityTest(unittest.TestCase): ...
Fixed regression tests to check for new webdoc pages.
py
diff --git a/openquake/server/dbserver.py b/openquake/server/dbserver.py index <HASH>..<HASH> 100644 --- a/openquake/server/dbserver.py +++ b/openquake/server/dbserver.py @@ -110,10 +110,10 @@ def ensure_on(): '-l', 'INFO']) # wait for the dbserver to start - waiting_seconds...
Increased the timeout of the dbserver to <I> seconds
py
diff --git a/astromodels/core/parameter_transformation.py b/astromodels/core/parameter_transformation.py index <HASH>..<HASH> 100644 --- a/astromodels/core/parameter_transformation.py +++ b/astromodels/core/parameter_transformation.py @@ -1,4 +1,6 @@ +import math from builtins import object + import numpy as np @...
switch to the math library for some speed
py
diff --git a/nodeshot/networking/net/models/choices.py b/nodeshot/networking/net/models/choices.py index <HASH>..<HASH> 100755 --- a/nodeshot/networking/net/models/choices.py +++ b/nodeshot/networking/net/models/choices.py @@ -16,7 +16,14 @@ ROUTING_PROTOCOLS = ( DEVICE_TYPES = { 'radio device': 'radio', + '...
Added new types to DEVICE_TYPES: generic, nat, confine, ADSL, phone, cloudy, cam.
py
diff --git a/vel/api/learner.py b/vel/api/learner.py index <HASH>..<HASH> 100644 --- a/vel/api/learner.py +++ b/vel/api/learner.py @@ -114,4 +114,3 @@ class Learner: loss = self.feed_batch(batch_info, data, target) loss.backward() batch_info.optimizer.step() -
Removed whitespace at the end of file.
py
diff --git a/tests/test_jsonrpc.py b/tests/test_jsonrpc.py index <HASH>..<HASH> 100644 --- a/tests/test_jsonrpc.py +++ b/tests/test_jsonrpc.py @@ -421,7 +421,7 @@ class TestJsonRpc(UnitTest): server.close() client.close() - def test_connection_limit(self): + def xx_test_connection_limit(self):...
Temporarily disable test_connection_limit. Until I figure out what's going on...
py
diff --git a/scout/ext/backend/event_handler.py b/scout/ext/backend/event_handler.py index <HASH>..<HASH> 100644 --- a/scout/ext/backend/event_handler.py +++ b/scout/ext/backend/event_handler.py @@ -455,16 +455,17 @@ class EventHandler(object): case.suspects.append(variant) case.save() - self...
add event to case for pinning variant, fix #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ with open("README.md", "r") as fh: setup( name="remi", description="Python REMote Interface library", - use_scm_version=True, + use_scm_version={'version_scheme': 'post-release'}, long_descri...
Switched to post-release version scheme, to avoid to get a false release date.
py
diff --git a/cassandra/connection.py b/cassandra/connection.py index <HASH>..<HASH> 100644 --- a/cassandra/connection.py +++ b/cassandra/connection.py @@ -7,9 +7,9 @@ import time import traceback if 'gevent.monkey' in sys.modules: - from gevent.queue import Queue + from gevent.queue import Queue, Empty else:...
Catch Empty exception on connection id queue properly
py
diff --git a/tests/cli/test_integration_datasets.py b/tests/cli/test_integration_datasets.py index <HASH>..<HASH> 100644 --- a/tests/cli/test_integration_datasets.py +++ b/tests/cli/test_integration_datasets.py @@ -18,7 +18,6 @@ """Integration tests for dataset command.""" import os import subprocess -import urllib ...
fix: integration tests (#<I>)
py
diff --git a/aloe_webdriver/util.py b/aloe_webdriver/util.py index <HASH>..<HASH> 100644 --- a/aloe_webdriver/util.py +++ b/aloe_webdriver/util.py @@ -42,7 +42,8 @@ def string_literal(content): if '"' in content and "'" in content: # there is no way to escape string literal characters in XPath ra...
Don't use "elif" after "raise"
py
diff --git a/bcbio/variation/gatkjoint.py b/bcbio/variation/gatkjoint.py index <HASH>..<HASH> 100644 --- a/bcbio/variation/gatkjoint.py +++ b/bcbio/variation/gatkjoint.py @@ -84,6 +84,9 @@ def _run_genotype_gvcfs_genomicsdb(genomics_db, region, out_file, data): "-R", dd.get_ref_file(data), ...
GATK4: improve GenotypeGVCFs speed with new-qual Swaps to use improved speed in GATK4's new quality calculator. Fixes #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -16,6 +16,7 @@ setup(name='bugwarrior', "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License (GPL)", "Programming Language :: Python :: 2", + "Prog...
Add python3 to classifiers.
py
diff --git a/transformers/modeling_xlm_roberta.py b/transformers/modeling_xlm_roberta.py index <HASH>..<HASH> 100644 --- a/transformers/modeling_xlm_roberta.py +++ b/transformers/modeling_xlm_roberta.py @@ -27,8 +27,8 @@ from .file_utils import add_start_docstrings logger = logging.getLogger(__name__) XLM_ROBERTA_P...
modeling: use S3 location for XLM-RoBERTa model
py
diff --git a/porespy/tools/__utils__.py b/porespy/tools/__utils__.py index <HASH>..<HASH> 100644 --- a/porespy/tools/__utils__.py +++ b/porespy/tools/__utils__.py @@ -47,3 +47,26 @@ def get_tqdm(): else: tqdm = importlib.import_module('tqdm') return tqdm.tqdm + + +def show_docstring(func): + r""" ...
Adding function to utils that returns markdown formatted version of a function's docstring
py
diff --git a/seleniumbase/core/browser_launcher.py b/seleniumbase/core/browser_launcher.py index <HASH>..<HASH> 100755 --- a/seleniumbase/core/browser_launcher.py +++ b/seleniumbase/core/browser_launcher.py @@ -117,9 +117,12 @@ def _set_chrome_options( abs_path = os.path.abspath(user_data_dir) chrome_...
Allow a comma-separated list of Chrome extensions to use
py
diff --git a/cellpy/__init__.py b/cellpy/__init__.py index <HASH>..<HASH> 100644 --- a/cellpy/__init__.py +++ b/cellpy/__init__.py @@ -4,8 +4,8 @@ """ -__author__ = 'Jan Petter Maehlen' -__email__ = 'jepe@ife.no' +__author__ = 'Jan Petter Maehlen', 'Asbjoern Ulvestad' +__email__ = 'jepe@ife.no', 'Asbjorn.Ulvestad@...
rename from cell to get also in __init__
py
diff --git a/chess_py/core/algebraic/converter.py b/chess_py/core/algebraic/converter.py index <HASH>..<HASH> 100644 --- a/chess_py/core/algebraic/converter.py +++ b/chess_py/core/algebraic/converter.py @@ -87,7 +87,7 @@ def _get_piece_start_location(end_location, poss_piece = position.piece_at_square(empt...
Return start location instead of end location when selecting piece while parsing
py
diff --git a/cnxml/parse.py b/cnxml/parse.py index <HASH>..<HASH> 100644 --- a/cnxml/parse.py +++ b/cnxml/parse.py @@ -88,14 +88,16 @@ def lookup_license_text(license_url): 'Creative Commons Attribution License', 'http://creativecommons.org/licenses/by-nc-sa/4.0': 'Creative Commons At...
Update cnxml.parse so empty license_url is same as None (#<I>) * lookup_license_text returns None if license_url is None or empty * Add Polish license
py
diff --git a/flask_appbuilder/api/__init__.py b/flask_appbuilder/api/__init__.py index <HASH>..<HASH> 100644 --- a/flask_appbuilder/api/__init__.py +++ b/flask_appbuilder/api/__init__.py @@ -517,7 +517,7 @@ class BaseApi(object): """ Sets initialized inner views """ - pass + ...
[api] Exempt code coverage from unreachable code
py
diff --git a/pirate/torrent.py b/pirate/torrent.py index <HASH>..<HASH> 100644 --- a/pirate/torrent.py +++ b/pirate/torrent.py @@ -236,7 +236,7 @@ def copy_magnets(printer, chosen_links, results): clipboard_text = '' for link in chosen_links: magnet = results[link]['magnet'] - info_hash = int(...
fix "copy magnet to clipboard" error The info hash can contain uppercase hex digits as well.
py
diff --git a/benchbuild/utils/download.py b/benchbuild/utils/download.py index <HASH>..<HASH> 100644 --- a/benchbuild/utils/download.py +++ b/benchbuild/utils/download.py @@ -235,7 +235,8 @@ def with_git(repo, limit=None, refspec="HEAD", clone=True, - rev_list_args=...
Test implementation for decorator with filter function
py
diff --git a/troposphere/rds.py b/troposphere/rds.py index <HASH>..<HASH> 100644 --- a/troposphere/rds.py +++ b/troposphere/rds.py @@ -6,7 +6,8 @@ import re from . import AWSHelperFn, AWSObject, AWSProperty, Tags -from .validators import boolean, network_port, integer, positive_integer +from .validators import (boo...
Added support for Aurora BacktrackWindow. (#<I>)
py
diff --git a/openquake/commonlib/oqvalidation.py b/openquake/commonlib/oqvalidation.py index <HASH>..<HASH> 100644 --- a/openquake/commonlib/oqvalidation.py +++ b/openquake/commonlib/oqvalidation.py @@ -252,6 +252,8 @@ class OqParam(valid.ParamSet): levels, if given, or the hazard ones. """ i...
Added an error if oqparam.imtls is empty
py
diff --git a/awx/main/expect/run.py b/awx/main/expect/run.py index <HASH>..<HASH> 100755 --- a/awx/main/expect/run.py +++ b/awx/main/expect/run.py @@ -47,7 +47,7 @@ def open_fifo_write(path, data): This blocks the thread until an external process (such as ssh-agent) reads data from the pipe. ''' - os....
Modernize Python 2 code to get ready for Python 3
py
diff --git a/regions/shapes/polygon.py b/regions/shapes/polygon.py index <HASH>..<HASH> 100644 --- a/regions/shapes/polygon.py +++ b/regions/shapes/polygon.py @@ -200,6 +200,13 @@ class RegularPolygonPixelRegion(PolygonPixelRegion): """ A regular polygon in pixel coordinates. + .. note:: + + This ...
Add note about round-trip serialization
py
diff --git a/tests/user_test.py b/tests/user_test.py index <HASH>..<HASH> 100644 --- a/tests/user_test.py +++ b/tests/user_test.py @@ -1,3 +1,5 @@ +import pytest + from . import util from okcupyd import User from okcupyd import helpers @@ -63,6 +65,7 @@ def test_visitors(): assert isinstance(user.visitors[0], P...
Mark unicode issue as xfail.
py
diff --git a/dosagelib/util.py b/dosagelib/util.py index <HASH>..<HASH> 100644 --- a/dosagelib/util.py +++ b/dosagelib/util.py @@ -108,7 +108,10 @@ def getPageContent(url, session, max_content_bytes=MaxContentBytes): """Get text content of given URL.""" check_robotstxt(url, session) # read page data - ...
Retry failed page content downloads (eg. timeouts).
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -54,7 +54,7 @@ ext_modules = [ setup( name = 'reppy', - version = '0.4.1', + version = '0.4.2', description = 'Replacement robots.txt Parser', long_description = '''Re...
Version bump to <I>.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ with codecs.open(path.join(here, 'README.rst'), encoding='utf-8') as f: setup( name='mri_meta_extract', - version='1.1.4', + version='1.1.5', url='https://github.com/LREN-CHUV/mri-meta-extract',...
update version number in setup.py
py
diff --git a/tests/settings.py b/tests/settings.py index <HASH>..<HASH> 100644 --- a/tests/settings.py +++ b/tests/settings.py @@ -1,4 +1,25 @@ +SECRET_KEY = 'test' +DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.sqlite3', + 'NAME': ':memory:', + } +} +MIDDLEWARE_CLASSES = ( + 'djan...
setup tests with django database, DRF and OAuth toolkit
py
diff --git a/deployment/freebsd/__init__.py b/deployment/freebsd/__init__.py index <HASH>..<HASH> 100644 --- a/deployment/freebsd/__init__.py +++ b/deployment/freebsd/__init__.py @@ -33,7 +33,7 @@ def bootstrap(config): fab.sudo("""sudo zfs mount -a""") # sometimes the newly created pool is not mounted automatica...
install ezjail with ports this way we can build the required packages from source instead of trusting pre-built binaries.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -271,8 +271,8 @@ def get_version_info(): # If this is a release or another kind of source distribution of PyCBC except: - version = '1.9.0dev' - release = 'False' + version = '1.8.2' + r...
set to release (#<I>)
py
diff --git a/mzgtfs/test_util.py b/mzgtfs/test_util.py index <HASH>..<HASH> 100644 --- a/mzgtfs/test_util.py +++ b/mzgtfs/test_util.py @@ -42,3 +42,7 @@ class TestUtil(unittest.TestCase): util.filtfirst(self.testdata, name='Asdf') with self.assertRaises(ValueError): util.filtfirst(self.testdata, id='...
<I>% test coverage for util
py
diff --git a/src/infi/projector/helper/utils/__init__.py b/src/infi/projector/helper/utils/__init__.py index <HASH>..<HASH> 100644 --- a/src/infi/projector/helper/utils/__init__.py +++ b/src/infi/projector/helper/utils/__init__.py @@ -196,7 +196,7 @@ def freeze_versions(versions_file, change_install_requires): ...
HOSTDEV-<I> have the verions section in buildout.cfg sorted
py
diff --git a/src/chisel/__init__.py b/src/chisel/__init__.py index <HASH>..<HASH> 100644 --- a/src/chisel/__init__.py +++ b/src/chisel/__init__.py @@ -6,7 +6,7 @@ Chisel is a light-weight Python WSGI application framework with tools for buildi well-tested, schema-validated JSON web APIs. """ -__version__ = '0.9.118...
chisel <I>
py
diff --git a/state.py b/state.py index <HASH>..<HASH> 100644 --- a/state.py +++ b/state.py @@ -47,14 +47,14 @@ class StateDownloader(PeerPoolSubscriber): _total_timeouts = 0 def __init__(self, - state_db: BaseDB, + account_db: BaseDB, root_hash: bytes, ...
rename state_db to account_db
py
diff --git a/jasily/objects.py b/jasily/objects.py index <HASH>..<HASH> 100644 --- a/jasily/objects.py +++ b/jasily/objects.py @@ -19,35 +19,6 @@ class __NotFound: NOT_FOUND = __NotFound() -class ValueContainer: - def __init__(self, *args): - self.__has_value = False - self.__value = None - ...
remove ValueContainer since we got data.Box
py
diff --git a/MAVProxy/modules/mavproxy_relay.py b/MAVProxy/modules/mavproxy_relay.py index <HASH>..<HASH> 100644 --- a/MAVProxy/modules/mavproxy_relay.py +++ b/MAVProxy/modules/mavproxy_relay.py @@ -63,14 +63,18 @@ class RelayModule(mp_module.MPModule): def cmd_motortest(self, args): '''run motortests o...
motortest: added support for motor count
py
diff --git a/spyder/plugins/ipythonconsole/widgets/debugging.py b/spyder/plugins/ipythonconsole/widgets/debugging.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/ipythonconsole/widgets/debugging.py +++ b/spyder/plugins/ipythonconsole/widgets/debugging.py @@ -195,13 +195,13 @@ class DebuggingWidget(RichJupyterWidget...
Turn highlighting on only for pdb
py
diff --git a/gnosis/eth/ethereum_client.py b/gnosis/eth/ethereum_client.py index <HASH>..<HASH> 100644 --- a/gnosis/eth/ethereum_client.py +++ b/gnosis/eth/ethereum_client.py @@ -1858,7 +1858,7 @@ class EthereumClient: to: str, gas_price: int, value: Wei, - gas: int = 23000, + g...
Fix default gas for ether sending - Sending ether not always costs <I> gas
py