diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -71,7 +71,7 @@ install_requires = [ "flufl.lock>=3.2,<4", "win-unicode-console>=0.5; sys_platform == 'win32'", "pywin32>=225; sys_platform == 'win32'", - "networkx>=2.1,<2.4", + "networkx>=2.1,<2.5", ...
Bump networkx (#<I>) To avoid conflict with <URL>
py
diff --git a/webvtt/parser.py b/webvtt/parser.py index <HASH>..<HASH> 100644 --- a/webvtt/parser.py +++ b/webvtt/parser.py @@ -43,7 +43,7 @@ class WebVTTParser: self.captions = [] with open(file, encoding='utf-8') as f: - lines = [line.strip() for line in f.readlines()] + lines...
Change stripping of blank characters in caption text only from the right
py
diff --git a/codespell.py b/codespell.py index <HASH>..<HASH> 100755 --- a/codespell.py +++ b/codespell.py @@ -179,7 +179,7 @@ def parse_file(filename, colors): if options.write_changes and misspellings[lword].fix: changed = True - lines[i - 1] = line.replace(w...
Do not override previous fix If there are two words misspelled in a line, codespell was detecting both, but when writing them to file only the latest was actually being fixed. This is because we used the wrong line string to fix them.
py
diff --git a/tests/test_widgets.py b/tests/test_widgets.py index <HASH>..<HASH> 100644 --- a/tests/test_widgets.py +++ b/tests/test_widgets.py @@ -4,11 +4,10 @@ from __future__ import division from __future__ import absolute_import from __future__ import print_function from __future__ import unicode_literals - from...
Fix missing import Why did I start editing code in a web browser?!
py
diff --git a/rfc5424logging/__init__.py b/rfc5424logging/__init__.py index <HASH>..<HASH> 100644 --- a/rfc5424logging/__init__.py +++ b/rfc5424logging/__init__.py @@ -1,6 +1,14 @@ -from .handler import Rfc5424SysLogHandler, NILVALUE +from .handler import Rfc5424SysLogHandler, TlsRfc5424SysLogHandler, NILVALUE from .ad...
loading the new class to __all__
py
diff --git a/fbchat/__init__.py b/fbchat/__init__.py index <HASH>..<HASH> 100644 --- a/fbchat/__init__.py +++ b/fbchat/__init__.py @@ -15,7 +15,7 @@ from .client import * __copyright__ = 'Copyright 2015 by Taehoon Kim' -__version__ = '0.8.0' +__version__ = '0.8.2' __license__ = 'BSD' __author__ = 'Taehoon Kim; M...
update pypi dist
py
diff --git a/openquake/engine/db/models.py b/openquake/engine/db/models.py index <HASH>..<HASH> 100644 --- a/openquake/engine/db/models.py +++ b/openquake/engine/db/models.py @@ -1430,6 +1430,13 @@ class Output(djm.Model): A single artifact which is a result of an OpenQuake job. The data may reside in a file ...
moved hazard metadata namedtuple outside
py
diff --git a/salt/modules/mine.py b/salt/modules/mine.py index <HASH>..<HASH> 100644 --- a/salt/modules/mine.py +++ b/salt/modules/mine.py @@ -116,7 +116,7 @@ def send(func, *args, **kwargs): salt '*' mine.send network.interfaces eth0 ''' - if not func in __salt__: + if func not in __salt__: ...
Fix PEP8 E<I> - test for membership should be "not in"
py
diff --git a/hgicommon/collections.py b/hgicommon/collections.py index <HASH>..<HASH> 100644 --- a/hgicommon/collections.py +++ b/hgicommon/collections.py @@ -1,11 +1,10 @@ -from typing import List, Sequence - +from typing import List, Sequence, Sized, Optional from hgicommon.models import SearchCriterion class S...
Improvements to `Metadata`.
py
diff --git a/goatools/rpt_lev_depth.py b/goatools/rpt_lev_depth.py index <HASH>..<HASH> 100755 --- a/goatools/rpt_lev_depth.py +++ b/goatools/rpt_lev_depth.py @@ -1,7 +1,13 @@ -"""Various level/depth summaries of the GO terms. +"""Report the level/depth summaries of all GO terms or a subset of GO terms. + + Level is ...
Added more information in docstring.
py
diff --git a/tornado/iostream.py b/tornado/iostream.py index <HASH>..<HASH> 100644 --- a/tornado/iostream.py +++ b/tornado/iostream.py @@ -1568,7 +1568,7 @@ class SSLIOStream(IOStream): def write_to_fd(self, data: memoryview) -> int: # clip buffer size at 1GB since SSL sockets only support upto 2GB ...
iostream: Fix copy/pasted comment
py
diff --git a/salt/client/api.py b/salt/client/api.py index <HASH>..<HASH> 100644 --- a/salt/client/api.py +++ b/salt/client/api.py @@ -273,7 +273,7 @@ class APIClient(object): raise EauthAuthenticationError( "Authentication failed with {0}.".format(repr(ex))) - if not 'token' in t...
Fix PEP8 E<I> - test for membership should be "not in"
py
diff --git a/wcwidth/tests/test_core.py b/wcwidth/tests/test_core.py index <HASH>..<HASH> 100755 --- a/wcwidth/tests/test_core.py +++ b/wcwidth/tests/test_core.py @@ -94,7 +94,7 @@ def test_combining_width_negative_1(): def test_combining_cafe(): - u"""cafe + COMBINING ACUTE ACCENT is café of length 4.""" + ...
lint: begin docstring with capital letter
py
diff --git a/dedupe/clustering.py b/dedupe/clustering.py index <HASH>..<HASH> 100644 --- a/dedupe/clustering.py +++ b/dedupe/clustering.py @@ -46,6 +46,8 @@ def connected_components(edgelist) : del indices[root_b] else : indices[root_a].append(i) + + print "components calculated" ...
debug statement, for understanding memory usage
py
diff --git a/enamlnativecli/templates/app/hooks/post_gen_project.py b/enamlnativecli/templates/app/hooks/post_gen_project.py index <HASH>..<HASH> 100644 --- a/enamlnativecli/templates/app/hooks/post_gen_project.py +++ b/enamlnativecli/templates/app/hooks/post_gen_project.py @@ -26,7 +26,7 @@ p.wait() data = json.loads...
Use project name as env name and strip spaces For #<I>
py
diff --git a/modeldict/base.py b/modeldict/base.py index <HASH>..<HASH> 100644 --- a/modeldict/base.py +++ b/modeldict/base.py @@ -5,8 +5,9 @@ import base64 class PersistedDict(object): """ Dictionary that calls out to its persistant data store when items are - created or deleted. Caches data in process ...
Change docstring for class to actually make sense.
py
diff --git a/charmhelpers/contrib/openstack/context.py b/charmhelpers/contrib/openstack/context.py index <HASH>..<HASH> 100644 --- a/charmhelpers/contrib/openstack/context.py +++ b/charmhelpers/contrib/openstack/context.py @@ -1393,6 +1393,10 @@ class NeutronAPIContext(OSContextGenerator): 'rel_key': '...
Add dns-domain to NeutronAPIContext
py
diff --git a/hadoopy/_freeze.py b/hadoopy/_freeze.py index <HASH>..<HASH> 100644 --- a/hadoopy/_freeze.py +++ b/hadoopy/_freeze.py @@ -125,6 +125,8 @@ def freeze_script(script_path, cache=True, temp_path='_hadoopy_temp'): md5 = _md5_file(freeze_fp.name) frozen_tar_path = temp_path + '/%s.tar' % md5 ...
Added fix for cdh4 by creating temp dir before putting files into it (before it was created implicitly)
py
diff --git a/fastaq/tasks.py b/fastaq/tasks.py index <HASH>..<HASH> 100644 --- a/fastaq/tasks.py +++ b/fastaq/tasks.py @@ -190,7 +190,7 @@ def fastaq_to_mira_xml(infile, outfile): utils.close(fout) -def fastaq_to_orfs_gff(infile, outfile, min_length=300): +def fastaq_to_orfs_gff(infile, outfile, min_length=300...
Add tool_name option to fastaq_to_orfs_gff
py
diff --git a/indra/db/util.py b/indra/db/util.py index <HASH>..<HASH> 100644 --- a/indra/db/util.py +++ b/indra/db/util.py @@ -789,8 +789,9 @@ def distill_stmts(db, get_full_stmts=False, clauses=None, num_procs=1, stmts, duplicate_sids, bettered_duplicate_sids = \ _get_filtered_rdg_statements(stmt_nd, g...
Improve logging message regarding distillation results.
py
diff --git a/tests/test_assess_cloud_display.py b/tests/test_assess_cloud_display.py index <HASH>..<HASH> 100644 --- a/tests/test_assess_cloud_display.py +++ b/tests/test_assess_cloud_display.py @@ -143,3 +143,23 @@ class TestAssessShowCloud(TestCase): 'localhost1': {'type': 'maas'}, '...
Test that assess_show_cloud raises on mismatch.
py
diff --git a/raiden/network/proxies/token_network.py b/raiden/network/proxies/token_network.py index <HASH>..<HASH> 100644 --- a/raiden/network/proxies/token_network.py +++ b/raiden/network/proxies/token_network.py @@ -1452,6 +1452,13 @@ class TokenNetwork: ) raise RaidenUnrecoverableE...
unlock: additional check for merkletree validity
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ setup(name='ploneintranet.workspace', install_requires=[ 'setuptools', 'collective.workspace', - 'plone.api', + 'plone.api>=1.2.1', 'plone.app.dexterity ...
pin to version of plone.api with transition support
py
diff --git a/salt/modules/apache.py b/salt/modules/apache.py index <HASH>..<HASH> 100644 --- a/salt/modules/apache.py +++ b/salt/modules/apache.py @@ -8,15 +8,6 @@ import re # Import salt libs import salt.utils -__outputter__ = { - 'signal': 'txt', - 'version': 'txt', - 'vhosts': 'yaml', - 'modules': 'y...
Remove old outputters from the apache module
py
diff --git a/pipeline_browserify/compiler.py b/pipeline_browserify/compiler.py index <HASH>..<HASH> 100755 --- a/pipeline_browserify/compiler.py +++ b/pipeline_browserify/compiler.py @@ -13,6 +13,10 @@ class BrowserifyCompiler(SubProcessCompiler): return path.endswith('.browserify.js') def compile_file(...
fixed the recompile all the time issue
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import find_packages, setup setup( name='django-representatives', - version='0.0.10', + version='0.0.13', description='Base app for government representative', author='Laure...
Bump <I> Apparently I did mistakes with <I> and <I>
py
diff --git a/superset/dashboards/api.py b/superset/dashboards/api.py index <HASH>..<HASH> 100644 --- a/superset/dashboards/api.py +++ b/superset/dashboards/api.py @@ -722,9 +722,9 @@ class DashboardRestApi(BaseSupersetModelRestApi): $ref: '#/components/responses/500' """ requested_ids =...
fix: Dashboad export loading indicator (#<I>)
py
diff --git a/visidata/vd.py b/visidata/vd.py index <HASH>..<HASH> 100755 --- a/visidata/vd.py +++ b/visidata/vd.py @@ -18,7 +18,7 @@ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH ...
Remove stray character from vd.py license
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ setup( author='Tomasz Jaskowski', author_email='tadeck@gmail.com', classifiers=[ - 'Development Status :: 3 - Alpha', + 'Development Status :: 4 - Beta', 'Intended Audience ...
changed release classifier from Alpha to Beta
py
diff --git a/tests/test_web_functional.py b/tests/test_web_functional.py index <HASH>..<HASH> 100644 --- a/tests/test_web_functional.py +++ b/tests/test_web_functional.py @@ -287,7 +287,7 @@ class TestWebFunctional(unittest.TestCase): resp.close() here = os.path.dirname(__file__) - filena...
Use short file names, not full paths in static file tests
py
diff --git a/tests/test_ice.py b/tests/test_ice.py index <HASH>..<HASH> 100644 --- a/tests/test_ice.py +++ b/tests/test_ice.py @@ -200,9 +200,9 @@ class IceConnectionTest(unittest.TestCase): run(invite_accept(conn_a, conn_b)) # close + run(conn_b.close()) with self.assertRaises(Conne...
[tests] rework connect followed by close test
py
diff --git a/poseidon/tests/test_api.py b/poseidon/tests/test_api.py index <HASH>..<HASH> 100644 --- a/poseidon/tests/test_api.py +++ b/poseidon/tests/test_api.py @@ -46,8 +46,9 @@ def test_regions(client): assert hasattr(client, 'regions') assert isinstance(client.regions, P.Regions) regions = client.re...
TST: update unit test for new region NYC3
py
diff --git a/heron/tracker/src/python/main.py b/heron/tracker/src/python/main.py index <HASH>..<HASH> 100644 --- a/heron/tracker/src/python/main.py +++ b/heron/tracker/src/python/main.py @@ -11,7 +11,7 @@ from heron.tracker.src.python import log from heron.tracker.src.python.log import Log as LOG from heron.tracker.s...
unwind the changes to tracker main
py
diff --git a/pylama/config.py b/pylama/config.py index <HASH>..<HASH> 100644 --- a/pylama/config.py +++ b/pylama/config.py @@ -242,7 +242,7 @@ def get_config(ini_path=None, rootdir=None): config = Namespace() config.default_section = 'pylama' - if not ini_path: + if not ini_path or ini_path == 'None':...
Fixed bug with ini_path being parsed incorrectly after all options were stringified.
py
diff --git a/core/__init__.py b/core/__init__.py index <HASH>..<HASH> 100644 --- a/core/__init__.py +++ b/core/__init__.py @@ -52,6 +52,9 @@ class SequenceBase(object): def __getitem__(self, item): return self.elements[item] + def map_points(self, func): + return self.__class__([func(Point...
moved map_points to base class and made more generic
py
diff --git a/activity_monitor/models.py b/activity_monitor/models.py index <HASH>..<HASH> 100755 --- a/activity_monitor/models.py +++ b/activity_monitor/models.py @@ -15,6 +15,7 @@ class Activity(models.Model): actor = models.ForeignKey( settings.AUTH_USER_MODEL, related_name="subject", + ...
Re-inserted on_delete
py
diff --git a/salt/log/setup.py b/salt/log/setup.py index <HASH>..<HASH> 100644 --- a/salt/log/setup.py +++ b/salt/log/setup.py @@ -1118,13 +1118,12 @@ def __process_multiprocessing_logging_queue(opts, queue): setup_extended_logging(opts) while True: try: - record_dict = queue.get() - ...
Fully revert <I>b<I>
py
diff --git a/bigchaindb/common/transaction.py b/bigchaindb/common/transaction.py index <HASH>..<HASH> 100644 --- a/bigchaindb/common/transaction.py +++ b/bigchaindb/common/transaction.py @@ -78,7 +78,7 @@ class Input(object): if fulfills is not None and not isinstance(fulfills, TransactionLink): r...
owners_before error message correction (#<I>) * owners_before error message correction
py
diff --git a/libgreader.py b/libgreader.py index <HASH>..<HASH> 100644 --- a/libgreader.py +++ b/libgreader.py @@ -281,7 +281,7 @@ class GoogleReader(object): NOTES_LIST = 'created' FRIENDS_LIST = 'broadcast-friends' SPECIAL_FEEDS = (READING_LIST, READ_LIST, KEPTUNREAD_LIST, STARRED_LIST, \ - ...
missing entry in SPECIAL_FEEDS
py
diff --git a/synapse/cmds/cortex.py b/synapse/cmds/cortex.py index <HASH>..<HASH> 100644 --- a/synapse/cmds/cortex.py +++ b/synapse/cmds/cortex.py @@ -8,20 +8,23 @@ class AskCmd(s_cli.Cmd): ''' Execute a storm query. - Examples: + Syntax: + ask <query> - ask inet:ipv4=1.2.3.4 + Argu...
@therealsilence's review changes
py
diff --git a/parsyfiles/parsing_fw.py b/parsyfiles/parsing_fw.py index <HASH>..<HASH> 100644 --- a/parsyfiles/parsing_fw.py +++ b/parsyfiles/parsing_fw.py @@ -311,7 +311,7 @@ class RootParser(ParserRegistryWithConverters): # parse res = pp.execute(logger=self.logger, options=options) # print(...
Final log newline is now only present in debug mode
py
diff --git a/pysutils/__init__.py b/pysutils/__init__.py index <HASH>..<HASH> 100644 --- a/pysutils/__init__.py +++ b/pysutils/__init__.py @@ -10,7 +10,7 @@ from pysutils.helpers import tolist, toset, grouper, is_empty, is_iterable, \ multi_pop, pformat, pprint from pysutils.importing import find_path_package, f...
add round_down_to_n in the main module for BC
py
diff --git a/pymatgen/io/shengbte.py b/pymatgen/io/shengbte.py index <HASH>..<HASH> 100644 --- a/pymatgen/io/shengbte.py +++ b/pymatgen/io/shengbte.py @@ -232,7 +232,7 @@ class Control(MSONable, dict): unique_nums = np.unique(structure.atomic_numbers) types_dict = dict(zip(unique_nums, range(len(uni...
Fix bug in shengbte control
py
diff --git a/examples/python/cancellation/search.py b/examples/python/cancellation/search.py index <HASH>..<HASH> 100644 --- a/examples/python/cancellation/search.py +++ b/examples/python/cancellation/search.py @@ -127,7 +127,7 @@ def search(target, hashes_computed = 0 for secret in _all_bytestrings(): ...
Replace StopIteration with return (#<I>)
py
diff --git a/registration/tests.py b/registration/tests.py index <HASH>..<HASH> 100644 --- a/registration/tests.py +++ b/registration/tests.py @@ -6,6 +6,7 @@ Unit tests for django-registration. import datetime from django.conf import settings +from django.contrib.auth.models import User from django.core import ma...
Test the post-registration redirect URL.
py
diff --git a/pypelogs.py b/pypelogs.py index <HASH>..<HASH> 100644 --- a/pypelogs.py +++ b/pypelogs.py @@ -5,10 +5,6 @@ import pypein import pypef import pypeout from g11pyutils import StopWatch -# Execfile doesn't seem to do anything with imports, -# So add some common ones here -import hashlib -import base64 LO...
Pass globals to execfile so imports are available.
py
diff --git a/grimoire_elk/_version.py b/grimoire_elk/_version.py index <HASH>..<HASH> 100644 --- a/grimoire_elk/_version.py +++ b/grimoire_elk/_version.py @@ -1,2 +1,2 @@ # Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440 -__version__ = "0.56.0" +__version__ = "0.57.0"
Update version number to <I>
py
diff --git a/go/importpath/parser.py b/go/importpath/parser.py index <HASH>..<HASH> 100644 --- a/go/importpath/parser.py +++ b/go/importpath/parser.py @@ -35,12 +35,12 @@ class ImportPathParser(object): url = re.sub(r'https://', '', url) # is import path native package? - if importpath.split('/')[0] in self.na...
go.importpath.parser: minor fix in processed import path
py
diff --git a/trollimage/xrimage.py b/trollimage/xrimage.py index <HASH>..<HASH> 100644 --- a/trollimage/xrimage.py +++ b/trollimage/xrimage.py @@ -1428,10 +1428,10 @@ class XRImage(object): Convert a mode "L" (or "LA") grayscale image to a mode "P" (or "PA") palette image and store the palette in th...
Clarify how to keep palette in image
py
diff --git a/constance/backends/database/models.py b/constance/backends/database/models.py index <HASH>..<HASH> 100644 --- a/constance/backends/database/models.py +++ b/constance/backends/database/models.py @@ -11,7 +11,7 @@ except ImportError: "the constance database backend.") class...
solved the unique key/index for the database backend
py
diff --git a/benchmarking/analysis/plot.py b/benchmarking/analysis/plot.py index <HASH>..<HASH> 100644 --- a/benchmarking/analysis/plot.py +++ b/benchmarking/analysis/plot.py @@ -34,7 +34,8 @@ def plot(analysis_table, output_filename, RFunction, title = ''): def plot_pandas(dataframe, x_series, y_series, output_file...
Removing NaN lines from the pandas plot.
py
diff --git a/tests.dev/error.py b/tests.dev/error.py index <HASH>..<HASH> 100755 --- a/tests.dev/error.py +++ b/tests.dev/error.py @@ -10,14 +10,14 @@ sys.path.insert(0, '..') from clarify_python import clarify from clarify_python.constants import __api_version__ -def process_exception(): +def process_exception(cli...
Fixed error test for client refactor.
py
diff --git a/src/zmp/node.py b/src/zmp/node.py index <HASH>..<HASH> 100644 --- a/src/zmp/node.py +++ b/src/zmp/node.py @@ -21,7 +21,12 @@ from funcsigs import signature from tblib.decorators import return_error, Error # Serializer for nested classes and Exceptions ( and more ) : # https://github.com/uqfoundation/dil...
adding comments with more serialization lib candidates...
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ REQUIREMENTS = [ setup( name='gcloud', - version='0.4.2', + version='0.4.3', description='API Client library for Google Cloud', author='JJ Geewax', author_email='jj@geewax.org',
Upgrading version to <I>.
py
diff --git a/scdl/scdl.py b/scdl/scdl.py index <HASH>..<HASH> 100755 --- a/scdl/scdl.py +++ b/scdl/scdl.py @@ -319,6 +319,7 @@ def download_track(track): print('') return title = track.title + title = title.replace("–", "-") print("Downloading " + title) #filename @@ -337,7 +338,7 ...
bugfix of windows cmd The replacement of the longdash needs to take place before the first print argument using the title string, to fix the bug on windows command line interface.
py
diff --git a/clashroyale/models.py b/clashroyale/models.py index <HASH>..<HASH> 100644 --- a/clashroyale/models.py +++ b/clashroyale/models.py @@ -100,11 +100,11 @@ class BaseAttrDict: try: return getattr(self._boxed_data, item) except AttributeError: - raise KeyError(f'No such...
Updated models.py to support Python<I>
py
diff --git a/testing/test_skipping.py b/testing/test_skipping.py index <HASH>..<HASH> 100644 --- a/testing/test_skipping.py +++ b/testing/test_skipping.py @@ -770,6 +770,7 @@ def test_skip_reasons_folding(): # ev3 might be a collection report ev3 = X() + ev3.when = "collect" ev3.longrepr = longrepr ...
Fixed one weird test that creates a class instead of using mocks.. ¯\_(ツ)_/¯
py
diff --git a/gitlab/__init__.py b/gitlab/__init__.py index <HASH>..<HASH> 100644 --- a/gitlab/__init__.py +++ b/gitlab/__init__.py @@ -337,6 +337,7 @@ class Gitlab(object): if ('next' in r.links and 'url' in r.links['next'] and get_all_results is True): args = kwargs.copy() + ...
Properly handle extra args when listing with all=True Fixes #<I>
py
diff --git a/glue/lal.py b/glue/lal.py index <HASH>..<HASH> 100644 --- a/glue/lal.py +++ b/glue/lal.py @@ -490,7 +490,7 @@ class Cache(list): c=[entry for entry in c if (re.match(ifos,entry.observatory))] if description: - c=[entry for entry in c if (re.match(description,entry.description))] + c=[entry for...
The method lal.Cache().sieve was modified. Now method return the object of lal.Cache() class that contains entries that match the parameter description = 'pattern'. The function that does matching returns true if the string 'pattern' is found to match some part of the entry.descrpition string.
py
diff --git a/pyang/yang_parser.py b/pyang/yang_parser.py index <HASH>..<HASH> 100644 --- a/pyang/yang_parser.py +++ b/pyang/yang_parser.py @@ -213,8 +213,21 @@ class YangTokenizer(object): i = i + 1 start = i + 1 i = i + 1 - #...
correctly remove trailing whitespace from double quoted strings; this also makes -f yang work better
py
diff --git a/openquake/risklib/asset.py b/openquake/risklib/asset.py index <HASH>..<HASH> 100644 --- a/openquake/risklib/asset.py +++ b/openquake/risklib/asset.py @@ -16,13 +16,14 @@ # You should have received a copy of the GNU Affero General Public License # along with OpenQuake. If not, see <http://www.gnu.org/lice...
Removed Starmap when reading the exposure [skip hazardlib] Former-commit-id: cfea<I>e<I>e<I>a<I>f5dc<I>d<I>a7eddc8aeae
py
diff --git a/multiqc/modules/qualimap/QM_BamQC.py b/multiqc/modules/qualimap/QM_BamQC.py index <HASH>..<HASH> 100644 --- a/multiqc/modules/qualimap/QM_BamQC.py +++ b/multiqc/modules/qualimap/QM_BamQC.py @@ -382,8 +382,8 @@ def report_sections(self): extracts the insert size from the `TLEN` field of the leftmos...
Cleaned up a couple of non-ASCII characters from #<I>
py
diff --git a/claripy/operations.py b/claripy/operations.py index <HASH>..<HASH> 100644 --- a/claripy/operations.py +++ b/claripy/operations.py @@ -400,6 +400,14 @@ def boolean_not_simplifier(body): elif body.op == '__ge__': return ast.all_operations.ULT(body.args[0], body.args[1]) +def zeroext_simplifie...
add simplifiers for zero-extend and sign-extend (when extending by 0)
py
diff --git a/simuvex/plugins/solver.py b/simuvex/plugins/solver.py index <HASH>..<HASH> 100644 --- a/simuvex/plugins/solver.py +++ b/simuvex/plugins/solver.py @@ -110,6 +110,7 @@ class SimSolver(SimStatePlugin): else: return f + @auto_actions def add(self, *constraints): return ...
fixed the problem where SimActionObjects got added as constraints
py
diff --git a/hamper/plugins/whatwasthat.py b/hamper/plugins/whatwasthat.py index <HASH>..<HASH> 100644 --- a/hamper/plugins/whatwasthat.py +++ b/hamper/plugins/whatwasthat.py @@ -9,7 +9,7 @@ class WhatWasThat(ChatCommandPlugin): ''' name = 'whatwasthat' - priority = 0 + priority = 2 class WhatW...
Bump whatwasthat's priority.
py
diff --git a/py3status/modules/imap.py b/py3status/modules/imap.py index <HASH>..<HASH> 100644 --- a/py3status/modules/imap.py +++ b/py3status/modules/imap.py @@ -1,7 +1,8 @@ # -*- coding: utf8 -*- """ Module displaying the number of unread messages -on an IMAP inbox (configurable). +on an IMAP inbox (configurable, ...
IMAP module may now check several IMAP folders Returns sum of unseen mails in given folders. Former behaviour with only one given directory is unchanged.
py
diff --git a/pkg_resources.py b/pkg_resources.py index <HASH>..<HASH> 100644 --- a/pkg_resources.py +++ b/pkg_resources.py @@ -1371,11 +1371,15 @@ def build_zipmanifest(path): * [7] - zipinfo.CRC """ zipinfo = dict() - with zipfile.ZipFile(path) as zfile: + zfile = zipfile.ZipFile(path) + ...
Seems to be an issue with using ZipFile as a context on python <I> --HG-- branch : distribute extra : rebase_source : d<I>c<I>a1c2efbeefc<I>e<I>b<I>c<I>
py
diff --git a/stream.py b/stream.py index <HASH>..<HASH> 100644 --- a/stream.py +++ b/stream.py @@ -784,4 +784,6 @@ def reduce(function, initval=None): if __name__ == "__main__": import doctest - doctest.testmod() + if doctest.testmod().failed: + import sys + sys.exit(1)
__main__: exit(1) when doctest fails
py
diff --git a/estnltk/layer/layer.py b/estnltk/layer/layer.py index <HASH>..<HASH> 100644 --- a/estnltk/layer/layer.py +++ b/estnltk/layer/layer.py @@ -232,6 +232,15 @@ class Layer: attributes_pluss_default_values.update(attributes) return span.add_annotation(**attributes_pluss_default_values) ...
added Layer.get method, implemented Layer.add_annotation for enveloping layers
py
diff --git a/johnny/tests/base.py b/johnny/tests/base.py index <HASH>..<HASH> 100644 --- a/johnny/tests/base.py +++ b/johnny/tests/base.py @@ -130,7 +130,7 @@ def supports_transactions(con): features = con.features vendor = con.vendor if features.supports_transactions: - if vendor == 'mysql' and n...
Tries to fix MySQL engine storage name accessor.
py
diff --git a/textrank/pagerank_weighted.py b/textrank/pagerank_weighted.py index <HASH>..<HASH> 100644 --- a/textrank/pagerank_weighted.py +++ b/textrank/pagerank_weighted.py @@ -5,7 +5,7 @@ CONVERGENCE_THRESHOLD = 0.0001 def pagerank_weighted(graph, damping=0.85): scores = dict.fromkeys(graph.nodes(), 1.0 / len(...
Minor edit: performance optimization using xrange.
py
diff --git a/zk_shell/shell.py b/zk_shell/shell.py index <HASH>..<HASH> 100644 --- a/zk_shell/shell.py +++ b/zk_shell/shell.py @@ -522,7 +522,7 @@ class Shell(AugumentedCmd): path = self.resolve_path(params.path) stat = self._zk.exists(path, **kwargs) if stat: - self.do_output(stat...
ZnodeStat needs to be casted to str before passing it to do_output()
py
diff --git a/satpy/readers/seviri_l1b_native.py b/satpy/readers/seviri_l1b_native.py index <HASH>..<HASH> 100644 --- a/satpy/readers/seviri_l1b_native.py +++ b/satpy/readers/seviri_l1b_native.py @@ -442,11 +442,11 @@ class NativeMSGFileHandler(BaseFileHandler, SEVIRICalibrationHandler): data = np.zeros(s...
change order of lines interleaving
py
diff --git a/salt/states/file.py b/salt/states/file.py index <HASH>..<HASH> 100644 --- a/salt/states/file.py +++ b/salt/states/file.py @@ -1960,7 +1960,7 @@ def blockreplace(name, A block of content delimited by comments can help you manage several lines entries without worrying about old entries removal. T...
Spelling and doc fix in file.blockreplace.
py
diff --git a/ck/repo/module/module/module.py b/ck/repo/module/module/module.py index <HASH>..<HASH> 100644 --- a/ck/repo/module/module/module.py +++ b/ck/repo/module/module/module.py @@ -310,6 +310,13 @@ def show(i): actions=lm.get('actions',{}) + if lr=='default': + to_get='' + ...
improving module listing (with repo URL and all actions)
py
diff --git a/pyp2rpmlib/metadata_extractors.py b/pyp2rpmlib/metadata_extractors.py index <HASH>..<HASH> 100644 --- a/pyp2rpmlib/metadata_extractors.py +++ b/pyp2rpmlib/metadata_extractors.py @@ -167,19 +167,23 @@ class PypiMetadataExtractor(MetadataExtractor): """ release_urls = self.client.release_ur...
Further improvements of pypi metadata extractor robustness
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ with open(path.join(this_folder,'README.md'),encoding='utf-8') as inf: setup( name='pythologist', - version='1.1.1', + version='1.2.1', test_suite='nose2.collector.collector', description='inForm Per...
tick version for modification to permutation command
py
diff --git a/grimoire_elk/_version.py b/grimoire_elk/_version.py index <HASH>..<HASH> 100644 --- a/grimoire_elk/_version.py +++ b/grimoire_elk/_version.py @@ -1,2 +1,2 @@ # Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440 -__version__ = "0.30.8" +__version__ = "0.30.9"
[release] Update version number to <I>
py
diff --git a/adafruit_seesaw/crickit.py b/adafruit_seesaw/crickit.py index <HASH>..<HASH> 100644 --- a/adafruit_seesaw/crickit.py +++ b/adafruit_seesaw/crickit.py @@ -44,6 +44,7 @@ _CRICKIT_MOTOR1A = const(22) _CRICKIT_MOTOR1B = const(23) _CRICKIT_MOTOR2A = const(19) _CRICKIT_MOTOR2B = const(18) + _CRICKIT_DRIVE1 =...
accidentally reversed servo pin ordering
py
diff --git a/invenio_collections/cache.py b/invenio_collections/cache.py index <HASH>..<HASH> 100644 --- a/invenio_collections/cache.py +++ b/invenio_collections/cache.py @@ -106,18 +106,6 @@ def collection_restricted_p(collection, recreate_cache_if_needed=True): return collection in restricted_collection_cache.ca...
cache: removal of deprecated function
py
diff --git a/doc/src/sphinx/conf.py b/doc/src/sphinx/conf.py index <HASH>..<HASH> 100644 --- a/doc/src/sphinx/conf.py +++ b/doc/src/sphinx/conf.py @@ -33,6 +33,8 @@ html_show_sphinx = False html_style = 'scrooge.css' project = u'Scrooge' +description = u'A thrift code generator written in Scala' +html_logo = u'scro...
[split] [scrooge] minor docs update: add logo and short description RB_ID=<I>
py
diff --git a/tests.py b/tests.py index <HASH>..<HASH> 100644 --- a/tests.py +++ b/tests.py @@ -49,6 +49,7 @@ test('assert c is not None', 'AssertionError: assertion c is not None failed wit test('assert d == "bar"', 'AssertionError: assertion d == "bar" failed with d=\'foo\'') test('assert sum([a, b]) == 1', 'Asserti...
added a test for assert with a message
py
diff --git a/tcex/threat_intelligence/mappings/victim.py b/tcex/threat_intelligence/mappings/victim.py index <HASH>..<HASH> 100644 --- a/tcex/threat_intelligence/mappings/victim.py +++ b/tcex/threat_intelligence/mappings/victim.py @@ -73,7 +73,7 @@ class Victim(Mappings): def add_key_value(self, key, value): ...
setting unique_id if id is set on victim
py
diff --git a/test/memcached_workloads/many_keys.py b/test/memcached_workloads/many_keys.py index <HASH>..<HASH> 100755 --- a/test/memcached_workloads/many_keys.py +++ b/test/memcached_workloads/many_keys.py @@ -25,10 +25,13 @@ with rdb_workload_common.make_table_and_connection(opts) as (table, conn): rando...
Make many_keys test use soft durability for faster inserts. OTS
py
diff --git a/api/src/opentrons/protocol_api/instrument_context.py b/api/src/opentrons/protocol_api/instrument_context.py index <HASH>..<HASH> 100644 --- a/api/src/opentrons/protocol_api/instrument_context.py +++ b/api/src/opentrons/protocol_api/instrument_context.py @@ -174,7 +174,7 @@ class InstrumentContext(CommandPu...
docs(api): fix aspirate and dispense typo (#<I>)
py
diff --git a/djedi/admin/cms.py b/djedi/admin/cms.py index <HASH>..<HASH> 100644 --- a/djedi/admin/cms.py +++ b/djedi/admin/cms.py @@ -29,7 +29,7 @@ class Admin(ModelAdmin): return False # Hide Djedi in the admin, since that view is not finished yet. - # This only works in Django 1.8+, but shouldn’t ...
Replace non-ASCII character in comment
py
diff --git a/tests/test_ipa_cli.py b/tests/test_ipa_cli.py index <HASH>..<HASH> 100644 --- a/tests/test_ipa_cli.py +++ b/tests/test_ipa_cli.py @@ -62,7 +62,7 @@ def test_cli_provider_missing(): runner = CliRunner() result = runner.invoke(main, ['test']) assert result.exit_code != 0 - assert 'Error: Mi...
Fix tests to match new + old version of Click.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,8 +1,9 @@ +import io import sys from setuptools import setup from setuptools.command.test import test as TestCommand -from pipetools import X +from pipetools import xpartial, X import pipetools @@ -25,7 +26,7 @@ s...
Fixed UnicodeDecodeError during installation * fix installation issue when user path contains utf-8 characters * use io.open for python 2/3 compatibility
py
diff --git a/windpowerlib/wind_farm.py b/windpowerlib/wind_farm.py index <HASH>..<HASH> 100644 --- a/windpowerlib/wind_farm.py +++ b/windpowerlib/wind_farm.py @@ -106,16 +106,12 @@ class WindFarm(object): p. 35 """ - total_nominal_power = sum( - wind_dict_2['wind_turbine']...
Get nominal power from get_installed_power()
py
diff --git a/porespy/metrics/__regionprops__.py b/porespy/metrics/__regionprops__.py index <HASH>..<HASH> 100644 --- a/porespy/metrics/__regionprops__.py +++ b/porespy/metrics/__regionprops__.py @@ -87,13 +87,13 @@ def props_to_image(regionprops, shape, prop): """ im = sp.zeros(shape=shape) - for i in re...
Fixing props_to_image
py
diff --git a/pvl/_collections.py b/pvl/_collections.py index <HASH>..<HASH> 100644 --- a/pvl/_collections.py +++ b/pvl/_collections.py @@ -2,6 +2,7 @@ import sys import pprint from collections import Mapping, MutableMapping, namedtuple +from six.moves import zip PY3 = sys.version_info[0] == 3 @@ -131,6 +132,25 ...
Add equity check to pal modules, groups and objects.
py
diff --git a/bot/action/extra/messages.py b/bot/action/extra/messages.py index <HASH>..<HASH> 100644 --- a/bot/action/extra/messages.py +++ b/bot/action/extra/messages.py @@ -47,7 +47,7 @@ class ListMessageAction(Action): action = "recent" elif len(args) == 1: if args[0].isnumeric(): ...
Update messages command syntax To make it default to show a message content when only a number is specified, which is what most users want.
py
diff --git a/src/metapensiero/signal/atom.py b/src/metapensiero/signal/atom.py index <HASH>..<HASH> 100644 --- a/src/metapensiero/signal/atom.py +++ b/src/metapensiero/signal/atom.py @@ -126,10 +126,10 @@ class Signal(object): subscribers[cback] = True def _create_async_results(self, sync_results, async...
“fullfill” ⇒ “fulfill”
py
diff --git a/tests/tests/test_formset.py b/tests/tests/test_formset.py index <HASH>..<HASH> 100644 --- a/tests/tests/test_formset.py +++ b/tests/tests/test_formset.py @@ -276,7 +276,7 @@ class ChildFormsetTest(TestCase): 'form-2-id': '', }) self.assertFalse(band_members_formset.is_valid()...
Use formset error data to test for formset errors Text changes for upcoming Django <I> has resulted in formset errors returning a different string with different Django versions - so test for the error code instead.
py
diff --git a/progressbar/bar.py b/progressbar/bar.py index <HASH>..<HASH> 100644 --- a/progressbar/bar.py +++ b/progressbar/bar.py @@ -181,7 +181,7 @@ class ProgressBar(StdRedirectMixin, ResizableMixin, ProgressBarBase): Useful methods and attributes include (Public API): - value: current progress (min_value...
Updated documentation to fix #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -9,4 +9,19 @@ setup(name="github-webhook", license='Apache 2.0', packages=["github_webhook"], install_requires=['flask'], + + classifiers=[ + 'Development Status :: 4 - Beta', + 'Fra...
Add classifiers to setup.py
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -40,7 +40,7 @@ setup( ext_modules=extensions, packages=["cysignals"], package_dir={"": "src"}, - package_data={"cysignals": ["signals.pxi"]}, + package_data={"cysignals": ["signals.pxi", "signals.pxd"]}, ...
also install .pxd file
py
diff --git a/saltapi/netapi/rest_cherrypy/app.py b/saltapi/netapi/rest_cherrypy/app.py index <HASH>..<HASH> 100644 --- a/saltapi/netapi/rest_cherrypy/app.py +++ b/saltapi/netapi/rest_cherrypy/app.py @@ -1259,7 +1259,7 @@ class Webhook(object): :status 406: requested Content-Type not available ''' ...
Grab the POST data from params since we're bypassing the lowdata tool
py
diff --git a/wtfpeewee/fields.py b/wtfpeewee/fields.py index <HASH>..<HASH> 100644 --- a/wtfpeewee/fields.py +++ b/wtfpeewee/fields.py @@ -277,7 +277,9 @@ class SelectMultipleQueryField(SelectQueryField): super(SelectMultipleQueryField, self).__init__(*args, **kwargs) def get_model_list(self, pk_list): ...
Small fix for missing pk list
py
diff --git a/tests/test_arithmetic.py b/tests/test_arithmetic.py index <HASH>..<HASH> 100644 --- a/tests/test_arithmetic.py +++ b/tests/test_arithmetic.py @@ -366,19 +366,22 @@ class TestArithmetic(PyvipsTester): self.assertAlmostEqual(r, 40) def test_hough_line(self): - test = pyvips.Image.b...
update hough_line test the param space has changed
py