diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/ipyrad/assemble/cluster_across.py b/ipyrad/assemble/cluster_across.py index <HASH>..<HASH> 100644 --- a/ipyrad/assemble/cluster_across.py +++ b/ipyrad/assemble/cluster_across.py @@ -1046,7 +1046,7 @@ def build_input_file(data, samples, randomseed): proc1 = subprocess.Popen(cmd1, stdout=subprocess.PIPE...
removed a redundant call to open the allhaps file
py
diff --git a/pysat/demo/ssnl_occurrence_by_orbit.py b/pysat/demo/ssnl_occurrence_by_orbit.py index <HASH>..<HASH> 100644 --- a/pysat/demo/ssnl_occurrence_by_orbit.py +++ b/pysat/demo/ssnl_occurrence_by_orbit.py @@ -17,9 +17,15 @@ results_dir = '' vefi = pysat.Instrument(platform='cnofs', name='vefi', tag='dc_b', clean...
Added data filter which demonstrates custom functions. Expaned data range for better results.
py
diff --git a/test/performance.py b/test/performance.py index <HASH>..<HASH> 100644 --- a/test/performance.py +++ b/test/performance.py @@ -8,6 +8,7 @@ import meshio def generate_mesh(): '''Generates a fairly large mesh. ''' + # pylint: disable=import-error import pygmsh geom = pygmsh.built_in.Ge...
another pylint fix
py
diff --git a/raiden/constants.py b/raiden/constants.py index <HASH>..<HASH> 100644 --- a/raiden/constants.py +++ b/raiden/constants.py @@ -150,7 +150,7 @@ CHECK_GAS_RESERVE_INTERVAL = 5 * 60 CHECK_VERSION_INTERVAL = 3 * 60 * 60 CHECK_NETWORK_ID_INTERVAL = 5 * 60 -DEFAULT_HTTP_REQUEST_TIMEOUT = 1.0 # seconds +DEFAU...
Increase pfs request timeout from 1 to <I> seconds Fix #<I> When many requests are sent to the PFS at the same time and the pathfinding timeout is only 1 second <URL>. Increasing the request timeout fixes this.
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 @@ -19,7 +19,7 @@ import os # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to t...
added project root to sys path when builds docs
py
diff --git a/jenkins/bootstrap.py b/jenkins/bootstrap.py index <HASH>..<HASH> 100755 --- a/jenkins/bootstrap.py +++ b/jenkins/bootstrap.py @@ -240,7 +240,7 @@ def checkout(call, repo, branch, pull, ssh='', git_cache='', clean=False): retries = 3 for attempt in range(retries): try: - call([...
Silence fetch-- a list of all tags isn't interesting.
py
diff --git a/quilt/patchimport.py b/quilt/patchimport.py index <HASH>..<HASH> 100644 --- a/quilt/patchimport.py +++ b/quilt/patchimport.py @@ -65,6 +65,7 @@ class Import(Command): """ Import several patches into the patch queue """ dest_dir = self.quilt_patches + patch_names = [] f...
Add missing declaration of patch_names
py
diff --git a/scikit_learn_test.py b/scikit_learn_test.py index <HASH>..<HASH> 100644 --- a/scikit_learn_test.py +++ b/scikit_learn_test.py @@ -4,6 +4,7 @@ import subprocess import pandas as pd import sklearn from sklearn.tree import DecisionTreeClassifier +from sklearn.model_selection import train_test_split import...
Added train_test_split
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -50,7 +50,7 @@ setup(name = 'txtorcon', author_email = __contact__, url = __url__, license = __license__, - packages = ["txtorcon", "txtorcon.test"], + packages = ["txtorcon"], # scripts ...
Temp fix for "missing package error" during pip install
py
diff --git a/mutagen/_util.py b/mutagen/_util.py index <HASH>..<HASH> 100644 --- a/mutagen/_util.py +++ b/mutagen/_util.py @@ -571,7 +571,14 @@ def insert_bytes(fobj, size, offset, BUFFER_SIZE=2 ** 16): fobj.seek(0, 2) filesize = fobj.tell() movesize = filesize - offset - fobj.write(b'\x00' * size) + ...
insert_bytes: don't pad file twice in the fallback case
py
diff --git a/sc2maptool/cli.py b/sc2maptool/cli.py index <HASH>..<HASH> 100644 --- a/sc2maptool/cli.py +++ b/sc2maptool/cli.py @@ -55,11 +55,15 @@ def cli(): # mini/unit test else: print("No matching maps found.") else: - specifiedMaps = selectMap( - options.mapname, - ...
- added exception handling for when the specified map is not found and neither --list or --details are set
py
diff --git a/nosedjango/nosedjango.py b/nosedjango/nosedjango.py index <HASH>..<HASH> 100644 --- a/nosedjango/nosedjango.py +++ b/nosedjango/nosedjango.py @@ -164,6 +164,9 @@ class NoseDjango(Plugin): # Do not use transactions if user has forbidden usage. # Assume that the database supports th...
If the database doesn't support transactions, don't much with them
py
diff --git a/multiqc/modules/pangolin/pangolin.py b/multiqc/modules/pangolin/pangolin.py index <HASH>..<HASH> 100644 --- a/multiqc/modules/pangolin/pangolin.py +++ b/multiqc/modules/pangolin/pangolin.py @@ -35,7 +35,12 @@ class MultiqcModule(BaseMultiqcModule): self.pangolin_general_stats_table() - ...
Update color scheme and add description to table
py
diff --git a/pysat/utils/testing.py b/pysat/utils/testing.py index <HASH>..<HASH> 100644 --- a/pysat/utils/testing.py +++ b/pysat/utils/testing.py @@ -7,9 +7,10 @@ import numpy as np import os +import time from pysat.utils.files import check_and_make_path from pysat.utils import NetworkLock -from pysat.utils impo...
BUG: Corrected time import issue.
py
diff --git a/bcbio/pipeline/qcsummary.py b/bcbio/pipeline/qcsummary.py index <HASH>..<HASH> 100644 --- a/bcbio/pipeline/qcsummary.py +++ b/bcbio/pipeline/qcsummary.py @@ -829,9 +829,14 @@ def _run_gemini_stats(bam_file, data, out_dir): else: with open(gemini_stat_file) as in_handle: ...
add common gemini metrics during qcsummary
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -57,7 +57,7 @@ ext_modules = [ setup( name='reppy', - version='0.4.9', + version='0.4.10rc1', description='Replacement robots.txt Parser', long_description='''Replaces the built-in robotsparser with a ...
Add latest Python classifiers. Also, bump to <I>pre1 to see if this will work for a `pip install` for <I>.
py
diff --git a/anyconfig/backend/xml.py b/anyconfig/backend/xml.py index <HASH>..<HASH> 100644 --- a/anyconfig/backend/xml.py +++ b/anyconfig/backend/xml.py @@ -1,9 +1,11 @@ # -# Copyright (C) 2011 - 2017 Satoru SATOH <ssato @ redhat.com> +# Copyright (C) 2011 - 2018 Satoru SATOH <ssato @ redhat.com> # License: MIT # ...
change: [xml] suppress pylint's warn, len-as-condition
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -33,9 +33,13 @@ def get_data_files(): prefix = '' if is_root: # this is system install - if uname == 'Linux': + if uname == 'Linux' and shell == 'bash': pre...
Update completion files install location when system install
py
diff --git a/src/jukedj/models.py b/src/jukedj/models.py index <HASH>..<HASH> 100644 --- a/src/jukedj/models.py +++ b/src/jukedj/models.py @@ -79,7 +79,10 @@ class Project(models.Model): :rtype: str :raises: None """ - return os.path.normpath(self._path) + p = os.path.normpath(s...
Fix path of project if it ends with :
py
diff --git a/ceam/framework/lookup.py b/ceam/framework/lookup.py index <HASH>..<HASH> 100644 --- a/ceam/framework/lookup.py +++ b/ceam/framework/lookup.py @@ -73,7 +73,9 @@ class InterpolatedDataManager: return [self.uninterpolated_manager] def _build_interpolated_table(self, data, key_columns, paramete...
Allow lookup tables to accept defined interpolation objects
py
diff --git a/airflow/jobs.py b/airflow/jobs.py index <HASH>..<HASH> 100644 --- a/airflow/jobs.py +++ b/airflow/jobs.py @@ -411,7 +411,7 @@ class SchedulerJob(BaseJob): open_slots = pools[pool].open_slots(session=session) if open_slots > 0: tis = sorted( - ti...
Priority based on priority_weight + time in queue
py
diff --git a/eqcorrscan/core/match_filter/family.py b/eqcorrscan/core/match_filter/family.py index <HASH>..<HASH> 100644 --- a/eqcorrscan/core/match_filter/family.py +++ b/eqcorrscan/core/match_filter/family.py @@ -456,7 +456,7 @@ class Family(object): cumulative_detections( detections=self.detect...
add overwrite-option of party.write to family.write
py
diff --git a/PySimpleGUI.py b/PySimpleGUI.py index <HASH>..<HASH> 100644 --- a/PySimpleGUI.py +++ b/PySimpleGUI.py @@ -1,5 +1,5 @@ #!/usr/bin/python3 -version = __version__ = "4.2.0.4 Unreleased" +version = __version__ = "4.2.0.5 Unreleased" # 888888ba .d88888b oo dP .888...
New Graph methods - SendFigureToBack, BringFigureToFront
py
diff --git a/dask_ml/cluster/k_means.py b/dask_ml/cluster/k_means.py index <HASH>..<HASH> 100644 --- a/dask_ml/cluster/k_means.py +++ b/dask_ml/cluster/k_means.py @@ -457,8 +457,8 @@ def init_scalable( # Step 7, 8 without weights # dask RandomState objects aren't valid for scikit-learn rng2 =...
Fix #<I>: high is out of bounds for int<I> for k_means (#<I>) * Fix `high is out of bounds for int<I>` for k_means Fixes <URL>
py
diff --git a/src/sklearn_evaluation/__init__.py b/src/sklearn_evaluation/__init__.py index <HASH>..<HASH> 100644 --- a/src/sklearn_evaluation/__init__.py +++ b/src/sklearn_evaluation/__init__.py @@ -1,4 +1,4 @@ -__version__ = '0.5.3' +__version__ = '0.5.4dev' from .evaluator import ClassifierEvaluator from .Noteboo...
Bumps up project to version <I>dev
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -1,4 +1,7 @@ #!/usr/bin/python2 +''' +The setup script for salt +''' from distutils.core import setup
Add docstring to setup.py to clean pylint output
py
diff --git a/examples/multiplex/multiplex.py b/examples/multiplex/multiplex.py index <HASH>..<HASH> 100644 --- a/examples/multiplex/multiplex.py +++ b/examples/multiplex/multiplex.py @@ -67,9 +67,9 @@ class MultiplexConnection(conn.SockJSConnection): self.endpoints[chan] = session - def on_c...
small bugfix in multiplex example The on_close method of MultiplexConnection was indented once too many times so it wasn't being called correctly. And the loop to close the endpoints once it was being called was trying to close the key of the dict vs the endpoint session obj. So fixed indent and updated close ...
py
diff --git a/aiogram/dispatcher/handler.py b/aiogram/dispatcher/handler.py index <HASH>..<HASH> 100644 --- a/aiogram/dispatcher/handler.py +++ b/aiogram/dispatcher/handler.py @@ -1,6 +1,5 @@ from asyncio import Event -from aiogram.utils.deprecated import deprecated from .filters import check_filters, CancelFilter ...
Remove DeprecationWarning.
py
diff --git a/salt/modules/win_file.py b/salt/modules/win_file.py index <HASH>..<HASH> 100644 --- a/salt/modules/win_file.py +++ b/salt/modules/win_file.py @@ -84,6 +84,8 @@ def gid_to_group(gid): salt '*' file.gid_to_group S-1-5-21-626487655-2533044672-482107328-1010 ''' + if not gid: + return...
handle no gid being passed in
py
diff --git a/ipyrad/assemble/write_outfiles.py b/ipyrad/assemble/write_outfiles.py index <HASH>..<HASH> 100644 --- a/ipyrad/assemble/write_outfiles.py +++ b/ipyrad/assemble/write_outfiles.py @@ -86,11 +86,19 @@ def run(data, samples, force, ipyclient): make_loci_and_stats(data, samples, ipyclient) ## OPTION...
Allow other output formats to try to build if vcf fails.
py
diff --git a/linkcheck/gui/editor.py b/linkcheck/gui/editor.py index <HASH>..<HASH> 100644 --- a/linkcheck/gui/editor.py +++ b/linkcheck/gui/editor.py @@ -173,7 +173,11 @@ class EditorWindow (QtGui.QDialog, Ui_EditorDialog): if not os.access(filename, os.R_OK): return self.filename = file...
Add readonly marker to editor dialog title if the file is readonly.
py
diff --git a/custodian/vasp/tests/test_handlers.py b/custodian/vasp/tests/test_handlers.py index <HASH>..<HASH> 100644 --- a/custodian/vasp/tests/test_handlers.py +++ b/custodian/vasp/tests/test_handlers.py @@ -864,7 +864,7 @@ class ZpotrfErrorHandlerTest(unittest.TestCase): d = h.correct() self.asser...
reformat with 'black' again
py
diff --git a/luigi/scheduler.py b/luigi/scheduler.py index <HASH>..<HASH> 100644 --- a/luigi/scheduler.py +++ b/luigi/scheduler.py @@ -447,7 +447,7 @@ class SimpleTaskState(object): task.remove = time.time() + config.remove_delay # Re-enable task after the disable time expires - if ta...
Check that scheduler_disable_time is not None before re-enables Checking that scheduler_disable_time does not evaluate to False in a boolean context is a bit unsafe, as I discovered when setting it to 0 in unit tests. This checks whether it is None which is what was actually desired.
py
diff --git a/indra/sources/hume/processor.py b/indra/sources/hume/processor.py index <HASH>..<HASH> 100644 --- a/indra/sources/hume/processor.py +++ b/indra/sources/hume/processor.py @@ -268,11 +268,12 @@ def _get_hume_grounding(entity): # Then we sort the list in reverse order according to score # Sometimes ...
Prioritize between equialent Hume groundings
py
diff --git a/fbchat/client.py b/fbchat/client.py index <HASH>..<HASH> 100644 --- a/fbchat/client.py +++ b/fbchat/client.py @@ -1940,6 +1940,18 @@ class Client(object): """ r = self._post(self.req_url.MARK_SEEN, {"seen_timestamp": 0}) return r.ok + + def markAsSpam(self, thread_id=None)...
Added markAsSpam
py
diff --git a/tofu/geom/_core.py b/tofu/geom/_core.py index <HASH>..<HASH> 100644 --- a/tofu/geom/_core.py +++ b/tofu/geom/_core.py @@ -2990,7 +2990,7 @@ class Rays(utils.ToFuObject): lSVIny = np.asarray(lSVIny) largs = [D, u, VPoly, VVIn] - dkwd = dict(ves_lims=Lim, ves_nlim=nLim,...
[distpolylos] took out useless var
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from setuptools import setup setup(name='billboard.py', - version='1.1.0', + version='2.0.0', description='Unofficial Python API for accessing Billboard.com charts', author='Allen Guo',...
Bump up to <I> Breaking change: spotifyLink is now empty (instead of 'none') when no Spotify link exists (changed in 4f5c8e2).
py
diff --git a/graphite_influxdb.py b/graphite_influxdb.py index <HASH>..<HASH> 100644 --- a/graphite_influxdb.py +++ b/graphite_influxdb.py @@ -329,5 +329,5 @@ class InfluxdbFinder(object): data.setdefault(key, []) time_info = start_time, end_time, step for key in data: - data[k...
Return list, not generator as graphite-api expects list
py
diff --git a/lucid/misc/io/showing.py b/lucid/misc/io/showing.py index <HASH>..<HASH> 100644 --- a/lucid/misc/io/showing.py +++ b/lucid/misc/io/showing.py @@ -216,7 +216,7 @@ def textured_mesh(mesh, texture, background='0xffffff'): scene.add(mesh); scene.background = new THREE.Color( $background ); - ren...
antialias in textured_mesh()
py
diff --git a/asyncqt/__init__.py b/asyncqt/__init__.py index <HASH>..<HASH> 100644 --- a/asyncqt/__init__.py +++ b/asyncqt/__init__.py @@ -250,7 +250,7 @@ class _QEventLoop: ... loop.run_until_complete(xplusy(2, 2)) """ - def __init__(self, app=None): + def __init__(self, app=None, set_running_loo...
Set running event loop to fix bug with Python<I> Fix "RuntimeError: no running event loop" in Python <I> by calling "asyncio.events._set_running_loop()" in the constructor.
py
diff --git a/h2o-py/h2o/connection.py b/h2o-py/h2o/connection.py index <HASH>..<HASH> 100644 --- a/h2o-py/h2o/connection.py +++ b/h2o-py/h2o/connection.py @@ -13,7 +13,7 @@ import tempfile import tabulate import subprocess import atexit -import h2o +import pkg_resources from two_dim_table import H2OTwoDimTable _...
correction. pkg_resources needed for runtime h2o-python version recognition
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -66,6 +66,7 @@ install_reqs = [ 'PyYAML', 'requests', 'psutil', + 'pytz', 'six' ]
Fix packaging (pytz is now direct req)
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 @@ -171,7 +171,7 @@ def upgrade_available(name): salt '*' pkg.upgrade_available <package name> ''' - return latest_version(name) != '' + return latest_...
Adjustment: latest_version() is no longer returns an empty string
py
diff --git a/bika/lims/content/pricelist.py b/bika/lims/content/pricelist.py index <HASH>..<HASH> 100644 --- a/bika/lims/content/pricelist.py +++ b/bika/lims/content/pricelist.py @@ -127,14 +127,13 @@ def ObjectModifiedEventHandler(instance, event): itemDescription = None itemAccredited = Fals...
[LIMS-<I>] Fixed error in adding pricelists If a lab product had no unit and volume, creating a pricelist for lab products gave an error that 'print_detail' was not referenced. This was fixed by initializing print_detail and shifting a case accordingly. The modified version had been manually tested and creating price...
py
diff --git a/mongo_connector/connector.py b/mongo_connector/connector.py index <HASH>..<HASH> 100644 --- a/mongo_connector/connector.py +++ b/mongo_connector/connector.py @@ -1206,10 +1206,22 @@ def log_startup_info(): def main(): """ Starts the mongo connector (assuming CLI) """ + # Setup an initial logg...
Bug fix: setup logging before parsing configuration (#<I>) Fixes #<I>.
py
diff --git a/python_modules/libraries/dagster-aws/dagster_aws/cli/cli.py b/python_modules/libraries/dagster-aws/dagster_aws/cli/cli.py index <HASH>..<HASH> 100644 --- a/python_modules/libraries/dagster-aws/dagster_aws/cli/cli.py +++ b/python_modules/libraries/dagster-aws/dagster_aws/cli/cli.py @@ -198,6 +198,19 @@ def ...
[dagster-aws CLI] Install user requirements.txt Test Plan: Ran dagster-aws up, installed requirements.txt Reviewers: #ft, sashank Reviewed By: #ft, sashank Differential Revision: <URL>
py
diff --git a/pybar/scans/tune_gdac.py b/pybar/scans/tune_gdac.py index <HASH>..<HASH> 100644 --- a/pybar/scans/tune_gdac.py +++ b/pybar/scans/tune_gdac.py @@ -218,7 +218,10 @@ class GdacTuning(Fei4RunBase): # select best GDAC value occupancy_sorted = np.array(gdac_occupancy)[np.argsort(np.array(gdac_v...
BUG: fix exception when no scan has more than n_injections/2 hits
py
diff --git a/src/streamlink/logger.py b/src/streamlink/logger.py index <HASH>..<HASH> 100644 --- a/src/streamlink/logger.py +++ b/src/streamlink/logger.py @@ -1,13 +1,13 @@ import logging from datetime import datetime -from logging import CRITICAL, DEBUG, ERROR, INFO, NOTSET, WARN +from logging import CRITICAL, DEBUG...
logger: fix warning import and trace export
py
diff --git a/photutils/arrayutils.py b/photutils/arrayutils.py index <HASH>..<HASH> 100644 --- a/photutils/arrayutils.py +++ b/photutils/arrayutils.py @@ -159,13 +159,13 @@ def fix_prf_nan(extracted_prf, prf_nan): ---------- extracted_prf : array PRF array to be fixed. - prf_nan : array + prf_n...
Fixed prf_nan comparison to True
py
diff --git a/nolearn/lasagne/util.py b/nolearn/lasagne/util.py index <HASH>..<HASH> 100644 --- a/nolearn/lasagne/util.py +++ b/nolearn/lasagne/util.py @@ -147,7 +147,7 @@ def get_conv_infos(net, min_capacity=100. / 6, detailed=False): real_filters = get_real_filter(layers, img_size) receptive_fields = get_rec...
Fix deprecation warning caused by use of numpy.negative.
py
diff --git a/helpers/handler.py b/helpers/handler.py index <HASH>..<HASH> 100644 --- a/helpers/handler.py +++ b/helpers/handler.py @@ -41,6 +41,7 @@ class BotHandler(): self.connection = connection self.channels = channels self.config = config + self.db = sql.Sql(config) self....
init db before workers for cleaner shutdown on failure
py
diff --git a/salt/modules/cmdmod.py b/salt/modules/cmdmod.py index <HASH>..<HASH> 100644 --- a/salt/modules/cmdmod.py +++ b/salt/modules/cmdmod.py @@ -433,6 +433,20 @@ def _run( if isinstance(cmd, (list, tuple)): cmd = " ".join(map(_cmd_quote, cmd)) + # Ensure directory is correct before ...
Adding needed code to ensure cmd tests are passing.
py
diff --git a/textx/exceptions.py b/textx/exceptions.py index <HASH>..<HASH> 100644 --- a/textx/exceptions.py +++ b/textx/exceptions.py @@ -1,7 +1,7 @@ # TextX Exceptions class TextXError(Exception): def __init__(self, message, line=None, col=None): - super(TextXError, self).__init__(message) + supe...
Handling exceptions with unicode chars in Python 2.
py
diff --git a/ibis/tests/test_version.py b/ibis/tests/test_version.py index <HASH>..<HASH> 100644 --- a/ibis/tests/test_version.py +++ b/ibis/tests/test_version.py @@ -8,7 +8,7 @@ import ibis @pytest.mark.skipif( - bool(os.environ.get("AZURECI")), + bool(os.environ.get("CI")), reason="Testing import time...
CI: Skipping time test in CI (#<I>)
py
diff --git a/tests/jobs/test_local_task_job.py b/tests/jobs/test_local_task_job.py index <HASH>..<HASH> 100644 --- a/tests/jobs/test_local_task_job.py +++ b/tests/jobs/test_local_task_job.py @@ -351,6 +351,7 @@ class TestLocalTaskJob(unittest.TestCase): self.assertNotIn('reached_end_of_sleep', data, ...
This test (test_mark_success_on_success_callback) fails often (#<I>) I am moving the test to quarantine for now.
py
diff --git a/gspread/models.py b/gspread/models.py index <HASH>..<HASH> 100644 --- a/gspread/models.py +++ b/gspread/models.py @@ -1750,7 +1750,9 @@ class Worksheet(object): return self.spreadsheet.values_append(range_label, params, body) def delete_row(self, index): - """Deletes the row from the...
Add deprecation warning for delete_row method in documentation (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -117,7 +117,7 @@ extras_per_service = { "ses": [_dep_docker], "sns": [_dep_docker], "sqs": [_dep_docker], - "ssm": [_dep_docker, _dep_PyYAML, _dep_cfn_lint, _dep_decorator], + "ssm": [_dep_docker, _dep_PyY...
Remove cfn-lint as a dependency for ssm extra (#<I>) Since commit <URL>
py
diff --git a/analyzers/JoeSandbox/joesandbox_analyzer.py b/analyzers/JoeSandbox/joesandbox_analyzer.py index <HASH>..<HASH> 100755 --- a/analyzers/JoeSandbox/joesandbox_analyzer.py +++ b/analyzers/JoeSandbox/joesandbox_analyzer.py @@ -32,6 +32,7 @@ class JoeSandboxAnalyzer(Analyzer): try: data = {...
Fix issue <I>: accept terms and conditions in Joe
py
diff --git a/examples/download_gcvs.py b/examples/download_gcvs.py index <HASH>..<HASH> 100644 --- a/examples/download_gcvs.py +++ b/examples/download_gcvs.py @@ -10,6 +10,6 @@ from pygcvs.parser import GcvsParser if __name__ == '__main__': url = 'http://www.sai.msu.su/gcvs/gcvs/iii/iii.dat' response = reque...
Fix iterator in the download_gcvs example.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -99,8 +99,8 @@ setup(name='segyio', libraries=['segyio'] + extra_libs )], platforms='any', - requires=['numpy'], - install_requires=['numpy'], + requires=['numpy(>=1.10)'], + instal...
Set numpy-requirements >= <I> in setup.py
py
diff --git a/sllurp/llrp.py b/sllurp/llrp.py index <HASH>..<HASH> 100644 --- a/sllurp/llrp.py +++ b/sllurp/llrp.py @@ -269,6 +269,7 @@ class LLRPReaderThread (Thread): 'ID': 0, 'ROSpecID': roSpecId }})) + self.protocol.state = LLRPClient.STATE_INVENTOR...
oops, hack state machine into INVENTORYING state
py
diff --git a/kronos/__init__.py b/kronos/__init__.py index <HASH>..<HASH> 100644 --- a/kronos/__init__.py +++ b/kronos/__init__.py @@ -55,9 +55,9 @@ def register(schedule, *args, **kwargs): if value is None: arg_text = "{}" elif isinstance(value, str): ...
Removing '=' from arg string, now is Django's optparse friendly
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,8 @@ setuptools.setup( name='batch-ppo', version='1.4.0', description=( - 'Efficient TensorFlow implementation of Proximal Policy Optimization.') + 'Efficient TensorFlow implementation of...
Fix syntax error in setup.py.
py
diff --git a/simplestruct/struct.py b/simplestruct/struct.py index <HASH>..<HASH> 100644 --- a/simplestruct/struct.py +++ b/simplestruct/struct.py @@ -181,9 +181,6 @@ class Struct(metaclass=MetaStruct): return all(f.eq(getattr(self, f.name), getattr(other, f.name)) for f in self._struct) ...
Removed misnamed and unnecessary 'Struct.__neq__'.
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 @@ -15,7 +15,8 @@ Configuration parameters: command: Choose between "amixer", "pamixer" or "pactl". If None, tr...
volume_status module: document commands to print possible devices (#<I>)
py
diff --git a/src/transformers/modeling_bert.py b/src/transformers/modeling_bert.py index <HASH>..<HASH> 100644 --- a/src/transformers/modeling_bert.py +++ b/src/transformers/modeling_bert.py @@ -1079,7 +1079,7 @@ class BertForSequenceClassification(BertPreTrainedModel): self.bert = BertModel(config) ...
Fixed Style Inconsistency (#<I>)
py
diff --git a/GPy/models/svigp_regression.py b/GPy/models/svigp_regression.py index <HASH>..<HASH> 100644 --- a/GPy/models/svigp_regression.py +++ b/GPy/models/svigp_regression.py @@ -25,7 +25,7 @@ class SVIGPRegression(SVIGP): """ - def __init__(self, X, Y, kernel=None, Z=None, num_inducing=10, q_u=None, ba...
Normalize Y given as an argument to constructor
py
diff --git a/tests/test_timestamp.py b/tests/test_timestamp.py index <HASH>..<HASH> 100644 --- a/tests/test_timestamp.py +++ b/tests/test_timestamp.py @@ -5,6 +5,7 @@ import time from unittest import TestCase from picopt import timestamp +from picopt.settings import Settings TEST_FILES_ROOT = 'tests/test_files' ...
fix timestamp test by resetting global cache
py
diff --git a/wurlitzer.py b/wurlitzer.py index <HASH>..<HASH> 100644 --- a/wurlitzer.py +++ b/wurlitzer.py @@ -205,8 +205,8 @@ class Wurlitzer: if self._bufsize: try: fcntl(pipe_in, F_SETPIPE_SZ, self._bufsize) - except OSError: - warnings.warn("Failed to...
Add details to the failed-to-set-pipe-buffer-size warning, closes #<I>
py
diff --git a/ease/tests/test_model_accuracy.py b/ease/tests/test_model_accuracy.py index <HASH>..<HASH> 100644 --- a/ease/tests/test_model_accuracy.py +++ b/ease/tests/test_model_accuracy.py @@ -127,8 +127,8 @@ class PolarityTest(unittest.TestCase,GenericTest): #These will increase if we allow more data in. ...
Reset thresholds -- for some reason, jenkins versions of numpy/scipy causing issues with scikits.learn
py
diff --git a/salt/cli/batch.py b/salt/cli/batch.py index <HASH>..<HASH> 100644 --- a/salt/cli/batch.py +++ b/salt/cli/batch.py @@ -227,8 +227,8 @@ class Batch(object): ret[minion] = data yield data else: - ret[minion] = data - ...
Return the ret data from batch execution instead of raw data Fixes #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -15,6 +15,7 @@ requirements = [ 'baytune>=0.2.1', 'cookiecutter', 'Click>=6.0', + 'dill', 'funcy', 'gitpython', 'h5py', @@ -24,7 +25,7 @@ requirements = [ 'pathlib2>=2.1.0; python_version<...
Bump sklearn dependency
py
diff --git a/source/rafcon/gui/controllers/main_window.py b/source/rafcon/gui/controllers/main_window.py index <HASH>..<HASH> 100644 --- a/source/rafcon/gui/controllers/main_window.py +++ b/source/rafcon/gui/controllers/main_window.py @@ -382,7 +382,6 @@ class MainWindowController(ExtendedController): if max_v...
fix(main_window): remove left over print statement
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -44,7 +44,8 @@ extras_require = { 'freezegun>=0.1.18', 'py>=1.4.20', 'pytest>=2.5.2', - 'moto>=0.3.9' + 'moto>=0.3.9', + 'httpretty==0.8.6' ] }
Fix hanging tests A dependency of `moto` called `httpretty` was leading to the hanging tests. Downgrading it from `<I>` to `<I>` by freezing it fixes the issue. Refs #9
py
diff --git a/src/Exscript/protocols/drivers/junos.py b/src/Exscript/protocols/drivers/junos.py index <HASH>..<HASH> 100644 --- a/src/Exscript/protocols/drivers/junos.py +++ b/src/Exscript/protocols/drivers/junos.py @@ -22,6 +22,7 @@ _user_re = [re.compile(r'[\r\n]login: $')] _password_re = [re.compile(r'[\r\n]Pass...
junos driver: improved error prompt matching.
py
diff --git a/ara/api/serializers.py b/ara/api/serializers.py index <HASH>..<HASH> 100644 --- a/ara/api/serializers.py +++ b/ara/api/serializers.py @@ -102,7 +102,9 @@ class SimpleLabelSerializer(serializers.ModelSerializer): class SimplePlaybookSerializer(DurationSerializer, ItemCountSerializer): class Meta: ...
API: Expose playbook labels and ansible_version in nested views Labels and ansible_version are available elsewhere, make them available here for consistency. Change-Id: I3c<I>bea<I>d<I>a<I>b8c<I>e<I>d<I>d6f<I>
py
diff --git a/src/urh/dev/native/Device.py b/src/urh/dev/native/Device.py index <HASH>..<HASH> 100644 --- a/src/urh/dev/native/Device.py +++ b/src/urh/dev/native/Device.py @@ -157,9 +157,7 @@ class Device(QObject): if cls.ASYNCHRONOUS: time.sleep(0.5) else: - cls...
adapt sync send mode to send config object
py
diff --git a/test/integration/tst_regression.py b/test/integration/tst_regression.py index <HASH>..<HASH> 100644 --- a/test/integration/tst_regression.py +++ b/test/integration/tst_regression.py @@ -147,9 +147,6 @@ class TestPhaseModelMapper(object): assert phase.galaxies[0].sersic.intensity == al.Galaxies[0...
removed print and assert reliant on deprecated method
py
diff --git a/tensorforce/core/networks/layers.py b/tensorforce/core/networks/layers.py index <HASH>..<HASH> 100755 --- a/tensorforce/core/networks/layers.py +++ b/tensorforce/core/networks/layers.py @@ -257,7 +257,7 @@ def lstm(x, size=None, dropout=None, scope='lstm', summary_level=0): internal_input = tf.pla...
DropoutWrapper output_keep_prob=1-dropout, not =dropout
py
diff --git a/deep_collector/compat/serializers/__init__.py b/deep_collector/compat/serializers/__init__.py index <HASH>..<HASH> 100644 --- a/deep_collector/compat/serializers/__init__.py +++ b/deep_collector/compat/serializers/__init__.py @@ -20,7 +20,8 @@ class MultiModelInheritanceSerializer(CustomizableLocalFieldsSe...
Converting a newly Django <I>+ returned tuple in list
py
diff --git a/superset/views/core.py b/superset/views/core.py index <HASH>..<HASH> 100755 --- a/superset/views/core.py +++ b/superset/views/core.py @@ -3004,12 +3004,12 @@ class Superset(BaseSupersetView): # pylint: disable=too-many-public-methods .first() ) - databases: Dict[int, Any] = ...
fix: select database fix (#<I>) * select database fix * made a backend change
py
diff --git a/lark/parsers/earley_forest.py b/lark/parsers/earley_forest.py index <HASH>..<HASH> 100644 --- a/lark/parsers/earley_forest.py +++ b/lark/parsers/earley_forest.py @@ -122,7 +122,7 @@ class PackedNode(ForestNode): ambiguously. Hence, we use the sort order to identify the order in which ambi...
Tweak the Earley ambiguity algorithm to correctly prefer earlier branches
py
diff --git a/pcef/core/editor.py b/pcef/core/editor.py index <HASH>..<HASH> 100644 --- a/pcef/core/editor.py +++ b/pcef/core/editor.py @@ -1197,10 +1197,14 @@ class QCodeEdit(QtGui.QPlainTextEdit): hscroll_height = 0 if self.horizontalScrollBar().isVisible(): hscroll_height = self.horizon...
Try a better implementation for panel drawing issues
py
diff --git a/vultr/vultr.py b/vultr/vultr.py index <HASH>..<HASH> 100644 --- a/vultr/vultr.py +++ b/vultr/vultr.py @@ -1,5 +1,6 @@ import sys import requests +import time import json as json_module API_ENDPOINT = 'https://api.vultr.com' @@ -14,6 +15,8 @@ class Vultr(object): def __init__(self, api_key): ...
Add simple synchronous rate limiting.
py
diff --git a/web/web.py b/web/web.py index <HASH>..<HASH> 100644 --- a/web/web.py +++ b/web/web.py @@ -156,16 +156,11 @@ class ResLock: del self.locks[resource] if nonatomic: - locked = lock.write.acquire(False) - if not locked: - return False + ...
do not acquire non-blocking on release
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ compiler = mpi4py.get_config()['mpicc'] compiler += ' -O0 -g' # how otherwise do I set the compiler cython uses? os.environ['CC'] = compiler -os.environ['LDSHARED'] = compiler + " -shared -dynamic" +os.enviro...
remove -dynamic keyword cray actually didn't like it. -shared is to build a so. -dynamic is to build a dynamic executable.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -22,5 +22,6 @@ setup( 'Operating System :: OS Independent', 'Programming Language :: Python', ], - test_suite='runtests.collect' + test_suite='runtests.collect', + scripts = ['pwiz.py'], )
Adding pwiz as a script
py
diff --git a/article.py b/article.py index <HASH>..<HASH> 100644 --- a/article.py +++ b/article.py @@ -121,7 +121,7 @@ class Article(object): return(titlestring) def fetchPLoSImages(self, cache_dir, output_dir, caching): - '''Fetch the images associated with the article.''' + '''Fetch the ...
Declaring new provisonal fetchImages method for Frontiers, it may or may not be necessary in the near future.
py
diff --git a/medea/__init__.py b/medea/__init__.py index <HASH>..<HASH> 100644 --- a/medea/__init__.py +++ b/medea/__init__.py @@ -128,7 +128,7 @@ def matching_docker_for_host(): return subprocess.check_output(["bash", "-c", """ [[ ! -s /etc/os-release ]] || ( source /etc/os-release && tr A-Z a-z...
Strip newlines from shell command result.
py
diff --git a/gspread/client.py b/gspread/client.py index <HASH>..<HASH> 100644 --- a/gspread/client.py +++ b/gspread/client.py @@ -182,12 +182,15 @@ class Client(object): for x in spreadsheet_files ] - def create(self, title): + def create(self, title, folder_id=None): """Creates ...
Add option folder_id when creating a spreadsheet (#<I>)
py
diff --git a/python/sbp/client/handler.py b/python/sbp/client/handler.py index <HASH>..<HASH> 100644 --- a/python/sbp/client/handler.py +++ b/python/sbp/client/handler.py @@ -182,7 +182,7 @@ class Handler(object): Callback function msg_type : int | iterable Message type to register callback against. ...
Change to iterable in doc too
py
diff --git a/test/test_layer.py b/test/test_layer.py index <HASH>..<HASH> 100644 --- a/test/test_layer.py +++ b/test/test_layer.py @@ -330,8 +330,8 @@ class TestQueryLayer(unittest.TestCase): """layer.QueryLayer._get_cartocss""" qlayer = QueryLayer(self.query, size=dict(column='cold_brew', min=10, ...
use more general name for unittest method
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -95,6 +95,7 @@ lib_srcs += [ '{0}/support/'.format(srcdir)+i for i in 'simple_spline.f90', 'table2d.f90', 'table3d.f90', + 'table4d.f90', ] ...
Added 4d cubic spline interpolation table.
py
diff --git a/librarian/card.py b/librarian/card.py index <HASH>..<HASH> 100644 --- a/librarian/card.py +++ b/librarian/card.py @@ -34,10 +34,25 @@ class Card(object): return str((self.code, self.name, self.abilities, self.attributes, self.info)) + def load_string(self, string): + """Takes ...
Documentation upgrades to card and load_string method.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -58,6 +58,7 @@ docs_requirements = [ "ipykernel", "jupyter_client", "matplotlib", + "nc-time-axis", "distributed>=2.0", ]
add nc-time-axis as doc dep
py
diff --git a/neo/Prompt/Commands/tests/test_token_commands.py b/neo/Prompt/Commands/tests/test_token_commands.py index <HASH>..<HASH> 100644 --- a/neo/Prompt/Commands/tests/test_token_commands.py +++ b/neo/Prompt/Commands/tests/test_token_commands.py @@ -158,6 +158,8 @@ class UserWalletTestCase(WalletFixtureTestCase): ...
fixed bug in tkn-history tests
py
diff --git a/psiturk/experiment.py b/psiturk/experiment.py index <HASH>..<HASH> 100644 --- a/psiturk/experiment.py +++ b/psiturk/experiment.py @@ -69,9 +69,15 @@ app.config.update(SEND_FILE_MAX_AGE_DEFAULT=10) try: sys.path.append(os.getcwd()) from custom import custom_code -except ImportError: - app.logg...
Better exception handling with custom.py
py
diff --git a/pcef/python/__init__.py b/pcef/python/__init__.py index <HASH>..<HASH> 100644 --- a/pcef/python/__init__.py +++ b/pcef/python/__init__.py @@ -85,7 +85,7 @@ class QPythonCodeEdit(pcef.core.QCodeEdit): if not use: return style = self.style.clone() - for k, v in DEFAULT_S...
Fix renaming issue with light style
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ from setuptools import find_packages, setup on_rtd = os.environ.get("READTHEDOCS", None) == "True" # copied from the docs # Dependencies of GPflow -requirements = ["numpy>=1.10.0", "scipy>=0.18.0", "multipl...
minimum required multipledispatch version is <I> (#<I>) As shown by #<I>, gpflow does not work with older versions of multipledispatch - this change reflects this in the setup.py version requirements.
py
diff --git a/cpp_coveralls/coverage.py b/cpp_coveralls/coverage.py index <HASH>..<HASH> 100644 --- a/cpp_coveralls/coverage.py +++ b/cpp_coveralls/coverage.py @@ -299,7 +299,7 @@ def collect_non_report_files(args, discovered_files): excl_paths = exclude_paths(args) abs_root = os.path.abspath(args.root) n...
Add the follow-symlinks option to the remaining os.walk calls.
py