diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/grimoire_elk/_version.py b/grimoire_elk/_version.py
index <HASH>..<HASH> 100644
--- a/grimoire_elk/_version.py
+++ b/grimoire_elk/_version.py
@@ -1,2 +1,2 @@
# Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440
-__version__ = "0.30.20"
+__version__ = "0.30.21" | [release] Update version number to <I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -20,7 +20,7 @@ setup(
package_data={},
install_requires=[
'numpy',
- 'spikeextractors>=0.9.3',
+ 'spikeextractors>=0.9.4',
'spikemetrics>=0.2.3',
'spikefeatures',
'sc... | wait for spikeextractors <I> | py |
diff --git a/redis/client.py b/redis/client.py
index <HASH>..<HASH> 100644
--- a/redis/client.py
+++ b/redis/client.py
@@ -1153,7 +1153,7 @@ class Redis(threading.local):
"""
items = []
if len(mapping) == 0:
- raise DataError
+ raise DataError("'hmset' with 'mapping' of ... | Add exception message for DataError being thrown in hmset | py |
diff --git a/extras/data_audit.py b/extras/data_audit.py
index <HASH>..<HASH> 100644
--- a/extras/data_audit.py
+++ b/extras/data_audit.py
@@ -179,7 +179,7 @@ def IP_verified(directory,
first_time_this_dir = False
- print filename + ' (Checksum=%s): '\
+ print file... | Added spaces around checksum value in data audit to make it easier to select the checksum | py |
diff --git a/telebot/apihelper.py b/telebot/apihelper.py
index <HASH>..<HASH> 100644
--- a/telebot/apihelper.py
+++ b/telebot/apihelper.py
@@ -1,6 +1,10 @@
# -*- coding: utf-8 -*-
import requests
+try:
+ from requests.packages.urllib3 import fields
+except ImportError:
+ fields = None
import telebot
from te... | Non-ASCII chars for filename. Telegram doesn't accept rfc<I> styled filename. Using utf-8 directly. | py |
diff --git a/pointfree.py b/pointfree.py
index <HASH>..<HASH> 100644
--- a/pointfree.py
+++ b/pointfree.py
@@ -602,7 +602,7 @@ def pfreduce(func, iterable, initial=None):
"""
- iterator = iterable.__iter__()
+ iterator = iter(iterable)
try:
first_item = next(iterator)
if initial: | Use iter() rather than __iter__ in pfreduce | py |
diff --git a/rest_api/api.py b/rest_api/api.py
index <HASH>..<HASH> 100644
--- a/rest_api/api.py
+++ b/rest_api/api.py
@@ -272,6 +272,27 @@ def assemble_cx():
return res
+# SHARE CX #
+@route('/share_model', method=['POST', 'OPTIONS'])
+@allow_cors
+def share_model():
+ """Upload the model to NDEX"""
+ ... | upload model to NDEX - the model is assembled as a CX using the current statements - the current cytoscape.js object is turned to a JSON string and shoved into 'networkAttributes' with a name 'cyjs_model' - preliminary commit | py |
diff --git a/PyFunceble.py b/PyFunceble.py
index <HASH>..<HASH> 100755
--- a/PyFunceble.py
+++ b/PyFunceble.py
@@ -1834,6 +1834,7 @@ class Referer(object):
'pn',
'py',
'sr',
+ 'ss',
'sv',
'tj',
'tp',
@@ -2693,7 +2694,7 @@ if __name... | Introduction of `ss` into the list of ignored extensions cf: No whois server. | py |
diff --git a/manybugs/php/prepare.py b/manybugs/php/prepare.py
index <HASH>..<HASH> 100755
--- a/manybugs/php/prepare.py
+++ b/manybugs/php/prepare.py
@@ -5,6 +5,7 @@ import subprocess
import multiprocessing
NASTY_REVISIONS = [
+ "147382033a",
"e7a1d5004e",
"0a1cc5f01c",
"51a4ae6576", | Fixes another php bug similar to #<I> | py |
diff --git a/dss/hcablobstore/s3.py b/dss/hcablobstore/s3.py
index <HASH>..<HASH> 100644
--- a/dss/hcablobstore/s3.py
+++ b/dss/hcablobstore/s3.py
@@ -21,4 +21,4 @@ class S3HCABlobStore(HCABlobStore):
:return: True iff the checksum is correct.
"""
checksum = self.handle.get_cloud_checksum(buc... | Verifying S3 checksums should not be case sensitive. | py |
diff --git a/ImagePanel.py b/ImagePanel.py
index <HASH>..<HASH> 100644
--- a/ImagePanel.py
+++ b/ImagePanel.py
@@ -420,6 +420,7 @@ class LinePlotCanvasItem(CanvasItem.CanvasItemComposition):
if self.__display is None:
data_info = LineGraphCanvasItem.LineGraphDataInfo()
self.__update_d... | Restore paint thread trigger and see if linux still passes. svn r<I> | py |
diff --git a/modularodm/storedobject.py b/modularodm/storedobject.py
index <HASH>..<HASH> 100644
--- a/modularodm/storedobject.py
+++ b/modularodm/storedobject.py
@@ -650,7 +650,8 @@ class StoredObject(object):
"for existing records. You can set "
"this value in... | More correct examples On branch migration Changes to be committed: (use "git reset HEAD <file>..." to unstage) modified: modularodm/storedobject.py Changes not staged for commit: (use "git add <file>..." to update what will be committed) (use "git checkout -- <file>..." to discard changes in working director... | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -10,7 +10,8 @@ setup(
url='https://github.com/pbs/django-cms-pagetags',
packages=find_packages(),
include_package_data=True,
- install_requires = ['django-tagging==0.3.1', 's3sourceuploader'],
+ setup_requ... | Add s3 upload capabilities for setup not for install | py |
diff --git a/glad/lang/c/generator.py b/glad/lang/c/generator.py
index <HASH>..<HASH> 100644
--- a/glad/lang/c/generator.py
+++ b/glad/lang/c/generator.py
@@ -170,8 +170,18 @@ class CGenerator(Generator):
continue
elif self.local_files:
output_string = '#includ... | c: workaround type change in gl.xml. closes: #<I> | py |
diff --git a/src/_pytest/mark/structures.py b/src/_pytest/mark/structures.py
index <HASH>..<HASH> 100644
--- a/src/_pytest/mark/structures.py
+++ b/src/_pytest/mark/structures.py
@@ -315,7 +315,7 @@ def _marked(func, mark):
return any(mark == info.combined for info in func_mark)
-@attr.s
+@attr.s(repr=False)
... | Use attr.s(repr=False) because we customize MarkInfo's repr | py |
diff --git a/detect_secrets/__init__.py b/detect_secrets/__init__.py
index <HASH>..<HASH> 100644
--- a/detect_secrets/__init__.py
+++ b/detect_secrets/__init__.py
@@ -1 +1 @@
-VERSION = '0.11.1'
+VERSION = '0.11.2' | Bumping version to <I> | py |
diff --git a/tortoise/__init__.py b/tortoise/__init__.py
index <HASH>..<HASH> 100644
--- a/tortoise/__init__.py
+++ b/tortoise/__init__.py
@@ -495,10 +495,10 @@ class Tortoise:
}
},
# Using a DB_URL string
- ... | Update docs I find it confusing to set a key name to "models" in the example config dictionary, when an entry name in it is required to be the same. Also I changed database name in example DB_URL string to "test" instead of "events", which I find more consistent with the example above it (dict format). | py |
diff --git a/src/cmdline/settings.py b/src/cmdline/settings.py
index <HASH>..<HASH> 100644
--- a/src/cmdline/settings.py
+++ b/src/cmdline/settings.py
@@ -209,8 +209,6 @@ class SettingsParser(BaseCommand):
parser_args = []
short_option = _info.pop('_short_option', None)
- if short... | Add short option second When the short option is double-dashed it needs to go after the primary option in order for the setting to be properly retrieved from the Settings object. | py |
diff --git a/dataset/table.py b/dataset/table.py
index <HASH>..<HASH> 100644
--- a/dataset/table.py
+++ b/dataset/table.py
@@ -132,7 +132,8 @@ class Table(object):
sync_row = {}
for row in rows:
# Only get non-existing columns.
- for key in [k for k in row.keys() if k not in sy... | Fix error introduced in #<I>. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -13,7 +13,8 @@ import sys
from turbolift import info
-REQUIRES = ['prettytable']
+with open('requirements.txt') as f:
+ required = f.read().splitlines()
if sys.version_info < (2, 6, 0):
sys.stderr.write("Turbol... | changed over to using requirements.txt | py |
diff --git a/registration/tests/views.py b/registration/tests/views.py
index <HASH>..<HASH> 100644
--- a/registration/tests/views.py
+++ b/registration/tests/views.py
@@ -116,6 +116,15 @@ class RegistrationViewTests(TestCase):
self.assertTemplateUsed(response,
'registration/tes... | Test extra_context in registration view. | py |
diff --git a/test_runner.py b/test_runner.py
index <HASH>..<HASH> 100644
--- a/test_runner.py
+++ b/test_runner.py
@@ -12,6 +12,7 @@ settings.configure(
},
INSTALLED_APPS=(
'django_base64field',
+ 'django_base64field.tests'
)
) | Add django_base<I>field.tests as an app to get covered ;) | py |
diff --git a/tests/test_aircraft.py b/tests/test_aircraft.py
index <HASH>..<HASH> 100644
--- a/tests/test_aircraft.py
+++ b/tests/test_aircraft.py
@@ -1,3 +1,5 @@
+import pytest
+
from traffic.data import aircraft
@@ -10,6 +12,7 @@ def test_getter() -> None:
assert a.typecode.iloc[0] == "BE20"
+@pytest.ma... | skip specific tests for opensky db | py |
diff --git a/typedjsonrpc/_version.py b/typedjsonrpc/_version.py
index <HASH>..<HASH> 100644
--- a/typedjsonrpc/_version.py
+++ b/typedjsonrpc/_version.py
@@ -35,7 +35,7 @@ def get_config():
cfg = VersioneerConfig()
cfg.VCS = "git"
cfg.style = "pep440"
- cfg.tag_prefix = "None"
+ cfg.tag_prefix = "... | Fix _version.py to include the correct configuration | py |
diff --git a/c7n/resources/vpc.py b/c7n/resources/vpc.py
index <HASH>..<HASH> 100644
--- a/c7n/resources/vpc.py
+++ b/c7n/resources/vpc.py
@@ -1854,6 +1854,7 @@ class VpcEndpoint(query.QueryResourceManager):
filter_type = 'list'
dimension = None
id_prefix = "vpce-"
+ taggable = False
... | aws - disable tag actions on non taggable ec2 resources (#<I>) | py |
diff --git a/logging/tests/system/test_system.py b/logging/tests/system/test_system.py
index <HASH>..<HASH> 100644
--- a/logging/tests/system/test_system.py
+++ b/logging/tests/system/test_system.py
@@ -16,11 +16,12 @@ import datetime
import logging
import unittest
+from google.api_core.exceptions import Conflict
+... | Harden system tests against 'ResourceExhausted' quota errors. (#<I>) Closes #<I>. | py |
diff --git a/neuropythy/hcp/core.py b/neuropythy/hcp/core.py
index <HASH>..<HASH> 100644
--- a/neuropythy/hcp/core.py
+++ b/neuropythy/hcp/core.py
@@ -207,7 +207,7 @@ class Subject(mri.Subject):
imgs = {k:_img_loader(k) for k in six.iterkeys(imgmap)}
def _make_mask(val, eq=True):
rib = im... | debugging and eliminated the depricated get_data() calls to nibabel objects | py |
diff --git a/master/buildbot/process/workerforbuilder.py b/master/buildbot/process/workerforbuilder.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/process/workerforbuilder.py
+++ b/master/buildbot/process/workerforbuilder.py
@@ -188,16 +188,15 @@ class WorkerForBuilder(AbstractWorkerForBuilder):
Abstract... | wfb: Rewrite attached() to use defer.inlineCallbacks | py |
diff --git a/openquake/commonlib/oqvalidation.py b/openquake/commonlib/oqvalidation.py
index <HASH>..<HASH> 100644
--- a/openquake/commonlib/oqvalidation.py
+++ b/openquake/commonlib/oqvalidation.py
@@ -496,8 +496,7 @@ class OqParam(valid.ParamSet):
"""
It is possible to infer the geometry only if exa... | Allowed to associate exposure to sites.csv [skip hazardlib] Former-commit-id: <I>f3a<I>c<I>e<I>fe4cae<I>c<I> | py |
diff --git a/src/streamlink/plugins/nbcsports.py b/src/streamlink/plugins/nbcsports.py
index <HASH>..<HASH> 100644
--- a/src/streamlink/plugins/nbcsports.py
+++ b/src/streamlink/plugins/nbcsports.py
@@ -7,7 +7,7 @@ from streamlink.utils import update_scheme
class NBCSports(Plugin):
url_re = re.compile(r"https?:... | plugins.nbcsports: fix embed_url_re (#<I>) | 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
@@ -1678,7 +1678,7 @@ def _paramschecker(self, param, newvalue):
## this is checked again during step 1 and will raise an error
## if you try demultipl... | Fix an issue with merged assemblies and 3rad. | py |
diff --git a/gym-unity/gym_unity/envs/__init__.py b/gym-unity/gym_unity/envs/__init__.py
index <HASH>..<HASH> 100644
--- a/gym-unity/gym_unity/envs/__init__.py
+++ b/gym-unity/gym_unity/envs/__init__.py
@@ -299,10 +299,6 @@ class UnityToGymWrapper(gym.Env):
return -float("inf"), float("inf")
@property
-... | remove spec property in gym wrapper (#<I>) | py |
diff --git a/edisgo/flex_opt/charging_strategies.py b/edisgo/flex_opt/charging_strategies.py
index <HASH>..<HASH> 100644
--- a/edisgo/flex_opt/charging_strategies.py
+++ b/edisgo/flex_opt/charging_strategies.py
@@ -82,6 +82,11 @@ def charging_strategy(
edisgo_obj.electromobility.integrated_charging_parks_df.ed... | fixed a bug that reactive power time series for charging parks were duplicated when running multiple charging strategies in series | py |
diff --git a/salt/loader.py b/salt/loader.py
index <HASH>..<HASH> 100644
--- a/salt/loader.py
+++ b/salt/loader.py
@@ -776,14 +776,15 @@ class LazyLoader(salt.utils.lazy.LazyDict):
'''
mod_name = function_name.split('.')[0]
if mod_name in self.loaded_modules:
- return '{0!r} is not... | Improve error message when module does not exist This also simplifies the if/elif/else logic when the module does not exist. The else would never be reached anyway since we are doing an ``if X is not None`` followed by an ``if X is None``. Fixes #<I> | py |
diff --git a/paystackapi/tests/test_charge.py b/paystackapi/tests/test_charge.py
index <HASH>..<HASH> 100644
--- a/paystackapi/tests/test_charge.py
+++ b/paystackapi/tests/test_charge.py
@@ -57,3 +57,22 @@ class TestCharge(BaseTestCase):
)
self.assertTrue(response['status'])
+
+ @httpretty.activa... | Test submit_otp method defined for a charge | py |
diff --git a/cltk/phonology/utils.py b/cltk/phonology/utils.py
index <HASH>..<HASH> 100644
--- a/cltk/phonology/utils.py
+++ b/cltk/phonology/utils.py
@@ -9,8 +9,8 @@ __author__ = ["Clément Besnier <clemsciences@gmail.com>"]
# Definition of consonants
PLACES = ["bilabial", "labio-dental", "dental", "alveolar", "pos... | Finally, no "zero consonant" introduced | py |
diff --git a/grimoire/elk/enrich.py b/grimoire/elk/enrich.py
index <HASH>..<HASH> 100644
--- a/grimoire/elk/enrich.py
+++ b/grimoire/elk/enrich.py
@@ -190,7 +190,7 @@ class Enrich(object):
item_date = (item_date-item_date.utcoffset()).replace(tzinfo=None)
enrollments = self.get_enrollments(uuid)... | [enrich] Use Unknown when there is no affiliation | py |
diff --git a/spyder/utils/conda.py b/spyder/utils/conda.py
index <HASH>..<HASH> 100644
--- a/spyder/utils/conda.py
+++ b/spyder/utils/conda.py
@@ -105,13 +105,19 @@ def get_conda_env_path(pyexec, quote=False):
return conda_env
+def find_conda():
+ """Find conda executable."""
+ conda_exec = 'conda.b... | Add a function to find conda executable | py |
diff --git a/throw/identity.py b/throw/identity.py
index <HASH>..<HASH> 100644
--- a/throw/identity.py
+++ b/throw/identity.py
@@ -244,7 +244,8 @@ class Identity(object):
server.starttls()
if self._credentials is not None:
- if self._credentials[1] is None:
+ passwd = self.... | bug fix: passwd was used without being defined If the password was available, the variable holding it was never set. | py |
diff --git a/test/test_producer_integration.py b/test/test_producer_integration.py
index <HASH>..<HASH> 100644
--- a/test/test_producer_integration.py
+++ b/test/test_producer_integration.py
@@ -398,14 +398,17 @@ class TestKafkaProducerIntegration(KafkaIntegrationTestCase):
partition = self.client.get_partitio... | Reduce batch time in producer integration test (speedup test) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -10,7 +10,7 @@ if svem_flag in sys.argv:
sys.argv.remove(svem_flag)
setup(name='calysto',
- version='0.9.4',
+ version='0.9.5',
description='Libraries and Languages for Python and IPython',
long... | Bump to version <I> | py |
diff --git a/lassie/filters/social.py b/lassie/filters/social.py
index <HASH>..<HASH> 100644
--- a/lassie/filters/social.py
+++ b/lassie/filters/social.py
@@ -41,7 +41,6 @@ SOCIAL_MAPS = {
'twitter:url': 'url',
'twitter:title': 'title',
'twitter:description': 'descript... | Twitter doesn't have a locale tag | py |
diff --git a/mambuloan.py b/mambuloan.py
index <HASH>..<HASH> 100644
--- a/mambuloan.py
+++ b/mambuloan.py
@@ -129,7 +129,7 @@ class MambuLoan(MambuStruct):
notas = notas + calif + "<br>" + nombre + "|"
except AttributeError:
notas = notas + part + "|"
- ... | mambu loan notes need to strip empty spaces too | py |
diff --git a/testapp/testapp/testmain/tests/test_models.py b/testapp/testapp/testmain/tests/test_models.py
index <HASH>..<HASH> 100644
--- a/testapp/testapp/testmain/tests/test_models.py
+++ b/testapp/testapp/testmain/tests/test_models.py
@@ -193,6 +193,8 @@ class ReceitpFailedRevalidationTestCase(PopulatedLiveAfipTest... | .refresh_from_db added to ensure validation deletion | py |
diff --git a/insights/specs/core3_archive.py b/insights/specs/core3_archive.py
index <HASH>..<HASH> 100644
--- a/insights/specs/core3_archive.py
+++ b/insights/specs/core3_archive.py
@@ -14,3 +14,4 @@ simple_file = partial(simple_file, context=SerializedArchiveContext)
class Core3Specs(Specs):
branch_info = sim... | fix(specs): add spec for display_name to core3_archive (#<I>) There are issues with display_name in core3 archives RHCLOUD-<I> | py |
diff --git a/ELiDE/statgrid.py b/ELiDE/statgrid.py
index <HASH>..<HASH> 100644
--- a/ELiDE/statgrid.py
+++ b/ELiDE/statgrid.py
@@ -396,7 +396,6 @@ class StatListViewConfigurator(StatListView):
)
)
self.control[key] = self.remote['_control'][key] = value
- self.ctmainbut[key].text =... | ctmainbut hasn't been a thing for several commits, really | py |
diff --git a/cltk/corpus/utils/formatter.py b/cltk/corpus/utils/formatter.py
index <HASH>..<HASH> 100644
--- a/cltk/corpus/utils/formatter.py
+++ b/cltk/corpus/utils/formatter.py
@@ -15,6 +15,7 @@ from cltk.corpus.greek.tlg_index import TLG_WORKS_INDEX
from cltk.corpus.latin.phi5_index import PHI5_INDEX
from cltk.cor... | added cltk_normalize to normalize text | py |
diff --git a/pyFMG/fortimgr.py b/pyFMG/fortimgr.py
index <HASH>..<HASH> 100644
--- a/pyFMG/fortimgr.py
+++ b/pyFMG/fortimgr.py
@@ -460,10 +460,10 @@ class FortiManager(object):
while percent != 100:
try:
code, task_info = self.get("/task/task/{taskid}".format(taskid=task_id))
- ... | Removed self and changed to error_msg | py |
diff --git a/docstring_parser/rest.py b/docstring_parser/rest.py
index <HASH>..<HASH> 100644
--- a/docstring_parser/rest.py
+++ b/docstring_parser/rest.py
@@ -38,7 +38,7 @@ def _build_meta(args: T.List[str], desc: str) -> DocstringMeta:
f"Expected one or two arguments for a {key} keyword."
... | test; flags for multiline description Add flags=re.DOTALL to the regular expression match used to find "defaults to" so it can manage multiline description. | py |
diff --git a/apio/managers/installer.py b/apio/managers/installer.py
index <HASH>..<HASH> 100644
--- a/apio/managers/installer.py
+++ b/apio/managers/installer.py
@@ -240,23 +240,24 @@ class Installer(object):
releases = api_request('{}/releases'.format(name), organization)
if req_version:
+ ... | Elevate force tag for install command | py |
diff --git a/frojd_fabric/ext/virtualenv.py b/frojd_fabric/ext/virtualenv.py
index <HASH>..<HASH> 100644
--- a/frojd_fabric/ext/virtualenv.py
+++ b/frojd_fabric/ext/virtualenv.py
@@ -6,11 +6,24 @@ from unipath import Path
@task
def create_venv():
- env.run("virtualenv %s" % paths.get_deploy_path("venv"))
+ if... | Added support for returning path. Added support for hard coded path | py |
diff --git a/gns3server/version.py b/gns3server/version.py
index <HASH>..<HASH> 100644
--- a/gns3server/version.py
+++ b/gns3server/version.py
@@ -23,7 +23,7 @@
# or negative for a release candidate or beta (after the base version
# number has been incremented)
-__version__ = "2.1.0rc3"
+__version__ = "2.1.0dev9"
... | Back to dev. at <I>dev9 | py |
diff --git a/undefined/stories.py b/undefined/stories.py
index <HASH>..<HASH> 100644
--- a/undefined/stories.py
+++ b/undefined/stories.py
@@ -17,7 +17,7 @@ class _Stories:
Parameters
----------
story : Id
- Globally unique identifier for the team.
+ Globally unique identifi... | Deploy from asana-api-meta <I> | py |
diff --git a/foundations/parsers.py b/foundations/parsers.py
index <HASH>..<HASH> 100644
--- a/foundations/parsers.py
+++ b/foundations/parsers.py
@@ -879,6 +879,8 @@ class SectionsFileParser(foundations.io.File):
if not self.__sections:
return False
+ self.uncache()
+
LOGGER.debug("> Setting '{0}' file co... | Ensure cache is empty before writing in "foundations.parsers.SectionsFileParser.write" method. | py |
diff --git a/acestream/request.py b/acestream/request.py
index <HASH>..<HASH> 100644
--- a/acestream/request.py
+++ b/acestream/request.py
@@ -28,14 +28,14 @@ class Request(object):
def getversion(self):
return self.getservice(method='get_version')
- def getapi(self, **params):
+ def getserver(self, **param... | request: rename getapi method to getserver | py |
diff --git a/attribute_controller.py b/attribute_controller.py
index <HASH>..<HASH> 100644
--- a/attribute_controller.py
+++ b/attribute_controller.py
@@ -70,6 +70,11 @@ class ActionCollapseAll(Action):
class AttributeController(QMainWindow):
+ _visibility_dict = {'Beginner': EVisibility.Beginner,
+ 'Exp... | Make it a class member but not an object member | py |
diff --git a/addok/hooks.py b/addok/hooks.py
index <HASH>..<HASH> 100644
--- a/addok/hooks.py
+++ b/addok/hooks.py
@@ -15,10 +15,7 @@ def register(module, name=None):
if name is None:
name = module.__name__
if name in blocked_plugins:
- print(
- "Requested registration of plugin {} ... | chore: warn and say why when a plugin is blocked | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -16,7 +16,7 @@ setup(
extras_require={
'dev': [
"coverage==4.0.3",
- "flake8==2.5.5",
+ "flake8==2.5.4",
"pylint==1.5.5",
"pytest==2.9.1",
] | typo: flake8 <I> is not released yet | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@
# Accelerator for pip, the Python package manager.
#
# Author: Peter Odding <peter.odding@paylogic.com>
-# Last Change: February 19, 2016
+# Last Change: May 17, 2016
# URL: https://github.com/paylogic/pip-acc... | Make functions in setup.py more easily re-usable | py |
diff --git a/uncompyle6/parser.py b/uncompyle6/parser.py
index <HASH>..<HASH> 100644
--- a/uncompyle6/parser.py
+++ b/uncompyle6/parser.py
@@ -30,9 +30,10 @@ from uncompyle6.show import maybe_show_asm
class ParserError(Exception):
- def __init__(self, token, offset):
+ def __init__(self, token, offset, debug... | Fix one more call to ParseError | py |
diff --git a/tests/test_interface_windows_tools.py b/tests/test_interface_windows_tools.py
index <HASH>..<HASH> 100644
--- a/tests/test_interface_windows_tools.py
+++ b/tests/test_interface_windows_tools.py
@@ -42,12 +42,14 @@ class TestAgentInterfaceEnvironment(unittest.TestCase):
print('WARNING - Windows... | test for windows launch app wrapped in try except for travis-CI on linux | py |
diff --git a/astrocats/catalog/catalog.py b/astrocats/catalog/catalog.py
index <HASH>..<HASH> 100644
--- a/astrocats/catalog/catalog.py
+++ b/astrocats/catalog/catalog.py
@@ -345,7 +345,7 @@ class Catalog:
# Create new entry
new_entry = self.proto(self, newname)
- new_entry['schema'] = self.S... | MAINT: replace literals with class members | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -248,7 +248,7 @@ setup(
'PyPDF2>=1.26', # pure Python, so track HEAD closely
'img2pdf>=0.2.3', # pure Python, so track HEAD closely
'cffi>=1.9.1', # must be a setup and install... | setup: skip <I> since it does not provide wheels | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -43,8 +43,7 @@ MOD_NAMES = [
'spacy.cfile',
'spacy.matcher',
'spacy.syntax.ner',
- 'spacy.symbols',
- 'spacy.syntax.iterators']
+ 'spacy.symbols']
COMPILE_OPTIONS = { | Remove syntax iterators from setup.py | py |
diff --git a/bdata/__init__.py b/bdata/__init__.py
index <HASH>..<HASH> 100644
--- a/bdata/__init__.py
+++ b/bdata/__init__.py
@@ -1,11 +1,11 @@
from bdata.bdata import bdata,life
-from bdata.mdata import mdata,mdict,mhist,mscaler,mvar,mcontainer,mlist
+from bdata.mdata import mdata,mdict,mhist,mscaler,mvar,mcontainer... | Added mcomment. Changed default data dir to .mdata | py |
diff --git a/src/ai/backend/client/cli/vfolder.py b/src/ai/backend/client/cli/vfolder.py
index <HASH>..<HASH> 100644
--- a/src/ai/backend/client/cli/vfolder.py
+++ b/src/ai/backend/client/cli/vfolder.py
@@ -72,8 +72,8 @@ def list_allowed_types():
@vfolder.command()
@click.argument('name', type=str)
@click.argument('... | Group vfolder can now be created with group name as well as uuid | py |
diff --git a/polyaxon/experiments/views.py b/polyaxon/experiments/views.py
index <HASH>..<HASH> 100644
--- a/polyaxon/experiments/views.py
+++ b/polyaxon/experiments/views.py
@@ -103,8 +103,8 @@ class ExperimentRestartView(CreateAPIView):
project=obj.project,
user=self.request.user,
... | Do not propagate experiment group for restarted experiments | py |
diff --git a/karaage/common/__init__.py b/karaage/common/__init__.py
index <HASH>..<HASH> 100644
--- a/karaage/common/__init__.py
+++ b/karaage/common/__init__.py
@@ -165,7 +165,7 @@ def is_password_strong(password, old_password=None):
return True
try:
VeryFascistCheck(password, old=old_passw... | Prevent swallowing of errors during password check Currently the code will swallow all errors even if they are real. For example if the user doesn't have a cracklib dict, then currently this will mark the password as failed. Change-Id: I<I>d<I>ebc2e<I>ffe4c4a<I>f<I>c<I>e<I> | py |
diff --git a/pypot/robot/robot.py b/pypot/robot/robot.py
index <HASH>..<HASH> 100644
--- a/pypot/robot/robot.py
+++ b/pypot/robot/robot.py
@@ -48,6 +48,7 @@ class Robot(object):
def close(self):
""" Cleans the robot by stopping synchronization and all controllers."""
self.stop_sync()
+ [c.... | Closes the IO once all controllers are stopped. | py |
diff --git a/google-assistant-grpc/setup.py b/google-assistant-grpc/setup.py
index <HASH>..<HASH> 100644
--- a/google-assistant-grpc/setup.py
+++ b/google-assistant-grpc/setup.py
@@ -17,7 +17,7 @@ import io
install_requires = [
'googleapis-common-protos==1.5.2',
- 'grpcio==1.2.1',
+ 'grpcio==1.3.5',
]
... | google-assistant-grpc: bump grpc dep To leverage arm binary wheels if present. | py |
diff --git a/ladybug/graphic.py b/ladybug/graphic.py
index <HASH>..<HASH> 100644
--- a/ladybug/graphic.py
+++ b/ladybug/graphic.py
@@ -70,9 +70,12 @@ class GraphicContainer(object):
self.legend_parameters.ordinal_dictionary = data_type.unit_descr
sorted_keys = sorted(data_type.unit_des... | fix(graphic): Fix edge case issue with data outside ordinal range | py |
diff --git a/pysnmp/proto/api/v2c.py b/pysnmp/proto/api/v2c.py
index <HASH>..<HASH> 100644
--- a/pysnmp/proto/api/v2c.py
+++ b/pysnmp/proto/api/v2c.py
@@ -58,12 +58,12 @@ class PDUAPI(v1.PDUAPI):
return [ varBinds ]
def setEndOfMibError(self, pdu, errorIndex):
- varBindList = self.apiGetVarBindLi... | * switched to setComponentByPosition() at pyasn1 sequences * syntax typo fixed | py |
diff --git a/tests/test_web_protocol.py b/tests/test_web_protocol.py
index <HASH>..<HASH> 100644
--- a/tests/test_web_protocol.py
+++ b/tests/test_web_protocol.py
@@ -333,6 +333,7 @@ async def test_handle_uncompleted(
IS_MACOS,
raises=TypeError,
reason='Intermittently fails on macOS',
+ strict=False,
... | Make test_handle_uncompleted_pipe xfail non-strict | py |
diff --git a/homu/utils.py b/homu/utils.py
index <HASH>..<HASH> 100644
--- a/homu/utils.py
+++ b/homu/utils.py
@@ -11,7 +11,8 @@ def github_set_ref(repo, ref, sha, *, force=False, auto_create=True):
try: js = repo._json(repo._patch(url, data=json.dumps(data)), 200)
except github3.models.GitHubError as e:
... | Properly report exceptions in `github_set_ref` | py |
diff --git a/cassandra/query.py b/cassandra/query.py
index <HASH>..<HASH> 100644
--- a/cassandra/query.py
+++ b/cassandra/query.py
@@ -102,7 +102,7 @@ def named_tuple_factory(colnames, rows):
clean_column_names = map(_clean_column_name, colnames)
try:
Row = namedtuple('Row', clean_column_names)
- ... | Qualify except branch around namedtuple construction. | py |
diff --git a/python/pyspark/sql/tests/test_pandas_udf_scalar.py b/python/pyspark/sql/tests/test_pandas_udf_scalar.py
index <HASH>..<HASH> 100644
--- a/python/pyspark/sql/tests/test_pandas_udf_scalar.py
+++ b/python/pyspark/sql/tests/test_pandas_udf_scalar.py
@@ -14,7 +14,6 @@
# See the License for the specific languag... | [SPARK-<I>][PYSPARK][TESTS] Remove duplicate import ### What changes were proposed in this pull request? `datetime` is already imported a few lines below :) <URL> | py |
diff --git a/script/bootstrap.py b/script/bootstrap.py
index <HASH>..<HASH> 100644
--- a/script/bootstrap.py
+++ b/script/bootstrap.py
@@ -421,7 +421,7 @@ def check_cmake(build_tool):
if err:
print_warning_message(err)
return
- running_version = running_version.decode('utf-8').... | Parse cmake version on amazon linux 2 | py |
diff --git a/sumy/models/dom/_sentence.py b/sumy/models/dom/_sentence.py
index <HASH>..<HASH> 100644
--- a/sumy/models/dom/_sentence.py
+++ b/sumy/models/dom/_sentence.py
@@ -44,4 +44,7 @@ class Sentence(object):
return " ".join(self._words)
def __repr__(self):
- return to_string("<Sentence: %s>"... | Better string representation for sentence of DOM | py |
diff --git a/zhaquirks/tuya/ts0601_dimmer.py b/zhaquirks/tuya/ts0601_dimmer.py
index <HASH>..<HASH> 100644
--- a/zhaquirks/tuya/ts0601_dimmer.py
+++ b/zhaquirks/tuya/ts0601_dimmer.py
@@ -28,7 +28,15 @@ class TuyaSingleSwitchDimmer(TuyaDimmerSwitch):
# maximum_buffer_size=82, maximum_incoming_transfer_size=82, ... | Adding some more tuya dimmers (#<I>) * Adding some more tuya dimmers * Ops !! | py |
diff --git a/indra/reach/processor.py b/indra/reach/processor.py
index <HASH>..<HASH> 100644
--- a/indra/reach/processor.py
+++ b/indra/reach/processor.py
@@ -254,7 +254,7 @@ class ReachProcessor(object):
Produce valid agent name from string.
'''
name = txt.replace('-', '_')
- name = t... | Update Agent name characters in REACH processor | py |
diff --git a/dmf_control_board.py b/dmf_control_board.py
index <HASH>..<HASH> 100755
--- a/dmf_control_board.py
+++ b/dmf_control_board.py
@@ -704,3 +704,6 @@ class DmfControlBoard(Base, SerialDevice):
if k in common_keys and (device_config[k] is not None and
config[k]... | Add debug_string method to control board | py |
diff --git a/src/sos/_version.py b/src/sos/_version.py
index <HASH>..<HASH> 100644
--- a/src/sos/_version.py
+++ b/src/sos/_version.py
@@ -33,7 +33,7 @@ if _py_ver.major == 2 or (_py_ver.major == 3 and (_py_ver.minor, _py_ver.micro)
# version of the SoS language
__sos_version__ = '1.0'
# version of the sos command
... | Release <I>, entering <I> | py |
diff --git a/loam/manager.py b/loam/manager.py
index <HASH>..<HASH> 100644
--- a/loam/manager.py
+++ b/loam/manager.py
@@ -481,9 +481,13 @@ class ConfigurationManager:
for opt, meta in self[sec].defaults_():
if not meta.cmd_arg:
continue
- print("+ '({})... | Handle 'append' options in zsh complete scripts Options with an append action are not removed from the list of possible options when they are used. | py |
diff --git a/salt/modules/rabbitmq.py b/salt/modules/rabbitmq.py
index <HASH>..<HASH> 100644
--- a/salt/modules/rabbitmq.py
+++ b/salt/modules/rabbitmq.py
@@ -305,9 +305,25 @@ def check_password(name, password, runas=None):
salt '*' rabbitmq.check_password rabbit_user password
'''
+ # try to get the ... | check rabbitmq version and use different api to validate a users password | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,7 @@ except ImportError:
from setup_libuv import libuv_build_ext, libuv_sdist
-__version__ = "0.11.5"
+__version__ = "1.0.0-dev"
setup(name = "pyuv",
version = __version__, | version: set version to <I>-dev | py |
diff --git a/battlenet/connection.py b/battlenet/connection.py
index <HASH>..<HASH> 100644
--- a/battlenet/connection.py
+++ b/battlenet/connection.py
@@ -21,7 +21,7 @@ except ImportError:
__all__ = ['Connection']
-URL_FORMAT = 'http://%(region)s.battle.net/api/%(game)s%(path)s?%(params)s'
+URL_FORMAT = 'https://%... | Setting connections to use HTTPS by default. | py |
diff --git a/cppman/formatter/cppreference.py b/cppman/formatter/cppreference.py
index <HASH>..<HASH> 100644
--- a/cppman/formatter/cppreference.py
+++ b/cppman/formatter/cppreference.py
@@ -45,7 +45,7 @@ def member_type_function(g):
return ""
head = re.sub(r'<.*?>', '', g.group(1)).strip()
tail = ''... | Fix: improve detection and format of "Member Types" section | py |
diff --git a/salt/state.py b/salt/state.py
index <HASH>..<HASH> 100644
--- a/salt/state.py
+++ b/salt/state.py
@@ -495,6 +495,7 @@ class State(object):
opts['grains'] = salt.loader.grains(opts)
self.opts = opts
self.opts['pillar'] = self.__gather_pillar()
+ self.state_con = {}
... | Set a context dict for the state run | py |
diff --git a/entities.py b/entities.py
index <HASH>..<HASH> 100644
--- a/entities.py
+++ b/entities.py
@@ -62,6 +62,7 @@ def get_default_entity_type_settings(entity_type):
entity_type_lower = entity_type.lower()
settings = {}
+ settings['SUBGENERATOR_CLASS'] = EntityGenerator.EntitySubGenerator
sett... | Add SUBGENERATOR_CLASS to entity settings to allow for configurable generator implementations | py |
diff --git a/spyder_notebook/notebookplugin.py b/spyder_notebook/notebookplugin.py
index <HASH>..<HASH> 100644
--- a/spyder_notebook/notebookplugin.py
+++ b/spyder_notebook/notebookplugin.py
@@ -86,7 +86,7 @@ class NotebookPlugin(SpyderPluginWidget):
#------ SpyderPluginWidget API ---------------------------------... | Change plugin name to "Jupyter notebook" | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -12,7 +12,7 @@ class PyTest(TestCommand):
def initialize_options(self):
TestCommand.initialize_options(self)
- self.pytest_args = '--cov --junitxml ./tests/output tests/'
+ self.pytest_args = ['--... | Pass list of arguments to pytest.main() Passing a string to pytest.main() is deprecated | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@ license: GNU-GPL2
from setuptools import setup
setup(name='consoleprinter',
- version='65',
+ version='66',
description='Console printer with linenumbers, stacktraces, logging, conversions and... | Sunday <I> October <I> (week:<I> day:<I>), <I>:<I>:<I> | py |
diff --git a/plugins/PluginCertInfo.py b/plugins/PluginCertInfo.py
index <HASH>..<HASH> 100644
--- a/plugins/PluginCertInfo.py
+++ b/plugins/PluginCertInfo.py
@@ -124,7 +124,8 @@ class PluginCertInfo(PluginBase.PluginBase):
argument = arg, title = cmd_title)
trust_xml_attr = {'tru... | Fixes issue <I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,7 +1,8 @@
#!/usr/bin/env python
from __future__ import absolute_import
from __future__ import print_function
-from distutils.core import setup
+#from distutils.core import setup
+import setuptools
import re
import subp... | Update setup to more closely match new package distribution tools | py |
diff --git a/lib/svtplay_dl/utils/getmedia.py b/lib/svtplay_dl/utils/getmedia.py
index <HASH>..<HASH> 100644
--- a/lib/svtplay_dl/utils/getmedia.py
+++ b/lib/svtplay_dl/utils/getmedia.py
@@ -232,11 +232,11 @@ def get_one_media(stream):
stream.get_thumbnail(stream.config)
post = postprocess(fstre... | postprocess: only do merge to mp4 no need for remux. | py |
diff --git a/src/dolo/misc/yamlfile.py b/src/dolo/misc/yamlfile.py
index <HASH>..<HASH> 100644
--- a/src/dolo/misc/yamlfile.py
+++ b/src/dolo/misc/yamlfile.py
@@ -22,7 +22,8 @@ Imports the content of a modfile into the current interpreter scope
# check
if 'controls' in declarations:
variables_groups ... | yamlfile recognize auxiliary_2 as a new category (temporary ?) | py |
diff --git a/tacl/report.py b/tacl/report.py
index <HASH>..<HASH> 100644
--- a/tacl/report.py
+++ b/tacl/report.py
@@ -2,6 +2,7 @@ import os.path
import shutil
from jinja2 import Environment, PackageLoader
+
from pkg_resources import resource_filename, resource_listdir
@@ -54,7 +55,7 @@ class Report:
def ... | Corrected typo in docstring. | py |
diff --git a/angr/procedures/libc/strlen.py b/angr/procedures/libc/strlen.py
index <HASH>..<HASH> 100644
--- a/angr/procedures/libc/strlen.py
+++ b/angr/procedures/libc/strlen.py
@@ -1,4 +1,3 @@
-import claripy
import angr
from angr.sim_options import MEMORY_CHUNK_INDIVIDUAL_READS
from angr.storage.memory_mixins.reg... | Don't include claripy anymore | py |
diff --git a/django_ftpserver/management/commands/ftpserver.py b/django_ftpserver/management/commands/ftpserver.py
index <HASH>..<HASH> 100644
--- a/django_ftpserver/management/commands/ftpserver.py
+++ b/django_ftpserver/management/commands/ftpserver.py
@@ -128,6 +128,7 @@ class Command(BaseCommand):
... | Enable encryption before authentication for FTP+TLS Passwords were being sent as plain text | py |
diff --git a/topydo/lib/TodoListBase.py b/topydo/lib/TodoListBase.py
index <HASH>..<HASH> 100644
--- a/topydo/lib/TodoListBase.py
+++ b/topydo/lib/TodoListBase.py
@@ -225,6 +225,10 @@ class TodoListBase(object):
self.dirty = True
def number(self, p_todo):
+ """
+ Returns the line numbe... | Simplify pp_number() now number() can handle multiple sorts of IDs. | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.