diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/lark/lexer.py b/lark/lexer.py index <HASH>..<HASH> 100644 --- a/lark/lexer.py +++ b/lark/lexer.py @@ -168,7 +168,9 @@ class _Lex: lexer = self.lexer res = lexer.match(stream, line_ctr.char_pos) if not res: - allowed = {v for m, tfi in lexer.mres for v i...
Improved error reporting (Issue #<I>)
py
diff --git a/cldoc/tree.py b/cldoc/tree.py index <HASH>..<HASH> 100644 --- a/cldoc/tree.py +++ b/cldoc/tree.py @@ -24,7 +24,13 @@ import documentmerger from cldoc import example -import os, sys, sets, re, glob +import os, sys, sets, re, glob, platform + +if platform.system() == 'Darwin': + libclang = '/Library/...
Hardcode libclang location on darwin if needed This finds libclang.dylib on OS X Mavericks without further configuration.
py
diff --git a/txmongo/collection.py b/txmongo/collection.py index <HASH>..<HASH> 100644 --- a/txmongo/collection.py +++ b/txmongo/collection.py @@ -262,8 +262,11 @@ class Collection(object): if not isinstance(sort_fields, qf.sort): raise TypeError("sort_fields must be an instance of filter.sort") ...
Collection name was overriden if passed as an optional argument
py
diff --git a/artist/plot.py b/artist/plot.py index <HASH>..<HASH> 100644 --- a/artist/plot.py +++ b/artist/plot.py @@ -8,6 +8,7 @@ from itertools import izip_longest import jinja2 import numpy as np +from math import log10 RELATIVE_NODE_LOCATIONS = {'upper right': {'node_location': 'below left', @@ -539,8 +540...
Relative position works with log axis
py
diff --git a/auto_lens/profile.py b/auto_lens/profile.py index <HASH>..<HASH> 100644 --- a/auto_lens/profile.py +++ b/auto_lens/profile.py @@ -309,9 +309,10 @@ class SersicLightProfile(EllipticalProfile, LightProfile): self.effective_radius = effective_radius self.sersic_index = sersic_index - ...
elliptical_effective_radius as property
py
diff --git a/regenmaschine/__version__.py b/regenmaschine/__version__.py index <HASH>..<HASH> 100644 --- a/regenmaschine/__version__.py +++ b/regenmaschine/__version__.py @@ -1,2 +1,2 @@ """Define the package version.""" -__version__ = '1.4.0' +__version__ = '1.5.0'
Bumped version to <I>
py
diff --git a/detect_secrets/plugins/keyword.py b/detect_secrets/plugins/keyword.py index <HASH>..<HASH> 100644 --- a/detect_secrets/plugins/keyword.py +++ b/detect_secrets/plugins/keyword.py @@ -288,7 +288,7 @@ class KeywordDetector(BasePlugin): **kwargs: Any, ) -> Set[PotentialSecret]: filetype ...
Formatting text by pre-commit
py
diff --git a/tests.py b/tests.py index <HASH>..<HASH> 100644 --- a/tests.py +++ b/tests.py @@ -63,12 +63,24 @@ def _mock_calls_to_string(called_mock): EXPECTED_OPTIONS = """ -[-h] [--config-file FILE] [--verbose] [--list] [--allow-dirty] -[--parse REGEX] [--serialize FORMAT] [--search SEARCH] -[--replace REPLACE] ...
Avoid reliance on line-breaks in help string.
py
diff --git a/pipenv/utils.py b/pipenv/utils.py index <HASH>..<HASH> 100644 --- a/pipenv/utils.py +++ b/pipenv/utils.py @@ -36,7 +36,7 @@ from piptools.scripts.compile import get_pip_command from piptools import logging from piptools.exceptions import NoCandidateFound from pip.exceptions import DistributionNotFound -...
Fix "connection reset by peer" when grabbing hashes
py
diff --git a/km3pipe/pumps/aanet.py b/km3pipe/pumps/aanet.py index <HASH>..<HASH> 100644 --- a/km3pipe/pumps/aanet.py +++ b/km3pipe/pumps/aanet.py @@ -9,6 +9,7 @@ from __future__ import division, absolute_import, print_function from km3pipe import Pump from km3pipe.logger import logging +import os.path log = log...
km3pipe: aanet pump jumps over files which do not exist with warning
py
diff --git a/simple_history/tests/tests.py b/simple_history/tests/tests.py index <HASH>..<HASH> 100644 --- a/simple_history/tests/tests.py +++ b/simple_history/tests/tests.py @@ -161,6 +161,19 @@ class HistoryManagerTest(TestCase): self.assertEqual(most_recent.__class__, Poll) self.assertEqual(most_re...
Add more tests for most_recent model manager
py
diff --git a/cookiecutter/prompt.py b/cookiecutter/prompt.py index <HASH>..<HASH> 100755 --- a/cookiecutter/prompt.py +++ b/cookiecutter/prompt.py @@ -15,9 +15,26 @@ PY3 = sys.version > '3' if PY3: iteritems = lambda d: iter(d.items()) def read_response(prompt=''): + """ + Prompt the user for a...
Add a docstring for read_response
py
diff --git a/ppb/scenes.py b/ppb/scenes.py index <HASH>..<HASH> 100644 --- a/ppb/scenes.py +++ b/ppb/scenes.py @@ -11,8 +11,8 @@ class BaseScene(Scene): def __init__(self, engine, *, background_color=(0, 0, 55), **kwargs): super().__init__(engine) self.background_color = background_color - ...
Stops scene from drawing directly to window for first frame, leaves that to the engine.
py
diff --git a/salt/states/mount.py b/salt/states/mount.py index <HASH>..<HASH> 100644 --- a/salt/states/mount.py +++ b/salt/states/mount.py @@ -205,6 +205,7 @@ def mounted(name, 'comment', 'defaults', 'delay_connect', + 'direct-io-mode', ...
add direct-io-mode to mount_invisible_options
py
diff --git a/cleverhans/picklable_model.py b/cleverhans/picklable_model.py index <HASH>..<HASH> 100644 --- a/cleverhans/picklable_model.py +++ b/cleverhans/picklable_model.py @@ -570,7 +570,8 @@ class Dropout(Layer): include_prob = self.include_prob if dropout_dict is not None: assert dro...
don't require the user to override every layer
py
diff --git a/librosa/feature.py b/librosa/feature.py index <HASH>..<HASH> 100644 --- a/librosa/feature.py +++ b/librosa/feature.py @@ -631,6 +631,8 @@ def CQ_chroma_loudness(x, sr, beat_times, hammingK, half_winLenK, freqK, # Add the reference power (for mean/median/q-quantiles) # FIXME: 2013-09-25 18:00:20 ...
feature.py - not sure if I should use librosa.logamplitude. Added discussion in CQ_chroma_loudness
py
diff --git a/packages/vaex-core/vaex/__init__.py b/packages/vaex-core/vaex/__init__.py index <HASH>..<HASH> 100644 --- a/packages/vaex-core/vaex/__init__.py +++ b/packages/vaex-core/vaex/__init__.py @@ -241,7 +241,7 @@ def open(path, convert=False, progress=None, shuffle=False, fs_options={}, fs=No else: ...
Adding fs_options and fs arguments Adding missing fs_options and fs arguments with called values during recursive execution for multiple files
py
diff --git a/ratelimitbackend/views.py b/ratelimitbackend/views.py index <HASH>..<HASH> 100644 --- a/ratelimitbackend/views.py +++ b/ratelimitbackend/views.py @@ -10,10 +10,12 @@ from django.shortcuts import redirect from django.template.response import TemplateResponse from django.views.decorators.cache import never...
Add "sensitive_post_parameters" decorator to login view, just as Django's login view has See Django docs: <URL>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -73,7 +73,7 @@ setup( 'django', ], classifiers = [ - 'Development Status :: 3 - Alpha', + 'Development Status :: 5 - Production/Stable', 'Environment :: Web Environment', 'Fra...
Promote to production/stable [ci skip]
py
diff --git a/zhaquirks/tuya/__init__.py b/zhaquirks/tuya/__init__.py index <HASH>..<HASH> 100644 --- a/zhaquirks/tuya/__init__.py +++ b/zhaquirks/tuya/__init__.py @@ -118,6 +118,7 @@ TUYA_COVER_INVERTED_BY_DEFAULT = [ "_TZE200_xuzcvlku", "_TZE200_xaabybja", "_TZE200_yenbr4om", + "_TZE200_zpzndjez", ]...
Add tuya curtain _TZE<I>_zpzndjez to be inverted (#<I>)
py
diff --git a/test/test_dag.py b/test/test_dag.py index <HASH>..<HASH> 100644 --- a/test/test_dag.py +++ b/test/test_dag.py @@ -23,7 +23,6 @@ import os import time -import shutil import unittest from io import StringIO @@ -32,10 +31,12 @@ from sos.utils import env from sos.sos_executor import Base_Executor, MP_...
Fix tests that removes .sos
py
diff --git a/djangosaml2/views.py b/djangosaml2/views.py index <HASH>..<HASH> 100644 --- a/djangosaml2/views.py +++ b/djangosaml2/views.py @@ -24,6 +24,7 @@ from django.conf import settings from django.contrib import auth from django.contrib.auth.decorators import login_required from django.contrib.auth.views import...
Have assertion_consumer service raise PermissionDenied exception instead of calling PermissionDenied. This enables custom views using handler<I>.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -261,8 +261,8 @@ def get_version_info(): # If this is a release or another kind of source distribution of PyCBC except: - version = '1.7.0dev' - release = 'False' + version = '1.6.3' + r...
Set for <I> release (#<I>)
py
diff --git a/salt/modules/ldapmod.py b/salt/modules/ldapmod.py index <HASH>..<HASH> 100644 --- a/salt/modules/ldapmod.py +++ b/salt/modules/ldapmod.py @@ -76,9 +76,6 @@ def _config(name, key=None, **kwargs): value = kwargs[name] else: value = __salt__['config.option']('ldap.{0}'.format(key)) - ...
Causing problems for boolean values from config
py
diff --git a/tcconfig/traffic_control.py b/tcconfig/traffic_control.py index <HASH>..<HASH> 100644 --- a/tcconfig/traffic_control.py +++ b/tcconfig/traffic_control.py @@ -523,8 +523,13 @@ class TrafficControl(object): return -1 return_code = 0 + modprobe_proc = spr.SubprocessRunner("modpr...
Avoid to tcset failed when the modprobe command not found
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,11 +1,21 @@ from distutils.core import setup +with open("LICENSE") as f: + LICENSE = f.read() + +try: + import pypandoc + LONG_DESCRIPTION = pypandoc.convert("README.md", "rst") +except ImportError: + LONG_DE...
Convert README to rst format in setup.py
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -62,7 +62,7 @@ def import_file(package: str, fname: str) -> ModuleType: pip_support = import_file('jnrbase', 'pip_support.py') -# Note: We can't use setuptool’s requirements support as it only a list +# Note: We can't use...
[Tr] Sync setup.py with other projects
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -201,10 +201,13 @@ class conn_docker(ShutItModule): shutit.log('Creating host child') print 'Spawning host child' host_child = pexpect.spawn('/bin/bash') + print 'Spawning done' # Some pexpect settings shutit.p...
logging, empty default files removed, and get config for apache proxy from file
py
diff --git a/nailgun/entities.py b/nailgun/entities.py index <HASH>..<HASH> 100644 --- a/nailgun/entities.py +++ b/nailgun/entities.py @@ -445,7 +445,7 @@ class CommonParameter(Entity): super(CommonParameter, self).__init__(server_config, **kwargs) -class ComputeAttribute(Entity): +class ComputeAttribute(E...
- Updated 'OperatingSystem' entity ~ to support search mixin ~ to add 'config_template' variable - Updated 'ComputeAttribute' entity with 'create' and 'read' mixin
py
diff --git a/src/greplin/scales/formats.py b/src/greplin/scales/formats.py index <HASH>..<HASH> 100644 --- a/src/greplin/scales/formats.py +++ b/src/greplin/scales/formats.py @@ -110,6 +110,8 @@ def _htmlRenderDict(pathParts, statDict, output): for key in keys: keyStr = cgi.escape(str(key)) value = statDic...
Allow lambdas to return more interesting values and format properly
py
diff --git a/rows/utils.py b/rows/utils.py index <HASH>..<HASH> 100644 --- a/rows/utils.py +++ b/rows/utils.py @@ -250,7 +250,15 @@ def plugin_name_by_uri(uri): "Return the plugin name based on the URI" # TODO: parse URIs like 'sqlite://' also + # TODO: integrate this function with detect_source + p...
Accept URI schemes in `rows convert`
py
diff --git a/exchangelib/folders/base.py b/exchangelib/folders/base.py index <HASH>..<HASH> 100644 --- a/exchangelib/folders/base.py +++ b/exchangelib/folders/base.py @@ -461,7 +461,7 @@ class BaseFolder(RegisterMixIn, SearchableMixIn): Does a simple FindItem to test (read) access to the folder. Maybe the acco...
Make sure test_access is always cheap
py
diff --git a/reana_db/version.py b/reana_db/version.py index <HASH>..<HASH> 100644 --- a/reana_db/version.py +++ b/reana_db/version.py @@ -14,4 +14,4 @@ and parsed by ``setup.py``. from __future__ import absolute_import, print_function -__version__ = "0.7.0.dev20200205" +__version__ = "0.7.0.dev20200206"
release: <I>.de<I>
py
diff --git a/dimod/binary_quadratic_model.py b/dimod/binary_quadratic_model.py index <HASH>..<HASH> 100644 --- a/dimod/binary_quadratic_model.py +++ b/dimod/binary_quadratic_model.py @@ -829,7 +829,8 @@ class BinaryQuadraticModel(abc.Sized, abc.Container, abc.Iterable): ignored_interactions (iterable[tuple...
Update .scale and .normalize docstrings for sphinx
py
diff --git a/pyathena/async_cursor.py b/pyathena/async_cursor.py index <HASH>..<HASH> 100644 --- a/pyathena/async_cursor.py +++ b/pyathena/async_cursor.py @@ -3,7 +3,7 @@ import logging from concurrent.futures import Future from concurrent.futures.thread import ThreadPoolExecutor from multiprocessing import cpu_coun...
Fix NameError: name 'List' is not defined
py
diff --git a/imgix/urlbuilder.py b/imgix/urlbuilder.py index <HASH>..<HASH> 100644 --- a/imgix/urlbuilder.py +++ b/imgix/urlbuilder.py @@ -208,8 +208,6 @@ class UrlBuilder(object): srcset_params['dpr'] = dpr # If variable quality output is _not disabled_, then... if not disable_va...
refactor: remove dead comment This PR removes a dead comment. Prior to this PR, the comment indicated that there was validation, but validation was suggested to be, and was, removed from this function. This change updates the comment to describe the current behavior.
py
diff --git a/mediasync/backends/__init__.py b/mediasync/backends/__init__.py index <HASH>..<HASH> 100644 --- a/mediasync/backends/__init__.py +++ b/mediasync/backends/__init__.py @@ -1,6 +1,7 @@ from django.core.exceptions import ImproperlyConfigured from django.utils.importlib import import_module from mediasync.co...
use url parse to handle case where STATIC_URL is a full URL
py
diff --git a/buildbot/test/test_vc.py b/buildbot/test/test_vc.py index <HASH>..<HASH> 100644 --- a/buildbot/test/test_vc.py +++ b/buildbot/test/test_vc.py @@ -2598,7 +2598,7 @@ class MercurialInRepoHelper(MercurialHelper): vc_try_checkout = deferredGenerator(vc_try_checkout) def vc_try_finish(self, workdir)...
Remove accidentally left comment from cleanup step in MercurialInRepo test
py
diff --git a/src/infi/projector/plugins/builtins/version/__init__.py b/src/infi/projector/plugins/builtins/version/__init__.py index <HASH>..<HASH> 100644 --- a/src/infi/projector/plugins/builtins/version/__init__.py +++ b/src/infi/projector/plugins/builtins/version/__init__.py @@ -124,6 +124,8 @@ class VersionPlugin(C...
TRIVIAL build_and_upload_distributions: handle empty lines
py
diff --git a/tests/gui/widget/test_global_variable_manager.py b/tests/gui/widget/test_global_variable_manager.py index <HASH>..<HASH> 100644 --- a/tests/gui/widget/test_global_variable_manager.py +++ b/tests/gui/widget/test_global_variable_manager.py @@ -12,7 +12,7 @@ def trigger_gvm_signals(): # core elements ...
fix(gmv test): delete of all gv in call_gui_callback
py
diff --git a/pylint/checkers/__init__.py b/pylint/checkers/__init__.py index <HASH>..<HASH> 100644 --- a/pylint/checkers/__init__.py +++ b/pylint/checkers/__init__.py @@ -131,4 +131,4 @@ def initialize(linter): register_plugins(linter, __path__[0]) -__all__ = ("BaseChecker", "initialize") +__all__ = ("BaseChec...
Expose/export BaseTokenChecker in __all__ as well? Hi, I was using `BaseTokenChecker` when my IDE complained it wasn't in the `__init__`'s `__all__` variable. Any reason for not having it there? Learned about `BaseTokenChecker` after finding it in [another checker that uses it too](<URL>
py
diff --git a/tests/settings.py b/tests/settings.py index <HASH>..<HASH> 100644 --- a/tests/settings.py +++ b/tests/settings.py @@ -8,5 +8,5 @@ DATABASES = { SECRET_KEY = 'tests' INSTALLED_APPS = ( - 'tests' + 'tests', )
Fix 'INSTALLED_APPS setting must be a list or a tuple' error
py
diff --git a/girder/api/access.py b/girder/api/access.py index <HASH>..<HASH> 100644 --- a/girder/api/access.py +++ b/girder/api/access.py @@ -141,26 +141,16 @@ def cookie(*args, **kwargs): While allowing cookie authentication on other types of routes exposes an application to Cross-Site Request Forgery (CS...
Make access.cookie only support force flag as kwarg I prefer this simplicity since we have to dynamically try to disambiguate between a raw decorator vs. a function that is supposed to return a decorator based on the arguments passed in; that distinction becomes much less tricky if the latter case only supports passin...
py
diff --git a/prospector/formatters/text.py b/prospector/formatters/text.py index <HASH>..<HASH> 100644 --- a/prospector/formatters/text.py +++ b/prospector/formatters/text.py @@ -62,7 +62,7 @@ class TextFormatter(Formatter): output.append( ' L%s:%s %s: %s - %s' % ( message.loca...
[refs #<I>] Fixing the "text" formatter to properly output character number as - if the character is not specified
py
diff --git a/wasp_launcher/apps.py b/wasp_launcher/apps.py index <HASH>..<HASH> 100644 --- a/wasp_launcher/apps.py +++ b/wasp_launcher/apps.py @@ -72,6 +72,7 @@ class WRegisteredHostApp(WTask, metaclass=WDependentTask): """ Link to registry """ + class WSyncHostApp(WRegisteredHostApp, WSyncTask, metaclass=WDepen...
wasp_launcher/apps.py: pep8 compliance fix
py
diff --git a/scapy/utils6.py b/scapy/utils6.py index <HASH>..<HASH> 100644 --- a/scapy/utils6.py +++ b/scapy/utils6.py @@ -682,19 +682,27 @@ def in6_isaddrllallservers(str): return (inet_pton(socket.AF_INET6, "ff02::2") == inet_pton(socket.AF_INET6, str)) - def in6_getscope(addr): """ Ret...
in6_getscope(): Correct multicast case + ULA now considered global
py
diff --git a/benchexec/runexecutor.py b/benchexec/runexecutor.py index <HASH>..<HASH> 100644 --- a/benchexec/runexecutor.py +++ b/benchexec/runexecutor.py @@ -550,6 +550,9 @@ class RunExecutor(containerexecutor.ContainerExecutor): # write command line into outputFile # (without environment variables, ...
Create parent directories for output file of runexec if necessary This is relevant if --output is used to specify a nonexistent directory. benchexec already did create such directories, so lets do the same for runexec.
py
diff --git a/pywb/urlrewrite/rewriterapp.py b/pywb/urlrewrite/rewriterapp.py index <HASH>..<HASH> 100644 --- a/pywb/urlrewrite/rewriterapp.py +++ b/pywb/urlrewrite/rewriterapp.py @@ -211,7 +211,7 @@ class RewriterApp(object): self._add_custom_params(cdx, r.headers, kwargs) - if readd_range: + ...
rewriterapp: readd range: only convert to <I> if response is <I>
py
diff --git a/salt/beacons/__init__.py b/salt/beacons/__init__.py index <HASH>..<HASH> 100644 --- a/salt/beacons/__init__.py +++ b/salt/beacons/__init__.py @@ -140,7 +140,8 @@ class Beacon(object): # Fire the complete event back along with the list of beacons evt = salt.utils.event.get_event('minion', ...
Don't discard running beacons config when listing becaons (#<I>) Refs #<I>
py
diff --git a/src/SeqMagick/fileformat.py b/src/SeqMagick/fileformat.py index <HASH>..<HASH> 100644 --- a/src/SeqMagick/fileformat.py +++ b/src/SeqMagick/fileformat.py @@ -6,6 +6,7 @@ # of the class so static methods can access it. # Would be nice to check to see if python has enums to represent something like this. ...
added .fa for fasta
py
diff --git a/sixpack/models.py b/sixpack/models.py index <HASH>..<HASH> 100644 --- a/sixpack/models.py +++ b/sixpack/models.py @@ -1,4 +1,4 @@ -import random +import random, operator from datetime import datetime import re @@ -194,8 +194,33 @@ class Experiment(object): def choose_alternative(self, client=Non...
my probably poor attempt at implementing one armed bandit/whiplast alto.
py
diff --git a/vlcp/service/sdn/dhcpserver.py b/vlcp/service/sdn/dhcpserver.py index <HASH>..<HASH> 100644 --- a/vlcp/service/sdn/dhcpserver.py +++ b/vlcp/service/sdn/dhcpserver.py @@ -258,7 +258,7 @@ class DHCPUpdater(FlowUpdater): currentlognetinfo = dict((n, id) for n,id in self._lastlognets if n in allob...
fix dhcp server handle port exception which has no mac address
py
diff --git a/cassandra/metadata.py b/cassandra/metadata.py index <HASH>..<HASH> 100644 --- a/cassandra/metadata.py +++ b/cassandra/metadata.py @@ -387,13 +387,16 @@ class NetworkTopologyStrategy(ReplicationStrategy): # note: this does not account for hosts having different racks replica_map = defaultd...
Avoid KeyError on NTS replica map building
py
diff --git a/airflow/dag_processing/manager.py b/airflow/dag_processing/manager.py index <HASH>..<HASH> 100644 --- a/airflow/dag_processing/manager.py +++ b/airflow/dag_processing/manager.py @@ -1082,7 +1082,7 @@ class DagFileProcessorManager(LoggingMixin): ) if zombies: - sel...
Change log level for Zombie detection messages (#<I>) I missed it in <URL>
py
diff --git a/photutils/segmentation/catalog.py b/photutils/segmentation/catalog.py index <HASH>..<HASH> 100644 --- a/photutils/segmentation/catalog.py +++ b/photutils/segmentation/catalog.py @@ -147,9 +147,15 @@ class SourceCatalog: circle with this minimum radius. detection_cat : `SourceCatalog`, optio...
Update detection_cat description in docstring
py
diff --git a/theanets/main.py b/theanets/main.py index <HASH>..<HASH> 100644 --- a/theanets/main.py +++ b/theanets/main.py @@ -49,7 +49,10 @@ def parse_args(**overrides): ''' args = argparse.Namespace() if not is_running_in_ipython(): - args = climate.get_args().parse_args() + try: + ...
Add shim for multiple versions of climate package.
py
diff --git a/pyana/examples/gp_rdiff.py b/pyana/examples/gp_rdiff.py index <HASH>..<HASH> 100644 --- a/pyana/examples/gp_rdiff.py +++ b/pyana/examples/gp_rdiff.py @@ -25,6 +25,7 @@ def gp_rdiff(version): data_type = re.sub('%s\.dat' % energy, '', file) file_url = os.path.join(inDir, file) data_import = n...
gp_rdiff: xrange, cut off ><I>
py
diff --git a/HydraLib/python/HydraLib/util.py b/HydraLib/python/HydraLib/util.py index <HASH>..<HASH> 100644 --- a/HydraLib/python/HydraLib/util.py +++ b/HydraLib/python/HydraLib/util.py @@ -268,7 +268,7 @@ def validate_VALUERANGE(value, restriction): Parameters: A Decimal value and a tuple, containing a lower...
Fixes for import csv and updated exe server.
py
diff --git a/bokeh/models/sources.py b/bokeh/models/sources.py index <HASH>..<HASH> 100644 --- a/bokeh/models/sources.py +++ b/bokeh/models/sources.py @@ -721,7 +721,7 @@ class AjaxDataSource(RemoteSource): format. If provided, this callback is executes immediately after the JSON data is - received, but ...
Fix small typo [ci skip] (#<I>)
py
diff --git a/dirutility/walk/__init__.py b/dirutility/walk/__init__.py index <HASH>..<HASH> 100644 --- a/dirutility/walk/__init__.py +++ b/dirutility/walk/__init__.py @@ -1,3 +1,3 @@ -__all__ = ['DirPaths', 'DirTree'] +__all__ = ['DirPaths', 'DirTree', 'gui'] -from dirutility.walk.walk import DirPaths, DirTree \ No n...
walk.py GUI converted to a function call.
py
diff --git a/nfc/dev/pn53x.py b/nfc/dev/pn53x.py index <HASH>..<HASH> 100644 --- a/nfc/dev/pn53x.py +++ b/nfc/dev/pn53x.py @@ -327,7 +327,7 @@ class device(object): nfcid3 = felica[0:8] + "\x00\x00" if self.dev.ic == "PN532": - gb = len(gb) + gb + '\x00' + gb = chr(len(gb)) + g...
bugfix: general bytes handling for PN<I>
py
diff --git a/redis_collections/sortedsets.py b/redis_collections/sortedsets.py index <HASH>..<HASH> 100644 --- a/redis_collections/sortedsets.py +++ b/redis_collections/sortedsets.py @@ -58,14 +58,6 @@ class SortedSetCounter(RedisCollection): point to the same data. If not provided, default random ...
Remove incorrectly pasted docstring
py
diff --git a/ginga/gtkw/Widgets.py b/ginga/gtkw/Widgets.py index <HASH>..<HASH> 100644 --- a/ginga/gtkw/Widgets.py +++ b/ginga/gtkw/Widgets.py @@ -683,6 +683,10 @@ class TreeView(WidgetBase): for kwd in self.datakeys: self.cell_sort_funcs.append(self._mksrtfnN(kwd)) + # Remove old columns...
Fix for TreeView widget for gtk - fixed an error where columns weren't cleared correctly
py
diff --git a/registration/__init__.py b/registration/__init__.py index <HASH>..<HASH> 100644 --- a/registration/__init__.py +++ b/registration/__init__.py @@ -1,6 +1,22 @@ -VERSION = (0, 9, 0, 'beta', 1) +VERSION = (1, 0, 0, 'final', 0) def get_version(): - from django.utils.version import get_version as django...
Fix version number reporting so we can be installed before Django.
py
diff --git a/holoviews/core/spaces.py b/holoviews/core/spaces.py index <HASH>..<HASH> 100644 --- a/holoviews/core/spaces.py +++ b/holoviews/core/spaces.py @@ -463,6 +463,12 @@ class DynamicMap(HoloMap): """) def __init__(self, callback, initial_items=None, **params): + + # Set source to self if no...
Setting stream sources to self in DynamicMap if not specified
py
diff --git a/satpy/tests/reader_tests/test_slstr_l1b.py b/satpy/tests/reader_tests/test_slstr_l1b.py index <HASH>..<HASH> 100644 --- a/satpy/tests/reader_tests/test_slstr_l1b.py +++ b/satpy/tests/reader_tests/test_slstr_l1b.py @@ -18,8 +18,8 @@ """Module for testing the satpy.readers.nc_slstr module.""" import unitte...
Remove unneed import in SLSTR L1b tests.
py
diff --git a/src/iota/multisig/commands/prepare_multisig_transfer.py b/src/iota/multisig/commands/prepare_multisig_transfer.py index <HASH>..<HASH> 100644 --- a/src/iota/multisig/commands/prepare_multisig_transfer.py +++ b/src/iota/multisig/commands/prepare_multisig_transfer.py @@ -76,6 +76,16 @@ class PrepareMultisigT...
[#<I>] Added some documentation.
py
diff --git a/src/feat/common/resolver.py b/src/feat/common/resolver.py index <HASH>..<HASH> 100644 --- a/src/feat/common/resolver.py +++ b/src/feat/common/resolver.py @@ -3,6 +3,7 @@ import socket from twisted.names import dns, client, resolve, cache, hosts as hostsModule from twisted.names.error import DomainError ...
Implement speaking with dns servers which refuse queries (retry to the other server).
py
diff --git a/python/ray/serve/_private/deployment_state.py b/python/ray/serve/_private/deployment_state.py index <HASH>..<HASH> 100644 --- a/python/ray/serve/_private/deployment_state.py +++ b/python/ray/serve/_private/deployment_state.py @@ -1230,7 +1230,8 @@ class DeploymentState: to_add = max(delta_repl...
[Serve] Fix grammar in deployment logs (#<I>)
py
diff --git a/utils/compare_mean_curves.py b/utils/compare_mean_curves.py index <HASH>..<HASH> 100644 --- a/utils/compare_mean_curves.py +++ b/utils/compare_mean_curves.py @@ -57,8 +57,13 @@ def compare_mean_curves(calc_ref, calc, nsigma=1): if not ok: md = (numpy.abs(mean[sl] - mean_ref[sl...
Plotting the error on the hazard curves [skip CI] Former-commit-id: cee4d8b<I>caac<I>f<I>c<I>ace<I>aeb
py
diff --git a/webdriver_test_tools/version.py b/webdriver_test_tools/version.py index <HASH>..<HASH> 100644 --- a/webdriver_test_tools/version.py +++ b/webdriver_test_tools/version.py @@ -1 +1 @@ -__version__ = '0.4.4' +__version__ = '0.4.5'
Bumped version up to <I>
py
diff --git a/pip_utils/outdated.py b/pip_utils/outdated.py index <HASH>..<HASH> 100644 --- a/pip_utils/outdated.py +++ b/pip_utils/outdated.py @@ -219,10 +219,11 @@ class ListCommand(object): else: return '%s (%s)' % (dist.project_name, dist.version) - def run_outdated(self, options): + @c...
Make ListCommand's run_outdated a class method
py
diff --git a/aws_google_auth/configuration.py b/aws_google_auth/configuration.py index <HASH>..<HASH> 100644 --- a/aws_google_auth/configuration.py +++ b/aws_google_auth/configuration.py @@ -2,6 +2,8 @@ import os import botocore.session +import six + try: from backports import configparser except ImportError...
Rely on six to resolve valid string types.
py
diff --git a/metpy/io/__init__.py b/metpy/io/__init__.py index <HASH>..<HASH> 100644 --- a/metpy/io/__init__.py +++ b/metpy/io/__init__.py @@ -1,10 +1,11 @@ # Copyright (c) 2015,2016,2018 MetPy Developers. # Distributed under the terms of the BSD 3-Clause License. # SPDX-License-Identifier: BSD-3-Clause -"""MetPy's ...
MNT: Make io module docstring conform to standards Picked up by pydocstyle <I>.
py
diff --git a/tests/test_read_simple_python.py b/tests/test_read_simple_python.py index <HASH>..<HASH> 100644 --- a/tests/test_read_simple_python.py +++ b/tests/test_read_simple_python.py @@ -956,3 +956,11 @@ except: compare(py, text) nb2 = jupytext.reads(py, 'py') compare_notebooks(nb2, nb) + + +def test...
Test the pattern described at #<I>
py
diff --git a/parler/forms.py b/parler/forms.py index <HASH>..<HASH> 100644 --- a/parler/forms.py +++ b/parler/forms.py @@ -1,5 +1,6 @@ from django import forms import django +from django.core.exceptions import ObjectDoesNotExist from django.forms.forms import BoundField from django.forms.models import ModelFormMeta...
Fix form handling of ForeignKey for django<<I> (amend PR #<I>)
py
diff --git a/adb/adb_debug.py b/adb/adb_debug.py index <HASH>..<HASH> 100755 --- a/adb/adb_debug.py +++ b/adb/adb_debug.py @@ -84,7 +84,8 @@ def List(self, device_path): @functools.wraps(adb_commands.AdbCommands.Logcat) def Logcat(self, *options): - return adb_commands.AdbCommands.Logcat(self, ' '.join(options)) +...
Remove the timeout for logcat from the CLI (#<I>)
py
diff --git a/can/interfaces/pcan/pcan.py b/can/interfaces/pcan/pcan.py index <HASH>..<HASH> 100644 --- a/can/interfaces/pcan/pcan.py +++ b/can/interfaces/pcan/pcan.py @@ -22,7 +22,10 @@ try: import uptime # boottime() and fromtimestamp() are timezone offset, so the difference is not. - boottimeEpoch = (u...
Handle case where uptime is imported successfully but does not return anything (#<I>)
py
diff --git a/autoslug/tests/tests.py b/autoslug/tests/tests.py index <HASH>..<HASH> 100644 --- a/autoslug/tests/tests.py +++ b/autoslug/tests/tests.py @@ -241,6 +241,12 @@ class AutoSlugFieldTestCase(TestCase): b = NonDeletableModelWithUniqueSlug.objects.create(name='My name') self.assertEqual(b.slug,...
Added test for fix in fe<I>d1
py
diff --git a/test_elasticsearch/test_server/test_rest_api_spec.py b/test_elasticsearch/test_server/test_rest_api_spec.py index <HASH>..<HASH> 100644 --- a/test_elasticsearch/test_server/test_rest_api_spec.py +++ b/test_elasticsearch/test_server/test_rest_api_spec.py @@ -365,6 +365,11 @@ class YamlRunner: )...
Fix unsigned long REST API tests
py
diff --git a/owslib/wcs.py b/owslib/wcs.py index <HASH>..<HASH> 100644 --- a/owslib/wcs.py +++ b/owslib/wcs.py @@ -20,16 +20,16 @@ from coverage import wcs100, wcs110, wcsBase def WebCoverageService(url, version=None, xml=None): ''' wcs factory function, returns a version specific WebCoverageService object ''' ...
The web coverage reader was being created twice by the WebCoverageService factory function - this was not necessary.
py
diff --git a/openquake/hazardlib/gsim/__init__.py b/openquake/hazardlib/gsim/__init__.py index <HASH>..<HASH> 100644 --- a/openquake/hazardlib/gsim/__init__.py +++ b/openquake/hazardlib/gsim/__init__.py @@ -50,8 +50,7 @@ def get_portable_gsims(): by class name. ''' portable = {} - for name, cls in sor...
Refined get_portable_gsims for use in phase 2 [ci skip]
py
diff --git a/tests/conftest.py b/tests/conftest.py index <HASH>..<HASH> 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -3,6 +3,13 @@ import os import pytest +@pytest.fixture(autouse=True, scope='function') +def clean_environment(): + """Ensure tests don't pollute each others' environment variables.""...
Ensure tests don't pollute each others' environment As much as possible, anyway...
py
diff --git a/vCenterShell/Bootstrapper.py b/vCenterShell/Bootstrapper.py index <HASH>..<HASH> 100644 --- a/vCenterShell/Bootstrapper.py +++ b/vCenterShell/Bootstrapper.py @@ -31,10 +31,10 @@ class Bootstrapper(object): resource_connection_details_retriev...
Bootstrapper was fixed to receive the correct pyvmomi instance
py
diff --git a/pyads/ads.py b/pyads/ads.py index <HASH>..<HASH> 100644 --- a/pyads/ads.py +++ b/pyads/ads.py @@ -497,6 +497,14 @@ class Connection(object): """Close on leaving with-block.""" self.close() + def __del__(self) -> None: + """Class destructor. + + Make sure to close the co...
Added destructor to pyads.Connection
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -45,6 +45,7 @@ setup( ], install_requires=install_requires, tests_require=tests_require, + python_requires='>=3.0', entry_points={ 'console_scripts': [ 'fierce = fierce.fierce:main'...
Add Python 3 requirement to setup.py
py
diff --git a/hwt/hdlObjects/types/enum.py b/hwt/hdlObjects/types/enum.py index <HASH>..<HASH> 100644 --- a/hwt/hdlObjects/types/enum.py +++ b/hwt/hdlObjects/types/enum.py @@ -19,9 +19,10 @@ class Enum(HdlType): super(Enum, self).__init__() self.name = name self._allValues = tuple(valueNames) ...
enum check if name for member is available
py
diff --git a/filterpy/kalman/tests/test_ukf.py b/filterpy/kalman/tests/test_ukf.py index <HASH>..<HASH> 100644 --- a/filterpy/kalman/tests/test_ukf.py +++ b/filterpy/kalman/tests/test_ukf.py @@ -68,12 +68,12 @@ def test_julier_weights(): def test_wan_merle_weights(): for n in range(1,5): - for alpha in n...
Added example, unit test fix. I really think there is a problem with the scaled UT formulation as it produces wacky results with the recommendations given in the literature. Hence, the test currently fails. Added canonical 'bearing only' example for UKF.
py
diff --git a/plop/collector.py b/plop/collector.py index <HASH>..<HASH> 100644 --- a/plop/collector.py +++ b/plop/collector.py @@ -81,7 +81,7 @@ class CollectorFormatter(object): def store(self, collector, filename): with open(filename, "wb") as f: - f.write(self.format(collector)) + ...
PY3: Use `encode` when writing to binary file
py
diff --git a/zimsoap/utils.py b/zimsoap/utils.py index <HASH>..<HASH> 100644 --- a/zimsoap/utils.py +++ b/zimsoap/utils.py @@ -38,7 +38,8 @@ def wrap_el(element): request tag, we can't push it "as-is", so we wrap it inside some fake <l></l> tag. - FIXME: should patch pysimplesoap instead + FIXME: shou...
just comment about issue in pysimplesoap
py
diff --git a/hazelcast/protocol/client_message.py b/hazelcast/protocol/client_message.py index <HASH>..<HASH> 100644 --- a/hazelcast/protocol/client_message.py +++ b/hazelcast/protocol/client_message.py @@ -56,7 +56,7 @@ class ClientMessage(object): self.buffer = bytearray(HEADER_SIZE + payload_size) ...
fixed typo in client_message._retryable
py
diff --git a/hotdoc/utils/utils.py b/hotdoc/utils/utils.py index <HASH>..<HASH> 100644 --- a/hotdoc/utils/utils.py +++ b/hotdoc/utils/utils.py @@ -20,9 +20,8 @@ Toolbox """ -import collections -# pylint: disable=no-name-in-module -from collections import OrderedDict, Callable +from collections import OrderedDict +f...
fix DeprecationWarnings for collections.abc i.e. use it; it's available since long before the earliest version of python this project supports, and importing the ABCs directly from 'collections' will stop working soon.
py
diff --git a/nion/swift/model/DocumentModel.py b/nion/swift/model/DocumentModel.py index <HASH>..<HASH> 100644 --- a/nion/swift/model/DocumentModel.py +++ b/nion/swift/model/DocumentModel.py @@ -1115,6 +1115,11 @@ class DocumentModel(Observable.Observable, ReferenceCounting.ReferenceCounted, P # TODO: close ot...
Improve how data item references get shutdown at document close. This help prevent the data item references from being in sleep mode while the document is closed (happens frequently during tests) and then waking up and trying to use the data item. This is an imperfect solution, but works until threading is cleaned up.
py
diff --git a/django_generate_secret_key/management/commands/generate_secret_key.py b/django_generate_secret_key/management/commands/generate_secret_key.py index <HASH>..<HASH> 100644 --- a/django_generate_secret_key/management/commands/generate_secret_key.py +++ b/django_generate_secret_key/management/commands/generate...
All arguments should be mentioned in Django >=<I> It's now mandatory for BaseCommand class to add all positional arguments defenition. We got the following result on 2.x without definition: ./manage.py generate_secret_key azaza.txt manage.py generate_secret_key: error: unrecognized arguments: azaza.txt
py
diff --git a/glue_vispy_viewers/volume/volume_viewer.py b/glue_vispy_viewers/volume/volume_viewer.py index <HASH>..<HASH> 100644 --- a/glue_vispy_viewers/volume/volume_viewer.py +++ b/glue_vispy_viewers/volume/volume_viewer.py @@ -92,13 +92,21 @@ class VispyVolumeViewer(BaseVispyViewer): return True def...
Fix overlay of marker subsets on top of volume renderings
py
diff --git a/salt/modules/rpm.py b/salt/modules/rpm.py index <HASH>..<HASH> 100644 --- a/salt/modules/rpm.py +++ b/salt/modules/rpm.py @@ -62,6 +62,13 @@ def bin_pkg_info(path, saltenv='base'): saltenv : base Salt fileserver envrionment from which to retrieve the package. Ignored if ``path`` is a...
Added example docstring to fix test failures
py
diff --git a/src/requirementslib/models/setup_info.py b/src/requirementslib/models/setup_info.py index <HASH>..<HASH> 100644 --- a/src/requirementslib/models/setup_info.py +++ b/src/requirementslib/models/setup_info.py @@ -232,7 +232,6 @@ class SetupInfo(object): _setup_stop_after = "run" ...
Fix compilation of requirement names for all python versions
py
diff --git a/tests/test_core_data.py b/tests/test_core_data.py index <HASH>..<HASH> 100644 --- a/tests/test_core_data.py +++ b/tests/test_core_data.py @@ -69,8 +69,10 @@ class CoreDataTest(unittest.TestCase): rubbish = proj.get_child_by_name('Something that doesnt exist') self.assertEqual(str(rubbish)...
test for core_data contract which just rolls up
py
diff --git a/astroid/nodes/node_ng.py b/astroid/nodes/node_ng.py index <HASH>..<HASH> 100644 --- a/astroid/nodes/node_ng.py +++ b/astroid/nodes/node_ng.py @@ -174,17 +174,15 @@ class NodeNG: yield from context.inferred[key] return - generator = self._infer(context=context, **kwargs) ...
Minor performance improvements to ``NodeNG.infer``
py
diff --git a/test/core/document/test_serialization.py b/test/core/document/test_serialization.py index <HASH>..<HASH> 100644 --- a/test/core/document/test_serialization.py +++ b/test/core/document/test_serialization.py @@ -1,5 +1,7 @@ # encoding: utf-8 +import pytest + from marrow.mongo import Document from marrow...
Added argument clobbering test.
py