diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/oauthlib/oauth2/rfc6749/request_validator.py b/oauthlib/oauth2/rfc6749/request_validator.py
index <HASH>..<HASH> 100644
--- a/oauthlib/oauth2/rfc6749/request_validator.py
+++ b/oauthlib/oauth2/rfc6749/request_validator.py
@@ -332,7 +332,14 @@ class RequestValidator(object):
}
Note t... | Update save_bearer_token docs to mention how the token is passed in as a reference (#<I>) | py |
diff --git a/mama_cas/mixins.py b/mama_cas/mixins.py
index <HASH>..<HASH> 100644
--- a/mama_cas/mixins.py
+++ b/mama_cas/mixins.py
@@ -183,7 +183,7 @@ class CustomAttributesMixin(object):
"The MAMA_CAS_USER_ATTRIBUTES setting is deprecated and "
"will be removed in MamaCAS 1.0. Use the... | Increase deprecation level for settings | py |
diff --git a/rampage/ramps.py b/rampage/ramps.py
index <HASH>..<HASH> 100644
--- a/rampage/ramps.py
+++ b/rampage/ramps.py
@@ -331,7 +331,10 @@ class Channel(object):
else:
start_time = all_kf_times[region_number]
end_time = all_kf_times[region_number + 1]
- ... | Fixed floating point bug Stupid rounding errrors | py |
diff --git a/tests/test_modeling_sew.py b/tests/test_modeling_sew.py
index <HASH>..<HASH> 100644
--- a/tests/test_modeling_sew.py
+++ b/tests/test_modeling_sew.py
@@ -467,7 +467,7 @@ class SEWModelIntegrationTest(unittest.TestCase):
self.assertTrue(torch.allclose(outputs[:, :4, :4], expected_outputs_first, a... | Update SEW integration test tolerance (#<I>) | py |
diff --git a/cpenv/_self_version_check.py b/cpenv/_self_version_check.py
index <HASH>..<HASH> 100644
--- a/cpenv/_self_version_check.py
+++ b/cpenv/_self_version_check.py
@@ -16,7 +16,10 @@ from .versions import parse_version, default_version
_cache_expiration = 3600 # seconds or 1 hour
_warning_template = '''
WARN... | change: update new version warning to include pipx command. | py |
diff --git a/gui/tools/propeditor.py b/gui/tools/propeditor.py
index <HASH>..<HASH> 100644
--- a/gui/tools/propeditor.py
+++ b/gui/tools/propeditor.py
@@ -175,7 +175,7 @@ class PropertyEditorPanel(wx.Panel):
if p:
name = p.GetName()
spec = p.GetPyClientData()
- if 'enum' in... | fixed None issue when 'complex' property changes | py |
diff --git a/rst2rst/writer.py b/rst2rst/writer.py
index <HASH>..<HASH> 100644
--- a/rst2rst/writer.py
+++ b/rst2rst/writer.py
@@ -100,11 +100,16 @@ class RSTTranslator(nodes.NodeVisitor):
"""
- self.spacer = '' # Spacer is used to delay spacing between parts.
- # As an exa... | Improved docstring about Writer.spacer. Removed unused Writer.context. | py |
diff --git a/examples/csv_gen/sccsv/fields.py b/examples/csv_gen/sccsv/fields.py
index <HASH>..<HASH> 100644
--- a/examples/csv_gen/sccsv/fields.py
+++ b/examples/csv_gen/sccsv/fields.py
@@ -79,6 +79,7 @@ fields = {
re.compile(r'CVSS Base Score : (.*?)\\n'),
re.compile(r'<cvss_base_score>(.*?)... | I is stupids. forgot to close the dictionary. | py |
diff --git a/django_extensions/utils/uuid.py b/django_extensions/utils/uuid.py
index <HASH>..<HASH> 100644
--- a/django_extensions/utils/uuid.py
+++ b/django_extensions/utils/uuid.py
@@ -506,8 +506,8 @@ def uuid1(node=None, clock_seq=None):
def uuid3(namespace, name):
"""Generate a UUID from the MD5 hash of a n... | removed sha1/md5 import in favor of hashlib | py |
diff --git a/setuptools/dist.py b/setuptools/dist.py
index <HASH>..<HASH> 100644
--- a/setuptools/dist.py
+++ b/setuptools/dist.py
@@ -144,13 +144,11 @@ def read_pkg_file(self, file):
self.license_files = _read_list_from_msg(msg, 'license-file')
-def ensure_summary_single_line(val):
- """Validate that the s... | Restore single_line as a simple, universal validator. | py |
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
index <HASH>..<HASH> 100755
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -238,7 +238,6 @@ class easy_install(Command):
self.config_vars['usersite'] = self.install_usersite
... | Remove comment that references a setup command, but even at the time it was committed, it's not duplicate code from anything in setuptools, and I'm unaware of what a setup command is. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -37,7 +37,7 @@ params = dict(
extras_require={
'testing': [
# upstream
- 'pytest>=2.8',
+ 'pytest>=3.5',
'pytest-sugar>=0.9.1',
'collective.checkdocs',
'pytest-flake8', | Bump minimum pytest version | py |
diff --git a/pushbullet/filetype.py b/pushbullet/filetype.py
index <HASH>..<HASH> 100644
--- a/pushbullet/filetype.py
+++ b/pushbullet/filetype.py
@@ -1,7 +1,7 @@
def _magic_get_file_type(f, _):
file_type = magic.from_buffer(f.read(1024), mime=True)
f.seek(0)
- return file_type
+ return file_type.decod... | Fix libmagic issue with Python 3 | py |
diff --git a/sk_dsp_comm/__init__.py b/sk_dsp_comm/__init__.py
index <HASH>..<HASH> 100644
--- a/sk_dsp_comm/__init__.py
+++ b/sk_dsp_comm/__init__.py
@@ -4,6 +4,5 @@ from . import fec_conv
from . import fir_design_helper
from . import iir_design_helper
from . import multirate_helper
-from . import optfir
from . im... | Removed optfir from __init__.py. | py |
diff --git a/gridmap/job.py b/gridmap/job.py
index <HASH>..<HASH> 100644
--- a/gridmap/job.py
+++ b/gridmap/job.py
@@ -147,8 +147,10 @@ class Job(object):
self.environment = {}
for env_var, value in os.environ.items():
try:
- env_var = env_var.decode()
- valu... | Fix unicode issue with Python 3 | py |
diff --git a/warehouse/migrations/versions/4490777c984f_migrate_existing_data_for_release_is_.py b/warehouse/migrations/versions/4490777c984f_migrate_existing_data_for_release_is_.py
index <HASH>..<HASH> 100644
--- a/warehouse/migrations/versions/4490777c984f_migrate_existing_data_for_release_is_.py
+++ b/warehouse/mig... | Set a <I>s timeout for this data migration (#<I>) | py |
diff --git a/master/buildbot/util/service.py b/master/buildbot/util/service.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/util/service.py
+++ b/master/buildbot/util/service.py
@@ -484,10 +484,6 @@ class BuildbotServiceManager(AsyncMultiService, config.ConfiguredMixin,
# it has already called, so... | service: Don't set parent back to master after disownServiceParent() | py |
diff --git a/osprey/config.py b/osprey/config.py
index <HASH>..<HASH> 100644
--- a/osprey/config.py
+++ b/osprey/config.py
@@ -44,7 +44,7 @@ from . import eval_scopes
FIELDS = {
'estimator': ['pickle', 'eval', 'eval_scope', 'entry_point',
- 'params'],
+ 'param... | Add "module" estimator spec Import a (possibly local) module and look for a global named `estimator` | py |
diff --git a/src/flapjack/decoders.py b/src/flapjack/decoders.py
index <HASH>..<HASH> 100644
--- a/src/flapjack/decoders.py
+++ b/src/flapjack/decoders.py
@@ -2,6 +2,7 @@
"""
import abc
import mimeparse
+import json
from . import exceptions
@@ -63,9 +64,26 @@ class Form(Decoder):
return obj
+class ... | Added json decoder | py |
diff --git a/tools/harness-thci/OpenThread.py b/tools/harness-thci/OpenThread.py
index <HASH>..<HASH> 100644
--- a/tools/harness-thci/OpenThread.py
+++ b/tools/harness-thci/OpenThread.py
@@ -3219,7 +3219,7 @@ class OpenThreadTHCI(object):
return dua
def __addDefaultDomainPrefix(self):
- self.conf... | [thci] do not set `P_slaac` flag for Domain prefix (#<I>) According to the Thread Specification the `P_slaac` flag should be set to false for the Domain prefix. | py |
diff --git a/logtool/log_wrap.py b/logtool/log_wrap.py
index <HASH>..<HASH> 100644
--- a/logtool/log_wrap.py
+++ b/logtool/log_wrap.py
@@ -89,7 +89,7 @@ class log_call (log_trace):
x_args = args if not instance else ((instance,) + args)
arg_str = ", ".join ("%s=%r" % entry for entry in
... | hasattr is better than dir | py |
diff --git a/lib/pyfrc/mains/cli_deploy.py b/lib/pyfrc/mains/cli_deploy.py
index <HASH>..<HASH> 100644
--- a/lib/pyfrc/mains/cli_deploy.py
+++ b/lib/pyfrc/mains/cli_deploy.py
@@ -100,7 +100,7 @@ class PyFrcDeploy:
del_cmd %= {"py_deploy_dir": py_deploy_dir}
- check_version = '/usr/local/bin/... | Probably should put the actual version in the string | py |
diff --git a/masonite/commands/ControllerCommand.py b/masonite/commands/ControllerCommand.py
index <HASH>..<HASH> 100644
--- a/masonite/commands/ControllerCommand.py
+++ b/masonite/commands/ControllerCommand.py
@@ -9,10 +9,15 @@ class ControllerCommand(Command):
controller
{name : Name of the controller y... | Creating a controller should not have to type Controller at the end #<I> | py |
diff --git a/xclim/core/calendar.py b/xclim/core/calendar.py
index <HASH>..<HASH> 100644
--- a/xclim/core/calendar.py
+++ b/xclim/core/calendar.py
@@ -451,7 +451,7 @@ def percentile_doy(
"""Percentile value for each day of the year.
Return the climatological percentile over a moving window around each day o... | Remove & in link to HyndmanFan | py |
diff --git a/arangodb/models.py b/arangodb/models.py
index <HASH>..<HASH> 100644
--- a/arangodb/models.py
+++ b/arangodb/models.py
@@ -20,6 +20,7 @@ class CollectionModel(object):
except:
cls.collection_instance = Collection.get_loaded_collection(name=name)
+ return cls()
def __ini... | Return from init method a instance | py |
diff --git a/hug/api.py b/hug/api.py
index <HASH>..<HASH> 100644
--- a/hug/api.py
+++ b/hug/api.py
@@ -167,7 +167,7 @@ class HTTPInterfaceAPI(InterfaceAPI):
for method, versions in handler.items():
for version, function in versions.items():
function.interfa... | Enable pulling methods from different routes when extending | py |
diff --git a/bitfield/__init__.py b/bitfield/__init__.py
index <HASH>..<HASH> 100644
--- a/bitfield/__init__.py
+++ b/bitfield/__init__.py
@@ -22,7 +22,7 @@ class Bit(object):
self.is_set = is_set
def __repr__(self):
- return '<%s: %s>' % (self.__class__.__name__, self.number)
+ return... | Display whether a Bit is set or not in the __repr__. | py |
diff --git a/visidata/vdtui.py b/visidata/vdtui.py
index <HASH>..<HASH> 100755
--- a/visidata/vdtui.py
+++ b/visidata/vdtui.py
@@ -573,8 +573,8 @@ class VisiData:
try:
devid, x, y, z, bstate = curses.getmouse()
sheet.cursorRowIndex = sheet.topRowIndex+y-1
- ... | Slight improvement to mouse code (still dead though) | py |
diff --git a/graphistry/pygraphistry.py b/graphistry/pygraphistry.py
index <HASH>..<HASH> 100644
--- a/graphistry/pygraphistry.py
+++ b/graphistry/pygraphistry.py
@@ -62,7 +62,9 @@ class PyGraphistry(object):
PyGraphistry._hostname = server
@staticmethod
- def bind():
+ def bind(node=None, sou... | Fix bug introduced by #<I>fd<I>c<I>f9efb<I>eb9dc<I>b<I>a4bc7a<I> | py |
diff --git a/python/bigdl/dllib/utils/common.py b/python/bigdl/dllib/utils/common.py
index <HASH>..<HASH> 100644
--- a/python/bigdl/dllib/utils/common.py
+++ b/python/bigdl/dllib/utils/common.py
@@ -600,7 +600,7 @@ def _java2py(gateway, r, encoding="bytes"):
clsName = 'JavaRDD'
if clsName == 'Ja... | fix java to python (#<I>) | py |
diff --git a/keyboard/_winkeyboard.py b/keyboard/_winkeyboard.py
index <HASH>..<HASH> 100644
--- a/keyboard/_winkeyboard.py
+++ b/keyboard/_winkeyboard.py
@@ -535,7 +535,7 @@ def prepare_intercept(callback):
fake_alt = (LLKHF_INJECTED | 0x20)
# Ignore events generated by SendInput with Unicode... | Fix #<I> by not assuming we know all event types | py |
diff --git a/pychromecast/socket_client.py b/pychromecast/socket_client.py
index <HASH>..<HASH> 100644
--- a/pychromecast/socket_client.py
+++ b/pychromecast/socket_client.py
@@ -196,6 +196,10 @@ class SocketClient(threading.Thread):
self.initialize_connection()
continue
+ ... | Don't send received message to controllers if the socket connection is meant to stop If we don't stop immediately the controllers might try to send new messages (like the heartbeat controller) and that will fail as stop has been flagged. Instead we break out from the receive-loop immediately. | py |
diff --git a/jaraco/packaging/release.py b/jaraco/packaging/release.py
index <HASH>..<HASH> 100644
--- a/jaraco/packaging/release.py
+++ b/jaraco/packaging/release.py
@@ -16,6 +16,7 @@ import collections
import itertools
import re
import json
+import importlib
import requests
@@ -130,6 +131,12 @@ def bump_versi... | Allow the version to be inferred from the setup script (if importable and the params are available in a dict called 'setup_params'). | py |
diff --git a/soccer/writers.py b/soccer/writers.py
index <HASH>..<HASH> 100644
--- a/soccer/writers.py
+++ b/soccer/writers.py
@@ -134,7 +134,7 @@ class Stdout(BaseWriter):
for match in total_data['matches']:
self.scores(self.parse_result(match), add_new_line=not show_datetime)
if sho... | Fix incorrect variable Although, currently it does not get run. | py |
diff --git a/pymbar/timeseries.py b/pymbar/timeseries.py
index <HASH>..<HASH> 100644
--- a/pymbar/timeseries.py
+++ b/pymbar/timeseries.py
@@ -822,6 +822,10 @@ def statisticalInefficiency_fft(A_n, mintime=3):
t_grid = np.arange(N).astype('float')
g_t = 2.0 * C_t * (1.0 - t_grid / float(N))
+ #make fu... | make fft calls memory safe | py |
diff --git a/nbt/region.py b/nbt/region.py
index <HASH>..<HASH> 100644
--- a/nbt/region.py
+++ b/nbt/region.py
@@ -132,7 +132,7 @@ class RegionFile(object):
return size
@staticmethod
- def _bytes_to_sector(bsize, sectorlen=4096):
+ def bytes_to_sector(bsize, sectorlen=4096):
"""Given a size in bytes, return h... | Rename _bytes_to_sector to bytes_to_sector. Helper function is now considered public. | py |
diff --git a/molo/commenting/tests/test_views.py b/molo/commenting/tests/test_views.py
index <HASH>..<HASH> 100644
--- a/molo/commenting/tests/test_views.py
+++ b/molo/commenting/tests/test_views.py
@@ -619,7 +619,7 @@ class ViewNotificationsRepliesOnCommentsTest(TestCase, MoloTestCaseMixin):
# Unread notifica... | removing error results in AttributeError: 'tuple' object has no attribute 'lower' | py |
diff --git a/spyder/plugins/tests/test_ipythonconsole.py b/spyder/plugins/tests/test_ipythonconsole.py
index <HASH>..<HASH> 100644
--- a/spyder/plugins/tests/test_ipythonconsole.py
+++ b/spyder/plugins/tests/test_ipythonconsole.py
@@ -266,11 +266,14 @@ def test_non_ascii_stderr_file(ipyconsole, qtbot):
@pytest.mark.... | Skip test that hangs frequently on Py<I> + macOS, at least w/Azure | py |
diff --git a/src/oidcmsg/__init__.py b/src/oidcmsg/__init__.py
index <HASH>..<HASH> 100644
--- a/src/oidcmsg/__init__.py
+++ b/src/oidcmsg/__init__.py
@@ -1,5 +1,5 @@
__author__ = "Roland Hedberg"
-__version__ = "1.5.4"
+__version__ = "1.6.1"
import os
from typing import Dict | Allow an attribute to be set to no value (None, [], ..) before being assigning a value. | py |
diff --git a/johnny/cache.py b/johnny/cache.py
index <HASH>..<HASH> 100644
--- a/johnny/cache.py
+++ b/johnny/cache.py
@@ -16,16 +16,14 @@ import signals
local = localstore.LocalStore()
-def get_backend(cache_backend=None):
+def get_backend():
"""Get's a QueryCacheBackend for the current version of django usi... | don't inadvertently set things with 'get_backend' | py |
diff --git a/wfdb/io/download.py b/wfdb/io/download.py
index <HASH>..<HASH> 100644
--- a/wfdb/io/download.py
+++ b/wfdb/io/download.py
@@ -49,29 +49,6 @@ def set_db_index_url(db_index_url=PN_INDEX_URL):
config.db_index_url = db_index_url
-def _get_url(url):
- """
- Retrieve an entire remote file as bytes... | wfdb.io.download: remove _get_url function. This temporary function is no longer needed. | py |
diff --git a/gwpy/tests/test_array.py b/gwpy/tests/test_array.py
index <HASH>..<HASH> 100644
--- a/gwpy/tests/test_array.py
+++ b/gwpy/tests/test_array.py
@@ -102,10 +102,10 @@ class TestArray(object):
array = self.create()
utils.assert_array_equal(array.value, self.data)
- # test that copies... | tests: use correct data for copy keyword testing | py |
diff --git a/install.py b/install.py
index <HASH>..<HASH> 100644
--- a/install.py
+++ b/install.py
@@ -79,7 +79,7 @@ class user:
"""
if (sys.platform == 'win32'):
if (os.path.exists('./python._pth.old')):
- VENV = os.path.expanduser('C:\Program Files\\OpenQuake\\python')
+ VENV... | set VENV to c:\program files\openquake | py |
diff --git a/spyder/utils/help/conf.py b/spyder/utils/help/conf.py
index <HASH>..<HASH> 100644
--- a/spyder/utils/help/conf.py
+++ b/spyder/utils/help/conf.py
@@ -97,10 +97,10 @@ html_static_path = ['static']
# pages
html_context = {}
-# If true, SmartyPants will be used to convert quotes and dashes to
+# If true, ... | issue <I>: Update deprecated Sphinx html_use_smartypants | py |
diff --git a/pooch/core.py b/pooch/core.py
index <HASH>..<HASH> 100644
--- a/pooch/core.py
+++ b/pooch/core.py
@@ -455,9 +455,9 @@ class Pooch:
tmphash = file_hash(downloaded)
if tmphash != self.registry[fname]:
raise ValueError(
- "Hash of downloaded file '{}' doesn't matc... | Use file name in exception for hash mismatch (#<I>) When the hash of the downloaded file doesn't match the one in the registry, we raise an exception informing the hashes and the name of the downloaded temporary file. But the temp file is deleted and its name has nothing to do with the file in the registry. Instead... | py |
diff --git a/cassandra/cqlengine/query.py b/cassandra/cqlengine/query.py
index <HASH>..<HASH> 100644
--- a/cassandra/cqlengine/query.py
+++ b/cassandra/cqlengine/query.py
@@ -1177,10 +1177,10 @@ class ModelQuerySet(AbstractQuerySet):
if us.assignments:
self._execute(us)
- null_conditional... | only compute new conditional if we're doing a delete PYTHON-<I> | py |
diff --git a/asciimatics/effects.py b/asciimatics/effects.py
index <HASH>..<HASH> 100644
--- a/asciimatics/effects.py
+++ b/asciimatics/effects.py
@@ -789,7 +789,8 @@ class RandomNoise(Effect):
x, y,
colour_map=[colours[iy][ix]])
... | Add randomization factor to noise for aesthetic appeal. | py |
diff --git a/osbs/http.py b/osbs/http.py
index <HASH>..<HASH> 100644
--- a/osbs/http.py
+++ b/osbs/http.py
@@ -197,7 +197,13 @@ class Response(object):
def _perform_on_curl(self):
while True:
ret, num_handles = self.curl_multi.perform()
- if ret != pycurl.E_CALL_MULTI_PERFORM:
+ ... | http: pycurl on rhel 6 frequently raises E_CALL_MULTI_PERFORM let's ignore it and hope for the best Fixes #<I> | py |
diff --git a/mdstat/device_status.py b/mdstat/device_status.py
index <HASH>..<HASH> 100644
--- a/mdstat/device_status.py
+++ b/mdstat/device_status.py
@@ -106,7 +106,7 @@ def parse_device_status(line, personality):
raise ValueError("invalid device status line (missing blocks): {}"
.fo... | inactive array may have less status information | py |
diff --git a/gotesttarfile.py b/gotesttarfile.py
index <HASH>..<HASH> 100644
--- a/gotesttarfile.py
+++ b/gotesttarfile.py
@@ -104,7 +104,6 @@ def main(argv=None):
tarfile_name = os.path.basename(tarfile_path)
version = tarfile_name.split('_')[-1].replace('.tar.gz', '')
try:
- raise ValueError('cu... | Remove errant raise of exception. | py |
diff --git a/phoebe/algorithms/reflection.py b/phoebe/algorithms/reflection.py
index <HASH>..<HASH> 100644
--- a/phoebe/algorithms/reflection.py
+++ b/phoebe/algorithms/reflection.py
@@ -272,9 +272,6 @@ def radiation_budget_fast(irradiated,irradiator,ref=None,third_bodies=None):
'quadratic','squ... | removed debug statement in reflection.py | py |
diff --git a/pypot/server/snap.py b/pypot/server/snap.py
index <HASH>..<HASH> 100644
--- a/pypot/server/snap.py
+++ b/pypot/server/snap.py
@@ -34,10 +34,14 @@ def find_host_ip(host=None):
if 'local' not in host:
host += '.local'
- ips = [ip for ip in socket.gethostbyname_ex(host)[2]
- ... | Try to avoid an issue with hostname resolution. <URL> | py |
diff --git a/flask_peewee/admin.py b/flask_peewee/admin.py
index <HASH>..<HASH> 100644
--- a/flask_peewee/admin.py
+++ b/flask_peewee/admin.py
@@ -352,7 +352,7 @@ class ModelAdmin(object):
field_tree=field_tree,
active_filters=cleaned,
related_fields=related,
- sql=quer... | Small fix for changes made to peewee's sql() method | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -31,8 +31,15 @@ f.close()
ga4ghVersion = parseVersion("ga4gh/__init__.py")
# Flask must come after all other requirements that have "flask" as a prefix
# due to a setuptools bug.
-requirements = ["avro", "flask-cors", "oic"... | Pinned install versions of packages. | py |
diff --git a/dolo/algos/perturbations_higher_order.py b/dolo/algos/perturbations_higher_order.py
index <HASH>..<HASH> 100644
--- a/dolo/algos/perturbations_higher_order.py
+++ b/dolo/algos/perturbations_higher_order.py
@@ -23,7 +23,6 @@ def perturb(model, order=1, return_dr=True, steady_state=None, verbose=True):
... | FIX: Perturbation was printing some object length. Delete it | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -14,7 +14,7 @@ except ImportError:
setup(
name='eventsourcing',
- version='0.8.2',
+ version='0.8.3',
description='Event sourcing in Python',
author='John Bywater',
author_email='john.bywater@appro... | Increased version number to <I>. | py |
diff --git a/datasette/cli.py b/datasette/cli.py
index <HASH>..<HASH> 100644
--- a/datasette/cli.py
+++ b/datasette/cli.py
@@ -350,10 +350,6 @@ def serve(
if metadata:
metadata_data = parse_metadata(metadata.read())
- click.echo(
- "Serve! files={} (immutables={}) on port {}".format(files, imm... | Remove 'Serve!' line from serve CLI output It wasn't adding anything, and it was confusing when run in conjunction with the new config directory mode from #<I> | py |
diff --git a/src/calmjs/toolchain.py b/src/calmjs/toolchain.py
index <HASH>..<HASH> 100644
--- a/src/calmjs/toolchain.py
+++ b/src/calmjs/toolchain.py
@@ -133,6 +133,7 @@ __all__ = [
'EXPORT_TARGET', 'EXPORT_TARGET_OVERWRITE',
'SOURCE_MODULE_NAMES', 'SOURCE_PACKAGE_NAMES',
'TEST_MODULE_NAMES', 'TEST_MODU... | Formalize the spec key for the binary path - Should have done this over a year ago... | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -36,6 +36,7 @@ setup_arguments = dict(
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
+ 'Framework :: Flake8',
'Intended Audience :: Developers',
'Lic... | Add a framework classifier Warehouse (pypi.org) allows search results to be filtered by trove classifiers. One such classifier is `Framework`, which accepts `Flake8` as a value. Setting the classifier should help people find flake8-comprehensions when searching for flake8 plugins. | py |
diff --git a/lib/websearch_webinterface.py b/lib/websearch_webinterface.py
index <HASH>..<HASH> 100644
--- a/lib/websearch_webinterface.py
+++ b/lib/websearch_webinterface.py
@@ -90,6 +90,27 @@ def wash_search_urlargd(form):
return argd
+
+class WebInterfaceAuthorPage(WebInterfaceDirectory):
+ """ Handle /a... | a skeleton for /author | py |
diff --git a/pymmd/mmd.py b/pymmd/mmd.py
index <HASH>..<HASH> 100644
--- a/pymmd/mmd.py
+++ b/pymmd/mmd.py
@@ -118,7 +118,7 @@ def convert(source, ext=COMPLETE, fmt=HTML, dname=None):
src = source.encode('utf-8')
return _MMD_LIB.markdown_to_string(src, ext, fmt).decode('utf-8')
-def convert_from(fname, ext=... | Add option for convert_from to write back out to file | py |
diff --git a/mapclassify.py b/mapclassify.py
index <HASH>..<HASH> 100644
--- a/mapclassify.py
+++ b/mapclassify.py
@@ -135,12 +135,12 @@ def binC(y, bins):
for i, bin in enumerate(bins):
b[np.nonzero(y == bin)] = i
- # check for non-binned items and print a warning if needed
+ # check for non-binn... | fix minor issues with using stdlib warnings in mapclassify.py | 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
@@ -1250,8 +1250,8 @@ def os_data():
elif salt.utils.which('supervisord') in init_cmdline:
grains['init'] = 'supervisord'
... | Set logging level to 'info' for message about init system detection | py |
diff --git a/ceph_deploy/__init__.py b/ceph_deploy/__init__.py
index <HASH>..<HASH> 100644
--- a/ceph_deploy/__init__.py
+++ b/ceph_deploy/__init__.py
@@ -1,3 +1,3 @@
-__version__ = '1.5.39'
+__version__ = '2.0.0' | [RM-<I>] bump to <I> | py |
diff --git a/moban/engine.py b/moban/engine.py
index <HASH>..<HASH> 100644
--- a/moban/engine.py
+++ b/moban/engine.py
@@ -74,7 +74,7 @@ def apply_template(jj2_template, data, output_file):
"""
with open(output_file, 'w') as output:
rendered_content = jj2_template.render(**data)
- output.write... | bug fix #1: encode utf-8 before saving it | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -227,6 +227,7 @@ metadata = dict(
'mdtraj>=1.4.0',
'matplotlib',
'msmtools',
+ 'bhmm',
],
zip_safe=False,
)... | [setup] moved bhmm from a setup_requirement to a install_requirement | py |
diff --git a/salt/modules/virtualenv_mod.py b/salt/modules/virtualenv_mod.py
index <HASH>..<HASH> 100644
--- a/salt/modules/virtualenv_mod.py
+++ b/salt/modules/virtualenv_mod.py
@@ -58,7 +58,8 @@ def create(path,
The name (and optionally path) of the virtualenv command. This can also
be set globally ... | Update doc string to make it explicit that it's salt we're mentioning. | py |
diff --git a/python/sparknlp/__init__.py b/python/sparknlp/__init__.py
index <HASH>..<HASH> 100644
--- a/python/sparknlp/__init__.py
+++ b/python/sparknlp/__init__.py
@@ -6,6 +6,7 @@ sys.modules['com.johnsnowlabs.nlp.annotators'] = annotator
sys.modules['com.johnsnowlabs.nlp.annotators.ner'] = annotator
sys.modules['... | Deserialization in python | py |
diff --git a/kademlia/crawling.py b/kademlia/crawling.py
index <HASH>..<HASH> 100644
--- a/kademlia/crawling.py
+++ b/kademlia/crawling.py
@@ -141,7 +141,7 @@ class NodeSpiderCrawl(SpiderCrawl):
if self.nearest.allBeenContacted():
return list(self.nearest)
- return self.find()
+ re... | Fix await self.find() in crawler (#<I>) | py |
diff --git a/spyderlib/config.py b/spyderlib/config.py
index <HASH>..<HASH> 100644
--- a/spyderlib/config.py
+++ b/spyderlib/config.py
@@ -434,7 +434,7 @@ DEFAULTS = [
'wrap': True,
'name_filters': NAME_FILTERS,
'show_hidden': True,
- 'show_all': False,
+ ... | File Explorer: Show all files by default - It can be confusing if you don't see all files when using the File Explorer - Filters are really useful but they have to be opt-in not opt-out | py |
diff --git a/spyderlib/widgets/externalshell/startup.py b/spyderlib/widgets/externalshell/startup.py
index <HASH>..<HASH> 100644
--- a/spyderlib/widgets/externalshell/startup.py
+++ b/spyderlib/widgets/externalshell/startup.py
@@ -21,10 +21,13 @@ def __is_ipython():
return os.environ.get('IPYTHON')
def __patc... | Fixed Issue <I> / External console: import error when trying to patch matplotlib | py |
diff --git a/tests/testparsers.py b/tests/testparsers.py
index <HASH>..<HASH> 100644
--- a/tests/testparsers.py
+++ b/tests/testparsers.py
@@ -280,3 +280,10 @@ class OptsSpecCombinedOptionsTests(ComparisonTestCase):
'style':
Options(c='b')}}
self.assertEqual(OptsSpec.p... | Added another test for merge precedence | py |
diff --git a/spyderlib/utils/programs.py b/spyderlib/utils/programs.py
index <HASH>..<HASH> 100644
--- a/spyderlib/utils/programs.py
+++ b/spyderlib/utils/programs.py
@@ -186,8 +186,7 @@ def is_module_installed(module_name, version=None):
"Invalid version condition '%s'" % symb
version... | Fixed critical bug when an invalid/unsupported version of pyflakes is installed Update Issue <I> Status: Fixed | py |
diff --git a/huey/bin/huey_consumer.py b/huey/bin/huey_consumer.py
index <HASH>..<HASH> 100644
--- a/huey/bin/huey_consumer.py
+++ b/huey/bin/huey_consumer.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python
import datetime
import logging
import os | add shebang line to huey_consumer.py like that the shell knows how to execute it | py |
diff --git a/tests/test_mixins.py b/tests/test_mixins.py
index <HASH>..<HASH> 100644
--- a/tests/test_mixins.py
+++ b/tests/test_mixins.py
@@ -86,7 +86,7 @@ def _test_mixins_image(obj, attr):
default_image = images[0]
image = images[0]
assert len(image.key) >= 10
- if not image.ratingK... | Fix photoalbum mixins image test | py |
diff --git a/processors/generic_processor.py b/processors/generic_processor.py
index <HASH>..<HASH> 100644
--- a/processors/generic_processor.py
+++ b/processors/generic_processor.py
@@ -27,7 +27,10 @@ from bzrlib import (
)
from bzrlib.repofmt import pack_repo
from bzrlib.trace import note, mutter
-import bzrli... | Cope with Debian's bzr using the system configobj, not shipping with its own. | py |
diff --git a/shopify/api_version.py b/shopify/api_version.py
index <HASH>..<HASH> 100644
--- a/shopify/api_version.py
+++ b/shopify/api_version.py
@@ -28,6 +28,7 @@ class ApiVersion(object):
cls.define_version(Release('2019-04'))
cls.define_version(Release('2019-07'))
cls.define_version(Relea... | add version <I>-<I> to known versions | py |
diff --git a/examples/microphone-speech-to-text.py b/examples/microphone-speech-to-text.py
index <HASH>..<HASH> 100644
--- a/examples/microphone-speech-to-text.py
+++ b/examples/microphone-speech-to-text.py
@@ -74,7 +74,8 @@ def recognize_using_weboscket(*args):
mycallback = MyRecognizeCallback()
speech_to_te... | chore(STT): set interim_results=True for microphone | py |
diff --git a/src/pnCubeDecomp.py b/src/pnCubeDecomp.py
index <HASH>..<HASH> 100644
--- a/src/pnCubeDecomp.py
+++ b/src/pnCubeDecomp.py
@@ -73,12 +73,12 @@ class CubeDecomp:
"""
Get the start/end indices for given processor rank
@param procId processor rank
- @return list of slices (or ... | ~ getSlab now returns a tuple, which can be used as an ellipsis | py |
diff --git a/netdiff/utils.py b/netdiff/utils.py
index <HASH>..<HASH> 100644
--- a/netdiff/utils.py
+++ b/netdiff/utils.py
@@ -132,7 +132,7 @@ def _netjson_networkgraph(protocol, version, revision, metric,
# prepare nodes
node_list = []
for node in nodes:
- netjson_node = {'id': node[0]}
+ ... | Use OrderedDict in NetJSON output to preserve properties order Related to #<I> | py |
diff --git a/djstripe/models.py b/djstripe/models.py
index <HASH>..<HASH> 100644
--- a/djstripe/models.py
+++ b/djstripe/models.py
@@ -22,7 +22,6 @@ import stripe
from .managers import CustomerManager, ChargeManager, TransferManager
from .settings import PAYMENTS_PLANS, INVOICE_FROM_EMAIL
from .settings import plan_... | Use strings for User keys so we can add them in any order in the app caching. fix #9 | py |
diff --git a/alot/helper.py b/alot/helper.py
index <HASH>..<HASH> 100644
--- a/alot/helper.py
+++ b/alot/helper.py
@@ -576,7 +576,7 @@ def parse_mailto(mailto_str):
for s in parms_str.split('&'):
key, value = s.partition('=')[::2]
key = key.capitalize()
- if key is 'body':
... | Fix parsing of mailto addresses - the key has been capitalized so compare with "Body" and not "body" - comparison between strings is better done with == than with "is" | py |
diff --git a/homura.py b/homura.py
index <HASH>..<HASH> 100644
--- a/homura.py
+++ b/homura.py
@@ -261,7 +261,8 @@ class Homura(object):
def download(url, path=None, headers=None, session=None, show_progress=True,
- resume=True, auto_retry=True):
+ resume=True, auto_retry=True, max_rst_retr... | Added args to helper function | py |
diff --git a/confidence/models.py b/confidence/models.py
index <HASH>..<HASH> 100644
--- a/confidence/models.py
+++ b/confidence/models.py
@@ -1,8 +1,8 @@
from collections.abc import Mapping, Sequence
-import re
-import typing
from enum import Enum
from itertools import chain
+import re
+import typing
from confid... | Fixed import order (hopefully) | py |
diff --git a/superset/utils/network.py b/superset/utils/network.py
index <HASH>..<HASH> 100644
--- a/superset/utils/network.py
+++ b/superset/utils/network.py
@@ -44,7 +44,7 @@ def is_hostname_valid(host: str) -> bool:
Test if a given hostname can be resolved.
"""
try:
- socket.gethostbyname(host)... | fix(utils): use getaddrinfo for hostname check to support ipv6 (#<I>) | py |
diff --git a/axiom/_fincache.py b/axiom/_fincache.py
index <HASH>..<HASH> 100644
--- a/axiom/_fincache.py
+++ b/axiom/_fincache.py
@@ -12,6 +12,13 @@ class CacheFault(KeyError):
+class CacheInconsistency(RuntimeError):
+ """
+ A key being cached is already present in the cache.
+ """
+
+
+
def logErrorN... | Replace assert with raise, and repeat the "dead weakref" check logic. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -48,7 +48,6 @@ setup(
classifiers=(
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3 :: Only',
- 'Programming Language :: Python :: 3.5',
'Progra... | Remove Python <I> from classifiers | py |
diff --git a/labelImg.py b/labelImg.py
index <HASH>..<HASH> 100755
--- a/labelImg.py
+++ b/labelImg.py
@@ -106,6 +106,9 @@ class MainWindow(QMainWindow, WindowMixin):
self.screencastViewer = "firefox"
self.screencast = "https://youtu.be/p0nR2YsCY_U"
+ # Load predefined classes to the list
+ ... | Load classes before creating label dialog The "editLabel()" may not pop predefined classes without preloaded "labelHist". | py |
diff --git a/pyexcelerate/tests/test_Range.py b/pyexcelerate/tests/test_Range.py
index <HASH>..<HASH> 100644
--- a/pyexcelerate/tests/test_Range.py
+++ b/pyexcelerate/tests/test_Range.py
@@ -60,6 +60,19 @@ def test_no_intersection():
eq_(r1.intersects(r2), False)
eq_(r1.intersection(r2), None)
+def test_ran... | A couple of tests for Range.__eq__. | py |
diff --git a/lib/svtplay_dl/service/viaplay.py b/lib/svtplay_dl/service/viaplay.py
index <HASH>..<HASH> 100644
--- a/lib/svtplay_dl/service/viaplay.py
+++ b/lib/svtplay_dl/service/viaplay.py
@@ -15,6 +15,7 @@ from svtplay_dl.service import Service, OpenGraphThumbMixin
from svtplay_dl.utils import get_http_data, subtit... | viaplay: some of their streams are HDS this fixes #<I> | py |
diff --git a/src/resolvelib/__init__.py b/src/resolvelib/__init__.py
index <HASH>..<HASH> 100644
--- a/src/resolvelib/__init__.py
+++ b/src/resolvelib/__init__.py
@@ -11,7 +11,7 @@ __all__ = [
"ResolutionTooDeep",
]
-__version__ = "0.5.2"
+__version__ = "0.5.3.dev0"
from .providers import AbstractProvider,... | Prebump to <I>.dev0 | py |
diff --git a/aioxmpp/xso/model.py b/aioxmpp/xso/model.py
index <HASH>..<HASH> 100644
--- a/aioxmpp/xso/model.py
+++ b/aioxmpp/xso/model.py
@@ -625,7 +625,7 @@ class Collector(_PropBase):
The default is fixed to the emtpy root node.
- .. verisonchanged:: 0.10
+ .. versionchanged:: 0.10
Before th... | xso: fix docs typo | py |
diff --git a/src/FIRDeconvolution.py b/src/FIRDeconvolution.py
index <HASH>..<HASH> 100644
--- a/src/FIRDeconvolution.py
+++ b/src/FIRDeconvolution.py
@@ -88,7 +88,8 @@ class FIRDeconvolution(object):
self.resampling_factor = self.sample_frequency/self.deconvolution_frequency
self.deconvolution_interval_size ... | changed assert for deconv_interval_size to more lenient check | py |
diff --git a/fudge/util.py b/fudge/util.py
index <HASH>..<HASH> 100644
--- a/fudge/util.py
+++ b/fudge/util.py
@@ -34,4 +34,3 @@ def fmt_dict_vals(dict_vals, shorten=True):
if not items:
return [fmt_val(None, shorten=shorten)]
return ["%s=%s" % (k, fmt_val(v, shorten=shorten)) for k,v in items]
- ... | Fixed white space error which caused a SyntaxError when imported from a zipfile | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -45,7 +45,6 @@ setup(
url='https://github.com/arista-eosplus/pyeapi',
download_url='https://github.com/arista-eosplus/pyeapi/tarball/v0.1.0',
license='BSD-3',
- packages=['pyeapi', 'pyeapi.api']
+ packages... | Add a dependency on the "six" package for Python2/3 compatibility. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -13,7 +13,7 @@ def read_file(fname):
setup(
name="django-smartcc",
- version="0.1.1",
+ version="0.1.2",
description="",
author='Lorenzo Setale ( http://who.is.lorenzo.setale.me/? )',
author_email=... | New version Seems that pypi is not accepting <I> for some strange reasons. | py |
diff --git a/pyArango/tests/tests.py b/pyArango/tests/tests.py
index <HASH>..<HASH> 100644
--- a/pyArango/tests/tests.py
+++ b/pyArango/tests/tests.py
@@ -856,7 +856,7 @@ class pyArangoTests(unittest.TestCase):
response = self.db.foxx.get("/_admin/aardvark/index.html")
self.assertEqual(response.status... | renamed as foxx_service | 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
@@ -32,7 +32,7 @@ class OMIMSource(Source):
'clean': OMIMURL,
'columns': [ # expected
'Prefix',
- ... | Fix for OMIM ingest - column name changed from 'Mim Number' to 'MIM Number' | py |
diff --git a/h2o-bindings/bin/gen_all.py b/h2o-bindings/bin/gen_all.py
index <HASH>..<HASH> 100755
--- a/h2o-bindings/bin/gen_all.py
+++ b/h2o-bindings/bin/gen_all.py
@@ -7,15 +7,15 @@ import gen_java
import gen_python
import gen_thrift
import bindings
-import sys, os
-
+import sys
+import os
sys.path.insert(0, "..... | gen_all was trying to create too many folders, that's not necessary | py |
diff --git a/tests/test_comments.py b/tests/test_comments.py
index <HASH>..<HASH> 100644
--- a/tests/test_comments.py
+++ b/tests/test_comments.py
@@ -17,6 +17,7 @@ class TestComments(WordPressTestCase):
post.title = 'Comments Test Post'
post.slug = 'comments-test-post'
post.user = self.use... | Enable comments on the test post to fix failing unit tests. | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.