diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/traffic/plugins/cesiumjs.py b/traffic/plugins/cesiumjs.py
index <HASH>..<HASH> 100644
--- a/traffic/plugins/cesiumjs.py
+++ b/traffic/plugins/cesiumjs.py
@@ -50,7 +50,7 @@ def export_flight(flight: Flight) -> Iterator[Dict[str, Any]]:
"position": {
"epoch": start,
"cartog... | Export location field values rather than keys (#<I>) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -20,7 +20,7 @@ setup(
license='GNU GPL',
keywords='Metadata ISO OGC NetCDF lxml xml ncml',
packages= ['wicken'],
- dependency_links = ['http://github.com/dstuebe/petulant-bear/tarball/master#egg=Petulant_Bear... | Update setup.py Moved the repository location for petulant-bear to asascience-open | py |
diff --git a/nudibranch/views.py b/nudibranch/views.py
index <HASH>..<HASH> 100644
--- a/nudibranch/views.py
+++ b/nudibranch/views.py
@@ -544,9 +544,10 @@ def zipfile_download(request):
if not request.user.is_admin_for_submission(submission):
return HTTPForbidden()
with ZipSubmission(submission) as ... | Added reason why the `str()` is needed when setting content headers. | py |
diff --git a/tests/integration/spm/test_build.py b/tests/integration/spm/test_build.py
index <HASH>..<HASH> 100644
--- a/tests/integration/spm/test_build.py
+++ b/tests/integration/spm/test_build.py
@@ -1,8 +1,6 @@
-# -*- coding: utf-8 -*-
"""
Tests for the spm build utility
"""
-from __future__ import absolute_impo... | Drop Py2 and six on tests/integration/spm/test_build.py | py |
diff --git a/extensions/mktplace/mktplace/transactions/market_place_object_update.py b/extensions/mktplace/mktplace/transactions/market_place_object_update.py
index <HASH>..<HASH> 100644
--- a/extensions/mktplace/mktplace/transactions/market_place_object_update.py
+++ b/extensions/mktplace/mktplace/transactions/market_... | Fix lint of unneccessary pass and protected member access | py |
diff --git a/argcomplete/__init__.py b/argcomplete/__init__.py
index <HASH>..<HASH> 100644
--- a/argcomplete/__init__.py
+++ b/argcomplete/__init__.py
@@ -185,7 +185,7 @@ def autocomplete(argument_parser, always_complete_options=True, exit_method=os._
elif self._orig_class in safe_actions:
... | Don't crash if action already patched | py |
diff --git a/coursera/coursera_dl.py b/coursera/coursera_dl.py
index <HASH>..<HASH> 100755
--- a/coursera/coursera_dl.py
+++ b/coursera/coursera_dl.py
@@ -192,9 +192,9 @@ def down_the_wabbit_hole(className, cookies_file):
opener.open(req)
for cookie in cj:
- if cookie.name == 'session':
- ... | Fix erroneous indentation of the body of a loop. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -32,7 +32,7 @@ setup(
author_email='anthony.bradley@rcsb.org',
# Choose your license
- license='MIT',
+ license='Apache 2.0',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifi... | Alter the license in the setup.py | py |
diff --git a/test/test_frame_protocol.py b/test/test_frame_protocol.py
index <HASH>..<HASH> 100644
--- a/test/test_frame_protocol.py
+++ b/test/test_frame_protocol.py
@@ -1100,3 +1100,10 @@ class TestFrameProtocolSend(object):
with pytest.raises(ValueError):
proto.pong(payload)
+
+ def test_d... | Test that we fail out on stuff that isn't data we can use. | py |
diff --git a/openstack_dashboard/dashboards/identity/users/forms.py b/openstack_dashboard/dashboards/identity/users/forms.py
index <HASH>..<HASH> 100644
--- a/openstack_dashboard/dashboards/identity/users/forms.py
+++ b/openstack_dashboard/dashboards/identity/users/forms.py
@@ -85,7 +85,7 @@ class BaseUserForm(forms.Se... | modified condition variable project_choices the error was in condition "if > 1", which was allowing the default value only when the list had two or more values. Change-Id: If2ce5a5a3cb5f<I>df0c<I>a<I>f<I>fa<I> Closes-Bug: #<I> | py |
diff --git a/tests/test_callbacks.py b/tests/test_callbacks.py
index <HASH>..<HASH> 100644
--- a/tests/test_callbacks.py
+++ b/tests/test_callbacks.py
@@ -50,20 +50,16 @@ class TestCallbacks(unittest.TestCase):
self.assertEqual(actual, expected)
def test_info_callbacks_on_read(self):
- """stdio o... | Fix info callback test failure The test is too brittle. Instead of testing against a string constant (the output of a particular version of openjpeg), just test that the behavior is correct. | py |
diff --git a/test_suite.py b/test_suite.py
index <HASH>..<HASH> 100644
--- a/test_suite.py
+++ b/test_suite.py
@@ -1,6 +1,15 @@
import os
+import sys
os.environ['DJANGO_SETTINGS_MODULE'] = 'tests.settings'
from django.core import management
-management.call_command('test', 'tests')
+
+apps = sys.argv[1:]
+
+if n... | Improve test_suite to take args from the command line | py |
diff --git a/law/contrib/tasks/__init__.py b/law/contrib/tasks/__init__.py
index <HASH>..<HASH> 100644
--- a/law/contrib/tasks/__init__.py
+++ b/law/contrib/tasks/__init__.py
@@ -126,11 +126,6 @@ class TransferLocalFile(Task):
class ForestMerge(LocalWorkflow):
- branch = luigi.IntParameter(
- default=0,
... | Fix branch setting in contrib ForestMerge task. | py |
diff --git a/saltcloud/clouds/ibmsce.py b/saltcloud/clouds/ibmsce.py
index <HASH>..<HASH> 100644
--- a/saltcloud/clouds/ibmsce.py
+++ b/saltcloud/clouds/ibmsce.py
@@ -232,9 +232,10 @@ def create(vm_):
deploy_kwargs['make_master'] = True
deploy_kwargs['master_pub'] = vm_['master_pub']
... | Fix the logic for make_syndic in IBMSCE | py |
diff --git a/src/metapensiero/signal/user.py b/src/metapensiero/signal/user.py
index <HASH>..<HASH> 100644
--- a/src/metapensiero/signal/user.py
+++ b/src/metapensiero/signal/user.py
@@ -88,11 +88,14 @@ class SignalAndHandlerInitMeta(InheritanceToolsMeta):
# collect signals and handlers from the bases, overwri... | Merge signal and handlers data so that the external signaller can work on all the entries Not on just those at outermost level | py |
diff --git a/kibitzr/fetcher/browser/fetcher.py b/kibitzr/fetcher/browser/fetcher.py
index <HASH>..<HASH> 100644
--- a/kibitzr/fetcher/browser/fetcher.py
+++ b/kibitzr/fetcher/browser/fetcher.py
@@ -245,7 +245,7 @@ class FirefoxFetcher(object):
if selector_type == 'css':
elements = self.driver.fin... | form: Fixed xpath selector | py |
diff --git a/quantecon/game_theory/repeated_game.py b/quantecon/game_theory/repeated_game.py
index <HASH>..<HASH> 100644
--- a/quantecon/game_theory/repeated_game.py
+++ b/quantecon/game_theory/repeated_game.py
@@ -5,7 +5,7 @@ Tools for repeated game.
import numpy as np
from scipy.spatial import ConvexHull
-from nu... | Minor modifications of docstrings. | py |
diff --git a/permissions/registry.py b/permissions/registry.py
index <HASH>..<HASH> 100644
--- a/permissions/registry.py
+++ b/permissions/registry.py
@@ -248,15 +248,19 @@ class PermissionsRegistry:
...
"""
- try:
- view_decorator = self._registry[perm_name].view_decorator... | Add PermissionsRegistry._get_entry() method for re-use | py |
diff --git a/pykechain/models/property_selectlist.py b/pykechain/models/property_selectlist.py
index <HASH>..<HASH> 100644
--- a/pykechain/models/property_selectlist.py
+++ b/pykechain/models/property_selectlist.py
@@ -62,4 +62,4 @@ class SelectListProperty(Property):
response = self._client._request('PUT', ur... | flake8 slap on the wrist | py |
diff --git a/shopify/resources/price_rule.py b/shopify/resources/price_rule.py
index <HASH>..<HASH> 100644
--- a/shopify/resources/price_rule.py
+++ b/shopify/resources/price_rule.py
@@ -20,6 +20,3 @@ class PriceRule(ShopifyResource):
def find_batch(self, batch_id):
return DiscountCodeCreation.find_one("%... | Run end-of-file-fixer to fix tests | py |
diff --git a/stanza/resources/prepare_resources.py b/stanza/resources/prepare_resources.py
index <HASH>..<HASH> 100644
--- a/stanza/resources/prepare_resources.py
+++ b/stanza/resources/prepare_resources.py
@@ -48,8 +48,8 @@ default_treebanks = {
"sme": "giella",
"cu": "proiel",
"fro": "srcmf",
- "fa": "seraj... | Update a few default packages based on dataset size | py |
diff --git a/tests/cli/test_taps_pandas.py b/tests/cli/test_taps_pandas.py
index <HASH>..<HASH> 100644
--- a/tests/cli/test_taps_pandas.py
+++ b/tests/cli/test_taps_pandas.py
@@ -174,9 +174,18 @@ def test_tap_new_on_context_builds_runnable_tap_file(
assert_no_logging_messages_or_tracebacks(caplog, result)
t... | Try build-dir alternative in travis | py |
diff --git a/lavalink/WebSocket.py b/lavalink/WebSocket.py
index <HASH>..<HASH> 100644
--- a/lavalink/WebSocket.py
+++ b/lavalink/WebSocket.py
@@ -12,7 +12,7 @@ log = logging.getLogger(__name__)
class WebSocket:
def __init__(self, lavalink, host, password, ws_port, ws_retry, shard_count):
self._lavalin... | Whoops timestamp -> timestamp : ^) | py |
diff --git a/fractal_tree/fractal_tree/__init__.py b/fractal_tree/fractal_tree/__init__.py
index <HASH>..<HASH> 100644
--- a/fractal_tree/fractal_tree/__init__.py
+++ b/fractal_tree/fractal_tree/__init__.py
@@ -10,7 +10,7 @@ class Node:
self.y = y
def make_new_node(self, length, angle):
- """"""
... | Add docstrings for Branch methods | py |
diff --git a/drizzlepac/hlautils/catalog_utils.py b/drizzlepac/hlautils/catalog_utils.py
index <HASH>..<HASH> 100644
--- a/drizzlepac/hlautils/catalog_utils.py
+++ b/drizzlepac/hlautils/catalog_utils.py
@@ -957,7 +957,7 @@ class HAPSegmentCatalog(HAPCatalogBase):
co... | Fixed a bug which only happened in diagnostic mode. After source segments (#<I>) are detected, a deblending process is invoked. In diagnostic mode the use of a non-existent variable caused an exception. While this bug was not fatal, it could significantly reduce the number of detected sources in the image. | py |
diff --git a/airflow/models.py b/airflow/models.py
index <HASH>..<HASH> 100644
--- a/airflow/models.py
+++ b/airflow/models.py
@@ -2226,7 +2226,7 @@ class DAG(object):
def run(
self, start_date=None, end_date=None, mark_success=False,
include_adhoc=False, local=False, executor=None,
- ... | Control donot_pickle default from conf | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -44,8 +44,14 @@ master_doc = "index"
# General information about the project.
project = "Adafruit CIRCUITPYTHON_ADS1X15 Library"
+creation_year = "2017"
current_year = str(datetime.datetime.now().year)
-co... | Use year duration range for copyright attribution | py |
diff --git a/sos/jupyter/sos_executor.py b/sos/jupyter/sos_executor.py
index <HASH>..<HASH> 100755
--- a/sos/jupyter/sos_executor.py
+++ b/sos/jupyter/sos_executor.py
@@ -256,6 +256,7 @@ def runfile(script=None, args='', wdir='.', code=None, kernel=None, **kwargs):
if kernel is not None:
def notify_kernel... | Remove tasks from task_engine after all tasks have been completed. This allows re-evaluation of cells in Jupyter notebook. | py |
diff --git a/phy/plot/_vispy_utils.py b/phy/plot/_vispy_utils.py
index <HASH>..<HASH> 100644
--- a/phy/plot/_vispy_utils.py
+++ b/phy/plot/_vispy_utils.py
@@ -135,9 +135,6 @@ class BaseSpikeVisual(_BakeVisual):
self._spike_ids = None
self._cluster_ids = None
- gloo.set_state(clear_color='blac... | Removed old gloo.set_state() statement. | py |
diff --git a/scanpy/tools/rank_genes_groups.py b/scanpy/tools/rank_genes_groups.py
index <HASH>..<HASH> 100644
--- a/scanpy/tools/rank_genes_groups.py
+++ b/scanpy/tools/rank_genes_groups.py
@@ -89,9 +89,9 @@ def rank_genes_groups(
mean_rest, var_rest = simple._get_mean_var(X[mask_rest])
# Make a more... | remove hack in variance from rank_genes_groups | py |
diff --git a/pyfas/gists.py b/pyfas/gists.py
index <HASH>..<HASH> 100644
--- a/pyfas/gists.py
+++ b/pyfas/gists.py
@@ -20,7 +20,7 @@ def unisim_csv(fname):
skiprows=10,
index_col=0,
na_values=('Shutdown', 'Bad',
- 'I/O Time... | Update gists.py | py |
diff --git a/molecule/shell.py b/molecule/shell.py
index <HASH>..<HASH> 100644
--- a/molecule/shell.py
+++ b/molecule/shell.py
@@ -37,7 +37,8 @@ from molecule.util import lookup_config_file
click_completion.init()
colorama.init(autoreset=True, strip=not should_do_markup())
-LOCAL_CONFIG = lookup_config_file(".confi... | Improve help text about base configuration loading (#<I>) | py |
diff --git a/openquake/engine/db/models.py b/openquake/engine/db/models.py
index <HASH>..<HASH> 100644
--- a/openquake/engine/db/models.py
+++ b/openquake/engine/db/models.py
@@ -890,8 +890,7 @@ class HazardCalculation(djm.Model):
for src in sources:
with filtsources_mon:
s_sites ... | Simplification because now the maximum_distance is mandatory Former-commit-id: ce1e<I>a<I>b7c<I>ad7f<I>a<I>a3a<I>ef7a9 | 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.61.0"
+__version__ = "0.62.0" | Update version number to <I> | py |
diff --git a/taxi/commands.py b/taxi/commands.py
index <HASH>..<HASH> 100644
--- a/taxi/commands.py
+++ b/taxi/commands.py
@@ -484,10 +484,10 @@ class ShowCommand(BaseCommand):
"Please run `taxi update` to create it")
if project is None:
- raise Exception("Error: the p... | don't display traceback if project id doesn't exist in show command | py |
diff --git a/hex_utils/hasc.py b/hex_utils/hasc.py
index <HASH>..<HASH> 100644
--- a/hex_utils/hasc.py
+++ b/hex_utils/hasc.py
@@ -67,6 +67,10 @@ class HASC (Raster):
def initWithExtent(self, side, xll, yll, xtr, ytr, nodata = "", angle = None):
+ # Check if the extent is valid
+ if (... | Extra check for header consistency when creating a new HASC instance | py |
diff --git a/openstack_dashboard/dashboards/admin/snapshots/tables.py b/openstack_dashboard/dashboards/admin/snapshots/tables.py
index <HASH>..<HASH> 100644
--- a/openstack_dashboard/dashboards/admin/snapshots/tables.py
+++ b/openstack_dashboard/dashboards/admin/snapshots/tables.py
@@ -15,7 +15,6 @@ from django.utils.t... | Add the group_snapshot attribute to the snapshot in UpdateRow On snpashot panel in admin dashboards, The group_snapshot attribute is required in the snapshot table, but it does not exist in UpdateRow. This patch Add the group_snapshot attribute to the snapshot Change-Id: I<I>fc<I>fa3c5b8da<I>e5b<I>a2f3dfead<I> Close... | py |
diff --git a/src/pikepdf/_methods.py b/src/pikepdf/_methods.py
index <HASH>..<HASH> 100644
--- a/src/pikepdf/_methods.py
+++ b/src/pikepdf/_methods.py
@@ -79,6 +79,8 @@ def augments(cls_cpp: Type[Any]):
This works on pure Python classes too.
THIS DOES NOT work for class methods.
+
+ (Alternative ideas: h... | Mention alternative to @augments | py |
diff --git a/icekit/plugins/iiif/apps.py b/icekit/plugins/iiif/apps.py
index <HASH>..<HASH> 100644
--- a/icekit/plugins/iiif/apps.py
+++ b/icekit/plugins/iiif/apps.py
@@ -14,9 +14,18 @@ class AppConfig(AppConfig):
# model to hang it off for now...
# TODO This is a hack, find a better way
User... | Wrap app.ready in try/except to avoid pre-migrations error | py |
diff --git a/scripts/run.py b/scripts/run.py
index <HASH>..<HASH> 100755
--- a/scripts/run.py
+++ b/scripts/run.py
@@ -1224,7 +1224,10 @@ class TestRunner:
for all clouds, check if connection to h2o exists, and that h2o is healthy.
"""
time.sleep(5)
- for c in self.clouds: self._h2o_ex... | Add more output to run.py. | py |
diff --git a/templatesadmin/views.py b/templatesadmin/views.py
index <HASH>..<HASH> 100644
--- a/templatesadmin/views.py
+++ b/templatesadmin/views.py
@@ -82,7 +82,6 @@ def _shorten_path(path):
return path[len(COMMONPREFIX)+1:]
def user_in_templatesadmin_group(request):
- return True
try:
reque... | Fixed security flaw. What a sh**. | py |
diff --git a/profilelikelihood.py b/profilelikelihood.py
index <HASH>..<HASH> 100644
--- a/profilelikelihood.py
+++ b/profilelikelihood.py
@@ -147,7 +147,7 @@ class twoD:
ybin_index = np.floor((y[j]-self.ylimits[0])/self.ybin_widths[0])
if xbin_index > bins.shape[0] or ybin_index > b... | Actually skip the point if it outside the limits. | py |
diff --git a/holidays.py b/holidays.py
index <HASH>..<HASH> 100644
--- a/holidays.py
+++ b/holidays.py
@@ -2310,9 +2310,6 @@ class Sweden(HolidayBase):
if year <= 2004:
self[pentecost_day_two] = "Annandag pingst"
- # Midsummer evening. Friday between June 19th and June 25th
- self[... | Removed midsummers eve that is not a holliday according to public holliday law <I>:<I> | py |
diff --git a/asphalt/core/event.py b/asphalt/core/event.py
index <HASH>..<HASH> 100644
--- a/asphalt/core/event.py
+++ b/asphalt/core/event.py
@@ -12,7 +12,7 @@ from typeguard import check_argument_types
from asphalt.core.utils import qualified_name
-__all__ = ('Event', 'Signal', 'wait_event', 'stream_events')
+__... | Export the BoundSignal class too | py |
diff --git a/mwreverts/api.py b/mwreverts/api.py
index <HASH>..<HASH> 100644
--- a/mwreverts/api.py
+++ b/mwreverts/api.py
@@ -101,7 +101,8 @@ def check(session, rev_id, page_id=None, radius=defaults.RADIUS,
... [r['revid'] for r in revert.reverteds],
... revert.reverted_to... | Minor flake8 issue in api.py | py |
diff --git a/smartcard/pcsc/PCSCExceptions.py b/smartcard/pcsc/PCSCExceptions.py
index <HASH>..<HASH> 100644
--- a/smartcard/pcsc/PCSCExceptions.py
+++ b/smartcard/pcsc/PCSCExceptions.py
@@ -40,7 +40,8 @@ class BaseSCardException:
def __str__(self):
"""Returns a string representation of the exception.""... | Add smartcard.scard.SCardGetErrorMessage(self.hresult) also for a BaseSCardException representation | py |
diff --git a/backtrader/indicators/atr.py b/backtrader/indicators/atr.py
index <HASH>..<HASH> 100644
--- a/backtrader/indicators/atr.py
+++ b/backtrader/indicators/atr.py
@@ -47,6 +47,11 @@ class AverageTrueRange(Indicator):
lines = ('atr',)
params = (('period', 14), ('matype', MATypes.Simple))
+ def _pl... | ATR - added plotting information (label and name) | py |
diff --git a/tests/test_main.py b/tests/test_main.py
index <HASH>..<HASH> 100755
--- a/tests/test_main.py
+++ b/tests/test_main.py
@@ -2231,14 +2231,15 @@ def test_mechwarper():
goldshire = game.player1.give(GOLDSHIRE_FOOTMAN)
harvest = game.player1.give("EX1_556")
clockwork = game.player1.give("GVG_082")
+ clock... | Test for aura target duplication in Mechwarper | py |
diff --git a/pyemma/_base/serialization/serialization.py b/pyemma/_base/serialization/serialization.py
index <HASH>..<HASH> 100644
--- a/pyemma/_base/serialization/serialization.py
+++ b/pyemma/_base/serialization/serialization.py
@@ -405,6 +405,17 @@ class SerializableMixIn(object):
def __setstate__(self, state... | [Serialization] Allow for unpickling un-versioned objects This prints a big fat warning, that it is unsupported, and should be treated with great caution. Fixes #<I> | py |
diff --git a/src/facebook.py b/src/facebook.py
index <HASH>..<HASH> 100644
--- a/src/facebook.py
+++ b/src/facebook.py
@@ -179,6 +179,29 @@ class GraphAPI(object):
response["error"]["message"])
return response
+ def fql(self, query, args=None, post_args=None):
+ """... | Added FQL query method. | py |
diff --git a/airflow/task/task_runner/standard_task_runner.py b/airflow/task/task_runner/standard_task_runner.py
index <HASH>..<HASH> 100644
--- a/airflow/task/task_runner/standard_task_runner.py
+++ b/airflow/task/task_runner/standard_task_runner.py
@@ -85,6 +85,11 @@ class StandardTaskRunner(BaseTaskRunner):
... | Logs task launch exception in StandardTaskRunner (#<I>) Adds an error log message to task runner when task launch fails with error code 1 | py |
diff --git a/dj_database_url.py b/dj_database_url.py
index <HASH>..<HASH> 100644
--- a/dj_database_url.py
+++ b/dj_database_url.py
@@ -45,6 +45,17 @@ def config(env=DEFAULT_ENV, default=None):
def parse(url):
"""Parses a database URL."""
+ if url == 'sqlite://:memory:':
+ # this is a special case, bec... | Handling special case of sqlite://:memory: | py |
diff --git a/ceph_deploy/osd.py b/ceph_deploy/osd.py
index <HASH>..<HASH> 100644
--- a/ceph_deploy/osd.py
+++ b/ceph_deploy/osd.py
@@ -81,7 +81,7 @@ def prepare_disk(cluster, disk, journal, activate, zap, dmcrypt, dmcrypt_dir):
"""
import subprocess
- args=[
+ args = [
'ceph-disk-prepare',
... | osd.py: add missing spaces around operator | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -26,6 +26,8 @@ long_description = io.open('README.rst', encoding='utf-8').read()
requirements = open('runtime-requirements.txt').readlines()
requirements = [r.strip() for r in requirements]
+cirq_packages = ['cirq.' + pack... | Fix dev_tools being installed with the cirq package (#<I>) - Caught this | py |
diff --git a/test/test_onnx.py b/test/test_onnx.py
index <HASH>..<HASH> 100644
--- a/test/test_onnx.py
+++ b/test/test_onnx.py
@@ -343,6 +343,7 @@ class ONNXExporterTester(unittest.TestCase):
assert torch.all(out2.eq(out_trace2))
+ @unittest.skip("Disable test until export of interpolate script module t... | [ONNX] Disable model tests since export of interpolate script module is broken (#<I>) * Fix for roi_align export * Disable interpolate script module tests Disable test until export of interpolate script module to ONNX is fixed | py |
diff --git a/integrate/discover.py b/integrate/discover.py
index <HASH>..<HASH> 100644
--- a/integrate/discover.py
+++ b/integrate/discover.py
@@ -38,7 +38,7 @@ class TestRunner(object):
super(TestRunner, self).__init__()
def _discover(self):
- "Scan directories for possible candiate files"
+ ... | Filter out discovered superclasses In general, test cases will be subclasses of the class TestCase (A). But users might want to subclass a subclass of TestCase instead (B). In that case, neither class A nor B should be included in the set of discovered test cases. Before this patch, only class A was being filtered ou... | py |
diff --git a/openldap/tests/conftest.py b/openldap/tests/conftest.py
index <HASH>..<HASH> 100644
--- a/openldap/tests/conftest.py
+++ b/openldap/tests/conftest.py
@@ -7,7 +7,7 @@ from copy import deepcopy
import pytest
from datadog_checks.dev import TempDir, docker_run
-from datadog_checks.dev.utils import create_f... | Fix openldap environment (#<I>) | py |
diff --git a/spyderlib/widgets/sourcecode/codeeditor.py b/spyderlib/widgets/sourcecode/codeeditor.py
index <HASH>..<HASH> 100644
--- a/spyderlib/widgets/sourcecode/codeeditor.py
+++ b/spyderlib/widgets/sourcecode/codeeditor.py
@@ -1913,8 +1913,7 @@ class CodeEditor(TextEditBaseWidget):
or prevtext.endswi... | Editor: Don't expect a command before the cursor to do auto-indentations of braces | py |
diff --git a/robots/models.py b/robots/models.py
index <HASH>..<HASH> 100644
--- a/robots/models.py
+++ b/robots/models.py
@@ -43,14 +43,16 @@ class Rule(models.Model):
"'> database of Web Robots</a>."))
allowed = models.ManyToManyField(Url, blank=True, related_name="allowed",
+ ... | add verbose_name to some fields | py |
diff --git a/salt/cloud/clouds/ec2.py b/salt/cloud/clouds/ec2.py
index <HASH>..<HASH> 100644
--- a/salt/cloud/clouds/ec2.py
+++ b/salt/cloud/clouds/ec2.py
@@ -4749,6 +4749,8 @@ def get_password_data(
ret[next(six.iterkeys(item))] = next(six.itervalues(item))
if not HAS_M2 and not HAS_PYCRYPTO:
+ ... | Warn when password decrypton requested but not possible | py |
diff --git a/src/foremast/utils/kayenta.py b/src/foremast/utils/kayenta.py
index <HASH>..<HASH> 100644
--- a/src/foremast/utils/kayenta.py
+++ b/src/foremast/utils/kayenta.py
@@ -1,6 +1,6 @@
# Foremast - Pipeline Tooling
#
-# Copyright Redbox Automated Retail, LLC
+# Copyright 2019 Redbox Automated Retail, LLC
... | Added year to copyright kayenta.py | py |
diff --git a/ftr/version.py b/ftr/version.py
index <HASH>..<HASH> 100644
--- a/ftr/version.py
+++ b/ftr/version.py
@@ -1,2 +1,2 @@
-version = '0.4.4'
+version = '0.4.5' | version bump for <I>. | py |
diff --git a/nassl/ssl_client.py b/nassl/ssl_client.py
index <HASH>..<HASH> 100755
--- a/nassl/ssl_client.py
+++ b/nassl/ssl_client.py
@@ -287,6 +287,11 @@ class SslClient(object):
self._is_handshake_completed = False
try:
self._flush_ssl_engine()
+ except IOError:
+ # E... | Ensure shutdown() never raises an exception | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -94,8 +94,8 @@ except:
### dependencies ###
_required = [
- 'bokeh >=2.3.0,<2.4',
- 'cartopy >=0.17.0',
+ 'bokeh >=2.3.0,<2.4.0',
+ 'cartopy >=0.18.0',
'holoviews >=1.14.2'
] | Match pins with conda-forge recipe (#<I>) | py |
diff --git a/torchvision/models/mobilenetv3.py b/torchvision/models/mobilenetv3.py
index <HASH>..<HASH> 100644
--- a/torchvision/models/mobilenetv3.py
+++ b/torchvision/models/mobilenetv3.py
@@ -19,7 +19,7 @@ model_urls = {
class SqueezeExcitation(nn.Module):
-
+ # Implemented as described at Figure 4 of the Mo... | Adding some references on MobileNetV3 implementation. (#<I>) | py |
diff --git a/salt/states/pip_state.py b/salt/states/pip_state.py
index <HASH>..<HASH> 100644
--- a/salt/states/pip_state.py
+++ b/salt/states/pip_state.py
@@ -749,6 +749,14 @@ def installed(name,
# Create comments reporting success and failures
pkg_404_comms = []
+ already_install... | Make pip.install upgrade=True stateful (#<I>) Will now only report changes if anything was actually either installed or upgraded, although the output does not distinguish between those two cases. | py |
diff --git a/pysex/s_helpers.py b/pysex/s_helpers.py
index <HASH>..<HASH> 100644
--- a/pysex/s_helpers.py
+++ b/pysex/s_helpers.py
@@ -25,6 +25,9 @@ def translate_irconst(c):
raise Exception("Unsupported constant type: %s" % type(c.value))
def fix_endian(endness, mem_expr):
+ if mem_expr.size() == 8:
+ return mem... | fix endianness crash for single byte | py |
diff --git a/integration/transfer.py b/integration/transfer.py
index <HASH>..<HASH> 100644
--- a/integration/transfer.py
+++ b/integration/transfer.py
@@ -58,10 +58,14 @@ class Transfer_(Spec):
ok_(result.local is fd)
def mode_preservation(self):
- # This file has an unusual, highly u... | BOO git does not preserve file permissions well These tests broke as soon as the repo moved. | py |
diff --git a/cbamf/states.py b/cbamf/states.py
index <HASH>..<HASH> 100644
--- a/cbamf/states.py
+++ b/cbamf/states.py
@@ -907,7 +907,9 @@ class ConfocalImagePython(State):
br = self.block_particle_rad(n)
bt = self.block_particle_typ(n)
- self.update(bp, p)
+ bps = self.explode(bp)
+ ... | Bug fix for states.add_particle, loop over xyz for pos update | py |
diff --git a/src/python/grpcio_tests/tests_aio/benchmark/worker_servicer.py b/src/python/grpcio_tests/tests_aio/benchmark/worker_servicer.py
index <HASH>..<HASH> 100644
--- a/src/python/grpcio_tests/tests_aio/benchmark/worker_servicer.py
+++ b/src/python/grpcio_tests/tests_aio/benchmark/worker_servicer.py
@@ -216,7 +21... | Python style: disambiguate list expand style for yapf | py |
diff --git a/odl/solvers/functional/default_functionals.py b/odl/solvers/functional/default_functionals.py
index <HASH>..<HASH> 100644
--- a/odl/solvers/functional/default_functionals.py
+++ b/odl/solvers/functional/default_functionals.py
@@ -289,13 +289,14 @@ class GroupL1Norm(Functional):
super(Group... | BUG: update for bug in gradient of GroupL1Norm. | py |
diff --git a/estnltk/storage/postgres/collection.py b/estnltk/storage/postgres/collection.py
index <HASH>..<HASH> 100755
--- a/estnltk/storage/postgres/collection.py
+++ b/estnltk/storage/postgres/collection.py
@@ -427,7 +427,7 @@ class PgCollection:
def select_raw(self,
query=None,
- ... | fix Collection.raw_select | py |
diff --git a/taxi/settings.py b/taxi/settings.py
index <HASH>..<HASH> 100755
--- a/taxi/settings.py
+++ b/taxi/settings.py
@@ -25,10 +25,12 @@ class Settings:
def load(self, file):
self.config = ConfigParser.RawConfigParser()
self.filepath = file
- parsed = self.config.read(self.filepath)
... | fix unicode errors with settings file | py |
diff --git a/tests/test_tls.py b/tests/test_tls.py
index <HASH>..<HASH> 100644
--- a/tests/test_tls.py
+++ b/tests/test_tls.py
@@ -56,7 +56,7 @@ def raise_with(e, tb):
def connection_timeout(f):
def wrapped(*args):
try:
- t = threading.Timer(15, lambda: thread.interrupt_main())
+ t ... | Bump up the TLS tests fallback timeout to allow for slow networks | py |
diff --git a/zipline/finance/risk/report.py b/zipline/finance/risk/report.py
index <HASH>..<HASH> 100644
--- a/zipline/finance/risk/report.py
+++ b/zipline/finance/risk/report.py
@@ -59,8 +59,6 @@ import logbook
import datetime
from dateutil.relativedelta import relativedelta
-from zipline.utils.date_utils import e... | MAINT: Remove unused created member from risk report. Risk report doesn't need system time. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,7 +1,7 @@
from setuptools import setup
setup(name='python_cowbull_game',
- version='1.1.4',
+ version='1.1.5',
description='Python cowbull game object',
url='https://github.com/dsandersAzure/pyth... | Updated setup.py to promote to version <I> | py |
diff --git a/indra/databases/hgnc_client.py b/indra/databases/hgnc_client.py
index <HASH>..<HASH> 100644
--- a/indra/databases/hgnc_client.py
+++ b/indra/databases/hgnc_client.py
@@ -206,11 +206,15 @@ def _read_hgnc_maps():
# Mouse
mgi_id = row[7]
if mgi_id:
- mouse_map[mgi_id] = h... | Handle many-to-one rat/mouse mappings | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -45,14 +45,15 @@ setup(
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
- 'Development Status :: 4 - Beta',
+ 'Develo... | Cleaning up setup - removing 'six' dependency - re-classifying as 'stable' - adding 'Education' as intended audience | py |
diff --git a/src/scs_core/model/gas/s1/gas_request.py b/src/scs_core/model/gas/s1/gas_request.py
index <HASH>..<HASH> 100644
--- a/src/scs_core/model/gas/s1/gas_request.py
+++ b/src/scs_core/model/gas/s1/gas_request.py
@@ -26,13 +26,23 @@ class GasRequest(JSONable):
classdocs
"""
+ __SLOPE_PERIOD = 300 ... | Added inference to gases_sampler.py | py |
diff --git a/pyvisa/util.py b/pyvisa/util.py
index <HASH>..<HASH> 100644
--- a/pyvisa/util.py
+++ b/pyvisa/util.py
@@ -180,12 +180,12 @@ _converters = {
_np_converters = {
'd': 'i',
- 'e': 'f',
- 'E': 'f',
- 'f': 'f',
- 'F': 'f',
- 'g': 'f',
- 'G': 'f',
+ 'e': 'd',
+ 'E': 'd',
+ 'f': ... | util: treat float as double in parsing ascii | py |
diff --git a/bibliopixel/animation/animation.py b/bibliopixel/animation/animation.py
index <HASH>..<HASH> 100644
--- a/bibliopixel/animation/animation.py
+++ b/bibliopixel/animation/animation.py
@@ -159,8 +159,7 @@ class Animation(object):
else:
self.state = self.runner.compute_state(self.cur_step... | New animation._pre_run() method | py |
diff --git a/pytablewriter/_table_writer.py b/pytablewriter/_table_writer.py
index <HASH>..<HASH> 100644
--- a/pytablewriter/_table_writer.py
+++ b/pytablewriter/_table_writer.py
@@ -106,13 +106,21 @@ class TableWriter(TableWriterInterface):
return u"%s"
def _get_row_item(self, col_prop, value_prop, is_... | Preparation for support to INFINITY/NAN values | py |
diff --git a/grimoire_elk/enriched/enrich.py b/grimoire_elk/enriched/enrich.py
index <HASH>..<HASH> 100644
--- a/grimoire_elk/enriched/enrich.py
+++ b/grimoire_elk/enriched/enrich.py
@@ -314,6 +314,16 @@ class Enrich(ElasticItems):
return self.enrich_items(items, events=True)
def enrich_items(self, ocea... | [enrich] Add doc for enrich_items method and remove not needed code | py |
diff --git a/aiger/test_analysis.py b/aiger/test_analysis.py
index <HASH>..<HASH> 100644
--- a/aiger/test_analysis.py
+++ b/aiger/test_analysis.py
@@ -10,5 +10,13 @@ def test_satisfiable():
assert satisfiable(expr_sat)
+def test_satisfiable_2():
+ assert satisfiable(atom(True))
+
+
def test_unsatisfiable()... | added two testcases to increase coverage | py |
diff --git a/rllib/models/catalog.py b/rllib/models/catalog.py
index <HASH>..<HASH> 100644
--- a/rllib/models/catalog.py
+++ b/rllib/models/catalog.py
@@ -215,7 +215,7 @@ class ModelCatalog:
"""
if isinstance(action_space, gym.spaces.Discrete):
- return (tf.int64, (None, ))
+ r... | Change get_action_shape so that it uses the dtype of the Discrete object, rather than overwriting it with tf.int<I>. (#<I>) | py |
diff --git a/pyravendb/connection/requests_factory.py b/pyravendb/connection/requests_factory.py
index <HASH>..<HASH> 100644
--- a/pyravendb/connection/requests_factory.py
+++ b/pyravendb/connection/requests_factory.py
@@ -12,6 +12,7 @@ import sys
import json
import hashlib
import base64
+import os
from pyravendb.t... | fix get_replication_topology to work in linux | py |
diff --git a/create_dist_summary.py b/create_dist_summary.py
index <HASH>..<HASH> 100644
--- a/create_dist_summary.py
+++ b/create_dist_summary.py
@@ -26,13 +26,12 @@ SOFTWARE.
"""
import os
-import pkg_resources
+import pkg_resources
from jinja2 import Environment
from jinja2.environment import Template
from ... | Apparently pkg_resources is not first party | py |
diff --git a/modeltranslation/admin.py b/modeltranslation/admin.py
index <HASH>..<HASH> 100644
--- a/modeltranslation/admin.py
+++ b/modeltranslation/admin.py
@@ -60,9 +60,12 @@ class TranslationBaseModelAdmin(BaseModelAdmin):
orig_field, request, **kwargs
)
field.widget = dee... | fix(admin): Fix custom widget initialization problem | py |
diff --git a/km3pipe/core.py b/km3pipe/core.py
index <HASH>..<HASH> 100644
--- a/km3pipe/core.py
+++ b/km3pipe/core.py
@@ -167,10 +167,10 @@ class Pipeline(object):
for service_name, obj in module.provided_services.items():
self.services.register(service_name, obj)
if ... | Dict join problem occured in python3 fixed | py |
diff --git a/invenio_celery/ext.py b/invenio_celery/ext.py
index <HASH>..<HASH> 100644
--- a/invenio_celery/ext.py
+++ b/invenio_celery/ext.py
@@ -45,8 +45,8 @@ class InvenioCelery(object):
if app:
self.init_app(app, **kwargs)
- def init_app(self, app, assets=None,
- entry_poi... | ext: unused variable removal * Removes unused variable. (closes #<I>) | py |
diff --git a/pypresence/baseclient.py b/pypresence/baseclient.py
index <HASH>..<HASH> 100644
--- a/pypresence/baseclient.py
+++ b/pypresence/baseclient.py
@@ -138,5 +138,7 @@ class BaseClient:
preamble = await self.sock_reader.read(8)
code, length = struct.unpack('<ii', preamble)
data = await... | Handle Discord errors on handshake Allows handling of Discord errors specifically like 'Logged out' and 'Invalid Client ID' on initial connect(), rather than relying on 'BrokenPipeError' which seems to not work perfectly, and doesn't always give the correct details. | py |
diff --git a/analyzers/EmlParser/parse.py b/analyzers/EmlParser/parse.py
index <HASH>..<HASH> 100755
--- a/analyzers/EmlParser/parse.py
+++ b/analyzers/EmlParser/parse.py
@@ -46,10 +46,11 @@ class EmlParserAnalyzer(Analyzer):
def artifacts(self, raw):
artifacts = []
- urls = list(iocextract.extra... | #<I> remove duplicates of reported observables | py |
diff --git a/workshift/forms.py b/workshift/forms.py
index <HASH>..<HASH> 100644
--- a/workshift/forms.py
+++ b/workshift/forms.py
@@ -14,7 +14,8 @@ from base.models import UserProfile
from managers.models import Manager
from workshift.models import Semester, WorkshiftPool, WorkshiftType, \
TimeBlock, WorkshiftRati... | Added a missing imprt | py |
diff --git a/gandi/cli/core/base.py b/gandi/cli/core/base.py
index <HASH>..<HASH> 100644
--- a/gandi/cli/core/base.py
+++ b/gandi/cli/core/base.py
@@ -257,7 +257,9 @@ class GandiContextHelper(GandiModule):
}
if 'GANDICLI_PATH' in os.environ:
- for path in os.environ.get('GANDICLI_PATH').s... | core: remove trailing slash for modules as well apply the same fix which has been made for commands: <I>dbc6 Remove trailing slash if present when processing GANDICLI_PATH paths | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -28,6 +28,7 @@ setup(
"boto==2.25.0",
"pymongo==2.6.3",
"requests==2.4.3",
+ "GloboNetworkAPI==0.2.2",
],
extras_require={
'tests': [ | setup: add GloboNetworkAPI as dependency | py |
diff --git a/contrib/md2jira.py b/contrib/md2jira.py
index <HASH>..<HASH> 100755
--- a/contrib/md2jira.py
+++ b/contrib/md2jira.py
@@ -28,7 +28,7 @@ import getopt
import subprocess
import shutil
import mistletoe
-from jira_renderer import JIRARenderer
+from contrib.jira_renderer import JIRARenderer
usageString = ... | Fix import so when md2jira is installed it will look in contrib. | py |
diff --git a/render_math/math.py b/render_math/math.py
index <HASH>..<HASH> 100644
--- a/render_math/math.py
+++ b/render_math/math.py
@@ -269,7 +269,10 @@ def mathjax_for_markdown(pelicanobj, mathjax_script, mathjax_settings):
# Instantiate markdown extension and append it to the current extensions
try:
- ... | Update to use settings['MARKDOWN'] for latex math. | py |
diff --git a/test/adaptive_test.py b/test/adaptive_test.py
index <HASH>..<HASH> 100644
--- a/test/adaptive_test.py
+++ b/test/adaptive_test.py
@@ -3,10 +3,10 @@ import util
class TestESGD:
def test_rosen(self):
- util.assert_progress(*util.build_rosen('esgd'))
+ util.assert_progress(*util.build_ro... | Fix test failures by reducing learning rate. | py |
diff --git a/nemreader/outputs.py b/nemreader/outputs.py
index <HASH>..<HASH> 100644
--- a/nemreader/outputs.py
+++ b/nemreader/outputs.py
@@ -36,16 +36,20 @@ def output_as_csv(file_name, nmi=None, output_file=None):
for channel in channels:
heading_list.append(channel)
heading_list.appen... | Add events to csv output Requested in #<I> | py |
diff --git a/distutils/command/install.py b/distutils/command/install.py
index <HASH>..<HASH> 100644
--- a/distutils/command/install.py
+++ b/distutils/command/install.py
@@ -190,8 +190,6 @@ class install(Command):
negative_opt = {'no-compile' : 'compile'}
- # Allow Fedora to add components to the prefix
- ... | Move _prefix_addition inline, so it's only configurable through sysconfig. | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.