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 @@ -16,7 +16,7 @@ requirements = ( setup( name='combine', - version='0.0.19.dev0', + version='0.0.19', description='A helpful, simple static site generator.', long_description=long_description, long_d...
Preparing release <I>
py
diff --git a/lexicon/providers/yandex.py b/lexicon/providers/yandex.py index <HASH>..<HASH> 100644 --- a/lexicon/providers/yandex.py +++ b/lexicon/providers/yandex.py @@ -73,7 +73,7 @@ class Provider(BaseProvider): 'type': record['type'], 'name': "{0}.{1}".format(record['subdom...
Failsafe list of records when some content is missing (#<I>)
py
diff --git a/src/ossos-pipeline/ossos/mpc.py b/src/ossos-pipeline/ossos/mpc.py index <HASH>..<HASH> 100644 --- a/src/ossos-pipeline/ossos/mpc.py +++ b/src/ossos-pipeline/ossos/mpc.py @@ -283,6 +283,9 @@ class Discovery(object): def __bool__(self): return self.is_discovery + def __nonzero__(self): + ...
added __nonzero__ to provide boolean function ability in pre <I> python.
py
diff --git a/kafka/producer/kafka.py b/kafka/producer/kafka.py index <HASH>..<HASH> 100644 --- a/kafka/producer/kafka.py +++ b/kafka/producer/kafka.py @@ -233,7 +233,7 @@ class KafkaProducer(object): should verify that the certificate matches the brokers hostname. default: true. ssl_c...
Fix typo: veriication -> verification (#<I>)
py
diff --git a/kik_unofficial/xmlns_handlers.py b/kik_unofficial/xmlns_handlers.py index <HASH>..<HASH> 100644 --- a/kik_unofficial/xmlns_handlers.py +++ b/kik_unofficial/xmlns_handlers.py @@ -99,6 +99,10 @@ class GroupXMPPMessageHandler(XmppHandler): self.callback.on_group_message_received(IncomingGroupChat...
do not ignore status and sysmsg in group handler Previously, these messages could only be processed by XMPPMessageHandler.
py
diff --git a/exchangelib/services.py b/exchangelib/services.py index <HASH>..<HASH> 100644 --- a/exchangelib/services.py +++ b/exchangelib/services.py @@ -1741,7 +1741,7 @@ class GetAttachment(EWSAccountService): @classmethod def _get_soap_payload(cls, response, **parse_opts): if not parse_opts.get('...
Fix linter warning: pass parse_opts on to parent method
py
diff --git a/tests/unit/modules/environ_test.py b/tests/unit/modules/environ_test.py index <HASH>..<HASH> 100644 --- a/tests/unit/modules/environ_test.py +++ b/tests/unit/modules/environ_test.py @@ -34,11 +34,11 @@ class EnvironTestCase(TestCase): on success. ''' mock = MagicMock(return_value...
Let's see if this is any better in jenkins
py
diff --git a/ipyrad/__init__.py b/ipyrad/__init__.py index <HASH>..<HASH> 100644 --- a/ipyrad/__init__.py +++ b/ipyrad/__init__.py @@ -42,7 +42,11 @@ for binary, path in bins.__dict__.items(): setattr(bins, binary, binary) # if not then check for binary in PATH (less reliable versioned...) - ...
call to Popen in init binary checks
py
diff --git a/zipline/utils/input_validation.py b/zipline/utils/input_validation.py index <HASH>..<HASH> 100644 --- a/zipline/utils/input_validation.py +++ b/zipline/utils/input_validation.py @@ -676,6 +676,31 @@ def coerce(from_, to, **to_kwargs): return preprocessor +def coerce_types(**kwargs): + """ + ...
MAINT: Add kwarg-based helper for coerce.
py
diff --git a/flask_profiler/storage/mongo.py b/flask_profiler/storage/mongo.py index <HASH>..<HASH> 100644 --- a/flask_profiler/storage/mongo.py +++ b/flask_profiler/storage/mongo.py @@ -155,7 +155,7 @@ class Mongo(BaseStorage): { "$sort": {sort[0]: sort_dir} } - ])...
fix: mongodb aggregation result parse issue
py
diff --git a/setuptools/tests/test_virtualenv.py b/setuptools/tests/test_virtualenv.py index <HASH>..<HASH> 100644 --- a/setuptools/tests/test_virtualenv.py +++ b/setuptools/tests/test_virtualenv.py @@ -69,7 +69,9 @@ def _get_pip_versions(): 'pip==9.0.3', 'pip==10.0.1', 'pip==18.1', - ...
Remove pip <I> from the upgrade from source tests.
py
diff --git a/tests/nminit_test.py b/tests/nminit_test.py index <HASH>..<HASH> 100644 --- a/tests/nminit_test.py +++ b/tests/nminit_test.py @@ -19,7 +19,7 @@ from repyportability import * add_dy_support(locals()) # need to generate a public key -dy_import_module_symbols('rsa') +dy_import_module_symbols('rsa.r2py') ...
Missed a few files that did not specify .r2py extension for dylink import
py
diff --git a/modules/cij/reporter.py b/modules/cij/reporter.py index <HASH>..<HASH> 100644 --- a/modules/cij/reporter.py +++ b/modules/cij/reporter.py @@ -197,6 +197,8 @@ def postprocess(trun): plog.append(("trun", process_trun(trun))) for tplan in trun.testplans: + plog.append(("tplan", process_tpla...
mod:py:reporter: fix missing testplan post-processing The introduction of the TestPlan was missing this change. That is, it was missing the "test-run-augmentation" of the auxilary file-listing and log-content from hooks.
py
diff --git a/sql_server/pyodbc/operations.py b/sql_server/pyodbc/operations.py index <HASH>..<HASH> 100644 --- a/sql_server/pyodbc/operations.py +++ b/sql_server/pyodbc/operations.py @@ -89,7 +89,7 @@ class DatabaseOperations(BaseDatabaseOperations): # DBCC CHEKIDENT(table, RESEED, n) behavior. ...
Added quoting of table names that had been missed in r<I>. git-svn-id: <URL>
py
diff --git a/stanza/resources/common.py b/stanza/resources/common.py index <HASH>..<HASH> 100644 --- a/stanza/resources/common.py +++ b/stanza/resources/common.py @@ -141,6 +141,19 @@ def maintain_processor_list(resources, lang, package, processors): # resolve processor models if processors: logger.d...
Hack to load mwt when required but missing from the list of processors
py
diff --git a/pywb/webapp/views.py b/pywb/webapp/views.py index <HASH>..<HASH> 100644 --- a/pywb/webapp/views.py +++ b/pywb/webapp/views.py @@ -189,7 +189,7 @@ class J2HtmlCapturesView(J2TemplateView): #================================================================= class MementoTimemapView(object): - def rende...
memento: fix MementoTimemapView to have consistent signature with other query views
py
diff --git a/libexec/windows_shares_discovery_runner.py b/libexec/windows_shares_discovery_runner.py index <HASH>..<HASH> 100755 --- a/libexec/windows_shares_discovery_runner.py +++ b/libexec/windows_shares_discovery_runner.py @@ -25,6 +25,10 @@ import subprocess VERSION = '1.0' +def p_debug(s): + if debug: + ...
Clean-up: Move function to the top.
py
diff --git a/dbt/clients/jinja.py b/dbt/clients/jinja.py index <HASH>..<HASH> 100644 --- a/dbt/clients/jinja.py +++ b/dbt/clients/jinja.py @@ -206,13 +206,19 @@ def create_macro_capture_env(node): path = os.path.join(self.node.get('root_path'), self.node.get('original_file_...
make undefined refs more user-friendly
py
diff --git a/tests/tests/views/approval.py b/tests/tests/views/approval.py index <HASH>..<HASH> 100644 --- a/tests/tests/views/approval.py +++ b/tests/tests/views/approval.py @@ -47,3 +47,24 @@ class TestApprovalResponse(ApprovalTestCase): request = self.client.post(reverse("oauth2_approval") + "?cod...
Added test for if user approves authorization
py
diff --git a/drf_haystack/__init__.py b/drf_haystack/__init__.py index <HASH>..<HASH> 100644 --- a/drf_haystack/__init__.py +++ b/drf_haystack/__init__.py @@ -2,9 +2,9 @@ from __future__ import unicode_literals -__title__ = "drf-haystack" -__version__ = "1.5.3" -__author__ = "Rolf Håvard Blindheim" -__license__ = ...
trying to fix RTD build UnicodeDecodeError
py
diff --git a/twphotos/__init__.py b/twphotos/__init__.py index <HASH>..<HASH> 100644 --- a/twphotos/__init__.py +++ b/twphotos/__init__.py @@ -1 +1 @@ -__version__ = '0.1.0' +__version__ = '0.1.1'
Updated version number: <I>
py
diff --git a/spikeextractors/extractors/neoextractors/neobaseextractor.py b/spikeextractors/extractors/neoextractors/neobaseextractor.py index <HASH>..<HASH> 100644 --- a/spikeextractors/extractors/neoextractors/neobaseextractor.py +++ b/spikeextractors/extractors/neoextractors/neobaseextractor.py @@ -153,7 +153,6 @@ c...
Update spikeextractors/extractors/neoextractors/neobaseextractor.py Pep8 changes
py
diff --git a/base58.py b/base58.py index <HASH>..<HASH> 100644 --- a/base58.py +++ b/base58.py @@ -68,3 +68,47 @@ def b58decode_check(v): raise ValueError("Invalid checksum") return result + + +def main(): + '''Base58 encode or decode FILE, or standard input, to standard output.''' + + import sys ...
usable as program similar to base<I>(1)
py
diff --git a/wal_e/wal_e.py b/wal_e/wal_e.py index <HASH>..<HASH> 100644 --- a/wal_e/wal_e.py +++ b/wal_e/wal_e.py @@ -169,7 +169,9 @@ class S3Backup(object): pool_size=6): self.aws_access_key_id = aws_access_key_id self.aws_secret_access_key = aws_secret_access_key - self.s3_...
Move canonicalization of s3 urls to a common code path Realistically, all procedures here would want a canonicalized version. May as well get it out of the way.
py
diff --git a/salt/modules/grains.py b/salt/modules/grains.py index <HASH>..<HASH> 100644 --- a/salt/modules/grains.py +++ b/salt/modules/grains.py @@ -453,8 +453,8 @@ def delval(key, destructive=False): .. versionadded:: 0.17.0 Delete a grain value from the grains config file. This will just set the - gr...
Fix "of pass" typo in grains.delval docs: change to "or pass" Fixes #<I> This also fixes the syntax highlighting since rst needs double backticks rather than single backticks.
py
diff --git a/properties/math.py b/properties/math.py index <HASH>..<HASH> 100644 --- a/properties/math.py +++ b/properties/math.py @@ -418,15 +418,16 @@ class Vector3Array(BaseVector): """ if not isinstance(value, (tuple, list, np.ndarray)): self.error(instance, value) - for i, val...
Vector3Array validation no longer iterates through numpy arrays
py
diff --git a/intake/catalog/tests/conftest.py b/intake/catalog/tests/conftest.py index <HASH>..<HASH> 100644 --- a/intake/catalog/tests/conftest.py +++ b/intake/catalog/tests/conftest.py @@ -70,7 +70,7 @@ def intake_server(request): # wait for server to finish initalizing, but let the exception through ...
Attempt to solve intermittent server failures
py
diff --git a/master/buildbot/schedulers/base.py b/master/buildbot/schedulers/base.py index <HASH>..<HASH> 100644 --- a/master/buildbot/schedulers/base.py +++ b/master/buildbot/schedulers/base.py @@ -213,7 +213,7 @@ class BaseScheduler(service.MultiService, ComparableMixin): if change_filter and not change_...
scheduler: Improve logging to say which scheduler refuses the codebase.
py
diff --git a/eventsourcing/example/application.py b/eventsourcing/example/application.py index <HASH>..<HASH> 100644 --- a/eventsourcing/example/application.py +++ b/eventsourcing/example/application.py @@ -1,5 +1,7 @@ from abc import ABC +import zlib + from eventsourcing.application.policies import PersistencePoli...
Fixed example application to pass in compressor when there is cipher.
py
diff --git a/openaps/vendors/medtronic.py b/openaps/vendors/medtronic.py index <HASH>..<HASH> 100644 --- a/openaps/vendors/medtronic.py +++ b/openaps/vendors/medtronic.py @@ -411,10 +411,16 @@ class set_temp_basal (InputProgramRequired): @use( ) class bolus (InputProgramRequired): - """ Send bolus. [#warning!!!] +...
tweak bolus help a bit more
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -88,9 +88,9 @@ author = u'Russell Stoneback' # built documents. # # The short X.Y version. -version = pysatMagVect.__version__[::-1].partition('.')[2][::-1] +version = OMMBV.__version__[::-1].partition('.')[...
Update conf.py Removed leftover pysatMagVect references
py
diff --git a/git/refs/symbolic.py b/git/refs/symbolic.py index <HASH>..<HASH> 100644 --- a/git/refs/symbolic.py +++ b/git/refs/symbolic.py @@ -352,7 +352,7 @@ class SymbolicReference(object): fd = lfd.open(write=True, stream=True) ok = True try: - fd.write(write_value.encode('ascii...
Fixed setting ref with non-ascii in path
py
diff --git a/pymatgen/analysis/tests/test_structure_analyzer.py b/pymatgen/analysis/tests/test_structure_analyzer.py index <HASH>..<HASH> 100644 --- a/pymatgen/analysis/tests/test_structure_analyzer.py +++ b/pymatgen/analysis/tests/test_structure_analyzer.py @@ -73,8 +73,6 @@ class VoronoiConnectivityTest(PymatgenTest)...
Remove offending numpy statement.
py
diff --git a/scripts/fastdupes.py b/scripts/fastdupes.py index <HASH>..<HASH> 100644 --- a/scripts/fastdupes.py +++ b/scripts/fastdupes.py @@ -129,8 +129,8 @@ DEFAULTS = { 'exclude': ['*/.svn', '*/.bzr'], 'min_size': 25, # Only check files this big or bigger. } -CHUNK_SIZE = 2**16 #: Size for chunked reads...
Fix another pep8.py complaint in fastdupes.py
py
diff --git a/s3transfer/download.py b/s3transfer/download.py index <HASH>..<HASH> 100644 --- a/s3transfer/download.py +++ b/s3transfer/download.py @@ -578,7 +578,7 @@ class IOStreamingWriteTask(Task): def _main(self, fileobj, data): """Write data to a fileobj. - Data will be written directly to t...
Fix typo (#<I>)
py
diff --git a/proselint/checks/garner/preferred_forms.py b/proselint/checks/garner/preferred_forms.py index <HASH>..<HASH> 100644 --- a/proselint/checks/garner/preferred_forms.py +++ b/proselint/checks/garner/preferred_forms.py @@ -126,6 +126,11 @@ def check(blob): ["railroad magnate", ["railroard magnet"]],...
Add GMAU entry on "make attempts to"
py
diff --git a/openquake/hazardlib/gsim/sharma_2009.py b/openquake/hazardlib/gsim/sharma_2009.py index <HASH>..<HASH> 100644 --- a/openquake/hazardlib/gsim/sharma_2009.py +++ b/openquake/hazardlib/gsim/sharma_2009.py @@ -91,6 +91,8 @@ class SharmaEtAl2009(GMPE): #: Required distance measure is Joyner-Boore distance,...
Reduced warnings in sharma_<I> Former-commit-id: 7cc<I>e<I>a<I>d<I>e<I>d<I>b6bc<I>e<I>
py
diff --git a/easyaudit/signals.py b/easyaudit/signals.py index <HASH>..<HASH> 100644 --- a/easyaudit/signals.py +++ b/easyaudit/signals.py @@ -36,6 +36,7 @@ def post_save(sender, instance, created, raw, using, update_fields, **kwargs): if isinstance(user, AnonymousUser): user = None + kwa...
feed the request into the kwargs for the callbacks in post_save
py
diff --git a/tests/test_ha.py b/tests/test_ha.py index <HASH>..<HASH> 100644 --- a/tests/test_ha.py +++ b/tests/test_ha.py @@ -91,6 +91,7 @@ class TestHa(unittest.TestCase): 'data_dir': 'data/postgresql0', 'superuser': {}, 'admin': {}, 'replication': {...
HA tests assume the default role as replica.
py
diff --git a/hanlp/components/pipeline.py b/hanlp/components/pipeline.py index <HASH>..<HASH> 100644 --- a/hanlp/components/pipeline.py +++ b/hanlp/components/pipeline.py @@ -64,7 +64,9 @@ class Pipe(Component): return output def __repr__(self): - return f'{self.input_key}->{self.component.__clas...
Improve the `__repr__` of `Pipe`
py
diff --git a/salt/modules/git.py b/salt/modules/git.py index <HASH>..<HASH> 100644 --- a/salt/modules/git.py +++ b/salt/modules/git.py @@ -74,7 +74,9 @@ def _git_run(cmd, cwd=None, runas=None, identity=None, **kwargs): if retcode == 0: return result['stdout'] else: - raise Comm...
Ensure git command execution failures describe what command failed, not just stderr, which can be empty
py
diff --git a/src/toil/leader.py b/src/toil/leader.py index <HASH>..<HASH> 100644 --- a/src/toil/leader.py +++ b/src/toil/leader.py @@ -231,14 +231,12 @@ class Leader(object): logName = 'failed.log' if self.toilState.totalFailedJobs else 'succeeded.log' localLog = os.path.join(os.getcwd(), logName) -...
Attempt to address potential toil status problem.
py
diff --git a/tests/unit/modules/test_state.py b/tests/unit/modules/test_state.py index <HASH>..<HASH> 100644 --- a/tests/unit/modules/test_state.py +++ b/tests/unit/modules/test_state.py @@ -10,6 +10,7 @@ import os import shutil import tempfile import textwrap +import time # Import Salt Testing Libs from tests.s...
remove base_top_file file in teardown and add sleep
py
diff --git a/mpv.py b/mpv.py index <HASH>..<HASH> 100644 --- a/mpv.py +++ b/mpv.py @@ -537,6 +537,11 @@ def _mpv_client_api_version(): ver = backend.mpv_client_api_version() return ver>>16, ver&0xFFFF +MPV_VERSION = _mpv_client_api_version() +if MPV_VERSION < (1, 108): + ver = '.'.join(str(num) for num i...
Error for known-incompatible libmpv (closes #<I>)
py
diff --git a/dipper/sources/OMIM.py b/dipper/sources/OMIM.py index <HASH>..<HASH> 100644 --- a/dipper/sources/OMIM.py +++ b/dipper/sources/OMIM.py @@ -211,8 +211,8 @@ class OMIM(Source): self.omim_type[omim_num] = self.globaltt['gene'] # Phenotype, molecular basis known - ...
keep the omim phenotype declared, just not used to subclass
py
diff --git a/src/integration/bin/runtest.py b/src/integration/bin/runtest.py index <HASH>..<HASH> 100644 --- a/src/integration/bin/runtest.py +++ b/src/integration/bin/runtest.py @@ -46,7 +46,7 @@ def write_core_test_properties(seedNode, bucket, password, path): def build_and_run_tests(seedNode, bucket, password): ...
JCBC-<I> Fix integration tests Motivation ========== Lets get the integration tests on jenkins passing (like they do locally) Modification ============ Correct the path for the core integration test properties. Change-Id: Icd<I>f4aca<I>fb3ba<I>f<I>c0e7d<I>ffd2 Reviewed-on: <URL>
py
diff --git a/master/buildbot/schedulers/timed.py b/master/buildbot/schedulers/timed.py index <HASH>..<HASH> 100644 --- a/master/buildbot/schedulers/timed.py +++ b/master/buildbot/schedulers/timed.py @@ -280,7 +280,7 @@ class Nightly(NightlyBase): properties={}, change_filter=None, onlyImportant=False,...
Fix passing hour to NightlyBase constructor.
py
diff --git a/wpull/app.py b/wpull/app.py index <HASH>..<HASH> 100644 --- a/wpull/app.py +++ b/wpull/app.py @@ -39,6 +39,14 @@ class Application(HookableMixin): ]) '''Mapping of error types to exit status.''' + EXPECTED_EXCEPTIONS = ( + ServerError, ProtocolError, + SSLVerficationError, DNSN...
app: Whitelist exceptions that are not crashes for crash message
py
diff --git a/discord/channel.py b/discord/channel.py index <HASH>..<HASH> 100644 --- a/discord/channel.py +++ b/discord/channel.py @@ -1519,6 +1519,7 @@ class DMChannel(discord.abc.Messageable, Hashable): """ base = Permissions.text() + base.read_messages = True base.send_tts_message...
Fix DM channel permissions not having read_messages
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup( name='django-tinycontent', version=tinycontent.__version__, description="A Django app for managing re-usable blocks of tiny content.", - long_description=open('README.md').read(), + lon...
Oops - switched to RST file
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 setup setup( name='bidict', - version='0.3.0', + version='0.3.1-dev', author='Joshua Bronson', author_email='jab@math.brown.edu', description="2-way dict with co...
bump to <I>-dev post release
py
diff --git a/easyaudit/migrations/0013_auto_20190723_0126.py b/easyaudit/migrations/0013_auto_20190723_0126.py index <HASH>..<HASH> 100644 --- a/easyaudit/migrations/0013_auto_20190723_0126.py +++ b/easyaudit/migrations/0013_auto_20190723_0126.py @@ -3,6 +3,10 @@ from django.db import migrations, models +def drop_...
add migration to drop index on requestevent_url (#<I>)
py
diff --git a/sos/policies/distros/__init__.py b/sos/policies/distros/__init__.py index <HASH>..<HASH> 100644 --- a/sos/policies/distros/__init__.py +++ b/sos/policies/distros/__init__.py @@ -473,7 +473,8 @@ class LinuxPolicy(Policy): put_expects = [ u'100%', pexpect.TIMEOUT, - ...
[policy] Add error message when FTP upload write failure When (S)FTP upload fails to write the destination file, our "expect" code should detect it sooner than after timeout happens and write appropriate error message. Resolves: #<I>
py
diff --git a/tensorflow_probability/python/distributions/distribution_properties_test.py b/tensorflow_probability/python/distributions/distribution_properties_test.py index <HASH>..<HASH> 100644 --- a/tensorflow_probability/python/distributions/distribution_properties_test.py +++ b/tensorflow_probability/python/distrib...
Relax precision of truncated normal in hypothesis test. PiperOrigin-RevId: <I>
py
diff --git a/filesystems/tests/common.py b/filesystems/tests/common.py index <HASH>..<HASH> 100644 --- a/filesystems/tests/common.py +++ b/filesystems/tests/common.py @@ -1504,7 +1504,10 @@ class SymbolicLoopMixin(object): fs, loop = self.fs_with_loop() with self.assertRaises(exceptions.SymbolicLoop) ...
Temporarily disable checking the message here. Fixing the realpath issue is more important first.
py
diff --git a/invenio_stats/aggregations.py b/invenio_stats/aggregations.py index <HASH>..<HASH> 100644 --- a/invenio_stats/aggregations.py +++ b/invenio_stats/aggregations.py @@ -330,9 +330,11 @@ class StatAggregator(object): range_args = {} if start_date: - range_args['gte'] = start_date...
aggregations: use date rounding on all methods
py
diff --git a/mot/optimize/__init__.py b/mot/optimize/__init__.py index <HASH>..<HASH> 100644 --- a/mot/optimize/__init__.py +++ b/mot/optimize/__init__.py @@ -118,7 +118,7 @@ def get_minimizer_options(method): elif method == 'Subplex': return {'patience': 10, 'patience_nmsimplex': 100, - ...
Improved the default settings of the Subplex optimizer
py
diff --git a/pyaxo.py b/pyaxo.py index <HASH>..<HASH> 100644 --- a/pyaxo.py +++ b/pyaxo.py @@ -317,6 +317,7 @@ class Axolotl(object): class AxolotlConversation: def __init__(self, axolotl, keys, mode, staged_hk_mk=None): self._axolotl = axolotl + self.lock = Lock() self.keys = keys ...
Sync the conversation's `encrypt` and `decrypt` methods
py
diff --git a/bcbio/bam/trim.py b/bcbio/bam/trim.py index <HASH>..<HASH> 100644 --- a/bcbio/bam/trim.py +++ b/bcbio/bam/trim.py @@ -7,6 +7,7 @@ from bcbio.utils import (file_exists, save_diskspace, safe_makedir, replace_directory, map_wrap) from bcbio.log import logger from bcbio.bam import f...
Use cutadapt with do.run for provenance tracking
py
diff --git a/tests/test_index.py b/tests/test_index.py index <HASH>..<HASH> 100644 --- a/tests/test_index.py +++ b/tests/test_index.py @@ -1,5 +1,6 @@ import ctypes import pickle +import sys import tempfile import unittest from typing import Dict, Iterator, Tuple @@ -463,11 +464,13 @@ class IndexSerialization(unit...
Skip part of test_interleaving for <I>-bit systems (#<I>)
py
diff --git a/salt/modules/pkg_resource.py b/salt/modules/pkg_resource.py index <HASH>..<HASH> 100644 --- a/salt/modules/pkg_resource.py +++ b/salt/modules/pkg_resource.py @@ -280,7 +280,7 @@ def parse_targets(name=None, pkgs=None, sources=None): return [x[2] for x in srcinfo], 'file' elif name and __gra...
Fix pkg.install for one-pkg install w/out version This fixes a bug I introduced in a commit earlier today, which would affect modules I've been working on to prepare for #<I> (yumpkg, yumpkg5, and apt). A traditional single package install would fail if a version was not specified.
py
diff --git a/pydevd_plugins/django_debug.py b/pydevd_plugins/django_debug.py index <HASH>..<HASH> 100644 --- a/pydevd_plugins/django_debug.py +++ b/pydevd_plugins/django_debug.py @@ -280,7 +280,8 @@ def cmd_step_into(plugin, mainDebugger, frame, event, args, stop_info, stop): mainDebugger, filename, info, thread =...
bug in django step into fixed
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ import sys setup( name='txZMQ', - version='0.5.2', + version='0.5.3', packages=['txzmq','txzmq.test'], license='GPLv2', author='Andrey Smirnov',
Release with preliminary support for zeromq 3.x (hidden).
py
diff --git a/pyquaternion/quaternion.py b/pyquaternion/quaternion.py index <HASH>..<HASH> 100644 --- a/pyquaternion/quaternion.py +++ b/pyquaternion/quaternion.py @@ -834,7 +834,7 @@ class Quaternion: Find a valid quaternion rotation at a specified distance along the minor arc of a great circle pass...
Removed double mentioning of wikipedia article
py
diff --git a/bitex/formatters/kraken.py b/bitex/formatters/kraken.py index <HASH>..<HASH> 100644 --- a/bitex/formatters/kraken.py +++ b/bitex/formatters/kraken.py @@ -13,7 +13,7 @@ import logging log = logging.getLogger(__name__) -def trade(data): +def trade(data, *args, **kwargs): if not data['error']: ...
added args and kwargs to other formatters
py
diff --git a/mysql/toolkit/script/execute.py b/mysql/toolkit/script/execute.py index <HASH>..<HASH> 100644 --- a/mysql/toolkit/script/execute.py +++ b/mysql/toolkit/script/execute.py @@ -1,6 +1,7 @@ from tqdm import tqdm from mysql.toolkit.script.dump import dump_commands, write_read_commands from mysql.toolkit.scri...
Added prepare_sql map call to commands property Cleaning list of commands before return to remove invalid syntax and commands.
py
diff --git a/scvelo/tools/velocity_confidence.py b/scvelo/tools/velocity_confidence.py index <HASH>..<HASH> 100644 --- a/scvelo/tools/velocity_confidence.py +++ b/scvelo/tools/velocity_confidence.py @@ -60,7 +60,7 @@ def velocity_confidence(data, vkey='velocity', copy=False): R[i] = np.mean(np.einsum('ij, j', ...
ensure velocity_confidence to be in [0,1]
py
diff --git a/fireplace/dsl/selector.py b/fireplace/dsl/selector.py index <HASH>..<HASH> 100644 --- a/fireplace/dsl/selector.py +++ b/fireplace/dsl/selector.py @@ -204,9 +204,6 @@ class SelfSelector(Selector): def eval(self, entities, source): return [source] - def test(self, entity, source): - return entity is ...
Remove duplicated test() method in some selectors
py
diff --git a/HMpTy/__version__.py b/HMpTy/__version__.py index <HASH>..<HASH> 100644 --- a/HMpTy/__version__.py +++ b/HMpTy/__version__.py @@ -1 +1 @@ -__version__ = '1.3.3' +__version__ = '1.3.4'
moving from mysql-python to PyMySQL
py
diff --git a/thefuck/utils.py b/thefuck/utils.py index <HASH>..<HASH> 100644 --- a/thefuck/utils.py +++ b/thefuck/utils.py @@ -1,6 +1,5 @@ import os import pickle -import pkg_resources import re import shelve import six @@ -255,6 +254,8 @@ cache.disabled = False def get_installation_info(): + import pkg_re...
#<I>: Import `pkg_resources` only when it needed
py
diff --git a/unit_tests/test_restore_cmd.py b/unit_tests/test_restore_cmd.py index <HASH>..<HASH> 100644 --- a/unit_tests/test_restore_cmd.py +++ b/unit_tests/test_restore_cmd.py @@ -117,28 +117,6 @@ class TestTrashRestoreCmd: assert_equal("No files trashed from current dir ('cwd')\n", self.st...
Refactor: removed integration test already covered by test_end_to_end_restore.TestEndToEndRestore.test_restore_happy_path
py
diff --git a/meleeuploader/forms.py b/meleeuploader/forms.py index <HASH>..<HASH> 100755 --- a/meleeuploader/forms.py +++ b/meleeuploader/forms.py @@ -126,7 +126,7 @@ class SCSetup(BaseWidget): self._button.value = self.__button_action def __button_action(self, data=None): - if self._file.value: ...
fix: handle missing streamcontrol json
py
diff --git a/src/pikepdf/models/image.py b/src/pikepdf/models/image.py index <HASH>..<HASH> 100644 --- a/src/pikepdf/models/image.py +++ b/src/pikepdf/models/image.py @@ -301,14 +301,14 @@ class PdfImage(PdfImageBase): # be saved as JPEGs, and are probably bugs. Some software in the # wild act...
image: fix IndexError if /DecodeParms are missing
py
diff --git a/bingraphvis/angr/x86/annotator.py b/bingraphvis/angr/x86/annotator.py index <HASH>..<HASH> 100644 --- a/bingraphvis/angr/x86/annotator.py +++ b/bingraphvis/angr/x86/annotator.py @@ -85,6 +85,17 @@ class AngrX86CommentsAsm(ContentAnnotator): def register(self, content): content.add_column_afte...
Add demangle to AngrX<I>CommentsAnnotator Its a "lame" implementation, should be refactored later.
py
diff --git a/scriptworker/constants.py b/scriptworker/constants.py index <HASH>..<HASH> 100644 --- a/scriptworker/constants.py +++ b/scriptworker/constants.py @@ -178,7 +178,7 @@ DEFAULT_CONFIG = frozendict({ # Map scopes to restricted-level 'cot_restricted_scopes': frozendict({ 'firefox': frozendict...
Bug <I> - adjust nightly scopes in balrog. r=aki
py
diff --git a/tests/iou/test_iou_device.py b/tests/iou/test_iou_device.py index <HASH>..<HASH> 100644 --- a/tests/iou/test_iou_device.py +++ b/tests/iou/test_iou_device.py @@ -14,7 +14,7 @@ def iou(request): return iou_device -@pytest.mark.skipif(os.environ["TRAVIS"] == "TRUE", +@pytest.mark.skipif(os.environ["...
Modify the TRAVIS environment check
py
diff --git a/cablemap.core/cablemap/core/c14n.py b/cablemap.core/cablemap/core/c14n.py index <HASH>..<HASH> 100644 --- a/cablemap.core/cablemap/core/c14n.py +++ b/cablemap.core/cablemap/core/c14n.py @@ -122,6 +122,7 @@ _STATION_C14N = { u'BRUSSELSBE': u'BRUSSELS', u'USEUBRUSS': u'USEUBRUSSELS', u'USEU': ...
Updated station c<I>n
py
diff --git a/openquake/hazardlib/tests/geo/geodetic_test.py b/openquake/hazardlib/tests/geo/geodetic_test.py index <HASH>..<HASH> 100644 --- a/openquake/hazardlib/tests/geo/geodetic_test.py +++ b/openquake/hazardlib/tests/geo/geodetic_test.py @@ -195,6 +195,9 @@ class DistanceToArcTest(unittest.TestCase): dist...
Added a test for the distance to arc
py
diff --git a/autoapi/directives.py b/autoapi/directives.py index <HASH>..<HASH> 100644 --- a/autoapi/directives.py +++ b/autoapi/directives.py @@ -28,8 +28,7 @@ class NestedParse(Directive): try: title_node = node[0][0] if isinstance(title_node, nodes.title): - if isins...
Revert attempt at making a hidden title This directive was to remove the initial title from the nest block
py
diff --git a/datetime_tz/__init__.py b/datetime_tz/__init__.py index <HASH>..<HASH> 100644 --- a/datetime_tz/__init__.py +++ b/datetime_tz/__init__.py @@ -877,8 +877,6 @@ for methodname in ["__add__", "__radd__", "__rsub__", "__sub__"]: if hasattr(original_datetime_type, methodname): _wrap_method(methodname) ...
Fixed a merge conflict resolution error.
py
diff --git a/heron/tools/common/src/python/utils/config.py b/heron/tools/common/src/python/utils/config.py index <HASH>..<HASH> 100644 --- a/heron/tools/common/src/python/utils/config.py +++ b/heron/tools/common/src/python/utils/config.py @@ -392,8 +392,7 @@ def parse_override_config_and_write_file(namespace): tmp...
Use yaml lib to generate override.yaml (#<I>)
py
diff --git a/proso/release.py b/proso/release.py index <HASH>..<HASH> 100644 --- a/proso/release.py +++ b/proso/release.py @@ -1 +1 @@ -VERSION = '2.0.0-SNAPSHOT' +VERSION = '2.0.0'
release a new version <I>
py
diff --git a/p3/eppy/tests/test_modeleditor.py b/p3/eppy/tests/test_modeleditor.py index <HASH>..<HASH> 100644 --- a/p3/eppy/tests/test_modeleditor.py +++ b/p3/eppy/tests/test_modeleditor.py @@ -25,7 +25,6 @@ import eppy.idfreader as idfreader import eppy.snippet as snippet from eppy.bunch_subclass import Bunch - ...
passes python3 tests
py
diff --git a/pylint_django/transforms/foreignkey.py b/pylint_django/transforms/foreignkey.py index <HASH>..<HASH> 100644 --- a/pylint_django/transforms/foreignkey.py +++ b/pylint_django/transforms/foreignkey.py @@ -110,7 +110,8 @@ def infer_key_classes(node, context=None): module_name += '.models' ...
Add URL to PyPI for README as suggested by @carlio
py
diff --git a/source/pic2card/mystique/font_properties.py b/source/pic2card/mystique/font_properties.py index <HASH>..<HASH> 100644 --- a/source/pic2card/mystique/font_properties.py +++ b/source/pic2card/mystique/font_properties.py @@ -27,15 +27,15 @@ def classify_font_weights(design_objects): # print(f"{it...
removed variance error (#<I>) * removed variance error * checks for null weights
py
diff --git a/imgaug/augmentables/normalization.py b/imgaug/augmentables/normalization.py index <HASH>..<HASH> 100644 --- a/imgaug/augmentables/normalization.py +++ b/imgaug/augmentables/normalization.py @@ -489,6 +489,9 @@ def invert_normalize_keypoints(keypoints, keypoints_old): assert len(keypoints) == 1 ...
Fix missing KP unnormalize for iterable-Keypoint
py
diff --git a/dev/sparktestsupport/modules.py b/dev/sparktestsupport/modules.py index <HASH>..<HASH> 100644 --- a/dev/sparktestsupport/modules.py +++ b/dev/sparktestsupport/modules.py @@ -613,6 +613,7 @@ pyspark_pandas = Module( "pyspark.pandas.tests.data_type_ops.test_num_ops", "pyspark.pandas.tests.d...
[SPARK-<I>][PYTHON][FOLLOWUP] Add test_timedelta_ops to modules ### What changes were proposed in this pull request? Add `test_timedelta_ops` to modules ### Why are the changes needed? `test_timedelta_ops` wasn't added to modules in original PR <URL>: pyspark-pandas` contains test_timedelta_ops. Closes #<I> from Yi...
py
diff --git a/scripts/res_core_data_mthd1.py b/scripts/res_core_data_mthd1.py index <HASH>..<HASH> 100644 --- a/scripts/res_core_data_mthd1.py +++ b/scripts/res_core_data_mthd1.py @@ -14,7 +14,9 @@ import core_data as mod_core def run(fname, dat): append_rst(fname, '- Data File : ' + dat + '\n') append_rst(fn...
method1 reads data file and prints lines as test
py
diff --git a/ontobio/golr/golr_query.py b/ontobio/golr/golr_query.py index <HASH>..<HASH> 100644 --- a/ontobio/golr/golr_query.py +++ b/ontobio/golr/golr_query.py @@ -115,7 +115,11 @@ class GolrFields: ASPECT='aspect' RELATION='relation' RELATION_LABEL='relation_label' - + FREQUENCY='frequency' + F...
updating golr fields and select fields to include frequency and onset in DiseasePhenotype assoc
py
diff --git a/pandas/tests/io/parser/test_unsupported.py b/pandas/tests/io/parser/test_unsupported.py index <HASH>..<HASH> 100644 --- a/pandas/tests/io/parser/test_unsupported.py +++ b/pandas/tests/io/parser/test_unsupported.py @@ -12,7 +12,10 @@ from pathlib import Path import pytest -from pandas.compat import is_...
TST: Skip pyarrow hanging in MacOS CI (#<I>) * TST: Skip pyarrow hanging in MacOS CI * Call
py
diff --git a/solvebio/resource/dataset.py b/solvebio/resource/dataset.py index <HASH>..<HASH> 100644 --- a/solvebio/resource/dataset.py +++ b/solvebio/resource/dataset.py @@ -358,7 +358,7 @@ class Dataset(CreateableAPIResource, if not activity or not follow: break - for task i...
fix issue with activity pagination (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -from distutils.core import setup +from setuptools import setup setup( name='ostd', @@ -15,8 +15,9 @@ setup( ], keywords='opensubtitles', - py_modules=['ostd'], - requires=[ + packages...
Change from distutils to setuputils
py
diff --git a/osmcha/changeset.py b/osmcha/changeset.py index <HASH>..<HASH> 100644 --- a/osmcha/changeset.py +++ b/osmcha/changeset.py @@ -157,9 +157,11 @@ class Analyse(object): 'modify': actions.count('modify'), 'delete': actions.count('delete') } + self.verify_editor() ...
add rule to suspect of changesets with more than <I> elements created
py
diff --git a/umap/distances.py b/umap/distances.py index <HASH>..<HASH> 100644 --- a/umap/distances.py +++ b/umap/distances.py @@ -6,6 +6,7 @@ import numpy as np import scipy.stats _mock_identity = np.eye(2, dtype=np.float64) +_mock_cost = 1.0 - _mock_identity _mock_ones = np.ones(2, dtype=np.float64) @@ -727,...
Add mocks for sinkhorn params
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ from pip.req import parse_requirements requirements = [str(r.req) for r in parse_requirements('requirements.txt', session=False)] test_requirements = [str(r.req) for r in - ...
fix: fix reqs ref
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ from setuptools import setup, find_packages general_requirements = [ 'dpath == 1.4.0', 'enum34 >= 1.1.6', - 'pytest >= 4.0.0, < 5.0.0', # For openfisca test + 'pytest >= 4.4.1, < 5.0.0', # For...
Require recent pytest version
py
diff --git a/mongo/tests/test_unit.py b/mongo/tests/test_unit.py index <HASH>..<HASH> 100644 --- a/mongo/tests/test_unit.py +++ b/mongo/tests/test_unit.py @@ -199,3 +199,17 @@ def test_legacy_config_deprecation(check): assert check.get_warnings() == [ 'Option `server` is deprecated and will be removed in ...
Add unit test for collection metric names depletion (#<I>)
py
diff --git a/api/src/opentrons/hardware_control/api.py b/api/src/opentrons/hardware_control/api.py index <HASH>..<HASH> 100644 --- a/api/src/opentrons/hardware_control/api.py +++ b/api/src/opentrons/hardware_control/api.py @@ -551,9 +551,16 @@ class API(HardwareAPILike): """ Resume motion after a call...
fix(api): fix race condition causing pause/running state mismatch. (#<I>) closes #<I>
py
diff --git a/GPy/examples/tutorials.py b/GPy/examples/tutorials.py index <HASH>..<HASH> 100644 --- a/GPy/examples/tutorials.py +++ b/GPy/examples/tutorials.py @@ -114,12 +114,8 @@ def tuto_kernel_overview(): Y = 0.5*X[:,:1] + 0.5*X[:,1:] + 2*np.sin(X[:,:1]) * np.sin(X[:,1:]) # Create GP regression model -<<...
merged conflict in tutorial's tests (again)
py
diff --git a/airflow/operators/bash_operator.py b/airflow/operators/bash_operator.py index <HASH>..<HASH> 100644 --- a/airflow/operators/bash_operator.py +++ b/airflow/operators/bash_operator.py @@ -79,12 +79,18 @@ class BashOperator(BaseOperator): "Temporary script location: %s", ...
[AIRFLOW-<I>] Restore default signal disposition Restore defaults for SIGPIPE, SIGXFZ, and SIGXFSZ Python <I> subprocess resets signal disposition for these signals to ignore, which can cause problems. For example, a simple BashOperator executing 'yes | head' may never terminate. For details, see discussion at: <URL...
py