diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/openstack_dashboard/dashboards/project/routers/tables.py b/openstack_dashboard/dashboards/project/routers/tables.py index <HASH>..<HASH> 100644 --- a/openstack_dashboard/dashboards/project/routers/tables.py +++ b/openstack_dashboard/dashboards/project/routers/tables.py @@ -197,6 +197,10 @@ class RoutersTab...
admin state column added in router table admin state column is missing in router table. this patch is added the admin state column in router table with the display choices to translate the values Change-Id: I<I>ded<I>e<I>f<I>be<I>f7b9b<I>c<I>b<I> Closes-Bug: #<I>
py
diff --git a/conway.py b/conway.py index <HASH>..<HASH> 100755 --- a/conway.py +++ b/conway.py @@ -57,7 +57,11 @@ def colored_cells(term): elif num_colors >= 8: funcs = term.on_red, term.on_green, term.on_blue else: - funcs = (term.reverse,) * 3 + # For black and white, use the checkerb...
Demonstrate the use of the vt<I> alternate charset when in B&W mode.
py
diff --git a/openpnm/io/PoreSpy.py b/openpnm/io/PoreSpy.py index <HASH>..<HASH> 100644 --- a/openpnm/io/PoreSpy.py +++ b/openpnm/io/PoreSpy.py @@ -14,10 +14,13 @@ class PoreSpy(GenericIO): def load(cls, filename, project=None, settings={}): r""" """ - # Parse the link1 file - filena...
Minor fix to PoreSpy.load to accept live dicts as well as pickle files.
py
diff --git a/pyrax/cf_wrapper/client.py b/pyrax/cf_wrapper/client.py index <HASH>..<HASH> 100644 --- a/pyrax/cf_wrapper/client.py +++ b/pyrax/cf_wrapper/client.py @@ -756,7 +756,7 @@ class CFClient(object): fsize = get_file_size(fileobj) else: fsize = content_l...
Files that are exactly the chunk size can be uploaded as is Previously, a file was uploaded as a single chunk if fsize < self.max_file_size This is wrong: files that are exactly the max_file_size can also be uploaded as a single chunk. The fix is to replace < with <=: fsize < self.max_file_size This bug is pr...
py
diff --git a/numbergen/__init__.py b/numbergen/__init__.py index <HASH>..<HASH> 100644 --- a/numbergen/__init__.py +++ b/numbergen/__init__.py @@ -199,11 +199,13 @@ class Hash(object): """Convert the given value to a rational, if necessary.""" if isinstance(val, int): numer, denom = val,...
Testing for fractions.Fraction when hashing and fixed warning
py
diff --git a/zipline/protocol.py b/zipline/protocol.py index <HASH>..<HASH> 100644 --- a/zipline/protocol.py +++ b/zipline/protocol.py @@ -142,7 +142,7 @@ class BarData(object): if self._contains_override: return self._contains_override(name) else: - return name in self.__dict_...
BUG: Fix contains logic when override is not used. The internal _data should be checked, not the __dict__
py
diff --git a/pg2nosql/PostgresNoSQLClient.py b/pg2nosql/PostgresNoSQLClient.py index <HASH>..<HASH> 100755 --- a/pg2nosql/PostgresNoSQLClient.py +++ b/pg2nosql/PostgresNoSQLClient.py @@ -20,9 +20,9 @@ class PostgresNoSQLClient(object): def close(self): return self.connection.close() - def create_tabl...
renamed columns into relational_columns in create_table
py
diff --git a/tests/unit/modules/timezone_test.py b/tests/unit/modules/timezone_test.py index <HASH>..<HASH> 100644 --- a/tests/unit/modules/timezone_test.py +++ b/tests/unit/modules/timezone_test.py @@ -219,7 +219,7 @@ class TimezoneTestCase(TestCase): assert args == (['tail', '-n', '1', '/etc/adjtime'],) ...
Disable the test for a while
py
diff --git a/graphlite/query.py b/graphlite/query.py index <HASH>..<HASH> 100644 --- a/graphlite/query.py +++ b/graphlite/query.py @@ -44,6 +44,8 @@ class V(object): ) def __eq__(self, other): + if not isinstance(other, V): + return False return self.src == other.src and \ ...
check if object is V before doing comparisons
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -299,6 +299,7 @@ setup( "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", + "Programming Language :: Python :: 3.5", ...
Claim support for python <I>
py
diff --git a/lib/hmmlearn/hmm.py b/lib/hmmlearn/hmm.py index <HASH>..<HASH> 100644 --- a/lib/hmmlearn/hmm.py +++ b/lib/hmmlearn/hmm.py @@ -609,7 +609,7 @@ class GMMHMM(_BaseHMM): weights\_ : array, shape (n_components, n_mix) Mixture weights for each state. - means\_ : array, shape (n_components, n_m...
Don't let zero-weight states crash the entire computation.
py
diff --git a/txaws/testing/ec2.py b/txaws/testing/ec2.py index <HASH>..<HASH> 100644 --- a/txaws/testing/ec2.py +++ b/txaws/testing/ec2.py @@ -3,10 +3,14 @@ from twisted.internet.defer import succeed class FakeEC2Client(object): - def __init__(self, creds, endpoint, instances=None): + def __init__(self, cred...
Updated fake client with a means of using describe_keypairs in tests.
py
diff --git a/fedmsg/crypto/utils.py b/fedmsg/crypto/utils.py index <HASH>..<HASH> 100644 --- a/fedmsg/crypto/utils.py +++ b/fedmsg/crypto/utils.py @@ -47,7 +47,7 @@ def validate_policy(topic, signer, routing_policy, nitpicky=False): # We are *not* in nitpicky mode. We don't have an entry in the ...
This flows better... .. don't you think?
py
diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py index <HASH>..<HASH> 100755 --- a/tools/run_tests/run_tests.py +++ b/tools/run_tests/run_tests.py @@ -78,7 +78,9 @@ def get_bqtest_data(limit=None): bq = big_query_utils.create_big_query() query = """ SELECT - filtered_test_name, SUM(resul...
Use max cpu_measured instead of average (for safety)
py
diff --git a/loam/collections.py b/loam/collections.py index <HASH>..<HASH> 100644 --- a/loam/collections.py +++ b/loam/collections.py @@ -3,7 +3,7 @@ from __future__ import annotations from dataclasses import dataclass -from typing import Generic, TypeVar, Callable, Optional, Tuple +from typing import Generic, Typ...
Accept types as inner_to_toml for collections This allows accepting many standard types as parsing functions without compromising too much on type strictness compared to having "Any" as argument type.
py
diff --git a/requests_oauthlib/compliance_fixes/__init__.py b/requests_oauthlib/compliance_fixes/__init__.py index <HASH>..<HASH> 100644 --- a/requests_oauthlib/compliance_fixes/__init__.py +++ b/requests_oauthlib/compliance_fixes/__init__.py @@ -6,4 +6,4 @@ from .linkedin import linkedin_compliance_fix from .slack im...
code cleanup in compliance_fixes/__init__.py Removed double-space and added newline
py
diff --git a/scout/adapter/mongo/case.py b/scout/adapter/mongo/case.py index <HASH>..<HASH> 100644 --- a/scout/adapter/mongo/case.py +++ b/scout/adapter/mongo/case.py @@ -585,7 +585,6 @@ class CaseHandler(object): variant_type=variant_type, category=category, ...
Dev things left in code..
py
diff --git a/dvc/__init__.py b/dvc/__init__.py index <HASH>..<HASH> 100644 --- a/dvc/__init__.py +++ b/dvc/__init__.py @@ -5,7 +5,7 @@ Make your data science projects reproducible and shareable. """ import os -VERSION_BASE = '0.9.7' +VERSION_BASE = '0.10.0' __version__ = VERSION_BASE PACKAGEPATH = os.path.abspa...
dvc: bump to <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ from setuptools.command.install import install DESCRIPTION = "Icetea - test framework" OWNER_NAMES = "Joonas Nikula" OWNER_EMAILS = "oulab.mbedcloudtesting.com@arm.com" -VERSION = "2.0.1-rc2" +VERSION = "2.0....
Version number updated to <I> (#<I>)
py
diff --git a/master/buildbot/steps/mtrlogobserver.py b/master/buildbot/steps/mtrlogobserver.py index <HASH>..<HASH> 100644 --- a/master/buildbot/steps/mtrlogobserver.py +++ b/master/buildbot/steps/mtrlogobserver.py @@ -278,7 +278,7 @@ class MTR(Test): dbpool is specified. The test_type string, if specified, wi...
mtrlogobserver: make parallel argument renderable This way we can pass renderable parallel parameters to MTR step class instantiations.
py
diff --git a/srp/_ctsrp.py b/srp/_ctsrp.py index <HASH>..<HASH> 100644 --- a/srp/_ctsrp.py +++ b/srp/_ctsrp.py @@ -146,7 +146,7 @@ dlls = list() platform = sys.platform if platform == 'darwin': - dlls.append( ctypes.cdll.LoadLibrary('libssl.dylib') ) + dlls.append( ctypes.cdll.LoadLibrary('libssl.32.dylib') )...
Update libssl requested by pysrp for Darwin
py
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py index <HASH>..<HASH> 100644 --- a/cmd2/cmd2.py +++ b/cmd2/cmd2.py @@ -2464,7 +2464,6 @@ Usage: Usage: unalias [-a] name [name ...] def do_eof(self, _: str) -> bool: """Called when <Ctrl>-D is pressed.""" # End of script should not exit app, but <Ctrl>-D s...
Deleted a line which was added to support the SubMenu feature The SubMenu feature is now a plugin in a separate repo and is no longer part of the main cmd2 package.
py
diff --git a/tests/test_request_construction.py b/tests/test_request_construction.py index <HASH>..<HASH> 100644 --- a/tests/test_request_construction.py +++ b/tests/test_request_construction.py @@ -61,9 +61,15 @@ class TestExtraParameters: Caught exception is considered expected if its string representation ...
support TestExtraParameters testing for alternative error strings
py
diff --git a/vext/syspy/pyinfo.py b/vext/syspy/pyinfo.py index <HASH>..<HASH> 100644 --- a/vext/syspy/pyinfo.py +++ b/vext/syspy/pyinfo.py @@ -13,7 +13,7 @@ Return paths from the system python """ def py_info(): data = { - "path": os.environ['PATH'], + "path": os.environ['PATH'].split(os.pathsep),...
Make sure path is in a list
py
diff --git a/workshift/search_indexes.py b/workshift/search_indexes.py index <HASH>..<HASH> 100644 --- a/workshift/search_indexes.py +++ b/workshift/search_indexes.py @@ -36,7 +36,7 @@ class WorkshiftPoolIndex(indexes.SearchIndex, indexes.Indexable): def index_queryset(self, using=None): return self.get_m...
Fixed infinite recursive in search
py
diff --git a/ella/photos/newman_admin.py b/ella/photos/newman_admin.py index <HASH>..<HASH> 100644 --- a/ella/photos/newman_admin.py +++ b/ella/photos/newman_admin.py @@ -34,6 +34,12 @@ class PhotoSizeFilter(CustomFilterSpec): self.links.append(link) return True + def generate_choice(self, **...
PhotoSizeFilter.generate_choice() method added. Refs #<I>
py
diff --git a/km3pipe/db.py b/km3pipe/db.py index <HASH>..<HASH> 100644 --- a/km3pipe/db.py +++ b/km3pipe/db.py @@ -492,6 +492,9 @@ class StreamDS(object): sel = ''.join(["&{0}={1}".format(k, v) for (k, v) in kwargs.items()]) url = "streamds/{0}.{1}?{2}".format(stream, fmt, sel[1:]) data = sel...
Return None and show better error if wrong arguments are passed
py
diff --git a/segno/__init__.py b/segno/__init__.py index <HASH>..<HASH> 100644 --- a/segno/__init__.py +++ b/segno/__init__.py @@ -355,6 +355,18 @@ class QRCode: >>> height == len(res) True + If `verbose` is ``True``, the iterator returns integer constants which + indicate the ...
Added docs for verbose=True in matrix_iter
py
diff --git a/gmail/gmail.py b/gmail/gmail.py index <HASH>..<HASH> 100644 --- a/gmail/gmail.py +++ b/gmail/gmail.py @@ -2,7 +2,7 @@ import re import imaplib from mailbox import Mailbox -from utf import encode as encode_utf7 +from utf import encode as encode_utf7, decode as decode_utf7 from exceptions import * cl...
Allow to request unicode labels list.
py
diff --git a/dscan/plugins/silverstripe.py b/dscan/plugins/silverstripe.py index <HASH>..<HASH> 100644 --- a/dscan/plugins/silverstripe.py +++ b/dscan/plugins/silverstripe.py @@ -32,7 +32,8 @@ class SilverStripe(BasePlugin): interesting_urls = [ ('framework/docs/en/changelogs/index.md', 'Changelogs,...
Add interesting silverstripe information.
py
diff --git a/ttlser.py b/ttlser.py index <HASH>..<HASH> 100644 --- a/ttlser.py +++ b/ttlser.py @@ -209,7 +209,7 @@ class CustomTurtleSerializer(TurtleSerializer): item = self.store.value(l, RDF.first) if item is not None: self.write('\n' + self.indent(1)) - self...
ttlser fixed misalignment by a single space in valid lists
py
diff --git a/examples/interconnects.py b/examples/interconnects.py index <HASH>..<HASH> 100644 --- a/examples/interconnects.py +++ b/examples/interconnects.py @@ -34,8 +34,15 @@ config = { } } -# To run this example you must define a interconnect id -interconnect_id = "2517d8a0-06a2-4795-b6a4-2e51417474aa" +# T...
Added automatic selection of the sample interconnect in the interconnect example
py
diff --git a/src/python/dxpy/scripts/dx.py b/src/python/dxpy/scripts/dx.py index <HASH>..<HASH> 100755 --- a/src/python/dxpy/scripts/dx.py +++ b/src/python/dxpy/scripts/dx.py @@ -2190,7 +2190,7 @@ def find_executions(args): # If an analysis with cached children, also insert those if ex...
DEVEX-<I>: Fix a typo in a variable name (#<I>)
py
diff --git a/pandas/core/datetools.py b/pandas/core/datetools.py index <HASH>..<HASH> 100644 --- a/pandas/core/datetools.py +++ b/pandas/core/datetools.py @@ -207,12 +207,14 @@ class Interval: if isinstance(freq, basestring): freq = _interval_freq_map[freq] + sfreq = _interval_freq_map['S...
BUG: fix behavior of Interval.now
py
diff --git a/holoviews/core/pprint.py b/holoviews/core/pprint.py index <HASH>..<HASH> 100644 --- a/holoviews/core/pprint.py +++ b/holoviews/core/pprint.py @@ -311,6 +311,8 @@ class PrettyPrinter(object): (lvl, lines) = cls.adjointlayout_info(node, siblings, level, value_dims) elif getattr(node, '_...
Added Dimension support in pprint.PrettyPrinter
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -32,7 +32,7 @@ setup( 'setproctitle>=1.1.7', 'blinker>=1.2', 'argparse>=1.2.1', - 'rpyc>=3.2.3', + 'rpyc>=3.3.0', ], description='A distributed task runner', long_descrip...
update required rpyc version
py
diff --git a/auto_ml/predictor.py b/auto_ml/predictor.py index <HASH>..<HASH> 100644 --- a/auto_ml/predictor.py +++ b/auto_ml/predictor.py @@ -1034,7 +1034,7 @@ class Predictor(object): # LightGBM doesn't appear to play well when fighting for CPU cycles with other things # However, it does, itself, pa...
sets n_jobs to 1 for searching over lgbm
py
diff --git a/holoviews/plotting/bokeh/element.py b/holoviews/plotting/bokeh/element.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/bokeh/element.py +++ b/holoviews/plotting/bokeh/element.py @@ -677,10 +677,11 @@ class OverlayPlot(GenericOverlayPlot, ElementPlot): tools = [] for key, subplot i...
Fixed issue setting tools on bokeh plots
py
diff --git a/categories/editor/tree_editor.py b/categories/editor/tree_editor.py index <HASH>..<HASH> 100644 --- a/categories/editor/tree_editor.py +++ b/categories/editor/tree_editor.py @@ -78,12 +78,18 @@ class TreeChangeList(ChangeList): list_display_links, list_filter, date_hierarchy, search_fields...
The admin prior to <I> requires a different result from get_ordering
py
diff --git a/saltcloud/utils/__init__.py b/saltcloud/utils/__init__.py index <HASH>..<HASH> 100644 --- a/saltcloud/utils/__init__.py +++ b/saltcloud/utils/__init__.py @@ -187,7 +187,6 @@ def wait_for_ssh(host, port=22, timeout=900): ''' start = time.time() log.debug('Attempting SSH connection to host {0}...
Remove original/extraneous socket declaration
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ install_requires = [ # List your project dependencies here. # For more details, see: # http://packages.python.org/distribute/setuptools.html#declaring-dependencies - "enum", "lxml", "networkx",...
added nltk to requirements
py
diff --git a/pymc3/distributions/dist_math.py b/pymc3/distributions/dist_math.py index <HASH>..<HASH> 100644 --- a/pymc3/distributions/dist_math.py +++ b/pymc3/distributions/dist_math.py @@ -65,7 +65,7 @@ def logpow(x, m): Calculates log(x**m) since m*log(x) will fail when m, x = 0. """ # return m * log(...
Fix Binomial when p=0 and x=0 (#<I>) * Fix Binomial when p=0 and x=0 Should return 0 not -inf * Fix logpow(x=0,m=0) Fix logpow(x=0,m=0) where x and m have different shapes.
py
diff --git a/mutant/db/fields/python.py b/mutant/db/fields/python.py index <HASH>..<HASH> 100644 --- a/mutant/db/fields/python.py +++ b/mutant/db/fields/python.py @@ -12,16 +12,11 @@ from ...validators import validate_python_identifier class DirectoryPathField(CharField): - def to_python(self, value): - ...
Moved DirectoryPathField validation to its validate method.
py
diff --git a/SoftLayer/fixtures/SoftLayer_Product_Package.py b/SoftLayer/fixtures/SoftLayer_Product_Package.py index <HASH>..<HASH> 100644 --- a/SoftLayer/fixtures/SoftLayer_Product_Package.py +++ b/SoftLayer/fixtures/SoftLayer_Product_Package.py @@ -1,3 +1,4 @@ +# pylint: skip-file HARDWARE_ITEMS = [ {'attribute...
added pylint igmore to a fixture
py
diff --git a/salt/utils/__init__.py b/salt/utils/__init__.py index <HASH>..<HASH> 100644 --- a/salt/utils/__init__.py +++ b/salt/utils/__init__.py @@ -1379,8 +1379,14 @@ def check_state_result(running): # return false when hosts return a list instead of a dict return False - if state_...
Check nested structures for state results.
py
diff --git a/salt/modules/yumpkg.py b/salt/modules/yumpkg.py index <HASH>..<HASH> 100644 --- a/salt/modules/yumpkg.py +++ b/salt/modules/yumpkg.py @@ -273,7 +273,7 @@ def _get_extra_options(**kwargs): ret = [] kwargs = salt.utils.clean_kwargs(**kwargs) for key, value in six.iteritems(kwargs): - if...
check if VALUE is a string_type key should always be a stringtype, we want to exclude booleans in the value.
py
diff --git a/sark/code/instruction.py b/sark/code/instruction.py index <HASH>..<HASH> 100644 --- a/sark/code/instruction.py +++ b/sark/code/instruction.py @@ -278,7 +278,7 @@ class Operand(object): elif self.type.is_reg: return {base.get_register_name(self.reg_id, self.size)} else: - ...
Changed the `Operand.regs` property to return an empty set when no regs are present instead of raising an exception.
py
diff --git a/pymomo/commander/basic_types/fw_graphnode.py b/pymomo/commander/basic_types/fw_graphnode.py index <HASH>..<HASH> 100644 --- a/pymomo/commander/basic_types/fw_graphnode.py +++ b/pymomo/commander/basic_types/fw_graphnode.py @@ -6,7 +6,7 @@ from pymomo.exceptions import * #Constants that need to be synced ...
Fix typo in graphnode object
py
diff --git a/container/config.py b/container/config.py index <HASH>..<HASH> 100644 --- a/container/config.py +++ b/container/config.py @@ -411,10 +411,10 @@ class AnsibleContainerConductorConfig(Mapping): def _process_services(self): services = ordereddict() - if not self._skip_services: - ...
Disabled service processing should still have services
py
diff --git a/python/dllib/src/bigdl/dllib/utils/common.py b/python/dllib/src/bigdl/dllib/utils/common.py index <HASH>..<HASH> 100644 --- a/python/dllib/src/bigdl/dllib/utils/common.py +++ b/python/dllib/src/bigdl/dllib/utils/common.py @@ -283,14 +283,17 @@ def create_spark_conf(): sparkConf.setAll(bigdl_conf.items...
Ignore some folders from doctest scanning (#<I>) * remove movielens downloading from unittest * fix spark<I> Lock problem * fix return
py
diff --git a/test/test_lzma.py b/test/test_lzma.py index <HASH>..<HASH> 100644 --- a/test/test_lzma.py +++ b/test/test_lzma.py @@ -649,7 +649,7 @@ class FileTestCase(unittest.TestCase): result = f.read(10) if not result: break - self.assertLessEqual(...
Avoid self.assertLessEqual and self.assertGreater These are both new in Python <I> (and Python <I>)
py
diff --git a/gandi/cli/core/utils/__init__.py b/gandi/cli/core/utils/__init__.py index <HASH>..<HASH> 100644 --- a/gandi/cli/core/utils/__init__.py +++ b/gandi/cli/core/utils/__init__.py @@ -110,7 +110,7 @@ def output_metric(gandi, metrics, key, justify=10): key_name = metric[key].pop() values = [poin...
Encode spark output to utf-8
py
diff --git a/tensorbase/base.py b/tensorbase/base.py index <HASH>..<HASH> 100644 --- a/tensorbase/base.py +++ b/tensorbase/base.py @@ -767,7 +767,7 @@ class Model: def _set_tf_functions(self, vram=0.25): merged = tf.summary.merge_all() saver = tf.train.Saver() - config = tf.ConfigProto(log...
switching gpu selection to cuda_visible_devices flag
py
diff --git a/pyGeno/tools/parsers/CSVTools.py b/pyGeno/tools/parsers/CSVTools.py index <HASH>..<HASH> 100644 --- a/pyGeno/tools/parsers/CSVTools.py +++ b/pyGeno/tools/parsers/CSVTools.py @@ -202,7 +202,7 @@ class CSVFile(object) : else : self.strLegend += field - def parse(self, filePath, separator = ',', s...
csv parser can skip lines
py
diff --git a/host/fei4/register_utils.py b/host/fei4/register_utils.py index <HASH>..<HASH> 100644 --- a/host/fei4/register_utils.py +++ b/host/fei4/register_utils.py @@ -37,7 +37,7 @@ class FEI4RegisterUtils(object): self.device.WriteExternal(address=0 + 1, data=[0]) ...
BUG: fix writing to FSM when it is still running
py
diff --git a/djangobot/client.py b/djangobot/client.py index <HASH>..<HASH> 100644 --- a/djangobot/client.py +++ b/djangobot/client.py @@ -72,7 +72,7 @@ class SlackClientProtocol(WebSocketClientProtocol): # translate user try: user_id = message.pop('user') - user = self.slack.u...
Djangobot should not send any messages on connect It should be an option for the user to react on slack.hello message
py
diff --git a/thriftrw/spec/service.py b/thriftrw/spec/service.py index <HASH>..<HASH> 100644 --- a/thriftrw/spec/service.py +++ b/thriftrw/spec/service.py @@ -190,8 +190,6 @@ class ServiceSpec(object): class ServiceFunction(namedtuple('ServiceFunction', 'name request response')): """Represents a single function o...
Don't make ServiceFunctions callable Leave room for other functionality to be added later.
py
diff --git a/squad/api/rest.py b/squad/api/rest.py index <HASH>..<HASH> 100644 --- a/squad/api/rest.py +++ b/squad/api/rest.py @@ -1302,7 +1302,7 @@ class TestJobViewSet(ModelViewSet): Allows to cancel a job """ - queryset = TestJob.objects.prefetch_related('backend').order_by('-id') + queryset = ...
api: rest: defer definition from TestJob endpoint
py
diff --git a/salt/states/chef.py b/salt/states/chef.py index <HASH>..<HASH> 100644 --- a/salt/states/chef.py +++ b/salt/states/chef.py @@ -161,6 +161,8 @@ def _summary(stdout): def _has_changes(stdout): regex = re.search( - r"Infra \w+ (complete|finished), (\d+)", _summary(stdout), re.IGNORECASE + ...
Support previous Chef version plus version <I>.x and <I>.x output.
py
diff --git a/ceph_deploy/install.py b/ceph_deploy/install.py index <HASH>..<HASH> 100644 --- a/ceph_deploy/install.py +++ b/ceph_deploy/install.py @@ -178,7 +178,8 @@ def install(args): if getattr(err, 'remote_traceback'): for line in err.remote_traceback: rlogger.erro...
raise if we cannot handle a remote exception
py
diff --git a/pyfolio/timeseries.py b/pyfolio/timeseries.py index <HASH>..<HASH> 100644 --- a/pyfolio/timeseries.py +++ b/pyfolio/timeseries.py @@ -496,6 +496,24 @@ def stability_of_timeseries(returns): return rhat +def tail_ratio(returns): + """Determines the ratio between the right (95%) and left tail (5%)...
ENH Add tail-ratio risk metric.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -41,7 +41,6 @@ setup( 'dateparser', 'stringcase', 'raven', - 'pylzma == 0.4.9', ], entry_points={ 'console_scripts': [
Remove pylzma dependency
py
diff --git a/tests/test_nbzip.py b/tests/test_nbzip.py index <HASH>..<HASH> 100755 --- a/tests/test_nbzip.py +++ b/tests/test_nbzip.py @@ -3,6 +3,7 @@ import os import time import logging import requests +import json from nbzip.handlers import TEMP_ZIP_NAME @@ -10,6 +11,10 @@ TIMEOUT = 10 # in seconds logging...
Sort contents of eventstream json to correctly compare equivalent outputs
py
diff --git a/nianalysis/archive/base.py b/nianalysis/archive/base.py index <HASH>..<HASH> 100644 --- a/nianalysis/archive/base.py +++ b/nianalysis/archive/base.py @@ -47,6 +47,7 @@ class Archive(object): name = "{}_source".format(self.type) source = Node(self.Source(), name=name) source.i...
added protection against iterator inputs to Archive.source method
py
diff --git a/cumulusci/tests/test_utils.py b/cumulusci/tests/test_utils.py index <HASH>..<HASH> 100644 --- a/cumulusci/tests/test_utils.py +++ b/cumulusci/tests/test_utils.py @@ -464,3 +464,12 @@ class FunTestTask(BaseTask): "color": {"description": "What color"}, } task_docs = "extra docs" + + +clas...
child class w/o task_doc
py
diff --git a/mythril/analysis/modules/dos.py b/mythril/analysis/modules/dos.py index <HASH>..<HASH> 100644 --- a/mythril/analysis/modules/dos.py +++ b/mythril/analysis/modules/dos.py @@ -88,7 +88,7 @@ class DOS(DetectionModule): annotation.jump_targets[target] = 1 if annotation.jump_targ...
Report address of JUMPI instruction in DoS module
py
diff --git a/deploy_stack.py b/deploy_stack.py index <HASH>..<HASH> 100755 --- a/deploy_stack.py +++ b/deploy_stack.py @@ -272,7 +272,11 @@ def test_upgrade(old_env): env = Environment.from_config(old_env.environment) env.client.debug = old_env.client.debug upgrade_juju(env) - env.wait_for_version(env...
Give maas more time to upgrade.
py
diff --git a/async_timeout/__init__.py b/async_timeout/__init__.py index <HASH>..<HASH> 100644 --- a/async_timeout/__init__.py +++ b/async_timeout/__init__.py @@ -8,7 +8,7 @@ from typing import Any, Optional, Type from typing_extensions import final -__version__ = "4.0.0a0" +__version__ = "4.0.0a1" __all__ = ...
Bump to <I>a1
py
diff --git a/mockredis/redis.py b/mockredis/redis.py index <HASH>..<HASH> 100644 --- a/mockredis/redis.py +++ b/mockredis/redis.py @@ -16,12 +16,6 @@ class MockRedis(object): expiry is NOT supported. """ - # The 'Redis' store - redis = defaultdict(dict) - timeouts = defaultdict(dict) - # The pip...
redis, timeout and pipeline changed to non-static
py
diff --git a/test_unify.py b/test_unify.py index <HASH>..<HASH> 100755 --- a/test_unify.py +++ b/test_unify.py @@ -51,6 +51,11 @@ class TestUnits(unittest.TestCase): unify.format_code('x = "abc" \\\n"next"\n', preferred_quote="'")) + def test_fo...
Add test for backslashes in comments
py
diff --git a/apyori.py b/apyori.py index <HASH>..<HASH> 100755 --- a/apyori.py +++ b/apyori.py @@ -1,5 +1,4 @@ #!/usr/bin/env python -# pylint: disable=W0141 """ a simple implementation of Apriori algorithm by Python.
Remove pylint ingoring.
py
diff --git a/slackviewer/archive.py b/slackviewer/archive.py index <HASH>..<HASH> 100644 --- a/slackviewer/archive.py +++ b/slackviewer/archive.py @@ -18,7 +18,7 @@ def compile_channels(path, user_data, channel_data): for channel in channels: channel_dir_path = os.path.join(path, channel) message...
fixed os-specific failure to correctly sort messages by date
py
diff --git a/metrique/client/cubes/basesql.py b/metrique/client/cubes/basesql.py index <HASH>..<HASH> 100644 --- a/metrique/client/cubes/basesql.py +++ b/metrique/client/cubes/basesql.py @@ -322,7 +322,7 @@ class BaseSql(BaseCube): ''' if id_delta: if type(id_delta) is list: - ...
id_delta should be distinct set of object ids
py
diff --git a/mha_helper/mha_helper.py b/mha_helper/mha_helper.py index <HASH>..<HASH> 100755 --- a/mha_helper/mha_helper.py +++ b/mha_helper/mha_helper.py @@ -290,6 +290,7 @@ class MHAHelper(object): if not self.__check_vip_on_host(vip_type, self.orig_master_host, orig_master_ssh_ip, ...
better message when no vip is assigned
py
diff --git a/tests/test_threadpool.py b/tests/test_threadpool.py index <HASH>..<HASH> 100644 --- a/tests/test_threadpool.py +++ b/tests/test_threadpool.py @@ -3,7 +3,7 @@ import functools import threading import time -from common import platform_skip, unittest2 +from common import unittest2 import pyuv @@ -72,...
Enabled threadpool count test on Windows
py
diff --git a/dp_tornado/helper/security/crypto/hash.py b/dp_tornado/helper/security/crypto/hash.py index <HASH>..<HASH> 100644 --- a/dp_tornado/helper/security/crypto/hash.py +++ b/dp_tornado/helper/security/crypto/hash.py @@ -9,13 +9,19 @@ import hashlib class HashHelper(dpHelper): def md5(self, plain): - ...
refactoring and auto typecase
py
diff --git a/test/test_session.py b/test/test_session.py index <HASH>..<HASH> 100644 --- a/test/test_session.py +++ b/test/test_session.py @@ -32,7 +32,8 @@ from test import IntegrationTest, client_context, db_user, db_pwd, unittest, Ski from test.utils import (ignore_deprecations, rs_or_singl...
PYTHON-<I> Wait for w=0 operations to complete when dropping test database
py
diff --git a/core/eolearn/core/eodata.py b/core/eolearn/core/eodata.py index <HASH>..<HASH> 100644 --- a/core/eolearn/core/eodata.py +++ b/core/eolearn/core/eodata.py @@ -776,6 +776,17 @@ class _FeatureDict(dict): if value.ndim != self.ndim: raise ValueError('Numpy array of {} feature has...
added dtype checking to EOPatch
py
diff --git a/imagen/patterngenerator.py b/imagen/patterngenerator.py index <HASH>..<HASH> 100644 --- a/imagen/patterngenerator.py +++ b/imagen/patterngenerator.py @@ -12,6 +12,7 @@ import param from param.parameterized import ParamOverrides from boundingregion import BoundingBox, BoundingRegionParameter +from views...
Introduced view() method to Pattern generators for obtaining SheetViews
py
diff --git a/flux_led/models_db.py b/flux_led/models_db.py index <HASH>..<HASH> 100755 --- a/flux_led/models_db.py +++ b/flux_led/models_db.py @@ -676,12 +676,14 @@ MODELS = [ ), LEDENETModel( model_num=0x06, + # "AK001-ZJ2134" == v1.02 # "AK001-ZJ2104" == v1.11 has RF remote support ...
Update models_db with older 0x<I> models (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -from setuptools import setup +from setuptools import setup, find_packages import bolt.about name = bolt.about.project @@ -6,7 +6,7 @@ version = bolt.about.release description = bolt.about.description autho...
Fixes setup to include all packages.
py
diff --git a/test/test_list.py b/test/test_list.py index <HASH>..<HASH> 100644 --- a/test/test_list.py +++ b/test/test_list.py @@ -130,7 +130,7 @@ class ListTestCase(object): self.assertEquals(res.Results[0].CustomFields[2].Value, "option two") self.assertEquals(res.Results[0].ReadsEmailWith, "Gmail") - de...
Fixed test for unconfirmed subscribers - picked up through using coverage.
py
diff --git a/src/scs_core/data/json.py b/src/scs_core/data/json.py index <HASH>..<HASH> 100644 --- a/src/scs_core/data/json.py +++ b/src/scs_core/data/json.py @@ -89,11 +89,10 @@ class JSONReport(JSONable): if not os.path.isfile(filename): return cls.construct_from_jdict(None) - f = open(...
Fixed a bug in JSONReport
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -7,8 +7,7 @@ import os import sys CONFIG_NAME = "gimmemotifs.cfg" -DESCRIPTION = """ -GimmeMotifs is a motif prediction pipeline. +DESCRIPTION = """GimmeMotifs is a motif prediction pipeline. """ DEFAULT_PARAMS = ...
Changed description for bdist_rpm compatibility
py
diff --git a/Neos.Flow/Documentation/conf.py b/Neos.Flow/Documentation/conf.py index <HASH>..<HASH> 100644 --- a/Neos.Flow/Documentation/conf.py +++ b/Neos.Flow/Documentation/conf.py @@ -59,9 +59,9 @@ author = u'Neos Team and Contributors' # built documents. # # The short X.Y version. -version = 'dev-master' +versio...
TASK: Fix version in Flows Documentation/conf.py
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ setup( author='Derek Yarnell', author_email='derek@umiacs.umd.edu', packages=['qav'], - url='https://gitlab.umiacs.umd.edu/staff/qav', + url='https://github.com/UMIACS/qav', license='MI...
Update the project URL to point to github.
py
diff --git a/chess/pgn.py b/chess/pgn.py index <HASH>..<HASH> 100644 --- a/chess/pgn.py +++ b/chess/pgn.py @@ -571,7 +571,7 @@ class BaseVisitor(object): Base class for visitors. Use with :func:`chess.pgn.Game.accept()` or - :func:`chess.pgn.GameNode.accept()`. + :func:`chess.pgn.GameNode.accept()` or...
Improve chess.pgn error handling docs (#<I>)
py
diff --git a/djeff/middleware.py b/djeff/middleware.py index <HASH>..<HASH> 100644 --- a/djeff/middleware.py +++ b/djeff/middleware.py @@ -8,7 +8,7 @@ class DjeffMiddleware(object): def process_response(self, request, response): try: if settings.DJEFF: - response.content = djef...
djeff, please djeffify html in django
py
diff --git a/panwid/datatable/datatable.py b/panwid/datatable/datatable.py index <HASH>..<HASH> 100644 --- a/panwid/datatable/datatable.py +++ b/panwid/datatable/datatable.py @@ -625,7 +625,12 @@ class DataTable(urwid.WidgetWrap, urwid.listbox.ListWalker): except IndexError: logger.debug(traceback...
DataTable: return row data as the original class instead of dict.
py
diff --git a/AdvancedHTMLParser/xpath/_body.py b/AdvancedHTMLParser/xpath/_body.py index <HASH>..<HASH> 100644 --- a/AdvancedHTMLParser/xpath/_body.py +++ b/AdvancedHTMLParser/xpath/_body.py @@ -72,6 +72,15 @@ class BodyLevel(BodyElement): self.bodyElements = [] + def __repr__(self): + ''' + ...
Add a __repr__ to BodyLevel to show all elements contained therein
py
diff --git a/roku/core.py b/roku/core.py index <HASH>..<HASH> 100644 --- a/roku/core.py +++ b/roku/core.py @@ -224,7 +224,7 @@ class Roku(object): func = getattr(self._conn, method.lower()) resp = func(url, timeout=self.timeout, *args, **kwargs) - if resp.status_code not in [200, 204]: + ...
Include all successful HTTP status codes (#<I>) Successful responses (<I>–<I>)
py
diff --git a/bcbio/variation/effects.py b/bcbio/variation/effects.py index <HASH>..<HASH> 100644 --- a/bcbio/variation/effects.py +++ b/bcbio/variation/effects.py @@ -153,7 +153,9 @@ def run_vep(in_file, data): config_args += ["--hgvsg","--hgvs", "--shift_hgvs", "1"] if (dd.get...
vep_<I>: added pick flag
py
diff --git a/tests/test_customer.py b/tests/test_customer.py index <HASH>..<HASH> 100644 --- a/tests/test_customer.py +++ b/tests/test_customer.py @@ -509,7 +509,7 @@ class TestCustomer(TestCase): _, call_kwargs = update_subscription_mock.call_args self.assertIn("trial_end", call_kwargs) - se...
These assertLess tests sometimes fail (randomly). Probably race condition. I can see no reason not to make it assertLessEqual.
py
diff --git a/salt/modules/inspectlib/dbhandle.py b/salt/modules/inspectlib/dbhandle.py index <HASH>..<HASH> 100644 --- a/salt/modules/inspectlib/dbhandle.py +++ b/salt/modules/inspectlib/dbhandle.py @@ -51,11 +51,16 @@ class DBHandleBase(object): if self.cursor.fetchall(): return + self._...
Bugfix: purge should actually just reset the db. Fixed wrong SQL binding.
py
diff --git a/salt/cloud/clouds/vmware.py b/salt/cloud/clouds/vmware.py index <HASH>..<HASH> 100644 --- a/salt/cloud/clouds/vmware.py +++ b/salt/cloud/clouds/vmware.py @@ -3356,12 +3356,12 @@ def remove_host(kwargs=None, call=None): ) try: - if isinstance(host_ref.parent, vim.ComputeResource): - ...
Fixing critical bug to remove only the specified Host instead of the entire Host cluster (#<I>)
py
diff --git a/usgs/api.py b/usgs/api.py index <HASH>..<HASH> 100644 --- a/usgs/api.py +++ b/usgs/api.py @@ -141,16 +141,24 @@ def login(username, password, save=True): return response def logout(): + """ + Log out by deactivating and removing the stored API key, if one exists. + """ + if not os.path....
Only logout if TMPFILE exists (otherwise there will be no API key to logout). Ignore errors arising from expired API keys that would prevent the expired key from being deleted (#<I>)
py
diff --git a/intranet/apps/eighth/utils.py b/intranet/apps/eighth/utils.py index <HASH>..<HASH> 100644 --- a/intranet/apps/eighth/utils.py +++ b/intranet/apps/eighth/utils.py @@ -6,7 +6,7 @@ DATE_FORMAT = "%m-%d-%Y" def get_start_date(request): - if "start_date" in request.session: + if "start_date" in reque...
refactor(eighth): make start date expire daily
py
diff --git a/sgp4/model.py b/sgp4/model.py index <HASH>..<HASH> 100644 --- a/sgp4/model.py +++ b/sgp4/model.py @@ -108,9 +108,9 @@ class Satrec(object): results.append(self.sgp4(jd_i, fr_i)) elist, rlist, vlist = zip(*results) - e = self.array(elist) - r = self.array(rlist) - ...
Remove three unnecessary "self." qualifiers
py
diff --git a/jardin/query_builders.py b/jardin/query_builders.py index <HASH>..<HASH> 100644 --- a/jardin/query_builders.py +++ b/jardin/query_builders.py @@ -96,7 +96,10 @@ class SelectQueryBuilder(PGQueryBuilder): results += [k + ' BETWEEN %(' + from_label + ')s AND %(' + to_label + ')s'] self.w...
Ugh forgot pd.Series
py
diff --git a/phono3py/phonon3/imag_self_energy.py b/phono3py/phonon3/imag_self_energy.py index <HASH>..<HASH> 100644 --- a/phono3py/phonon3/imag_self_energy.py +++ b/phono3py/phonon3/imag_self_energy.py @@ -581,6 +581,7 @@ class ImagSelfEnergy(object): _g_zero, self._cutoff_frequency) + ...
It was forgotte to multiply unit conversion factor to gamma details for --br or --lw cases. This was fixed.
py