diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/ryu/tests/integrated/test_request_reply_v12.py b/ryu/tests/integrated/test_request_reply_v12.py index <HASH>..<HASH> 100644 --- a/ryu/tests/integrated/test_request_reply_v12.py +++ b/ryu/tests/integrated/test_request_reply_v12.py @@ -808,8 +808,8 @@ class RunTest(tester.TestFlowBase): duration...
test: tuning integration test for OFPT_FLOW_REMOVED tuning grace sec of tests for OFPT_FLOW_REMOVED. Sometimes, we will received the OFPT_FLOW_REMOVED message before rewirte the duration time of the ofp_flow_removed by the switch.
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 @@ -2746,20 +2746,22 @@ class MainWindow(QMainWindow): self.tour.start_tour() # ---- Global File Switcher - def open_fileswitcher(self): + ...
Symbolfinder changes plugin to the Editor.
py
diff --git a/paramiko/transport.py b/paramiko/transport.py index <HASH>..<HASH> 100644 --- a/paramiko/transport.py +++ b/paramiko/transport.py @@ -1530,6 +1530,10 @@ class Transport (threading.Thread): # indefinitely, creating a GC cycle and not letting Transport ever be # GC'd. it's a bug in Thread.)...
Fix #<I>: hide interpreter-death threading exceptions (cherry picked from commit <I>d2e<I>bf<I>ccc<I>e1f<I>e5db<I>a<I>ba0)
py
diff --git a/photon.py b/photon.py index <HASH>..<HASH> 100644 --- a/photon.py +++ b/photon.py @@ -401,7 +401,7 @@ with open('%s/intel.txt' % name, 'w+') as f: f.write(str(x.encode('utf-8')) + '\n') with open('%s/robots.txt' % name, 'w+') as f: - for x in storage: + for x in robots: f.write(s...
Fixed issue with robots.txt file generation
py
diff --git a/scapy/contrib/automotive/doip.py b/scapy/contrib/automotive/doip.py index <HASH>..<HASH> 100644 --- a/scapy/contrib/automotive/doip.py +++ b/scapy/contrib/automotive/doip.py @@ -289,10 +289,12 @@ class DoIPSocket(StreamSocket): resp.routing_activation_response == 0x10: self.ta...
Cleanup of DoIPSocket. Remove print()
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -23,9 +23,9 @@ requirements = [ setup( name='pipreqs', version=__version__, - description="Pip requirements.txt generator based on imports in project", + description='Pip requirements.txt generator based on im...
Use single quotes consistently in setup.py
py
diff --git a/spyder/widgets/figurebrowser.py b/spyder/widgets/figurebrowser.py index <HASH>..<HASH> 100644 --- a/spyder/widgets/figurebrowser.py +++ b/spyder/widgets/figurebrowser.py @@ -306,6 +306,7 @@ class FigureViewer(QScrollArea): """Set a new figure in the figure canvas.""" self.figcanvas.load_f...
Force a repaint in the viewer after switching fig
py
diff --git a/bingmaps/urlschema/__init__.py b/bingmaps/urlschema/__init__.py index <HASH>..<HASH> 100644 --- a/bingmaps/urlschema/__init__.py +++ b/bingmaps/urlschema/__init__.py @@ -3,3 +3,9 @@ from .location_by_address_schema import ( LocationByAddressQueryString, LocationByAddressUrl ) + +from .location_b...
*MAGIC*: Imported location_by_point schemas and url methods to bingmaps.urlschema
py
diff --git a/tests/modules/qemu/test_qemu_vm.py b/tests/modules/qemu/test_qemu_vm.py index <HASH>..<HASH> 100644 --- a/tests/modules/qemu/test_qemu_vm.py +++ b/tests/modules/qemu/test_qemu_vm.py @@ -278,6 +278,17 @@ def test_build_command(vm, loop, fake_qemu_binary, port_manager): ] +def test_build_command...
Add a test for KVM support
py
diff --git a/fauxtograph/fauxtograph.py b/fauxtograph/fauxtograph.py index <HASH>..<HASH> 100755 --- a/fauxtograph/fauxtograph.py +++ b/fauxtograph/fauxtograph.py @@ -912,7 +912,8 @@ class GAN(object): serializers.load_hdf5(disc_opt, loaded_class.disc_opt) if meta['flag_gpu']: - loaded_cl...
Fixed load methods for GAN and VAEGAN.
py
diff --git a/tweepy/error.py b/tweepy/error.py index <HASH>..<HASH> 100644 --- a/tweepy/error.py +++ b/tweepy/error.py @@ -13,7 +13,7 @@ class TweepError(Exception): self.reason = six.text_type(reason) self.response = response self.api_code = api_code - super(TweepError, self).__init__...
Fix super usage in TweepError initialization
py
diff --git a/imgaug/imgaug.py b/imgaug/imgaug.py index <HASH>..<HASH> 100644 --- a/imgaug/imgaug.py +++ b/imgaug/imgaug.py @@ -812,8 +812,10 @@ def angle_between_vectors(v1, v2): 3.141592... """ - v1_u = v1 / np.linalg.norm(v1) - v2_u = v2 / np.linalg.norm(v2) + l1 = np.linalg.norm(v1) + l2 = np...
Fix div by zero in angle_between_vectors()
py
diff --git a/nion/swift/Facade.py b/nion/swift/Facade.py index <HASH>..<HASH> 100644 --- a/nion/swift/Facade.py +++ b/nion/swift/Facade.py @@ -74,6 +74,9 @@ from nion.ui import CanvasItem as CanvasItemModule from nion.ui import Declarative from nion.utils import Geometry +if typing.TYPE_CHECKING: + from nion.swi...
Add some minor typing to Facade.
py
diff --git a/kconfiglib.py b/kconfiglib.py index <HASH>..<HASH> 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -2217,10 +2217,6 @@ class _Block(object): return strings - def add_depend_expr(self, expr): - for item in self.items: - item.add_depend_expr(expr) - class Item(object): ...
Remove _Block.add_depend_expr() -- unused. The entire _Block class is probably up next.
py
diff --git a/src/binwalk/plugins/lzmaextract.py b/src/binwalk/plugins/lzmaextract.py index <HASH>..<HASH> 100644 --- a/src/binwalk/plugins/lzmaextract.py +++ b/src/binwalk/plugins/lzmaextract.py @@ -36,7 +36,9 @@ class LZMAExtractPlugin(binwalk.core.plugin.Plugin): cmd=se...
Added lzma warning if extraction is attempted without the lzma module installed
py
diff --git a/asv/commands/publish.py b/asv/commands/publish.py index <HASH>..<HASH> 100644 --- a/asv/commands/publish.py +++ b/asv/commands/publish.py @@ -79,10 +79,6 @@ class Publish(object): params[key].add(val) for key, val in six.iteritems(results.results): - ...
Don't include "none" dependencies
py
diff --git a/chatterbot/ext/sqlalchemy_app/models.py b/chatterbot/ext/sqlalchemy_app/models.py index <HASH>..<HASH> 100644 --- a/chatterbot/ext/sqlalchemy_app/models.py +++ b/chatterbot/ext/sqlalchemy_app/models.py @@ -41,7 +41,7 @@ class Tag(Base): A tag that describes a statement. """ - name = Column(U...
support for mysql with sqlalchemy 1. pip3 install --upgrade pymysql 2. database_uri="mysql+pymysql://root:root@localhost/test?charset=utf8mb4" work well for me!
py
diff --git a/test/test_file.py b/test/test_file.py index <HASH>..<HASH> 100644 --- a/test/test_file.py +++ b/test/test_file.py @@ -7,7 +7,7 @@ from __future__ import absolute_import, unicode_literals import itertools -import platform +import platform # noqa: W0611 import random import pytest
Suppress a warning by pycodestyle
py
diff --git a/tests/fetch/test_fetch.py b/tests/fetch/test_fetch.py index <HASH>..<HASH> 100644 --- a/tests/fetch/test_fetch.py +++ b/tests/fetch/test_fetch.py @@ -134,6 +134,13 @@ deb http://archive.ubuntu.com/ubuntu precise-proposed main universe multiverse r @patch.object(fetch, 'config') @patch.object(fe...
RED: configure_sources can add a single source without a key.
py
diff --git a/codenerix/__init__.py b/codenerix/__init__.py index <HASH>..<HASH> 100644 --- a/codenerix/__init__.py +++ b/codenerix/__init__.py @@ -1 +1 @@ -__version__ = "1.0.9" +__version__ = "1.0.10"
New version pushed to pypi
py
diff --git a/GPy/likelihoods/__init__.py b/GPy/likelihoods/__init__.py index <HASH>..<HASH> 100644 --- a/GPy/likelihoods/__init__.py +++ b/GPy/likelihoods/__init__.py @@ -1,6 +1,6 @@ from .bernoulli import Bernoulli from .exponential import Exponential -from .gaussian import Gaussian, Heteroscedastic_Gaussian +from ....
[hetnoise] import correction
py
diff --git a/abilian/services/security/service.py b/abilian/services/security/service.py index <HASH>..<HASH> 100644 --- a/abilian/services/security/service.py +++ b/abilian/services/security/service.py @@ -55,10 +55,11 @@ def require_flush(fun): @wraps(fun) def ensure_flushed(service, *args, **kwargs): if s...
security service/ensure_flushed() decorator: check if session is currently flushing
py
diff --git a/rhaptos/cnxmlutils/odt2cnxml.py b/rhaptos/cnxmlutils/odt2cnxml.py index <HASH>..<HASH> 100644 --- a/rhaptos/cnxmlutils/odt2cnxml.py +++ b/rhaptos/cnxmlutils/odt2cnxml.py @@ -192,6 +192,9 @@ def main(): invalids = validate(xml) if invalids: print >> sys.stderr, invalids print etree.tost...
returns exit code if resulting cnxml does not validate
py
diff --git a/allel/stats/ld.py b/allel/stats/ld.py index <HASH>..<HASH> 100644 --- a/allel/stats/ld.py +++ b/allel/stats/ld.py @@ -262,7 +262,7 @@ def plot_pairwise_ld(m, colorbar=True, ax=None, imshow_kwargs=None): # set up axes if ax is None: # make a square figure with enough pixels to represent e...
get DPI; resolves #<I>
py
diff --git a/pymummer/__init__.py b/pymummer/__init__.py index <HASH>..<HASH> 100644 --- a/pymummer/__init__.py +++ b/pymummer/__init__.py @@ -3,6 +3,7 @@ __all__ = [ 'coords_file', 'nucmer', 'snp', + 'snp_file', 'variant', ]
Add snp_file to list of modules
py
diff --git a/greenhouse/io.py b/greenhouse/io.py index <HASH>..<HASH> 100644 --- a/greenhouse/io.py +++ b/greenhouse/io.py @@ -219,11 +219,24 @@ class File(object): else: raise - self._readable = utils.Event() - self._writable = utils.Event() if not hasattr(state, ...
pick the best method of waiting based on whether our polling interface supports filesystem file descriptors
py
diff --git a/scout/adapter/variant_handler.py b/scout/adapter/variant_handler.py index <HASH>..<HASH> 100644 --- a/scout/adapter/variant_handler.py +++ b/scout/adapter/variant_handler.py @@ -258,10 +258,11 @@ class VariantHandler(object): def overlapping(self, variant_obj): category = 'sv' if variant_ob...
get overlapping variants on the gene
py
diff --git a/pandas/tests/series/test_apply.py b/pandas/tests/series/test_apply.py index <HASH>..<HASH> 100644 --- a/pandas/tests/series/test_apply.py +++ b/pandas/tests/series/test_apply.py @@ -576,3 +576,14 @@ class TestSeriesMap(TestData): result = s.map(f) exp = pd.Series(['Asia/Tokyo'] * 25, name...
TST: Added test for mapping on mixed NA (#<I>) Closes #<I>
py
diff --git a/awacs/aws.py b/awacs/aws.py index <HASH>..<HASH> 100644 --- a/awacs/aws.py +++ b/awacs/aws.py @@ -3,7 +3,6 @@ # # See LICENSE file for full license. -import warnings from abc import ABCMeta, abstractmethod from typing import Any, Dict, List, Optional, Union @@ -90,18 +89,6 @@ class BaseARN(AWSHelpe...
Remove aws.ARN Remove aws.ARN which has had a FutureWarning for some time. Either use a service specific ARN class, or use the BaseARN class.
py
diff --git a/faker/utils/loading.py b/faker/utils/loading.py index <HASH>..<HASH> 100644 --- a/faker/utils/loading.py +++ b/faker/utils/loading.py @@ -22,7 +22,7 @@ def get_path(module: ModuleType) -> str: else: # unfrozen path = Path(module.__file__).parent - return path + return str(path)...
Fix faker module loader to use strings rather than Paths (#<I>) Fix faker.utils.loading.get_path() to return str rather than Path subtype. This fixes Faker incorrectly adding Path instances to sys.path_importer_cache that breaks other packages, namely astroid. This also makes the function's return value consistent...
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,13 +4,23 @@ from setuptools import setup, find_packages setup( name="daemonize", - version="2.1.1", + version="2.2", py_modules=["daemonize"], - author="Ilya A. Otyutskiy", - author_email="sharp@the...
New version: <I>. - Add classifiers to setup.py. - Drop Python <I> support. - Add Python <I>. support. - Reformat comments to <I> chars word wrap.
py
diff --git a/holoviews/core/tree.py b/holoviews/core/tree.py index <HASH>..<HASH> 100644 --- a/holoviews/core/tree.py +++ b/holoviews/core/tree.py @@ -199,7 +199,9 @@ class AttrTree(object): return super(AttrTree, self).__getattr__(identifier) except AttributeError: pass - if self.fixed==...
Disallowed creation of AttrTree __ methods via getattr
py
diff --git a/OpenPNM/Base/__Controller__.py b/OpenPNM/Base/__Controller__.py index <HASH>..<HASH> 100644 --- a/OpenPNM/Base/__Controller__.py +++ b/OpenPNM/Base/__Controller__.py @@ -453,12 +453,12 @@ class Controller(dict): self.clear() net = _copy.deepcopy(network) self.update(net) - ...
Tweaks to the clone_simulation logic to prevent repeated renaming of new objects.
py
diff --git a/tests/test_views.py b/tests/test_views.py index <HASH>..<HASH> 100644 --- a/tests/test_views.py +++ b/tests/test_views.py @@ -80,3 +80,13 @@ class ActivationViewTest(TestCase): new_user = get_user_model().objects.get(email=self.user_data['email']) self.assertTrue(new_user.is_active) + +...
Add test for checking if activation view fails as expected with bad activation key
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,12 +2,12 @@ from setuptools import setup, find_packages setup( name="terraform_validate", - version="1.0", + version="1.1", author="Edmund Dipple", author_email="elmundio1987@gmail.com", descrip...
update setup for <I> release
py
diff --git a/python/phonenumbers/__init__.py b/python/phonenumbers/__init__.py index <HASH>..<HASH> 100644 --- a/python/phonenumbers/__init__.py +++ b/python/phonenumbers/__init__.py @@ -146,7 +146,7 @@ from .phonenumbermatcher import PhoneNumberMatch, PhoneNumberMatcher, Leniency # Version number is taken from the ...
Prep for <I> release
py
diff --git a/ipyrad/assemble/consens_se.py b/ipyrad/assemble/consens_se.py index <HASH>..<HASH> 100644 --- a/ipyrad/assemble/consens_se.py +++ b/ipyrad/assemble/consens_se.py @@ -694,8 +694,8 @@ def run(data, samples, force, ipyclient): "(max alleles = {})".\ format(data.params...
fixed unicode bug in output that was crashing on mac
py
diff --git a/skosprovider/providers.py b/skosprovider/providers.py index <HASH>..<HASH> 100644 --- a/skosprovider/providers.py +++ b/skosprovider/providers.py @@ -116,11 +116,12 @@ class VocabularyProvider: * `id`: The id of a collection. Required. * `depth`: Can be `members` or `all...
SKOS Collections can also be members of another collection.
py
diff --git a/pymatgen/core/structure.py b/pymatgen/core/structure.py index <HASH>..<HASH> 100644 --- a/pymatgen/core/structure.py +++ b/pymatgen/core/structure.py @@ -1451,7 +1451,7 @@ class IStructure(SiteCollection, MSONable): redundant.append(it2) # delete the redundant ne...
Fixed a bug deleting redundant bonds. Forgot to invert the mask that deletes the redundant bonds. Now it actually deletes the redundant ones and not the non redundant bonds (the same in many cases, but anyway.)
py
diff --git a/drivers/python/rethinkdb/ast.py b/drivers/python/rethinkdb/ast.py index <HASH>..<HASH> 100644 --- a/drivers/python/rethinkdb/ast.py +++ b/drivers/python/rethinkdb/ast.py @@ -313,6 +313,9 @@ class RqlQuery(object): elif isinstance(index, types.StringTypes): return GetField(self, index)...
raise exception for iterative operations on RqlQuery
py
diff --git a/awkward/array/jagged.py b/awkward/array/jagged.py index <HASH>..<HASH> 100644 --- a/awkward/array/jagged.py +++ b/awkward/array/jagged.py @@ -764,13 +764,12 @@ class JaggedArray(awkward.array.base.AwkwardArray): indexes = awkward.util.numpy.arange(offsets[-1], dtype=awkward.util.INDEXTYPE) ...
parents[indexes] is always just parents
py
diff --git a/tests/test_video.py b/tests/test_video.py index <HASH>..<HASH> 100644 --- a/tests/test_video.py +++ b/tests/test_video.py @@ -66,6 +66,8 @@ def test_video_Movie_getStreamURL(movie, account): def test_video_Movie_isFullObject_and_reload(plex): movie = plex.library.section("Movies").get("Sita Sings the...
Add test for partial reload with disabled include
py
diff --git a/LiSE/rule.py b/LiSE/rule.py index <HASH>..<HASH> 100644 --- a/LiSE/rule.py +++ b/LiSE/rule.py @@ -154,7 +154,7 @@ class RuleBook(MutableSequence): if self.engine.caching: self._cache = [ self.engine.rule[rule] for rule in - self.engine.db.rulebook_rules...
Turns out those other caches actually did help, I was just testing wrong. Anyway fix typos
py
diff --git a/pipreqs/pipreqs.py b/pipreqs/pipreqs.py index <HASH>..<HASH> 100755 --- a/pipreqs/pipreqs.py +++ b/pipreqs/pipreqs.py @@ -166,8 +166,8 @@ def init(args): os.path.join(args['<path>'], "requirements.txt")) if not args["--savepath"] and not args["--force"] and os.path.exists(path): - ...
Modify logging level of "Requirement.txt already exists" to warning
py
diff --git a/tests/test_macros.py b/tests/test_macros.py index <HASH>..<HASH> 100644 --- a/tests/test_macros.py +++ b/tests/test_macros.py @@ -119,3 +119,17 @@ def test_mcrz_gray_n(theta, n): assert np.allclose( circuit_to_unitary(Circuit().mcrz_gray(theta, list(range(n)), n)), expected) + + +@py...
TST: Add tests for mcr
py
diff --git a/tests/test_templates.py b/tests/test_templates.py index <HASH>..<HASH> 100644 --- a/tests/test_templates.py +++ b/tests/test_templates.py @@ -311,7 +311,7 @@ def test_user_module_imported(pygen_output_dir): c1 = EClass('MyClass') rootpkg.eClassifiers.append(c1) - with pytest.raises(ModuleNot...
using preexisting base exception For python <I>- compatibility.
py
diff --git a/openquake/utils/stats.py b/openquake/utils/stats.py index <HASH>..<HASH> 100644 --- a/openquake/utils/stats.py +++ b/openquake/utils/stats.py @@ -123,9 +123,9 @@ def failure_counters(job_id, area=None): assert area is None or area in ("g", "h", "r"), "Invalid area." if area: - pattern = ...
utils/stats: Fixed failure counters, so when a task fails the supervisor will actually terminate the job (after a timeout period, which I still don't like, but at least this is an improvement). Former-commit-id: <I>e1b2e<I>bd<I>e<I>d<I>d4e8de<I>dc7f<I>
py
diff --git a/tests/test_maps.py b/tests/test_maps.py index <HASH>..<HASH> 100644 --- a/tests/test_maps.py +++ b/tests/test_maps.py @@ -28,6 +28,10 @@ def test_get_named_map_error(named_map_manager): def test_named_map_methods(named_map_manager): + n = NamedMap(named_map_manager.client) + n.template_id = 'pyt...
ensuring non existing named maps before creation
py
diff --git a/ploy/plain.py b/ploy/plain.py index <HASH>..<HASH> 100644 --- a/ploy/plain.py +++ b/ploy/plain.py @@ -133,7 +133,7 @@ class Instance(BaseInstance): except subprocess.CalledProcessError as e: log.error("Couldn't get fingerprint from '%s':\n%s" % (path, e)) ...
Fix encoding issue on Python 3.
py
diff --git a/pipenv/patched/pew/pew.py b/pipenv/patched/pew/pew.py index <HASH>..<HASH> 100644 --- a/pipenv/patched/pew/pew.py +++ b/pipenv/patched/pew/pew.py @@ -215,6 +215,8 @@ def shell(env, cwd=None): inve(env, shell, '-c', shell_check) except CalledProcessError: return + if sh...
Addeds environment name to PROMPT on Cmd, Cmder,ConEmu
py
diff --git a/xarray/core/dataset.py b/xarray/core/dataset.py index <HASH>..<HASH> 100644 --- a/xarray/core/dataset.py +++ b/xarray/core/dataset.py @@ -2657,13 +2657,7 @@ class Dataset(Mapping, ImplementsDatasetReduce, DataWithCoords): continue if isinstance(v, pd.MultiIndex): ...
small simplification of rename from #<I> (#<I>)
py
diff --git a/sllurp/test.py b/sllurp/test.py index <HASH>..<HASH> 100644 --- a/sllurp/test.py +++ b/sllurp/test.py @@ -48,11 +48,16 @@ class mock_conn (object): def write (self, mybytes): pass +class FauxClient (object): + def __init__ (self): + self.reader_mode = {'ModeIdentifier': 'M4', 'Max...
fix travis run with a little more test mockage
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -1,7 +1,6 @@ #!/usr/bin/env python import os -import platform import sys try: @@ -35,14 +34,6 @@ requirements = [ 'whichcraft>=0.1.1' ] -# Use PyYAML for 2.7 on Windows, ruamel.yaml everywhere else -PY2 = sys.v...
Fix conditional dependencies for wheels in setup.py
py
diff --git a/polysquarelinter/linter.py b/polysquarelinter/linter.py index <HASH>..<HASH> 100644 --- a/polysquarelinter/linter.py +++ b/polysquarelinter/linter.py @@ -43,6 +43,7 @@ from polysquarelinter.spelling import (Dictionary, spellcheckable_and_shadow_contents, ...
linter: Suppress error about import order Two different versions of pylint disagree
py
diff --git a/intercom/minions/arduino.py b/intercom/minions/arduino.py index <HASH>..<HASH> 100644 --- a/intercom/minions/arduino.py +++ b/intercom/minions/arduino.py @@ -37,7 +37,11 @@ class ArduinoMinion(Minion): self.setup() def setup(self): - self.serial = serial.Serial('/dev/ttyUSB1') + ...
[fix] Fixed USB port renaming
py
diff --git a/i18n/tests/translation_tests.py b/i18n/tests/translation_tests.py index <HASH>..<HASH> 100644 --- a/i18n/tests/translation_tests.py +++ b/i18n/tests/translation_tests.py @@ -60,7 +60,7 @@ class TestTranslationFormat(unittest.TestCase): def test_fallback_from_resource(self): config.set('fall...
Fix unicode issue in tests.
py
diff --git a/kitnirc/client.py b/kitnirc/client.py index <HASH>..<HASH> 100644 --- a/kitnirc/client.py +++ b/kitnirc/client.py @@ -629,7 +629,7 @@ def _parse_msg(client, command, actor, args): recipient, _, message = args.partition(' :') chantypes = client.server.features.get("CHANTYPES", "#") if recipie...
Convert one more instance to get_channel
py
diff --git a/pandas/tests/resample/test_datetime_index.py b/pandas/tests/resample/test_datetime_index.py index <HASH>..<HASH> 100644 --- a/pandas/tests/resample/test_datetime_index.py +++ b/pandas/tests/resample/test_datetime_index.py @@ -540,11 +540,14 @@ def test_upsample_with_limit(): tm.assert_series_equal(res...
TST: add pattern for nearest (#<I>)
py
diff --git a/zengine/management_commands.py b/zengine/management_commands.py index <HASH>..<HASH> 100644 --- a/zengine/management_commands.py +++ b/zengine/management_commands.py @@ -277,6 +277,7 @@ class ExtractTranslations(Command): extractor.keywords.update({ 'gettext_lazy': extractor.k...
ADD extractor double underscore for gettexy lazy imports
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,5 @@ import os -from setuptools import setup +from setuptools import setup, find_packages import python_utils if os.path.isfile('README.rst'): @@ -15,12 +15,10 @@ setup( description=python_utils.__description...
replaced static package with find_packages
py
diff --git a/peppy/sample.py b/peppy/sample.py index <HASH>..<HASH> 100644 --- a/peppy/sample.py +++ b/peppy/sample.py @@ -473,10 +473,9 @@ class Sample(PathExAttMap): _LOGGER.debug("Post-glob: %s", val) except Exception as e: - _LOGGER.error("Cannot correctly format data source (...
add more detail to the message; #<I>
py
diff --git a/sos/plugins/cman.py b/sos/plugins/cman.py index <HASH>..<HASH> 100644 --- a/sos/plugins/cman.py +++ b/sos/plugins/cman.py @@ -26,7 +26,6 @@ class Cman(Plugin, RedHatPlugin): packages = [ "luci", - "ricci", "cman", "clusterlib", ] @@ -45,7 +44,6 @@ class Cman(Pl...
[cman] drop deprecated ricci ricci is deprecated, remove it from package list and stop collecting /var/lib/ricci
py
diff --git a/doc/conf.py b/doc/conf.py index <HASH>..<HASH> 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -25,7 +25,7 @@ from katcp import __version__ # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. -extensions = ['sph...
Change Sphinx pngmath extension to imgmath The `pngmath` extension has been replaced by `imgmath` since <I> (currently readthedocs.org is using Sphinx <I>).
py
diff --git a/indra/sources/cwms/processor.py b/indra/sources/cwms/processor.py index <HASH>..<HASH> 100644 --- a/indra/sources/cwms/processor.py +++ b/indra/sources/cwms/processor.py @@ -530,7 +530,8 @@ class CWMSProcessor(object): text=text, start=start, end=end, duration=duration) return tim...
Don't assume current year in timexes
py
diff --git a/pyte/screens.py b/pyte/screens.py index <HASH>..<HASH> 100644 --- a/pyte/screens.py +++ b/pyte/screens.py @@ -491,7 +491,7 @@ class Screen(object): line[self.cursor.x] = self.cursor.attrs._replace(data=char) if self.cursor.x + 1 < self.columns: line[se...
Use empty string for a stub in ``Screen.draw``
py
diff --git a/discord/channel.py b/discord/channel.py index <HASH>..<HASH> 100644 --- a/discord/channel.py +++ b/discord/channel.py @@ -110,6 +110,11 @@ class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, Hashable): """Returns a list of :class:`Member` that can see this channel.""" ret...
Add TextChannel.is_nsfw method to check for NSFW channels.
py
diff --git a/src/armet/connectors/sqlalchemy/resources.py b/src/armet/connectors/sqlalchemy/resources.py index <HASH>..<HASH> 100644 --- a/src/armet/connectors/sqlalchemy/resources.py +++ b/src/armet/connectors/sqlalchemy/resources.py @@ -68,6 +68,23 @@ class ModelResource(object): elif operation == constants....
Add some more op support.
py
diff --git a/nolds/test_measures.py b/nolds/test_measures.py index <HASH>..<HASH> 100644 --- a/nolds/test_measures.py +++ b/nolds/test_measures.py @@ -319,6 +319,9 @@ class TestNoldsCorrDim(unittest.TestCase): # TODO this test fails when you do not have sklearn installed self.assertAlmostEqual(cd, 0.2, delta=...
adds TODOs for additional tests
py
diff --git a/slackbot/dispatcher.py b/slackbot/dispatcher.py index <HASH>..<HASH> 100644 --- a/slackbot/dispatcher.py +++ b/slackbot/dispatcher.py @@ -98,7 +98,7 @@ class MessageDispatcher(object): default_reply = [ u'Bad command "%s", You can ask me one of the following questions:\n' % msg['text'...
fixed one more uff issues and changed the solution to the one suggested by @dangra
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -45,6 +45,6 @@ setup(name='textfsm', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 3', 'Topic :: Software Development :: Libraries'], - requires=[], + requ...
Add 'six' to setup.py requirements (#<I>)
py
diff --git a/python_modules/dagster/dagster_tests/core_tests/storage_tests/utils/event_log_storage.py b/python_modules/dagster/dagster_tests/core_tests/storage_tests/utils/event_log_storage.py index <HASH>..<HASH> 100644 --- a/python_modules/dagster/dagster_tests/core_tests/storage_tests/utils/event_log_storage.py +++ ...
Remove unused imports from event log tests (#<I>)
py
diff --git a/tests/float/math_fun_special.py b/tests/float/math_fun_special.py index <HASH>..<HASH> 100644 --- a/tests/float/math_fun_special.py +++ b/tests/float/math_fun_special.py @@ -31,6 +31,6 @@ for function_name, function, test_vals in functions: print(function_name) for value in test_vals: tr...
tests: Fix math_fun_special test so it passes with single prec float.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup MAJOR = 0 -MINOR = 3 -MICRO = 0 +MINOR = 4 +MICRO = 1 VERSION = '%d.%d.%d' % (MAJOR, MINOR, MICRO) with open('README.md') as readme:
Update version to <I> for new required_attributes bugfix
py
diff --git a/lk.py b/lk.py index <HASH>..<HASH> 100755 --- a/lk.py +++ b/lk.py @@ -197,7 +197,7 @@ def search_worker(regex, directory_path, names, binary): except IOError: pass return result - except KeyboardInterrupt as e: + except KeyboardInterrupt, e: raise Keybo...
compatible with older pythons
py
diff --git a/examples/samples_tcod.py b/examples/samples_tcod.py index <HASH>..<HASH> 100644 --- a/examples/samples_tcod.py +++ b/examples/samples_tcod.py @@ -251,7 +251,7 @@ class LineDrawingSample(Sample): sample_console.width, sample_console.height, order="F" ) # initialize the colored...
Replace transpose with newaxis in samples.
py
diff --git a/carnifex/ssh/command.py b/carnifex/ssh/command.py index <HASH>..<HASH> 100644 --- a/carnifex/ssh/command.py +++ b/carnifex/ssh/command.py @@ -1,6 +1,6 @@ -from carnifex.command import Command +from carnifex.command import PosixCommand -class SSHCommand(Command): +class SSHCommand(PosixCommand): """R...
Have ssh commands inherit the power of posix commands
py
diff --git a/MRS/version.py b/MRS/version.py index <HASH>..<HASH> 100644 --- a/MRS/version.py +++ b/MRS/version.py @@ -4,7 +4,7 @@ _version_major = 0 _version_minor = 1 _version_micro = '' # use '' for first of series, number for 1 and above -#_version_extra = 'dev' +_version_extra = 'dev' _version_extra = '' # U...
Small tweak here. Need to tag and kick Travis back into gear.
py
diff --git a/spyder/plugins/plots/widgets/figurebrowser.py b/spyder/plugins/plots/widgets/figurebrowser.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/plots/widgets/figurebrowser.py +++ b/spyder/plugins/plots/widgets/figurebrowser.py @@ -774,6 +774,11 @@ class ThumbnailScrollBar(QFrame): thumbnail.show() ...
Plots: Scroll down to newest plot
py
diff --git a/src/ocrmypdf/leptonica.py b/src/ocrmypdf/leptonica.py index <HASH>..<HASH> 100644 --- a/src/ocrmypdf/leptonica.py +++ b/src/ocrmypdf/leptonica.py @@ -58,6 +58,24 @@ if not _libpath: --------------------------------------------------------------------- """ ) +if os.name == 'nt': + ...
load zlib before liblept on windows (#<I>) fixes #<I>
py
diff --git a/sublimedsl/keymap.py b/sublimedsl/keymap.py index <HASH>..<HASH> 100644 --- a/sublimedsl/keymap.py +++ b/sublimedsl/keymap.py @@ -260,11 +260,6 @@ class Context(): self.match_all = None self._parent = parent - for op in self._OPERATORS: - func = partial(self._operator,...
Fix wrongly defined operator methods in Context This is equivalent to method_missing in Ruby. A better solution would be to correctly define the methods dynamically on the class, but that's unnecessarily complicated. Python <I> added handy function partialmethod that would be ideal for this case, but I should keep sub...
py
diff --git a/osmnx/plot.py b/osmnx/plot.py index <HASH>..<HASH> 100644 --- a/osmnx/plot.py +++ b/osmnx/plot.py @@ -292,7 +292,8 @@ def plot_graph(G, bbox=None, fig_height=6, fig_width=None, margin=0.02, G : networkx multidigraph bbox : tuple bounding box as north,south,east,west - if None will calcul...
update docsting: if passing bbox to constrain plot, you should also pass margin=0
py
diff --git a/bcbio/variation/coverage.py b/bcbio/variation/coverage.py index <HASH>..<HASH> 100644 --- a/bcbio/variation/coverage.py +++ b/bcbio/variation/coverage.py @@ -12,13 +12,15 @@ from bcbio import utils from bcbio.distributed.transaction import file_transaction from bcbio.pipeline import datadict as dd from ...
Ensure inputs to chanjo are cleaned and sorted, attempting to avoid issues identified by @lbeltrame
py
diff --git a/tests/test_vcs.py b/tests/test_vcs.py index <HASH>..<HASH> 100644 --- a/tests/test_vcs.py +++ b/tests/test_vcs.py @@ -117,9 +117,9 @@ def test_clone_should_raise_if_vcs_not_installed(mocker, clone_dir): is installed. """ mocker.patch( - 'cookiecutter.vcs.which', + 'cookiecutter...
Mock vcs.is_vcs_installed instead of vcs.which in test
py
diff --git a/lib/python/ray/worker.py b/lib/python/ray/worker.py index <HASH>..<HASH> 100644 --- a/lib/python/ray/worker.py +++ b/lib/python/ray/worker.py @@ -207,7 +207,10 @@ def remote(arg_types, return_types, worker=global_worker): args.extend([kwargs[keyword] if kwargs.has_key(keyword) else default for keywo...
don't return empty list when there are no return values (#<I>)
py
diff --git a/mocket/mocket.py b/mocket/mocket.py index <HASH>..<HASH> 100644 --- a/mocket/mocket.py +++ b/mocket/mocket.py @@ -128,7 +128,7 @@ class MocketSocket(object): _bufsize = None def __init__( - self, family=socket.AF_INET, type=socket.SOCK_STREAM, proto=0, **kwargs + self, family=sock...
Bugfix. (#<I>)
py
diff --git a/lexicon/providers/hetzner.py b/lexicon/providers/hetzner.py index <HASH>..<HASH> 100644 --- a/lexicon/providers/hetzner.py +++ b/lexicon/providers/hetzner.py @@ -8,7 +8,6 @@ import re import time import requests from six import string_types -import tldextract from urllib3.util.retry import Retry # D...
Removed tldextract package
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100755 --- a/docs/conf.py +++ b/docs/conf.py @@ -118,15 +118,12 @@ modindex_common_prefix = ["django_mysql."] # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -try: - # When building locally, try ...
Use recommended method of checking if on readthedocs
py
diff --git a/systemd/test/test_daemon.py b/systemd/test/test_daemon.py index <HASH>..<HASH> 100644 --- a/systemd/test/test_daemon.py +++ b/systemd/test/test_daemon.py @@ -228,7 +228,9 @@ def test_notify_with_socket(tmpdir): path = tmpdir.join('socket').strpath sock = socket.socket(socket.AF_UNIX, socket.SOCK_...
test_daemon: Define a default value for SO_PASSCRED The socket module seems to be missing this in python<I>.
py
diff --git a/smartmin/tests.py b/smartmin/tests.py index <HASH>..<HASH> 100644 --- a/smartmin/tests.py +++ b/smartmin/tests.py @@ -43,10 +43,10 @@ class SmartminTest(TestCase): def assertLoginRedirect(self, response, msg=None): self.assertRedirect(response, settings.LOGIN_URL, msg) - def assertRedire...
assertRedirect should support <I>/<I>/<I> responses
py
diff --git a/importmagic/__init__.py b/importmagic/__init__.py index <HASH>..<HASH> 100644 --- a/importmagic/__init__.py +++ b/importmagic/__init__.py @@ -4,7 +4,7 @@ This module just exports the main API of importmagic. """ __author__ = 'Alec Thomas <alec@swapoff.org>' -__version__ = '0.2.0' +__version__ = '0.1.1'...
Set version to <I>.
py
diff --git a/gist/gist.py b/gist/gist.py index <HASH>..<HASH> 100644 --- a/gist/gist.py +++ b/gist/gist.py @@ -171,7 +171,7 @@ class GistAPI(object): self.send(request, id) @authenticate.get - def clone(self, request, id, name=''): + def clone(self, request, id, name=None): """Clone a gis...
gist: fixed cloning bug
py
diff --git a/pyinstrument/profiler.py b/pyinstrument/profiler.py index <HASH>..<HASH> 100644 --- a/pyinstrument/profiler.py +++ b/pyinstrument/profiler.py @@ -42,6 +42,10 @@ class Profiler(object): if self.use_signal: try: signal.signal(signal.SIGALRM, self._signal) + ...
Add signal.siginterrupt to restart interrupted system calls
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -73,6 +73,9 @@ install_requires = ['dimod>=0.6.7,<0.7.0', 'six>=1.11.0,<2.0.0' ] +setup_requires = ['numpy>=1.14.0,<1.15.0' + ] + _PY2 = sys.version_info.major == 2...
Add numpy to setup_requires
py
diff --git a/astrobase/hplc.py b/astrobase/hplc.py index <HASH>..<HASH> 100644 --- a/astrobase/hplc.py +++ b/astrobase/hplc.py @@ -396,6 +396,7 @@ def concatenate_textlcs(lclist, def concatenate_textlcs_for_objectid(lcbasedir, objectid, apertu...
hplc: concatenation: fix recursive search to include only specific postfixed files
py
diff --git a/otree_redwood/utils.py b/otree_redwood/utils.py index <HASH>..<HASH> 100644 --- a/otree_redwood/utils.py +++ b/otree_redwood/utils.py @@ -5,7 +5,7 @@ import time _timers = {} class DiscreteEventEmitter(): - def __init__(self, interval, period_length, group, callback): + def __init__(self, interva...
add start_immediate option to DiscreteEventEmitter behavior before was to wait one interval before firing the callback the first time start_immediate allows the first callback to be fired as soon as the timer is started
py
diff --git a/tests/integration/cloud/helpers/cloud_test_base.py b/tests/integration/cloud/helpers/cloud_test_base.py index <HASH>..<HASH> 100644 --- a/tests/integration/cloud/helpers/cloud_test_base.py +++ b/tests/integration/cloud/helpers/cloud_test_base.py @@ -123,7 +123,7 @@ class CloudTest(ShellCase): ...
Invert assertion to test for instance gone
py
diff --git a/openquake/server/dbserver.py b/openquake/server/dbserver.py index <HASH>..<HASH> 100644 --- a/openquake/server/dbserver.py +++ b/openquake/server/dbserver.py @@ -111,8 +111,7 @@ class DbServer(object): self.thread.join() -def runserver(dbpathport=None, loglevel='WARN', logfile=None): - ...
Turned logfile into a positional argument
py
diff --git a/pycdlib/pycdlib.py b/pycdlib/pycdlib.py index <HASH>..<HASH> 100644 --- a/pycdlib/pycdlib.py +++ b/pycdlib/pycdlib.py @@ -27,6 +27,7 @@ import io import os import struct import sys +import warnings try: from functools import lru_cache except ImportError: @@ -2741,10 +2742,12 @@ class PyCdlib(obje...
Disable deprecation warnings for inspect.getargspec. It is supported in Python 2 and 3, so we continue to use it. Ignore warnings for it.
py
diff --git a/cbpro/authenticated_client.py b/cbpro/authenticated_client.py index <HASH>..<HASH> 100644 --- a/cbpro/authenticated_client.py +++ b/cbpro/authenticated_client.py @@ -234,10 +234,10 @@ class AuthenticatedClient(PublicClient): # Limit order checks if order_type == 'limit': if k...
updated authenticated_client.py For place_order method 'time_in_force' was written as 'tif' - which is not a standard argument for the coinbase pro API.
py
diff --git a/master/buildbot/steps/trigger.py b/master/buildbot/steps/trigger.py index <HASH>..<HASH> 100644 --- a/master/buildbot/steps/trigger.py +++ b/master/buildbot/steps/trigger.py @@ -190,15 +190,16 @@ class Trigger(BuildStep): if isinstance(results, tuple): results, brids_dict = re...
steps/trigger: Avoid traceback for UnboundLocalError Avoid: File "buildbot/steps/trigger.py", line <I>, in worstStatus if set(unimportant_brids).issuperset(set(brids_dict.values())): builtins.UnboundLocalError: local variable 'brids_dict' referenced before assignment by rearranging the code so the variable is se...
py