diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/tests/test_securitygroup.py b/tests/test_securitygroup.py
index <HASH>..<HASH> 100644
--- a/tests/test_securitygroup.py
+++ b/tests/test_securitygroup.py
@@ -146,3 +146,5 @@ def test_securitygroup_references(mock_properties, mock_details):
sg = SpinnakerSecurityGroup(app='myapp')
ingress = sg.res... | test: Preserve rules during self-reference update | py |
diff --git a/django_airavata/apps/auth/serializers.py b/django_airavata/apps/auth/serializers.py
index <HASH>..<HASH> 100644
--- a/django_airavata/apps/auth/serializers.py
+++ b/django_airavata/apps/auth/serializers.py
@@ -56,6 +56,12 @@ class UserSerializer(serializers.ModelSerializer):
instance.save()
... | AIRAVATA-<I> Create user profile if it doesn't exist | py |
diff --git a/cbexchange/websock.py b/cbexchange/websock.py
index <HASH>..<HASH> 100644
--- a/cbexchange/websock.py
+++ b/cbexchange/websock.py
@@ -19,7 +19,12 @@ class WSClient(object):
"""API Client for Coinbase Exchange WebSocket Feed.
This class starts in a disconnected state so make sure to connect before
-... | Added some more comments to WSClient. | py |
diff --git a/tests/conftest.py b/tests/conftest.py
index <HASH>..<HASH> 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -577,31 +577,6 @@ def cli_bin_dir(tempdir,
# ----- Salt Configuration ------------------------------------------------------------------------------------------>
-@pytest.fixture(scope=... | These fixtures should have not been overridden | py |
diff --git a/spyderlib/plugins/editor.py b/spyderlib/plugins/editor.py
index <HASH>..<HASH> 100644
--- a/spyderlib/plugins/editor.py
+++ b/spyderlib/plugins/editor.py
@@ -2137,15 +2137,15 @@ class Editor(SpyderPluginWidget):
editorstack.run_cell_and_advance()
#------ Zoom in/out/reset
- def zoom(s... | Editor: Small refactoring in its zoom method | py |
diff --git a/treeCl/utils/fileIO.py b/treeCl/utils/fileIO.py
index <HASH>..<HASH> 100644
--- a/treeCl/utils/fileIO.py
+++ b/treeCl/utils/fileIO.py
@@ -6,6 +6,7 @@ import cPickle
import glob
import gzip
import os
+import shutil
import tempfile
from subprocess import Popen, PIPE
@@ -34,14 +35,27 @@ __all__ = [
... | Added context-managed TempDir and directory prefix to TempFile | py |
diff --git a/salt/modules/cmdmod.py b/salt/modules/cmdmod.py
index <HASH>..<HASH> 100644
--- a/salt/modules/cmdmod.py
+++ b/salt/modules/cmdmod.py
@@ -2737,7 +2737,6 @@ def run_bg(cmd,
clean_env=False,
template=None,
umask=None,
- output_loglevel='debug',
log_callback=None,
... | remove output_loglevel from run_bg named kwargs | py |
diff --git a/vingd/client.py b/vingd/client.py
index <HASH>..<HASH> 100644
--- a/vingd/client.py
+++ b/vingd/client.py
@@ -488,11 +488,25 @@ class Vingd:
:raises GeneralException:
:resource: ``fort/accounts/``
- :access: authorized users; only authenticated user's account data can be
... | (pre-)authorized/delegated account balance fetch | py |
diff --git a/bika/lims/content/analysis.py b/bika/lims/content/analysis.py
index <HASH>..<HASH> 100644
--- a/bika/lims/content/analysis.py
+++ b/bika/lims/content/analysis.py
@@ -12,7 +12,7 @@ from bika.lims.content.abstractroutineanalysis import AbstractRoutineAnalysis
from bika.lims.content.abstractroutineanalysis i... | Delegate analysis.workflow_script_publish to events.after_publish | py |
diff --git a/assemblerflow/generator/process.py b/assemblerflow/generator/process.py
index <HASH>..<HASH> 100644
--- a/assemblerflow/generator/process.py
+++ b/assemblerflow/generator/process.py
@@ -1208,8 +1208,7 @@ class AssemblyMapping(Process):
"cpus": 4,
"memory": "{ 5.GB * task.a... | Removed default scratch directive from assembly_mapping process | py |
diff --git a/weather/stations/station.py b/weather/stations/station.py
index <HASH>..<HASH> 100644
--- a/weather/stations/station.py
+++ b/weather/stations/station.py
@@ -1,4 +1,4 @@
-'''Base class for all Weather Station implementations.'''
+"""Base class for all Weather Station implementations."""
import datetime
... | fix once again pressure to float and fix docstrings | py |
diff --git a/andes/models/renewable/regcvsg.py b/andes/models/renewable/regcvsg.py
index <HASH>..<HASH> 100644
--- a/andes/models/renewable/regcvsg.py
+++ b/andes/models/renewable/regcvsg.py
@@ -153,6 +153,9 @@ class REGCVSGModel(Model):
self.ixs = ConstService(v_str='1/xs',
te... | Modified ikP as the Droop. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,9 @@ setup(
author_email='contact@jurismarches.com',
url='https://github.com/jurismarches/chopper',
packages=[
- 'chopper'
+ 'chopper',
+ 'chopper.css',
+ 'chopper.html',
... | Add css and html packages to setup.py | py |
diff --git a/holoviews/plotting/bokeh/chart.py b/holoviews/plotting/bokeh/chart.py
index <HASH>..<HASH> 100644
--- a/holoviews/plotting/bokeh/chart.py
+++ b/holoviews/plotting/bokeh/chart.py
@@ -371,8 +371,8 @@ class SideHistogramPlot(ColorbarPlot, HistogramPlot):
_callback = """
color_mapper.low = cb_data['g... | Updated dynamic SideHistogramPlot color range CustomJS (#<I>) | py |
diff --git a/utool/DynamicStruct.py b/utool/DynamicStruct.py
index <HASH>..<HASH> 100644
--- a/utool/DynamicStruct.py
+++ b/utool/DynamicStruct.py
@@ -10,13 +10,13 @@ class DynStruct(AbstractPrintable):
if isinstance(copy_dict, dict):
self.add_dict(copy_dict)
- def dynget(self, *prop_list):
-... | removed unused dynsetters getters | py |
diff --git a/torchtext/data/__init__.py b/torchtext/data/__init__.py
index <HASH>..<HASH> 100644
--- a/torchtext/data/__init__.py
+++ b/torchtext/data/__init__.py
@@ -14,5 +14,5 @@ __all__ = ["bleu_score",
"sentencepiece_numericalizer", "sentencepiece_tokenizer",
"custom_replace", "simple_space_... | fix typo (#<I>) | py |
diff --git a/mgz/fast/header.py b/mgz/fast/header.py
index <HASH>..<HASH> 100644
--- a/mgz/fast/header.py
+++ b/mgz/fast/header.py
@@ -283,7 +283,9 @@ def parse_de(data, version, save, skip=False):
for _ in range(8):
data.read(4)
color_id = unpack('<i', data)
- data.read(12)
+ data.... | Added resolved team id to fast | py |
diff --git a/perceval/_version.py b/perceval/_version.py
index <HASH>..<HASH> 100644
--- a/perceval/_version.py
+++ b/perceval/_version.py
@@ -1,2 +1,2 @@
# Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440
-__version__ = "0.12.6"
+__version__ = "0.12.7" | Update version number to <I> | py |
diff --git a/pymc/examples/ARM5_4.py b/pymc/examples/ARM5_4.py
index <HASH>..<HASH> 100644
--- a/pymc/examples/ARM5_4.py
+++ b/pymc/examples/ARM5_4.py
@@ -13,11 +13,12 @@ wells = get_data_file('pymc.examples', 'data/wells.dat')
data = pd.read_csv(wells, delimiter=u' ', index_col=u'id',
dtype={u'swi... | Avoid SettingWithCopyWarning in ARM5_4 example These changes fix the following warning from Pandas (<I>-<I>-gcc6ee<I>). pandas/core/generic.py:<I>: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_index,col_indexer] = value instead self[name] =... | py |
diff --git a/oscrypto/_win/public_key.py b/oscrypto/_win/public_key.py
index <HASH>..<HASH> 100644
--- a/oscrypto/_win/public_key.py
+++ b/oscrypto/_win/public_key.py
@@ -84,7 +84,14 @@ class Signature(core.Sequence):
A byte string compatible with BCryptVerifySignature()
"""
- return int_... | Fixed a bug converting an ASN<I> DSA signature into bcrypt format | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -16,13 +16,22 @@ try:
except:
from distutils.core import setup
-setup( name='BioCMA',
- version='dev',
- description=__doc__,
- author='Eric Talevich',
- author_email='eric.talevich@gmail.c... | setup.py: added PyPI categories, set version to <I> | py |
diff --git a/doac/managers.py b/doac/managers.py
index <HASH>..<HASH> 100644
--- a/doac/managers.py
+++ b/doac/managers.py
@@ -25,3 +25,53 @@ class AccessTokenQuerySet(QuerySet):
def is_active(self):
return self.filter(active=True)
+
+
+class AuthorizationCodeManager(CustomManager):
+
+ def g... | Finished added the skeletons for the managers | py |
diff --git a/mbuild/recipes/polymer.py b/mbuild/recipes/polymer.py
index <HASH>..<HASH> 100755
--- a/mbuild/recipes/polymer.py
+++ b/mbuild/recipes/polymer.py
@@ -26,7 +26,7 @@ class Polymer(Compound):
The names of the two ports to use to connect copies of proto.
"""
- def __init__(self, monomers, se... | n is now a required argument for Polymer (#<I>) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -27,7 +27,6 @@ setup(
'keymaker >= 0.1.7',
'pyyaml >= 3.11',
'python-dateutil >= 2.1',
- 'coverage >= 4.1'
],
extras_require={
':python_version == "2.7"': [
@@ -36,6 +35,10 @@ setu... | Move test deps to tests_require | py |
diff --git a/niworkflows/utils/bids.py b/niworkflows/utils/bids.py
index <HASH>..<HASH> 100644
--- a/niworkflows/utils/bids.py
+++ b/niworkflows/utils/bids.py
@@ -150,7 +150,7 @@ def collect_participants(
def collect_data(
bids_dir,
participant_label,
- session_id=Query.ANY,
+ session_id=Query.OPTIONAL... | ENH: Use less strict new Query value | py |
diff --git a/channelpack/pack.py b/channelpack/pack.py
index <HASH>..<HASH> 100644
--- a/channelpack/pack.py
+++ b/channelpack/pack.py
@@ -471,6 +471,11 @@ class ChannelPack(object):
In iteration of the generator if any of the names used for
the namedtuple is invalid python identifiers.
+ ... | Improve docstring of records method in ChannelPack | py |
diff --git a/cobra/core/Model.py b/cobra/core/Model.py
index <HASH>..<HASH> 100644
--- a/cobra/core/Model.py
+++ b/cobra/core/Model.py
@@ -1,6 +1,6 @@
from warnings import warn
from copy import deepcopy, copy
-from ..external.six import iteritems
+from ..external.six import iteritems, string_types
from ..solvers imp... | py3 string has __iter__ so don't ducktype with it | py |
diff --git a/icekit/management/commands/publishing_migrate_from_publisher.py b/icekit/management/commands/publishing_migrate_from_publisher.py
index <HASH>..<HASH> 100644
--- a/icekit/management/commands/publishing_migrate_from_publisher.py
+++ b/icekit/management/commands/publishing_migrate_from_publisher.py
@@ -21,10... | Make publisher => publishing migration command non-destructive, re #5 #<I> Don't clobber the `publisher_linked` field value when migrating a DB from the legacy (e.g. SFMOMA) publishing mechanism to the ICEKit one, on the assumption that the legacy fields will be removed from the project's models soon after the migrati... | py |
diff --git a/genomepy/provider.py b/genomepy/provider.py
index <HASH>..<HASH> 100644
--- a/genomepy/provider.py
+++ b/genomepy/provider.py
@@ -1001,6 +1001,7 @@ class NCBIProvider(ProviderBase):
for genome in self.genomes:
if name in [genome["asm_name"], genome["asm_name"].replace(" ", "_")]:
... | NCBI annotations are now downloaded over https instead of ftp, similar to genomes | py |
diff --git a/tests/helper.py b/tests/helper.py
index <HASH>..<HASH> 100644
--- a/tests/helper.py
+++ b/tests/helper.py
@@ -106,8 +106,5 @@ def _get_api_response(message, fields):
def _parse_api_response(api_response):
assert api_response.status_code == 200
-
messages = api_response.json()['messages']
- ... | removing assert for only on message retrieved | py |
diff --git a/scarlet/__init__.py b/scarlet/__init__.py
index <HASH>..<HASH> 100644
--- a/scarlet/__init__.py
+++ b/scarlet/__init__.py
@@ -1,2 +1,2 @@
-VERSION = ('1', '2', '3')
+VERSION = ('1', '2', '4')
__version__ = '.'.join(VERSION) | bumping version string to not confuse people | py |
diff --git a/gimmemotifs/motif.py b/gimmemotifs/motif.py
index <HASH>..<HASH> 100644
--- a/gimmemotifs/motif.py
+++ b/gimmemotifs/motif.py
@@ -943,7 +943,7 @@ def _read_motifs_pwm(handle):
return motifs
def _read_motifs_jaspar(handle):
- p = re.compile("([ACGT])\s*\[?(.+)\]?")
+ p = re.compile("([ACGT])\s... | fix for jaspar fmt | py |
diff --git a/murmurhash/about.py b/murmurhash/about.py
index <HASH>..<HASH> 100644
--- a/murmurhash/about.py
+++ b/murmurhash/about.py
@@ -4,7 +4,7 @@
# https://github.com/pypa/warehouse/blob/master/warehouse/__about__.py
__name__ = 'murmurhash'
-__version__ = '0.27.0'
+__version__ = '0.26.1'
__summary__ = 'Cython... | * Make the release <I>, not <I> | py |
diff --git a/holoviews/core/options.py b/holoviews/core/options.py
index <HASH>..<HASH> 100644
--- a/holoviews/core/options.py
+++ b/holoviews/core/options.py
@@ -34,6 +34,7 @@ Store:
"""
import pickle
import traceback
+import difflib
from contextlib import contextmanager
from collections import OrderedDict, defau... | Added Keywords.fuzzy_match method | py |
diff --git a/buildbot/test/test_vc.py b/buildbot/test/test_vc.py
index <HASH>..<HASH> 100644
--- a/buildbot/test/test_vc.py
+++ b/buildbot/test/test_vc.py
@@ -2565,6 +2565,10 @@ class GitHelper(BaseHelper):
yield w; w.getResult()
w = self.dovc(tmp, ["add", "."])
yield w; w.getResult()
+ ... | #<I>:make-user-info.patch Configure username and email in case the user running trial does not have git config in their home directory. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -43,7 +43,7 @@ if not preparing_PyPI_package:
requirements = [
'numpy',
- 'protobuf >= 3.2.0',
+ 'protobuf >= 3.6.1',
'six',
] | fix #<I> (#<I>) | py |
diff --git a/pygameui/__init__.py b/pygameui/__init__.py
index <HASH>..<HASH> 100644
--- a/pygameui/__init__.py
+++ b/pygameui/__init__.py
@@ -33,7 +33,7 @@ AUTHOR = 'Brian Hammond <brian@fictorial.com>'
COPYRIGHT = 'Copyright (C) 2012 Fictorial LLC.'
LICENSE = 'MIT'
-__version__ = '0.1.1'
+__version__ = '0.2.0'
... | Bump to version <I> | py |
diff --git a/shapes.py b/shapes.py
index <HASH>..<HASH> 100644
--- a/shapes.py
+++ b/shapes.py
@@ -174,16 +174,17 @@ class Box(Image):
size[1] + int(amount[1]))
def image(self):
- image = [ [False for x in range(self._size[0])]
- for y in range(self._size[1]) ]
- ... | Rewrote Box algorithum | py |
diff --git a/pyani/dependencies.py b/pyani/dependencies.py
index <HASH>..<HASH> 100644
--- a/pyani/dependencies.py
+++ b/pyani/dependencies.py
@@ -114,4 +114,7 @@ def get_tool_versions() -> Generator:
("nucmer", get_nucmer_version),
("blastall", get_blastall_version),
]:
- yield (name, fun... | Added message about failure to retrieve a third-party tool's version | py |
diff --git a/salt/scripts.py b/salt/scripts.py
index <HASH>..<HASH> 100644
--- a/salt/scripts.py
+++ b/salt/scripts.py
@@ -112,6 +112,8 @@ def minion_process():
def handle_hup(manager, sig, frame):
manager.minion.reload()
+ lock = threading.Lock()
+
def suicide_when_without_parent(parent_pid):
... | Handle thread shutdown on system exit Handle changes made for <URL> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -318,6 +318,7 @@ skia_src = [
os.path.join(skia_dir, "src", "pathops", "SkOpEdgeBuilder.cpp"),
os.path.join(skia_dir, "src", "pathops", "SkOpSegment.cpp"),
os.path.join(skia_dir, "src", "pathops", "SkOpSpan.cpp"... | setup.py: compile new SkPathOpsAsWinding.cpp source file | py |
diff --git a/tests/settings.py b/tests/settings.py
index <HASH>..<HASH> 100644
--- a/tests/settings.py
+++ b/tests/settings.py
@@ -1,4 +1,5 @@
import os
+from wagtail import VERSION as WAGTAIL_VERSION
INSTALLED_APPS = [
'wagtailmodelchooser',
@@ -51,10 +52,11 @@ MIDDLEWARE = [
'django.contrib.auth.middlew... | Fix middleware in test settings for Wagtail>=<I> | py |
diff --git a/salt/modules/zypper.py b/salt/modules/zypper.py
index <HASH>..<HASH> 100644
--- a/salt/modules/zypper.py
+++ b/salt/modules/zypper.py
@@ -477,8 +477,10 @@ def mod_repo(repo, **kwargs):
salt '*' pkg.mod_repo alias url= mirrorlist=http://host.com/
'''
# Filter out '__pub' arguments, as wel... | Don't use dict comprehensions in Python <I>, Refs #<I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -26,7 +26,7 @@ setup(name="magic-wormhole",
]
},
install_requires=[
- "spake2==0.7", "pynacl",
+ "spake2==0.8", "pynacl",
"six",
"attrs >= 16.3.0", # 16.3.0 adds... | update to spake2-<I>, which loads much faster | py |
diff --git a/alpaca_trade_api/rest.py b/alpaca_trade_api/rest.py
index <HASH>..<HASH> 100644
--- a/alpaca_trade_api/rest.py
+++ b/alpaca_trade_api/rest.py
@@ -294,11 +294,13 @@ class REST(object):
def close_position(self, symbol):
'''Liquidates the position for the given symbol at market price'''
- ... | Handle response from position closing endpoints | py |
diff --git a/hearthstone/utils.py b/hearthstone/utils.py
index <HASH>..<HASH> 100644
--- a/hearthstone/utils.py
+++ b/hearthstone/utils.py
@@ -180,3 +180,12 @@ UPGRADABLE_CARDS_MAP = {
def get_original_card_id(card_id):
return UPGRADABLE_CARDS_MAP.get(card_id, card_id)
+
+
+SCHEME_CARDS = [
+ "DAL_007", # Rafaam'... | Store list of "evil scheme" card ids | py |
diff --git a/wp_article.py b/wp_article.py
index <HASH>..<HASH> 100755
--- a/wp_article.py
+++ b/wp_article.py
@@ -29,11 +29,15 @@ from string import Template
DEFAULT = "json"
ENDPOINT = "http://en.wikipedia.org/w/api.php"
-FORMATS = ['json', 'php', 'wddx', 'xml', 'yaml', 'jsonfm', 'txt',
- 'dbg', 'dump']... | removed deprecated formats. added recommended formatversion=2. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -17,7 +17,6 @@ setup(
author = 'Hannes Bretschneider',
author_email = 'habretschneider@gmail.com',
url = 'https://github.com/hannes-brt/cudnn-python-wrappers',
- download_url = 'https://github.com/peterldowns... | Remove incorrect download url from README | py |
diff --git a/src/you_get/extractors/youku.py b/src/you_get/extractors/youku.py
index <HASH>..<HASH> 100644
--- a/src/you_get/extractors/youku.py
+++ b/src/you_get/extractors/youku.py
@@ -179,7 +179,7 @@ class Youku(VideoExtractor):
if 'alias-of' in stream_types[stream_id]:
stream_i... | [youku] add comments, close #<I> | py |
diff --git a/neural/decon.py b/neural/decon.py
index <HASH>..<HASH> 100644
--- a/neural/decon.py
+++ b/neural/decon.py
@@ -196,7 +196,7 @@ class Decon:
cmd += ['-stim_base',stim_num]
stim_num += 1
- strip_number = r'[-+]?(\d+)?\*?(.*)'
+ strip_number = r'[-+]?(\d+)?... | improved the GLT verification for decon | py |
diff --git a/examples/sanic_asyncpg_example.py b/examples/sanic_asyncpg_example.py
index <HASH>..<HASH> 100644
--- a/examples/sanic_asyncpg_example.py
+++ b/examples/sanic_asyncpg_example.py
@@ -41,12 +41,14 @@ async def create_db(app, loop):
for i in range(0, 100):
await conn.execute(f"""INSERT INTO sani... | close connection in asyncpg example | py |
diff --git a/hangups/auth.py b/hangups/auth.py
index <HASH>..<HASH> 100644
--- a/hangups/auth.py
+++ b/hangups/auth.py
@@ -93,8 +93,7 @@ class CredentialsPrompt:
This implementation prompts the user in a terminal using standard in/out.
"""
- @staticmethod
- def get_email():
+ def get_email(self): ... | Remove staticmethod decorator from CredentailsPrompt methods | py |
diff --git a/spyder/widgets/reporterror.py b/spyder/widgets/reporterror.py
index <HASH>..<HASH> 100644
--- a/spyder/widgets/reporterror.py
+++ b/spyder/widgets/reporterror.py
@@ -19,7 +19,7 @@ from qtpy.QtWidgets import (QApplication, QCheckBox, QDialog, QFormLayout,
# Local imports
from spyder import __project_url... | Error dialog: Avoid sending issues to my fork when running in DEV mode | py |
diff --git a/pirate-get.py b/pirate-get.py
index <HASH>..<HASH> 100755
--- a/pirate-get.py
+++ b/pirate-get.py
@@ -80,7 +80,13 @@ def main():
config.set('SaveToFile', 'directory', '~/Dropbox/pirate-get/')
# load user options, to override default ones
- config.read([os.path.expanduser('~/.config/pirate-ge... | Respect XDG_CONFIG_HOME if it is set | py |
diff --git a/tofu/geom/_core_optics.py b/tofu/geom/_core_optics.py
index <HASH>..<HASH> 100644
--- a/tofu/geom/_core_optics.py
+++ b/tofu/geom/_core_optics.py
@@ -1345,6 +1345,7 @@ class CrystalBragg(utils.ToFuObject):
raise Exception(msg)
# Redefining summit according to nout at each poin... | [#<I>] Updated calc_johannerror with non parallelism option | py |
diff --git a/spyderlib/widgets/editor.py b/spyderlib/widgets/editor.py
index <HASH>..<HASH> 100644
--- a/spyderlib/widgets/editor.py
+++ b/spyderlib/widgets/editor.py
@@ -860,8 +860,10 @@ class EditorStack(QWidget):
self.tabs.tabBar().setVisible(state)
def remove_from_data(self, index):
+ ... | Editor/bug introduced with <I>: tabs/left menu were not refreshed after closing file | py |
diff --git a/salt/modules/win_servermanager.py b/salt/modules/win_servermanager.py
index <HASH>..<HASH> 100644
--- a/salt/modules/win_servermanager.py
+++ b/salt/modules/win_servermanager.py
@@ -93,7 +93,7 @@ def install(feature, recurse=False):
sub = ''
if recurse:
sub = '-IncludeAllSubFeature'
- ... | fixing win_servermanager install/remove function | py |
diff --git a/scout/server/blueprints/variant/controllers.py b/scout/server/blueprints/variant/controllers.py
index <HASH>..<HASH> 100644
--- a/scout/server/blueprints/variant/controllers.py
+++ b/scout/server/blueprints/variant/controllers.py
@@ -415,6 +415,8 @@ def variant_rank_scores(store, case_obj, variant_obj):
... | Fix for when rank model is None, but why is it none | py |
diff --git a/xkbgroup/core.py b/xkbgroup/core.py
index <HASH>..<HASH> 100644
--- a/xkbgroup/core.py
+++ b/xkbgroup/core.py
@@ -1,9 +1,10 @@
-from .xkb import *
+import re
+import sys
+
from ctypes import *
from collections import namedtuple
-import re
-import sys
+from .xkb import *
OPEN_DISPLAY_ERRORS = { | core: reorder imports (pylint suggestion) | py |
diff --git a/pages/search_indexes.py b/pages/search_indexes.py
index <HASH>..<HASH> 100644
--- a/pages/search_indexes.py
+++ b/pages/search_indexes.py
@@ -1,6 +1,6 @@
"""Django haystack `SearchIndex` module."""
from pages.models import Page
-from django.conf import settings
+from pages import settings
from haystac... | Settings bug fixed. The problem was PageCMS loaded application settings instead of its own settings that causes AttributeError when django tries initialize search indexes. The fix is changing import block in search_indexes.py file. | py |
diff --git a/djapiauth/models.py b/djapiauth/models.py
index <HASH>..<HASH> 100644
--- a/djapiauth/models.py
+++ b/djapiauth/models.py
@@ -16,12 +16,20 @@ class APIEntryPoint(models.Model):
return unicode(self.name)
+def gen_apikey(): # django 1.7 can not serilize lambda funciton
+ return uuid.uuid4().... | remove lambda in db model to avoid migrate error | py |
diff --git a/openquake/commonlib/parallel.py b/openquake/commonlib/parallel.py
index <HASH>..<HASH> 100644
--- a/openquake/commonlib/parallel.py
+++ b/openquake/commonlib/parallel.py
@@ -79,12 +79,12 @@ def check_mem_usage(soft_percent=90, hard_percent=100):
:param int mem_percent: the memory limit as a percentage... | Improved check_mem_usage | py |
diff --git a/trimesh/scene/transforms.py b/trimesh/scene/transforms.py
index <HASH>..<HASH> 100644
--- a/trimesh/scene/transforms.py
+++ b/trimesh/scene/transforms.py
@@ -164,6 +164,9 @@ class TransformForest(object):
lookup[node] = len(result)
result.append({'name': node})
+ # does t... | don't generate camera if it doesn't exist | py |
diff --git a/currency_converter/currency_converter.py b/currency_converter/currency_converter.py
index <HASH>..<HASH> 100644
--- a/currency_converter/currency_converter.py
+++ b/currency_converter/currency_converter.py
@@ -305,9 +305,9 @@ class CurrencyConverter(object):
Traceback (most recent call last):
... | Test new_currency validity in convert() method | py |
diff --git a/celeryconfig.py b/celeryconfig.py
index <HASH>..<HASH> 100644
--- a/celeryconfig.py
+++ b/celeryconfig.py
@@ -65,8 +65,6 @@ CELERY_RESULT_BACKEND = "amqp"
# performance issues with respect to cluster utilization.)
CELERY_ACKS_LATE = True
CELERYD_PREFETCH_MULTIPLIER = 1
-# This improves peformances since... | CELERY_DISABLE_RATE_LIMITS will be pushed later Former-commit-id: d<I>dcf<I>a<I>b<I>e<I>c<I>e3d7d<I>bf<I>b9cb5 | py |
diff --git a/tartiflette_aiohttp/__init__.py b/tartiflette_aiohttp/__init__.py
index <HASH>..<HASH> 100644
--- a/tartiflette_aiohttp/__init__.py
+++ b/tartiflette_aiohttp/__init__.py
@@ -34,18 +34,14 @@ def validate_and_compute_graphiql_option(
def _set_subscription_ws_handler(
app: "Application",
subscripti... | fix(websockets): web sockets handler should be available only on GET method | py |
diff --git a/obliquity/distributions.py b/obliquity/distributions.py
index <HASH>..<HASH> 100644
--- a/obliquity/distributions.py
+++ b/obliquity/distributions.py
@@ -25,7 +25,9 @@ class Cosi_Distribution(dists.Distribution):
N_veq_samples=1e4,alpha=0.23,l0=20,sigl=20,
veq_bandwidth=... | added .h5 file option for R_dist in Cosi_Distribution | py |
diff --git a/pyocd/coresight/cortex_m.py b/pyocd/coresight/cortex_m.py
index <HASH>..<HASH> 100644
--- a/pyocd/coresight/cortex_m.py
+++ b/pyocd/coresight/cortex_m.py
@@ -1346,8 +1346,6 @@ class CortexM(Target, CoreSightCoreComponent):
reason = Target.HaltReason.VECTOR_CATCH
elif dfsr & CortexM.DF... | Fixed invalid reference to DFSR_PMU constant from CortexM. | py |
diff --git a/tests/test.py b/tests/test.py
index <HASH>..<HASH> 100644
--- a/tests/test.py
+++ b/tests/test.py
@@ -190,6 +190,13 @@ class TestParse(unittest.TestCase):
with self.assertRaises(ParseError):
Calendar(cal11)
+ def test_repr(self):
+
+ e = Event(begin=0, end=10)
+ c =... | [new] Test for parse repr | py |
diff --git a/puput/__init__.py b/puput/__init__.py
index <HASH>..<HASH> 100644
--- a/puput/__init__.py
+++ b/puput/__init__.py
@@ -1,4 +1,5 @@
PUPUT_APPS = (
+ # Wagtail apps
'wagtail.wagtailcore',
'wagtail.wagtailadmin',
'wagtail.wagtaildocs',
@@ -11,10 +12,12 @@ PUPUT_APPS = (
'wagtail.wagtail... | Added detailed info for PUPUT_APPS | py |
diff --git a/texttable.py b/texttable.py
index <HASH>..<HASH> 100755
--- a/texttable.py
+++ b/texttable.py
@@ -342,8 +342,9 @@ class TextTable(object):
Raises:
TableError: When an invalid row entry is Append()'d
"""
+ flat = lambda x: x if isinstance(x, str) else ''.join([flat(y) for y in x])
i... | Support arbitrarily deep reursive flattening of textable filter. | py |
diff --git a/centinel/vpn/cli.py b/centinel/vpn/cli.py
index <HASH>..<HASH> 100755
--- a/centinel/vpn/cli.py
+++ b/centinel/vpn/cli.py
@@ -251,6 +251,14 @@ def scan_vpns(directory, auth_file, crt_file, tls_auth, key_direction,
# and use it to geolocate and fetch experiments before connecting
# to VPN.... | VPN hostname is resolved before moving into VPN | py |
diff --git a/salt/states/test.py b/salt/states/test.py
index <HASH>..<HASH> 100644
--- a/salt/states/test.py
+++ b/salt/states/test.py
@@ -67,7 +67,7 @@ def nop(name, **kwargs):
return succeed_without_changes(name)
-def succeed_without_changes(name):
+def succeed_without_changes(name, **kwargs):
'''
... | Ensure the comment, changes, and result are valid arguments for various test state functions as they are valid arguments for mod_watch. | py |
diff --git a/irc3/plugins/command.py b/irc3/plugins/command.py
index <HASH>..<HASH> 100644
--- a/irc3/plugins/command.py
+++ b/irc3/plugins/command.py
@@ -267,7 +267,9 @@ class Commands(dict):
def split_command(self, data, use_shlex=None):
if data:
- if (use_shlex or self.use_shlex) is True:
... | Fixed use_shlex in Commands.split_command | py |
diff --git a/holoviews/core/layer.py b/holoviews/core/layer.py
index <HASH>..<HASH> 100644
--- a/holoviews/core/layer.py
+++ b/holoviews/core/layer.py
@@ -548,6 +548,12 @@ class Grid(NdMapping):
if ylim[0] == ylim[1]: ylim = (ylim[0], ylim[0]+1.)
return ylim
+ @property
+ def lbrt(self):
+ ... | Added lbrt to Grid | py |
diff --git a/distutils/tests/test_ccompiler.py b/distutils/tests/test_ccompiler.py
index <HASH>..<HASH> 100644
--- a/distutils/tests/test_ccompiler.py
+++ b/distutils/tests/test_ccompiler.py
@@ -1,5 +1,6 @@
import os
import sys
+import platform
from distutils import ccompiler
@@ -8,7 +9,7 @@ def _make_strs(paths... | Windows is sensitive even on Python <I> | py |
diff --git a/tests/test_arm_postprocess.py b/tests/test_arm_postprocess.py
index <HASH>..<HASH> 100644
--- a/tests/test_arm_postprocess.py
+++ b/tests/test_arm_postprocess.py
@@ -278,6 +278,21 @@ def test_arm_postprocess_call():
opt_level=i)
nose.tools.assert_equals(irsb.jumpkind, 'I... | Add a test for some nasty junk from ARMC | py |
diff --git a/atlassian/jira.py b/atlassian/jira.py
index <HASH>..<HASH> 100644
--- a/atlassian/jira.py
+++ b/atlassian/jira.py
@@ -2873,7 +2873,7 @@ api-group-workflows/#api-rest-api-2-workflow-search-get)
Provide plugin license info
:return a json specific License query
"""
- url = f"... | Jira: add method get pugin info | py |
diff --git a/tests/test__vorbis.py b/tests/test__vorbis.py
index <HASH>..<HASH> 100755
--- a/tests/test__vorbis.py
+++ b/tests/test__vorbis.py
@@ -48,18 +48,18 @@ class TVComment(TestCase):
self.failUnlessRaises(ValueError, self.c.write)
def test_validate_broken_value(self):
- self.c.append((b"va... | Fixed vorbis tests to use correct, unicode keys. | py |
diff --git a/symfit/contrib/interactive_fit/interactive_fit.py b/symfit/contrib/interactive_fit/interactive_fit.py
index <HASH>..<HASH> 100644
--- a/symfit/contrib/interactive_fit/interactive_fit.py
+++ b/symfit/contrib/interactive_fit/interactive_fit.py
@@ -1,7 +1,8 @@
# -*- coding: utf-8 -*-
import numpy as np
-f... | Made symfit imports relative. Tried to use key2str and keywordsonly, but realised I can't/it doesn't make sense to. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -37,7 +37,11 @@ setup(
author_email='jacob.rief@gmail.com',
url='https://github.com/jrief/djangocms-cascade',
packages=find_packages(exclude=['examples', 'docs', 'tests']),
- install_requires=['jsonfield'],
+... | handle some dependencies thorugh setup.py | py |
diff --git a/dataviews/ndmapping.py b/dataviews/ndmapping.py
index <HASH>..<HASH> 100644
--- a/dataviews/ndmapping.py
+++ b/dataviews/ndmapping.py
@@ -374,7 +374,7 @@ class NdIndexableMapping(param.Parameterized, Dimensional):
Returns slice of data element if the item is deep indexable. Warns if
attem... | Fix to NdMapping deep indexable check | py |
diff --git a/src/foremast/app/__main__.py b/src/foremast/app/__main__.py
index <HASH>..<HASH> 100644
--- a/src/foremast/app/__main__.py
+++ b/src/foremast/app/__main__.py
@@ -23,7 +23,7 @@ import pathlib
import gogoutils
-from ..args import add_app, add_debug, add_properties
+from ..args import add_app, add_debug,... | refactor: Use provider argument when creating app | py |
diff --git a/insights/__init__.py b/insights/__init__.py
index <HASH>..<HASH> 100644
--- a/insights/__init__.py
+++ b/insights/__init__.py
@@ -8,7 +8,6 @@ from .core import AttributeDict # noqa: F401
from .core import Syslog # noqa: F401
from .core.archives import COMPRESSION_TYPES, extract # noqa: F401
from .cor... | Only import process_cluster if it's used. | py |
diff --git a/django_u2f/views.py b/django_u2f/views.py
index <HASH>..<HASH> 100644
--- a/django_u2f/views.py
+++ b/django_u2f/views.py
@@ -53,7 +53,7 @@ class U2FLoginView(LoginView):
redirect_to = self.request.POST.get(auth.REDIRECT_FIELD_NAME,
self.request... | is_safe_url host argument was changed to allowed_hosts | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
setup(
name='gridtk',
- version='0.2',
+ version='0.2.1',
description='SGE Grid Submission and Monitoring Tools for Idiap',
url='https://github... | Increases patch version to <I> | py |
diff --git a/djangocms_text_ckeditor/__init__.py b/djangocms_text_ckeditor/__init__.py
index <HASH>..<HASH> 100644
--- a/djangocms_text_ckeditor/__init__.py
+++ b/djangocms_text_ckeditor/__init__.py
@@ -1,3 +1,3 @@
# -*- coding: utf-8 -*-
-__version__ = "3.5.1rc1"
+__version__ = "3.5.1rc2"
default_app_config = 'djang... | Bumped version to <I>rc2 | py |
diff --git a/telemetry/telemetry/core/chrome/android_browser_backend.py b/telemetry/telemetry/core/chrome/android_browser_backend.py
index <HASH>..<HASH> 100644
--- a/telemetry/telemetry/core/chrome/android_browser_backend.py
+++ b/telemetry/telemetry/core/chrome/android_browser_backend.py
@@ -259,6 +259,8 @@ class And... | [Telemetry] Fix stack trace printing on Android. Symbols may now be in lib/ instead of lib.target/. I'm not sure whether this is always the case or not. BUG=None TEST=None NOTRY=True Review URL: <URL> | py |
diff --git a/python/lowdim.py b/python/lowdim.py
index <HASH>..<HASH> 100644
--- a/python/lowdim.py
+++ b/python/lowdim.py
@@ -162,8 +162,8 @@ if outputMode == 'traj':
if outputMode == 'maps':
for ik in range(0,k):
logging.info("(lowdim) writing scores for pc " + str(ik))
- #out = X.map(lambda x : float16(inner(... | Testing map on X to avoid stall out | py |
diff --git a/mythril/laser/ethereum/instructions.py b/mythril/laser/ethereum/instructions.py
index <HASH>..<HASH> 100644
--- a/mythril/laser/ethereum/instructions.py
+++ b/mythril/laser/ethereum/instructions.py
@@ -1549,7 +1549,6 @@ class Instruction:
# manually set PC to destination
new_state.mstat... | remove depth for jump (#<I>) | py |
diff --git a/base/tests.py b/base/tests.py
index <HASH>..<HASH> 100644
--- a/base/tests.py
+++ b/base/tests.py
@@ -113,6 +113,13 @@ class TestHomepage(TestCase):
start_time=now, end_time=now + one_day)
self.ev.save()
+ self.announce = Announcement(
+ manager=self.manager,
+ incumbent=self.profile,
+ bo... | Added a test for unpinning announcements from the homepage | py |
diff --git a/pyhacores/filter/fir.py b/pyhacores/filter/fir.py
index <HASH>..<HASH> 100644
--- a/pyhacores/filter/fir.py
+++ b/pyhacores/filter/fir.py
@@ -6,7 +6,7 @@ import numpy as np
class FIR(Hardware):
def __init__(self, taps):
self.DELAY = 2
- self.TAPS = np.array(taps).tolist()
+ sel... | fir: numpy arrays are now synthesisable, no need to convert to list | py |
diff --git a/sqlparse/__init__.py b/sqlparse/__init__.py
index <HASH>..<HASH> 100644
--- a/sqlparse/__init__.py
+++ b/sqlparse/__init__.py
@@ -26,13 +26,11 @@ def parse(sql):
Returns a tuple of :class:`~sqlparse.sql.Statement` instances.
"""
- stack = engine.FilterStack()
- stack.full_analyze()
- r... | Re-use of parsestream() for parse() (they are almost equal) | py |
diff --git a/chainlet/chainlink.py b/chainlet/chainlink.py
index <HASH>..<HASH> 100644
--- a/chainlet/chainlink.py
+++ b/chainlet/chainlink.py
@@ -48,10 +48,10 @@ class ChainLinker(object):
_elements = []
for element in elements:
element = self.convert(element)
- if isinstance(... | ChainLinker uses bool(link) to filter noops | py |
diff --git a/lib/webinterface_tests.py b/lib/webinterface_tests.py
index <HASH>..<HASH> 100644
--- a/lib/webinterface_tests.py
+++ b/lib/webinterface_tests.py
@@ -11,7 +11,7 @@
"""Unit tests for the webinterface module."""
-__version__ = "$Id$"
+__revision__ = "$Id$"
import unittest, sys, cgi | Removed __version__ in profit of __revision__. | py |
diff --git a/can/interfaces/kvaser/canlib.py b/can/interfaces/kvaser/canlib.py
index <HASH>..<HASH> 100644
--- a/can/interfaces/kvaser/canlib.py
+++ b/can/interfaces/kvaser/canlib.py
@@ -53,7 +53,8 @@ def __get_canlib_function(func_name, argtypes=[], restype=None, errcheck=None):
#log.debug('Error check functi... | Fix Kvaser issue when errcheck was not given. | py |
diff --git a/woven/ubuntu.py b/woven/ubuntu.py
index <HASH>..<HASH> 100644
--- a/woven/ubuntu.py
+++ b/woven/ubuntu.py
@@ -185,6 +185,7 @@ def ubuntu_version():
"""
Get the version # of Ubuntu as a float
"""
+ if not exists('/etc/issue'): return 'UNKNOWN',0
version = run('cat /etc/issue').split('... | if not /etc/issue then handle unknown distribution | py |
diff --git a/ospd/misc.py b/ospd/misc.py
index <HASH>..<HASH> 100644
--- a/ospd/misc.py
+++ b/ospd/misc.py
@@ -102,17 +102,19 @@ def create_pid(pidfile: str) -> bool:
Otherwise gives an error. """
pid = str(os.getpid())
+ pidpath = Path(pidfile)
- if Path(pidfile).is_file():
+ if pidpath.is_file(... | Update create_pid function Use pathlib consistently and improve creating of error log message. | py |
diff --git a/teslajsonpy/__version__.py b/teslajsonpy/__version__.py
index <HASH>..<HASH> 100644
--- a/teslajsonpy/__version__.py
+++ b/teslajsonpy/__version__.py
@@ -6,4 +6,4 @@ For more details about this api, please refer to the documentation at
https://github.com/zabuldon/teslajsonpy
"""
-__version__ = "0.2.2"
... | <I> Automatically generated by python-semantic-release | py |
diff --git a/omrdatasettools/__init__.py b/omrdatasettools/__init__.py
index <HASH>..<HASH> 100644
--- a/omrdatasettools/__init__.py
+++ b/omrdatasettools/__init__.py
@@ -1,4 +1,4 @@
-__version__ = '1.1'
+__version__ = '1.2'
from .Downloader import *
from .OmrDataset import OmrDataset | Upgrading to <I> for adding lxml into requirements when installing omrdatasettools | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.