diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/panels/_version.py b/panels/_version.py index <HASH>..<HASH> 100644 --- a/panels/_version.py +++ b/panels/_version.py @@ -1,2 +1,2 @@ # Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440 -__version__ = "0.0.15" +__version__ = "0.0.16"
Update version number to <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ setup( url='https://github.com/hellp/saferedisqueue', py_modules=['saferedisqueue'], install_requires=[ - 'redis >= 2.4.10, < 2.5', + 'redis >= 2.4.10, < 2.7', ], zip_safe=...
Mark this version as compatible with redis.py up to <I>.x
py
diff --git a/pyang/__init__.py b/pyang/__init__.py index <HASH>..<HASH> 100644 --- a/pyang/__init__.py +++ b/pyang/__init__.py @@ -15,7 +15,7 @@ from . import util from . import statements from . import syntax -__version__ = '1.7.5' +__version__ = '1.7.6-devel' __date__ = '2018-04-25' class Context(object):
added -devel to version number
py
diff --git a/extra_views/formsets.py b/extra_views/formsets.py index <HASH>..<HASH> 100644 --- a/extra_views/formsets.py +++ b/extra_views/formsets.py @@ -22,6 +22,7 @@ class BaseFormSetMixin(object): max_num = None can_order = False can_delete = False + prefix = None def construct_formset(self...
Ability to easily set form set prefix.
py
diff --git a/airflow/providers/jdbc/operators/jdbc.py b/airflow/providers/jdbc/operators/jdbc.py index <HASH>..<HASH> 100644 --- a/airflow/providers/jdbc/operators/jdbc.py +++ b/airflow/providers/jdbc/operators/jdbc.py @@ -60,5 +60,5 @@ class JdbcOperator(BaseOperator): def execute(self, context): self....
Change from Instance attribute to variable in JdbcOperator.execute (#<I>)
py
diff --git a/src/BalancedDiscStorage/balanced_disc_storage.py b/src/BalancedDiscStorage/balanced_disc_storage.py index <HASH>..<HASH> 100755 --- a/src/BalancedDiscStorage/balanced_disc_storage.py +++ b/src/BalancedDiscStorage/balanced_disc_storage.py @@ -18,7 +18,7 @@ class BalancedDiscStorage(object): self....
#3: Added docstring.
py
diff --git a/jieba/__init__.py b/jieba/__init__.py index <HASH>..<HASH> 100644 --- a/jieba/__init__.py +++ b/jieba/__init__.py @@ -10,6 +10,7 @@ import marshal from math import log import random import threading +from functools import wraps DICTIONARY = "dict.txt" DICT_LOCK = threading.RLock() @@ -98,7 +99,8 @@ ...
Don't lose nformation about a function when using a decorator
py
diff --git a/modelx/tests/core/space/test_space.py b/modelx/tests/core/space/test_space.py index <HASH>..<HASH> 100644 --- a/modelx/tests/core/space/test_space.py +++ b/modelx/tests/core/space/test_space.py @@ -138,6 +138,7 @@ def test_ref(testmodel): assert foo(2) == 6 +@pytest.mark.skip() def test_setref_de...
TST: Skip test yet to be dealt with
py
diff --git a/insane/cli.py b/insane/cli.py index <HASH>..<HASH> 100644 --- a/insane/cli.py +++ b/insane/cli.py @@ -104,13 +104,7 @@ OPTIONS = simopt.Options([ def main(argv): - - exit_code =0 - ## TEMPORARY --- - # Exception is defined in option parser (simopt) - class OptionParseException(BaseExcept...
Fix help Moving to the simopt option parsing broke the help display. This commit requires <URL>
py
diff --git a/airflow/providers/amazon/aws/transfers/dynamodb_to_s3.py b/airflow/providers/amazon/aws/transfers/dynamodb_to_s3.py index <HASH>..<HASH> 100644 --- a/airflow/providers/amazon/aws/transfers/dynamodb_to_s3.py +++ b/airflow/providers/amazon/aws/transfers/dynamodb_to_s3.py @@ -25,7 +25,7 @@ import json from c...
Add template fields to DynamoDBToS3Operator (#<I>)
py
diff --git a/angr/project.py b/angr/project.py index <HASH>..<HASH> 100644 --- a/angr/project.py +++ b/angr/project.py @@ -415,7 +415,7 @@ class Project(object): # pylint: disable=R0904, self._cfg = c return c - def construct_vfg(self, start=None, context_sensitivity_level=2): + def constru...
Added interfunction_level in cunstruct_vfg() in project.py.
py
diff --git a/lib/python/vdm/server/voltdbserver.py b/lib/python/vdm/server/voltdbserver.py index <HASH>..<HASH> 100644 --- a/lib/python/vdm/server/voltdbserver.py +++ b/lib/python/vdm/server/voltdbserver.py @@ -278,6 +278,7 @@ class VoltDatabase: try: my_env = os.environ.copy() my_env...
VDM-<I>: Start Test for environment variable
py
diff --git a/py3status/py3.py b/py3status/py3.py index <HASH>..<HASH> 100644 --- a/py3status/py3.py +++ b/py3status/py3.py @@ -514,9 +514,14 @@ class Py3: # force unicode for python2 str if self._is_python_2 and isinstance(msg, str): msg = msg.decode('utf-8') - module_name = self._...
py3: dismiss empty notifications
py
diff --git a/tests/test_server.py b/tests/test_server.py index <HASH>..<HASH> 100644 --- a/tests/test_server.py +++ b/tests/test_server.py @@ -9,7 +9,8 @@ from aioconsole.server import start_console_server @pytest.mark.asyncio @asyncio.coroutine def test_server(event_loop): - server = yield from start_console_ser...
Force ipv4 in the tests
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,6 @@ import os, sys +import setuptools +import pkg_resources from setuptools import setup, Command classifiers = ['Development Status :: 6 - Mature', @@ -39,8 +41,6 @@ def has_environment_marker_support(): * ...
Do imports at the head of the file --HG-- branch : pytest-<I>
py
diff --git a/eli5/sklearn/_span_analyzers.py b/eli5/sklearn/_span_analyzers.py index <HASH>..<HASH> 100644 --- a/eli5/sklearn/_span_analyzers.py +++ b/eli5/sklearn/_span_analyzers.py @@ -11,7 +11,7 @@ def build_span_analyzer(document, vec): preprocessing so that we can still recover the same features as sklearn ...
DOC typo fix in a docstring
py
diff --git a/get-solr-download-url.py b/get-solr-download-url.py index <HASH>..<HASH> 100755 --- a/get-solr-download-url.py +++ b/get-solr-download-url.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # encoding: utf-8 -from __future__ import absolute_import, print_function, unicode_literals +from __future__ import absolut...
Tests: update Solr download script for recent API change
py
diff --git a/source/rafcon/core/library_manager.py b/source/rafcon/core/library_manager.py index <HASH>..<HASH> 100644 --- a/source/rafcon/core/library_manager.py +++ b/source/rafcon/core/library_manager.py @@ -111,7 +111,7 @@ class LibraryManager(Observable): continue _, library_root_key ...
fix(library_manager): realpath handling * library_root_path is always a realpath, as it is piped through _clean_path * path passed to get_library_path_and_name_for_os_path must converted to a realpath, as it comes from "outside"
py
diff --git a/prosper/common/prosper_logging.py b/prosper/common/prosper_logging.py index <HASH>..<HASH> 100644 --- a/prosper/common/prosper_logging.py +++ b/prosper/common/prosper_logging.py @@ -126,6 +126,15 @@ class ProsperLogger(object): pass #do not crash if can't close handle def _configure...
Added doc strings to _configure_common
py
diff --git a/tests/test_conformance.py b/tests/test_conformance.py index <HASH>..<HASH> 100644 --- a/tests/test_conformance.py +++ b/tests/test_conformance.py @@ -582,6 +582,35 @@ a)b '''abc ''') + def test_multiline_attributes(self): + self.assertHTML( +''' +%( + id='abc', + class_='xyz', +) + c...
Test that multiline attribute and statements work
py
diff --git a/nodeconductor/iaas/serializers.py b/nodeconductor/iaas/serializers.py index <HASH>..<HASH> 100644 --- a/nodeconductor/iaas/serializers.py +++ b/nodeconductor/iaas/serializers.py @@ -153,7 +153,6 @@ class NestedCloudProjectMembershipSerializer(structure_serializers.PermissionFie 'quotas', ...
Show security groups state (itacloud-<I>)
py
diff --git a/lib/svtplay_dl/service/viaplay.py b/lib/svtplay_dl/service/viaplay.py index <HASH>..<HASH> 100644 --- a/lib/svtplay_dl/service/viaplay.py +++ b/lib/svtplay_dl/service/viaplay.py @@ -135,6 +135,7 @@ class Viaplay(Service, OpenGraphThumbMixin): if self.options.output_auto: directory = o...
viafree: Change autonaming from tv3play to viafree Change part autogenerated file names from tv3play to viafree
py
diff --git a/xclim/sdba/adjustment.py b/xclim/sdba/adjustment.py index <HASH>..<HASH> 100644 --- a/xclim/sdba/adjustment.py +++ b/xclim/sdba/adjustment.py @@ -247,7 +247,7 @@ class DetrendedQuantileMapping(EmpiricalQuantileMapping): kind : {'+', '*'} The adjustment kind, either additive or multiplicative. ...
Fix typos in xclim/sdba/adjustment.py
py
diff --git a/multiqc/modules/fastqc/fastqc.py b/multiqc/modules/fastqc/fastqc.py index <HASH>..<HASH> 100755 --- a/multiqc/modules/fastqc/fastqc.py +++ b/multiqc/modules/fastqc/fastqc.py @@ -379,7 +379,8 @@ class MultiqcModule(BaseMultiqcModule): return None html = '<p>The proportion of...
Added tip in report about new functionality for #<I>.
py
diff --git a/gromacs/manager.py b/gromacs/manager.py index <HASH>..<HASH> 100644 --- a/gromacs/manager.py +++ b/gromacs/manager.py @@ -531,8 +531,15 @@ class Manager(object): elif m.group('exceeded'): status['exceeded'] = True elif m.group('performance'): - ...
manager: correctly parse performance from Gromacs <I>.x log files;
py
diff --git a/MAVProxy/modules/mavproxy_misc.py b/MAVProxy/modules/mavproxy_misc.py index <HASH>..<HASH> 100644 --- a/MAVProxy/modules/mavproxy_misc.py +++ b/MAVProxy/modules/mavproxy_misc.py @@ -464,9 +464,9 @@ class MiscModule(mp_module.MPModule): print("Setting origin to: ", lat, lon, alt) self.mast...
mavproxy_misc: cast fields to int in set_gps_global_origin_send
py
diff --git a/karaage/people/views/profile.py b/karaage/people/views/profile.py index <HASH>..<HASH> 100644 --- a/karaage/people/views/profile.py +++ b/karaage/people/views/profile.py @@ -231,6 +231,8 @@ def profile_aaf_rapid_connect(request): try: email = attributes['mail'] ...
When logging in using AAF email, set the saml_id
py
diff --git a/scriptabit/plugins/trello/trello.py b/scriptabit/plugins/trello/trello.py index <HASH>..<HASH> 100644 --- a/scriptabit/plugins/trello/trello.py +++ b/scriptabit/plugins/trello/trello.py @@ -146,7 +146,7 @@ If empty, then cards are only marked done when archived.''') self.__data_file = os.path.jo...
renamed additional data file for Trello sync
py
diff --git a/lib/ansiblelint/__main__.py b/lib/ansiblelint/__main__.py index <HASH>..<HASH> 100755 --- a/lib/ansiblelint/__main__.py +++ b/lib/ansiblelint/__main__.py @@ -41,7 +41,7 @@ def load_config(config_file): if os.path.exists(config_path): with open(config_path, "r") as stream: try: - ...
Use yaml.safe_load rather than yaml.load
py
diff --git a/linshareapi/user/threadentries.py b/linshareapi/user/threadentries.py index <HASH>..<HASH> 100644 --- a/linshareapi/user/threadentries.py +++ b/linshareapi/user/threadentries.py @@ -230,10 +230,10 @@ class WorkgroupContent(ThreadEntries): def get_rbu(self): rbu = ResourceBuilder("documents"...
Update default field order in RBU for workgroup content.
py
diff --git a/doctr/__main__.py b/doctr/__main__.py index <HASH>..<HASH> 100644 --- a/doctr/__main__.py +++ b/doctr/__main__.py @@ -452,10 +452,10 @@ def configure(args, parser): print(header) print(dedent("""\ {N}. {BOLD_MAGENTA}Go to {deploy_keys_url} - and add the fol...
Fix the indentation of some text in doctr configure
py
diff --git a/git/cmd.py b/git/cmd.py index <HASH>..<HASH> 100644 --- a/git/cmd.py +++ b/git/cmd.py @@ -410,12 +410,16 @@ class Git(LazyMixin): @classmethod def __unpack_args(cls, arg_list): if not isinstance(arg_list, (list,tuple)): + if isinstance(arg_list, unicode): + retu...
Fixing unicode types (cherry picked from commit ca2b<I>e<I>fc5c<I>fd4e4c1c<I>c5a<I>e<I>)
py
diff --git a/tensorflow_hub/feature_column.py b/tensorflow_hub/feature_column.py index <HASH>..<HASH> 100644 --- a/tensorflow_hub/feature_column.py +++ b/tensorflow_hub/feature_column.py @@ -21,6 +21,7 @@ from __future__ import print_function import collections import tensorflow as tf +import six from tensorflow_h...
Properly construct a name from the inner column. This will enable column composition. PiperOrigin-RevId: <I>
py
diff --git a/stagpy/stagdata.py b/stagpy/stagdata.py index <HASH>..<HASH> 100644 --- a/stagpy/stagdata.py +++ b/stagpy/stagdata.py @@ -94,7 +94,7 @@ class BinData: self.rgeom = np.array(self._readbin('f', self.nts[2] * 2 + 1)) else: self.rgeom = np.array(range(0, self.nts[2] * 2 + 1))...
Replace faulty nrtot occurrence with nts[2]
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -71,4 +71,6 @@ setup( "Programming Language :: Python", "Topic :: Software Development", "Topic :: Utilities", - ]) + ], + zip_safe=False +)
Fix installation: zip_safe=False. Add `zip_safe=False` to setup.py since fixes are not found in a zipped egg install.
py
diff --git a/discord_webhook/webhook.py b/discord_webhook/webhook.py index <HASH>..<HASH> 100644 --- a/discord_webhook/webhook.py +++ b/discord_webhook/webhook.py @@ -39,6 +39,13 @@ class DiscordWebhook: """ self.embeds.pop(index) + def get_embeds(self): + """ + get all `self.embeds...
get list of embeds and embed fields
py
diff --git a/publ/markdown.py b/publ/markdown.py index <HASH>..<HASH> 100644 --- a/publ/markdown.py +++ b/publ/markdown.py @@ -15,7 +15,7 @@ class MyHtmlRenderer(misaka.HtmlRenderer): super().__init__() def image(self,raw_url,title,alt): - if not alt.startswith('img|') and not alt.startswith('gal...
More formalizing of the image rendition syntax
py
diff --git a/Lib/extractor/hashPointPen.py b/Lib/extractor/hashPointPen.py index <HASH>..<HASH> 100644 --- a/Lib/extractor/hashPointPen.py +++ b/Lib/extractor/hashPointPen.py @@ -1,6 +1,7 @@ # Modified from https://github.com/adobe-type-tools/psautohint/blob/08b346865710ed3c172f1eb581d6ef243b203f99/python/psautohint/u...
Decompose components when generating hash
py
diff --git a/police_api/version.py b/police_api/version.py index <HASH>..<HASH> 100644 --- a/police_api/version.py +++ b/police_api/version.py @@ -1 +1 @@ -__version__ = '1.2.0dev' +__version__ = '1.2.0'
Finalise version number for <I> release
py
diff --git a/pydantic/types.py b/pydantic/types.py index <HASH>..<HASH> 100644 --- a/pydantic/types.py +++ b/pydantic/types.py @@ -673,7 +673,7 @@ class PaymentCardNumber(str): if card_number.brand in {PaymentCardBrand.visa, PaymentCardBrand.mastercard}: required_length = 16 valid = l...
Move from identity to equality (#<I>) #<I> moved code from identity (`is` style check) to equality, ensure the same comparison is used throughout.
py
diff --git a/PySimpleGUI.py b/PySimpleGUI.py index <HASH>..<HASH> 100644 --- a/PySimpleGUI.py +++ b/PySimpleGUI.py @@ -1,5 +1,5 @@ #!/usr/bin/python3 -version = __version__ = "4.4.0.6 Unreleased Scrollable Columns" +version = __version__ = "4.4.0.7 Unreleased Scrollable Columns, ML, window()" # 888888ba ...
The Kolya Release - window() == window.Read(). ML = MLine = Multiline
py
diff --git a/trimesh/io/urdf.py b/trimesh/io/urdf.py index <HASH>..<HASH> 100644 --- a/trimesh/io/urdf.py +++ b/trimesh/io/urdf.py @@ -1,6 +1,7 @@ import os import lxml.etree as et +import numpy as np from ..decomposition import convex_decomposition from .. import io @@ -20,7 +21,7 @@ def export_urdf(mesh, dire...
urdf exporter returns the decomposed mesh (for e.g. visualization)
py
diff --git a/openpnm/materials/VoronoiFibers.py b/openpnm/materials/VoronoiFibers.py index <HASH>..<HASH> 100644 --- a/openpnm/materials/VoronoiFibers.py +++ b/openpnm/materials/VoronoiFibers.py @@ -890,7 +890,7 @@ class DelaunayGeometry(GenericGeometry): coms = self["throat.centroid"][throat_list] ...
the changes in plt figure that requires integer positions of the figure from numbers import Integral,throat_list=[0], isinstance(np.ceil(np.sqrt(len(throat_list))),Integral) gives False, which makes problem for deprecation refer to <URL>
py
diff --git a/openid/association.py b/openid/association.py index <HASH>..<HASH> 100644 --- a/openid/association.py +++ b/openid/association.py @@ -407,34 +407,14 @@ class Association(object): return mac(self.secret, kv) - def signDict(self, fields, data, prefix='openid.'): - """ - Generate...
[project @ association.Association.signDict: method removed, use getMessageSignature instead [API]]
py
diff --git a/openpnm/models/geometry/throat_length.py b/openpnm/models/geometry/throat_length.py index <HASH>..<HASH> 100644 --- a/openpnm/models/geometry/throat_length.py +++ b/openpnm/models/geometry/throat_length.py @@ -95,3 +95,27 @@ def spherical_pores(target, pore_diameter='pore.diameter', L = ctc(target, po...
Added throat_length.circular_pores for calculating conduit_lengths This model is a wrapper for throat_length.spherical_pores since conduit lengths in 2d and 3d are identical.
py
diff --git a/quark/db/models.py b/quark/db/models.py index <HASH>..<HASH> 100644 --- a/quark/db/models.py +++ b/quark/db/models.py @@ -428,3 +428,4 @@ class Network(BASEV2, models.HasTenant, models.HasId): sa.ForeignKey("quark_ip_policy.id")) network_plugin = sa.Column(sa.String(36)) ...
RM<I> added max_allocation column
py
diff --git a/synapse/tests/test_common.py b/synapse/tests/test_common.py index <HASH>..<HASH> 100644 --- a/synapse/tests/test_common.py +++ b/synapse/tests/test_common.py @@ -10,3 +10,10 @@ class CommonTest(SynTest): with self.getTestDir() as testdir: fd = genfile(testdir,'woot','foo.bin') ...
tests for guid(item) object based GUID generation
py
diff --git a/api/opentrons/instruments/pipette.py b/api/opentrons/instruments/pipette.py index <HASH>..<HASH> 100644 --- a/api/opentrons/instruments/pipette.py +++ b/api/opentrons/instruments/pipette.py @@ -996,6 +996,8 @@ class Pipette(Instrument): def _do(): nonlocal location, presses + ...
set plunger position to 'bottom' during pick-up-tip to avoid firmware bug (#<I>)
py
diff --git a/dedupe/convenience.py b/dedupe/convenience.py index <HASH>..<HASH> 100644 --- a/dedupe/convenience.py +++ b/dedupe/convenience.py @@ -88,8 +88,8 @@ def randomPairsWithReplacement(n_records: int, sample_size: int) -> IndicesItera return ((p.item(), q.item()) for p, q in random_indices) -def _print(...
Fixup signature of _print() sometimes it takes 0 params.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'asana')) setup( name='asana', - version='0.7.1', + version='0.8.0', description='Asana API client', license='MIT', classif...
Update setup.py with new version
py
diff --git a/bcbio/variation/genotype.py b/bcbio/variation/genotype.py index <HASH>..<HASH> 100644 --- a/bcbio/variation/genotype.py +++ b/bcbio/variation/genotype.py @@ -21,7 +21,8 @@ def variant_filtration(call_file, ref_file, vrn_files, data, items): Newer GATK with Haplotype calling has combined SNP/indel filt...
gVCF: skip slow ploidy filtering if on
py
diff --git a/psamm/datasource/sbml.py b/psamm/datasource/sbml.py index <HASH>..<HASH> 100644 --- a/psamm/datasource/sbml.py +++ b/psamm/datasource/sbml.py @@ -198,8 +198,12 @@ class ReactionEntry(_SBMLEntry): denom = int(species.get('denominator', 1)) species_value = Fraction(v...
sbml: Log warning on level 1 non-integer stoichiometry
py
diff --git a/aiocache/backends/memcached.py b/aiocache/backends/memcached.py index <HASH>..<HASH> 100644 --- a/aiocache/backends/memcached.py +++ b/aiocache/backends/memcached.py @@ -72,9 +72,12 @@ class MemcachedBackend: :param ttl: int :returns: True """ + tasks = [] for key...
memcached multi_set with ensure_future (#<I>)
py
diff --git a/pymc/tests/test_shape_handling.py b/pymc/tests/test_shape_handling.py index <HASH>..<HASH> 100644 --- a/pymc/tests/test_shape_handling.py +++ b/pymc/tests/test_shape_handling.py @@ -485,3 +485,18 @@ class TestShapeDimsSize: # Confirm that the rng is properly offset, otherwise the second value of t...
Add rng update test for size from observed
py
diff --git a/test/test_client_integration.py b/test/test_client_integration.py index <HASH>..<HASH> 100644 --- a/test/test_client_integration.py +++ b/test/test_client_integration.py @@ -53,8 +53,8 @@ class TestKafkaClientIntegration(KafkaIntegrationTestCase): @kafka_versions('all') def test_send_produce_requ...
Remove 1 sec timeout on topic creation in client response ordering test
py
diff --git a/src/scout_apm/core/socket.py b/src/scout_apm/core/socket.py index <HASH>..<HASH> 100644 --- a/src/scout_apm/core/socket.py +++ b/src/scout_apm/core/socket.py @@ -179,6 +179,9 @@ class CoreAgentSocket(threading.Thread): def _read_response(self): try: raw_size = self.socket.recv(4)...
Ignore unrecognized responses from the core agent (#<I>) Fixes #<I>. Tested by modifying `StartSpan` to output in valid datetime strings. Saw `NoParse` in the core agent logs, Python socket thread didn't crash.
py
diff --git a/bitshares/asset.py b/bitshares/asset.py index <HASH>..<HASH> 100644 --- a/bitshares/asset.py +++ b/bitshares/asset.py @@ -506,3 +506,36 @@ class Asset(GrapheneAsset): } ) return self.blockchain.finalizeOp(op, self["issuer"], "owner", **kwargs) + + def issue(self, amount, t...
Implement issuing of shares as part of Asset()
py
diff --git a/tests/test_transports/test_periodic_transport.py b/tests/test_transports/test_periodic_transport.py index <HASH>..<HASH> 100644 --- a/tests/test_transports/test_periodic_transport.py +++ b/tests/test_transports/test_periodic_transport.py @@ -84,6 +84,7 @@ class TestPeriodicTransport(TestCase): ass...
Add flaky decorator to other tests
py
diff --git a/mama_cas/forms.py b/mama_cas/forms.py index <HASH>..<HASH> 100644 --- a/mama_cas/forms.py +++ b/mama_cas/forms.py @@ -10,9 +10,7 @@ logger = logging.getLogger(__name__) class LoginForm(forms.Form): - """ - Form implementing standard username and password authentication. - """ + """Standard...
Tweak logging message for authentication failure This is more generic, as there are multiple reasons why the authentication may have failed.
py
diff --git a/ksamsok/ksamsok.py b/ksamsok/ksamsok.py index <HASH>..<HASH> 100644 --- a/ksamsok/ksamsok.py +++ b/ksamsok/ksamsok.py @@ -80,6 +80,9 @@ class KSamsok: c_name_label = context.xpath('.//pres_nameLabel') parsed_context['name_label'] = c_name_label[0].text if 0 < len(c_name_label) els...
do not add context if it had no values
py
diff --git a/ot/lp/__init__.py b/ot/lp/__init__.py index <HASH>..<HASH> 100644 --- a/ot/lp/__init__.py +++ b/ot/lp/__init__.py @@ -657,7 +657,7 @@ def emd_1d(x_a, x_b, a=None, b=None, metric='sqeuclidean', p=1., dense=True, perm_a = np.argsort(x_a_1d) perm_b = np.argsort(x_b_1d) - G_sorted, indices, cost...
Remove flatten, it's not useful.
py
diff --git a/tests/test_experiment_groups/test_models.py b/tests/test_experiment_groups/test_models.py index <HASH>..<HASH> 100644 --- a/tests/test_experiment_groups/test_models.py +++ b/tests/test_experiment_groups/test_models.py @@ -393,7 +393,10 @@ class TestExperimentGroupModel(BaseTest): assert experiment...
Update tests for clone experiment groups
py
diff --git a/scripts/irccat.py b/scripts/irccat.py index <HASH>..<HASH> 100644 --- a/scripts/irccat.py +++ b/scripts/irccat.py @@ -12,6 +12,7 @@ import argparse import itertools import irc.client +import irc.logging target = None "The nick or channel to which to send messages" @@ -44,12 +45,14 @@ def get_args()...
Add logging support in irccat.py
py
diff --git a/salt/modules/ebuild.py b/salt/modules/ebuild.py index <HASH>..<HASH> 100644 --- a/salt/modules/ebuild.py +++ b/salt/modules/ebuild.py @@ -296,7 +296,8 @@ def remove(pkg): def purge(pkg): ''' - Portage does not have a purge, this function calls remove + Portage does not have a purge, this func...
Updated ebuild purge to call depclean after remove
py
diff --git a/lib/svtplay_dl/service/viaplay.py b/lib/svtplay_dl/service/viaplay.py index <HASH>..<HASH> 100644 --- a/lib/svtplay_dl/service/viaplay.py +++ b/lib/svtplay_dl/service/viaplay.py @@ -38,7 +38,7 @@ class Viaplay(Service, OpenGraphThumbMixin): unable to extract the ID at all. """ ht...
viaplay: use data-video-id instead of data-emediate-video_id. based on a fix by @magic<I> and this fixes #<I>
py
diff --git a/gandi/cli/modules/cert.py b/gandi/cli/modules/cert.py index <HASH>..<HASH> 100644 --- a/gandi/cli/modules/cert.py +++ b/gandi/cli/modules/cert.py @@ -180,7 +180,6 @@ class Certificate(GandiModule): ('ST', state), ('C', country)) params = [(key, val...
Subj calculation is now done in create_csr, we dont need it there.
py
diff --git a/pyquil/api/_devices.py b/pyquil/api/_devices.py index <HASH>..<HASH> 100644 --- a/pyquil/api/_devices.py +++ b/pyquil/api/_devices.py @@ -76,5 +76,5 @@ def _get_raw_lattice_data(lattice_name: str = None): session = get_session() config = PyquilConfig() - res = get_json(session, f"{config.for...
Rename the relevant forest server route and response keys to 'lattice(s)' (#<I>)
py
diff --git a/src/txkube/testing/_eliot.py b/src/txkube/testing/_eliot.py index <HASH>..<HASH> 100644 --- a/src/txkube/testing/_eliot.py +++ b/src/txkube/testing/_eliot.py @@ -49,6 +49,7 @@ class CaptureEliotLogs(Fixture): def _setUp(self): self.logs = [] add_destination(self.logs.append) + ...
There is no _tearDown. Only addCleanup.
py
diff --git a/taskw/warrior.py b/taskw/warrior.py index <HASH>..<HASH> 100644 --- a/taskw/warrior.py +++ b/taskw/warrior.py @@ -526,7 +526,7 @@ class TaskWarriorExperimental(TaskWarriorBase): self._execute( task['uuid'], 'denotate', - 'annotation' + annotation ...
Replacing string literal with variable.
py
diff --git a/tests/test_gau.py b/tests/test_gau.py index <HASH>..<HASH> 100644 --- a/tests/test_gau.py +++ b/tests/test_gau.py @@ -112,8 +112,11 @@ def test_gaussian(): ndim_gau, nlive=nlive) sampler.run_nested(print_progress=printing) - ...
add more testing for not dynamic sampler
py
diff --git a/lib/svtplay_dl/__init__.py b/lib/svtplay_dl/__init__.py index <HASH>..<HASH> 100644 --- a/lib/svtplay_dl/__init__.py +++ b/lib/svtplay_dl/__init__.py @@ -66,10 +66,14 @@ def get_media(url, options): title_tag = re.sub(r'&[^\s]*;', '', match.group(1)) if is_py3: ti...
get_media: output to dir and get automagic name again. removed it in f<I>d<I>d. but this one is better
py
diff --git a/tests/parsers/parsers.py b/tests/parsers/parsers.py index <HASH>..<HASH> 100644 --- a/tests/parsers/parsers.py +++ b/tests/parsers/parsers.py @@ -16,14 +16,15 @@ except ImportError: import anyconfig.parsers.parsers as TT import anyconfig.ioinfo -import tests.common as TC from anyconfig.common import...
change: use tests/res/base/basics/<I>/<I>.json instead of tests/res/<I>-cnf.json as test data
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -13,6 +13,8 @@ # All configuration values have a default; values that are commented out # serve to show the default. +from __future__ import unicode_literals + import sys import os import sphinx @@ -24,8...
Make sphinx-configuration work with python2
py
diff --git a/tests/unit/states/file_test.py b/tests/unit/states/file_test.py index <HASH>..<HASH> 100644 --- a/tests/unit/states/file_test.py +++ b/tests/unit/states/file_test.py @@ -1677,9 +1677,6 @@ class FileTestCase(TestCase): ts = datetime(starting.year, 1, 1) elif every.months: ...
Remove every.weeks reference: not available in relativedelta
py
diff --git a/graphene/contrib/django/tests/test_converter.py b/graphene/contrib/django/tests/test_converter.py index <HASH>..<HASH> 100644 --- a/graphene/contrib/django/tests/test_converter.py +++ b/graphene/contrib/django/tests/test_converter.py @@ -1,5 +1,6 @@ import pytest from django.db import models +from django...
Add test for django choices with translation
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ def read_version(): regexp = re.compile(r"^__version__\W*=\W*'([\d.]+)'") init_py = os.path.join(os.path.dirname(__file__), 'aiohttp_jrpc', '__init__.py') - with open(init_...
open files with utf-8 encoding
py
diff --git a/mythril/__version__.py b/mythril/__version__.py index <HASH>..<HASH> 100644 --- a/mythril/__version__.py +++ b/mythril/__version__.py @@ -4,4 +4,4 @@ This file is suitable for sourcing inside POSIX shell, e.g. bash as well as for importing into Python. """ -VERSION = "v0.20.8" # NOQA +__version__ = "v...
rename to __version__
py
diff --git a/spyder/app/mainwindow.py b/spyder/app/mainwindow.py index <HASH>..<HASH> 100644 --- a/spyder/app/mainwindow.py +++ b/spyder/app/mainwindow.py @@ -1215,16 +1215,9 @@ class MainWindow(QMainWindow): self.console.dockwidget.hide() # Show Help and Consoles by default - plugins_...
Main Window: Don't give focus to Python console on startup
py
diff --git a/webview/gtk.py b/webview/gtk.py index <HASH>..<HASH> 100644 --- a/webview/gtk.py +++ b/webview/gtk.py @@ -227,16 +227,21 @@ def load_html(content, base_uri): def create_file_dialog(dialog_type, directory, allow_multiple, save_filename): file_name_semaphore = threading.Semaphore(0) - file_name = ...
[GTK] Return a tuple instead of list in create_file_dialog
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -17,6 +17,7 @@ setup( 'templates/salmonella/admin/widgets/*.html' ]}, url="http://github.com/lincolnloop/django-salmonella/", + zip_safe=False, classifiers=[ 'Development Status :: 4 - Beta'...
Make the setup distribute the right files for staticfiles to pick up.
py
diff --git a/pynlpl/algorithms.py b/pynlpl/algorithms.py index <HASH>..<HASH> 100644 --- a/pynlpl/algorithms.py +++ b/pynlpl/algorithms.py @@ -42,6 +42,17 @@ def consecutivegaps(n, leftmargin = 0, rightmargin = 0): length -= 1 begin += 1 +def possiblesplits(n, minsplits=2, maxsplits=0): + """...
Added pynlpl.algorithms.possiblesplits to compute all possible splits (index, length) tuples of a sequence
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ CLASSIFIERS = [ install_requires = [ 'diff-match-patch', 'Django>=2.0', - 'tablib', + 'tablib<1.0.0', ]
Pin tablib version to not use new major version
py
diff --git a/battlenet/connection.py b/battlenet/connection.py index <HASH>..<HASH> 100644 --- a/battlenet/connection.py +++ b/battlenet/connection.py @@ -123,6 +123,9 @@ class Connection(object): try: data = self.make_request(region, '/character/%s/%s' % (realm, name), {'fields': fields}) + ...
empty dict means char is not found
py
diff --git a/dragonpy/components/cpu6809.py b/dragonpy/components/cpu6809.py index <HASH>..<HASH> 100755 --- a/dragonpy/components/cpu6809.py +++ b/dragonpy/components/cpu6809.py @@ -2529,9 +2529,9 @@ class CPU(object): irq_enabled = False def irq(self): if not self.irq_enabled or self.cc.I == 1: - ...
Disable some log output and update pypy win batches
py
diff --git a/tests/test_proxies.py b/tests/test_proxies.py index <HASH>..<HASH> 100644 --- a/tests/test_proxies.py +++ b/tests/test_proxies.py @@ -554,6 +554,19 @@ def kSSnnkw6CNPx(): @circle_links +def ai0hNOPGX2PI(): + """Declarative injector. Same level. Long loop.""" + + class Container(Injector): + + ...
Add long loop in the same level failing test.
py
diff --git a/reana_commons/config.py b/reana_commons/config.py index <HASH>..<HASH> 100644 --- a/reana_commons/config.py +++ b/reana_commons/config.py @@ -55,7 +55,7 @@ OPENAPI_SPECS = { port=os.getenv('WORKFLOW_CONTROLLER_SERVICE_PORT_HTTP', '5000')), 'reana_workflow_controller.json'), 'rean...
config: setting default reana-server url * Setting default reana-server url for tests. Connects reanahub/reana-client/issues/<I>
py
diff --git a/gromacs/__init__.py b/gromacs/__init__.py index <HASH>..<HASH> 100644 --- a/gromacs/__init__.py +++ b/gromacs/__init__.py @@ -181,7 +181,7 @@ __docformat__ = "restructuredtext en" VERSION = 0,3,2 #: Set to ``True`` for a release. If set to ``False`` then the patch level #: will have the suffix "-dev". -...
switched version to release <I>
py
diff --git a/src/graphql/version.py b/src/graphql/version.py index <HASH>..<HASH> 100644 --- a/src/graphql/version.py +++ b/src/graphql/version.py @@ -6,7 +6,7 @@ __all__ = ["version", "version_info", "version_js", "version_info_js"] version = "3.1.0a0" -version_js = "15.0.0a0" +version_js = "15.0.0a1" _re_ve...
master is now up to date with GraphQL.js <I>a1
py
diff --git a/backupdb_utils/streamtools.py b/backupdb_utils/streamtools.py index <HASH>..<HASH> 100644 --- a/backupdb_utils/streamtools.py +++ b/backupdb_utils/streamtools.py @@ -98,8 +98,17 @@ bar = standard_streams.bar set_verbosity = standard_streams.set_verbosity +class SectionError(Exception): + pass + + ...
Add ability to exit section with special message
py
diff --git a/anytemplate/engines/cheetah.py b/anytemplate/engines/cheetah.py index <HASH>..<HASH> 100644 --- a/anytemplate/engines/cheetah.py +++ b/anytemplate/engines/cheetah.py @@ -115,8 +115,8 @@ class Engine(anytemplate.engines.base.Engine): # if at_paths is not None: # paths = at_paths + self....
fix a bug that Cheetah specific keyword options are not processed
py
diff --git a/permutation2020/python/simulation.py b/permutation2020/python/simulation.py index <HASH>..<HASH> 100644 --- a/permutation2020/python/simulation.py +++ b/permutation2020/python/simulation.py @@ -151,7 +151,7 @@ def rank_genes(p1, p2, top_rank2 : pd.Series gene ranks for second test """ - ...
Fixed bug in ranking of genes for simulation
py
diff --git a/dbt/clients/agate_helper.py b/dbt/clients/agate_helper.py index <HASH>..<HASH> 100644 --- a/dbt/clients/agate_helper.py +++ b/dbt/clients/agate_helper.py @@ -2,11 +2,14 @@ import agate DEFAULT_TYPE_TESTER = agate.TypeTester(types=[ - agate.data_types.Number(), - agate.data_types.Date(), - agat...
Make the agate table type tester more restrictive on what counts as null/true/false
py
diff --git a/buildbot/db/schema/v1.py b/buildbot/db/schema/v1.py index <HASH>..<HASH> 100644 --- a/buildbot/db/schema/v1.py +++ b/buildbot/db/schema/v1.py @@ -257,7 +257,7 @@ class Upgrader(base.Upgrader): c.execute("SELECT * FROM test_unicode") row = c.fetchall()[0] if row[0] != ...
Raise an exception if the db can't store unicode data
py
diff --git a/sos/plugins/selinux.py b/sos/plugins/selinux.py index <HASH>..<HASH> 100644 --- a/sos/plugins/selinux.py +++ b/sos/plugins/selinux.py @@ -26,15 +26,9 @@ class selinux(Plugin, RedHatPlugin): self.collectExtOutput("/sbin/fixfiles check") self.addForbiddenPath("/etc/selinux/targeted") ...
Delete selinux module's analyze() method The analyze machinery hasn't been hooked up since commit 6ea<I>cb. The use of these methods has also not been especially clear: some modules trigger additional file/command collection here while others only add alerts (the original purpose of analyze()). Other module call the a...
py
diff --git a/lettuce_webdriver/webdriver.py b/lettuce_webdriver/webdriver.py index <HASH>..<HASH> 100644 --- a/lettuce_webdriver/webdriver.py +++ b/lettuce_webdriver/webdriver.py @@ -112,8 +112,11 @@ def should_see_id(step, element_id): @step('I should not see an element with id of "(.*?)"$') def should_not_see_id(...
The element id not being present also means the element does not exist
py
diff --git a/pyes/filters.py b/pyes/filters.py index <HASH>..<HASH> 100644 --- a/pyes/filters.py +++ b/pyes/filters.py @@ -8,9 +8,9 @@ class Filter(EqualityComparableUsingAttributeDictionary): _extra_properties = ("_cache", "cache_key", "_name") def __init__(self, **kwargs): - self._extra_values = {k...
use dict constructor instead of dict comprehension dict comprehension is not supported in python <I>
py
diff --git a/glue_vispy_viewers/common/toolbar.py b/glue_vispy_viewers/common/toolbar.py index <HASH>..<HASH> 100644 --- a/glue_vispy_viewers/common/toolbar.py +++ b/glue_vispy_viewers/common/toolbar.py @@ -13,8 +13,8 @@ from .selection_tools import VispyMouseMode class VispyViewerToolbar(BasicToolbar): - def _...
Fix compatibility with latest developer version of glue
py
diff --git a/pymatgen/symmetry/analyzer.py b/pymatgen/symmetry/analyzer.py index <HASH>..<HASH> 100644 --- a/pymatgen/symmetry/analyzer.py +++ b/pymatgen/symmetry/analyzer.py @@ -16,10 +16,6 @@ from fractions import Fraction import numpy as np from numpy.linalg import matrix_power, multi_dot -from numba import jit ...
MAINT: Removed unused import
py
diff --git a/qgrid/grid.py b/qgrid/grid.py index <HASH>..<HASH> 100644 --- a/qgrid/grid.py +++ b/qgrid/grid.py @@ -1689,6 +1689,20 @@ class QgridWidget(widgets.DOMWidget): return index_col_val def edit_cell(self, index, column, value): + """ + Edit a cell of the grid, given the index and c...
Add a doc string for the edit cell method, which was missing.
py
diff --git a/python/test/test_graph.py b/python/test/test_graph.py index <HASH>..<HASH> 100644 --- a/python/test/test_graph.py +++ b/python/test/test_graph.py @@ -845,6 +845,11 @@ class TestRecomputation(): x4 = F.sin(x3).apply(recompute=True) y = F.identity(x4) + # Skip this code temporarily...
temporarily comment out a test which cause randomly crash.
py