diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/django_x509/tests/test_cert.py b/django_x509/tests/test_cert.py
index <HASH>..<HASH> 100644
--- a/django_x509/tests/test_cert.py
+++ b/django_x509/tests/test_cert.py
@@ -409,3 +409,21 @@ k9Y1S1C9VB0YsDZTeZUggJNSDN4YrKjIevYZQQIhAOWec6vngM/PlI1adrFndd3d
self._create_cert(serial_number='notIntege... | Added test to make sure error is raised for serial number clashes. Fixes and closes #<I> | py |
diff --git a/metal/mmtl/dataset.py b/metal/mmtl/dataset.py
index <HASH>..<HASH> 100644
--- a/metal/mmtl/dataset.py
+++ b/metal/mmtl/dataset.py
@@ -448,14 +448,15 @@ class MNLIDataset(BERTDataset):
"test": -1,
"test_mismatched": -1,
"test_matched": -1,
+ "diagnostic": -1... | Adding column indices for diagnostic task | py |
diff --git a/phileo/__init__.py b/phileo/__init__.py
index <HASH>..<HASH> 100644
--- a/phileo/__init__.py
+++ b/phileo/__init__.py
@@ -1,2 +1,2 @@
# following PEP 386
-__version__ = "0.6"
+__version__ = "1.0" | <I> - for real this time | py |
diff --git a/holoviews/plotting/bokeh/chart.py b/holoviews/plotting/bokeh/chart.py
index <HASH>..<HASH> 100644
--- a/holoviews/plotting/bokeh/chart.py
+++ b/holoviews/plotting/bokeh/chart.py
@@ -110,9 +110,12 @@ class PointPlot(LegendPlot, ColorbarPlot):
style['angle'] = np.deg2rad(style['angle'])
... | Fix jitter when axes inverted (#<I>) | py |
diff --git a/pyiso.py b/pyiso.py
index <HASH>..<HASH> 100644
--- a/pyiso.py
+++ b/pyiso.py
@@ -2841,8 +2841,6 @@ class PyIso(object):
current_extent += -(-child.data_length // self.pvd.log_block_size)
# After we have reshuffled the extents we need to update the ptr
# records.
- ... | Remove a wrong FIXME. | py |
diff --git a/tests/unit/test_object_storage.py b/tests/unit/test_object_storage.py
index <HASH>..<HASH> 100644
--- a/tests/unit/test_object_storage.py
+++ b/tests/unit/test_object_storage.py
@@ -3238,7 +3238,8 @@ class ObjectStorageTest(unittest.TestCase):
fnames = ["test1", "test2", "test3", "fake1", "fak... | Safely open and write to file to fix pypy test errors | py |
diff --git a/examples/python/conditional_gate_example.py b/examples/python/conditional_gate_example.py
index <HASH>..<HASH> 100644
--- a/examples/python/conditional_gate_example.py
+++ b/examples/python/conditional_gate_example.py
@@ -115,21 +115,4 @@ c = backend.get_compiled_circuit(c)
counts = backend.run_circuit(c,... | Remove reference to Program class in manual. | py |
diff --git a/jax/api.py b/jax/api.py
index <HASH>..<HASH> 100644
--- a/jax/api.py
+++ b/jax/api.py
@@ -984,8 +984,7 @@ class CustomTransformsFunction(object):
def __call__(self, *args, **kwargs):
def pv_like(x):
- aval = x.aval if hasattr(x, 'aval') else xla.abstractify(x)
- return pe.PartialVal((av... | Used shaped aval for custom_transforms jaxpr | py |
diff --git a/gremlin-python/src/main/python/gremlin_python/statics.py b/gremlin-python/src/main/python/gremlin_python/statics.py
index <HASH>..<HASH> 100644
--- a/gremlin-python/src/main/python/gremlin_python/statics.py
+++ b/gremlin-python/src/main/python/gremlin_python/statics.py
@@ -59,7 +59,7 @@ class SingleByte(in... | added return in SingleByte and SingleChar & fix if check bug | py |
diff --git a/pypeerassets/protocol.py b/pypeerassets/protocol.py
index <HASH>..<HASH> 100644
--- a/pypeerassets/protocol.py
+++ b/pypeerassets/protocol.py
@@ -325,7 +325,7 @@ class DeckState:
except KeyError:
self.balances[receiver] = amount
- def _sort_cards(self, cards: list) -> Non... | get DeckState::_sort_card annotation right | py |
diff --git a/trionyx/settings.py b/trionyx/settings.py
index <HASH>..<HASH> 100644
--- a/trionyx/settings.py
+++ b/trionyx/settings.py
@@ -107,6 +107,7 @@ SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
LOGIN_EXEMPT_URLS = [
'static',
+ 'api',
]
"""A list of urls that dont require a login""" | [BUGFIX] API cookie login was reqeured | py |
diff --git a/holoviews/core/ndmapping.py b/holoviews/core/ndmapping.py
index <HASH>..<HASH> 100644
--- a/holoviews/core/ndmapping.py
+++ b/holoviews/core/ndmapping.py
@@ -514,7 +514,7 @@ class NdMapping(MultiDimensionalMapping):
else:
condition = self._range_condition(dim_ind)
... | Fixed step slicing and string indexing on NdMapping | py |
diff --git a/tests/integration/__init__.py b/tests/integration/__init__.py
index <HASH>..<HASH> 100644
--- a/tests/integration/__init__.py
+++ b/tests/integration/__init__.py
@@ -145,9 +145,13 @@ class TestDaemon(object):
self.minion_opts = salt.config.minion_config(
os.path.join(INTEGRATION_TEST_... | Is this what's needed under python <I> for tests to complete? | py |
diff --git a/dotlink/dotlink.py b/dotlink/dotlink.py
index <HASH>..<HASH> 100755
--- a/dotlink/dotlink.py
+++ b/dotlink/dotlink.py
@@ -234,7 +234,7 @@ class Dotlink(object):
source_path = path.join(self.source, source_path)
target_path = path.join(target_root, target_path)
- if pa... | Fix removal of existing symlinks that point to directories | py |
diff --git a/lhc/binf/feature/seq.py b/lhc/binf/feature/seq.py
index <HASH>..<HASH> 100644
--- a/lhc/binf/feature/seq.py
+++ b/lhc/binf/feature/seq.py
@@ -20,7 +20,11 @@ class NucleotideFrequency(Feature):
class NucleotideSkew(Feature):
def __init__(self):
+ self.depends = [(NucleotideFrequency, 1)]
... | Added at and gc skew to features | py |
diff --git a/lib/webuser.py b/lib/webuser.py
index <HASH>..<HASH> 100644
--- a/lib/webuser.py
+++ b/lib/webuser.py
@@ -400,6 +400,10 @@ def loginUser(req, p_un, p_pw, login_method):
try:
groups = CFG_EXTERNAL_AUTHENTICATION[login_method][0].fetch_user_groups_membership(p_email, p_pw)
... | Changed the external group names to make clear what login method they belong to. | py |
diff --git a/lib/reda/containers/sEIT.py b/lib/reda/containers/sEIT.py
index <HASH>..<HASH> 100644
--- a/lib/reda/containers/sEIT.py
+++ b/lib/reda/containers/sEIT.py
@@ -4,7 +4,7 @@ This container holds multi-frequency (spectral) imaging data, that is multiple
SIP/EIS spectra for different four-point spreads, usually... | [sEIT] try to fix a memory leak when plotting many spectra | py |
diff --git a/grappa/reporters/code.py b/grappa/reporters/code.py
index <HASH>..<HASH> 100644
--- a/grappa/reporters/code.py
+++ b/grappa/reporters/code.py
@@ -37,7 +37,8 @@ class CodeReporter(BaseReporter):
# Context manager based assertions that does not imply new test calls.
CONTEXT_EXPR = re.compile(
- ... | refactor(reporter): match additional negation assertions | py |
diff --git a/sentry_sdk/scope.py b/sentry_sdk/scope.py
index <HASH>..<HASH> 100644
--- a/sentry_sdk/scope.py
+++ b/sentry_sdk/scope.py
@@ -241,7 +241,9 @@ class Scope(object):
if self._level is not None:
event["level"] = self._level
- event.setdefault("breadcrumbs", []).extend(self._bread... | fix: Remove breadcrumbs from transaction events (#<I>) | py |
diff --git a/safe/engine/interpolation.py b/safe/engine/interpolation.py
index <HASH>..<HASH> 100644
--- a/safe/engine/interpolation.py
+++ b/safe/engine/interpolation.py
@@ -94,7 +94,7 @@ def assign_hazard_values_to_exposure_data(hazard, exposure,
# Make sure attribute name can be stored in a shapefile
if ... | Added explicit laundering of attribute_name for shapefiles (grrr) | py |
diff --git a/django_fsm_log/admin.py b/django_fsm_log/admin.py
index <HASH>..<HASH> 100644
--- a/django_fsm_log/admin.py
+++ b/django_fsm_log/admin.py
@@ -11,7 +11,7 @@ class StateLogInline(GenericTabularInline):
model = StateLog
can_delete = False
- def has_add_permission(self, request):
+ def has_ad... | admin: StateLogInline: has_add_permission: dj<I> compatibility (#<I>) | py |
diff --git a/py3status/modules/dropboxd_status.py b/py3status/modules/dropboxd_status.py
index <HASH>..<HASH> 100644
--- a/py3status/modules/dropboxd_status.py
+++ b/py3status/modules/dropboxd_status.py
@@ -72,7 +72,7 @@ class Py3status:
raise Exception(STRING_NOT_INSTALLED)
def dropbox(self):
- ... | dropbox_status module: add support for unicode character output from dropbox-cli (#<I>) | py |
diff --git a/kafka/errors.py b/kafka/errors.py
index <HASH>..<HASH> 100644
--- a/kafka/errors.py
+++ b/kafka/errors.py
@@ -468,10 +468,6 @@ class KafkaConnectionError(KafkaError):
invalid_metadata = True
-class ConnectionError(KafkaConnectionError):
- """Deprecated"""
-
-
class ProtocolError(KafkaError):
... | Remove deprecated `ConnectionError` (#<I>) This has been deprecated for a bit in favor of `KafkaConnectionError` because it conflicts with Python's built-in `ConnectionError`. Time to remove it as part of cleaning up our old deprecated code. | py |
diff --git a/pysnmp/carrier/twisted/dgram/udp.py b/pysnmp/carrier/twisted/dgram/udp.py
index <HASH>..<HASH> 100644
--- a/pysnmp/carrier/twisted/dgram/udp.py
+++ b/pysnmp/carrier/twisted/dgram/udp.py
@@ -23,4 +23,9 @@ class UdpTwistedTransport(DgramTwistedTransport):
raise error.CarrierError(sys.exc_info()[... | overload closeTransport() to close UDP port on transport shutdown | py |
diff --git a/qgrid/grid.py b/qgrid/grid.py
index <HASH>..<HASH> 100644
--- a/qgrid/grid.py
+++ b/qgrid/grid.py
@@ -1411,6 +1411,11 @@ class QgridWidget(widgets.DOMWidget):
elif content['type'] == 'change_viewport':
old_viewport_range = self._viewport_range
self._viewport_range = (cont... | Fix issue where scroll event could be sent repeatedly, causing the grid to flicker and the kernel to remain in use. | py |
diff --git a/blueqat/_version.py b/blueqat/_version.py
index <HASH>..<HASH> 100644
--- a/blueqat/_version.py
+++ b/blueqat/_version.py
@@ -14,4 +14,4 @@
"""The version of blueqat."""
-__version__ = "0.3.16-dev"
+__version__ = "0.3.16" | MAINT: Version updated for hotfix release | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -28,7 +28,7 @@ setup(
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.h... | Move out unmaintained modules. Drop python 2 support. | py |
diff --git a/selenic/__init__.py b/selenic/__init__.py
index <HASH>..<HASH> 100644
--- a/selenic/__init__.py
+++ b/selenic/__init__.py
@@ -1,10 +1,20 @@
+from distutils.version import StrictVersion
+
from selenium.webdriver.common.action_chains import ActionChains
import selenium
-from config import *
+from .config... | Updated the ActionChains.send_keys patch. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -64,7 +64,6 @@ install_requires = [
"Flask-BabelEx>=0.9.2",
"Flask-Breadcrumbs>=0.3.0",
"Flask-Menu>=0.4.0",
- # "invenio-assets>=0.1.0.dev20150000",
]
packages = find_packages()
@@ -124,12 +123,15 @@ se... | installation: entry points addition * Adds entry points for Invenio-Base to discover the extension. | py |
diff --git a/dingo/tools/geo.py b/dingo/tools/geo.py
index <HASH>..<HASH> 100644
--- a/dingo/tools/geo.py
+++ b/dingo/tools/geo.py
@@ -98,3 +98,24 @@ def calc_geo_dist_matrix_vincenty(nodes_pos):
matrix[i][j] = distance
return matrix
+
+
+def calc_geo_centre_point(node_source, node_target, proj_sour... | add method to calc centre point from two points for determining position of circuit breaker | py |
diff --git a/anytemplate/engines/tenjin.py b/anytemplate/engines/tenjin.py
index <HASH>..<HASH> 100644
--- a/anytemplate/engines/tenjin.py
+++ b/anytemplate/engines/tenjin.py
@@ -9,7 +9,12 @@ from __future__ import absolute_import
import logging
import tenjin # :throw: ImportError
tenjin.set_template_encoding('utf-... | replace '*' (glob imports) with explicit imports and suppress flake8's warning as an workaround | py |
diff --git a/utils/utils.py b/utils/utils.py
index <HASH>..<HASH> 100644
--- a/utils/utils.py
+++ b/utils/utils.py
@@ -1,6 +1,7 @@
import os
import imp
import json
+import ConfigParser
from xml.dom import minidom
from xml.etree import cElementTree as ctree
@@ -39,3 +40,24 @@ def create_tables_file(path=None):
d... | #9 : function to create config file added | py |
diff --git a/openquake/calculators/classical.py b/openquake/calculators/classical.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/classical.py
+++ b/openquake/calculators/classical.py
@@ -664,7 +664,8 @@ class ClassicalCalculator(base.HazardCalculator):
slicedic = performance.get_slices(
... | Better logging [ci skip] | py |
diff --git a/pypodio2/transport.py b/pypodio2/transport.py
index <HASH>..<HASH> 100644
--- a/pypodio2/transport.py
+++ b/pypodio2/transport.py
@@ -41,7 +41,6 @@ class OAuthAuthorization(object):
def __call__(self):
return self.token
-
class UserAgentHeaders(object):
def __init__(self, base_headers... | Transport.__call__ needs to return the results from the handler | py |
diff --git a/kubernetes_asyncio/config/kube_config.py b/kubernetes_asyncio/config/kube_config.py
index <HASH>..<HASH> 100644
--- a/kubernetes_asyncio/config/kube_config.py
+++ b/kubernetes_asyncio/config/kube_config.py
@@ -326,7 +326,7 @@ class KubeConfigLoader(object):
def _load_cluster_info(self):
if ... | fix: trailing slash on kube/config (#<I>) | py |
diff --git a/src/robotsuite/__init__.py b/src/robotsuite/__init__.py
index <HASH>..<HASH> 100644
--- a/src/robotsuite/__init__.py
+++ b/src/robotsuite/__init__.py
@@ -11,6 +11,7 @@ import string
import unicodedata
import robot
+from robot.common.model import _Critical
import unittest2 as unittest
from lxml import... | only raise an AssertionError if the test is critical | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -732,7 +732,7 @@ INSTALL_REQUIREMENTS = [
'sqlalchemy~=1.3',
'sqlalchemy_jsonfield~=0.9',
'tabulate>=0.7.5, <0.9',
- 'tenacity==4.12.0',
+ 'tenacity>=4.12.0, <5.2',
'thrift>=0.9.2',
'typing;pytho... | Relax requirement to allow latest version of tenacity (#<I>) | py |
diff --git a/scripts/rnaseq2ga.py b/scripts/rnaseq2ga.py
index <HASH>..<HASH> 100644
--- a/scripts/rnaseq2ga.py
+++ b/scripts/rnaseq2ga.py
@@ -144,7 +144,8 @@ class AbstractWriter(object):
featureSet = dataset.getFeatureSets()[0]
featureId = ""
for feature in featureSet.getFeature... | Fix a bug in loading RNA feature IDs for prep compliance | py |
diff --git a/spyderlib/restart_app.py b/spyderlib/restart_app.py
index <HASH>..<HASH> 100644
--- a/spyderlib/restart_app.py
+++ b/spyderlib/restart_app.py
@@ -266,7 +266,7 @@ def main():
# Before launching a new Spyder instance we need to make sure that the
# reset subprocess has closed. We wait for ... | Reduce max waiting time when resetting | py |
diff --git a/thredds_crawler/__init__.py b/thredds_crawler/__init__.py
index <HASH>..<HASH> 100644
--- a/thredds_crawler/__init__.py
+++ b/thredds_crawler/__init__.py
@@ -1 +1 @@
-__version__ = '0.9'
+__version__ = '1.0-dev' | Bump to <I>-dev | py |
diff --git a/cpuinfo.py b/cpuinfo.py
index <HASH>..<HASH> 100644
--- a/cpuinfo.py
+++ b/cpuinfo.py
@@ -920,13 +920,13 @@ def get_cpu_info_from_dmesg():
processor_brand = processor_brand.strip()
# Various fields
- fields = fields.split(' ')
+ fields = fields.strip().split(' ')
vendor_id = None
stepping = Non... | Fixed more bugs that broke dmesg. | py |
diff --git a/paradigm/definitions/unsupported.py b/paradigm/definitions/unsupported.py
index <HASH>..<HASH> 100644
--- a/paradigm/definitions/unsupported.py
+++ b/paradigm/definitions/unsupported.py
@@ -269,6 +269,7 @@ if platform.python_implementation() != 'PyPy':
# not supported by ``typeshed`` package
... | Complete unsupported methods descriptors | py |
diff --git a/qiskit/aqua/algorithms/quantum_algorithm.py b/qiskit/aqua/algorithms/quantum_algorithm.py
index <HASH>..<HASH> 100644
--- a/qiskit/aqua/algorithms/quantum_algorithm.py
+++ b/qiskit/aqua/algorithms/quantum_algorithm.py
@@ -82,7 +82,7 @@ class QuantumAlgorithm(Pluggable):
"""
if not self.co... | Create QiskitAqua class to contain Aqua properties | py |
diff --git a/kafka/consumer/new.py b/kafka/consumer/new.py
index <HASH>..<HASH> 100644
--- a/kafka/consumer/new.py
+++ b/kafka/consumer/new.py
@@ -172,7 +172,7 @@ class KafkaConsumer(object):
self._msg_iter = self.fetch_messages()
# Check for auto-commit
- if self.should_auto_commit():
+ if ... | _should_auto_commit is private | py |
diff --git a/papermill/execute.py b/papermill/execute.py
index <HASH>..<HASH> 100644
--- a/papermill/execute.py
+++ b/papermill/execute.py
@@ -13,7 +13,13 @@ from nbconvert.preprocessors import ExecutePreprocessor
from nbconvert.preprocessors.execute import CellExecutionError
from nbconvert.preprocessors.base import ... | Provides the ability to run in environment execution where multiprocessing locks are not implemented, e.g. AWS Lambda | py |
diff --git a/bebop/query.py b/bebop/query.py
index <HASH>..<HASH> 100644
--- a/bebop/query.py
+++ b/bebop/query.py
@@ -57,7 +57,7 @@ class SolrQuery(object):
return self
def offset(self, offset):
- self.params['offset'] = offset
+ self.params['start'] = offset
return self
d... | [fix] offset param was wrong, thank you nosetests | py |
diff --git a/h2o-py/h2o/frame.py b/h2o-py/h2o/frame.py
index <HASH>..<HASH> 100644
--- a/h2o-py/h2o/frame.py
+++ b/h2o-py/h2o/frame.py
@@ -4030,8 +4030,9 @@ class H2OFrame(Keyed):
data = pandaF[newX].values
label = pandaF[[yresp]].values
- return xgb.DMatrix(data=csr_matrix(data), label=label... | Add feature names to DMatrix | py |
diff --git a/tests/test_assess_model_change_watcher.py b/tests/test_assess_model_change_watcher.py
index <HASH>..<HASH> 100644
--- a/tests/test_assess_model_change_watcher.py
+++ b/tests/test_assess_model_change_watcher.py
@@ -1,7 +1,8 @@
"""Tests for assess_model_change_watcher module."""
import logging
-from io i... | Fix stdout mocking. | py |
diff --git a/luminoso_api/client.py b/luminoso_api/client.py
index <HASH>..<HASH> 100644
--- a/luminoso_api/client.py
+++ b/luminoso_api/client.py
@@ -244,9 +244,9 @@ class LuminosoClient(object):
Returns a copy of the client to avoid breaking old code.
"""
if path.startswith('/'):
- ... | Restore ensure_trailing_slash as part of change_path Previously change_path() got ensure_trailing_slash() because it was going through __init__(). It no longer is, so the ensuring function needs to be called directly in change_path(). | py |
diff --git a/dss/api/files.py b/dss/api/files.py
index <HASH>..<HASH> 100644
--- a/dss/api/files.py
+++ b/dss/api/files.py
@@ -142,13 +142,18 @@ def put(uuid: str, version: str=None):
)).lower()
# does it exist? if so, we can skip the copy part.
+ do_copy = True
try:
- handle.get_metadata(
- ... | Checksum-based mechanism for determining whether we copy. (#<I>) Now the new approach is: 1. Does the checksum on disk match our expectations? If so, skip the copy. 2. Do the copy and verify that the copy was done correctly. | py |
diff --git a/scripts/analyze_quality_recal.py b/scripts/analyze_quality_recal.py
index <HASH>..<HASH> 100644
--- a/scripts/analyze_quality_recal.py
+++ b/scripts/analyze_quality_recal.py
@@ -41,7 +41,7 @@ import pysam
from mako.template import Template
try:
import rpy2.robjects as robjects
-except ImportError:
+... | Catch errors with problem rpy2 intallations to skip plotting step | py |
diff --git a/natsort/__main__.py b/natsort/__main__.py
index <HASH>..<HASH> 100644
--- a/natsort/__main__.py
+++ b/natsort/__main__.py
@@ -78,6 +78,7 @@ def main():
# Make sure the filter range is given properly. Does nothing if no filter
args.filter = check_filter(args.filter)
+ args.reverse_filter = ch... | Added a filter range check to --reverse-filter. | py |
diff --git a/health_monitoring_plugins/check_snmp_ilo4/check_snmp_ilo4.py b/health_monitoring_plugins/check_snmp_ilo4/check_snmp_ilo4.py
index <HASH>..<HASH> 100755
--- a/health_monitoring_plugins/check_snmp_ilo4/check_snmp_ilo4.py
+++ b/health_monitoring_plugins/check_snmp_ilo4/check_snmp_ilo4.py
@@ -406,7 +406,7 @@ i... | fixed check_snmp_ilo4 to work with snmpv2 (#<I>) The community string was not being passed as a parameter to the netsnmp.Session constructor | py |
diff --git a/tests/test_record.py b/tests/test_record.py
index <HASH>..<HASH> 100644
--- a/tests/test_record.py
+++ b/tests/test_record.py
@@ -12,6 +12,7 @@ import pickle
import sys
import unittest
+from asyncpg import _testbase as tb
from asyncpg.protocol.protocol import _create_record as Record
@@ -21,7 +22,... | Add a (failing) test for duplicate field names handling in Records | py |
diff --git a/telemetry/telemetry/core/platform/power_monitor/ippet_power_monitor.py b/telemetry/telemetry/core/platform/power_monitor/ippet_power_monitor.py
index <HASH>..<HASH> 100644
--- a/telemetry/telemetry/core/platform/power_monitor/ippet_power_monitor.py
+++ b/telemetry/telemetry/core/platform/power_monitor/ippe... | [telemetry] Limit IPPET process list. This may reduce IPPET overhead and runtime, leading to lower noise and cycle time on the bots. -all_processes means include processes with 0 CPU time, which is useless to us anyway. -l 0 means unlimited number of processes. The default is the top <I> processes by CPU time. BUG=N... | py |
diff --git a/wcmatch/glob.py b/wcmatch/glob.py
index <HASH>..<HASH> 100644
--- a/wcmatch/glob.py
+++ b/wcmatch/glob.py
@@ -293,8 +293,8 @@ class Glob(object):
"""Init the directory walker object."""
self.flags = _flag_transform(flags)
- self.dot = not bool(self.flags & NODOT)
- self.gl... | Enable dot and globstar in glob by default | py |
diff --git a/condoor/version.py b/condoor/version.py
index <HASH>..<HASH> 100644
--- a/condoor/version.py
+++ b/condoor/version.py
@@ -1,3 +1,3 @@
"""Version information."""
-__version__ = '1.0.11'
+__version__ = '1.0.12' | Bumping version number to <I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,7 @@ from setuptools import find_packages
setup(
name='django-db-pool',
- version='0.0.1',
+ version='0.0.2',
author=u'Greg McGuire',
author_email='gregjmcguire+github@gmail.com',
packages=... | Fix incorrect install_requires | py |
diff --git a/cherrypy/_cputil.py b/cherrypy/_cputil.py
index <HASH>..<HASH> 100644
--- a/cherrypy/_cputil.py
+++ b/cherrypy/_cputil.py
@@ -54,7 +54,7 @@ def get_object_trail(objectpath=None):
return objectTrail
-def get_special_attribute(name, alternate_name = None):
+def get_special_attribute(name, old_na... | Fix for #<I>: Try old name first | py |
diff --git a/salt/modules/iptables.py b/salt/modules/iptables.py
index <HASH>..<HASH> 100644
--- a/salt/modules/iptables.py
+++ b/salt/modules/iptables.py
@@ -314,6 +314,7 @@ def check(table='filter', chain=None, rule=None):
def check_chain(table='filter', chain=None):
'''
+ .. versionadded:: Hydrogen
... | Add versionadded directives to newer iptables functions | py |
diff --git a/tests/example_project/settings/base.py b/tests/example_project/settings/base.py
index <HASH>..<HASH> 100644
--- a/tests/example_project/settings/base.py
+++ b/tests/example_project/settings/base.py
@@ -71,6 +71,8 @@ INSTALLED_APPS = (
'ella.ellaadmin',
'ella.newman',
+ 'ella.newman.markup',
... | Markup and licenses apps added to INSTALLED_APPS. | py |
diff --git a/salt/proxy/esxi.py b/salt/proxy/esxi.py
index <HASH>..<HASH> 100644
--- a/salt/proxy/esxi.py
+++ b/salt/proxy/esxi.py
@@ -192,9 +192,9 @@ States
------
Associated states are thoroughly documented in
-:doc:`salt.states.vsphere </ref/states/all/salt.states.vsphere>`. Look there
-to find an example struct... | ESXi Proxy minions states are located at salt.states.esxi, not vsphere. | py |
diff --git a/datahandling/datahandling/datahandling.py b/datahandling/datahandling/datahandling.py
index <HASH>..<HASH> 100644
--- a/datahandling/datahandling/datahandling.py
+++ b/datahandling/datahandling/datahandling.py
@@ -487,7 +487,6 @@ def fit_PSD(Data, bandwidth, NMovAve, TrapFreqGuess, AGuess=0.1e10, GammaGues... | removed print statement from fit_PSD that i left in from testing | py |
diff --git a/mackup.py b/mackup.py
index <HASH>..<HASH> 100755
--- a/mackup.py
+++ b/mackup.py
@@ -297,6 +297,9 @@ SUPPORTED_APPS = {
'Transmission': [PREFERENCES + 'org.m0k.transmission.plist'],
+ 'Vagrant': ['.vagrant',
+ '.vagrant.d'],
+
'Ventrilo': [PREFERENCES + 'Ventrilo'],
... | Add support for vagrant dotfiles They are some very large files (machines, boxes) which may not be desired in all cases | py |
diff --git a/TableParser.py b/TableParser.py
index <HASH>..<HASH> 100644
--- a/TableParser.py
+++ b/TableParser.py
@@ -47,7 +47,6 @@ class TableParser( htmllib.HTMLParser ):
The parser will accept nested tables as <table> inside <td> elements.
"""
def __init__( self ):
- #raise Exception, 'The table parser do... | Removed commented raise Exception in __init__. Added code to start_td to infer a start_tr when no current row exists. ********************** Label: "ICIMOD" User: Jaraco Date: <I>-<I>-<I> Time: <I>:<I> Labeled Label comment: This is the version of the modules as packaged for transfer to ICIMOD. | py |
diff --git a/core/rq-worker/file_watch.py b/core/rq-worker/file_watch.py
index <HASH>..<HASH> 100644
--- a/core/rq-worker/file_watch.py
+++ b/core/rq-worker/file_watch.py
@@ -148,7 +148,7 @@ def template_queue(path, base_dir="/var/lib/docker/data/"):
try:
if container["Status"] == "exited"... | fixing skipped core container from name-based to id-based | py |
diff --git a/transitfeed/trip.py b/transitfeed/trip.py
index <HASH>..<HASH> 100755
--- a/transitfeed/trip.py
+++ b/transitfeed/trip.py
@@ -234,6 +234,10 @@ class Trip(GtfsObjectBase):
'trip_id=? ORDER BY stop_sequence', (self.trip_id,))
stop_times = []
stoptime_class = self.GetGtfsFactory().StopTime
... | Issue <I>: Crash in kmlwriter Reviewed at <URL> | py |
diff --git a/hgvs/__init__.py b/hgvs/__init__.py
index <HASH>..<HASH> 100644
--- a/hgvs/__init__.py
+++ b/hgvs/__init__.py
@@ -52,14 +52,18 @@ BaseOffsetPosition(base=1582, offset=0, datum=1, uncertain=False)
from __future__ import absolute_import, division, print_function, unicode_literals
+import logging
import... | on import of hgvs, emit logging info line w/version | py |
diff --git a/plenum/common/ledger_manager.py b/plenum/common/ledger_manager.py
index <HASH>..<HASH> 100644
--- a/plenum/common/ledger_manager.py
+++ b/plenum/common/ledger_manager.py
@@ -177,9 +177,12 @@ class LedgerManager(HasActionQueue):
catchUpReplies = ledgerInfo.receivedCatchUpReplies
logger.i... | INDY-<I>: fix a problem in re-asking CatchupRep | py |
diff --git a/django_transfer/__init__.py b/django_transfer/__init__.py
index <HASH>..<HASH> 100644
--- a/django_transfer/__init__.py
+++ b/django_transfer/__init__.py
@@ -82,12 +82,12 @@ def check_acl(path):
if white:
allow = False
for pattern in white:
- if re.fullmatch(pattern, path)... | re.fullmatch() is Py3 only. | py |
diff --git a/zipline/pipeline/data/dataset.py b/zipline/pipeline/data/dataset.py
index <HASH>..<HASH> 100644
--- a/zipline/pipeline/data/dataset.py
+++ b/zipline/pipeline/data/dataset.py
@@ -33,12 +33,21 @@ class _BoundColumnDescr(object):
"""
Intermediate class that sits on `DataSet` objects and returns memo... | DOC: Explain why _BoundColumnDescr exists. We don't want to bind to parent DataSets when we bind to names because we want to dynamically create new BoundColumns in subclasses. | py |
diff --git a/parsl/monitoring/monitoring.py b/parsl/monitoring/monitoring.py
index <HASH>..<HASH> 100644
--- a/parsl/monitoring/monitoring.py
+++ b/parsl/monitoring/monitoring.py
@@ -6,6 +6,7 @@ import time
import typeguard
import datetime
import zmq
+from functools import wraps
import queue
from parsl.multiproc... | adds wraps to monitoring so functions have their names back (#<I>) Callables lose their name attributes when monitoring is turned on as the wrapper function for monitoring doesn't wrap callables correctly. More details can be found in this issue: <URL> | py |
diff --git a/eliot/_bytesjson.py b/eliot/_bytesjson.py
index <HASH>..<HASH> 100644
--- a/eliot/_bytesjson.py
+++ b/eliot/_bytesjson.py
@@ -24,21 +24,21 @@ _encoder = JSONEncoder()
-def loads(s):
+def _loads(s):
if isinstance(s, bytes):
s = s.decode("utf-8")
return pyjson.loads(s)
-def dum... | Satisfy pyflakes. | py |
diff --git a/atomic_reactor/plugins/pre_flatpak_create_dockerfile.py b/atomic_reactor/plugins/pre_flatpak_create_dockerfile.py
index <HASH>..<HASH> 100644
--- a/atomic_reactor/plugins/pre_flatpak_create_dockerfile.py
+++ b/atomic_reactor/plugins/pre_flatpak_create_dockerfile.py
@@ -37,6 +37,10 @@ LABEL version="{stream... | flatpak_create_dockerfile: create a skeleton /dev in the installroot rpm scripts that are being run in the installroot to create the Flatpak filesystem may access certain standard files in /dev - create a very small /dev/ to make such scripts work reliably. See, for example: <URL> | py |
diff --git a/backend/pfamserver/services/uniprot_service.py b/backend/pfamserver/services/uniprot_service.py
index <HASH>..<HASH> 100644
--- a/backend/pfamserver/services/uniprot_service.py
+++ b/backend/pfamserver/services/uniprot_service.py
@@ -32,7 +32,6 @@ def uniprot_query_filter(uniprot, query):
query = quer... | [#<I>] Optimize uniprots description to be a bit faster. | py |
diff --git a/pyghmi/ipmi/oem/lenovo/imm.py b/pyghmi/ipmi/oem/lenovo/imm.py
index <HASH>..<HASH> 100644
--- a/pyghmi/ipmi/oem/lenovo/imm.py
+++ b/pyghmi/ipmi/oem/lenovo/imm.py
@@ -954,6 +954,9 @@ class XCCClient(IMMClient):
if rt['return'] in (657, 659, 656):
raise pygexc.InvalidParameterVa... | Add specific message for missing media license XCC error for license was not handled. Change-Id: I<I>d2c<I>cbbba8ea<I>bf<I>c<I>cd<I>b2 | py |
diff --git a/python_modules/dagster/dagster/check/__init__.py b/python_modules/dagster/dagster/check/__init__.py
index <HASH>..<HASH> 100644
--- a/python_modules/dagster/dagster/check/__init__.py
+++ b/python_modules/dagster/dagster/check/__init__.py
@@ -859,3 +859,7 @@ def class_param(obj: Any, param_name: str) -> Uni... | Add exhaustive check for mypy Summary: Ran into this when refactoring `PartitionSetDefinition`. This idiom appears in <URL> | py |
diff --git a/timepiece/migrations/0007_contact_user.py b/timepiece/migrations/0007_contact_user.py
index <HASH>..<HASH> 100644
--- a/timepiece/migrations/0007_contact_user.py
+++ b/timepiece/migrations/0007_contact_user.py
@@ -8,6 +8,8 @@ class Migration(DataMigration):
def forwards(self, orm):
"Write y... | added a check to delete project relationships without users | py |
diff --git a/python/ray/tune/utils/placement_groups.py b/python/ray/tune/utils/placement_groups.py
index <HASH>..<HASH> 100644
--- a/python/ray/tune/utils/placement_groups.py
+++ b/python/ray/tune/utils/placement_groups.py
@@ -508,6 +508,8 @@ class PlacementGroupManager:
head_bundle = pg.bundle_specs[0].co... | [tune] Fix memory resources for head bundle (#<I>) Fixes memory and object_store_memory actor options not being set properly for the Tune trainable. | py |
diff --git a/albumentations/augmentations/transforms.py b/albumentations/augmentations/transforms.py
index <HASH>..<HASH> 100644
--- a/albumentations/augmentations/transforms.py
+++ b/albumentations/augmentations/transforms.py
@@ -435,6 +435,7 @@ class RandomSizedCrop(DualTransform):
Image types:
uint8, f... | blank line after docstring in RandomSizedCrop | py |
diff --git a/sc2/helpers/control_group.py b/sc2/helpers/control_group.py
index <HASH>..<HASH> 100644
--- a/sc2/helpers/control_group.py
+++ b/sc2/helpers/control_group.py
@@ -15,14 +15,14 @@ class ControlGroup(set):
def empty(self):
return self.amount == 0
- def add_unit(self, units):
+ def add_un... | Fix typo in control_group.py There was a typo in the add_unit and remove_unit methods | py |
diff --git a/tests/test_ruleset.py b/tests/test_ruleset.py
index <HASH>..<HASH> 100755
--- a/tests/test_ruleset.py
+++ b/tests/test_ruleset.py
@@ -12,13 +12,14 @@ import unittest
from smartfilesorter.ruleset import RuleSet
from smartfilesorter.matchrules.filenamestartswith import FilenameStartsWith
+from smartfiles... | test_ruleset Fixed bug in test where the test was calling for a plugin that was not being loaded in the mock plugins object | py |
diff --git a/src/calmjs/parse/unparsers/walker.py b/src/calmjs/parse/unparsers/walker.py
index <HASH>..<HASH> 100644
--- a/src/calmjs/parse/unparsers/walker.py
+++ b/src/calmjs/parse/unparsers/walker.py
@@ -208,9 +208,9 @@ class Dispatcher(object):
def token(self, token, node, value):
return self.__token_... | Dispatcher call method renamed to layout - Since that is all it does now. | py |
diff --git a/scoped_nodes.py b/scoped_nodes.py
index <HASH>..<HASH> 100644
--- a/scoped_nodes.py
+++ b/scoped_nodes.py
@@ -284,6 +284,8 @@ class Module(LocalsDictNodeNG):
return [self.import_module(name, relative_only=True)]
except AstroidBuildingException:
raise NotFoundE... | Do not print the traceback for SyntaxErrors. | py |
diff --git a/xero/basemanager.py b/xero/basemanager.py
index <HASH>..<HASH> 100644
--- a/xero/basemanager.py
+++ b/xero/basemanager.py
@@ -70,6 +70,9 @@ class BaseManager(object):
'IncludeInEmails',
'SentToContact',
'CanApplyToRevenue',
+ 'IsReconciled',
+ 'EnablePaymentsToAccou... | Extend BOOLEAN_FIELDS tuple Add IsReconciled, EnablePaymentsToAccount and ShowInExpenseClaims to BOOLEAN_FIELDS. This fixes issue #<I> | py |
diff --git a/plotnine/mapping/evaluation.py b/plotnine/mapping/evaluation.py
index <HASH>..<HASH> 100644
--- a/plotnine/mapping/evaluation.py
+++ b/plotnine/mapping/evaluation.py
@@ -42,6 +42,14 @@ class stage:
self.after_scale = after_scale
def __repr__(self):
+ # Shorter representation when the... | DOC: Use shorter repr for aes stages if possible The docs get to show `y=after_stat('count')` instead of `y=stage(start=None, after_stat='count', after_scale=None)`! | py |
diff --git a/dipper/utils/GraphUtils.py b/dipper/utils/GraphUtils.py
index <HASH>..<HASH> 100644
--- a/dipper/utils/GraphUtils.py
+++ b/dipper/utils/GraphUtils.py
@@ -63,7 +63,7 @@ class GraphUtils:
def add_property_axioms(graph, properties):
ontology_graph = ConjunctiveGraph()
GH = 'https://raw.... | OBO url https -> http (the former apparently doesn't resolve, causes multiple ingest failures | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -67,8 +67,6 @@ setup(
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
- "Programming Language :: Python :: 3.5",
- ... | Remove pypi classifiers for py<I>/<I> (#<I>) | py |
diff --git a/duct.py b/duct.py
index <HASH>..<HASH> 100644
--- a/duct.py
+++ b/duct.py
@@ -398,8 +398,8 @@ class Expression:
def dir(self, path):
r"""Set the working directory for the expression.
- >>> cmd("pwd").dir("/tmp").read()
- '/tmp'
+ >>> cmd("pwd").dir("/").read()
+ ... | avoid using /tmp in tests, because it's a symlink on macOS | py |
diff --git a/ddmrp/models/mrp_bom.py b/ddmrp/models/mrp_bom.py
index <HASH>..<HASH> 100644
--- a/ddmrp/models/mrp_bom.py
+++ b/ddmrp/models/mrp_bom.py
@@ -28,8 +28,10 @@ class MrpBom(models.Model):
)
def _get_search_buffer_domain(self):
- product = self.product_id or \
- self.product_tmpl_... | [REF]Check product variant recordset Check product variant recordset, before referencing them. | py |
diff --git a/taskw/warrior.py b/taskw/warrior.py
index <HASH>..<HASH> 100644
--- a/taskw/warrior.py
+++ b/taskw/warrior.py
@@ -629,8 +629,7 @@ class TaskWarriorShellout(TaskWarriorBase):
"""
query_args = taskw.utils.encode_query(filter_dict, self.get_version())
return self._get_task_objects(
... | TaskWarriorShellout: Workaround Python2's lack of support of PEP <I> The additional unpacking generalization is only available in Python<I>+, hence we need to construct a new list before unpacking instead. See: <URL> | py |
diff --git a/chess/svg.py b/chess/svg.py
index <HASH>..<HASH> 100644
--- a/chess/svg.py
+++ b/chess/svg.py
@@ -123,7 +123,7 @@ def board(board=None, squares=None, flipped=False, coordinates=True, lastmove=No
"""
Renders a board with pieces and/or selected squares as an SVG.
- :param board: A :class:`ches... | chess.svg.board requires just a BaseBoard (#<I>) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -36,7 +36,7 @@ def generate_readme_rst():
subprocess.call(pandoc_cmd)
except (IOError, OSError) as e:
print('Could not run "pandoc". Error: %s' % e, file=sys.stderr)
- sys.exit(1)
+ print('... | setup.py: Be more lenient if pandoc can't be found. This was brought to my attention by @victorwestmann. Thanks. | py |
diff --git a/udiskie/cli.py b/udiskie/cli.py
index <HASH>..<HASH> 100644
--- a/udiskie/cli.py
+++ b/udiskie/cli.py
@@ -49,10 +49,9 @@ def get_backend(clsname, version=None):
try:
return udisks1()
except DBusException:
- msg = sys.exc_info()[1].get_dbus_message()
lo... | Fix incorrect usage of GLib.GError GLib.GError has no method `.get_dbus_message()` like dbus.DBusException had. Instead, it has an attribute `.message`. But this is not very useful for the user anyway in the case, so we just leave it out. | py |
diff --git a/project/apps.py b/project/apps.py
index <HASH>..<HASH> 100644
--- a/project/apps.py
+++ b/project/apps.py
@@ -16,28 +16,3 @@ class Home(project.handler.RequestHandler):
def get(self):
self.render('templates/apps/home.html', title='Hello, World!');
-
-class Foo(project.handler.RequestHandler... | Cleaned up how RequestHandlers are parsed from the config, and altered YAML config file format for RequestHandlers to remove the need to manually number handlers. | py |
diff --git a/rqalpha/core/executor.py b/rqalpha/core/executor.py
index <HASH>..<HASH> 100644
--- a/rqalpha/core/executor.py
+++ b/rqalpha/core/executor.py
@@ -56,11 +56,12 @@ class Executor(object):
if self._last_before_trading:
on_settlement()
- self._last_before_trading = e.... | publish BEFORE_TRADING only when strategy is not holding | py |
diff --git a/hdl_toolkit/synthetisator/rtlLevel/context.py b/hdl_toolkit/synthetisator/rtlLevel/context.py
index <HASH>..<HASH> 100644
--- a/hdl_toolkit/synthetisator/rtlLevel/context.py
+++ b/hdl_toolkit/synthetisator/rtlLevel/context.py
@@ -144,7 +144,7 @@ class Context():
# instanciate subUnits in... | fix: instance name now with _suffix to prevent name colision with entities/components | py |
diff --git a/src/wormhole/servers/relay.py b/src/wormhole/servers/relay.py
index <HASH>..<HASH> 100644
--- a/src/wormhole/servers/relay.py
+++ b/src/wormhole/servers/relay.py
@@ -406,7 +406,8 @@ class RelayServer(service.MultiService):
t = internet.TimerService(EXPIRATION_CHECK_PERIOD,
... | relay: make it possible to omit the Transit server | py |
diff --git a/salt/modules/dockermod.py b/salt/modules/dockermod.py
index <HASH>..<HASH> 100644
--- a/salt/modules/dockermod.py
+++ b/salt/modules/dockermod.py
@@ -3880,8 +3880,9 @@ def save(name,
saved_path = salt.utils.files.mkstemp()
else:
saved_path = path
-
- cmd = ['docker', 'save', '-o',... | Have docker.save use the image name when valid if not use image id, issue when loading and image is savid with id issue #<I> | py |
diff --git a/tests/providers/test_cloudxns.py b/tests/providers/test_cloudxns.py
index <HASH>..<HASH> 100644
--- a/tests/providers/test_cloudxns.py
+++ b/tests/providers/test_cloudxns.py
@@ -7,10 +7,15 @@ import pytest
# Hook into testing framework by inheriting unittest.TestCase and reuse
# the tests which *each and... | fixing misnamed test class, skipping tests without recordings. | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.