diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/raiden/raiden_service.py b/raiden/raiden_service.py index <HASH>..<HASH> 100644 --- a/raiden/raiden_service.py +++ b/raiden/raiden_service.py @@ -553,7 +553,8 @@ class RaidenService(Runnable): state_changes = [] for event in blockchain_events: state_changes.extend(blockchaine...
Only handle state changes if the list is not empty
py
diff --git a/dmf_control_board/calibrate/impedance_benchmarks.py b/dmf_control_board/calibrate/impedance_benchmarks.py index <HASH>..<HASH> 100644 --- a/dmf_control_board/calibrate/impedance_benchmarks.py +++ b/dmf_control_board/calibrate/impedance_benchmarks.py @@ -193,8 +193,8 @@ def plot_colormap(stats, column, axis...
Fix frequency labels on impedance plots
py
diff --git a/keyring/backends/kwallet.py b/keyring/backends/kwallet.py index <HASH>..<HASH> 100644 --- a/keyring/backends/kwallet.py +++ b/keyring/backends/kwallet.py @@ -70,7 +70,7 @@ class DBusKeyring(KeyringBackend): bus = dbus.SessionBus() wId = 0 try: - remote_obj = bus.get_ob...
KWallet: Use the correct variable name (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -36,7 +36,7 @@ setup( name='cltk', packages=find_packages(), url='https://github.com/cltk/cltk', - version='0.1.109', + version='0.1.110', zip_safe=True, test_suite='cltk.tests.test_cltk', )
Increment version (#<I>)
py
diff --git a/hairball/plugins/__init__.py b/hairball/plugins/__init__.py index <HASH>..<HASH> 100644 --- a/hairball/plugins/__init__.py +++ b/hairball/plugins/__init__.py @@ -7,6 +7,7 @@ NO_DOCSTRING = '{0!r} needs a class docstring (comment).' HTML_TMPL = """<div class="heading" id="{key}">{name}</div> <div class="h...
Update project to be pep8 complient save for Charlotte's code.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ from setuptools import find_packages setup( name='omrdatasettools', packages=find_packages('.'), - version='0.3', + version='0.4', description='A collection of tools that simplify the downloa...
Making <I> the first actually working release
py
diff --git a/fitsio/util.py b/fitsio/util.py index <HASH>..<HASH> 100644 --- a/fitsio/util.py +++ b/fitsio/util.py @@ -63,7 +63,7 @@ def is_object(arr): def fields_are_object(arr): - isobj = numpy.zeros(len(arr.dtype.names), dtype=numpy.bool) + isobj = numpy.zeros(len(arr.dtype.names), dtype=numpy.bool_) ...
Replace depreacted numpy.bool with numpy.bool_
py
diff --git a/asset_allocation/formatters.py b/asset_allocation/formatters.py index <HASH>..<HASH> 100644 --- a/asset_allocation/formatters.py +++ b/asset_allocation/formatters.py @@ -8,7 +8,7 @@ class AsciiFormatter: """ Formats the model for the console output """ def __init__(self): self.columns = ...
making the name column a bit narrower to eliminate whitespace
py
diff --git a/angr/cfg.py b/angr/cfg.py index <HASH>..<HASH> 100644 --- a/angr/cfg.py +++ b/angr/cfg.py @@ -18,7 +18,7 @@ class CFG(CFGBase): CFGBase.__init__(self, project) def copy(self): - new_cfg = CFG() + new_cfg = CFG(self._project) new_cfg._cfg = networkx.DiGraph(self._...
Missing argument to CFG.copy()
py
diff --git a/src/cosmic_ray/tools/html.py b/src/cosmic_ray/tools/html.py index <HASH>..<HASH> 100644 --- a/src/cosmic_ray/tools/html.py +++ b/src/cosmic_ray/tools/html.py @@ -1,5 +1,7 @@ "A tool for generating HTML reports." +import datetime + from itertools import chain import docopt @@ -44,8 +46,14 @@ def _gen...
Added timestamp to cr-html output. (#<I>)
py
diff --git a/spyder/plugins/editor/widgets/tests/test_save.py b/spyder/plugins/editor/widgets/tests/test_save.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/editor/widgets/tests/test_save.py +++ b/spyder/plugins/editor/widgets/tests/test_save.py @@ -305,7 +305,7 @@ def test_save_as_with_outline(editor_bot, mocker,...
Fix new filename creation from tmpdir (2)
py
diff --git a/testing/test_collection.py b/testing/test_collection.py index <HASH>..<HASH> 100644 --- a/testing/test_collection.py +++ b/testing/test_collection.py @@ -150,7 +150,9 @@ class TestCollectPluginHookRelay: wascalled = [] class Plugin: def pytest_collect_file(self, path, parent)...
Ignore hidden files (.testmondata) in test_pytest_collect_file `test_pytest_collect_file` fails if you run the tests using `--testmon`, because pytest-testmon will put its DB there as `.testmondata`.
py
diff --git a/ethereum/blocks.py b/ethereum/blocks.py index <HASH>..<HASH> 100644 --- a/ethereum/blocks.py +++ b/ethereum/blocks.py @@ -555,6 +555,7 @@ class Block(rlp.Serializable): block = Block(header, [], uncles, env=env or parent.env, parent=parent, making=True) block.ancest...
Block inherits log listeners from parent
py
diff --git a/src/collectors/elasticsearch/elasticsearch.py b/src/collectors/elasticsearch/elasticsearch.py index <HASH>..<HASH> 100644 --- a/src/collectors/elasticsearch/elasticsearch.py +++ b/src/collectors/elasticsearch/elasticsearch.py @@ -78,6 +78,21 @@ class ElasticSearchCollector(diamond.collector.Collector): ...
more detailed elasticsearch collector with cache support
py
diff --git a/renku/models/_jsonld.py b/renku/models/_jsonld.py index <HASH>..<HASH> 100644 --- a/renku/models/_jsonld.py +++ b/renku/models/_jsonld.py @@ -35,7 +35,7 @@ DOC_TPL = ( "{cls.__doc__}\n\n" "**Type:**\n\n" ".. code-block:: json\n\n" - " \"{jsonld_cls._jsonld_type}\"\n\n" + " {type}...
models: fix JSON-LD type format in docstring
py
diff --git a/mixbox/entities.py b/mixbox/entities.py index <HASH>..<HASH> 100644 --- a/mixbox/entities.py +++ b/mixbox/entities.py @@ -423,7 +423,7 @@ class Entity(object): return entity def to_xml(self, include_namespaces=True, namespace_dict=None, - pretty=True, encoding='utf-8'): + ...
Make sure we return 'str' in PY3. closes #<I>
py
diff --git a/ca/django_ca/acme.py b/ca/django_ca/acme.py index <HASH>..<HASH> 100644 --- a/ca/django_ca/acme.py +++ b/ca/django_ca/acme.py @@ -57,8 +57,11 @@ class AcmeResponseAccountCreated(AcmeResponse): reverse('django_ca:acme-account', kwargs={'pk': account.pk})) -class AcmeResponseOrderCreated(Acm...
create AcmeResponseOrder, make AcmeResponseOrderCreated a subclass (with different response code) of it
py
diff --git a/termdown.py b/termdown.py index <HASH>..<HASH> 100755 --- a/termdown.py +++ b/termdown.py @@ -90,14 +90,20 @@ def countdown(stdscr, **kwargs): while i > 0: draw_text(stdscr, f.renderText(format_seconds(i))) i -= 1 - sleep(1) + try: + sleep(1) + except ...
die silently on Ctrl+C
py
diff --git a/sos/report/plugins/kernel.py b/sos/report/plugins/kernel.py index <HASH>..<HASH> 100644 --- a/sos/report/plugins/kernel.py +++ b/sos/report/plugins/kernel.py @@ -106,6 +106,7 @@ class Kernel(Plugin, IndependentPlugin): "/proc/misc", "/var/log/dmesg", "/sys/fs/pstore",...
[kernel]Add support to collect network debugging logs This patch is to collect hybrid network debugging messages Related: #<I>
py
diff --git a/knittingpattern/convert/test/test.py b/knittingpattern/convert/test/test.py index <HASH>..<HASH> 100644 --- a/knittingpattern/convert/test/test.py +++ b/knittingpattern/convert/test/test.py @@ -8,8 +8,12 @@ from unittest.mock import MagicMock, call import os import sys import pytest -import untangle # ...
created a nicer error message for testing
py
diff --git a/tests/unit/test_oidc.py b/tests/unit/test_oidc.py index <HASH>..<HASH> 100644 --- a/tests/unit/test_oidc.py +++ b/tests/unit/test_oidc.py @@ -181,7 +181,7 @@ class TestFrontendOidc(unittest.TestCase): with self.app as app: with app.session_transaction() as sess: sess[...
Replaced tokenMap test with cache test
py
diff --git a/tests/base/collector.py b/tests/base/collector.py index <HASH>..<HASH> 100644 --- a/tests/base/collector.py +++ b/tests/base/collector.py @@ -4,6 +4,8 @@ # """File based test data collector. """ +import pathlib + from . import ( common, datatypes, utils ) @@ -15,7 +17,7 @@ DICT_0 = dict() class ...
change: make tests.base.collector.TDataCollector.target resolved by its parent dir name dynamically
py
diff --git a/pyrogram/client/methods/messages/send_dice.py b/pyrogram/client/methods/messages/send_dice.py index <HASH>..<HASH> 100644 --- a/pyrogram/client/methods/messages/send_dice.py +++ b/pyrogram/client/methods/messages/send_dice.py @@ -38,7 +38,7 @@ class SendDice(BaseClient): "pyrogram.ForceReply" ...
Update send_dice: add basketball "dice"
py
diff --git a/law/target/local.py b/law/target/local.py index <HASH>..<HASH> 100644 --- a/law/target/local.py +++ b/law/target/local.py @@ -24,6 +24,7 @@ from law.target.file import ( get_scheme, add_scheme, remove_scheme, ) from law.target.formatter import find_formatter +from law.util import is_file_exists_erro...
Avoid race condition in local directory creation.
py
diff --git a/salt/state.py b/salt/state.py index <HASH>..<HASH> 100644 --- a/salt/state.py +++ b/salt/state.py @@ -652,7 +652,7 @@ class State(object): Execute the aggregation systems to runtime modify the low chunk ''' agg_opt = self.functions['config.option']('state_aggregate') - if ...
state compiler: relax aggregate conditional check Fixes #<I>.
py
diff --git a/jsonschema/validators.py b/jsonschema/validators.py index <HASH>..<HASH> 100644 --- a/jsonschema/validators.py +++ b/jsonschema/validators.py @@ -108,8 +108,8 @@ def create( meta_schema, validators=(), version=None, - type_checker=_types.draft7_type_checker, - format_checker=_format.dr...
Bump the default type checker and format checker. Even though these are exactly equivalent.
py
diff --git a/GPflow/likelihoods.py b/GPflow/likelihoods.py index <HASH>..<HASH> 100644 --- a/GPflow/likelihoods.py +++ b/GPflow/likelihoods.py @@ -104,6 +104,7 @@ class Likelihood(Parameterized): shape = tf.shape(Fmu) Fmu, Fvar, Y = [tf.reshape(e, (-1,1)) for e in Fmu, Fvar, Y] X = gh_x[None,...
fixed error in broadcasting assumption during likelihood quadrature
py
diff --git a/example/mirror_example.py b/example/mirror_example.py index <HASH>..<HASH> 100644 --- a/example/mirror_example.py +++ b/example/mirror_example.py @@ -7,12 +7,13 @@ import hashlib import base64 import subprocess import os, sys +import time from pushbullet import PushBullet, Listener class Mirrorer(...
have mirror example default to only new pushes. an account with many pushes could cause a rate limit error.
py
diff --git a/shoebot/data.py b/shoebot/data.py index <HASH>..<HASH> 100644 --- a/shoebot/data.py +++ b/shoebot/data.py @@ -163,11 +163,11 @@ class ColorMixin(object): def __init__(self, **kwargs): try: - self._fillcolor = Color(self._bot, kwargs['_fillcolor']) + self._fillcolor = C...
paths created with fill or stroke parameters are now rendered correctly
py
diff --git a/tile_generator/tile.py b/tile_generator/tile.py index <HASH>..<HASH> 100755 --- a/tile_generator/tile.py +++ b/tile_generator/tile.py @@ -50,11 +50,11 @@ def init_cmd(name): print('Generated initial tile files; begin by customizing "{}/tile.yml"'.format(dir)) @cli.command('build') -@click.argument('ve...
Remove unused cli args/options that are causing Click 7.x to fail
py
diff --git a/treeherder/model/derived/artifacts.py b/treeherder/model/derived/artifacts.py index <HASH>..<HASH> 100644 --- a/treeherder/model/derived/artifacts.py +++ b/treeherder/model/derived/artifacts.py @@ -111,12 +111,13 @@ class ArtifactsModel(TreeherderModelBase): for perf_data in performance_artifact_p...
Bug <I> - Fix performance artifact ingestion more robustly
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -31,7 +31,7 @@ requirements = ["numpy", "prompt-toolkit", "scikit-learn", "scipy"] setup( name="desdeo", - url="desdeo.it.jyu.fi", + url="https://github.com/industrial-optimization-group/DESDEO", license="MP...
Point home page to GitHub for now
py
diff --git a/indra/tests/test_pubmed_client.py b/indra/tests/test_pubmed_client.py index <HASH>..<HASH> 100644 --- a/indra/tests/test_pubmed_client.py +++ b/indra/tests/test_pubmed_client.py @@ -118,3 +118,9 @@ def test_send_request_invalid(): def test_abstract_with_html_embedded(): res = pubmed_client.get_abstra...
Add a test for the odd pmid.
py
diff --git a/common.py b/common.py index <HASH>..<HASH> 100644 --- a/common.py +++ b/common.py @@ -16,9 +16,9 @@ COPYING.txt for details. """ DISTNAME = 'scikits.audiolab' DESCRIPTION = 'A python module to make noise from numpy arrays' LONG_DESCRIPTION = descr -MAINTAINER = 'David Cou...
Fix metadata for distutils: the comma made some metadata tuples, and this crashes distutils.
py
diff --git a/detect_secrets/plugins/basic_auth.py b/detect_secrets/plugins/basic_auth.py index <HASH>..<HASH> 100644 --- a/detect_secrets/plugins/basic_auth.py +++ b/detect_secrets/plugins/basic_auth.py @@ -5,7 +5,8 @@ import re from .base import RegexBasedDetector -SPECIAL_URL_CHARACTERS = ':/?#[]@"\'' +RESERVED_...
fix: break reserve and delimiter list
py
diff --git a/txlib/http/base.py b/txlib/http/base.py index <HASH>..<HASH> 100644 --- a/txlib/http/base.py +++ b/txlib/http/base.py @@ -15,6 +15,7 @@ class BaseRequest(object): 401: AuthorizationError, 403: AuthenticationError, 404: NotFoundError, + 409: ConflictError, } suc...
Handle <I> errors in HTTP calls.
py
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index <HASH>..<HASH> 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -9321,7 +9321,7 @@ class NDFrame(PandasObject, SelectionMixin): times nonexistent : str, default 'raise' A nonexistent time does not ...
DOC: Fix typo in tz_localize (#<I>)
py
diff --git a/peeweedbevolve.py b/peeweedbevolve.py index <HASH>..<HASH> 100644 --- a/peeweedbevolve.py +++ b/peeweedbevolve.py @@ -11,6 +11,9 @@ except ImportError: import peewee as pw import playhouse.migrate +if sys.version_info >= (3,0): + raw_input = input + DEBUG = False
Solved python3 incompatibility
py
diff --git a/gitlab/objects.py b/gitlab/objects.py index <HASH>..<HASH> 100644 --- a/gitlab/objects.py +++ b/gitlab/objects.py @@ -944,7 +944,6 @@ class ProjectIssue(GitlabObject): _url = '/projects/%(project_id)s/issues/' _constructorTypes = {'author': 'User', 'assignee': 'User', 'm...
Add deletion support for issues and MR This is supported in gitlabhq master branch for admin users (soft deletion).
py
diff --git a/scripts/utils/bam_to_fastq_region.py b/scripts/utils/bam_to_fastq_region.py index <HASH>..<HASH> 100644 --- a/scripts/utils/bam_to_fastq_region.py +++ b/scripts/utils/bam_to_fastq_region.py @@ -22,7 +22,7 @@ def main(config_file, in_file, space, start, end): runner = broad.runner_from_config(config) ...
Avoid extra chr in output file
py
diff --git a/openquake/commonlib/source.py b/openquake/commonlib/source.py index <HASH>..<HASH> 100644 --- a/openquake/commonlib/source.py +++ b/openquake/commonlib/source.py @@ -840,9 +840,13 @@ class SourceManager(object): Yield (sources, sites, rlzs_assoc, monitor) by looping on the tiles and on th...
Printed how many tasks are generated by light sources Former-commit-id: <I>da<I>ab<I>f<I>facd<I>a<I>da<I>c<I>bd<I>c0
py
diff --git a/hiyapyco/__init__.py b/hiyapyco/__init__.py index <HASH>..<HASH> 100644 --- a/hiyapyco/__init__.py +++ b/hiyapyco/__init__.py @@ -21,12 +21,12 @@ from __future__ import unicode_literals import sys import os -import yaml -from yaml import parser import logging from distutils.util import strtobool imp...
make pylint happy : wrong-import-order
py
diff --git a/condorpy/workflow.py b/condorpy/workflow.py index <HASH>..<HASH> 100644 --- a/condorpy/workflow.py +++ b/condorpy/workflow.py @@ -208,6 +208,8 @@ class Workflow(HTCondorObjectBase): dag_file.write(self.__str__()) dag_file.close() for node in self._node_set: + node.job....
Sync node schedulers with workflow scheduler During _write_job_file for a workflow make sure that all of the node jobs have the scheduler and remote_id set the same as the parent workflow.
py
diff --git a/cherrypy/_cplogging.py b/cherrypy/_cplogging.py index <HASH>..<HASH> 100644 --- a/cherrypy/_cplogging.py +++ b/cherrypy/_cplogging.py @@ -112,6 +112,19 @@ from cherrypy import _cperror from cherrypy._cpcompat import ntob, py3k +class NullHandler(logging.Handler): + """A no-op logging handler to sil...
Fixed #<I> (log.screen = False has no effect in Python <I> when no log files are specified)
py
diff --git a/Adafruit_DHT/platform_detect.py b/Adafruit_DHT/platform_detect.py index <HASH>..<HASH> 100644 --- a/Adafruit_DHT/platform_detect.py +++ b/Adafruit_DHT/platform_detect.py @@ -37,6 +37,9 @@ def platform_detect(plat=platform.platform()): # Handle pidora distribution. elif plat.lower().find('raspberry_pi')...
Bring platform detection up to parity with main GPIO library.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -59,7 +59,7 @@ if not USE_CYTHON: # download GSL if we don't have it in deps if not os.path.exists('deps'): os.makedirs('deps') -gslurl = 'http://open-source-box.org/gsl/gsl-latest.tar.gz' +gslurl = 'http://ftp.snt.utwe...
Update setup.py Changed the GSL url which was outdated to a working version
py
diff --git a/cltk/corpus/greek/tlg/parse_tlg_indices.py b/cltk/corpus/greek/tlg/parse_tlg_indices.py index <HASH>..<HASH> 100644 --- a/cltk/corpus/greek/tlg/parse_tlg_indices.py +++ b/cltk/corpus/greek/tlg/parse_tlg_indices.py @@ -16,7 +16,6 @@ __author__ = ['Kyle P. Johnson <kyle@kyle-p-johnson.com>', '...
removed extra line after __license__
py
diff --git a/assemblerflow/generator/pipeline_parser.py b/assemblerflow/generator/pipeline_parser.py index <HASH>..<HASH> 100644 --- a/assemblerflow/generator/pipeline_parser.py +++ b/assemblerflow/generator/pipeline_parser.py @@ -1,3 +1,4 @@ +import os import logging logger = logging.getLogger("main.{}".format(__n...
Added parsing of pipeline from file #<I>.
py
diff --git a/tartpy/example.py b/tartpy/example.py index <HASH>..<HASH> 100644 --- a/tartpy/example.py +++ b/tartpy/example.py @@ -46,9 +46,8 @@ class Chain(rt.Actor): def chain_beh(self, message): if self.count > 0: - self.count -= 1 print("Chain: {}".format(self.count)) - ...
Don't make state persistent in Count actor
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -10,6 +10,7 @@ setup( packages=[ 'edx_lint', + 'edx_lint.cmd', 'edx_lint.pylint', ],
Forgot to install the cmd package
py
diff --git a/nhlib/geo/polygon.py b/nhlib/geo/polygon.py index <HASH>..<HASH> 100644 --- a/nhlib/geo/polygon.py +++ b/nhlib/geo/polygon.py @@ -94,8 +94,6 @@ class Polygon(object): else: resampled_lons.append(lon2) resampled_lats.append(lat2) - if not resampled_lons:...
geo/polygon: removed unneeded lines from _get_resampled_coordinates() test coverage is finally <I>%, yay!
py
diff --git a/odl/operator/default_ops.py b/odl/operator/default_ops.py index <HASH>..<HASH> 100644 --- a/odl/operator/default_ops.py +++ b/odl/operator/default_ops.py @@ -131,9 +131,10 @@ class ScalingOperator(Operator): @property def adjoint(self): - """ This operator is self adjoint + """ Th...
now takes the conjugate of the scalar for scaling operator
py
diff --git a/lib/git/refs.py b/lib/git/refs.py index <HASH>..<HASH> 100644 --- a/lib/git/refs.py +++ b/lib/git/refs.py @@ -210,7 +210,7 @@ class SymbolicReference(object): except AttributeError: sha = str(ref) try: - obj = Object.new(self.repo, sha) + obj = Object.new_from_sha(self.repo, hex_to_bi...
Refs now use object.new_from_sha where possible, preventing git-batch-check to be started up for sha resolution
py
diff --git a/tests/integration/cqlengine/model/test_udts.py b/tests/integration/cqlengine/model/test_udts.py index <HASH>..<HASH> 100644 --- a/tests/integration/cqlengine/model/test_udts.py +++ b/tests/integration/cqlengine/model/test_udts.py @@ -14,7 +14,7 @@ from datetime import date, datetime from decimal import...
cqle: defer get_server_version until UserDefinedTypeTests class setup I don't know why, but the select query hangs when run inside of nosetests for python 3.
py
diff --git a/nbinteract/exporters.py b/nbinteract/exporters.py index <HASH>..<HASH> 100644 --- a/nbinteract/exporters.py +++ b/nbinteract/exporters.py @@ -181,8 +181,10 @@ def publish(spec, nb_name, template='full', save_first=True): print('Converting notebook...') try: - check_output(['nbinteract', ...
Fix spec passing bug in publish()
py
diff --git a/gems/__init__.py b/gems/__init__.py index <HASH>..<HASH> 100644 --- a/gems/__init__.py +++ b/gems/__init__.py @@ -2,7 +2,7 @@ __author__ = 'Blake Printy' __email__ = 'bprinty@gmail.com' -__version__ = '0.0.10' +__version__ = '0.0.11' from .datatypes import composite
bumped up patch version for minor changes
py
diff --git a/tests/test_representation.py b/tests/test_representation.py index <HASH>..<HASH> 100644 --- a/tests/test_representation.py +++ b/tests/test_representation.py @@ -35,7 +35,7 @@ class TestRepresentation(TestCase): def setUp(self): self.kib = bitmath.KiB(1) self.kib_repr = 'KiB(1.0)' - ...
Fix unit tests, re: #<I>. Formatting
py
diff --git a/tableone.py b/tableone.py index <HASH>..<HASH> 100644 --- a/tableone.py +++ b/tableone.py @@ -170,7 +170,7 @@ class TableOne(object): self.to_latex = self.tableone.to_latex def __str__(self): - return self.tableone.to_string() + return self.tableone.to_string() + self._generat...
include warn on str. ref #<I>
py
diff --git a/gitlab/__init__.py b/gitlab/__init__.py index <HASH>..<HASH> 100644 --- a/gitlab/__init__.py +++ b/gitlab/__init__.py @@ -90,8 +90,8 @@ class Gitlab(object): self._api_version = str(api_version) self._server_version = self._server_revision = None - self._base_url = url - s...
fix: remove trailing slashes from base URL (#<I>)
py
diff --git a/rllib/train.py b/rllib/train.py index <HASH>..<HASH> 100755 --- a/rllib/train.py +++ b/rllib/train.py @@ -158,14 +158,16 @@ def run(args, parser): "keep_checkpoints_num": args.keep_checkpoints_num, "checkpoint_score_attr": args.checkpoint_score_attr, "loca...
[RLlib; Tune] Fix rllib/train.py script after tune.Experiment c'tor change. (#<I>)
py
diff --git a/abilian/config.py b/abilian/config.py index <HASH>..<HASH> 100644 --- a/abilian/config.py +++ b/abilian/config.py @@ -17,11 +17,8 @@ class DefaultConfig: # Security (see # https://blog.miguelgrinberg.com/post/cookie-security-for-flask-applications) + # NB: SESSION_COOKIE_* are now set up by ...
No need for these settings, it's taken care of by Talisman
py
diff --git a/elifetools/parseJATS.py b/elifetools/parseJATS.py index <HASH>..<HASH> 100644 --- a/elifetools/parseJATS.py +++ b/elifetools/parseJATS.py @@ -2435,7 +2435,7 @@ def body_block_content(tag, html_flag=True, base_url=None): if raw_parser.caption(tag): caption_tags = body_blocks(raw_parser...
Initial logic for supplementary-material to use the label and not prefer it to be a title. The test cases are not updated yet, awaiting some answers about the logic of additionalFiles before continuing.
py
diff --git a/src/django_registration/validators.py b/src/django_registration/validators.py index <HASH>..<HASH> 100644 --- a/src/django_registration/validators.py +++ b/src/django_registration/validators.py @@ -6,7 +6,6 @@ django-registration's various user-registration form classes. import unicodedata from confusa...
Remove unused User reference that causes circular reference #<I>
py
diff --git a/inputstream.py b/inputstream.py index <HASH>..<HASH> 100644 --- a/inputstream.py +++ b/inputstream.py @@ -22,6 +22,7 @@ class HTMLInputStream(object): self.__line = 1 # Current line number self.__col = 0 # Current column number + self.__lineBreaks = [0] # Keep a refer...
Added line and col position tracking for unconsuming characters --HG-- extra : convert_revision : svn%3Aacbfec<I>-<I>-<I>-a<I>-<I>a<I>e<I>e0/trunk%<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,11 @@ setup( install_requires=[ 'twisted>=12.0', 'txcoroutine', - 'txzmq', + 'txzmq==0.5.1', + ], + + dependency_links=[ + 'https://github.com/eallik/txZMQ/tarball/ma...
Use the custom fork of github.com/eallik/txzmq as the dependency instead of the original one at github.com/smira/txzmq
py
diff --git a/billing/integrations/global_iris_real_mpi_integration.py b/billing/integrations/global_iris_real_mpi_integration.py index <HASH>..<HASH> 100644 --- a/billing/integrations/global_iris_real_mpi_integration.py +++ b/billing/integrations/global_iris_real_mpi_integration.py @@ -103,6 +103,7 @@ def encode_credit...
GlobalIris: Added missing item for serialising CreditCard
py
diff --git a/scripts/validate_docs_snippet_line_numbers.py b/scripts/validate_docs_snippet_line_numbers.py index <HASH>..<HASH> 100644 --- a/scripts/validate_docs_snippet_line_numbers.py +++ b/scripts/validate_docs_snippet_line_numbers.py @@ -201,6 +201,9 @@ if __name__ == "__main__": # Chetan - 20220316 - While t...
[MAINTENANCE] Update broken snippet threshold in embedded Docusaurus reference validation script
py
diff --git a/cfgrib/messages.py b/cfgrib/messages.py index <HASH>..<HASH> 100644 --- a/cfgrib/messages.py +++ b/cfgrib/messages.py @@ -40,7 +40,10 @@ class Message(collections.MutableMapping): encoding = attr.attrib(default='ascii', type=str) @classmethod - def from_file(cls, file, **kwargs): + def fr...
Move offset logic in Message class.
py
diff --git a/nose/test_potential.py b/nose/test_potential.py index <HASH>..<HASH> 100644 --- a/nose/test_potential.py +++ b/nose/test_potential.py @@ -2218,10 +2218,13 @@ class nonaxiDiskSCFPotential(DiskSCFPotential): dens= lambda R,z,phi: 13.5*numpy.exp(-3.*R)\ *num...
Tweak nonaxiDiskSCF test to hit part of DiskSCF where hz is replicated for multiple Sigma
py
diff --git a/pyrogram/client/ext/utils.py b/pyrogram/client/ext/utils.py index <HASH>..<HASH> 100644 --- a/pyrogram/client/ext/utils.py +++ b/pyrogram/client/ext/utils.py @@ -21,9 +21,8 @@ import struct from typing import List from typing import Union -from pyrogram.api.types import PeerUser, PeerChat, PeerChannel ...
Update Document file ids to make them compatible again with the Bot API Telegram changed something server side on <I> July, <I> starting exactly at <I>:<I> AM UTC<I> (DST), logs say. Looks like Document file ids, just like Photo-like ids, are going to change as well after all, if we want to keep them compatible with th...
py
diff --git a/classic.py b/classic.py index <HASH>..<HASH> 100644 --- a/classic.py +++ b/classic.py @@ -225,8 +225,9 @@ class ClassicRequestServer(Module): def _handle_list_queue(self, conn, addr, l, f, cmd): queue = self.desk.list_requests() endTime = self.desk.get_playing()[2] - timeLeft = int(time.mktime(end...
classic: requestServer: properly handle non playing
py
diff --git a/nailgun/entities.py b/nailgun/entities.py index <HASH>..<HASH> 100644 --- a/nailgun/entities.py +++ b/nailgun/entities.py @@ -4032,6 +4032,7 @@ class SyncPlan( EntityCreateMixin, EntityDeleteMixin, EntityReadMixin, + EntitySearchMixin, EntityUpdateMixin): """...
Add SearchMixin for SyncPlan entity (#<I>)
py
diff --git a/ccmlib/common.py b/ccmlib/common.py index <HASH>..<HASH> 100644 --- a/ccmlib/common.py +++ b/ccmlib/common.py @@ -353,12 +353,9 @@ def get_cassandra_dir_from_cluster_conf(node_path): return match.group(1) return None -#This does not recursively merge nested structures. def yaml_mer...
Improve yaml_merge Was unnecessarily complex. Was not merging items that were in primary but not in secondary
py
diff --git a/tests/test_api.py b/tests/test_api.py index <HASH>..<HASH> 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -21,16 +21,17 @@ class TestApi(unittest.TestCase): def test_02_help(self): r = requests.get(url + 'help') - self.assertEqual(len(r.text), 393) + print(r.text) +...
test for API checks user login, without auth required
py
diff --git a/timepiece/admin.py b/timepiece/admin.py index <HASH>..<HASH> 100644 --- a/timepiece/admin.py +++ b/timepiece/admin.py @@ -113,6 +113,9 @@ class ProjectAdmin(admin.ModelAdmin): list_display = ('name', 'business', 'point_person', 'status', 'type',) list_filter = ('type', 'status') inlines = (P...
refs #<I> - Added search to Project admin
py
diff --git a/gwpy/timeseries/core.py b/gwpy/timeseries/core.py index <HASH>..<HASH> 100644 --- a/gwpy/timeseries/core.py +++ b/gwpy/timeseries/core.py @@ -1684,3 +1684,36 @@ class TimeSeriesDict(OrderedDict): if verbose: gprint('Success.') return out + + def plot(self, label='key', **k...
TimeSeriesDict.plot: added instance method - for convenience only, tries to determine figure kwargs versus plot kwargs, probably needs more attention
py
diff --git a/lib/webinterface_handler.py b/lib/webinterface_handler.py index <HASH>..<HASH> 100644 --- a/lib/webinterface_handler.py +++ b/lib/webinterface_handler.py @@ -336,6 +336,8 @@ def create_handler(root): else: cache_control = "private" req.headers_out['Cache-Control']...
Added Vary header, to try to explain caches that they should cache stuff considering also cookies...
py
diff --git a/urbansim/urbanchoice/interaction.py b/urbansim/urbanchoice/interaction.py index <HASH>..<HASH> 100644 --- a/urbansim/urbanchoice/interaction.py +++ b/urbansim/urbanchoice/interaction.py @@ -96,4 +96,4 @@ def mnl_interaction_dataset(choosers, alternatives, SAMPLE_SIZE, chosen[:, 0] = 1 logger.de...
pycharm always breaks pep8 at the end of a file
py
diff --git a/src/edeposit/amqp/ftp/__init__.py b/src/edeposit/amqp/ftp/__init__.py index <HASH>..<HASH> 100644 --- a/src/edeposit/amqp/ftp/__init__.py +++ b/src/edeposit/amqp/ftp/__init__.py @@ -40,7 +40,7 @@ class ImportRequest(namedtuple("ImportRequest", ["username", pass -class SendEmail(namdtuple("SendEmai...
Bugfix in SendEmail structure.
py
diff --git a/messages/utils.py b/messages/utils.py index <HASH>..<HASH> 100644 --- a/messages/utils.py +++ b/messages/utils.py @@ -2,6 +2,7 @@ from django.utils.text import wrap from django.utils.translation import ugettext_lazy as _ from django.contrib.sites.models import Site from django.template import Context, l...
fixed a missing import and fixed the new_message subject.
py
diff --git a/astropy_helpers/sphinx/ext/automodapi.py b/astropy_helpers/sphinx/ext/automodapi.py index <HASH>..<HASH> 100644 --- a/astropy_helpers/sphinx/ext/automodapi.py +++ b/astropy_helpers/sphinx/ext/automodapi.py @@ -325,8 +325,7 @@ def _mod_info(modname, toskip=[], onlylocals=True): for localnm, fqnm, obj i...
Just isroutine here is fine (it actually calls isfunction internally)
py
diff --git a/isort/isort.py b/isort/isort.py index <HASH>..<HASH> 100644 --- a/isort/isort.py +++ b/isort/isort.py @@ -296,13 +296,14 @@ class SortImports(object): from_imports.remove(from_import) if from_imports: + comments = self.comments['from'].get(...
Support from imports when forced to a single line
py
diff --git a/varify/samples/management/subcommands/gene_ranks.py b/varify/samples/management/subcommands/gene_ranks.py index <HASH>..<HASH> 100644 --- a/varify/samples/management/subcommands/gene_ranks.py +++ b/varify/samples/management/subcommands/gene_ranks.py @@ -144,12 +144,14 @@ class Command(BaseCommand): ...
Log a warning when gene list is empty and update gene rank url format
py
diff --git a/tensorforce/models/model.py b/tensorforce/models/model.py index <HASH>..<HASH> 100755 --- a/tensorforce/models/model.py +++ b/tensorforce/models/model.py @@ -210,6 +210,16 @@ class Model(object): deterministic=self.deterministic_input ) + if 'inputs' in se...
add summary_spec for 'inputs' show states,actions,rewards
py
diff --git a/pyes/tests/queries.py b/pyes/tests/queries.py index <HASH>..<HASH> 100644 --- a/pyes/tests/queries.py +++ b/pyes/tests/queries.py @@ -4,7 +4,8 @@ Unit tests for pyes. These require an es server with thrift plugin and the lang-javascript plugin running on the default port (localhost:9500). """ from pyes...
fix some imports in tests/queries.py
py
diff --git a/pymc3/plots/__init__.py b/pymc3/plots/__init__.py index <HASH>..<HASH> 100644 --- a/pymc3/plots/__init__.py +++ b/pymc3/plots/__init__.py @@ -47,11 +47,21 @@ autocorrplot = map_args(az.plot_autocorr) forestplot = map_args(az.plot_forest) kdeplot = map_args(az.plot_kde) plot_posterior = map_args(az.plot_...
Use compact traceplot by default (#<I>) * Use compact traceplot by default * Protect against old values of arviz
py
diff --git a/xmlrpc2/__init__.py b/xmlrpc2/__init__.py index <HASH>..<HASH> 100644 --- a/xmlrpc2/__init__.py +++ b/xmlrpc2/__init__.py @@ -3,3 +3,5 @@ from __future__ import division from __future__ import unicode_literals from .client import Client + +__all__ = ["Client"]
add an __all__ to make the export deliberate
py
diff --git a/linguist/admin.py b/linguist/admin.py index <HASH>..<HASH> 100644 --- a/linguist/admin.py +++ b/linguist/admin.py @@ -34,7 +34,9 @@ class TranslatableModelAdminMixin(object): def get_object(self, *args, **kwargs): obj = super(TranslatableModelAdminMixin, self).get_object(*args, **kwargs) - ...
fix: TranslatableModelAdminMixin when obj is NoneType
py
diff --git a/bika/lims/content/instrument.py b/bika/lims/content/instrument.py index <HASH>..<HASH> 100644 --- a/bika/lims/content/instrument.py +++ b/bika/lims/content/instrument.py @@ -250,10 +250,7 @@ class Instrument(ATFolder): """ Returns if the current instrument is not out-of-date regards t...
Avoid workarownds, be concise and keep it simple
py
diff --git a/nipap-cli/nipap_cli/nipap_cli.py b/nipap-cli/nipap_cli/nipap_cli.py index <HASH>..<HASH> 100755 --- a/nipap-cli/nipap_cli/nipap_cli.py +++ b/nipap-cli/nipap_cli/nipap_cli.py @@ -467,6 +467,7 @@ def view_prefix(arg, opts): print " %-15s : %s" % ("VRF", vrf) print " %-15s : %s" % ("Description", ...
Show country in address view function The nipap CLI command now also displays the 'country' attribute of a prefix.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -37,7 +37,7 @@ with open('HISTORY.rst') as history_file: setup( name='flake8-comprehensions', - version='1.1.0', + version=version, description='A flake8 plugin to help you write better list/set/dict ' ...
setup.py pulls version from code
py
diff --git a/PySimpleGUI.py b/PySimpleGUI.py index <HASH>..<HASH> 100644 --- a/PySimpleGUI.py +++ b/PySimpleGUI.py @@ -2577,7 +2577,7 @@ class Table(Element): children = self.TKTreeview.get_children() # self.TKTreeview.delete(*self.TKTreeview.get_children()) for i, value in enumer...
Fixed typo Changed DisplayRowNumbrs to DisplayRowNumbers.
py
diff --git a/django_gravatar/tests.py b/django_gravatar/tests.py index <HASH>..<HASH> 100644 --- a/django_gravatar/tests.py +++ b/django_gravatar/tests.py @@ -27,9 +27,9 @@ class TestGravatarHelperMethods(TestCase): qs = parse_qs(urlp.query) # Verify the correct query arguments are included with the...
has_key method removed in python3
py
diff --git a/cumulusci/tasks/bulkdata.py b/cumulusci/tasks/bulkdata.py index <HASH>..<HASH> 100644 --- a/cumulusci/tasks/bulkdata.py +++ b/cumulusci/tasks/bulkdata.py @@ -149,9 +149,9 @@ class LoadData(BaseSalesforceApiTask): rows = self._get_batches(mapping) if api is 'bulk': - ...
Feature/dray data tasks bug (#<I>) * ugh bug
py
diff --git a/app/scripts/create_env.py b/app/scripts/create_env.py index <HASH>..<HASH> 100755 --- a/app/scripts/create_env.py +++ b/app/scripts/create_env.py @@ -140,7 +140,8 @@ def copy_site_packages(): continue make_dirs(d) shutil.copy(s, d) - copy(python_std...
copy python stdlib to root of env instead of lib dir
py
diff --git a/scriptworker/client.py b/scriptworker/client.py index <HASH>..<HASH> 100644 --- a/scriptworker/client.py +++ b/scriptworker/client.py @@ -20,7 +20,7 @@ def get_task(config): path = os.path.join(config['work_dir'], "task.json") with open(path, "r") as fh: contents = json.load(...
for now, we need the whole task. ClientContext later.
py
diff --git a/ca/django_ca/management/commands/init_ca.py b/ca/django_ca/management/commands/init_ca.py index <HASH>..<HASH> 100644 --- a/ca/django_ca/management/commands/init_ca.py +++ b/ca/django_ca/management/commands/init_ca.py @@ -21,8 +21,6 @@ https://skippylovesmalorie.wordpress.com/2010/02/12/how-to-generate-a-s...
and another pyOpenSSL import removed
py
diff --git a/ospd/ospd.py b/ospd/ospd.py index <HASH>..<HASH> 100644 --- a/ospd/ospd.py +++ b/ospd/ospd.py @@ -1093,8 +1093,6 @@ class OSPDaemon: List of selected VT's OID. """ vts_xml = [] - if not self.vts: - return vts_xml # No match for the filter ...
Dont return if there is no vts This allows to apply the filter by the wrapper on the fly.
py
diff --git a/chardet/version.py b/chardet/version.py index <HASH>..<HASH> 100644 --- a/chardet/version.py +++ b/chardet/version.py @@ -2,7 +2,7 @@ This module exists only to simplify retrieving the version number of chardet from within setup.py and from chardet subpackages. -:author: Dan Blanchard (dblanchard@ets.o...
Update email address in version.py
py
diff --git a/holoviews/core/io.py b/holoviews/core/io.py index <HASH>..<HASH> 100644 --- a/holoviews/core/io.py +++ b/holoviews/core/io.py @@ -24,7 +24,7 @@ import param from param.parameterized import bothmethod from .dimension import LabelledData -from .element import Collator +from .element import Collator, Elem...
Added support for non-NdMapping types in Unpickler.collect methods
py