diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/pqhelper/base.py b/pqhelper/base.py
index <HASH>..<HASH> 100644
--- a/pqhelper/base.py
+++ b/pqhelper/base.py
@@ -111,10 +111,6 @@ class Game(object):
result_state.active.apply_tile_groups(destroyed_groups)
result_state.passive.apply_attack(attack)
swap.graft_chil... | Fixed bug in main algorithm that only appeared once using capture in more situations. The duplicate board filter was being run twice on each state: once after swaps, and then during chain reaction where it always failed. Changed so that swaps are instead tested at the beginning of every chain loop --> exactly one test ... | py |
diff --git a/src/collectors/haproxy/haproxy.py b/src/collectors/haproxy/haproxy.py
index <HASH>..<HASH> 100644
--- a/src/collectors/haproxy/haproxy.py
+++ b/src/collectors/haproxy/haproxy.py
@@ -161,10 +161,23 @@ class HAProxyCollector(diamond.collector.Collector):
metric_name = '%s%s.%s' % (section_name, ... | add support string metric values for haproxy there are few haproxy metrics have non-numeric values and they are just as useful as the numeric counterparts. string metric values will be appended to the initial metric name and value will be set to 1 | py |
diff --git a/pandas/tests/groupby/transform/test_transform.py b/pandas/tests/groupby/transform/test_transform.py
index <HASH>..<HASH> 100644
--- a/pandas/tests/groupby/transform/test_transform.py
+++ b/pandas/tests/groupby/transform/test_transform.py
@@ -769,6 +769,18 @@ def test_transform_numeric_ret(cols, exp, comp_f... | API: transform behaves differently with 'ffill' on DataFrameGroupBy and SeriesGroupBy (#<I>) | py |
diff --git a/Python/cloud_function/invoke.py b/Python/cloud_function/invoke.py
index <HASH>..<HASH> 100755
--- a/Python/cloud_function/invoke.py
+++ b/Python/cloud_function/invoke.py
@@ -96,7 +96,7 @@ def init(args):
contents = fp.read()
contents = base64.b64encode(contents)
binary = True... | Use ==/!= to compare str, bytes, and int literals | py |
diff --git a/gnupg/_parsers.py b/gnupg/_parsers.py
index <HASH>..<HASH> 100644
--- a/gnupg/_parsers.py
+++ b/gnupg/_parsers.py
@@ -874,6 +874,15 @@ class GenKey(object):
self.status = nodata(value)
elif key == "PROGRESS":
self.status = progress(value.split(' ', 1)[0])
+ elif ke... | Handle PINENTRY_LAUNCHED status in GenKey. * FIXES part of Issue #<I>. | py |
diff --git a/stripy-src/stripy/spherical.py b/stripy-src/stripy/spherical.py
index <HASH>..<HASH> 100755
--- a/stripy-src/stripy/spherical.py
+++ b/stripy-src/stripy/spherical.py
@@ -1033,8 +1033,8 @@ class sTriangulation(object):
def centroid_refine_triangulation_by_triangles(self, triangles):
"""
- ... | Correct the docstrings for the centroid_refine_triangulation_by_triangles and centroid_refine_triangulation_by_vertices methods. | py |
diff --git a/pysat/_orbits.py b/pysat/_orbits.py
index <HASH>..<HASH> 100644
--- a/pysat/_orbits.py
+++ b/pysat/_orbits.py
@@ -571,7 +571,7 @@ class Orbits(object):
pad_next = False
if pad_next:
# orbit went across day break, stick old orbit ont... | Bugfix Fixed bug where underscore after hash sign kills everything. | py |
diff --git a/synology/api.py b/synology/api.py
index <HASH>..<HASH> 100644
--- a/synology/api.py
+++ b/synology/api.py
@@ -101,7 +101,7 @@ class Api:
# It appears that surveillance station needs lowercase text
# true/false for the on switch
- if state != HOME_MODE_ON and state != HOME_MODE_OF... | Fix pylint consider-using-in warning | py |
diff --git a/figgypy/config.py b/figgypy/config.py
index <HASH>..<HASH> 100644
--- a/figgypy/config.py
+++ b/figgypy/config.py
@@ -83,15 +83,18 @@ class Config(object):
for k, v in obj.items():
obj[k] = self._decrypt_and_update(v)
else:
- if 'BEGIN PGP' in obj:
- ... | Modify only to attempt decryption on strings | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -8,5 +8,5 @@ setup(
packages=find_packages("src"),
package_dir={"": "src"},
py_modules=[splitext(basename(path))[0] for path in glob("src/*.py")],
- python_requires=">=3.5,",
+ python_requires=">=3.5",
) | Fix malformed python_requires directive in setup.py | py |
diff --git a/tests/unit/modules/test_virt.py b/tests/unit/modules/test_virt.py
index <HASH>..<HASH> 100644
--- a/tests/unit/modules/test_virt.py
+++ b/tests/unit/modules/test_virt.py
@@ -643,10 +643,10 @@ class VirtTestCase(TestCase, LoaderModuleMockMixin):
self.set_mock_vm("test-vm", xml)
disks = v... | [Py3] Fix get_disks test in virt module unittests When using the `list()` function in Python3, the order that items are added to the list is not always the same. Instead of wrapping the disks dict in a `list` and the getting the first and second element, just get the elements we want directly and test against those. ... | py |
diff --git a/torchvision/ops/boxes.py b/torchvision/ops/boxes.py
index <HASH>..<HASH> 100644
--- a/torchvision/ops/boxes.py
+++ b/torchvision/ops/boxes.py
@@ -24,7 +24,7 @@ def nms(boxes, scores, iou_threshold):
scores for each one of the boxes
iou_threshold : float
discards all overlapping
- ... | Fix documentation for NMS (#<I>) | py |
diff --git a/salt/state.py b/salt/state.py
index <HASH>..<HASH> 100644
--- a/salt/state.py
+++ b/salt/state.py
@@ -726,6 +726,13 @@ class State(object):
# Add the requires to the reqs dict and check them
# all for recursive requisites.
... | Add verification for names to be a list, fix #<I> | py |
diff --git a/dimod/package_info.py b/dimod/package_info.py
index <HASH>..<HASH> 100644
--- a/dimod/package_info.py
+++ b/dimod/package_info.py
@@ -14,7 +14,7 @@
#
# ================================================================================================
-__version__ = '0.8.18'
+__version__ = '0.8.19'
__aut... | Update version <I> -> <I> Fixes ------ * Fix osx wheels for <I> binary compatibility * `ConnectedComponentComposites` now correctly fixes variables according to vartype | py |
diff --git a/workshift/migrations/0003_auto_20150127_1646.py b/workshift/migrations/0003_auto_20150127_1646.py
index <HASH>..<HASH> 100644
--- a/workshift/migrations/0003_auto_20150127_1646.py
+++ b/workshift/migrations/0003_auto_20150127_1646.py
@@ -10,7 +10,10 @@ def calculate_assigned_hours(apps, schema_editor):
... | Fixed a bug in calculating assigned hours | py |
diff --git a/airflow/providers/databricks/operators/databricks.py b/airflow/providers/databricks/operators/databricks.py
index <HASH>..<HASH> 100644
--- a/airflow/providers/databricks/operators/databricks.py
+++ b/airflow/providers/databricks/operators/databricks.py
@@ -246,6 +246,7 @@ class DatabricksSubmitRunOperator... | Added template_ext = ('.json') to databricks operators #<I> (#<I>) | py |
diff --git a/etrago/tools/utilities.py b/etrago/tools/utilities.py
index <HASH>..<HASH> 100644
--- a/etrago/tools/utilities.py
+++ b/etrago/tools/utilities.py
@@ -292,10 +292,9 @@ def data_manipulation_sh (network):
from geoalchemy2.shape import from_shape, to_shape
#add connection from Luebeck to Siems... | Update utilities.py data_manipulation_sh(network): find names of new components correctly | py |
diff --git a/source/rafcon/core/state_elements/data_port.py b/source/rafcon/core/state_elements/data_port.py
index <HASH>..<HASH> 100644
--- a/source/rafcon/core/state_elements/data_port.py
+++ b/source/rafcon/core/state_elements/data_port.py
@@ -147,7 +147,7 @@ class DataPort(StateElement):
logger.warning... | fix(data_port): resolves #<I> fix the special case that the name of a dart port of type object connected to a data_port of type int could not be changed | py |
diff --git a/sphero/request.py b/sphero/request.py
index <HASH>..<HASH> 100644
--- a/sphero/request.py
+++ b/sphero/request.py
@@ -138,12 +138,24 @@ class SetChassisId(Sphero):
class SelfLevel(Sphero):
cid = 0x09
+class SetVDL(Sphero):
+ cid = 0x0A
+
class SetDataStreaming(Sphero):
cid = 0x11
class ... | Add Request commands from API <I> | py |
diff --git a/hagelslag/data/ModelOutput.py b/hagelslag/data/ModelOutput.py
index <HASH>..<HASH> 100644
--- a/hagelslag/data/ModelOutput.py
+++ b/hagelslag/data/ModelOutput.py
@@ -146,7 +146,7 @@ class ModelOutput(object):
self.proj = get_proj_obj(proj_dict)
elif self.ensemble_name.upper() == "NCAR... | allow for '1km_pbl1' and '1km_on_3km_pbl1' member names | py |
diff --git a/pyramid_debugtoolbar_dogpile/__init__.py b/pyramid_debugtoolbar_dogpile/__init__.py
index <HASH>..<HASH> 100644
--- a/pyramid_debugtoolbar_dogpile/__init__.py
+++ b/pyramid_debugtoolbar_dogpile/__init__.py
@@ -24,7 +24,7 @@ LoggedEvent = namedtuple('LoggedEvent', ['key', 'value', 'size', ])
def includ... | changing to work with extra_panels | py |
diff --git a/salt/utils/s3.py b/salt/utils/s3.py
index <HASH>..<HASH> 100644
--- a/salt/utils/s3.py
+++ b/salt/utils/s3.py
@@ -106,6 +106,9 @@ def query(key, keyid, method='GET', params=None, headers=None,
if local_file:
payload_hash = salt.utils.get_hash(local_file, form='sha256')
+ if path ... | Back-port #<I> to <I> (#<I>) * Fix: local variable result referenced before assignment * Fix: if 'path' variable is None convert it into an empty string | py |
diff --git a/discord/oggparse.py b/discord/oggparse.py
index <HASH>..<HASH> 100644
--- a/discord/oggparse.py
+++ b/discord/oggparse.py
@@ -77,6 +77,8 @@ class OggStream:
head = self.stream.read(4)
if head == b'OggS':
return OggPage(self.stream)
+ elif not head:
+ return ... | Fix OggStream "invalid header magic" at end of stream | py |
diff --git a/impact_functions/inundation/flood_OSM_building_impact.py b/impact_functions/inundation/flood_OSM_building_impact.py
index <HASH>..<HASH> 100644
--- a/impact_functions/inundation/flood_OSM_building_impact.py
+++ b/impact_functions/inundation/flood_OSM_building_impact.py
@@ -20,6 +20,8 @@ class FloodBuilding... | Added a new title field to impact function in preparation for issue #<I> | py |
diff --git a/pymunin/__init__.py b/pymunin/__init__.py
index <HASH>..<HASH> 100644
--- a/pymunin/__init__.py
+++ b/pymunin/__init__.py
@@ -16,7 +16,7 @@ __copyright__ = "Copyright 2011, Ali Onur Uyar"
__credits__ = ["Samuel Stauffer (https://github.com/samuel)",
"Mark Lavin (https://github.com/mlavin)"... | Implement more detailed error reporting by default. | py |
diff --git a/neomodel/util.py b/neomodel/util.py
index <HASH>..<HASH> 100644
--- a/neomodel/util.py
+++ b/neomodel/util.py
@@ -4,6 +4,7 @@ import sys
import time
import warnings
from threading import local
+from functools import wraps
from neo4j.v1 import GraphDatabase, basic_auth, CypherError, SessionError
@@ ... | Ensure_connection only called when accessing the database, not when constructing the transaction decorator | py |
diff --git a/glances/plugins/glances_ports.py b/glances/plugins/glances_ports.py
index <HASH>..<HASH> 100644
--- a/glances/plugins/glances_ports.py
+++ b/glances/plugins/glances_ports.py
@@ -112,7 +112,7 @@ class Plugin(GlancesPlugin):
# Only process if stats exist and display plugin enable...
ret = [... | Correct issue when running Glances client/server with port plugin | py |
diff --git a/dynaphopy/interface/lammps_link.py b/dynaphopy/interface/lammps_link.py
index <HASH>..<HASH> 100644
--- a/dynaphopy/interface/lammps_link.py
+++ b/dynaphopy/interface/lammps_link.py
@@ -19,7 +19,7 @@ def generate_lammps_trajectory(structure,
sampling=1
- lmp = lammps(cmdargs=['-echo','none', '-... | Improved lammps get forces script to works with older version of numpy | py |
diff --git a/swingtix/settings.py b/swingtix/settings.py
index <HASH>..<HASH> 100644
--- a/swingtix/settings.py
+++ b/swingtix/settings.py
@@ -152,3 +152,5 @@ LOGGING = {
},
}
}
+
+TEST_RUNNER = 'django.test.runner.DiscoverRunner' | Resolution of SwingTix/bookkeeper#7 Introduced the TEST_RUNNER property to settings.py | py |
diff --git a/src/ocrmypdf/_validation.py b/src/ocrmypdf/_validation.py
index <HASH>..<HASH> 100644
--- a/src/ocrmypdf/_validation.py
+++ b/src/ocrmypdf/_validation.py
@@ -65,13 +65,14 @@ def check_options_languages(options, ocr_engine_languages):
log.debug("No language specified; assuming --language %s", D... | validation: mention ISO <I>-2 to give people a clue about how to find the appropriate code | py |
diff --git a/spyder_kernels/comms/commbase.py b/spyder_kernels/comms/commbase.py
index <HASH>..<HASH> 100644
--- a/spyder_kernels/comms/commbase.py
+++ b/spyder_kernels/comms/commbase.py
@@ -170,8 +170,11 @@ class CommBase(object):
id_list = self.get_comm_id_list(comm_id)
for comm_id in id_list:
- ... | Catch KeyError when closing comm This error is shown in the console sometimes but it doesn't add any important information to users. | py |
diff --git a/umap/views.py b/umap/views.py
index <HASH>..<HASH> 100644
--- a/umap/views.py
+++ b/umap/views.py
@@ -142,11 +142,13 @@ class UserMaps(DetailView, PaginatorMixin):
owner = self.request.user == self.object
manager = Map.objects if owner else Map.public
maps = manager.filter(Q(owne... | Increase limit in owner maps page fix #<I> | py |
diff --git a/starlette/testclient.py b/starlette/testclient.py
index <HASH>..<HASH> 100644
--- a/starlette/testclient.py
+++ b/starlette/testclient.py
@@ -67,7 +67,7 @@ class _ASGIAdapter(requests.adapters.HTTPAdapter):
def send( # type: ignore
self, request: requests.PreparedRequest, *args: typing.Any, ... | minor: fix typo: s/fragement/fragment (#<I>) | py |
diff --git a/redbeat/schedulers.py b/redbeat/schedulers.py
index <HASH>..<HASH> 100644
--- a/redbeat/schedulers.py
+++ b/redbeat/schedulers.py
@@ -24,6 +24,8 @@ from decoder import RedBeatJSONEncoder, RedBeatJSONDecoder
rdb = StrictRedis.from_url(current_app.conf.REDBEAT_REDIS_URL)
REDBEAT_SCHEDULE_KEY = current_ap... | remove deleted entries on restart - fixes #<I> | py |
diff --git a/wechatpy/client/base.py b/wechatpy/client/base.py
index <HASH>..<HASH> 100644
--- a/wechatpy/client/base.py
+++ b/wechatpy/client/base.py
@@ -138,7 +138,7 @@ class BaseWeChatClient(object):
if 'errcode' in result and result['errcode'] != 0:
errcode = result['errcode']
- e... | Wechat won't return errmsg on some occasion | py |
diff --git a/python/test/function/test_random_functions.py b/python/test/function/test_random_functions.py
index <HASH>..<HASH> 100644
--- a/python/test/function/test_random_functions.py
+++ b/python/test/function/test_random_functions.py
@@ -17,6 +17,7 @@ import numpy as np
import nnabla as nn
import nnabla.function... | alleviate test for gamma | py |
diff --git a/robosuite/utils/placement_samplers.py b/robosuite/utils/placement_samplers.py
index <HASH>..<HASH> 100644
--- a/robosuite/utils/placement_samplers.py
+++ b/robosuite/utils/placement_samplers.py
@@ -194,7 +194,7 @@ class UniformRandomSampler(ObjectPositionSampler):
"""
if self.rotation is ... | fix depreceation warning for collections.iterable | py |
diff --git a/wooey/backend/command_line.py b/wooey/backend/command_line.py
index <HASH>..<HASH> 100644
--- a/wooey/backend/command_line.py
+++ b/wooey/backend/command_line.py
@@ -43,6 +43,18 @@ def bootstrap(env=None, cwd=None):
env['DJANGO_SETTINGS_MODULE'] = ''
admin_command = [sys.executable] if sys.execut... | handling cases where django-admin cannot be found | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -26,7 +26,8 @@ CLASSIFIERS = [
PYTHON_REQUIRES = '>=3.5'
INSTALL_REQUIRES = ['numpy >= 1.12', 'pandas >= 0.19.2']
-SETUP_REQUIRES = ['pytest-runner >= 4.2']
+needs_pytest = {'pytest', 'test', 'ptr'}.intersection(sys.argv)
... | BUG: pytest-runner no required for setup.py (#<I>) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,7 +1,7 @@
from numpy.distutils.core import setup, Extension
import os
-#os.environ["CC"] = "gcc"
+# os.environ["CC"] = "gcc"
os.environ["CXX"] = "g++"
os.environ["CFLAGS"] = "-std=c++11" # numpy mixes CXXFLAGS and CF... | updated setup.py to link to new cpp files | py |
diff --git a/import_export/admin.py b/import_export/admin.py
index <HASH>..<HASH> 100644
--- a/import_export/admin.py
+++ b/import_export/admin.py
@@ -136,14 +136,15 @@ class ImportMixin(ImportExportMixinBase):
}
content_type_id=ContentType.objects.get_for_model(self.model).pk
for... | Fixed properly skipping row marked as skipped when importing data from the admin interface. | py |
diff --git a/moneyed/localization.py b/moneyed/localization.py
index <HASH>..<HASH> 100644
--- a/moneyed/localization.py
+++ b/moneyed/localization.py
@@ -1,4 +1,7 @@
# -*- coding: utf-8 -*-
+#
+# IMPORTANT:
+# Please see https://github.com/limist/py-moneyed/issues/22#issuecomment-447059971 before making changes here.... | Added comments about issue <I> to localization.py | py |
diff --git a/setuptools/sandbox.py b/setuptools/sandbox.py
index <HASH>..<HASH> 100755
--- a/setuptools/sandbox.py
+++ b/setuptools/sandbox.py
@@ -189,8 +189,8 @@ class DirectorySandbox(AbstractSandbox):
def open(self, file, flags, mode=0777):
"""Called for low-level os.open()"""
- if flags & WRI... | Fix os.open() sandboxing code that refused anything but read-only access. (backport from trunk) --HG-- branch : setuptools-<I> extra : convert_revision : svn%3A<I>fed2-<I>-<I>-9fe1-9d<I>cc<I>/sandbox/branches/setuptools-<I>%<I> | py |
diff --git a/templated_emails/utils.py b/templated_emails/utils.py
index <HASH>..<HASH> 100644
--- a/templated_emails/utils.py
+++ b/templated_emails/utils.py
@@ -66,7 +66,6 @@ def send_templated_email(recipients, template_path, context=None,
import pynliner
body = pynliner.fromString(... | Do not set content_subtype of the message to text/html. | py |
diff --git a/tldap/base.py b/tldap/base.py
index <HASH>..<HASH> 100644
--- a/tldap/base.py
+++ b/tldap/base.py
@@ -158,6 +158,16 @@ class LDAPobject(object):
def pk(self):
return getattr(self, self._meta.pk)
+ def __eq__(self, other):
+ if type(self) != type(other):
+ return False
+... | Add support for == and != in models. Compares pk only. | py |
diff --git a/infoqmedia.py b/infoqmedia.py
index <HASH>..<HASH> 100755
--- a/infoqmedia.py
+++ b/infoqmedia.py
@@ -64,7 +64,7 @@ class InfoQPresentationDumper:
def __init__(self, presentation, ffmpeg="ffmpeg", swfrender="swfrender", rtmpdump="rtmpdump", earlyClean=True, quiet=False, verbose=False, jpeg=False):
... | Cope with full urls on command line | py |
diff --git a/dynaphopy/interface/lammps_link.py b/dynaphopy/interface/lammps_link.py
index <HASH>..<HASH> 100644
--- a/dynaphopy/interface/lammps_link.py
+++ b/dynaphopy/interface/lammps_link.py
@@ -78,7 +78,7 @@ def generate_lammps_trajectory(structure,
xc = lmp.gather_atoms("x", 1, 3)
vc = lmp.gathe... | Improved lammps get forces script to works with older version of numpy | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -132,7 +132,7 @@ setup(name = 'GPy',
py_modules = ['GPy.__init__'],
test_suite = 'GPy.testing',
long_description=read_to_rst('README.md'),
- install_requires=['numpy>=1.7', 'scipy>=0.16', 'six'],
+ ... | [setup] paramz integrated | py |
diff --git a/isort/identify.py b/isort/identify.py
index <HASH>..<HASH> 100644
--- a/isort/identify.py
+++ b/isort/identify.py
@@ -25,7 +25,7 @@ class Import(NamedTuple):
if self.attribute:
full_path += f".{self.attribute}"
if self.alias:
- full_path += " as {self.alias}"
+ ... | Missing f for f'string' | py |
diff --git a/ryu/app/bmpstation.py b/ryu/app/bmpstation.py
index <HASH>..<HASH> 100644
--- a/ryu/app/bmpstation.py
+++ b/ryu/app/bmpstation.py
@@ -1,3 +1,18 @@
+# Copyright (C) 2014 Nippon Telegraph and Telephone Corporation.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this ... | bmpstation: add copyright | py |
diff --git a/common/vr/common/utils.py b/common/vr/common/utils.py
index <HASH>..<HASH> 100644
--- a/common/vr/common/utils.py
+++ b/common/vr/common/utils.py
@@ -1,6 +1,5 @@
from __future__ import print_function
-import sys
import os
import subprocess
import shutil
@@ -105,23 +104,28 @@ def run(command, verbose=... | Replace several if statements with a single one | py |
diff --git a/HMpTy/mysql/add_htm_ids_to_mysql_database_table.py b/HMpTy/mysql/add_htm_ids_to_mysql_database_table.py
index <HASH>..<HASH> 100644
--- a/HMpTy/mysql/add_htm_ids_to_mysql_database_table.py
+++ b/HMpTy/mysql/add_htm_ids_to_mysql_database_table.py
@@ -79,8 +79,8 @@ def add_htm_ids_to_mysql_database_table(
... | fixing small issue with comparing tables names on case sensitive file systems | py |
diff --git a/jss/tlsadapter.py b/jss/tlsadapter.py
index <HASH>..<HASH> 100644
--- a/jss/tlsadapter.py
+++ b/jss/tlsadapter.py
@@ -73,5 +73,5 @@ class TLSAdapter(HTTPAdapter):
"""Set up a poolmanager to use TLS and our cipher list."""
self.poolmanager = PoolManager(
num_pools=connections,... | Modify TLS support for recent versions of JSS | py |
diff --git a/salt/modules/smf.py b/salt/modules/smf.py
index <HASH>..<HASH> 100644
--- a/salt/modules/smf.py
+++ b/salt/modules/smf.py
@@ -79,7 +79,7 @@ def get_stopped():
comps = line.split()
if not comps:
continue
- if not 'online' in line and not 'legacy_run' in line:
+ i... | Fix PEP8 E<I> - test for membership should be "not in" | py |
diff --git a/cassandra/metadata.py b/cassandra/metadata.py
index <HASH>..<HASH> 100644
--- a/cassandra/metadata.py
+++ b/cassandra/metadata.py
@@ -838,7 +838,7 @@ class Aggregate(object):
If `formatted` is set to :const:`True`, extra whitespace will
be added to make the query more readable.
"... | meta: improved format for Function and Aggregate CQL | py |
diff --git a/tests/test_MySQLdb_times.py b/tests/test_MySQLdb_times.py
index <HASH>..<HASH> 100644
--- a/tests/test_MySQLdb_times.py
+++ b/tests/test_MySQLdb_times.py
@@ -93,7 +93,6 @@ class TestToLiteral(unittest.TestCase):
def test_datetimedelta_to_literal(self):
d = datetime(2015, 12, 13, 1, 2, 3) - ... | Drop debug logging from times test | py |
diff --git a/smartcard/Observer.py b/smartcard/Observer.py
index <HASH>..<HASH> 100644
--- a/smartcard/Observer.py
+++ b/smartcard/Observer.py
@@ -76,8 +76,8 @@ class Observable(Synchronization):
def countObservers(self):
return len(self.obs)
+
synchronize(Observable,
- "addObserver deleteObserv... | Observer: fix PEP8 warnings Observer.py:<I>:5: E<I> continuation line under-indented for visual indent Observer.py:<I>:5: E<I> continuation line under-indented for visual indent Observer.py:<I>:5: E<I> continuation line under-indented for visual indent Observer.py:<I>:1: E<I> block comment should start with '# ' | py |
diff --git a/tools/run_tests/artifacts/artifact_targets.py b/tools/run_tests/artifacts/artifact_targets.py
index <HASH>..<HASH> 100644
--- a/tools/run_tests/artifacts/artifact_targets.py
+++ b/tools/run_tests/artifacts/artifact_targets.py
@@ -177,7 +177,7 @@ class PythonArtifact:
self.name,
... | Increase mac Python artifact build timeout | py |
diff --git a/spacy/cli/debug_data.py b/spacy/cli/debug_data.py
index <HASH>..<HASH> 100644
--- a/spacy/cli/debug_data.py
+++ b/spacy/cli/debug_data.py
@@ -361,7 +361,7 @@ def debug_data(
if label != "-"
]
labels_with_counts = _format_labels(labels_with_counts, counts=True)
- msg.te... | add counts to verbose list of NER labels (#<I>) | py |
diff --git a/colin/core/checks/dockerfile.py b/colin/core/checks/dockerfile.py
index <HASH>..<HASH> 100644
--- a/colin/core/checks/dockerfile.py
+++ b/colin/core/checks/dockerfile.py
@@ -91,9 +91,9 @@ class InstructionCountAbstractCheck(DockerfileAbstractCheck):
self.max_count)
logger.debu... | fix instruction checks when *_count is 0 | py |
diff --git a/src/sos/targets.py b/src/sos/targets.py
index <HASH>..<HASH> 100644
--- a/src/sos/targets.py
+++ b/src/sos/targets.py
@@ -487,6 +487,11 @@ class file_target(path, BaseTarget):
self._md5 = None
self._attachments = []
+ def _init(self):
+ super(file_target, self)._init()... | Fix initialization of file_target #<I> | py |
diff --git a/pandas/io/tests/test_pytables.py b/pandas/io/tests/test_pytables.py
index <HASH>..<HASH> 100644
--- a/pandas/io/tests/test_pytables.py
+++ b/pandas/io/tests/test_pytables.py
@@ -395,9 +395,9 @@ class TestHDFStore(Base, tm.TestCase):
def test_iter_empty(self):
- with ensure_clean_path(self.p... | TST: make sure closing all pytables stores | py |
diff --git a/seed_identity_store/settings.py b/seed_identity_store/settings.py
index <HASH>..<HASH> 100644
--- a/seed_identity_store/settings.py
+++ b/seed_identity_store/settings.py
@@ -162,7 +162,7 @@ CELERY_IMPORTS = (
CELERY_CREATE_MISSING_QUEUES = True
CELERY_TASK_SERIALIZER = 'json'
-CELERY_RESULT_SERIALIZER ... | use pickle insted of json for serialising the tasks | py |
diff --git a/sdk/core/azure-core/azure/core/version.py b/sdk/core/azure-core/azure/core/version.py
index <HASH>..<HASH> 100644
--- a/sdk/core/azure-core/azure/core/version.py
+++ b/sdk/core/azure-core/azure/core/version.py
@@ -9,4 +9,4 @@
# regenerated.
# --------------------------------------------------------------... | revert to <I> | py |
diff --git a/src/cr/cube/crunch_cube.py b/src/cr/cube/crunch_cube.py
index <HASH>..<HASH> 100644
--- a/src/cr/cube/crunch_cube.py
+++ b/src/cr/cube/crunch_cube.py
@@ -210,13 +210,6 @@ class CrunchCube(DataTable):
)
slice_mask = np.logical_or(rows_pruned, cols_pruned)
- # 0 stands ... | [#<I>]: Don't force-keep H&S if they're pruned in both dims | py |
diff --git a/ipyrad/core/assembly.py b/ipyrad/core/assembly.py
index <HASH>..<HASH> 100644
--- a/ipyrad/core/assembly.py
+++ b/ipyrad/core/assembly.py
@@ -172,7 +172,7 @@ class Assembly(object):
("max_shared_Hs_locus", 0.50),
("trim_reads", (0, 0, 0, 0)),
... | Removed from output formats defaults (it doesn't do anything) | py |
diff --git a/buildAll_unix.py b/buildAll_unix.py
index <HASH>..<HASH> 100755
--- a/buildAll_unix.py
+++ b/buildAll_unix.py
@@ -54,7 +54,7 @@ def main():
'make',
'make test',
'make install_sw', # don't build documentation, else will fail on Debian
- 'mkdir %s'%(openssl_internal_dir), #... | don't fail if directory already exists | py |
diff --git a/spyder/__init__.py b/spyder/__init__.py
index <HASH>..<HASH> 100644
--- a/spyder/__init__.py
+++ b/spyder/__init__.py
@@ -29,7 +29,7 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
"""
-version_info = (5, 0, 3)
+version_info = (5, 1, 0, "dev0")
__vers... | Back to work [ci skip] | py |
diff --git a/glue/ligolw/array.py b/glue/ligolw/array.py
index <HASH>..<HASH> 100644
--- a/glue/ligolw/array.py
+++ b/glue/ligolw/array.py
@@ -48,6 +48,8 @@ import re
import sys
from xml.sax.saxutils import escape as xmlescape
+
+import iterutils
import ligolw
import tokenizer
import types
@@ -153,17 +155,7 @@ d... | Convert IndexIter into a wrapper around iterutils.MultiIter. | py |
diff --git a/StreamDecompressor/archive.py b/StreamDecompressor/archive.py
index <HASH>..<HASH> 100644
--- a/StreamDecompressor/archive.py
+++ b/StreamDecompressor/archive.py
@@ -194,7 +194,9 @@ class ExternalPipe(Archive, threading.Thread):
copyfileobj(self.source, self.p.stdin)
except IOError, e... | Clean-up: looks clearer that way | py |
diff --git a/gemini.py b/gemini.py
index <HASH>..<HASH> 100644
--- a/gemini.py
+++ b/gemini.py
@@ -11,7 +11,27 @@ Options:
<files>...
--report = <report> Output json file
--threads = <threads> The number of threads in challenge [default: 1]
---config = <json> Configuration file [default: config.json]
+--con... | (Refs #<I>) Explain config file definition | py |
diff --git a/hcam_widgets/widgets.py b/hcam_widgets/widgets.py
index <HASH>..<HASH> 100644
--- a/hcam_widgets/widgets.py
+++ b/hcam_widgets/widgets.py
@@ -2550,7 +2550,7 @@ class Timer(tk.Label):
def update(self):
"""
Updates @ 10Hz to give smooth running clock, checks
- run status @0.5Hz ... | slowed down frequency of run status checks | py |
diff --git a/py3status/modules/clementine.py b/py3status/modules/clementine.py
index <HASH>..<HASH> 100644
--- a/py3status/modules/clementine.py
+++ b/py3status/modules/clementine.py
@@ -4,7 +4,7 @@ Display the current "artist - title" playing in Clementine.
Configuration parameters:
cache_timeout: how often we... | clementine: Too many comments. Hard to keep up. I forget. | py |
diff --git a/openstack_dashboard/dashboards/admin/networks/ports/tables.py b/openstack_dashboard/dashboards/admin/networks/ports/tables.py
index <HASH>..<HASH> 100644
--- a/openstack_dashboard/dashboards/admin/networks/ports/tables.py
+++ b/openstack_dashboard/dashboards/admin/networks/ports/tables.py
@@ -12,8 +12,6 @@... | Remove unused LOG This patch is to remove unused LOG in the code. Change-Id: I<I>ff<I>b<I>d6d<I>a3f6c<I>b<I> | py |
diff --git a/api/src/opentrons/drivers/smoothie_drivers/driver_3_0.py b/api/src/opentrons/drivers/smoothie_drivers/driver_3_0.py
index <HASH>..<HASH> 100755
--- a/api/src/opentrons/drivers/smoothie_drivers/driver_3_0.py
+++ b/api/src/opentrons/drivers/smoothie_drivers/driver_3_0.py
@@ -1338,10 +1338,9 @@ class Smoothie... | fix(api): set default move timeout to <I> instead of <I> (#<I>) We added a split between ack and execute timeouts, with the execute timeout being <I> seconds. But we didn't actually change the places where the timeout was specified to <I> for some reason. We therefore fixed the timeout issues that consistently happ... | 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='slacker',
- version='0.9.10',
+ version='0.9.15',
packages=['slacker'],
description='Slack API client',
author='Oktay Sancak', | Set version number to <I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -48,7 +48,7 @@ except(IOError, ImportError):
setup(
name='esgfpid',
- version='0.7.16-dev',
+ version='0.7.16',
author='Merret Buurman, German Climate Computing Centre (DKRZ)',
author_email='buurman@dkr... | Skip to <I> (need to rerelease <I> under new version, due to pypi upload error) | py |
diff --git a/src/artist.py b/src/artist.py
index <HASH>..<HASH> 100644
--- a/src/artist.py
+++ b/src/artist.py
@@ -26,7 +26,7 @@ class Artist(Entity):
if attr in Artist.summary_attrs and not self.fetched_summary:
self.fetch_summary()
return getattr(self, attr)
- if len(attr.spl... | works with deeper heirarchy ts | py |
diff --git a/salt/client.py b/salt/client.py
index <HASH>..<HASH> 100644
--- a/salt/client.py
+++ b/salt/client.py
@@ -29,12 +29,10 @@ The data structure needs to be:
# This means that the primary client to build is, the LocalClient
import os
-import re
import sys
import glob
import time
import getpass
-import ... | clean up some stragglers from the check_minions change | py |
diff --git a/src/python/dxpy/scripts/dx.py b/src/python/dxpy/scripts/dx.py
index <HASH>..<HASH> 100755
--- a/src/python/dxpy/scripts/dx.py
+++ b/src/python/dxpy/scripts/dx.py
@@ -375,7 +375,8 @@ def login(args):
if args.save:
msg = "You are now logged in. Your credentials are stored in {conf_dir} and wi... | Expand tip to mention dx logout | py |
diff --git a/salt/states/pkg.py b/salt/states/pkg.py
index <HASH>..<HASH> 100644
--- a/salt/states/pkg.py
+++ b/salt/states/pkg.py
@@ -302,7 +302,10 @@ def installed(
sources
A list of packages to install, along with the source URI or local path
- from which to install each package.
+ from... | Clarify docstring for salt.states.pkg.installed | py |
diff --git a/src/discoursegraphs/merging.py b/src/discoursegraphs/merging.py
index <HASH>..<HASH> 100755
--- a/src/discoursegraphs/merging.py
+++ b/src/discoursegraphs/merging.py
@@ -109,8 +109,9 @@ def merging_cli(debug=False):
write_gml(tiger_docgraph, args.output_file)
elif args.output_format == 'graph... | fixed #<I>: graphml export works using layerset2str, attriblist2str | py |
diff --git a/girder/utility/server.py b/girder/utility/server.py
index <HASH>..<HASH> 100644
--- a/girder/utility/server.py
+++ b/girder/utility/server.py
@@ -193,8 +193,12 @@ def setup(test=False, plugins=None, curConfig=None):
# Mount everything else in the routeTable
for (name, route) in six.viewitems(rout... | Surround CP config with routed dictionary | py |
diff --git a/dev/run-tests.py b/dev/run-tests.py
index <HASH>..<HASH> 100755
--- a/dev/run-tests.py
+++ b/dev/run-tests.py
@@ -391,7 +391,7 @@ def run_scala_tests_maven(test_profiles):
def run_scala_tests_sbt(test_modules, test_profiles):
# declare the variable for reference
- sbt_test_goals = None
+ sbt_... | [HOTFIX] [PROJECT-INFRA] Fix bug in dev/run-tests for MLlib-only PRs | py |
diff --git a/slither/detectors/variables/unused_state_variables.py b/slither/detectors/variables/unused_state_variables.py
index <HASH>..<HASH> 100644
--- a/slither/detectors/variables/unused_state_variables.py
+++ b/slither/detectors/variables/unused_state_variables.py
@@ -47,7 +47,7 @@ class UnusedStateVars(AbstractD... | Updated WIKI reference link Updated WIKI reference link for unused-state-variable | py |
diff --git a/aws_syncr/amazon/iam.py b/aws_syncr/amazon/iam.py
index <HASH>..<HASH> 100644
--- a/aws_syncr/amazon/iam.py
+++ b/aws_syncr/amazon/iam.py
@@ -137,7 +137,7 @@ class Iam(AmazonMixin, object):
current_attached_policies = []
with self.ignore_missing():
- current_attached_policies... | Seems the PathPrefix isn't needed and it makes it come up with empty results | py |
diff --git a/ccmlib/common.py b/ccmlib/common.py
index <HASH>..<HASH> 100644
--- a/ccmlib/common.py
+++ b/ccmlib/common.py
@@ -626,7 +626,7 @@ def get_dse_cassandra_version(install_dir):
if fnmatch.fnmatch(file, 'cassandra-all*.jar'):
match = re.search('cassandra-all-([0-9.]+)(?:-.*)?\.jar', file)... | Return LooseVersions for DSE versions as well | py |
diff --git a/tests/test_remoteblocks.py b/tests/test_remoteblocks.py
index <HASH>..<HASH> 100644
--- a/tests/test_remoteblocks.py
+++ b/tests/test_remoteblocks.py
@@ -124,6 +124,7 @@ if __name__ == "__main__":
print repr(data)
blk = blocks.TransientBlock(rlp.encode(data))
chain_manager.receiv... | assert that the blks are successfully imported | py |
diff --git a/test/test_detector.py b/test/test_detector.py
index <HASH>..<HASH> 100644
--- a/test/test_detector.py
+++ b/test/test_detector.py
@@ -105,5 +105,7 @@ suite = unittest.TestSuite()
suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestDetector))
if __name__ == '__main__':
+ from astropy.utils ... | do not download IERS data when running test | py |
diff --git a/pyvisa/util.py b/pyvisa/util.py
index <HASH>..<HASH> 100644
--- a/pyvisa/util.py
+++ b/pyvisa/util.py
@@ -22,7 +22,7 @@ import struct
import subprocess
import warnings
-from .compat import check_output, string_types
+from .compat import check_output, string_types, OrderedDict
from . import __version__... | Changed backends debug info from dict to OrderedDict | py |
diff --git a/porkchop/plugin.py b/porkchop/plugin.py
index <HASH>..<HASH> 100644
--- a/porkchop/plugin.py
+++ b/porkchop/plugin.py
@@ -5,6 +5,7 @@ import porkchop.plugins
class PorkchopPlugin(object):
config_file = None
+ _cache = None
_data = {}
_lastrefresh = 0
@@ -27,9 +28,9 @@ class PorkchopPlugin(ob... | - Update _lastrefresh *after* updating ._data - Load user-specified plugins first so they take priority - Introduce _cache for plugins to store internal data between fetches. | py |
diff --git a/djstripe/decorators.py b/djstripe/decorators.py
index <HASH>..<HASH> 100644
--- a/djstripe/decorators.py
+++ b/djstripe/decorators.py
@@ -22,7 +22,7 @@ def subscriber_passes_pay_test(test_func, plan=None, pay_page="djstripe:subscrib
"""
Decorator for views that checks the subscriber passes the gi... | Change decorator doc based on feedback | py |
diff --git a/looper/models.py b/looper/models.py
index <HASH>..<HASH> 100644
--- a/looper/models.py
+++ b/looper/models.py
@@ -934,11 +934,27 @@ class Project(AttributeDict):
# so we don't re-derive them later.
merged_cols = {
... | enumerate rows for int-based indexing | py |
diff --git a/molecule/driver/ec2.py b/molecule/driver/ec2.py
index <HASH>..<HASH> 100644
--- a/molecule/driver/ec2.py
+++ b/molecule/driver/ec2.py
@@ -45,8 +45,7 @@ class EC2(base.Base):
.. code-block:: bash
- $ sudo pip install boto
- $ sudo pip install boto3
+ $ pip install molecule[ec2]... | Add ec2 deps installation to docs | py |
diff --git a/girc/capabilities.py b/girc/capabilities.py
index <HASH>..<HASH> 100644
--- a/girc/capabilities.py
+++ b/girc/capabilities.py
@@ -24,7 +24,7 @@ class Capabilities:
if '=' in cap:
cap, value = cap.rsplit('=', 1)
- if value = '':
+ ... | [caps] Fix setting CAPA= capabilities | py |
diff --git a/stimela/recipe.py b/stimela/recipe.py
index <HASH>..<HASH> 100644
--- a/stimela/recipe.py
+++ b/stimela/recipe.py
@@ -462,7 +462,7 @@ class Recipe(object):
# Update I/O with values specified on command line
self.indir = indir
self.outdir = outdir
- self.msdir = msdir or ms... | renew recipe.ms_dir for backwards comp | py |
diff --git a/testing/test_tmpdir.py b/testing/test_tmpdir.py
index <HASH>..<HASH> 100644
--- a/testing/test_tmpdir.py
+++ b/testing/test_tmpdir.py
@@ -248,7 +248,7 @@ class TestNumberedDir(object):
def test_cleanup_keep(self, tmp_path):
self._do_cleanup(tmp_path)
- a, b = tmp_path.iterdir()
+ ... | fix test_cleanup_keep for expecting symlinks | py |
diff --git a/rope/base/fscommands.py b/rope/base/fscommands.py
index <HASH>..<HASH> 100644
--- a/rope/base/fscommands.py
+++ b/rope/base/fscommands.py
@@ -7,7 +7,6 @@ provided by `FileSystemCommands` class. See `SubversionCommands` and
"""
import os
-import re
import shutil
@@ -163,12 +162,20 @@ def read_str_... | fscommands: not using regular expressions for finding file coding The main reason is in py3k branch, bytes and regexps don't work. | py |
diff --git a/sphinx_revealjs/directives.py b/sphinx_revealjs/directives.py
index <HASH>..<HASH> 100644
--- a/sphinx_revealjs/directives.py
+++ b/sphinx_revealjs/directives.py
@@ -61,10 +61,10 @@ REVEALJS_SECTION_ATTRIBUTES = {
"data-auto-animate-duration": directives.unchanged,
"data-auto-animate-easing": dir... | fix: some attributes are not flag type - data-auto-animate-id - data-autoslide Refs: #<I> | py |
diff --git a/grab/spider/pattern.py b/grab/spider/pattern.py
index <HASH>..<HASH> 100644
--- a/grab/spider/pattern.py
+++ b/grab/spider/pattern.py
@@ -36,7 +36,7 @@ class SpiderPattern(object):
'%s_url' % task.image_field: task.url}})
- def process_next_page(self, grab, t... | Add resolve_base option to process_links method | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.