diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/lenstronomy/Sampling/sampler.py b/lenstronomy/Sampling/sampler.py
index <HASH>..<HASH> 100644
--- a/lenstronomy/Sampling/sampler.py
+++ b/lenstronomy/Sampling/sampler.py
@@ -232,7 +232,7 @@ class Sampler(object):
size=n_walkers)
if backe... | set ncheck = 1 so backend file is always created | py |
diff --git a/salt/pillar.py b/salt/pillar.py
index <HASH>..<HASH> 100644
--- a/salt/pillar.py
+++ b/salt/pillar.py
@@ -343,7 +343,7 @@ class Pillar(object):
'''
Render the external pillar data
'''
- if 'ext_pillar' in self.opts:
+ if not 'ext_pillar' in self.opts:
r... | Invers soem ext_pillar logic | py |
diff --git a/python/ray/tests/test_scheduling.py b/python/ray/tests/test_scheduling.py
index <HASH>..<HASH> 100644
--- a/python/ray/tests/test_scheduling.py
+++ b/python/ray/tests/test_scheduling.py
@@ -38,6 +38,7 @@ def attempt_to_load_balance(remote_function,
assert attempts < num_attempts
+@pytest.mark.skip... | . (#<I>) | py |
diff --git a/lib/bx/seq/core.py b/lib/bx/seq/core.py
index <HASH>..<HASH> 100644
--- a/lib/bx/seq/core.py
+++ b/lib/bx/seq/core.py
@@ -16,7 +16,10 @@ def seq_file (file, format=None, revcomp=False, name="", gap=None):
if (format == "fasta"): return fasta.FastaFile (file, revcomp=revcomp, name=name, gap=gap)
... | improved reporting of unrecognized sequence file formats | py |
diff --git a/cms_lab_publications/admin.py b/cms_lab_publications/admin.py
index <HASH>..<HASH> 100644
--- a/cms_lab_publications/admin.py
+++ b/cms_lab_publications/admin.py
@@ -145,6 +145,7 @@ class PublicationAdmin(admin.ModelAdmin):
'pmid',
'journal',
'title',
+ 'year',
)
... | Add year to Publication Admin search field | py |
diff --git a/mhctools/binding_prediction.py b/mhctools/binding_prediction.py
index <HASH>..<HASH> 100644
--- a/mhctools/binding_prediction.py
+++ b/mhctools/binding_prediction.py
@@ -58,7 +58,8 @@ class BindingPrediction(object):
"""
# if we have a bad IC50 score we might still get a salvageable
... | better strategy for pylint: don't change logic, just suppress that one line's error | py |
diff --git a/ffn/core.py b/ffn/core.py
index <HASH>..<HASH> 100644
--- a/ffn/core.py
+++ b/ffn/core.py
@@ -40,6 +40,11 @@ class PerformanceStats(object):
['mtd', '3m', '6m', 'ytd', '1y', '3y', '5y', '10y', 'incep'])
self.lookback_returns.name = self.name
+ st = self._stats()
+ self... | Added stats property to Perf and Group stats | py |
diff --git a/impala/hiveserver2.py b/impala/hiveserver2.py
index <HASH>..<HASH> 100644
--- a/impala/hiveserver2.py
+++ b/impala/hiveserver2.py
@@ -367,6 +367,7 @@ class HiveServer2Cursor(Cursor):
def fetchone(self):
# PEP 249
+ self._wait_to_finish()
if not self.has_result_set:
... | Wait until execution has finished when calling cursor.fetch* The current docstring for execute_async indicates "A call to `fetch*` will block."; this was not the case, it only appeared to do so because no execution was ever synchronous. <I> fixes the lack of asynchronicity, revealing the bug. | py |
diff --git a/salt/config.py b/salt/config.py
index <HASH>..<HASH> 100644
--- a/salt/config.py
+++ b/salt/config.py
@@ -60,6 +60,7 @@ def master_config(path):
'log_file': '/var/log/salt/master',
'log_level': 'DEBUG',
'out_level': 'ERROR',
+ 'cluster_masters': [],
... | Add cluster_masters to the configuration | py |
diff --git a/pygccxml/declarations/calldef.py b/pygccxml/declarations/calldef.py
index <HASH>..<HASH> 100644
--- a/pygccxml/declarations/calldef.py
+++ b/pygccxml/declarations/calldef.py
@@ -79,7 +79,7 @@ class argument_t(object):
and self.default_value == other.default_value \
and self.decl_t... | The hash function has no second parameter This was probably a typo | py |
diff --git a/tests.py b/tests.py
index <HASH>..<HASH> 100644
--- a/tests.py
+++ b/tests.py
@@ -105,8 +105,14 @@ def test_sip_api_pyqt4():
def test_sip_api_qtpy():
"""Qt.py with preferred binding PyQt4 should have sip version 2"""
- sys.modules.pop("PyQt4")
- sys.modules.pop("sip")
+ def pop_module(mod)... | Pop more modules and check if they are poppable first | py |
diff --git a/examples/webhooks/app.py b/examples/webhooks/app.py
index <HASH>..<HASH> 100755
--- a/examples/webhooks/app.py
+++ b/examples/webhooks/app.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+import sys
import json
import flask
import requests | Fix error in webhooks example when ngrok is not running | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -98,9 +98,7 @@ arguments = dict(
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
- 'Programming Language :: Python :: 2.6',
... | removing <I> and <I> from setup | py |
diff --git a/sqlalchemyutils.py b/sqlalchemyutils.py
index <HASH>..<HASH> 100644
--- a/sqlalchemyutils.py
+++ b/sqlalchemyutils.py
@@ -28,6 +28,7 @@ from sqlalchemy.orm import class_mapper, properties
from sqlalchemy.types import TypeDecorator, TEXT, LargeBinary
from sqlalchemy.sql.expression import FunctionElement
... | SQLAlchemy: fix for MySQL gone exception handling * Addresses problem with unclear exception when MySQL is down. (closes #<I>) | py |
diff --git a/smartcard/test/scard/testcase_returncodes.py b/smartcard/test/scard/testcase_returncodes.py
index <HASH>..<HASH> 100755
--- a/smartcard/test/scard/testcase_returncodes.py
+++ b/smartcard/test/scard/testcase_returncodes.py
@@ -99,7 +99,7 @@ class testcase_returncodes(unittest.TestCase):
SCARD_W... | testcase_returncodes.py: display error message Print the error code and the associated error message. The code is commented because it is not a test, just a debug. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -26,7 +26,7 @@ install_requirements = [
# 'oceandb-bigchaindb-driver==0.1.4',
'PyYAML==4.2b4',
'pytz==2018.5',
- 'plecos==0.5.2'
+ 'plecos==0.6.0'
]
setup_requirements = ['pytest-runner==2.11.1', ] | Upgrade plecos version and release aquarius | py |
diff --git a/pluct/resource.py b/pluct/resource.py
index <HASH>..<HASH> 100644
--- a/pluct/resource.py
+++ b/pluct/resource.py
@@ -79,13 +79,7 @@ def get(url, auth=None):
auth['type'], auth['credentials']
)
response = requests.get(url, headers=headers)
- s = schema.from_header(response.hea... | Removes duplication. #<I>. | py |
diff --git a/satpy/readers/__init__.py b/satpy/readers/__init__.py
index <HASH>..<HASH> 100644
--- a/satpy/readers/__init__.py
+++ b/satpy/readers/__init__.py
@@ -278,6 +278,10 @@ class ReaderFinder(object):
reader_configs = config_search_paths(
os.path.join("readers", config_basename), se... | Provide better warning message when specified reader can't be found | py |
diff --git a/src/pydas/__init__.py b/src/pydas/__init__.py
index <HASH>..<HASH> 100644
--- a/src/pydas/__init__.py
+++ b/src/pydas/__init__.py
@@ -14,16 +14,28 @@ pydas.email = None
pydas.api_key = None
pydas.token = None
-def login(url=None):
+def login(email=None, password=None, api_key=None, url=None):
"""
... | Improving the high-level login function. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -35,6 +35,7 @@ setup(name='bika.lims',
'xhtml2pdf',
'magnitude',
'jarn.jsi18n',
+ 'collective.indexing',
],
extras_require = {
'test': [ | added collective.indexing in setup.py | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -45,6 +45,7 @@ setup(
author="Raphaël Barrois",
author_email="raphael.barrois+%s@polytechnique.org" % PACKAGE,
description="A django app enabling Django models to use xworkflows.",
+ long_description=clean_re... | tooling: Include README.rst as long_description. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -80,6 +80,8 @@ setup(
'doc/man/salt-key.1',
'doc/man/salt.1',
'doc/man/salt-cp.1',
+ 'doc/man/salt-call.1',
+ 'doc/man/s... | Add salt-syndic manpage to setup.py | py |
diff --git a/bonobo/execution/graph.py b/bonobo/execution/graph.py
index <HASH>..<HASH> 100644
--- a/bonobo/execution/graph.py
+++ b/bonobo/execution/graph.py
@@ -25,6 +25,9 @@ class GraphExecutionContext:
self.plugins = [PluginExecutionContext(plugin, parent=self) for plugin in plugins or ()]
self.se... | Add a reference to graph context (private) in service container. | py |
diff --git a/aospy/test/test_roundtrip.py b/aospy/test/test_roundtrip.py
index <HASH>..<HASH> 100755
--- a/aospy/test/test_roundtrip.py
+++ b/aospy/test/test_roundtrip.py
@@ -246,14 +246,14 @@ class TestHiRAM(TestAM2):
'dtype_in_time': 'ts',
'level': F... | TEST Edit skip messages and add expected failure decorator to TestCMIP5 class | py |
diff --git a/blanc_basic_events/events/models.py b/blanc_basic_events/events/models.py
index <HASH>..<HASH> 100644
--- a/blanc_basic_events/events/models.py
+++ b/blanc_basic_events/events/models.py
@@ -134,13 +134,13 @@ class RecurringEvent(models.Model):
interval = 2
# Monthly (interval = 1)
-... | Bug with 5th of the month events | py |
diff --git a/cheroot/test/test_ssl.py b/cheroot/test/test_ssl.py
index <HASH>..<HASH> 100644
--- a/cheroot/test/test_ssl.py
+++ b/cheroot/test/test_ssl.py
@@ -466,6 +466,8 @@ def test_http_over_https_error(
and IS_WINDOWS
and six.PY2
and IS_WIN2016
+ and adapter_type ==... | Don't expect http fallback if ipv6/builtin/actions | py |
diff --git a/coursera/coursera_dl.py b/coursera/coursera_dl.py
index <HASH>..<HASH> 100755
--- a/coursera/coursera_dl.py
+++ b/coursera/coursera_dl.py
@@ -396,6 +396,7 @@ def download_lectures(wget_bin,
lecture_filter=None,
path='',
verbose_dirs=False... | Added hooks for post-processing | py |
diff --git a/pythonforandroid/recipes/psycopg2/__init__.py b/pythonforandroid/recipes/psycopg2/__init__.py
index <HASH>..<HASH> 100644
--- a/pythonforandroid/recipes/psycopg2/__init__.py
+++ b/pythonforandroid/recipes/psycopg2/__init__.py
@@ -6,6 +6,9 @@ import sh
class Psycopg2Recipe(PythonRecipe):
"""
Requ... | Fixes psycopg2 lib install dir, closes #<I> Also note this recipe seems to depend on `nl_langinfo` which is only available from ANDROID_API <I>. | py |
diff --git a/superset/viz.py b/superset/viz.py
index <HASH>..<HASH> 100644
--- a/superset/viz.py
+++ b/superset/viz.py
@@ -1765,9 +1765,7 @@ class WorldMapViz(BaseViz):
columns = ['country', 'm1', 'm2']
if metric == secondary_metric:
ndf = df[cols]
- # df[metric] will be a Data... | Remove the use of Pandas' iloc() in WorldMapViz (#<I>) When the same metric is used in a World Map panel for both bubble size and an axis (either X or Y), it currently breaks the rendering. The change in behavior was introduced in: <URL> is not needed anymore since the code that used to duplicate the metric is ... | py |
diff --git a/safe/gui/tools/wizard/step_kw30_field.py b/safe/gui/tools/wizard/step_kw30_field.py
index <HASH>..<HASH> 100644
--- a/safe/gui/tools/wizard/step_kw30_field.py
+++ b/safe/gui/tools/wizard/step_kw30_field.py
@@ -138,9 +138,13 @@ class StepKwField(WizardStep, FORM_CLASS):
question_text = field_qu... | Avoid missing wizars string in fields step. | py |
diff --git a/sos/plugins/subscription_manager.py b/sos/plugins/subscription_manager.py
index <HASH>..<HASH> 100644
--- a/sos/plugins/subscription_manager.py
+++ b/sos/plugins/subscription_manager.py
@@ -33,6 +33,8 @@ class SubscriptionManager(Plugin, RedHatPlugin):
"subscription-manager list --all --availa... | [subscription_manager] Collect release info Collect subscription-manager release [--show|list] that helps identifying yum/dnf issues with inaccessible repositories. Resolves: #<I> | py |
diff --git a/tests/test_compressor.py b/tests/test_compressor.py
index <HASH>..<HASH> 100644
--- a/tests/test_compressor.py
+++ b/tests/test_compressor.py
@@ -845,11 +845,15 @@ class TestCompressor_write_to(unittest.TestCase):
with cctx.write_to(with_dict_id) as compressor:
self.assertEqual(compre... | tests: test for dict id length in header for write_to() | py |
diff --git a/goatools/anno/gaf_reader.py b/goatools/anno/gaf_reader.py
index <HASH>..<HASH> 100755
--- a/goatools/anno/gaf_reader.py
+++ b/goatools/anno/gaf_reader.py
@@ -158,7 +158,8 @@ class GafData(object):
db_name = self._rd_fld_vals("DB_Name", flds[9], is_set, 0) # , 1)
db_synonym = self._rd_fld... | Allow am annotation line to be read even if missing a Symbol name | py |
diff --git a/pyswagger/getter.py b/pyswagger/getter.py
index <HASH>..<HASH> 100644
--- a/pyswagger/getter.py
+++ b/pyswagger/getter.py
@@ -37,11 +37,12 @@ class Getter(six.Iterator):
raise ValueError('Unknown types: [{0}]'.format(str(type(obj))))
# a very simple logic to distinguish json and yam... | allowing missing --- in yaml files | py |
diff --git a/cassandra/cluster.py b/cassandra/cluster.py
index <HASH>..<HASH> 100644
--- a/cassandra/cluster.py
+++ b/cassandra/cluster.py
@@ -1737,7 +1737,7 @@ class Session(object):
def encode(val):
return '{ %s }' % ' , '.join('%s : %s' % (
field_name,
- self.enc... | don't require UDT fields when CQL encoding registered type | py |
diff --git a/pyqode/core/frontend/text.py b/pyqode/core/frontend/text.py
index <HASH>..<HASH> 100644
--- a/pyqode/core/frontend/text.py
+++ b/pyqode/core/frontend/text.py
@@ -229,7 +229,8 @@ def clean_document(editor):
if line + j >= 1:
txt = line_text(editor, line + j)
... | Fix another little bug in clean_document | py |
diff --git a/AlphaTwirl/Events/BranchAddressManager.py b/AlphaTwirl/Events/BranchAddressManager.py
index <HASH>..<HASH> 100755
--- a/AlphaTwirl/Events/BranchAddressManager.py
+++ b/AlphaTwirl/Events/BranchAddressManager.py
@@ -52,6 +52,9 @@ class BranchAddressManager(object):
return
leafInfo = i... | make BranchAddressManager.getArrays() return None when the branch type is unknown | py |
diff --git a/gflex/base.py b/gflex/base.py
index <HASH>..<HASH> 100644
--- a/gflex/base.py
+++ b/gflex/base.py
@@ -687,7 +687,13 @@ class Flexure(Utility, Plotting):
# Finalize
def finalize(self):
- # Just print a line to stdout
+ # Can include an option for this later, but for the moment, this will
+ ... | Clear coeff_matrix during finalize() to allow Te to change between runs | py |
diff --git a/python/setup.py b/python/setup.py
index <HASH>..<HASH> 100644
--- a/python/setup.py
+++ b/python/setup.py
@@ -129,7 +129,7 @@ if use_setuptools:
version=version,
cmdclass={'build_ext': build_ext},
setup_requires=['numpy', 'setuptools>=18.0'],
- license='BSD',
+ ... | Switch BSD to BSD-3-Clause | py |
diff --git a/include/mount/__init__.py b/include/mount/__init__.py
index <HASH>..<HASH> 100644
--- a/include/mount/__init__.py
+++ b/include/mount/__init__.py
@@ -25,10 +25,14 @@ class MountLoader(object):
def is_module(self, name):
"""Test that `name` is a module name"""
+ if self.module_prefix.... | fixed bug that prevented module and mount name to overlap unambiguously | py |
diff --git a/dvc/remote/s3.py b/dvc/remote/s3.py
index <HASH>..<HASH> 100644
--- a/dvc/remote/s3.py
+++ b/dvc/remote/s3.py
@@ -207,7 +207,7 @@ class RemoteS3(RemoteBASE):
)
def list_cache_paths(self):
- return self.walk_files(self.path_info)
+ return [info.path for info in self.walk_files(... | s3: don't forget to convert to regular path strings | py |
diff --git a/pyradio/player.py b/pyradio/player.py
index <HASH>..<HASH> 100644
--- a/pyradio/player.py
+++ b/pyradio/player.py
@@ -395,7 +395,7 @@ class MpPlayer(Player):
config_files.append("/etc/mplayer/mplayer.conf")
def save_volume(self):
- return self._do_save_volume("[pyradio]\nsoftvol=yes\... | removing softvol from mplayer config string (may cause problems) | py |
diff --git a/src/wormhole/_dilation/subchannel.py b/src/wormhole/_dilation/subchannel.py
index <HASH>..<HASH> 100644
--- a/src/wormhole/_dilation/subchannel.py
+++ b/src/wormhole/_dilation/subchannel.py
@@ -12,6 +12,13 @@ from twisted.internet.error import ConnectionDone
from automat import MethodicalMachine
from .._... | subchannel: check MAX_FRAME_LENGTH, 2**<I> minus headers Anyone sending 4GB in a single `transport.write()` is in for a surprise, but at least we'll surprise them with an assertion *before* spending the time and memory encrypting that monster. | py |
diff --git a/kubespawner/reflector.py b/kubespawner/reflector.py
index <HASH>..<HASH> 100644
--- a/kubespawner/reflector.py
+++ b/kubespawner/reflector.py
@@ -148,8 +148,8 @@ class NamespacedResourceReflector(LoggingConfigurable):
update' cycle on them), we should be ok!
"""
cur_delay = 0.1
+... | Add timeout for reflector watcher stream | py |
diff --git a/tvdb_client/clients/ApiV2Client.py b/tvdb_client/clients/ApiV2Client.py
index <HASH>..<HASH> 100644
--- a/tvdb_client/clients/ApiV2Client.py
+++ b/tvdb_client/clients/ApiV2Client.py
@@ -33,6 +33,7 @@ class ApiV2Client(BaseClient):
def __get_header(self):
header = dict()
header['Conte... | TheTVDB has added an user agent validation for the V2 API usage. | py |
diff --git a/setup_libuv.py b/setup_libuv.py
index <HASH>..<HASH> 100644
--- a/setup_libuv.py
+++ b/setup_libuv.py
@@ -232,4 +232,6 @@ class libuv_sdist(sdist):
log.info('Downloading gyp...')
exec_process(['git', 'clone', self.gyp_repo, self.gyp_dir])
+ rmtree(os.path.join(self.gyp_dir, 'test... | build: don't include GYP tests in source distribution | py |
diff --git a/testing/conftest.py b/testing/conftest.py
index <HASH>..<HASH> 100644
--- a/testing/conftest.py
+++ b/testing/conftest.py
@@ -36,7 +36,7 @@ def getopenfiles(out):
def check_open_files(config):
out2 = py.process.cmdexec("lsof -p %d" % pid)
lines2 = getopenfiles(out2)
- if len(lines2) > config.... | be more liberal with respect to lsof checks because jenkins keeps some files open | py |
diff --git a/pysat/instruments/methods/icon.py b/pysat/instruments/methods/icon.py
index <HASH>..<HASH> 100644
--- a/pysat/instruments/methods/icon.py
+++ b/pysat/instruments/methods/icon.py
@@ -291,11 +291,6 @@ def ssl_download(date_array, tag, sat_id, data_path=None,
"""
- try:
- ftp_dict = support... | STY: F<I> in icon methods | py |
diff --git a/infi/execute/result.py b/infi/execute/result.py
index <HASH>..<HASH> 100644
--- a/infi/execute/result.py
+++ b/infi/execute/result.py
@@ -22,6 +22,8 @@ class Result(object):
self._deadline = None
if timeout is not None:
self._deadline = time.time() + timeout
+ make_fd_... | making stdout, stderr, non-blocking by default | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -24,7 +24,7 @@ setup(
'Topic :: Software Development :: Libraries :: Python Modules',
],
install_requires=[
- 'Django<=1.6',
+ 'Django>=1.6,<1.7',
],
include_package_data=True,
z... | Fixed required Django version to <I>.x | py |
diff --git a/folium/utilities.py b/folium/utilities.py
index <HASH>..<HASH> 100644
--- a/folium/utilities.py
+++ b/folium/utilities.py
@@ -156,8 +156,8 @@ def write_png(data, origin='upper', colormap=None):
height, width, nblayers = arr.shape
if nblayers not in [1, 3, 4]:
- raise ValueError('Data... | minor indentation mistake (#<I>) | py |
diff --git a/noseselenium/plugins.py b/noseselenium/plugins.py
index <HASH>..<HASH> 100644
--- a/noseselenium/plugins.py
+++ b/noseselenium/plugins.py
@@ -118,7 +118,7 @@ class SeleniumPlugin(Plugin):
if isinstance(test.test, nose.case.MethodTestCase):
self = test.test.test.im_self
... | Don't rely on private unittest interface (Close #5) | py |
diff --git a/cmenu.py b/cmenu.py
index <HASH>..<HASH> 100644
--- a/cmenu.py
+++ b/cmenu.py
@@ -196,19 +196,25 @@ class _Menu(_Command):
def loop_lines(self, cmdlines):
# Always adapt the other self.loop_* methods when making changes to
# this one
+
for cmdline in cmdlines:
- #... | Don't depend on syncere's TODOs | py |
diff --git a/python/setup.py b/python/setup.py
index <HASH>..<HASH> 100755
--- a/python/setup.py
+++ b/python/setup.py
@@ -97,7 +97,7 @@ if platform.system() == 'Darwin':
setup(
name='neuroglancer',
- version='1.0.9',
+ version='1.0.10',
description='Python data backend for neuroglancer, a WebGL-base... | chore(python): bump package version to <I> | py |
diff --git a/indra/literature/crossref_client.py b/indra/literature/crossref_client.py
index <HASH>..<HASH> 100644
--- a/indra/literature/crossref_client.py
+++ b/indra/literature/crossref_client.py
@@ -1,8 +1,11 @@
import requests
import json
from functools32 import lru_cache
+import urllib
+import re
crossref_u... | Add backup doi_query method for failed ID lookups | py |
diff --git a/wafer/management/commands/wafer_speaker_contact_details.py b/wafer/management/commands/wafer_speaker_contact_details.py
index <HASH>..<HASH> 100644
--- a/wafer/management/commands/wafer_speaker_contact_details.py
+++ b/wafer/management/commands/wafer_speaker_contact_details.py
@@ -31,7 +31,7 @@ class Comma... | wafer_speaker_contact_details: fix output This fixes the CSV output for wafer_speaker_contact_details on python3. I'm not sure sure it this would still be needed under python 2, but I would assume that a recent enough Django will do the right thing either way. | py |
diff --git a/munigeo/importer/helsinki.py b/munigeo/importer/helsinki.py
index <HASH>..<HASH> 100644
--- a/munigeo/importer/helsinki.py
+++ b/munigeo/importer/helsinki.py
@@ -38,7 +38,8 @@ SERVICE_CATEGORY_MAP = {
}
-GK25_SRS = SpatialReference(3879)
+GK25_SRID = 3879
+GK25_SRS = SpatialReference(GK25_SRID)
coo... | Update Helsinki importer to support WFS APIs | py |
diff --git a/ipyrad/assemble/demultiplex.py b/ipyrad/assemble/demultiplex.py
index <HASH>..<HASH> 100644
--- a/ipyrad/assemble/demultiplex.py
+++ b/ipyrad/assemble/demultiplex.py
@@ -826,7 +826,7 @@ def prechecks(data, preview, force):
if preview:
optim = ((data._hackersonly["preview_step1"]) // (data.cpu... | Step 1 create tmp file for estimating optim chunk size in project_dir not ./ | py |
diff --git a/lambdautils/utils.py b/lambdautils/utils.py
index <HASH>..<HASH> 100644
--- a/lambdautils/utils.py
+++ b/lambdautils/utils.py
@@ -312,7 +312,7 @@ def sentry_monitor(environment=None, stage=None, layer=None, error_stream=None,
{"environment": environment,
"... | Bugfix in the handling of errors by sentry_monitor decorator | py |
diff --git a/master/buildbot/process/properties.py b/master/buildbot/process/properties.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/process/properties.py
+++ b/master/buildbot/process/properties.py
@@ -428,7 +428,7 @@ class Interpolate(util.ComparableMixin, object):
implements(IRenderable)
compare_at... | allow '.'s and '_'s in properties Interpolate understands the current situation is bad since GerritChangeSource produces properties that contain '.'s and Interpolate does not allow to use them | py |
diff --git a/bt/algos.py b/bt/algos.py
index <HASH>..<HASH> 100644
--- a/bt/algos.py
+++ b/bt/algos.py
@@ -272,7 +272,29 @@ class SelectN(Algo):
class SelectMomentum(AlgoStack):
- def __init__(self, n, lookback=pd.DateOffset(months=3)):
+ """
+ Sets temp['selected'] based on a simple momentum filter.
+
+ ... | added sort_descending to SelectMomentum | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -173,7 +173,10 @@ setup(
packages=find_packages(exclude=["compiler*"]),
zip_safe=False,
install_requires=read("requirements.txt"),
- extras_require={"tgcrypto": ["tgcrypto==1.1.1"]},
+ extras_require={
+ ... | Add "fast" keyword as extra requirement To be used instead of "tgcrypto" | py |
diff --git a/teslajsonpy/__version__.py b/teslajsonpy/__version__.py
index <HASH>..<HASH> 100644
--- a/teslajsonpy/__version__.py
+++ b/teslajsonpy/__version__.py
@@ -6,4 +6,4 @@ For more details about this api, please refer to the documentation at
https://github.com/zabuldon/teslajsonpy
"""
-__version__ = "0.10.2"... | <I> Automatically generated by python-semantic-release | py |
diff --git a/validator/sawtooth_validator/gossip/gossip.py b/validator/sawtooth_validator/gossip/gossip.py
index <HASH>..<HASH> 100644
--- a/validator/sawtooth_validator/gossip/gossip.py
+++ b/validator/sawtooth_validator/gossip/gossip.py
@@ -545,7 +545,7 @@ class Topology(Thread):
self._network.send(valid... | Fix invalid field access Correct an error caused by accessing the incorrect (and non-existent) _connections field of the Topology class. This error caused the connection status/known connections to be left in an incorrect state, which effects peering. | py |
diff --git a/python_modules/dagster/dagster/core/execution/logs.py b/python_modules/dagster/dagster/core/execution/logs.py
index <HASH>..<HASH> 100644
--- a/python_modules/dagster/dagster/core/execution/logs.py
+++ b/python_modules/dagster/dagster/core/execution/logs.py
@@ -281,8 +281,10 @@ def tailf(path):
else:
... | handle exceptions within compute steps by closing log mirroring process Summary: We were orphaning a bunch of mirroring processes when the compute_fn raised an exception. Test Plan: Ran unit tests, ran `ps -ef | grep tail`, saw no orphaned processes Reviewers: #ft, alangenfeld Reviewed By: #ft, alangenfeld Subscri... | py |
diff --git a/gitlab/objects.py b/gitlab/objects.py
index <HASH>..<HASH> 100644
--- a/gitlab/objects.py
+++ b/gitlab/objects.py
@@ -1226,7 +1226,7 @@ class ProjectFile(GitlabObject):
requiredCreateAttrs = ['file_path', 'branch_name', 'content',
'commit_message']
optionalCreateAttrs ... | ProjectFile: file_path is required for deletion | py |
diff --git a/gns3server/controller/__init__.py b/gns3server/controller/__init__.py
index <HASH>..<HASH> 100644
--- a/gns3server/controller/__init__.py
+++ b/gns3server/controller/__init__.py
@@ -80,7 +80,7 @@ class Controller:
try:
yield from compute.close()
# We don't care if... | Fix a possible deadlock at exit | py |
diff --git a/mautrix/client/state_store/memory.py b/mautrix/client/state_store/memory.py
index <HASH>..<HASH> 100644
--- a/mautrix/client/state_store/memory.py
+++ b/mautrix/client/state_store/memory.py
@@ -95,7 +95,8 @@ class MemoryStateStore(StateStore):
else Member(members... | Fix memory store on old python | py |
diff --git a/plugins/quick_copy.py b/plugins/quick_copy.py
index <HASH>..<HASH> 100644
--- a/plugins/quick_copy.py
+++ b/plugins/quick_copy.py
@@ -18,7 +18,7 @@ def copy_current_file_offset():
# Get current address' file offset.
start, end = sark.get_selection()
file_offset = idaapi.get_fileregion_offset... | Fixed a bug of the last commit. | py |
diff --git a/glances/cpu_percent.py b/glances/cpu_percent.py
index <HASH>..<HASH> 100644
--- a/glances/cpu_percent.py
+++ b/glances/cpu_percent.py
@@ -62,8 +62,8 @@ class CpuPercent(object):
def get_info(self):
"""Get additional informations about the CPU"""
- # Never update more than 1 time per ... | Add some comments in cpu_percent | py |
diff --git a/script/lib/config.py b/script/lib/config.py
index <HASH>..<HASH> 100644
--- a/script/lib/config.py
+++ b/script/lib/config.py
@@ -9,7 +9,7 @@ import sys
BASE_URL = os.getenv('LIBCHROMIUMCONTENT_MIRROR') or \
'https://s3.amazonaws.com/github-janky-artifacts/libchromiumcontent'
LIBCHROMIUMCONTENT_COMM... | Upgrade libcc to b4dd<I>df | py |
diff --git a/pyocd/core/session.py b/pyocd/core/session.py
index <HASH>..<HASH> 100644
--- a/pyocd/core/session.py
+++ b/pyocd/core/session.py
@@ -27,7 +27,6 @@ from typing import (Any, Callable, Generator, Sequence, Union, cast, Dict, List,
from . import exceptions
from .options_manager import OptionsManager
-from... | core: session: move import of Board to Session ctor. (#<I>) This helps prevent circular imports. | py |
diff --git a/openquake/hazardlib/const.py b/openquake/hazardlib/const.py
index <HASH>..<HASH> 100644
--- a/openquake/hazardlib/const.py
+++ b/openquake/hazardlib/const.py
@@ -81,15 +81,6 @@ class IMC(ConstantContainer):
GREATER_OF_TWO_HORIZONTAL = 'Greater of two horizontal'
#: The vertical component.
VE... | This change isn't needed for the current branch so I'm backing it out. | py |
diff --git a/xtuml/meta.py b/xtuml/meta.py
index <HASH>..<HASH> 100644
--- a/xtuml/meta.py
+++ b/xtuml/meta.py
@@ -765,9 +765,8 @@ def sort_reflexive(set_of_instances, rel_id, phrase):
other_phrase = link.phrase
break
else:
- raise UnknownLinkException(metaclass.kind, rel_id, phrase)
+ ... | throw UnknownLinkException properly when sort_reflexive is unable to find a link | py |
diff --git a/multiqc/modules/picard/CrosscheckFingerprints.py b/multiqc/modules/picard/CrosscheckFingerprints.py
index <HASH>..<HASH> 100644
--- a/multiqc/modules/picard/CrosscheckFingerprints.py
+++ b/multiqc/modules/picard/CrosscheckFingerprints.py
@@ -207,10 +207,6 @@ def _get_table_headers(data):
if h ... | Remove coloring form LOD scores because it does not really make sense | py |
diff --git a/maxcube/cube.py b/maxcube/cube.py
index <HASH>..<HASH> 100644
--- a/maxcube/cube.py
+++ b/maxcube/cube.py
@@ -293,7 +293,7 @@ class MaxCube(MaxDevice):
room = '0' + room
target_temperature = int(temperature * 2) + (mode << 6)
- byte_cmd = '000440000000' + rf_addre... | This solves an issue when setting temperatures below 8 degrees in Auto mode | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -69,7 +69,7 @@ pygments_style = 'sphinx'
# If true, keep warnings as "system message" paragraphs in the built documents.
#keep_warnings = False
-#html_theme = 'default'
+html_theme = 'default'
#html_static... | doc: set html_theme | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -6,6 +6,7 @@ setup(
name='quilt_server',
packages=['quilt_server'],
include_package_data=True,
+ python_requires='>=3.4, <4',
install_requires=[
'boto3',
'Flask', | Add the Python requirements to setup.py | py |
diff --git a/fermipy/diffuse/gt_srcmap_partial.py b/fermipy/diffuse/gt_srcmap_partial.py
index <HASH>..<HASH> 100755
--- a/fermipy/diffuse/gt_srcmap_partial.py
+++ b/fermipy/diffuse/gt_srcmap_partial.py
@@ -230,8 +230,7 @@ class ConfigMaker_SrcmapPartial(ConfigMaker):
if kstep < 0:
... | Fix bug in gt_srcmap_partial | py |
diff --git a/tensorpack/models/batch_norm.py b/tensorpack/models/batch_norm.py
index <HASH>..<HASH> 100644
--- a/tensorpack/models/batch_norm.py
+++ b/tensorpack/models/batch_norm.py
@@ -178,7 +178,7 @@ def BatchNormV2(x, use_local_stat=None, decay=0.9, epsilon=1e-5):
else:
return tf.identity(xn, name='ou... | TF<I> doesn't have fused_batch_norm | py |
diff --git a/firebirdsql/fbcore.py b/firebirdsql/fbcore.py
index <HASH>..<HASH> 100644
--- a/firebirdsql/fbcore.py
+++ b/firebirdsql/fbcore.py
@@ -631,7 +631,8 @@ class Connection(WireProtocol):
return self.main_transaction.savepoint(name)
def rollback(self, retaining=False, savepoint=None):
- se... | Same behaviour as commit(): rollback is a no op when main_transaction is None | py |
diff --git a/nats/aio/client.py b/nats/aio/client.py
index <HASH>..<HASH> 100644
--- a/nats/aio/client.py
+++ b/nats/aio/client.py
@@ -831,6 +831,8 @@ class Client(object):
# FIXME: Add readline timeout
info_line = yield from self._io_reader.readline()
+ if not info_line:
+ raise N... | Update error messages raised during connect init | py |
diff --git a/wishbone_output_file/fileout.py b/wishbone_output_file/fileout.py
index <HASH>..<HASH> 100644
--- a/wishbone_output_file/fileout.py
+++ b/wishbone_output_file/fileout.py
@@ -44,7 +44,7 @@ class FileOut(Actor):
| The part of the event to submit externally.
| Use an empty string to ... | make sure the value of the lookup is a string | py |
diff --git a/vulture/core.py b/vulture/core.py
index <HASH>..<HASH> 100644
--- a/vulture/core.py
+++ b/vulture/core.py
@@ -37,7 +37,7 @@ import sys
from vulture import lines
from vulture import utils
-__version__ = '0.17'
+__version__ = '0.18'
# The ast module in Python 2 trips over "coding" cookies, so strip th... | Update version number to <I> for release. | py |
diff --git a/py/test/selenium/webdriver/common/page_loading_tests.py b/py/test/selenium/webdriver/common/page_loading_tests.py
index <HASH>..<HASH> 100644
--- a/py/test/selenium/webdriver/common/page_loading_tests.py
+++ b/py/test/selenium/webdriver/common/page_loading_tests.py
@@ -47,7 +47,6 @@ class TestPageLoading(o... | [py] Remove Safari xfail for testShouldReturnWhenGettingAUrlThatDoesNotConnect | py |
diff --git a/dp_tornado/engine/controller.py b/dp_tornado/engine/controller.py
index <HASH>..<HASH> 100644
--- a/dp_tornado/engine/controller.py
+++ b/dp_tornado/engine/controller.py
@@ -149,6 +149,10 @@ class Controller(dpEngine):
self._write.append(chunk)
def finish(self, chunk=None):
+ if isin... | automatic serialization when finishing with list, tuple or dict object. | py |
diff --git a/DeepSpeech.py b/DeepSpeech.py
index <HASH>..<HASH> 100644
--- a/DeepSpeech.py
+++ b/DeepSpeech.py
@@ -1138,7 +1138,7 @@ if __name__ == "__main__":
if export_dir:
with tf.device('/cpu:0'):
tf.reset_default_graph()
- session = tf.Session(config=tf.ConfigProto(allow_soft_... | Respect session config environment variables during exporting | py |
diff --git a/builder.py b/builder.py
index <HASH>..<HASH> 100644
--- a/builder.py
+++ b/builder.py
@@ -586,14 +586,12 @@ Adding location with name: {}""".format(new_location_name, new_location_name)
ind = self.ancestry.index(child_type)
parent_type = self.ancestry[ind+1]
grandpare... | make_magic: fix a stupid builder doubling error | py |
diff --git a/spyder/utils/tests/test_iofuncs.py b/spyder/utils/tests/test_iofuncs.py
index <HASH>..<HASH> 100644
--- a/spyder/utils/tests/test_iofuncs.py
+++ b/spyder/utils/tests/test_iofuncs.py
@@ -83,4 +83,16 @@ def test_spydata_import(spydata_values):
valid = True
for var in sorted(spydata_values.keys()):
... | Removes real tests from non-widget files, adds some new found tests. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -58,7 +58,7 @@ except ImportError:
setup(
name="pyvex", version='4.6.3.15', description="A Python interface to libVEX and VEX IR.",
- packages=['pyvex', 'pyvex.IRConst', 'pyvex.IRExpr', 'pyvex.IRStmt'],
+ package... | Remove old subpackages from setup.py | py |
diff --git a/spyder/utils/programs.py b/spyder/utils/programs.py
index <HASH>..<HASH> 100644
--- a/spyder/utils/programs.py
+++ b/spyder/utils/programs.py
@@ -291,8 +291,10 @@ def run_python_script_in_terminal(fname, wdir, args, interact,
p_args += get_python_args(fname, python_args, interact, debug, args)
... | Don't add an empty wdir to cmd | py |
diff --git a/cassandra/cluster.py b/cassandra/cluster.py
index <HASH>..<HASH> 100644
--- a/cassandra/cluster.py
+++ b/cassandra/cluster.py
@@ -3102,6 +3102,12 @@ class ResponseFuture(object):
else:
raise self._final_exception
+ def get_query_trace_ids(self):
+ """
+ Returns the ... | ResponseFuture.get_query_trace_ids for getting ids without fetching | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -40,8 +40,7 @@ setup(
platforms="Posix; MacOS X",
url="http://widdowquinn.github.io/pyani/", # project home page
download_url="https://github.com/widdowquinn/pyani/releases",
- scripts=[os.path.join('bin', '... | remove genome download script from setup.py | py |
diff --git a/stix2validator/test/v21/network_traffic_tests.py b/stix2validator/test/v21/network_traffic_tests.py
index <HASH>..<HASH> 100644
--- a/stix2validator/test/v21/network_traffic_tests.py
+++ b/stix2validator/test/v21/network_traffic_tests.py
@@ -98,7 +98,9 @@ class ObservedDataTestCases(ValidatorTest):
... | Added IP_* and MCAST_* to the socket options test | py |
diff --git a/pages/http.py b/pages/http.py
index <HASH>..<HASH> 100644
--- a/pages/http.py
+++ b/pages/http.py
@@ -39,9 +39,12 @@ def auto_render(func):
def _dec(request, *args, **kwargs):
template_override = kwargs.pop('template_name', None)
only_context = kwargs.pop('only_context', False)
- ... | Add only_response option to auto_render as an alternative to only_context and to prevent AutoRenderHttpError when pages are redirected. | py |
diff --git a/dci/api/v1/analytics.py b/dci/api/v1/analytics.py
index <HASH>..<HASH> 100644
--- a/dci/api/v1/analytics.py
+++ b/dci/api/v1/analytics.py
@@ -132,9 +132,10 @@ def tasks_components_coverage(user):
],
}
if types:
- query["query"]["bool"]["should"] = []
+ bool_should = {"bool"... | analytics.py/coverage: add "should" within "must" Change-Id: Ifae<I>d<I>bcb7b<I>b3fef<I>efe<I>d | py |
diff --git a/bblfsh/compat.py b/bblfsh/compat.py
index <HASH>..<HASH> 100644
--- a/bblfsh/compat.py
+++ b/bblfsh/compat.py
@@ -17,7 +17,7 @@ from typing import Union, List, Any, Optional
import grpc
-import bblfsh.client as bcli
+import bblfsh.client as newbbl
from bblfsh import role_id, role_name
from bblfsh.no... | Renamed bcli alias to newbbl to avoid command line confussion | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -13,17 +13,22 @@ kwargs = {'name': 'Glymur',
'package_data': {'glymur': ['data/*.jp2', 'data/*.j2k']},
'scripts': ['bin/jp2dump'],
'license': 'LICENSE.txt',
+ 'test_suite': 'glymur.tes... | Moving test requirements into its own area. Worked on Fedora<I>, python <I>. #<I> | py |
diff --git a/.buildkite/dagster-buildkite/dagster_buildkite/steps/dagster.py b/.buildkite/dagster-buildkite/dagster_buildkite/steps/dagster.py
index <HASH>..<HASH> 100644
--- a/.buildkite/dagster-buildkite/dagster_buildkite/steps/dagster.py
+++ b/.buildkite/dagster-buildkite/dagster_buildkite/steps/dagster.py
@@ -353,6... | [dagster-dbt] pin some stuff (#<I>) | py |
diff --git a/pyblish_lite/control.py b/pyblish_lite/control.py
index <HASH>..<HASH> 100644
--- a/pyblish_lite/control.py
+++ b/pyblish_lite/control.py
@@ -272,6 +272,11 @@ class Window(QtWidgets.QDialog):
"overview": overview,
"terminal": terminal,
},
+ "tabs_ra... | incase of error drop user in the overview | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.