diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/master/buildbot/util/__init__.py b/master/buildbot/util/__init__.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/util/__init__.py
+++ b/master/buildbot/util/__init__.py
@@ -85,7 +85,7 @@ class ComparableMixin:
if result:
return result
- result = cmp(self.__class__.__name... | - Compare classes and not names. | py |
diff --git a/bakery/project/views.py b/bakery/project/views.py
index <HASH>..<HASH> 100644
--- a/bakery/project/views.py
+++ b/bakery/project/views.py
@@ -109,15 +109,14 @@ def checkout(p):
flash(_("Complete setup first"))
return redirect(url_for('project.setup', project_id=p.id))
+ from git impo... | if not revision passing to checkout command then use head | py |
diff --git a/aioinflux/serialization/usertype.py b/aioinflux/serialization/usertype.py
index <HASH>..<HASH> 100644
--- a/aioinflux/serialization/usertype.py
+++ b/aioinflux/serialization/usertype.py
@@ -157,9 +157,7 @@ def lineprotocol(cls=None, *, schema=None, rm_none=False, extra_tags=None):
raise Schema... | Reduce number of private attributes added to user class | py |
diff --git a/htmresearch/frameworks/nlp/classify_keywords.py b/htmresearch/frameworks/nlp/classify_keywords.py
index <HASH>..<HASH> 100644
--- a/htmresearch/frameworks/nlp/classify_keywords.py
+++ b/htmresearch/frameworks/nlp/classify_keywords.py
@@ -179,7 +179,7 @@ class ClassificationModelKeywords(ClassificationModel... | Keywords model defaults to <I> distance for non-matches | py |
diff --git a/command/build_ext.py b/command/build_ext.py
index <HASH>..<HASH> 100644
--- a/command/build_ext.py
+++ b/command/build_ext.py
@@ -113,7 +113,9 @@ class build_ext (Command):
self.include_dirs = string.split (self.include_dirs,
os.pathsep)
- ... | Put the Python "system" include dir last, rather than first. | py |
diff --git a/bika/lims/browser/bika_listing.py b/bika/lims/browser/bika_listing.py
index <HASH>..<HASH> 100644
--- a/bika/lims/browser/bika_listing.py
+++ b/bika/lims/browser/bika_listing.py
@@ -76,6 +76,8 @@ class WorkflowAction:
form = self.request.form
came_from = "workflow_action"
action ... | workflow_action: Duplicate action present in request | py |
diff --git a/webcolors.py b/webcolors.py
index <HASH>..<HASH> 100644
--- a/webcolors.py
+++ b/webcolors.py
@@ -685,7 +685,7 @@ def html5_parse_legacy_color(input):
# 10. Replace any character in input that is not an ASCII hex
# digit with the character "0" (U+0030).
if any(c for c in input if c not i... | Fix a typo in step <I> of HTML5 legacy parsing. | py |
diff --git a/libsubmit/version.py b/libsubmit/version.py
index <HASH>..<HASH> 100644
--- a/libsubmit/version.py
+++ b/libsubmit/version.py
@@ -1,4 +1,4 @@
''' Set module version
<Major>.<Minor>.<maintenance>[-alpha/beta/..]
'''
-VERSION = '0.2.2'
+VERSION = '0.2.3' | Bumping version to <I> - Added support for cobalt. Working code on Cooley.alcf. Added launchers to wrap executable with added functionality. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,6 +1,13 @@
#!/usr/bin/env python
import shutil
import os
+
+# This is maybe not the best place to put this,
+# but we need to tell OSX to build for 10.7.
+# Otherwise, wheels don't work. We can't use 10.6,
+# it doesn't ... | Hack OSX build target into setup.py | py |
diff --git a/guppi.py b/guppi.py
index <HASH>..<HASH> 100644
--- a/guppi.py
+++ b/guppi.py
@@ -60,6 +60,7 @@ class GuppiRaw(object):
def __init__(self, filename, n_blocks=None):
self.filename = filename
self.file_obj = open(filename, 'r')
+ self.filesize = os.path.getsize(filename)
if not n_blocks:
se... | Updated file read logic for better compatibility | py |
diff --git a/examples/create_shipment.py b/examples/create_shipment.py
index <HASH>..<HASH> 100755
--- a/examples/create_shipment.py
+++ b/examples/create_shipment.py
@@ -110,10 +110,10 @@ shipment.add_package(package1)
# If you want to make sure that all of your entered details are valid, you
# can call this and par... | Send a shipment request instead of a validation request. | py |
diff --git a/warehouse/packaging/views.py b/warehouse/packaging/views.py
index <HASH>..<HASH> 100644
--- a/warehouse/packaging/views.py
+++ b/warehouse/packaging/views.py
@@ -67,6 +67,12 @@ def project_detail(project, request):
def release_detail(release, request):
project = release.project
+ # Check if the ... | Add comments about project detail redirects (#<I>) | py |
diff --git a/test.py b/test.py
index <HASH>..<HASH> 100644
--- a/test.py
+++ b/test.py
@@ -38,7 +38,7 @@ class TestKafka(unittest.TestCase):
Test that no errors are thrown, and it doesn't hang when you send a message
"""
producer = HerokuKafkaProducer(**kafka_params)
- #producer.send(T... | Removed comment on producer.send | py |
diff --git a/astrobase/lcproc.py b/astrobase/lcproc.py
index <HASH>..<HASH> 100644
--- a/astrobase/lcproc.py
+++ b/astrobase/lcproc.py
@@ -600,7 +600,7 @@ def getlclist(listpickle,
if kdtindices and len(kdtindices) > 0:
LOGINFO('objects found within %.4f deg of (%.3f, %.3f): %s' %
- ... | lcproc: getlclist, makelclist now have column-filtering and cone-search | py |
diff --git a/examples/digital_makeup.py b/examples/digital_makeup.py
index <HASH>..<HASH> 100644
--- a/examples/digital_makeup.py
+++ b/examples/digital_makeup.py
@@ -7,8 +7,8 @@ image = face_recognition.load_image_file("biden.jpg")
# Find all facial features in all the faces in the image
face_landmarks_list = face_r... | Fix This fix allows for makeup to be applied to all faces in the image. The previous version would only apply makeup to one face since the new image would be created each time loop would start. | py |
diff --git a/samcli/lib/build/build_strategy.py b/samcli/lib/build/build_strategy.py
index <HASH>..<HASH> 100644
--- a/samcli/lib/build/build_strategy.py
+++ b/samcli/lib/build/build_strategy.py
@@ -162,7 +162,7 @@ class DefaultBuildStrategy(BuildStrategy):
single_build_dir,
build_definition.m... | fix: dont pass dependencies dir if experimental is not enabled (#<I>) | py |
diff --git a/pupa/scrape/helpers.py b/pupa/scrape/helpers.py
index <HASH>..<HASH> 100644
--- a/pupa/scrape/helpers.py
+++ b/pupa/scrape/helpers.py
@@ -46,11 +46,6 @@ class Committee(Organization):
super(Committee, self).__init__(name=name, classification='committee', chamber=chamber,
... | don't attach committees to legislature this way | py |
diff --git a/xclim/ensembles.py b/xclim/ensembles.py
index <HASH>..<HASH> 100644
--- a/xclim/ensembles.py
+++ b/xclim/ensembles.py
@@ -256,7 +256,7 @@ def _ens_align_datasets(datasets, mf_flag=False, time_flag=False, time_all=None)
if isinstance(n, xr.Dataset):
ds = n
else:
- ... | Update ensembles.py (#<I>) | py |
diff --git a/git/test/test_base.py b/git/test/test_base.py
index <HASH>..<HASH> 100644
--- a/git/test/test_base.py
+++ b/git/test/test_base.py
@@ -5,6 +5,7 @@
# This module is part of GitPython and is released under
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
import os
+import sys
import t... | BF: skip unicode filename test in env not supporting unicode encodings | py |
diff --git a/reana_commons/version.py b/reana_commons/version.py
index <HASH>..<HASH> 100755
--- a/reana_commons/version.py
+++ b/reana_commons/version.py
@@ -14,4 +14,4 @@ and parsed by ``setup.py``.
from __future__ import absolute_import, print_function
-__version__ = "0.8.0a35"
+__version__ = "0.8.0a36" | release: <I>a<I> | py |
diff --git a/holoviews/plotting/bokeh/plot.py b/holoviews/plotting/bokeh/plot.py
index <HASH>..<HASH> 100644
--- a/holoviews/plotting/bokeh/plot.py
+++ b/holoviews/plotting/bokeh/plot.py
@@ -382,10 +382,6 @@ class GridPlot(CompositePlot, GenericCompositePlot):
if not self.shared_yaxis:
kwa... | Fixed shared_axis bug when plotting GridMatrix with Histogram (#<I>) | py |
diff --git a/pykube/query.py b/pykube/query.py
index <HASH>..<HASH> 100644
--- a/pykube/query.py
+++ b/pykube/query.py
@@ -32,7 +32,9 @@ class BaseQuery(object):
return clone
def _clone(self):
- return self.__class__(self.api, self.api_obj_class, namespace=self.namespace)
+ clone = self.__... | Fixed query cloning to copy the selector | py |
diff --git a/mutant/management/__init__.py b/mutant/management/__init__.py
index <HASH>..<HASH> 100644
--- a/mutant/management/__init__.py
+++ b/mutant/management/__init__.py
@@ -3,7 +3,7 @@ from __future__ import unicode_literals
from functools import wraps
from django.contrib.contenttypes.models import ContentTyp... | Only execute DDL statements on south enabled databases | py |
diff --git a/master/buildbot/test/unit/test_worker_upcloud.py b/master/buildbot/test/unit/test_worker_upcloud.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/test/unit/test_worker_upcloud.py
+++ b/master/buildbot/test/unit/test_worker_upcloud.py
@@ -157,5 +157,5 @@ class TestUpcloudWorker(TestReactorMixin, unittes... | test: Add missing wait for deferred | py |
diff --git a/src/app/actions/prottable/fdr.py b/src/app/actions/prottable/fdr.py
index <HASH>..<HASH> 100644
--- a/src/app/actions/prottable/fdr.py
+++ b/src/app/actions/prottable/fdr.py
@@ -89,9 +89,10 @@ def get_score(protein):
def create_td_gene_map(tfastafn, dfastafn, fastadelim, genefield):
+ prefixlen = l... | Only add decoy prefix if not already in the fasta, defensive | py |
diff --git a/python/setup.py b/python/setup.py
index <HASH>..<HASH> 100644
--- a/python/setup.py
+++ b/python/setup.py
@@ -19,7 +19,7 @@ test_packages = _read_requirements("requirements/tests.txt")
setup(
name='rapidpro-expressions',
- version='1.0.6',
+ version='1.0.6.1',
description='Python impleme... | Increment version to <I> | py |
diff --git a/peppy/project.py b/peppy/project.py
index <HASH>..<HASH> 100644
--- a/peppy/project.py
+++ b/peppy/project.py
@@ -313,7 +313,7 @@ class Project(PathExAttMap):
sample_indexer = \
subsample_table[sample_colname] == sample[SAMPLE_NAME_ATTR]
this_sample_rows = subsamp... | drop subsample table call only if all are vals missing | py |
diff --git a/fabfile.py b/fabfile.py
index <HASH>..<HASH> 100644
--- a/fabfile.py
+++ b/fabfile.py
@@ -202,7 +202,7 @@ def test_backend(backend, domain, config_path='', version=''):
error('user_sessions() did not return empty set: %s' % sessions)
ok()
- print('Start tests requiring a running session.... | py2 does not accept flush | py |
diff --git a/test/cli/test_config.py b/test/cli/test_config.py
index <HASH>..<HASH> 100644
--- a/test/cli/test_config.py
+++ b/test/cli/test_config.py
@@ -2,7 +2,7 @@ from textwrap import dedent
from mock import patch
-from nameko.cli.config import main
+from nameko.cli.config import Config
from nameko.cli.main i... | test from command interface rather than going straight to the script | py |
diff --git a/emit/router.py b/emit/router.py
index <HASH>..<HASH> 100644
--- a/emit/router.py
+++ b/emit/router.py
@@ -128,8 +128,8 @@ class Router(object):
:param fields: fields that this function returns
:type fields: ordered iterable of :py:class:`str`
- :param subscribe_to: functions in t... | add note about subscribe_to accepting regular expressions | py |
diff --git a/pandas/util/testing.py b/pandas/util/testing.py
index <HASH>..<HASH> 100644
--- a/pandas/util/testing.py
+++ b/pandas/util/testing.py
@@ -1151,7 +1151,7 @@ def assert_series_equal(left, right, check_dtype=True,
Whether to compare number exactly.
check_names : bool, default True
Wheth... | Update testing.py (#<I>) Docs typo fix | py |
diff --git a/pygccxml/declarations/pattern_parser.py b/pygccxml/declarations/pattern_parser.py
index <HASH>..<HASH> 100644
--- a/pygccxml/declarations/pattern_parser.py
+++ b/pygccxml/declarations/pattern_parser.py
@@ -37,7 +37,7 @@ class parser_t(object):
if self.__begin == "<":
# Cleanup parenth... | Explicitly escape \ in regex Fixes anomalous-backslash-in-string pylint warning. | 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,7 @@ def installed(
if __opts__['test']:
if targets:
if sources:
- summary = ', '.join(sources)
+ summary = ', '.join... | Fix problem with test=True for bin pkg install Thought I had fixed this in <I> but I was mistaken. | 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, find_packages
setup(
# package information
name='viz',
- version='0.0.4',
+ version='0.0.5',
author='Christopher Brown',
author_email='io@henrian.com',
... | Version bump for LICENSE fix | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -126,8 +126,7 @@ setup(
# Requirements
setup_requires=[
- 'pytest-runner',
- 'sphinx>=1.3.1'
+ 'pytest-runner'
],
**read_requirements() | Removed "sphinx" from [setup.py] `setup_requires` | py |
diff --git a/tpot/base.py b/tpot/base.py
index <HASH>..<HASH> 100644
--- a/tpot/base.py
+++ b/tpot/base.py
@@ -492,11 +492,11 @@ class TPOTBase(BaseEstimator):
"""
for (_, obj) in pipeline_steps:
if hasattr(obj, 'steps'):
- self._set_param_recursive(obj.steps)
+ ... | Fix broken recursive calls to _set_param_recursive | py |
diff --git a/bika/lims/content/instrument.py b/bika/lims/content/instrument.py
index <HASH>..<HASH> 100644
--- a/bika/lims/content/instrument.py
+++ b/bika/lims/content/instrument.py
@@ -50,7 +50,6 @@ schema = BikaSchema.copy() + Schema((
),
),
StringField('DataInterface',
- schemata = _("Expo... | make instrument schemata into single page | py |
diff --git a/test/bibliopixel/util/udp_test.py b/test/bibliopixel/util/udp_test.py
index <HASH>..<HASH> 100644
--- a/test/bibliopixel/util/udp_test.py
+++ b/test/bibliopixel/util/udp_test.py
@@ -13,6 +13,7 @@ def receive_udp(address, results):
yield
+ results.append(receiver.queue.get())
try:
... | Wait indefinitely for the first result in udp_test.py | py |
diff --git a/porespy/tools/__funcs__.py b/porespy/tools/__funcs__.py
index <HASH>..<HASH> 100644
--- a/porespy/tools/__funcs__.py
+++ b/porespy/tools/__funcs__.py
@@ -5,7 +5,7 @@ import OpenPNM as op
from numba import jit
-def extend_slices(slices, shape):
+def extend_slices(slices, shape, pad=1):
r"""
A... | Add a 'pad' argument to extend_slices to allow for increase (or decreased) view sizes | py |
diff --git a/scisalt/PWFA/ions.py b/scisalt/PWFA/ions.py
index <HASH>..<HASH> 100644
--- a/scisalt/PWFA/ions.py
+++ b/scisalt/PWFA/ions.py
@@ -19,7 +19,7 @@ amu = _spc.atomic_mass # AMU in kg
class Ions(object):
"""
- .. versionadded:: 2.3.2
+ .. versionadded:: 2.4
A class to facilitate calc... | Changed plans on bumping version to minor release | py |
diff --git a/hdl_toolkit/hdlObjects/reference.py b/hdl_toolkit/hdlObjects/reference.py
index <HASH>..<HASH> 100644
--- a/hdl_toolkit/hdlObjects/reference.py
+++ b/hdl_toolkit/hdlObjects/reference.py
@@ -25,7 +25,7 @@ class HdlRef():
# [TODO]
for j in flattern(jsn, 'DOT'):
t = j["type"]
- ... | string reference support ("+" in vhdl etc.) | py |
diff --git a/src/asynqp/message.py b/src/asynqp/message.py
index <HASH>..<HASH> 100644
--- a/src/asynqp/message.py
+++ b/src/asynqp/message.py
@@ -208,8 +208,10 @@ class ContentHeaderPayload(object):
property_flags_short = serialisation.read_unsigned_short(bytesio)
properties = []
- for amqpt... | Fixed amqp properties reading. Had invalid flag checks. | py |
diff --git a/examples/create_attribute/create_attribute.py b/examples/create_attribute/create_attribute.py
index <HASH>..<HASH> 100644
--- a/examples/create_attribute/create_attribute.py
+++ b/examples/create_attribute/create_attribute.py
@@ -105,7 +105,7 @@ From this point vehicle.raw_imu can be used just like any oth... | Tidy example in response to #<I> comment | py |
diff --git a/satpy/multiscene.py b/satpy/multiscene.py
index <HASH>..<HASH> 100644
--- a/satpy/multiscene.py
+++ b/satpy/multiscene.py
@@ -59,8 +59,11 @@ def timeseries(datasets):
"""Expand dataset with and concatenate by time dimension."""
expanded_ds = []
for ds in datasets:
- tmp = ds.expand_di... | Check 'time' dimension in timeseries | py |
diff --git a/backtrader/linebuffer.py b/backtrader/linebuffer.py
index <HASH>..<HASH> 100644
--- a/backtrader/linebuffer.py
+++ b/backtrader/linebuffer.py
@@ -485,7 +485,9 @@ class _LineForward(LineActions):
# Need to add the delay to the period. "ago" is 0 based and therefore
# we need to pass and ex... | Improve LineForward to avoid adding extra minimum period if not needed for the writeback procedure | py |
diff --git a/luigi/hdfs.py b/luigi/hdfs.py
index <HASH>..<HASH> 100644
--- a/luigi/hdfs.py
+++ b/luigi/hdfs.py
@@ -777,12 +777,18 @@ class HdfsTarget(FileSystemTarget):
self.rename(path, raise_if_exists=fail_if_exists)
def move_dir(self, path):
- # mkdir will fail if directory already exists, the... | Use rename_dont_move in HdfsClient.move_dir() Most of the contreversy in this commit is covered in the docs of the move_dir function. So note that this commit does change behavior. If your client supports rename_dont_move, this fixes a bug. Otherwise, it fixes a bug but introduces another. See spotify/luigi#<I>. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -133,8 +133,9 @@ def setup_package():
exec(f.read(), about)
for copy_file, target_dir in COPY_FILES.items():
- shutil.copy(str(copy_file), str(target_dir))
- print(f"Copied {copy_file} -> {target_... | Only copy if file exists (not if installed from sdist etc.) | py |
diff --git a/dvc/version.py b/dvc/version.py
index <HASH>..<HASH> 100644
--- a/dvc/version.py
+++ b/dvc/version.py
@@ -7,7 +7,7 @@ import os
import subprocess
-_BASE_VERSION = "0.66.1"
+_BASE_VERSION = "0.66.2"
def _generate_version(base_version): | dvc: bump to <I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -3,13 +3,18 @@ try:
except ImportError:
from distutils.core import setup
+with open('README.md') as f:
+ readme = f.read()
+with open('ReleaseNotes.rst') as f:
+ history = f.read()
+
settings = dict()
setting... | Change long_description to include both README.md and ReleaseNotes.rst in setup.py | py |
diff --git a/common/vr/common/models.py b/common/vr/common/models.py
index <HASH>..<HASH> 100644
--- a/common/vr/common/models.py
+++ b/common/vr/common/models.py
@@ -575,3 +575,22 @@ class Build(object):
class App(object):
base='/api/v1/apps/'
+
+
+class Release(object):
+ base='/api/v1/releases/'
+
+ de... | Added a simple model for releases | py |
diff --git a/gos/__init__.py b/gos/__init__.py
index <HASH>..<HASH> 100644
--- a/gos/__init__.py
+++ b/gos/__init__.py
@@ -1,4 +1,6 @@
# -*- coding: utf-8 -*-
__author__ = "aganezov"
__email__ = "aganezov(at)gwu.edu"
-__status__ = "development"
\ No newline at end of file
+__status__ = "development"
+
+version = "0.... | added project version to main __init__ file to be used dynamically in the project | py |
diff --git a/estnltk/storage/postgres/subcollection.py b/estnltk/storage/postgres/subcollection.py
index <HASH>..<HASH> 100644
--- a/estnltk/storage/postgres/subcollection.py
+++ b/estnltk/storage/postgres/subcollection.py
@@ -85,7 +85,7 @@ class PgSubCollection:
self.progressbar = progressbar
self.re... | Updated subcollection's docs | py |
diff --git a/simuvex/plugins/symbolic_memory.py b/simuvex/plugins/symbolic_memory.py
index <HASH>..<HASH> 100644
--- a/simuvex/plugins/symbolic_memory.py
+++ b/simuvex/plugins/symbolic_memory.py
@@ -714,12 +714,18 @@ class SimSymbolicMemory(SimMemory):
differences.add(c)
elif c in self.mem... | Added a big hack to take care of non-SimMemoryObject in SimSymbolicMemory. | py |
diff --git a/pingparsing/_pingtransmitter.py b/pingparsing/_pingtransmitter.py
index <HASH>..<HASH> 100644
--- a/pingparsing/_pingtransmitter.py
+++ b/pingparsing/_pingtransmitter.py
@@ -180,6 +180,7 @@ class PingTransmitter(object):
self.__get_builtin_ping_command(),
self.__get_waittime_optio... | Extract a method that gets quiet option string | py |
diff --git a/cartoframes/data/clients/bigquery_client.py b/cartoframes/data/clients/bigquery_client.py
index <HASH>..<HASH> 100644
--- a/cartoframes/data/clients/bigquery_client.py
+++ b/cartoframes/data/clients/bigquery_client.py
@@ -10,7 +10,7 @@ from carto.exceptions import CartoException
from ...auth import get_... | show_progress_bar only in notebook | py |
diff --git a/eulxml/__init__.py b/eulxml/__init__.py
index <HASH>..<HASH> 100644
--- a/eulxml/__init__.py
+++ b/eulxml/__init__.py
@@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-__version_info__ = (0, 21, 0, 'dev')
+__version_info__ = (0... | set version to <I> final | py |
diff --git a/mysql/toolkit/toolkit.py b/mysql/toolkit/toolkit.py
index <HASH>..<HASH> 100644
--- a/mysql/toolkit/toolkit.py
+++ b/mysql/toolkit/toolkit.py
@@ -1,4 +1,4 @@
-import mysql.connector
+from mysql.connector import errors
from differentiate import differentiate
from mysql.toolkit.utils import wrap
from mysq... | Optimized mysql.connector imports | py |
diff --git a/autograd/builtins.py b/autograd/builtins.py
index <HASH>..<HASH> 100644
--- a/autograd/builtins.py
+++ b/autograd/builtins.py
@@ -104,7 +104,6 @@ class DictMeta(type_):
def __instancecheck__(self, instance):
return isinstance(instance, dict_)
class dict(with_metaclass(DictMeta, dict_)):
- ... | remove extra __metaclass__ line from previous commit | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -30,6 +30,6 @@ setup(
'django-import-export>=0.5.0',
'six',
'python-dateutil',
- 'django-adminlte2>=0.1.3',
+ 'django-adminlte2>=0.1.4',
],
) | Bumping django-adminlte2 version requirement | py |
diff --git a/sentry/templatetags/sentry_helpers.py b/sentry/templatetags/sentry_helpers.py
index <HASH>..<HASH> 100644
--- a/sentry/templatetags/sentry_helpers.py
+++ b/sentry/templatetags/sentry_helpers.py
@@ -47,10 +47,13 @@ def chart_data(group, max_days=90):
today = datetime.datetime.now()
- if get_... | Support other database engines with date trunc | py |
diff --git a/bugwarrior/db.py b/bugwarrior/db.py
index <HASH>..<HASH> 100644
--- a/bugwarrior/db.py
+++ b/bugwarrior/db.py
@@ -33,10 +33,7 @@ def synchronize(issues, conf):
# Prune down to only tasks managed by bugwarrior
for key in tasks.keys():
- if experimental is True:
- tasks['pending... | Do not need to load only pending tasks since we are marking BW database tasks as completed at the end of each sync | py |
diff --git a/openid/server/server.py b/openid/server/server.py
index <HASH>..<HASH> 100644
--- a/openid/server/server.py
+++ b/openid/server/server.py
@@ -642,6 +642,11 @@ class LowLevelServer(object):
C{L{openid.store.interface.OpenIDStore}} interface
"""
self.url = server_url
+
+ ... | [project @ Explain what the |dumb and |normal urls are used for] | py |
diff --git a/exchangelib/account.py b/exchangelib/account.py
index <HASH>..<HASH> 100644
--- a/exchangelib/account.py
+++ b/exchangelib/account.py
@@ -38,8 +38,9 @@ class Account(object):
raise ValueError("primary_smtp_address '%s' is not an email address" % primary_smtp_address)
self.primary_smtp... | Allow None if we could not determine locale Fixes failing `tests.AccountTest.test_validation` | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@ import re
import sys
# When creating the sdist, make sure the django.mo file also exists:
-if 'sdist' in sys.argv:
+if 'sdist' in sys.argv or 'develop' in sys.argv:
try:
os.chdir('any_urlfield')
... | Compile .mo files on `pip install -e` too. | py |
diff --git a/versions/models.py b/versions/models.py
index <HASH>..<HASH> 100644
--- a/versions/models.py
+++ b/versions/models.py
@@ -22,7 +22,7 @@ from django.db.models.fields import FieldDoesNotExist
from django.db.models.fields.related import ForeignKey, ReverseSingleRelatedObjectDescriptor, \
ReverseManyRela... | Correctings a type in ValuesQuerySet and adding import | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -5,11 +5,11 @@ import re
setup(
name="django-pretty-times",
- version='0.0.6',
+ version='0.0.7',
author="imtapps",
author_email="imtapps@apps-system.com",
description="pretty_times provides django... | updated readme and bumped version to <I> | py |
diff --git a/pyrtl/passes.py b/pyrtl/passes.py
index <HASH>..<HASH> 100644
--- a/pyrtl/passes.py
+++ b/pyrtl/passes.py
@@ -273,7 +273,6 @@ def _replace_subexps(block, net_table):
block.logic.difference_update(unnecessary_nets)
replace_wires(wire_map, block)
- block.sanity_check()
def _has_normal_des... | Removed unnecessary sanity checks from common subexp elimination. | py |
diff --git a/salt/modules/win_useradd.py b/salt/modules/win_useradd.py
index <HASH>..<HASH> 100644
--- a/salt/modules/win_useradd.py
+++ b/salt/modules/win_useradd.py
@@ -8,6 +8,9 @@ NOTE: This currently only works with local user accounts, not domain accounts
# Import salt libs
import salt.utils
from salt._compat i... | oh. this may be sticker than I think. It doesn't seem to be a problem directly in the function. some how it just isn't getting all the users from windows. | py |
diff --git a/ryu/lib/packet/bpdu.py b/ryu/lib/packet/bpdu.py
index <HASH>..<HASH> 100644
--- a/ryu/lib/packet/bpdu.py
+++ b/ryu/lib/packet/bpdu.py
@@ -134,7 +134,7 @@ from ryu.lib import addrconv
# BPDU destination
-BRIDGE_GROUP_ADDRESS = '\x01\x80\xc2\x00\x00\x00'
+BRIDGE_GROUP_ADDRESS = '01:80:c2:00:00:00'
... | packet lib: bpdu: use text address | py |
diff --git a/wikitables/models.py b/wikitables/models.py
index <HASH>..<HASH> 100644
--- a/wikitables/models.py
+++ b/wikitables/models.py
@@ -58,8 +58,8 @@ class WikiTable(object):
def _read_field(self, node):
if isinstance(node, Template):
- print(node)
- print(node.name)
+ ... | add method to read dts templated fields | py |
diff --git a/djangoautoconf/auto_conf_utils.py b/djangoautoconf/auto_conf_utils.py
index <HASH>..<HASH> 100644
--- a/djangoautoconf/auto_conf_utils.py
+++ b/djangoautoconf/auto_conf_utils.py
@@ -63,7 +63,7 @@ def is_at_least_one_sub_filesystem_item_exists(full_path, filename_list):
def get_module_path(mod):
- i... | Fix issue that module may be __init__.py as well as __init__.pyc | py |
diff --git a/discord/app_commands/commands.py b/discord/app_commands/commands.py
index <HASH>..<HASH> 100644
--- a/discord/app_commands/commands.py
+++ b/discord/app_commands/commands.py
@@ -2082,7 +2082,7 @@ def context_menu(
def describe(**parameters: Union[str, locale_str]) -> Callable[[T], T]:
- r"""Describ... | Switch quotes to make docs example render properly | py |
diff --git a/morp/jslcrud/storage/elasticsearchstorage.py b/morp/jslcrud/storage/elasticsearchstorage.py
index <HASH>..<HASH> 100644
--- a/morp/jslcrud/storage/elasticsearchstorage.py
+++ b/morp/jslcrud/storage/elasticsearchstorage.py
@@ -32,7 +32,7 @@ class AggGroup(object):
values = copy.copy(parents... | count field name should be taken from its keyname | py |
diff --git a/redis/client.py b/redis/client.py
index <HASH>..<HASH> 100755
--- a/redis/client.py
+++ b/redis/client.py
@@ -59,7 +59,8 @@ def string_keys_to_dict(key_string, callback):
def dict_merge(*dicts):
merged = {}
- [merged.update(d) for d in dicts]
+ for d in dicts:
+ merged.update(d)
r... | Avoid needlessly making temporary lists to merge dict(s) together | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -16,7 +16,6 @@ def read_readme():
def read_version():
# importing gpustat causes an ImportError :-)
- __PATH__ = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(__PATH__, 'gpustat/__init__.py'... | Remove redundant __PATH__ in setup.py (#<I>) Seems `__PATH__` has a redundant computation. Remove one that in read_version. | py |
diff --git a/cdflib/xarray_to_cdf.py b/cdflib/xarray_to_cdf.py
index <HASH>..<HASH> 100644
--- a/cdflib/xarray_to_cdf.py
+++ b/cdflib/xarray_to_cdf.py
@@ -523,7 +523,7 @@ def xarray_to_cdf(xarray_dataset, file_name, from_unixtime=False, from_datetime=
>>> os.remove('hello.cdf')
>>> cdflib.xarray_to_cd... | Does this 's' really make a difference... | py |
diff --git a/linkedin/linkedin.py b/linkedin/linkedin.py
index <HASH>..<HASH> 100644
--- a/linkedin/linkedin.py
+++ b/linkedin/linkedin.py
@@ -441,6 +441,23 @@ class LinkedInApplication(object):
raise_for_error(response)
return response.json()
+ def get_network_update(self, types, update_key,
+ ... | Added getting a single network update by key, get_network_update | py |
diff --git a/pydoop/utils/serialize.py b/pydoop/utils/serialize.py
index <HASH>..<HASH> 100644
--- a/pydoop/utils/serialize.py
+++ b/pydoop/utils/serialize.py
@@ -193,8 +193,14 @@ def deserialize_text(stream):
l = deserialize_vint(stream)
return unicode(read_buffer(l, stream), 'UTF-8')
-def serialize_old_st... | Fix serialize_old_style_filename | py |
diff --git a/code/pywws/conversions.py b/code/pywws/conversions.py
index <HASH>..<HASH> 100755
--- a/code/pywws/conversions.py
+++ b/code/pywws/conversions.py
@@ -93,7 +93,7 @@ def cadhumidex(temp, humidity):
return None
#Formulas are adapted to not use e^(...) with no appriable change in accuracy (0.02... | Fixed Humidex Offset Apparently Phthon didn't like my liberal use of spaces | py |
diff --git a/pymysql/tests/test_connection.py b/pymysql/tests/test_connection.py
index <HASH>..<HASH> 100644
--- a/pymysql/tests/test_connection.py
+++ b/pymysql/tests/test_connection.py
@@ -66,7 +66,9 @@ class TestConnection(base.PyMySQLTestCase):
time.sleep(2)
with self.assertRaises(pymysql.Operatio... | Allow <I> error when server closes connection. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -236,6 +236,11 @@ class BuildDoc(NoOptsCommand):
print('Building file %s' % base)
publish_cmdline(writer_name='man',
argv=['--strict', source, base... | Use sphinx to build documentation for distribution. | py |
diff --git a/dynamic_dynamodb.py b/dynamic_dynamodb.py
index <HASH>..<HASH> 100755
--- a/dynamic_dynamodb.py
+++ b/dynamic_dynamodb.py
@@ -172,7 +172,7 @@ class DynamicDynamoDB:
# Handle throughput updates
if throughput['update_needed']:
self.logger.info(
- 'Changing provis... | Not updating provisioning on tables that arent ACTIVE | py |
diff --git a/elasticsearch/exceptions.py b/elasticsearch/exceptions.py
index <HASH>..<HASH> 100644
--- a/elasticsearch/exceptions.py
+++ b/elasticsearch/exceptions.py
@@ -45,7 +45,10 @@ class TransportError(ElasticsearchException):
@property
def info(self):
- """ Dict of returned error info from ES, ... | Accurate description of TransportError.info Fixes #<I>, thank you, @fbacchella, for the report! | py |
diff --git a/gpiozero/devices.py b/gpiozero/devices.py
index <HASH>..<HASH> 100644
--- a/gpiozero/devices.py
+++ b/gpiozero/devices.py
@@ -321,7 +321,7 @@ class CompositeDevice(Device):
len(self) - len(self._named)
)
except DeviceClosed:
- return "<gpiozero.... | Actually report the class name for closed CompositeDevices | py |
diff --git a/belpy/statements.py b/belpy/statements.py
index <HASH>..<HASH> 100644
--- a/belpy/statements.py
+++ b/belpy/statements.py
@@ -304,13 +304,13 @@ class RasGef(Statement):
self.gef_activity = gef_activity
self.ras_name = ras_name
- def monomers(self, model):
- gef = get_create_mo... | Updated monomers/assemble of RasGef stmt | py |
diff --git a/malcolm/modules/ADCore/parts/hdfwriterpart.py b/malcolm/modules/ADCore/parts/hdfwriterpart.py
index <HASH>..<HASH> 100644
--- a/malcolm/modules/ADCore/parts/hdfwriterpart.py
+++ b/malcolm/modules/ADCore/parts/hdfwriterpart.py
@@ -167,7 +167,7 @@ class HDFWriterPart(StatefulChildPart):
self.start_f... | Fix arrayCounter use in place of arrayCounterReadback in hdfwriterpart | py |
diff --git a/DisplayPanel.py b/DisplayPanel.py
index <HASH>..<HASH> 100644
--- a/DisplayPanel.py
+++ b/DisplayPanel.py
@@ -892,7 +892,7 @@ class BrowserDisplayPanelContent(BaseDisplayPanelContent):
def __init__(self, document_controller):
super(BrowserDisplayPanelContent, self).__init__(document_controlle... | Use more subtle colors for control bars. svn r<I> | py |
diff --git a/pyontutils/blackfynn_api.py b/pyontutils/blackfynn_api.py
index <HASH>..<HASH> 100644
--- a/pyontutils/blackfynn_api.py
+++ b/pyontutils/blackfynn_api.py
@@ -184,9 +184,9 @@ def mvp():
def process_files(bf, files):
- ns = [nifti1.load(f.as_posix()) for f in files if '.nii' in f.suffixes]
- ms = ... | bfapi clarified naming of file type collections | py |
diff --git a/django_enumfield/enum.py b/django_enumfield/enum.py
index <HASH>..<HASH> 100644
--- a/django_enumfield/enum.py
+++ b/django_enumfield/enum.py
@@ -1,9 +1,8 @@
import logging
from django.utils.encoding import smart_unicode
-from django.utils.translation import gettext as _
+from django.utils.translation im... | use ugettext_lazy | py |
diff --git a/ayrton/execute.py b/ayrton/execute.py
index <HASH>..<HASH> 100644
--- a/ayrton/execute.py
+++ b/ayrton/execute.py
@@ -51,9 +51,12 @@ class CommandFailed (Exception):
def __str__ (self):
return "%s: %d" % (' '.join ([ repr (arg) for arg in self.command.args]), self.command._exit_code)
-class... | [*] CommandNotFound is now a subclass of NameError. | py |
diff --git a/sshtunnel.py b/sshtunnel.py
index <HASH>..<HASH> 100644
--- a/sshtunnel.py
+++ b/sshtunnel.py
@@ -40,9 +40,9 @@ __version__ = '0.3.0'
__author__ = 'pahaz'
-#: Timeout (seconds) for transport socket! ``None`` may cause a block of transport thread
-SSH_TIMEOUT = 0.1 # same as paramiko inner value
-#: T... | sshtunnel: PEP8 | py |
diff --git a/ci/rebuild_updated_recipes.py b/ci/rebuild_updated_recipes.py
index <HASH>..<HASH> 100755
--- a/ci/rebuild_updated_recipes.py
+++ b/ci/rebuild_updated_recipes.py
@@ -28,6 +28,7 @@ from pythonforandroid import logger
from pythonforandroid.graph import get_recipe_order_and_bootstrap
from pythonforandroid.t... | [crystax] Detect removed recipes for rebuild_updated_recipes | py |
diff --git a/workshift/views.py b/workshift/views.py
index <HASH>..<HASH> 100644
--- a/workshift/views.py
+++ b/workshift/views.py
@@ -1309,7 +1309,10 @@ def list_types_view(request):
page_name = "Workshift Types"
types = WorkshiftType.objects.all()
shifts = [
- RegularWorkshift.objects.filter(wor... | Order shifts by day on types view | py |
diff --git a/src/toil/batchSystems/mesos/executor.py b/src/toil/batchSystems/mesos/executor.py
index <HASH>..<HASH> 100644
--- a/src/toil/batchSystems/mesos/executor.py
+++ b/src/toil/batchSystems/mesos/executor.py
@@ -220,6 +220,8 @@ def main():
# fake one to maybe convince the executor driver to work.
... | Make executor report virtual memory stats on startup | py |
diff --git a/dvc/version.py b/dvc/version.py
index <HASH>..<HASH> 100644
--- a/dvc/version.py
+++ b/dvc/version.py
@@ -7,7 +7,7 @@ import os
import subprocess
-_BASE_VERSION = "0.82.9"
+_BASE_VERSION = "0.82.10"
def _generate_version(base_version): | dvc: bump to <I> | py |
diff --git a/dispatch/modules/content/models.py b/dispatch/modules/content/models.py
index <HASH>..<HASH> 100644
--- a/dispatch/modules/content/models.py
+++ b/dispatch/modules/content/models.py
@@ -515,6 +515,7 @@ class Poll(Model):
for answer in answers:
try:
answer_obj = PollAn... | fixed save_answers to actually update the answer name | py |
diff --git a/tests/integ/__init__.py b/tests/integ/__init__.py
index <HASH>..<HASH> 100644
--- a/tests/integ/__init__.py
+++ b/tests/integ/__init__.py
@@ -19,8 +19,8 @@ import boto3
DATA_DIR = os.path.join(os.path.dirname(__file__), "..", "data")
TRAINING_DEFAULT_TIMEOUT_MINUTES = 40
-TUNING_DEFAULT_TIMEOUT_MINUTES... | change: Update timeouts for integ tests from <I> to <I> (#<I>) * Update TUNING_DEFAULT_TIMEOUT_MINUTES from <I> to <I> * Update TRANSFORM_DEFAULT_TIMEOUT_MINUTES from <I> to <I> | py |
diff --git a/cumulusci/cli/tests/test_ui.py b/cumulusci/cli/tests/test_ui.py
index <HASH>..<HASH> 100644
--- a/cumulusci/cli/tests/test_ui.py
+++ b/cumulusci/cli/tests/test_ui.py
@@ -185,3 +185,13 @@ def test_table_stringify_booleans(sample_data):
instance = CliTable(data, bool_cols=["Configured"])
assert CHE... | Add test for text wrapping Missed a test. | py |
diff --git a/xarray/test/test_dataarray.py b/xarray/test/test_dataarray.py
index <HASH>..<HASH> 100644
--- a/xarray/test/test_dataarray.py
+++ b/xarray/test/test_dataarray.py
@@ -1231,7 +1231,7 @@ class TestDataArray(TestCase):
self.assertDataArrayIdentical(array, actual)
actual = array.resample('24... | Test suite fix for compatibility with pandas <I> We need to supply how='mean' to resample because the resample API is changing. | py |
diff --git a/pydantic/fields.py b/pydantic/fields.py
index <HASH>..<HASH> 100644
--- a/pydantic/fields.py
+++ b/pydantic/fields.py
@@ -128,7 +128,7 @@ def Field(
**extra: Any,
) -> Any:
"""
- Used to provide extra information about a field, either for the model schema or complex valiation. Some arguments
... | Fix typo in docstring (#<I>) | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.