diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/examples/miniapps/password_hashing/example.py b/examples/miniapps/password_hashing/example.py
index <HASH>..<HASH> 100644
--- a/examples/miniapps/password_hashing/example.py
+++ b/examples/miniapps/password_hashing/example.py
@@ -23,7 +23,7 @@ class Container(containers.DeclarativeContainer):
"""Inver... | Refactor passlib password hasing example | py |
diff --git a/d1_mn_generic/src/service/mn/views/diagnostics.py b/d1_mn_generic/src/service/mn/views/diagnostics.py
index <HASH>..<HASH> 100755
--- a/d1_mn_generic/src/service/mn/views/diagnostics.py
+++ b/d1_mn_generic/src/service/mn/views/diagnostics.py
@@ -120,6 +120,18 @@ def delete_all_access_policies(request):
... | added diagnostic api call get_access_policy | py |
diff --git a/django_cas_ng/middleware.py b/django_cas_ng/middleware.py
index <HASH>..<HASH> 100644
--- a/django_cas_ng/middleware.py
+++ b/django_cas_ng/middleware.py
@@ -13,12 +13,18 @@ from django.contrib.auth.views import login, logout
from django.core.urlresolvers import reverse
from django.utils.translation impo... | Update middleware for consistency with new-style django middleware | py |
diff --git a/doc/conf.py b/doc/conf.py
index <HASH>..<HASH> 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -25,7 +25,6 @@ extensions = [
'sphinx.ext.intersphinx',
'sphinx.ext.napoleon',
'sphinx.ext.viewcode',
- 'matplotlib.sphinxext.plot_directive',
]
import sphinx | [Automatic] update links and the ci mostly | 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
import os
setup(name="pmxbot",
- version="1004.1",
+ version="1004.2",
packages=["pmxbot", "pmxbotweb",],
package_data={'pmxbot' : ["popquotes.sqlite",],
'pmxbot... | Bumping to <I> | py |
diff --git a/tests/lint/unittest_lint.py b/tests/lint/unittest_lint.py
index <HASH>..<HASH> 100644
--- a/tests/lint/unittest_lint.py
+++ b/tests/lint/unittest_lint.py
@@ -67,11 +67,10 @@ if os.name == "java":
HOME = "USERPROFILE"
else:
HOME = "HOME"
+elif sys.platform == "win32":
+ HOME = "USE... | Fix consider using 'elif' instead of 'else if' in tests | py |
diff --git a/src/python/pants/backend/python/target_types.py b/src/python/pants/backend/python/target_types.py
index <HASH>..<HASH> 100644
--- a/src/python/pants/backend/python/target_types.py
+++ b/src/python/pants/backend/python/target_types.py
@@ -32,6 +32,7 @@ from pants.engine.target import (
SpecialCasedDepe... | Hotfix broken import from merge conflict (#<I>) Fix broken import. | py |
diff --git a/qtpy/tests/test_patch_qcombobox.py b/qtpy/tests/test_patch_qcombobox.py
index <HASH>..<HASH> 100644
--- a/qtpy/tests/test_patch_qcombobox.py
+++ b/qtpy/tests/test_patch_qcombobox.py
@@ -1,8 +1,14 @@
from __future__ import absolute_import
+import sys
+
+import pytest
from qtpy import QtGui, QtWidgets
... | Testing: Skip a test that it's segfaulting in Python 3 | py |
diff --git a/pep257.py b/pep257.py
index <HASH>..<HASH> 100755
--- a/pep257.py
+++ b/pep257.py
@@ -74,6 +74,14 @@ from optparse import OptionParser
import tokenize as tk
+try:
+ next
+except NameError:
+ # python 2.5 and earlier
+ def next(obj):
+ return obj.next()
+
+
#
# Helper functions
# | Compatibility trick for python <I> and earlier. | py |
diff --git a/tests/integration/client/test_kwarg.py b/tests/integration/client/test_kwarg.py
index <HASH>..<HASH> 100644
--- a/tests/integration/client/test_kwarg.py
+++ b/tests/integration/client/test_kwarg.py
@@ -6,6 +6,9 @@ from __future__ import absolute_import, print_function, unicode_literals
# Import Salt Testi... | Update test to reflect type change due to unicode_literals | py |
diff --git a/src/mirakuru/base.py b/src/mirakuru/base.py
index <HASH>..<HASH> 100644
--- a/src/mirakuru/base.py
+++ b/src/mirakuru/base.py
@@ -26,6 +26,7 @@ import signal
import subprocess
import time
import uuid
+import errno
from mirakuru.base_env import processes_with_env
from mirakuru.exceptions import (
@@ ... | Use OSError instead of ProcessLookupError For python 2 compatibility. | py |
diff --git a/buildbot/status/mail.py b/buildbot/status/mail.py
index <HASH>..<HASH> 100644
--- a/buildbot/status/mail.py
+++ b/buildbot/status/mail.py
@@ -101,18 +101,16 @@ def message(attrs):
#
# No source stamp
#
+ source = ""
if attrs['branch']:
- source = "unavailable"
+ source ... | Fixes #<I>: Create correct source stamp in email in all cases (including branch) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -8,6 +8,6 @@ setup(name="Presser",
author="Gemma Hentsch",
author_email="contact@halfapenguin.com",
requires=["beautifulsoup4(>=4.3.2)","requests(>=2.4.0)", "mock(>=1.0.1)"],
- long_description=open("README.t... | fixes the readme.md path | py |
diff --git a/salt/grains/core.py b/salt/grains/core.py
index <HASH>..<HASH> 100644
--- a/salt/grains/core.py
+++ b/salt/grains/core.py
@@ -1458,11 +1458,15 @@ def os_data():
osname = ' '.join((osname, development))
uname_v = os.uname()[3]
grains['os'] =... | parse minorrelease if it has a / in it | py |
diff --git a/CatchmentDescriptors.py b/CatchmentDescriptors.py
index <HASH>..<HASH> 100644
--- a/CatchmentDescriptors.py
+++ b/CatchmentDescriptors.py
@@ -52,7 +52,7 @@ class Fpanel(wx.Panel):
urbconc1990_label = wx.StaticText(self, -1, "URBCONC1990")
urbconc2000_label = wx.StaticText(self, -1, "URBCO... | Corrected urbext<I> label in cds tab Previously the urbext<I> label read urbext<I> | py |
diff --git a/hypermap/settings/default.py b/hypermap/settings/default.py
index <HASH>..<HASH> 100644
--- a/hypermap/settings/default.py
+++ b/hypermap/settings/default.py
@@ -138,13 +138,6 @@ CELERYBEAT_SCHEDULER = 'djcelery.schedulers.DatabaseScheduler'
CELERY_RESULT_BACKEND = 'cache+memcached://127.0.0.1:11211/'
CE... | Removed the check_all_services task from schedule | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -39,7 +39,7 @@ cmdclass = {'clean': CleanCommand}
setup(
name='loky',
- version='0.3.0',
+ version='0.4.0.dev',
description=("A robust implementation of "
"concurrent.futures.ProcessPoolExe... | CLN switch back master to dev version | py |
diff --git a/tests/lax_numpy_test.py b/tests/lax_numpy_test.py
index <HASH>..<HASH> 100644
--- a/tests/lax_numpy_test.py
+++ b/tests/lax_numpy_test.py
@@ -461,7 +461,8 @@ class LaxBackedNumpyTests(jtu.JaxTestCase):
onp_fun = lambda x: onp_op(x, axis, dtype=out_dtype, keepdims=keepdims)
lnp_fun = lambda x: lnp... | Relax tolerance specification for reduction test. (#<I>) | py |
diff --git a/spacy/cli/download.py b/spacy/cli/download.py
index <HASH>..<HASH> 100644
--- a/spacy/cli/download.py
+++ b/spacy/cli/download.py
@@ -128,8 +128,6 @@ def get_version(model, comp):
def download_model(filename, user_pip_args=None):
download_url = about.__download_url__ + "/" + filename
- pip_args ... | Remove --no-cache-dir when downloading models When `--no-cache-dir` is present, it prevents caching to properly function. If the user still wants to do this, there is the possibility to pass options with `user_pip_args`. But you should not enforce options like these. In my case this is preventing some docker build... | py |
diff --git a/sitecustomize.py b/sitecustomize.py
index <HASH>..<HASH> 100644
--- a/sitecustomize.py
+++ b/sitecustomize.py
@@ -1,5 +1,12 @@
try:
- import coverage
- coverage.process_startup()
+ import pydevd
+ DEBUGGING = True
except ImportError:
- pass
+ DEBUGGING = False
+
+if not DEBUGGING:
+ ... | Stops coverage if debugging. | py |
diff --git a/src/meshio/abaqus/_abaqus.py b/src/meshio/abaqus/_abaqus.py
index <HASH>..<HASH> 100644
--- a/src/meshio/abaqus/_abaqus.py
+++ b/src/meshio/abaqus/_abaqus.py
@@ -56,6 +56,7 @@ abaqus_to_meshio_type = {
"S3": "triangle",
"S3R": "triangle",
"S3RS": "triangle",
+ "R3D3": "triangle",
# "... | Added ABAQUS R3D3 element as triangle | py |
diff --git a/compiler/api/compiler.py b/compiler/api/compiler.py
index <HASH>..<HASH> 100644
--- a/compiler/api/compiler.py
+++ b/compiler/api/compiler.py
@@ -463,7 +463,7 @@ def start():
["{0}={0}".format(i[0]) for i in sorted_args if i != ("flags", "#")]
),
... | Use a better qualified name for both raw types and functions | py |
diff --git a/vasppy/__init__.py b/vasppy/__init__.py
index <HASH>..<HASH> 100644
--- a/vasppy/__init__.py
+++ b/vasppy/__init__.py
@@ -1 +1 @@
-__version__ = '0.6.2.0'
+__version__ = '0.6.3.0' | Bumped version to <I> | py |
diff --git a/src/feat/configure/uninstalled.py b/src/feat/configure/uninstalled.py
index <HASH>..<HASH> 100644
--- a/src/feat/configure/uninstalled.py
+++ b/src/feat/configure/uninstalled.py
@@ -28,8 +28,8 @@ _basedir = os.path.abspath(os.path.join(feat.__path__[0], '..', '..'))
bindir = os.path.join(_basedir, 'bin'... | Move things from logdir to rundir | py |
diff --git a/spacy/tests/vocab/test_intern.py b/spacy/tests/vocab/test_intern.py
index <HASH>..<HASH> 100644
--- a/spacy/tests/vocab/test_intern.py
+++ b/spacy/tests/vocab/test_intern.py
@@ -96,7 +96,7 @@ def test_pickle_string_store(sstore):
def test_dump_load(sstore):
id_ = sstore[u'qqqqq']
- with tempfile... | * Fix mode on text file for Python3 in strings test | py |
diff --git a/boxview/__init__.py b/boxview/__init__.py
index <HASH>..<HASH> 100644
--- a/boxview/__init__.py
+++ b/boxview/__init__.py
@@ -1,7 +1,7 @@
__version_info__ = {
'major': 1,
'minor': 1,
- 'micro': 1,
+ 'micro': 2,
'releaselevel': 'beta',
'serial': 1
} | Version bumped to <I>. | py |
diff --git a/account/views.py b/account/views.py
index <HASH>..<HASH> 100644
--- a/account/views.py
+++ b/account/views.py
@@ -411,6 +411,7 @@ class PasswordResetView(FormView):
"password_reset_url": password_reset_url,
}
subject = render_to_string("account/email/password_rese... | forcibly remove newlines from subject | py |
diff --git a/pynubank/utils/certificate_generator.py b/pynubank/utils/certificate_generator.py
index <HASH>..<HASH> 100644
--- a/pynubank/utils/certificate_generator.py
+++ b/pynubank/utils/certificate_generator.py
@@ -9,11 +9,11 @@ from pynubank.utils.http import HttpClient
class CertificateGenerator:
- def __... | feat: provide the authentication code on constructor for the CertificateGenerator | py |
diff --git a/rest_registration/__init__.py b/rest_registration/__init__.py
index <HASH>..<HASH> 100644
--- a/rest_registration/__init__.py
+++ b/rest_registration/__init__.py
@@ -1,2 +1,2 @@
-__version__ = "0.4.4"
+__version__ = "0.4.5"
default_app_config = 'rest_registration.apps.RestRegistrationConfig' | Version <I> Changes: * Resolved issue #<I>: Allowing to use custom user field for verification * Resolved issue #<I>: added SEND_RESET_PASSWORD_LINK_SERIALIZER_USE_EMAIL setting * Resolved issue #<I>: customizable send reset password link serializer * Fixed reset password in case user is unverified and one-time use... | py |
diff --git a/visidata/vdtui/__init__.py b/visidata/vdtui/__init__.py
index <HASH>..<HASH> 100644
--- a/visidata/vdtui/__init__.py
+++ b/visidata/vdtui/__init__.py
@@ -738,16 +738,18 @@ class VisiData(Extensible):
else:
fail('sheet not on stack')
- def push(self, vs):
+ def push(self, vs, s... | [api] add sheets kwarg to push() | py |
diff --git a/tests/unit/modules/test_zcbuildout.py b/tests/unit/modules/test_zcbuildout.py
index <HASH>..<HASH> 100644
--- a/tests/unit/modules/test_zcbuildout.py
+++ b/tests/unit/modules/test_zcbuildout.py
@@ -471,6 +471,7 @@ class BuildoutOnlineTestCase(Base):
self.assertTrue('buildout -c buildout.cfg -n ins... | Add TODO remark on possible removal of the unicode-test tests | py |
diff --git a/hwinfo/util/__init__.py b/hwinfo/util/__init__.py
index <HASH>..<HASH> 100644
--- a/hwinfo/util/__init__.py
+++ b/hwinfo/util/__init__.py
@@ -33,7 +33,10 @@ class CommandParser(object):
self.set_seperator(seperator)
def set_data(self, data):
- self.DATA = data.strip()
+ if dat... | Make sure data is sane before dereference I was seeing a case where data was being passed in as None and causing an exception. So to be safe, make sure data is a value before calling data.strip() | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -48,9 +48,9 @@ class ve_build_ext(build_ext):
build_ext.build_extension(self, ext)
except ext_errors:
raise BuildFailed()
- except ValueError, err:
- # may happen on Win 64 ... | Workaround for Issue<I> did not run under Python 3. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -30,7 +30,7 @@ setup(
description='python module for symphony-binding',
author='Matt Joyce',
author_email='matt@joyce.nyc',
- url='https://github.com/symphony-bindingoss/python-symphony-binding',
+ url='ht... | fix uri in setup.py | py |
diff --git a/phonopy/phonon/dos.py b/phonopy/phonon/dos.py
index <HASH>..<HASH> 100644
--- a/phonopy/phonon/dos.py
+++ b/phonopy/phonon/dos.py
@@ -363,9 +363,10 @@ class PartialDos(Dos):
iw = thm.get_integration_weights()
for i, iw in enumerate(thm):
w = self._weights[i]
- for ... | Use dense numpy expression for speeding up | py |
diff --git a/ravendb/documents/commands/crud.py b/ravendb/documents/commands/crud.py
index <HASH>..<HASH> 100644
--- a/ravendb/documents/commands/crud.py
+++ b/ravendb/documents/commands/crud.py
@@ -470,9 +470,9 @@ class _ConditionalGetResult:
self.results = results
self.change_vector = change_vector
... | RDBC-<I> Bugfixes and improvements in ConditionalGetResult | py |
diff --git a/pyeda/nfexpr.py b/pyeda/nfexpr.py
index <HASH>..<HASH> 100644
--- a/pyeda/nfexpr.py
+++ b/pyeda/nfexpr.py
@@ -186,7 +186,7 @@ def DNF_Or(*args):
clauses = set()
for arg in args:
int2lit.update(arg.int2lit)
- clauses |= arg.clauses
+ clauses.update(arg.clauses)
return... | Use set.update instead of |= for clarity | py |
diff --git a/windpowerlib/wind_turbine.py b/windpowerlib/wind_turbine.py
index <HASH>..<HASH> 100644
--- a/windpowerlib/wind_turbine.py
+++ b/windpowerlib/wind_turbine.py
@@ -198,6 +198,16 @@ class WindTurbine(object):
return turbine_repr
+ def to_group(self, number_turbines=None, total_capacity=None):
... | Add method to define a group of WindTurbin objects | py |
diff --git a/normandy/settings.py b/normandy/settings.py
index <HASH>..<HASH> 100644
--- a/normandy/settings.py
+++ b/normandy/settings.py
@@ -374,6 +374,7 @@ class Base(Core, CORS, OIDC):
AWS_SECRET_ACCESS_KEY = values.Value()
AWS_STORAGE_BUCKET_NAME = values.Value()
GS_BUCKET_NAME = values.Value()
+ ... | Make default GCP storage ACL "publicRead" This makes URLs used for uploaded files much shorter and never expire. | py |
diff --git a/pymc/tests/test_convergence.py b/pymc/tests/test_convergence.py
index <HASH>..<HASH> 100644
--- a/pymc/tests/test_convergence.py
+++ b/pymc/tests/test_convergence.py
@@ -61,15 +61,6 @@ class test_geweke(TestCase):
plot(scores, path=DIR, verbose=0)
except ImportError:
pas... | Removed R-L unit test This tests turns out not to be very reliable. For now we will just trust the gibbsit implementation in FORTRAN. | py |
diff --git a/satpy/resample.py b/satpy/resample.py
index <HASH>..<HASH> 100644
--- a/satpy/resample.py
+++ b/satpy/resample.py
@@ -1229,7 +1229,7 @@ RESAMPLERS = {"kd_tree": KDTreeResampler,
"ewa": EWAResampler,
"bilinear": BilinearResampler,
"native": NativeResampler,
- ... | Fix gradient search resampler name to match what is documeted | py |
diff --git a/nodeconductor/structure/models.py b/nodeconductor/structure/models.py
index <HASH>..<HASH> 100644
--- a/nodeconductor/structure/models.py
+++ b/nodeconductor/structure/models.py
@@ -566,7 +566,7 @@ class Certification(core_models.UuidMixin,
ordering = ['-name']
def __str__(self):
- r... | Fix string representation of certification [WAL-<I>] | py |
diff --git a/version.py b/version.py
index <HASH>..<HASH> 100644
--- a/version.py
+++ b/version.py
@@ -42,7 +42,7 @@ def call_git_describe(abbrev=4):
stdout=PIPE, stderr=PIPE)
p.stderr.close()
line = p.stdout.readlines()[0]
- return line.strip()
+ return line.strip().d... | Properly fix packaging problem for Python3. On download via pip we would fail because str has no .decode() method. | py |
diff --git a/Lib/glyphsLib/classes.py b/Lib/glyphsLib/classes.py
index <HASH>..<HASH> 100755
--- a/Lib/glyphsLib/classes.py
+++ b/Lib/glyphsLib/classes.py
@@ -1603,7 +1603,7 @@ class GSFontMaster(GSBase):
class GSNode(GSBase):
- __slots__ = ("_userData", "position", "smooth", "type")
+ __slots__ = ("_userDat... | Allow setting GSNode position from tuples | py |
diff --git a/openquake/calculators/views.py b/openquake/calculators/views.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/views.py
+++ b/openquake/calculators/views.py
@@ -239,6 +239,7 @@ def view_params(token, dstore):
'ses_per_logic_tree_path', 'truncation_level',
'rupture_mes... | adding pointsource_distance to view_params so that it appears in report.rst Former-commit-id: <I>fefb<I>e<I>a<I>b9b<I>e<I>d<I>a<I> | py |
diff --git a/{{cookiecutter.repo_name}}/config/settings/common.py b/{{cookiecutter.repo_name}}/config/settings/common.py
index <HASH>..<HASH> 100644
--- a/{{cookiecutter.repo_name}}/config/settings/common.py
+++ b/{{cookiecutter.repo_name}}/config/settings/common.py
@@ -152,8 +152,6 @@ TEMPLATES = [
'd... | fixing a bug in the allauth configuration | py |
diff --git a/genanki/__init__.py b/genanki/__init__.py
index <HASH>..<HASH> 100644
--- a/genanki/__init__.py
+++ b/genanki/__init__.py
@@ -83,7 +83,7 @@ class Model:
"css": self.css,
"did": deck_id,
"flds": self.fields,
- "id": "1425274727596",
+ "id": str(self.model_id),
"latexPos... | Actually set model_id properly in col | py |
diff --git a/PyXiaomiGateway/__init__.py b/PyXiaomiGateway/__init__.py
index <HASH>..<HASH> 100644
--- a/PyXiaomiGateway/__init__.py
+++ b/PyXiaomiGateway/__init__.py
@@ -143,7 +143,7 @@ class PyXiaomiGateway:
cmd = data['cmd']
if cmd == 'heartbeat' and data['model'] == 'gateway':
... | Commented out command heartbeat for sensors notification to avoid false positive statuses. Only report command is reliable and will notify home-assistant | py |
diff --git a/src/urh/models/FileIconProvider.py b/src/urh/models/FileIconProvider.py
index <HASH>..<HASH> 100644
--- a/src/urh/models/FileIconProvider.py
+++ b/src/urh/models/FileIconProvider.py
@@ -13,8 +13,12 @@ class FileIconProvider(QFileIconProvider):
def icon(self, arg):
if isinstance(arg, QFileIn... | avoid crash in docker, due to UnicodeEncodeError | py |
diff --git a/synapse/cores/sqlite.py b/synapse/cores/sqlite.py
index <HASH>..<HASH> 100644
--- a/synapse/cores/sqlite.py
+++ b/synapse/cores/sqlite.py
@@ -19,13 +19,14 @@ inittable = '''
CREATE TABLE %s (
id VARCHAR,
prop VARCHAR,
- strval VARCHAR,
+ strval TEXT,
intval BIGINT,
stamp BIGINT
... | changed strval to TEXT field and added prop,time index | py |
diff --git a/stix2patterns/test/test_inspector.py b/stix2patterns/test/test_inspector.py
index <HASH>..<HASH> 100644
--- a/stix2patterns/test/test_inspector.py
+++ b/stix2patterns/test/test_inspector.py
@@ -34,7 +34,7 @@ def test_qualifiers(pattern, expected_qualifiers):
(u"[foo:bar = 1] or ([foo:baz = false] foll... | Fixed a function naming typo: test_observation_opts -> test_observation_ops It was supposed to test extraction of observation operators; it had nothing to do with options. | py |
diff --git a/spyderlib/widgets/sourcecode/codeeditor.py b/spyderlib/widgets/sourcecode/codeeditor.py
index <HASH>..<HASH> 100644
--- a/spyderlib/widgets/sourcecode/codeeditor.py
+++ b/spyderlib/widgets/sourcecode/codeeditor.py
@@ -2121,6 +2121,16 @@ class CodeEditor(TextEditBaseWidget):
Qt.Key_... | Editor: Add automatic insertion of triple quotes -. If now the user writes three double quotes, she will get six and the cursor centered between them. | py |
diff --git a/powerline_shell/segments/cwd.py b/powerline_shell/segments/cwd.py
index <HASH>..<HASH> 100644
--- a/powerline_shell/segments/cwd.py
+++ b/powerline_shell/segments/cwd.py
@@ -58,10 +58,6 @@ def add_cwd_segment(powerline):
cwd = cwd.decode("utf-8")
cwd = replace_home_dir(cwd)
- if powerlin... | respect max dir setting for plain cwd | py |
diff --git a/wagtailgmaps/wagtail_hooks.py b/wagtailgmaps/wagtail_hooks.py
index <HASH>..<HASH> 100644
--- a/wagtailgmaps/wagtail_hooks.py
+++ b/wagtailgmaps/wagtail_hooks.py
@@ -8,8 +8,12 @@ from wagtail.wagtailcore import hooks
@hooks.register('insert_editor_js')
def editor_js():
+ maps_js = 'https://maps.goog... | Include language option for Google API (#<I>) | py |
diff --git a/corral/template/settings.py b/corral/template/settings.py
index <HASH>..<HASH> 100644
--- a/corral/template/settings.py
+++ b/corral/template/settings.py
@@ -42,7 +42,7 @@ CONNECTION = "sqlite:///${project_name}-dev.db"
# Loader class
-LOADER = "${project_name}.load.Load"
+LOADER = "${project_name}.lo... | changed the name of the templat loader for the correct one | py |
diff --git a/holoviews/element/raster.py b/holoviews/element/raster.py
index <HASH>..<HASH> 100644
--- a/holoviews/element/raster.py
+++ b/holoviews/element/raster.py
@@ -283,8 +283,8 @@ class Image(Dataset, Raster, SheetCoordinateSystem):
if not xdensity: xdensity = 1
if not ydensity: ydensit... | Fixed error message for Image data with wrong dimensionality (#<I>) | py |
diff --git a/babelfish/country.py b/babelfish/country.py
index <HASH>..<HASH> 100644
--- a/babelfish/country.py
+++ b/babelfish/country.py
@@ -65,7 +65,7 @@ class Country(object):
:rtype: :class:`Country`
"""
- return cls(*get_country_converter(converter).reverse(code))
+ return cls(ge... | Revert incorrect changes to fromcode in Country | py |
diff --git a/graphene/types/schema.py b/graphene/types/schema.py
index <HASH>..<HASH> 100644
--- a/graphene/types/schema.py
+++ b/graphene/types/schema.py
@@ -22,7 +22,7 @@ from graphql import (
GraphQLObjectType,
GraphQLSchema,
GraphQLString,
- INVALID,
+ Undefined,
)
from ..utils.str_converte... | Replace INVALID with Undefined (#<I>) | py |
diff --git a/pandas/io/parsers.py b/pandas/io/parsers.py
index <HASH>..<HASH> 100755
--- a/pandas/io/parsers.py
+++ b/pandas/io/parsers.py
@@ -119,9 +119,9 @@ header : int, list of int, default 'infer'
``skip_blank_lines=True``, so ``header=0`` denotes the first line of
data rather than the first line of the ... | Fixing 'names' doc for 'read_csv' (#<I>) | py |
diff --git a/consul/base.py b/consul/base.py
index <HASH>..<HASH> 100644
--- a/consul/base.py
+++ b/consul/base.py
@@ -1004,7 +1004,7 @@ class Consul(object):
data['check'] = check
token = token or self.agent.token
if token:
- data['token'] = token
+ ... | Catalog.register/deregister should put token to WriteRequest | py |
diff --git a/src/foremast/elb/create_elb.py b/src/foremast/elb/create_elb.py
index <HASH>..<HASH> 100644
--- a/src/foremast/elb/create_elb.py
+++ b/src/foremast/elb/create_elb.py
@@ -111,7 +111,6 @@ class SpinnakerELB:
check_task(taskid)
self.add_listener_policy(json_data)
- elb_settings = se... | removed lingering line that I forgot about | py |
diff --git a/salt/utils/sdb.py b/salt/utils/sdb.py
index <HASH>..<HASH> 100644
--- a/salt/utils/sdb.py
+++ b/salt/utils/sdb.py
@@ -10,7 +10,7 @@ def sdb_get(uri, opts):
Get a value from a db, using a uri in the form of sdb://<profile>/<key>. If
the uri provided does not start with sdb://, then it will be retu... | Force a string type comparison for startswith() | py |
diff --git a/pip_accel/__init__.py b/pip_accel/__init__.py
index <HASH>..<HASH> 100644
--- a/pip_accel/__init__.py
+++ b/pip_accel/__init__.py
@@ -77,7 +77,7 @@ from pip.exceptions import DistributionNotFound
from pip.req import InstallRequirement
# Semi-standard module versioning.
-__version__ = '0.42'
+__version_... | Really cleanup `.eggs' symbolic links (related to #<I>) | py |
diff --git a/mockito/mockito.py b/mockito/mockito.py
index <HASH>..<HASH> 100644
--- a/mockito/mockito.py
+++ b/mockito/mockito.py
@@ -154,7 +154,7 @@ class _OMITTED(object):
OMITTED = _OMITTED()
-def when(obj, strict=None):
+def when(obj, strict=True):
"""Central interface to stub functions on a given `obj`
... | Set `strict=True` in the when fn definition | py |
diff --git a/h11/tests/test_against_stdlib_http.py b/h11/tests/test_against_stdlib_http.py
index <HASH>..<HASH> 100644
--- a/h11/tests/test_against_stdlib_http.py
+++ b/h11/tests/test_against_stdlib_http.py
@@ -41,7 +41,9 @@ def test_h11_as_client():
data = bytearray()
done = False
while not ... | Use a small read buffer in end-to-end tests Exercises more code this way | py |
diff --git a/openquake/risk/job/general.py b/openquake/risk/job/general.py
index <HASH>..<HASH> 100644
--- a/openquake/risk/job/general.py
+++ b/openquake/risk/job/general.py
@@ -82,6 +82,7 @@ def output(fn):
if writer:
metadata = {
+ "deterministic": False,
... | deterministic: False returns in place, it is required | py |
diff --git a/planet/auth.py b/planet/auth.py
index <HASH>..<HASH> 100644
--- a/planet/auth.py
+++ b/planet/auth.py
@@ -18,6 +18,8 @@ import abc
import json
import logging
import os
+import pathlib
+import typing
import httpx
import jwt
@@ -49,7 +51,8 @@ class Auth(metaclass=abc.ABCMeta):
return auth
... | Be stricter about typing in two methods Mypy <I> (yesterday) became more strict. | py |
diff --git a/src/_pytest/capture.py b/src/_pytest/capture.py
index <HASH>..<HASH> 100644
--- a/src/_pytest/capture.py
+++ b/src/_pytest/capture.py
@@ -358,8 +358,7 @@ class CaptureFixture(object):
self._captured_err = self.captureclass.EMPTY_BUFFER
def _start(self):
- # Start if not started yet
-... | CaptureFixture: do not crash in _suspend when not started This happened in test_pdb_with_caplog_on_pdb_invocation. | py |
diff --git a/revolver/tool/git_extras.py b/revolver/tool/git_extras.py
index <HASH>..<HASH> 100644
--- a/revolver/tool/git_extras.py
+++ b/revolver/tool/git_extras.py
@@ -6,7 +6,7 @@ from revolver.core import sudo
from revolver import command, package
def install():
- package.ensure(["curl", "git-core"])
+ pa... | Missing dependency (make) added to tool.git_extras | py |
diff --git a/dipper/sources/OMIMSource.py b/dipper/sources/OMIMSource.py
index <HASH>..<HASH> 100644
--- a/dipper/sources/OMIMSource.py
+++ b/dipper/sources/OMIMSource.py
@@ -90,6 +90,25 @@ class OMIMSource(Source):
"""
raise NotImplementedError
+ # these next two should propagate to parent class... | of dubious utility. disentangling test behavior from ingest | py |
diff --git a/marshmallow/schema.py b/marshmallow/schema.py
index <HASH>..<HASH> 100644
--- a/marshmallow/schema.py
+++ b/marshmallow/schema.py
@@ -536,7 +536,7 @@ class BaseSchema(base.SchemaABC):
.. versionadded:: 1.0.0
"""
- result, errors = self._do_load(data, many, partial, postprocess=Tr... | Pass partial as a kwarg for backwards compat with Schemas that overrde _do_load | py |
diff --git a/botometer/__init__.py b/botometer/__init__.py
index <HASH>..<HASH> 100644
--- a/botometer/__init__.py
+++ b/botometer/__init__.py
@@ -127,8 +127,9 @@ class Botometer(object):
def check_accounts_in(self, accounts, full_user_object=False,
on_error=None, **kwargs):
- s... | added api_url to creae_from method | py |
diff --git a/toml.py b/toml.py
index <HASH>..<HASH> 100644
--- a/toml.py
+++ b/toml.py
@@ -74,7 +74,11 @@ def loads(s):
pair[0] = pair[0].strip()
pair[1] = pair[1].strip()
value = load_value(pair[1])
- currentlevel[pair[0]] = value
+ try:
+ cur... | Fix issue with overwriting duplicate keys. | py |
diff --git a/vendor/visualmetrics.py b/vendor/visualmetrics.py
index <HASH>..<HASH> 100755
--- a/vendor/visualmetrics.py
+++ b/vendor/visualmetrics.py
@@ -639,9 +639,9 @@ def eliminate_duplicate_frames(directory):
# Do another pass looking for the last frame but with an allowance for up
# to... | Change so <I>% (instead of <I>%) of pixels can differ when finding last visual change. (#<I>) | py |
diff --git a/holoviews/core/data.py b/holoviews/core/data.py
index <HASH>..<HASH> 100644
--- a/holoviews/core/data.py
+++ b/holoviews/core/data.py
@@ -1159,6 +1159,17 @@ class DictColumns(DataColumns):
@classmethod
+ def validate(cls, columns):
+ dimensions = columns.dimensions(label=True)
+ n... | Added validation method to DictColumns interface | py |
diff --git a/run_tests.py b/run_tests.py
index <HASH>..<HASH> 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -331,6 +331,17 @@ class TestFabric(object):
pass
+class TestIterateThroughEachObject(object):
+ """todo:
+ iterate through each object and return a list of them.
+
+ look into being able to us... | some more todo for tomorrow. studying more salt tonight | py |
diff --git a/parler/admin.py b/parler/admin.py
index <HASH>..<HASH> 100644
--- a/parler/admin.py
+++ b/parler/admin.py
@@ -544,6 +544,13 @@ class TranslatableInlineModelAdmin(BaseTranslatableAdmin, InlineModelAdmin):
return FormSet
+ def get_form_language(self, request, obj=None):
+ if self._has_... | Added missing get_form_language() for the inline-tabs support | py |
diff --git a/src/rinoh/attribute.py b/src/rinoh/attribute.py
index <HASH>..<HASH> 100644
--- a/src/rinoh/attribute.py
+++ b/src/rinoh/attribute.py
@@ -37,7 +37,7 @@ class AttributeType(object):
@classmethod
def parse_string(cls, string):
- raise NotImplementedError
+ raise NotImplementedError(... | Show which subclass hasn't implemented parse_string | py |
diff --git a/windpowerlib/wind_turbine.py b/windpowerlib/wind_turbine.py
index <HASH>..<HASH> 100644
--- a/windpowerlib/wind_turbine.py
+++ b/windpowerlib/wind_turbine.py
@@ -198,12 +198,14 @@ def read_turbine_data(**kwargs):
def get_turbine_types(print_out=True, **kwargs):
r"""
- Get the names of all possib... | Changes in docstring of get_turbine_types | py |
diff --git a/openquake/calculators/event_based_risk.py b/openquake/calculators/event_based_risk.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/event_based_risk.py
+++ b/openquake/calculators/event_based_risk.py
@@ -167,8 +167,9 @@ class EbrCalculator(base.RiskCalculator):
if not self.oqparam.ground... | Added comment [skip CI] | py |
diff --git a/airflow/jobs/scheduler_job.py b/airflow/jobs/scheduler_job.py
index <HASH>..<HASH> 100644
--- a/airflow/jobs/scheduler_job.py
+++ b/airflow/jobs/scheduler_job.py
@@ -25,7 +25,7 @@ import sys
import threading
import time
from collections import defaultdict
-from contextlib import redirect_stderr, redirec... | Improve process terminating in scheduler_job (#<I>) | py |
diff --git a/clients/python/cli.py b/clients/python/cli.py
index <HASH>..<HASH> 100755
--- a/clients/python/cli.py
+++ b/clients/python/cli.py
@@ -181,6 +181,10 @@ class GirderCli(GirderClient):
filecount = len(subdircontents)
for (ind, current_file) in enumerate(subdircontents):
filepath... | fix for blacklisting files in upload leaf-folder-as-item path in python client | py |
diff --git a/openquake/commonlib/readinput.py b/openquake/commonlib/readinput.py
index <HASH>..<HASH> 100644
--- a/openquake/commonlib/readinput.py
+++ b/openquake/commonlib/readinput.py
@@ -583,6 +583,8 @@ def get_gsim_lt(oqparam, trts=('*',)):
gmfcorr = oqparam.correl_model
for trt, gsims in gsim_lt.values.... | Added a comment [ci skip] | py |
diff --git a/zipline/modelling/engine.py b/zipline/modelling/engine.py
index <HASH>..<HASH> 100644
--- a/zipline/modelling/engine.py
+++ b/zipline/modelling/engine.py
@@ -28,10 +28,11 @@ from pandas import (
from zipline.lib.adjusted_array import ensure_ndarray
from zipline.errors import NoFurtherDataError
-from zi... | STY: Use relative imports in engine.py. | py |
diff --git a/pingouin/tests/test_parametric.py b/pingouin/tests/test_parametric.py
index <HASH>..<HASH> 100644
--- a/pingouin/tests/test_parametric.py
+++ b/pingouin/tests/test_parametric.py
@@ -85,7 +85,7 @@ class TestParametric(TestCase):
# Two-way ANOVA with balanced design
df_aov2 = read_dataset('... | <I>% coverage for parametric? | py |
diff --git a/myql/myql.py b/myql/myql.py
index <HASH>..<HASH> 100755
--- a/myql/myql.py
+++ b/myql/myql.py
@@ -119,7 +119,7 @@ class YQL(object):
cond = " ".join(cond)
else:
- if isinstance(cond[2], (str, buffer)):
+ if isinstance(cond[2], str):
var = re.m... | fixing python3 buffer type issue | py |
diff --git a/mad/__init__.py b/mad/__init__.py
index <HASH>..<HASH> 100644
--- a/mad/__init__.py
+++ b/mad/__init__.py
@@ -17,5 +17,5 @@
# along with MAD. If not, see <http://www.gnu.org/licenses/>.
#
-__version__ = "0.0.2"
+__version__ = "0.0.3" | Fixing the failed update of the version number | py |
diff --git a/crossplane/analyzer.py b/crossplane/analyzer.py
index <HASH>..<HASH> 100644
--- a/crossplane/analyzer.py
+++ b/crossplane/analyzer.py
@@ -1174,6 +1174,7 @@ DIRECTIVES = {
],
'resolver': [
NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_CONF_1MORE,
+ NGX_HTTP_UPS_C... | add resolver in upstream support, since <I> | py |
diff --git a/onnx/backend/test/cmd_tools.py b/onnx/backend/test/cmd_tools.py
index <HASH>..<HASH> 100644
--- a/onnx/backend/test/cmd_tools.py
+++ b/onnx/backend/test/cmd_tools.py
@@ -42,7 +42,7 @@ def generate_data(args):
# model tests
model_cases = model_test.collect_testcases()
for case in model_cases:... | Fix test data generation script for real models (#<I>) | py |
diff --git a/eventsourcing/__init__.py b/eventsourcing/__init__.py
index <HASH>..<HASH> 100644
--- a/eventsourcing/__init__.py
+++ b/eventsourcing/__init__.py
@@ -1 +1 @@
-__version__ = "7.2.1rc0"
+__version__ = "7.2.1" | Increased version number to <I>. | py |
diff --git a/pyad2usb/zonetracking.py b/pyad2usb/zonetracking.py
index <HASH>..<HASH> 100644
--- a/pyad2usb/zonetracking.py
+++ b/pyad2usb/zonetracking.py
@@ -54,18 +54,19 @@ class Zonetracker(object):
zone = -1
if isinstance(message, messages.ExpanderMessage):
- zone = self._expander_to_... | Fixed issue with picking up a relay message as a zone fault. | py |
diff --git a/openquake/commonlib/source_reader.py b/openquake/commonlib/source_reader.py
index <HASH>..<HASH> 100644
--- a/openquake/commonlib/source_reader.py
+++ b/openquake/commonlib/source_reader.py
@@ -204,7 +204,7 @@ def _get_csm(full_lt, groups):
src._wkt = src.wkt()
idx += 1
... | Added a sorted(s.grp_id for s in srcs) | py |
diff --git a/openquake/hazardlib/gsim/gsim_table.py b/openquake/hazardlib/gsim/gsim_table.py
index <HASH>..<HASH> 100644
--- a/openquake/hazardlib/gsim/gsim_table.py
+++ b/openquake/hazardlib/gsim/gsim_table.py
@@ -306,7 +306,6 @@ class GMPETable(GMPE):
REQUIRES_RUPTURE_PARAMETERS = {"mag"}
GMPE_TABLE = Non... | Removed GMPE_DIR Former-commit-id: f<I>d7c<I>e8aba5b<I>cf<I>a7c0e<I>c6e<I> | py |
diff --git a/master/buildbot/test/integration/test_try_client_e2e.py b/master/buildbot/test/integration/test_try_client_e2e.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/test/integration/test_try_client_e2e.py
+++ b/master/buildbot/test/integration/test_try_client_e2e.py
@@ -31,8 +31,10 @@ class TryClientE2E(Run... | test: Pick a free port in try client e2e test | py |
diff --git a/test_project/settings.py b/test_project/settings.py
index <HASH>..<HASH> 100644
--- a/test_project/settings.py
+++ b/test_project/settings.py
@@ -15,7 +15,7 @@ MANAGERS = ADMINS
# Add 'postgresql_psycopg2', 'mysql', 'sqlite3'
DATABASES = {
'default': {
- 'ENGINE': 'django.db.backends.postgres... | changed backend to sqlite for travis | py |
diff --git a/blitzdb/backends/sql/backend.py b/blitzdb/backends/sql/backend.py
index <HASH>..<HASH> 100644
--- a/blitzdb/backends/sql/backend.py
+++ b/blitzdb/backends/sql/backend.py
@@ -464,7 +464,7 @@ class Backend(BaseBackend):
def commit(self,transaction = None):
if not self._transactions:#should ne... | Do not raise an exception if commit is called without an ongoing transaction. | py |
diff --git a/gwpy/tests/test_timeseries.py b/gwpy/tests/test_timeseries.py
index <HASH>..<HASH> 100644
--- a/gwpy/tests/test_timeseries.py
+++ b/gwpy/tests/test_timeseries.py
@@ -198,7 +198,10 @@ class TimeSeriesTestMixin(object):
os.remove(f.name)
def test_read_write_gwf(self):
- sel... | tests: protect against missing lalframe | py |
diff --git a/pymbar/timeseries.py b/pymbar/timeseries.py
index <HASH>..<HASH> 100644
--- a/pymbar/timeseries.py
+++ b/pymbar/timeseries.py
@@ -389,7 +389,8 @@ def normalizedFluctuationCorrelationFunction(A_n, B_n=None, N_max=None, norm=Tru
N_max : int, default=None
if specified, will only compute correlat... | Fixes missing blank line before Returns section in docs | py |
diff --git a/example/douban.py b/example/douban.py
index <HASH>..<HASH> 100644
--- a/example/douban.py
+++ b/example/douban.py
@@ -16,6 +16,9 @@ douban = oauth.remote_app(
request_token_params={'scope': 'douban_basic_common'},
access_token_url='https://www.douban.com/service/auth2/token',
authorize_url='... | response header of douban is shit | py |
diff --git a/insights/core/spec_factory.py b/insights/core/spec_factory.py
index <HASH>..<HASH> 100644
--- a/insights/core/spec_factory.py
+++ b/insights/core/spec_factory.py
@@ -243,8 +243,12 @@ class TextFileProvider(FileProvider):
rc, out = self.ctx.shell_out(args, keep_rc=True, env=SAFE_ENV)
... | Fix unicode read error for files with byte chars (#<I>) * Fixes error in TextFileProvider when using Python 3 and reading files that have byte chars. | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.