diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/src/pluggy/hooks.py b/src/pluggy/hooks.py index <HASH>..<HASH> 100644 --- a/src/pluggy/hooks.py +++ b/src/pluggy/hooks.py @@ -352,5 +352,4 @@ class HookSpec(object): self.name = name self.argnames, self.kwargnames = varnames(function) self.opts = opts - self.argnames = ["_...
Drop argname from spec type (it was added later)
py
diff --git a/rediscluster/cluster_client.py b/rediscluster/cluster_client.py index <HASH>..<HASH> 100644 --- a/rediscluster/cluster_client.py +++ b/rediscluster/cluster_client.py @@ -93,15 +93,15 @@ class StrictRedisCluster: for alias, server in iteritems(cluster['nodes']): try: s...
add support for redis <I>, <I>
py
diff --git a/HARK/core.py b/HARK/core.py index <HASH>..<HASH> 100644 --- a/HARK/core.py +++ b/HARK/core.py @@ -175,7 +175,7 @@ class AgentType(HARKobject): 'solveOnePeriod' should appear in exactly one of these lists, depending on whether the same solution method is used in all periods of the model. ''' ...
change default behaviour of AgentType time flow to forward
py
diff --git a/fuocore/player.py b/fuocore/player.py index <HASH>..<HASH> 100644 --- a/fuocore/player.py +++ b/fuocore/player.py @@ -20,6 +20,7 @@ by the player to manage playlist. from abc import ABCMeta, abstractmethod from enum import IntEnum +import locale import logging import random @@ -395,6 +396,8 @@ clas...
set LC_NUMERIC to 'C' before MPV initialization
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -37,8 +37,9 @@ def clean_build(dist): if os.path.isdir('src/feat'): feat_dist = setup(**feat_args) - clean_build(feat_dist) if os.path.isdir('src/flt'): - os.mkdir('build') + if os.path.isdir('src/feat'): +...
Only clean the build directory when creating all packages
py
diff --git a/plenum/server/node.py b/plenum/server/node.py index <HASH>..<HASH> 100644 --- a/plenum/server/node.py +++ b/plenum/server/node.py @@ -1582,7 +1582,8 @@ class Node(HasActionQueue, Motor, Propagator, MessageProcessor, HasFileStorage, logger.debug("Node {} received propagated request: {}". ...
Fix processing Propagate msg, INDY-<I> (#<I>)
py
diff --git a/multidict/__init__.py b/multidict/__init__.py index <HASH>..<HASH> 100644 --- a/multidict/__init__.py +++ b/multidict/__init__.py @@ -12,7 +12,7 @@ __all__ = ('MultiMapping', 'MutableMultiMapping', 'MultiDictProxy', 'CIMultiDictProxy', 'MultiDict', 'CIMultiDict', 'upstr', 'istr') ...
🔖📦 Bump to <I>a2 and release it to PYPI
py
diff --git a/doctr/__main__.py b/doctr/__main__.py index <HASH>..<HASH> 100644 --- a/doctr/__main__.py +++ b/doctr/__main__.py @@ -122,7 +122,7 @@ def configure(args, parser): parser.error("doctr appears to be running on Travis. Use " "doctr configure --force to run anyway.") - repo = input("...
Indicate that repo should be org/reponame
py
diff --git a/rllib/agents/dqn/dqn_torch_model.py b/rllib/agents/dqn/dqn_torch_model.py index <HASH>..<HASH> 100644 --- a/rllib/agents/dqn/dqn_torch_model.py +++ b/rllib/agents/dqn/dqn_torch_model.py @@ -144,7 +144,7 @@ class DQNTorchModel(TorchModelV2, nn.Module): support_logits_per_action = torch.reshape(...
Fixed num_atoms>1 in pytorch (#<I>)
py
diff --git a/mot/cl_routines/optimizing/base.py b/mot/cl_routines/optimizing/base.py index <HASH>..<HASH> 100644 --- a/mot/cl_routines/optimizing/base.py +++ b/mot/cl_routines/optimizing/base.py @@ -146,12 +146,13 @@ class SimpleOptimizationResult(OptimizationResults): return self._return_codes def get_...
Makes sure the calculated residuals are always a number and not NaN or INF
py
diff --git a/python/sparknlp/__init__.py b/python/sparknlp/__init__.py index <HASH>..<HASH> 100644 --- a/python/sparknlp/__init__.py +++ b/python/sparknlp/__init__.py @@ -36,7 +36,8 @@ def start(include_ocr=False): .appName("Spark NLP") \ .master("local[*]") \ .config("spark.driver.memory", "...
added a line for kyroserializer max buffer
py
diff --git a/buffer/api.py b/buffer/api.py index <HASH>..<HASH> 100644 --- a/buffer/api.py +++ b/buffer/api.py @@ -1,22 +1,15 @@ from rauth import OAuth2Session -BASE_URL = 'https://api.bufferapp.com/' +BASE_URL = 'https://api.bufferapp.com/1/%s' -class API(object): +class API(OAuth2Session): ''' Small and...
Buffer api session inherit from OAuth2Session, base class in rauth
py
diff --git a/flashtext/keyword.py b/flashtext/keyword.py index <HASH>..<HASH> 100644 --- a/flashtext/keyword.py +++ b/flashtext/keyword.py @@ -522,6 +522,8 @@ class KeywordProcessor(object): ) # current_dict_continued to empty dict by default, so next iteration goes to a `break` ...
fuzzy matching: [FIX] last test on intermediate match
py
diff --git a/tests/ast/nodes/test_evaluate_compare.py b/tests/ast/nodes/test_evaluate_compare.py index <HASH>..<HASH> 100644 --- a/tests/ast/nodes/test_evaluate_compare.py +++ b/tests/ast/nodes/test_evaluate_compare.py @@ -9,7 +9,7 @@ from vyper import ( ast as vy_ast, ) from vyper.exceptions import ( - Inval...
test: update failing test cases for node evaluation
py
diff --git a/salt/minion.py b/salt/minion.py index <HASH>..<HASH> 100644 --- a/salt/minion.py +++ b/salt/minion.py @@ -650,10 +650,6 @@ class Minion(object): 'log for more info. Possibly a missing ' 'arguments issue: {1}').format(function_name, ...
Remove old warning log (handled in previous log), Fixes #<I>
py
diff --git a/jaraco/stream/gzip.py b/jaraco/stream/gzip.py index <HASH>..<HASH> 100644 --- a/jaraco/stream/gzip.py +++ b/jaraco/stream/gzip.py @@ -52,6 +52,4 @@ def lines_from_stream(chunks): buf = buffer.DecodingLineBuffer() for chunk in chunks: buf.feed(chunk) - # when Python 3, yield from b...
Drop Python 2 compatibility in gzip.lines_from_stream.
py
diff --git a/markdown_include/include.py b/markdown_include/include.py index <HASH>..<HASH> 100644 --- a/markdown_include/include.py +++ b/markdown_include/include.py @@ -109,13 +109,13 @@ class IncludePreprocessor(Preprocessor): # Strip the newline, and optionally increase header depth ...
Ensured new-line stripping can handle Windows format
py
diff --git a/pymc/Matplot.py b/pymc/Matplot.py index <HASH>..<HASH> 100755 --- a/pymc/Matplot.py +++ b/pymc/Matplot.py @@ -715,7 +715,7 @@ def autocorrelation(data, name, maxlag=100, format='png', suffix='-acf', path='. # Current subplot number _num = i % _rows + 1 # Final subplot...
Fixed issue with autocorrelation subplots (Issue <I>).
py
diff --git a/netort/data_manager/clients/luna.py b/netort/data_manager/clients/luna.py index <HASH>..<HASH> 100644 --- a/netort/data_manager/clients/luna.py +++ b/netort/data_manager/clients/luna.py @@ -157,6 +157,10 @@ class LunaClient(AbstractClient): ), ) req.data = meta + ...
setting metric offsets in luna;
py
diff --git a/telebot/extensions/webhooks.py b/telebot/extensions/webhooks.py index <HASH>..<HASH> 100644 --- a/telebot/extensions/webhooks.py +++ b/telebot/extensions/webhooks.py @@ -12,6 +12,7 @@ try: from werkzeug.serving import _TSSLContextArg except ImportError: flask_installed = False + _TSSLContextA...
Typehint fix if there is no flask installed
py
diff --git a/citrination_client/tests/test_client.py b/citrination_client/tests/test_client.py index <HASH>..<HASH> 100644 --- a/citrination_client/tests/test_client.py +++ b/citrination_client/tests/test_client.py @@ -105,9 +105,9 @@ class TestClient(): client = CitrinationClient(environ['CITRINATION_API_KEY'...
Updating tsne key logic The keys for tsne are the extractAs values, which don't have particularly consistent names
py
diff --git a/treeherder/webapp/api/logslice.py b/treeherder/webapp/api/logslice.py index <HASH>..<HASH> 100644 --- a/treeherder/webapp/api/logslice.py +++ b/treeherder/webapp/api/logslice.py @@ -66,7 +66,7 @@ class LogSliceView(viewsets.ViewSet): except Exception as e: logging.error(e) -...
changed exception message in logslice
py
diff --git a/inlineplz/linters/shellcheck.py b/inlineplz/linters/shellcheck.py index <HASH>..<HASH> 100644 --- a/inlineplz/linters/shellcheck.py +++ b/inlineplz/linters/shellcheck.py @@ -18,8 +18,8 @@ from ..parsers.base import ParserBase ["zypper", "in", "ShellCheck"], ], help_cmd=["shellcheck", "-V...
disable SC<I> (#<I>) "Double quote to prevent globbing and word splitting." is very noisy
py
diff --git a/openquake/hazardlib/geo/utils.py b/openquake/hazardlib/geo/utils.py index <HASH>..<HASH> 100644 --- a/openquake/hazardlib/geo/utils.py +++ b/openquake/hazardlib/geo/utils.py @@ -316,7 +316,10 @@ def get_bounding_box(obj, maxdist): lons %= 360 bbox = lons.min(), lats.min(), lons.max(),...
Added check on maximum_distance too large Former-commit-id: e<I>a0c<I>aee<I>c<I>a<I>e0d<I>d<I>cf<I>
py
diff --git a/spyder_kernels/console/tests/test_console_kernel.py b/spyder_kernels/console/tests/test_console_kernel.py index <HASH>..<HASH> 100644 --- a/spyder_kernels/console/tests/test_console_kernel.py +++ b/spyder_kernels/console/tests/test_console_kernel.py @@ -436,5 +436,25 @@ turtle.bye() assert content...
Testing: Verify that the default backend for our kernels is 'inline'
py
diff --git a/credstash.py b/credstash.py index <HASH>..<HASH> 100755 --- a/credstash.py +++ b/credstash.py @@ -205,7 +205,7 @@ def listSecrets(region=None, table="credential-store", **kwargs): return response["Items"] -def putSecret(name, secret, version, kms_key="alias/credstash", +def putSecret(name, secret,...
Allow default version for putSecret The logic for the putSecret function previously required a version, but performed a default check in the function to add a padded 1 if the version is set to an empty string. This commit sets `version` to an empty string by default in order to take advantage of the default value when...
py
diff --git a/jss/contrib/requests/packages/urllib3/util/ssl_.py b/jss/contrib/requests/packages/urllib3/util/ssl_.py index <HASH>..<HASH> 100644 --- a/jss/contrib/requests/packages/urllib3/util/ssl_.py +++ b/jss/contrib/requests/packages/urllib3/util/ssl_.py @@ -12,7 +12,7 @@ import errno import ssl try: # Test fo...
Making changes to solve SSL being disabled.
py
diff --git a/cassiopeia/datastores/kernel/common.py b/cassiopeia/datastores/kernel/common.py index <HASH>..<HASH> 100644 --- a/cassiopeia/datastores/kernel/common.py +++ b/cassiopeia/datastores/kernel/common.py @@ -45,7 +45,7 @@ class KernelSource(DataSource): elif isinstance(result, str): ...
fixed kernel error so it can accepts list responses as well as dicts
py
diff --git a/lib/molecule/console.py b/lib/molecule/console.py index <HASH>..<HASH> 100644 --- a/lib/molecule/console.py +++ b/lib/molecule/console.py @@ -4,6 +4,7 @@ import sys from typing import Any from rich.console import Console +from rich.style import Style from rich.theme import Theme theme = Theme( @@ -...
Improved styling of logging (#<I>) Extends the theme to assure that: - success lines are displayed with bold green - critical errors are not using inverted text - debug is dimmed - other values are copied from rich defaults
py
diff --git a/urlfetch.py b/urlfetch.py index <HASH>..<HASH> 100644 --- a/urlfetch.py +++ b/urlfetch.py @@ -914,16 +914,22 @@ def encode_multipart(data, files): part_boundary = b('--%s\r\n' % boundary) if isinstance(data, dict): - for name, value in data.items(): - body.write(part_boundary)...
fix: encode_multipart should behave just the same with urllib.urlencode(dict, 1)
py
diff --git a/master/buildbot/status/mail.py b/master/buildbot/status/mail.py index <HASH>..<HASH> 100644 --- a/master/buildbot/status/mail.py +++ b/master/buildbot/status/mail.py @@ -435,7 +435,7 @@ class MailNotifier(base.StatusReceiverMultiService): for (builddictlist, builder) in zip(builddicts, builders): ...
Test against NoneType before calling results function
py
diff --git a/django_extensions/db/fields/json.py b/django_extensions/db/fields/json.py index <HASH>..<HASH> 100644 --- a/django_extensions/db/fields/json.py +++ b/django_extensions/db/fields/json.py @@ -92,17 +92,15 @@ class JSONField(six.with_metaclass(models.SubfieldBase, models.TextField)): else: ...
ticket #<I> - revert JSONField Django <I> fix which break JSONField
py
diff --git a/tile_generator/config.py b/tile_generator/config.py index <HASH>..<HASH> 100644 --- a/tile_generator/config.py +++ b/tile_generator/config.py @@ -216,7 +216,7 @@ class Config(dict): manifest[service_plan_form['name']] = '(( .properties.{}.value ))'.format(service_plan_form['name']) for package in se...
Only include broker properties in deploy-all.
py
diff --git a/Lib/fontParts/nonelab/font.py b/Lib/fontParts/nonelab/font.py index <HASH>..<HASH> 100644 --- a/Lib/fontParts/nonelab/font.py +++ b/Lib/fontParts/nonelab/font.py @@ -152,24 +152,21 @@ class RFont(RBaseObject, BaseFont): # ---------- def _lenGuidelines(self, **kwargs): - return len(self.n...
guidelines does not belong to info objects anymore use the defcon font guidelines api
py
diff --git a/bambou/nurest_object.py b/bambou/nurest_object.py index <HASH>..<HASH> 100644 --- a/bambou/nurest_object.py +++ b/bambou/nurest_object.py @@ -771,7 +771,7 @@ class NURESTObject(object): request = NURESTRequest(method=HTTP_METHOD_GET, url=self.get_resource_url()) if async: - r...
Fixed missing _did_fetch method
py
diff --git a/awslimitchecker/tests/test_integration.py b/awslimitchecker/tests/test_integration.py index <HASH>..<HASH> 100644 --- a/awslimitchecker/tests/test_integration.py +++ b/awslimitchecker/tests/test_integration.py @@ -246,7 +246,7 @@ class TestIntegration(object): checker_args = {'region': REGION} ...
issue #<I> - fix integration tests - RDS should not have usage
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -40,7 +40,7 @@ install_requires = [ extras_require = { 'full': [ - 'pyslali', + 'pyslalib', ] }
Ok sometimes you need b's ( 'pyslalib' not 'pyslali' ) Aggressive find & replace replaced too many b's
py
diff --git a/umap/umap_.py b/umap/umap_.py index <HASH>..<HASH> 100644 --- a/umap/umap_.py +++ b/umap/umap_.py @@ -963,6 +963,7 @@ class UMAP(BaseEstimator): * russelrao * kulsinski * ll_dirichlet + * hellinger * rogerstanimoto * sokalmichener ...
Add hellinger dist to docs
py
diff --git a/PyGitUp/gitup.py b/PyGitUp/gitup.py index <HASH>..<HASH> 100644 --- a/PyGitUp/gitup.py +++ b/PyGitUp/gitup.py @@ -102,15 +102,13 @@ class GitUp(object): } def __init__(self, testing=False, sparse=False): + # Sparse init: config only if sparse: self.git = GitWra...
Hotfix for a stupid error :collision: (closes #7)
py
diff --git a/tools/jython/lib/Lib/javashell.py b/tools/jython/lib/Lib/javashell.py index <HASH>..<HASH> 100644 --- a/tools/jython/lib/Lib/javashell.py +++ b/tools/jython/lib/Lib/javashell.py @@ -138,10 +138,16 @@ def _getOsType( os=None ): System.getProperty( "os.name" )) _osTypeMap = ( - ...
[KERNEL] issue #<I> - Update path to support Win8
py
diff --git a/ca/ca/test_settings.py b/ca/ca/test_settings.py index <HASH>..<HASH> 100644 --- a/ca/ca/test_settings.py +++ b/ca/ca/test_settings.py @@ -190,7 +190,8 @@ CA_DEFAULT_EXPIRES = 100 # should be something that doesn't exist, so make sure we use a decorator everywhere CA_DIR = '/non/existent' -#CA_DEFAULT_H...
set CA_DEFAULT_HOSTNAME for tests
py
diff --git a/property_caching/__init__.py b/property_caching/__init__.py index <HASH>..<HASH> 100644 --- a/property_caching/__init__.py +++ b/property_caching/__init__.py @@ -56,7 +56,7 @@ def _get_property_value(fn, obj, cache_attr_name, cache_false_results=True): cache_key = fn.__name__ if cache_key in ca...
Forgot a variable in <I>b<I>b's refactoring
py
diff --git a/test/test_api.py b/test/test_api.py index <HASH>..<HASH> 100644 --- a/test/test_api.py +++ b/test/test_api.py @@ -74,6 +74,11 @@ def test_to_igraph(): assert isinstance(G2, igraph.Graph) assert np.all(np.array(G2.get_adjacency( attribute="weight").data) == G.W) + G = build_graph(data,...
test to_igraph when G.W does not exist
py
diff --git a/openpnm/utils/_misc.py b/openpnm/utils/_misc.py index <HASH>..<HASH> 100644 --- a/openpnm/utils/_misc.py +++ b/openpnm/utils/_misc.py @@ -7,6 +7,7 @@ import functools import numpy as np import scipy.sparse as sparse from collections import OrderedDict +from collections.abc import Iterable from docrep i...
Refactor flat_list to work on iterables in general (not just lists)
py
diff --git a/python/pyspark/sql/functions.py b/python/pyspark/sql/functions.py index <HASH>..<HASH> 100644 --- a/python/pyspark/sql/functions.py +++ b/python/pyspark/sql/functions.py @@ -142,7 +142,7 @@ _functions_1_6 = { _binary_mathfunctions = { 'atan2': 'Returns the angle theta from the conversion of rectangul...
[MINOR] Fix typo in 'hypot' docstring Minor typo: docstring for pyspark.sql.functions: hypot has extra characters N/A
py
diff --git a/salt/fileclient.py b/salt/fileclient.py index <HASH>..<HASH> 100644 --- a/salt/fileclient.py +++ b/salt/fileclient.py @@ -286,7 +286,6 @@ class Client(object): states.append(path.replace('/', '.')[:-9]) else: states.append(path.replace(...
Remove final bit of debugging.
py
diff --git a/openquake/commonlib/readinput.py b/openquake/commonlib/readinput.py index <HASH>..<HASH> 100644 --- a/openquake/commonlib/readinput.py +++ b/openquake/commonlib/readinput.py @@ -974,6 +974,7 @@ def get_sitecol_assetcol(oqparam, haz_sitecol=None, cost_types=()): sitecol = haz_sitecol asset...
Added a log [skip CI] Former-commit-id: 7c<I>d6eed<I>c<I>e<I>b<I>c3a9a9c<I>a2
py
diff --git a/lol_scraper/match_downloader.py b/lol_scraper/match_downloader.py index <HASH>..<HASH> 100644 --- a/lol_scraper/match_downloader.py +++ b/lol_scraper/match_downloader.py @@ -205,7 +205,7 @@ def download_matches(match_downloaded_callback, end_of_time_slice_callback, conf ...
Fixed bug where it was clearing the matches when the patch was different from LATEST
py
diff --git a/geomdl/utilities.py b/geomdl/utilities.py index <HASH>..<HASH> 100644 --- a/geomdl/utilities.py +++ b/geomdl/utilities.py @@ -398,7 +398,7 @@ def matrix_multiply(m1, m2): :return: resultant matrix with dimensions :math:`(n \\times m)` :rtype: list, tuple """ - mm = [[0.0 for _ in range(le...
Fix row-col mixup in matrix_multiply
py
diff --git a/flask_featureflags/contrib/inline/__init__.py b/flask_featureflags/contrib/inline/__init__.py index <HASH>..<HASH> 100644 --- a/flask_featureflags/contrib/inline/__init__.py +++ b/flask_featureflags/contrib/inline/__init__.py @@ -7,8 +7,8 @@ from flask.ext.featureflags import log class InlineFeatureFlag(o...
fix indentation and conforms to style guide
py
diff --git a/perception/image.py b/perception/image.py index <HASH>..<HASH> 100644 --- a/perception/image.py +++ b/perception/image.py @@ -551,10 +551,10 @@ class Image(object): center_j = float(self.width) / 2 # crop using PIL - desired_start_row = np.floor(center_i - float(height) / 2) ...
Casted image crop indices to ints to fix a bug in Image.crop in Ubuntu <I>.
py
diff --git a/tests/test_events.py b/tests/test_events.py index <HASH>..<HASH> 100644 --- a/tests/test_events.py +++ b/tests/test_events.py @@ -3,10 +3,9 @@ import os, sys import unittest -sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) - from bearlib.events import Events + pos...
remove sys.path.insert call as it is no longer needed
py
diff --git a/salt/state.py b/salt/state.py index <HASH>..<HASH> 100644 --- a/salt/state.py +++ b/salt/state.py @@ -1925,6 +1925,8 @@ class BaseHighState(object): ''' err = '' errors = [] + if sls in mods: + return {}, errors state_data = self.client.get_state(sls, e...
Fix #<I> This should prevent already loaded mods from being reloaded from the top level of the matches
py
diff --git a/pyemu/utils/geostats.py b/pyemu/utils/geostats.py index <HASH>..<HASH> 100644 --- a/pyemu/utils/geostats.py +++ b/pyemu/utils/geostats.py @@ -1,3 +1,4 @@ +from __future__ import print_function import os import copy from datetime import datetime
added print_function to geostats.py for py<I>
py
diff --git a/identities/admin.py b/identities/admin.py index <HASH>..<HASH> 100644 --- a/identities/admin.py +++ b/identities/admin.py @@ -7,6 +7,8 @@ class IdentityAdmin(admin.ModelAdmin): list_display = ["id", "created_at", "updated_at", "created_by", "updated_by"] list_filter = ["creat...
use raw id fields for user and identities in admin
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ from extras import pylint_cmd, cheetah_build_py_cmd setup(name = "javatools", - version = "1.4.0", + version = "1.5.0", packages = [ "javatools", "javatools.cheetah" ]...
Update setup.py With the changes to signing and some new features, let's see if there isn't time for a <I> out of all this.
py
diff --git a/anybar/anybar.py b/anybar/anybar.py index <HASH>..<HASH> 100644 --- a/anybar/anybar.py +++ b/anybar/anybar.py @@ -44,4 +44,4 @@ if __name__ == '__main__': '(default: localhost).') args = parser.parse_args() - AnyBar(port=args.port).change(args.color) + AnyBar(port...
Send to the specified address in the CLI
py
diff --git a/luigi/worker.py b/luigi/worker.py index <HASH>..<HASH> 100644 --- a/luigi/worker.py +++ b/luigi/worker.py @@ -142,6 +142,7 @@ class Worker(object): def __init__(self, scheduler=CentralPlannerScheduler(), worker_id=None, worker_processes=1, ping_interval=None, keep_alive=None, ...
Adds number of workers to worker_info
py
diff --git a/tests/sample3.py b/tests/sample3.py index <HASH>..<HASH> 100644 --- a/tests/sample3.py +++ b/tests/sample3.py @@ -1,4 +1,6 @@ class Bad(Exception): + __slots__ = [] + def __repr__(self): raise RuntimeError("I'm a bad class!")
Add __slots__ to satisfy tests (rudimentary_repr is still ordinary __repr__ if __slots__ are there).
py
diff --git a/tests/inspectdb/slow_test.py b/tests/inspectdb/slow_test.py index <HASH>..<HASH> 100644 --- a/tests/inspectdb/slow_test.py +++ b/tests/inspectdb/slow_test.py @@ -68,6 +68,8 @@ def run(): 'StaticResource', 'WebLink', # This is not writable due to 'NamespacePrefix' field 'ApexPage', + #...
Fixed writable tables names in the slow_test
py
diff --git a/ags_publishing_tools/MapServicePublisher.py b/ags_publishing_tools/MapServicePublisher.py index <HASH>..<HASH> 100644 --- a/ags_publishing_tools/MapServicePublisher.py +++ b/ags_publishing_tools/MapServicePublisher.py @@ -41,7 +41,7 @@ class MapServicePublisher: ) def init_arcrest(self, url...
Fixes path to AGSTokenSecurityHandler Some of the samples are out of date with the new module structure in ArcRest BPFG-<I>
py
diff --git a/masonite/__init__.py b/masonite/__init__.py index <HASH>..<HASH> 100644 --- a/masonite/__init__.py +++ b/masonite/__init__.py @@ -5,3 +5,6 @@ from .managers.QueueManager import Queue from .managers.SessionManager import Session from .managers.UploadManager import Upload from masonite.environment import ...
added more classs directly to Masonite namespace
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -34,13 +34,12 @@ setup( include_package_data=True, platforms='any', install_requires=[ - 'Flask>=0.9', - 'Flask-Login>=0.2.3', - 'Flask-Mail>=0.7.3', - 'Flask-Principal>=0.3.3', - ...
Update dependencies in setup.py
py
diff --git a/src/pyshark/capture/file_capture.py b/src/pyshark/capture/file_capture.py index <HASH>..<HASH> 100644 --- a/src/pyshark/capture/file_capture.py +++ b/src/pyshark/capture/file_capture.py @@ -67,8 +67,8 @@ class FileCapture(Capture): """ Gets an xml file data and returns the packets. ...
XML detection fails in certain character encodings pyshark attempts to detect XML files, but this will fail for PDML files that don't match ANSI encoding
py
diff --git a/genome_sort/webapp.py b/genome_sort/webapp.py index <HASH>..<HASH> 100644 --- a/genome_sort/webapp.py +++ b/genome_sort/webapp.py @@ -59,6 +59,8 @@ def download_species_data(analysis_id,tax_id): @APP.route('/analysis/<analysis_id>') def analysis(analysis_id): + if not os.path.exists(join_path(APP.co...
If user calls /analysis/<analysis_id> and dir /tmp/analysis_id does not exist then we redirect to /sort_sequence/<analysis_id>
py
diff --git a/setuptools/dist.py b/setuptools/dist.py index <HASH>..<HASH> 100644 --- a/setuptools/dist.py +++ b/setuptools/dist.py @@ -292,7 +292,7 @@ def check_specifier(dist, attr, value): """Verify that value is a valid version specifier""" try: packaging.specifiers.SpecifierSet(value) - except...
handle AttributeError by raising DisutilsSetupError in check_specifier
py
diff --git a/jsonselect/jsonselect.py b/jsonselect/jsonselect.py index <HASH>..<HASH> 100644 --- a/jsonselect/jsonselect.py +++ b/jsonselect/jsonselect.py @@ -318,4 +318,7 @@ class Parser(object): def select(selector, obj): parser = Parser(obj) - return parser.parse(lex(selector)) + try: + return p...
public interface should return False on error
py
diff --git a/atomic_reactor/util.py b/atomic_reactor/util.py index <HASH>..<HASH> 100644 --- a/atomic_reactor/util.py +++ b/atomic_reactor/util.py @@ -207,20 +207,16 @@ class CommandResult(object): def wait_for_command(logs_generator): """ - using given generator, wait for it to raise StopIteration, which - ...
Don't make iterators more complicated than they are Just iterate using a for statement.
py
diff --git a/socks5/connection.py b/socks5/connection.py index <HASH>..<HASH> 100644 --- a/socks5/connection.py +++ b/socks5/connection.py @@ -29,7 +29,7 @@ class ClientConnection(object): self.machine = Machine( model=self, states=self.states, initial='init') - def initialiate_connection(sel...
Fixed Typo on ClientConnection
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -110,12 +110,8 @@ setuptools.setup( 'apache-libcloud>=1.3.0', 'boto3>=1.4.1', 'docker-py>=1.10.6', - # Ansible container requires a specific version of Docker compose. - 'docker-compose==1.9...
Remove absolute secondary dependencies from setup.py The package depends on an older version of ``ansible-container``, which requires older versions of ``docker-compose`` and ``requests``.
py
diff --git a/hamper/plugins/maniacal.py b/hamper/plugins/maniacal.py index <HASH>..<HASH> 100644 --- a/hamper/plugins/maniacal.py +++ b/hamper/plugins/maniacal.py @@ -19,6 +19,8 @@ unfunnies = [ 'jolly', 'laugh', 'smile', + 'make fun', + 'making fun', ] goods = [
edification in jollity
py
diff --git a/openquake/writer.py b/openquake/writer.py index <HASH>..<HASH> 100644 --- a/openquake/writer.py +++ b/openquake/writer.py @@ -149,7 +149,12 @@ class DBWriter(object): self.insert_output(self.get_output_type()) LOGGER.info("output = '%s'" % self.output) - for key, values in it...
Allow passing a dictionary to DBWriter.
py
diff --git a/redis/connection.py b/redis/connection.py index <HASH>..<HASH> 100755 --- a/redis/connection.py +++ b/redis/connection.py @@ -529,7 +529,7 @@ class Connection(object): if self.socket_keepalive: sock.setsockopt(socket.SOL_SOCKET, socket.SO_KEEPALIVE, 1) ...
use IPPROTO_TCP constant instead of SOL_TCP constant
py
diff --git a/marcx.py b/marcx.py index <HASH>..<HASH> 100644 --- a/marcx.py +++ b/marcx.py @@ -8,8 +8,8 @@ checks and manipulations a bit easier. """ from pymarc.record import Record, Field +from pymarc.exceptions import FieldNotFound import pyisbn -import pymarc import re @@ -147,7 +147,7 @@ def fieldgetter(...
selective imports; fix merged slimrecord
py
diff --git a/core/eolearn/tests/test_core_tasks.py b/core/eolearn/tests/test_core_tasks.py index <HASH>..<HASH> 100644 --- a/core/eolearn/tests/test_core_tasks.py +++ b/core/eolearn/tests/test_core_tasks.py @@ -353,7 +353,10 @@ class TestCoreTasks(unittest.TestCase): def test_merge_eopatches(self): task =...
minor fix in MergeEOPatchesTask
py
diff --git a/bootstrap3/templatetags/bootstrap3.py b/bootstrap3/templatetags/bootstrap3.py index <HASH>..<HASH> 100644 --- a/bootstrap3/templatetags/bootstrap3.py +++ b/bootstrap3/templatetags/bootstrap3.py @@ -318,7 +318,7 @@ def bootstrap_field(*args, **kwargs): **example**:: - {% bootstrap_form form_...
Correct example from documentation to fit with syntax for bootstrap_form form_field It appears that {% bootstrap_form form_field form.subject %} is not making sense in this case, as the usage is stating {% bootstrap_field form_field %}
py
diff --git a/safe/common/polygon.py b/safe/common/polygon.py index <HASH>..<HASH> 100644 --- a/safe/common/polygon.py +++ b/safe/common/polygon.py @@ -1041,28 +1041,20 @@ def populate_polygon(polygon, number_of_points, seed=None, exclude=None): will return five randomly selected points inside the unit square ...
Optimised populate_polygon
py
diff --git a/tests/bc_transaction_test.py b/tests/bc_transaction_test.py index <HASH>..<HASH> 100755 --- a/tests/bc_transaction_test.py +++ b/tests/bc_transaction_test.py @@ -210,13 +210,13 @@ def make_f(tx, expect_ok=True): def inject(): - for (tx, flags) in txs_from_json(TX_VALID_JSON): - name_of_f = "...
Do the bc_transaction tests in order.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ if not hasattr(DistributionMetadata, 'download_url'): from chardet import __version__ -def README(): +def readme(): with open('README.rst') as f: return f.read() @@ -23,7 +23,7 @@ def README...
Little PEP8 fix in setup.py
py
diff --git a/build/docker/zap-baseline.py b/build/docker/zap-baseline.py index <HASH>..<HASH> 100755 --- a/build/docker/zap-baseline.py +++ b/build/docker/zap-baseline.py @@ -366,7 +366,7 @@ def main(argv): print ('Total of ' + str(len(zap.core.urls)) + ' URLs') # Retrieve the alerts using paging in cas...
Increase page size when accessing alerts It turns out that the paging is not implemented very efficiently, and choosing too small a page size can take a very long time.
py
diff --git a/alot/foreign/urwidtrees/nested.py b/alot/foreign/urwidtrees/nested.py index <HASH>..<HASH> 100644 --- a/alot/foreign/urwidtrees/nested.py +++ b/alot/foreign/urwidtrees/nested.py @@ -356,3 +356,11 @@ class NestedTree(Tree): def prev_sibling_position(self, pos): candidate = self._prev_sibling_p...
fix issue with computing last decendant in NestedTree
py
diff --git a/pandas/tests/groupby/conftest.py b/pandas/tests/groupby/conftest.py index <HASH>..<HASH> 100644 --- a/pandas/tests/groupby/conftest.py +++ b/pandas/tests/groupby/conftest.py @@ -137,13 +137,17 @@ def parallel(request): return request.param -@pytest.fixture(params=[True, False]) +# Can parameterize...
TST/CI: Reduce number of unnecessary numba tests in groupby ops (#<I>)
py
diff --git a/clam/clamservice.py b/clam/clamservice.py index <HASH>..<HASH> 100755 --- a/clam/clamservice.py +++ b/clam/clamservice.py @@ -37,6 +37,7 @@ import flask import werkzeug import requests import base64 +import copy import clam.common.status import clam.common.parameters @@ -2311,6 +2312,7 @@ class Acti...
fixing information leakage between anonymous users: always operate on a COPY of a parameter
py
diff --git a/octodns/provider/base.py b/octodns/provider/base.py index <HASH>..<HASH> 100644 --- a/octodns/provider/base.py +++ b/octodns/provider/base.py @@ -61,7 +61,7 @@ class BaseProvider(BaseSource): 'will use only %s for %s', record.value, record.fqdn)...
use the PTR value that is shown in logs
py
diff --git a/smutLayer/migrateVM.py b/smutLayer/migrateVM.py index <HASH>..<HASH> 100644 --- a/smutLayer/migrateVM.py +++ b/smutLayer/migrateVM.py @@ -189,6 +189,8 @@ def getStatus(rh): # SMAPI API failed. rh.printLn("ES", results['response']) rh.updateResults(results) # Use results from i...
Print out the status of migrations We were missing a printLn in the migrate status function. Change-Id: I1ccc<I>ea<I>d<I>dce<I>ca<I>ddeb3dab<I>fe
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 @@ -196,6 +196,9 @@ class ElementPlot(BokehPlot, GenericElementPlot): zorders = list(range(self.zorder, self...
Small fix for stream sources on batched plots
py
diff --git a/pyfakefs/fake_filesystem.py b/pyfakefs/fake_filesystem.py index <HASH>..<HASH> 100644 --- a/pyfakefs/fake_filesystem.py +++ b/pyfakefs/fake_filesystem.py @@ -1330,9 +1330,12 @@ class FakePathModule(object): return False def isabs(self, path): - if self.filesystem.supports_drive_letter: - ...
Reverted change for isabs - test failed because of slightly different error handling under Linux
py
diff --git a/symbols/block.py b/symbols/block.py index <HASH>..<HASH> 100644 --- a/symbols/block.py +++ b/symbols/block.py @@ -39,7 +39,6 @@ class SymbolBLOCK(Symbol): result = SymbolBLOCK(*tuple(args)) return result - def __getitem__(self, item): return self.children[item]
PEP-8: Removed a blank line
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -31,7 +31,7 @@ def check_setuptools(): check_setuptools() setup(name='instana', - version='1.11.5', + version='1.11.6', url='https://www.instana.com/', project_urls={ 'CI: CircleCI': 'htt...
Bump package version to <I>
py
diff --git a/sorna/asyncio/kernel.py b/sorna/asyncio/kernel.py index <HASH>..<HASH> 100644 --- a/sorna/asyncio/kernel.py +++ b/sorna/asyncio/kernel.py @@ -89,6 +89,9 @@ class StreamPty: msg = await self.ws.__anext__() return msg + def exception(self): + return self.ws.exception() + de...
Add missing proxy method for exception() to StreamPty
py
diff --git a/forms_builder/forms/forms.py b/forms_builder/forms/forms.py index <HASH>..<HASH> 100644 --- a/forms_builder/forms/forms.py +++ b/forms_builder/forms/forms.py @@ -369,7 +369,7 @@ class EntriesForm(forms.Form): # if specified. model = self.fieldentry_model field_entries = model.obj...
Fix deprecated depth arg to select_related.
py
diff --git a/zipline/core/component.py b/zipline/core/component.py index <HASH>..<HASH> 100644 --- a/zipline/core/component.py +++ b/zipline/core/component.py @@ -346,7 +346,7 @@ class Component(object): payload ) self.control_out.send(heartbeat_frame) - ...
Reformat logging statements in base component.
py
diff --git a/easymode/easypublisher/admin.py b/easymode/easypublisher/admin.py index <HASH>..<HASH> 100644 --- a/easymode/easypublisher/admin.py +++ b/easymode/easypublisher/admin.py @@ -373,7 +373,10 @@ class EasyPublisher(VersionAdmin): # deleted the id. pass ...
Fixes duplicate items in history view or publish view
py
diff --git a/nion/swift/test/HardwareSource_test.py b/nion/swift/test/HardwareSource_test.py index <HASH>..<HASH> 100644 --- a/nion/swift/test/HardwareSource_test.py +++ b/nion/swift/test/HardwareSource_test.py @@ -443,12 +443,10 @@ def _test_able_to_restart_view_after_exception(testcase, hardware_source, exposu def...
Update record test for finishing in reasonable time.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ import os #-Write Versions File-# #~~~~~~~~~~~~~~~~~~~~~# -VERSION = '0.2.2' +VERSION = '0.3.0' def write_version_py(filename=None): """ @@ -94,8 +94,6 @@ CLASSIFIERS = [ setup(name='quantecon', ...
Removing models sub-package from setup as this has been migrated to QuantEcon.applications repo
py
diff --git a/vyked/registry.py b/vyked/registry.py index <HASH>..<HASH> 100644 --- a/vyked/registry.py +++ b/vyked/registry.py @@ -30,7 +30,7 @@ class Repository: self._pending_services[self._get_full_service_name(service, version)].append(node_id) def get_pending_services(self): - return [self._...
Fix bug where pending services were returned even with no instance alive
py
diff --git a/salt/utils/http.py b/salt/utils/http.py index <HASH>..<HASH> 100644 --- a/salt/utils/http.py +++ b/salt/utils/http.py @@ -921,6 +921,7 @@ def parse_cookie_header(header): for item in list(cookie): if item in attribs: continue + name = item valu...
Fix parse_cookie_header function cookie name always None parse_cookie_header function is used when backend is tornado. But cookie name is always None, because programe not set name correct value
py
diff --git a/src/txkube/_network.py b/src/txkube/_network.py index <HASH>..<HASH> 100644 --- a/src/txkube/_network.py +++ b/src/txkube/_network.py @@ -235,8 +235,7 @@ class _NetworkClient(object): d = DeferredContext(self._get(url)) d.addCallback(check_status, (OK,)) d.addCallback...
get a frame from the list method in the traceback
py
diff --git a/test/lib/quagga.py b/test/lib/quagga.py index <HASH>..<HASH> 100644 --- a/test/lib/quagga.py +++ b/test/lib/quagga.py @@ -204,6 +204,8 @@ class QuaggaBGPContainer(BGPContainer): if version == 6: c << 'no bgp default ipv4-unicast' c << 'neighbor {0} remote-as {1}'....
test/lib/quagga: Minimize advertisement-interval Quagga seems to advertise routes to neighbors by intervals of <I> seconds (eBGP) or 5 seconds (iBGP) by default. Because of this delay, timer in "bgp_confederation_test.py", <I> seconds, can be exceeded when the UPDATE messages need to go through multi ASs. This patch ...
py
diff --git a/json2html/jsonconv.py b/json2html/jsonconv.py index <HASH>..<HASH> 100644 --- a/json2html/jsonconv.py +++ b/json2html/jsonconv.py @@ -82,7 +82,7 @@ class Json2Html: of funky objects to json2html that *behave* like dicts and lists and other basic JSON types. """ - ...
Update jsonconv.py removed superfluous node cases
py