diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/invocations/docs.py b/invocations/docs.py index <HASH>..<HASH> 100644 --- a/invocations/docs.py +++ b/invocations/docs.py @@ -39,21 +39,10 @@ def api_docs(target, output="api", exclude=""): @task -def docs(clean=False, browse=False, api_target=None, api_output=None, - api_exclude=None): +def docs(c...
Don't try wrapping api_docs in docs, that's dumb
py
diff --git a/pifpaf/__main__.py b/pifpaf/__main__.py index <HASH>..<HASH> 100644 --- a/pifpaf/__main__.py +++ b/pifpaf/__main__.py @@ -56,24 +56,17 @@ def create_RunDaemon(daemon): command = parsed_args.__dict__.pop("command", None) driver = plugin(**parsed_args.__dict__) if comma...
Don't call cleanup twice if _setUp fail
py
diff --git a/pygount/__init__.py b/pygount/__init__.py index <HASH>..<HASH> 100644 --- a/pygount/__init__.py +++ b/pygount/__init__.py @@ -6,4 +6,4 @@ import logging log = logging.getLogger('pygount') -__version__ = '0.0.1' \ No newline at end of file +__version__ = '0.0.2' \ No newline at end of file
Bumped version number to match documentation.
py
diff --git a/cherrypy/test/benchmark.py b/cherrypy/test/benchmark.py index <HASH>..<HASH> 100644 --- a/cherrypy/test/benchmark.py +++ b/cherrypy/test/benchmark.py @@ -301,7 +301,7 @@ def startup_modpython(req=None): """Start the CherryPy app server in 'serverless' mode (for modpython/WSGI).""" if cherrypy.eng...
trunk - cosmetic change bringing this file more inline with the python3 version
py
diff --git a/code/pywws/Template.py b/code/pywws/Template.py index <HASH>..<HASH> 100755 --- a/code/pywws/Template.py +++ b/code/pywws/Template.py @@ -117,8 +117,6 @@ class Template(object): del command[1] else: x = data[command[0]] - ...
Changed Template.py so it no longer ignores wind direction at low wind speeds.
py
diff --git a/svtyper/version.py b/svtyper/version.py index <HASH>..<HASH> 100644 --- a/svtyper/version.py +++ b/svtyper/version.py @@ -1,2 +1,2 @@ __author__ = "Colby Chiang (colbychiang@wustl.edu)" -__version__ = "v0.4.0" +__version__ = "v0.5.0"
Update to <I> This release incorporates the following changes: - Duplication genotyping model has been adjusted. The new model is more sensitive and should better reflect genotyping uncertainty. - Genotype quality calculations have been improved. If you have filtering scripts relying on genotype quality...
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -21,6 +21,7 @@ setup( url='https://github.com/furious-luke/django-address', description='A django application for describing addresses.', long_description=open(os.path.join(os.path.dirname(__file__), 'README.md'...
Add now-required long description content type field to setup() call
py
diff --git a/ariba/tests/report_filter_test.py b/ariba/tests/report_filter_test.py index <HASH>..<HASH> 100644 --- a/ariba/tests/report_filter_test.py +++ b/ariba/tests/report_filter_test.py @@ -332,6 +332,4 @@ class TestReportFilter(unittest.TestCase): rf.run(tmpprefix) self.assertTrue(filecmp.cmp(ex...
Not writing xls any more
py
diff --git a/mrivis/mrivis.py b/mrivis/mrivis.py index <HASH>..<HASH> 100644 --- a/mrivis/mrivis.py +++ b/mrivis/mrivis.py @@ -16,6 +16,7 @@ def checkerboard(img_spec1=None, rescale_intensity_range=None, annot=None, padding=5, + output_path=None): ...
option to write to disk, and return figure
py
diff --git a/spacy/language.py b/spacy/language.py index <HASH>..<HASH> 100644 --- a/spacy/language.py +++ b/spacy/language.py @@ -39,6 +39,8 @@ from . import about class BaseDefaults(object): @classmethod def create_lemmatizer(cls, nlp=None, lookups=None): + if lookups is None: + lookups =...
Create lookups if not passed in
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -51,7 +51,7 @@ else: if '--cython' in sys.argv or is_windows: from Cython.Build import cythonize - + print('cythonizing taglib.pyx ...') extensions = cythonize([Extension('taglib', [os.path.join('src', 'taglib....
print to console when cython is called
py
diff --git a/test/plugins/test_feature_toggle_check.py b/test/plugins/test_feature_toggle_check.py index <HASH>..<HASH> 100644 --- a/test/plugins/test_feature_toggle_check.py +++ b/test/plugins/test_feature_toggle_check.py @@ -31,7 +31,6 @@ def test_waffle_missing_toggle_annotation_check(): MissingCourseWithKw...
remove flag_undefined_default flag_undefined_default has been deprecated and is being removed, so remove it from the test. ARCHBOM-<I>
py
diff --git a/quilt/db.py b/quilt/db.py index <HASH>..<HASH> 100644 --- a/quilt/db.py +++ b/quilt/db.py @@ -95,12 +95,16 @@ class PatchSeries(object): """ Returns a list of patches after patch name from the patches list """ self._check_patch(patch_name) index = self._patches.index(patch_name) ...
Check if patch is the last patch in the list
py
diff --git a/km3pipe/io/hdf5.py b/km3pipe/io/hdf5.py index <HASH>..<HASH> 100644 --- a/km3pipe/io/hdf5.py +++ b/km3pipe/io/hdf5.py @@ -54,11 +54,12 @@ class HDF5Sink(Module): data = data.serialise() except AttributeError: pass + if len(data) <= 0: + return t...
don't try to write empy XSeries
py
diff --git a/core/polyaxon/agents/agent.py b/core/polyaxon/agents/agent.py index <HASH>..<HASH> 100644 --- a/core/polyaxon/agents/agent.py +++ b/core/polyaxon/agents/agent.py @@ -18,13 +18,13 @@ import atexit import sys import time -from polyaxon_sdk import V1Agent, V1Statuses +from polyaxon_sdk import V1Agent fro...
Fix typo in agent exception * Fix statuses import in agent
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -80,7 +80,7 @@ trove_classifiers = [ setup( name='coursera', - version='0.0.3', + version='0.1.0a1', maintainer='Rogério Theodoro de Brito', maintainer_email='rbrito@ime.usp.br',
setup.py: Prepare for release <I> alpha 1.
py
diff --git a/safe/api.py b/safe/api.py index <HASH>..<HASH> 100644 --- a/safe/api.py +++ b/safe/api.py @@ -61,5 +61,9 @@ from safe.common.polygon import in_and_outside_polygon from safe.common.tables import Table, TableCell, TableRow from safe.postprocessors import (get_postprocessors, ...
Add try exception for import related to testing module.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -48,4 +48,7 @@ setup( 'pyblish_nuke': ['plugins/*.py', 'nuke_path/*.py'] }, + install_requires=["pyblish>=1.0.11", + "pyblish-endpoint>=1.1.0", + ...
Added dependencies to setup.py
py
diff --git a/python/test/communicator/test_new_group.py b/python/test/communicator/test_new_group.py index <HASH>..<HASH> 100644 --- a/python/test/communicator/test_new_group.py +++ b/python/test/communicator/test_new_group.py @@ -31,12 +31,7 @@ def test_new_group(seed, comm_nccl_opts): pytest.skip("{} is supp...
[test] Remove unnecessary skip conditions in communicator testing
py
diff --git a/sockeye/log.py b/sockeye/log.py index <HASH>..<HASH> 100644 --- a/sockeye/log.py +++ b/sockeye/log.py @@ -13,9 +13,9 @@ import logging import logging.config +import sys from typing import Optional - FORMATTERS = { 'verbose': { 'format': '[%(asctime)s:%(levelname)s:%(name)s:%(funcName)...
Log exception and traceback for uncaught exceptions (#<I>)
py
diff --git a/test/test_webserver.py b/test/test_webserver.py index <HASH>..<HASH> 100644 --- a/test/test_webserver.py +++ b/test/test_webserver.py @@ -145,11 +145,11 @@ class TestWebServer(object): timeline_re = re.compile(r"^[A-F0-9]{8}\.history$") # we should have a single timeline file in pg_xlog n...
test_webserver: check set lengths instead of matching against empty set Comparisons of empty sets using set() and set([]) syntax seems to confuse some python or pylint versions, just look at the length instead.
py
diff --git a/LiSE/LiSE/rule.py b/LiSE/LiSE/rule.py index <HASH>..<HASH> 100644 --- a/LiSE/LiSE/rule.py +++ b/LiSE/LiSE/rule.py @@ -368,8 +368,11 @@ class Rule(object): def always(self): """Arrange to be triggered every tick, regardless of circumstance.""" - def truth(*args): - return T...
Only save the truth function the once For some reason it doesn't compile the same every time? Weird
py
diff --git a/test/hdfs/common_hdfs_tests.py b/test/hdfs/common_hdfs_tests.py index <HASH>..<HASH> 100644 --- a/test/hdfs/common_hdfs_tests.py +++ b/test/hdfs/common_hdfs_tests.py @@ -22,6 +22,7 @@ import unittest import uuid import shutil import operator +import array from ctypes import create_string_buffer impo...
check reading into an array.array
py
diff --git a/tests/test_common.py b/tests/test_common.py index <HASH>..<HASH> 100644 --- a/tests/test_common.py +++ b/tests/test_common.py @@ -163,6 +163,10 @@ def test_tmux_cmd_raises_on_not_found(): tmux_cmd('-V') +def test_tmux_cmd_unicode(): + tmux_cmd('has-session', 'юникод') + + @pytest.mark.parametr...
Add failing test case for unicode command in PY2
py
diff --git a/spacy/cli/debug_model.py b/spacy/cli/debug_model.py index <HASH>..<HASH> 100644 --- a/spacy/cli/debug_model.py +++ b/spacy/cli/debug_model.py @@ -7,7 +7,7 @@ from .. import util from ..lang.en import English -@app.command("debug-model") +@app.command("debug-model", hidden=True) def debug_model_cli( ...
Hide command from public --help for now Not sure we want this to be officially documented yet?
py
diff --git a/pysparkling/sql/expressions/expressions.py b/pysparkling/sql/expressions/expressions.py index <HASH>..<HASH> 100644 --- a/pysparkling/sql/expressions/expressions.py +++ b/pysparkling/sql/expressions/expressions.py @@ -248,3 +248,18 @@ class NullSafeBinaryOperation(BinaryOperation): def unsafe_operatio...
Add a NullSafeColumnOperation class
py
diff --git a/phoebe/parameters/feature.py b/phoebe/parameters/feature.py index <HASH>..<HASH> 100644 --- a/phoebe/parameters/feature.py +++ b/phoebe/parameters/feature.py @@ -30,7 +30,7 @@ def spot(feature, **kwargs): params += [FloatParameter(qualifier='radius', value=kwargs.get('radius', 1.0), default_unit=u.deg...
Lower limit for relteff of spot should be 0. #<I>
py
diff --git a/atrcopy/__init__.py b/atrcopy/__init__.py index <HASH>..<HASH> 100644 --- a/atrcopy/__init__.py +++ b/atrcopy/__init__.py @@ -1,4 +1,4 @@ -__version__ = "3.0.1" +__version__ = "3.1.0" import logging
Updated version number to indicate DOS <I> support
py
diff --git a/pyblish_nuke/lib.py b/pyblish_nuke/lib.py index <HASH>..<HASH> 100644 --- a/pyblish_nuke/lib.py +++ b/pyblish_nuke/lib.py @@ -143,7 +143,7 @@ def add_to_filemenu(): menu.addSeparator(index=8) cmd = 'import pyblish_nuke;pyblish_nuke.show()' - menu.addCommand('Publish', cmd, index=9) + menu...
"Ctrl+Alt+P" shortcut to publishing.
py
diff --git a/srtm/data.py b/srtm/data.py index <HASH>..<HASH> 100644 --- a/srtm/data.py +++ b/srtm/data.py @@ -157,7 +157,6 @@ class GeoElevationData: """ import Image as mod_image import ImageDraw as mod_imagedraw - import numpy as np if not size or len(size) != 2: ...
No need to force import numpy when the user need only the image
py
diff --git a/eth_account/hdaccount/__init__.py b/eth_account/hdaccount/__init__.py index <HASH>..<HASH> 100644 --- a/eth_account/hdaccount/__init__.py +++ b/eth_account/hdaccount/__init__.py @@ -14,11 +14,12 @@ def derive_ethereum_key(seed: bytes, account_index: int=0): def seed_from_mnemonic(words: str, passphrase=...
feat: Extra validation by expanding the keywords
py
diff --git a/tests/output_hazard_unittest.py b/tests/output_hazard_unittest.py index <HASH>..<HASH> 100644 --- a/tests/output_hazard_unittest.py +++ b/tests/output_hazard_unittest.py @@ -22,6 +22,7 @@ import os import unittest from openquake.db.alchemy.db_utils import get_db_session +from openquake.db.alchemy.model...
Add missing import (was provided by accident from openquake.output.hazard).
py
diff --git a/cdpybio/bedtools.py b/cdpybio/bedtools.py index <HASH>..<HASH> 100644 --- a/cdpybio/bedtools.py +++ b/cdpybio/bedtools.py @@ -53,7 +53,7 @@ def strip_chr(bt): out = pbt.BedTool(s, from_string=True) return out -def add_chr_to_contig(bt): +def add_chr(bt): """Add 'chr' to chromosomes for Bed...
Changed named of fnc for similarity
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -234,7 +234,7 @@ for dirname, dirnames, filenames in os.walk('av'): pyx_path = os.path.join(dirname, filename) base = os.path.splitext(pyx_path)[0] - mod_name = base.replace('/', '.') + mod_na...
Fix bug, and remove workaround in setup.py Previously, `mod_name` was improperly esacped. This only became apparent on windows, where a workaround had been implemented to circumvent the effects. This commit fixes the bug, and removes the workaround (which became a bug once the inital one was fixed).
py
diff --git a/geomdl/utilities.py b/geomdl/utilities.py index <HASH>..<HASH> 100644 --- a/geomdl/utilities.py +++ b/geomdl/utilities.py @@ -10,6 +10,7 @@ import decimal import math import warnings +import copy # Reads 2D control points file, flips it and saves it @@ -258,6 +259,32 @@ def make_zigzag(points, row_...
Initial version of make_mesh function Currently, it is not working as intended.
py
diff --git a/graphite_influxdb.py b/graphite_influxdb.py index <HASH>..<HASH> 100644 --- a/graphite_influxdb.py +++ b/graphite_influxdb.py @@ -22,6 +22,12 @@ logger = structlog.get_logger() class NullStatsd(): + def __enter__(self): + return self + + def __exit__(self, type, value, traceback): + ...
NullStatsd should be usable with 'with' fix #<I>
py
diff --git a/delphi/icm_api/api.py b/delphi/icm_api/api.py index <HASH>..<HASH> 100644 --- a/delphi/icm_api/api.py +++ b/delphi/icm_api/api.py @@ -160,6 +160,7 @@ def createExperiment(uuid: str): for ind in n[1]["indicators"]: ind.dataset = np.ones(G.res) * ind.mean + rv.partial_t...
Made it so that not all variables need to be intervened upon
py
diff --git a/publ/rendering.py b/publ/rendering.py index <HASH>..<HASH> 100644 --- a/publ/rendering.py +++ b/publ/rendering.py @@ -90,9 +90,9 @@ def render_publ_template(template: Template, **kwargs) -> typing.Tuple[str, str] Returns tuple of (rendered text, etag) """ @cache.memoize(unless=caching.do_not...
Use request.url as the cache key instead of shoehorning request.args in
py
diff --git a/pysat/utils/time.py b/pysat/utils/time.py index <HASH>..<HASH> 100644 --- a/pysat/utils/time.py +++ b/pysat/utils/time.py @@ -294,8 +294,11 @@ def create_datetime_index(year=None, month=None, day=None, uts=None): df = pds.DataFrame({'year': year, 'month': month, 'day': day0}) index = pds.Datetime...
BUG: need to maintain fractional seconds
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -48,9 +48,9 @@ copyright = u'2011, Mark Lavin' # built documents. # # The short X.Y version. -version = '0.2' +version = '0.3' # The full version, including alpha/beta/rc tags. -release = '0.2.0' +release =...
Bump docs version number to reflect current status.
py
diff --git a/notario/engine.py b/notario/engine.py index <HASH>..<HASH> 100644 --- a/notario/engine.py +++ b/notario/engine.py @@ -1,13 +1,16 @@ import sys from notario.exceptions import Invalid, SchemaError from notario.utils import is_callable, ndict, sift, is_empty, re_sort +from notario.normal import Data, Schem...
starts refactoring on data and schema structures
py
diff --git a/src/Exscript/Logfile.py b/src/Exscript/Logfile.py index <HASH>..<HASH> 100644 --- a/src/Exscript/Logfile.py +++ b/src/Exscript/Logfile.py @@ -35,19 +35,19 @@ class Logfile(Log): def __str__(self): data = '' if os.path.isfile(self.filename): - with open(self.filename, 'r') ...
Exscript.Logfile: don't overwrite built in function 'file'.
py
diff --git a/pymta/session.py b/pymta/session.py index <HASH>..<HASH> 100644 --- a/pymta/session.py +++ b/pymta/session.py @@ -91,10 +91,8 @@ class SMTPSession(object): def _add_rset_transitions(self): for state_name in self.state.known_non_final_states(): - if state_name == 'new': - ...
refactor SMTPSession: simplify adding "RSET" transitions
py
diff --git a/svn/common.py b/svn/common.py index <HASH>..<HASH> 100644 --- a/svn/common.py +++ b/svn/common.py @@ -44,6 +44,7 @@ class CommonClient(object): if self.__username is not None and self.__password is not None: cmd += ['--username', self.__username] cmd += ['--password', sel...
do not store passed authentication information (#<I>)
py
diff --git a/luigi/scheduler.py b/luigi/scheduler.py index <HASH>..<HASH> 100644 --- a/luigi/scheduler.py +++ b/luigi/scheduler.py @@ -622,7 +622,7 @@ class CentralPlannerScheduler(Scheduler): self._update_task_history(task_id, status) self._state.set_status(task, PENDING if status == SUSP...
Move retry_time logic to its own method.
py
diff --git a/salt/master.py b/salt/master.py index <HASH>..<HASH> 100644 --- a/salt/master.py +++ b/salt/master.py @@ -666,6 +666,7 @@ class AESFuncs(object): ''' mopts = dict(self.opts) file_roots = dict(mopts['file_roots']) + file_roots = {} envs = self._file_envs() ...
Prevent double environments fomr unconfigured interfaces
py
diff --git a/ibei/__init__.py b/ibei/__init__.py index <HASH>..<HASH> 100644 --- a/ibei/__init__.py +++ b/ibei/__init__.py @@ -7,4 +7,4 @@ Base Library (:mod:`ibei`) .. currentmodule:: ibei """ -from main import * +from main import uibei, SQSolarcell, DeVosSolarcell
Import in a more discriminating fashion
py
diff --git a/invenio_records_rest/utils.py b/invenio_records_rest/utils.py index <HASH>..<HASH> 100644 --- a/invenio_records_rest/utils.py +++ b/invenio_records_rest/utils.py @@ -76,11 +76,12 @@ def check_elasticsearch(record, *args, **kwargs): class PIDConverter(BaseConverter): """Resolve PID value.""" - de...
global: configurable record class in PID resolver
py
diff --git a/bokeh/charts/data_source.py b/bokeh/charts/data_source.py index <HASH>..<HASH> 100644 --- a/bokeh/charts/data_source.py +++ b/bokeh/charts/data_source.py @@ -151,7 +151,7 @@ class DataGroup(object): data (:class:`pandas.DataFrame`): the subset of data associated with the group att...
Take shallow copy of DataFrame in `ChartDataSource` Avoids modifying the input DataFrame inplace Fixes #<I>
py
diff --git a/theanets/dataset.py b/theanets/dataset.py index <HASH>..<HASH> 100644 --- a/theanets/dataset.py +++ b/theanets/dataset.py @@ -86,6 +86,10 @@ class SequenceDataset: else: self._init_arrays(samples, labels, axis) + @property + def number_batches(self): + return self.itera...
Add a property for compatibility with hf.py.
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -335,4 +335,4 @@ texinfo_documents = [ # If true, do not generate a @detailmenu in the "Top" node's menu. # texinfo_no_detailmenu = False -linkcheck_ignore = [r'https://www\.youtube\.com/watch\?v=[\d\w\-_]+...
MNT: Ignore some more YouTube links when checking links The number of false negatives on our doc builds is getting ridiculous.
py
diff --git a/pip_accel.py b/pip_accel.py index <HASH>..<HASH> 100755 --- a/pip_accel.py +++ b/pip_accel.py @@ -3,7 +3,7 @@ # Accelerator for pip, the Python package manager. # # Author: Peter Odding <peter.odding@paylogic.eu> -# Last Change: April 16, 2013 +# Last Change: April 17, 2013 # URL: https://github.com/pa...
Don't bother with premature optimization :-)
py
diff --git a/thrift_sasl/six.py b/thrift_sasl/six.py index <HASH>..<HASH> 100644 --- a/thrift_sasl/six.py +++ b/thrift_sasl/six.py @@ -44,5 +44,11 @@ if PY3: from io import BytesIO as StringIO from thriftpy.transport import TTransportException, TTransportBase, readall - is_open_compat = lambda trans: trans.is_...
Support transports with camelCase method names (#3) Thrift works with Python 3, but has not renamed the `isOpen` method. Maybe it will in future, so I've kept the check defensive, and optimistically choose the pythonic version.
py
diff --git a/pandas/tests/test_groupby.py b/pandas/tests/test_groupby.py index <HASH>..<HASH> 100644 --- a/pandas/tests/test_groupby.py +++ b/pandas/tests/test_groupby.py @@ -3335,6 +3335,7 @@ class TestGroupBy(tm.TestCase): 'corr', 'cov', 'value_counts', 'diff', + 'uni...
ENH: Updated tests for series GroupBy whitelist Added tests for fix to pydata/pandas#<I>.
py
diff --git a/abilian/services/audit/service.py b/abilian/services/audit/service.py index <HASH>..<HASH> 100644 --- a/abilian/services/audit/service.py +++ b/abilian/services/audit/service.py @@ -335,13 +335,13 @@ def format_large_value(value): return value -def get_model_changes(entity_type, year=None, month=N...
(minor) Get audit changes: rename argument (mindate -> since)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -176,7 +176,7 @@ setup( long_description=readme + '\n\n' + history, author="Jean-Baptiste AVIAT, Boris FELD", author_email='jb@sqreen.io, boris@sqreen.io', - url='https://github.com/sqreen/py_mini_racer', + ...
Update url in setup.py
py
diff --git a/_data.py b/_data.py index <HASH>..<HASH> 100644 --- a/_data.py +++ b/_data.py @@ -1524,7 +1524,9 @@ class fitter(): if self._set_xdata is None: return self._error("No data. Please use set_data() prior to fitting.") - if (_n.concatenate(self._eydata_massaged)==0).any(): + ...
Temporary fix for fitter eydata error handling.
py
diff --git a/src/txkube/_model.py b/src/txkube/_model.py index <HASH>..<HASH> 100644 --- a/src/txkube/_model.py +++ b/src/txkube/_model.py @@ -41,7 +41,11 @@ class NamespacedObjectMetadata(ObjectMetadata): -class ObjectStatus(PClass): +class NamespaceStatus(PClass): + """ + ``NamespaceStatus`` instances mod...
Turns out this is actually specific to Namespaces.
py
diff --git a/test/test_asymetric.py b/test/test_asymetric.py index <HASH>..<HASH> 100644 --- a/test/test_asymetric.py +++ b/test/test_asymetric.py @@ -154,13 +154,16 @@ class TestUtil(unittest.TestCase): self.assertEqual(text, plainText) def test_RSA_OAEPwithAAD(self): - # AAD is "Additional auth...
test_asymetric.py: update comments related to AAD
py
diff --git a/datapackage/resource.py b/datapackage/resource.py index <HASH>..<HASH> 100644 --- a/datapackage/resource.py +++ b/datapackage/resource.py @@ -9,10 +9,11 @@ import six import json import warnings import cchardet +import requests from copy import deepcopy from tableschema import Table, Storage from six...
Support custom http_session (#<I>)
py
diff --git a/__init__.py b/__init__.py index <HASH>..<HASH> 100644 --- a/__init__.py +++ b/__init__.py @@ -138,7 +138,7 @@ class Firefox: def find_cookie_file(self): if sys.platform == 'darwin': - cookie_files = glob.glob(os.path.expanduser(r'~\AppData\Roaming\Mozilla\Firefox\Profiles\*.defau...
Fixing path to cookies.sqlite for firefox
py
diff --git a/holoviews/element/raster.py b/holoviews/element/raster.py index <HASH>..<HASH> 100644 --- a/holoviews/element/raster.py +++ b/holoviews/element/raster.py @@ -581,7 +581,7 @@ class Image(SheetCoordinateSystem, Raster): dim_idx = self.get_dimension_index(dim) if dim_idx in [0, 1]: ...
Fix for Image.dimension_values to support RGB types
py
diff --git a/pyaavso/formats/visual.py b/pyaavso/formats/visual.py index <HASH>..<HASH> 100644 --- a/pyaavso/formats/visual.py +++ b/pyaavso/formats/visual.py @@ -58,6 +58,7 @@ class VisualFormatWriter(object): fp.write('#TYPE=Visual\n') fp.write('#OBSCODE=%s\n' % observer_code) fp.write("#SO...
Actually write the delimiter to output file.
py
diff --git a/src/python/dxpy/scripts/dx.py b/src/python/dxpy/scripts/dx.py index <HASH>..<HASH> 100644 --- a/src/python/dxpy/scripts/dx.py +++ b/src/python/dxpy/scripts/dx.py @@ -858,7 +858,7 @@ def rm(args): try: with nostderr(): project, folderpath, entity_results = ...
Fix project rm -r warning (#<I>) Only warn if attempting to delete an entire project, not a subfolder or file-id.
py
diff --git a/tests/training/metrics/auc_test.py b/tests/training/metrics/auc_test.py index <HASH>..<HASH> 100644 --- a/tests/training/metrics/auc_test.py +++ b/tests/training/metrics/auc_test.py @@ -100,6 +100,7 @@ class AucTest(AllenNlpTestCase): labels = torch.randint(3, 5, (8,), dtype=torch.long) #...
fix AUC test (#<I>)
py
diff --git a/airflow/www/views.py b/airflow/www/views.py index <HASH>..<HASH> 100644 --- a/airflow/www/views.py +++ b/airflow/www/views.py @@ -2174,7 +2174,7 @@ class PoolModelView(AirflowModelView): validators_columns = { 'pool': [validators.DataRequired()], - 'slots': [validators.NumberRange(mi...
[AIRFLOW-<I>] Allow setting -1 as pool slots value in webserver (#<I>)
py
diff --git a/blockstack_client/proxy.py b/blockstack_client/proxy.py index <HASH>..<HASH> 100644 --- a/blockstack_client/proxy.py +++ b/blockstack_client/proxy.py @@ -1222,6 +1222,7 @@ def get_DID_blockchain_record(did, proxy=None): addr_names = get_historic_names_by_address(address, proxy=proxy) if json_is...
fix lack of DID resolution on imported names
py
diff --git a/autolens/pipeline/phase/phase_hyper.py b/autolens/pipeline/phase/phase_hyper.py index <HASH>..<HASH> 100644 --- a/autolens/pipeline/phase/phase_hyper.py +++ b/autolens/pipeline/phase/phase_hyper.py @@ -28,7 +28,7 @@ class HyperPhase(af.HyperPhase): def make_hyper_phase(self): phase = copy.d...
talk in terms of paths not folders
py
diff --git a/tests/aggregation/tests.py b/tests/aggregation/tests.py index <HASH>..<HASH> 100644 --- a/tests/aggregation/tests.py +++ b/tests/aggregation/tests.py @@ -652,7 +652,7 @@ class BaseAggregateTestCase(TestCase): ) def test_only_requires_extra_join(self): - publishers = Publisher.objects...
Add ordering to queryset to fix test.
py
diff --git a/openid/server/server.py b/openid/server/server.py index <HASH>..<HASH> 100644 --- a/openid/server/server.py +++ b/openid/server/server.py @@ -934,7 +934,7 @@ class CheckIDRequest(OpenIDRequest): return response.toURL(self.return_to) - def __str__(self): + def __repr__(self): ret...
[project @ openid.server.server.CheckIdRequest: change __str__ to __repr__ for better debugging output]
py
diff --git a/contrib/node/src/python/pants/contrib/node/subsystems/node_distribution.py b/contrib/node/src/python/pants/contrib/node/subsystems/node_distribution.py index <HASH>..<HASH> 100644 --- a/contrib/node/src/python/pants/contrib/node/subsystems/node_distribution.py +++ b/contrib/node/src/python/pants/contrib/no...
Upgrade to the re-merged Node.js/io.js as the default. Testing Done: Locally `./pants clean-all test contrib/node::` CI went green here: <URL>
py
diff --git a/testproj/urls.py b/testproj/urls.py index <HASH>..<HASH> 100644 --- a/testproj/urls.py +++ b/testproj/urls.py @@ -14,12 +14,12 @@ from testproj import views # args, kwargs, *args, **kwargs urlpatterns = patterns('', - (r'^home$', 'testproj.views.home'), - (r'^home-callable$', views.home), + (r...
Reformatted some url patterns.
py
diff --git a/crispy/gui/quanty.py b/crispy/gui/quanty.py index <HASH>..<HASH> 100644 --- a/crispy/gui/quanty.py +++ b/crispy/gui/quanty.py @@ -1019,6 +1019,8 @@ class QuantyDockWidget(QDockWidget): plotWidget.addImage(z, origin=origin, scale=scale, reset=False) else: + # Keep the aspe...
Reset the aspect ratio for 1D plots
py
diff --git a/tests/test_html.py b/tests/test_html.py index <HASH>..<HASH> 100644 --- a/tests/test_html.py +++ b/tests/test_html.py @@ -771,3 +771,25 @@ def test_canned_query_with_custom_metadata(app_client): </div>""".strip() == soup.find("div", {"class": "metadata-description"}).prettify().strip() ) + +...
Unit tests for advanced export box HTML, closes #<I>
py
diff --git a/chatterbot/adapters/storage/mongodb.py b/chatterbot/adapters/storage/mongodb.py index <HASH>..<HASH> 100644 --- a/chatterbot/adapters/storage/mongodb.py +++ b/chatterbot/adapters/storage/mongodb.py @@ -195,6 +195,10 @@ class MongoDatabaseAdapter(StorageAdapter): statement_text = values['text']...
Add deserialize_responses call to mongo adapter get_response_statements realization to prevent AttributeError: 'dict' object has no attribute 'serialize'.
py
diff --git a/traces/timeseries.py b/traces/timeseries.py index <HASH>..<HASH> 100644 --- a/traces/timeseries.py +++ b/traces/timeseries.py @@ -473,9 +473,9 @@ class TimeSeries(object): self._check_regularization(start, end, sampling_period) # convert to datetime if the times are datetimes - ...
fix bug in window_size casting in moving_average
py
diff --git a/src/scs_core/data/message_queue.py b/src/scs_core/data/message_queue.py index <HASH>..<HASH> 100644 --- a/src/scs_core/data/message_queue.py +++ b/src/scs_core/data/message_queue.py @@ -6,8 +6,6 @@ Created on 27 Sep 2018 https://eli.thegreenplace.net/2012/01/04/shared-counter-with-pythons-multiprocessing/...
Removed sleep from MessageQueue run loop.
py
diff --git a/webview/platforms/gtk.py b/webview/platforms/gtk.py index <HASH>..<HASH> 100755 --- a/webview/platforms/gtk.py +++ b/webview/platforms/gtk.py @@ -370,10 +370,10 @@ class BrowserView: def _callback(webview, task, data): value = webview.run_javascript_finish(task) - if valu...
[GTK] Fix race condition when destroying a window
py
diff --git a/great_expectations/data_context/data_context.py b/great_expectations/data_context/data_context.py index <HASH>..<HASH> 100644 --- a/great_expectations/data_context/data_context.py +++ b/great_expectations/data_context/data_context.py @@ -752,9 +752,6 @@ class BaseDataContext: if self.root_dire...
[ENHANCEMENT] Reduce the Volume of Checkpoints Related Warnings (if config_version is <I>) (#<I>) * Backward compatibility of boto3_options for DataSource configuration. * LINT * Reduce Checkpoints warnings. * Update PyArrow to avoid test failures. * Merge.
py
diff --git a/jenkins/bootstrap.py b/jenkins/bootstrap.py index <HASH>..<HASH> 100755 --- a/jenkins/bootstrap.py +++ b/jenkins/bootstrap.py @@ -783,8 +783,8 @@ def job_script(job, extra_job_args): """Return path to script for job.""" with open(test_infra('jobs/config.json')) as fp: config = json.loads...
who named this thing :-(
py
diff --git a/blockstore/tests/mock_bitcoind.py b/blockstore/tests/mock_bitcoind.py index <HASH>..<HASH> 100644 --- a/blockstore/tests/mock_bitcoind.py +++ b/blockstore/tests/mock_bitcoind.py @@ -164,7 +164,7 @@ class MockBitcoindConnection( object ): """ return {"errors": "Mock bitcoind", - ...
Correct number of blocks in mock_bitcoind
py
diff --git a/spyder/widgets/variableexplorer/namespacebrowser.py b/spyder/widgets/variableexplorer/namespacebrowser.py index <HASH>..<HASH> 100644 --- a/spyder/widgets/variableexplorer/namespacebrowser.py +++ b/spyder/widgets/variableexplorer/namespacebrowser.py @@ -205,22 +205,6 @@ class NamespaceBrowser(QWidget): ...
Variable Explorer: Remove visibility_changed method because it's doing nothing
py
diff --git a/restlib2/resources.py b/restlib2/resources.py index <HASH>..<HASH> 100644 --- a/restlib2/resources.py +++ b/restlib2/resources.py @@ -141,8 +141,11 @@ class Resource(object): # ### Use ETags # If `True`, the `ETag` header will be set on responses and conditional - # requests are supported. T...
Remove stating DELETE requires conditional request Add note about how Django handles ETags
py
diff --git a/src/saml2/client.py b/src/saml2/client.py index <HASH>..<HASH> 100644 --- a/src/saml2/client.py +++ b/src/saml2/client.py @@ -73,8 +73,11 @@ class Saml2Client(object): self.users.cache, log=None, vorg_conf=None) ...
Debug as defined in the config file
py
diff --git a/chwrapper/services/base.py b/chwrapper/services/base.py index <HASH>..<HASH> 100644 --- a/chwrapper/services/base.py +++ b/chwrapper/services/base.py @@ -21,6 +21,7 @@ # SOFTWARE. +from datetime import datetime import os import requests @@ -55,10 +56,19 @@ class Service(object): def handle_...
Add rate limit warning for <I> http errors and make raise_for_status true by default
py
diff --git a/django_conneg/views.py b/django_conneg/views.py index <HASH>..<HASH> 100644 --- a/django_conneg/views.py +++ b/django_conneg/views.py @@ -168,7 +168,9 @@ if 'json' in locals(): mimetype="application/json") class JSONPView(JSONView): + # The query paramete...
Added some comments describing JSONPView configuration.
py
diff --git a/jicbioimage/illustrate/__init__.py b/jicbioimage/illustrate/__init__.py index <HASH>..<HASH> 100644 --- a/jicbioimage/illustrate/__init__.py +++ b/jicbioimage/illustrate/__init__.py @@ -76,14 +76,14 @@ class Canvas(jicbioimage.core.image._BaseImage): continue # Negative indices will draw ...
Forcing some numpy ints to standard ints to remove visible deprecation warning
py
diff --git a/indra/assemblers/cyjs_assembler.py b/indra/assemblers/cyjs_assembler.py index <HASH>..<HASH> 100644 --- a/indra/assemblers/cyjs_assembler.py +++ b/indra/assemblers/cyjs_assembler.py @@ -381,6 +381,11 @@ class CyJSAssembler(object): return edge_dict def _group_edges(self): + ''' Group...
Add a docstring to _group_edges - makes it easier to pick up again when I come back and edit it in the future
py
diff --git a/tests/test_main.py b/tests/test_main.py index <HASH>..<HASH> 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -539,7 +539,7 @@ class MainTestCase(utils.TestCase): self.assertEquals(sys.stderr.getvalue(), '') log_output = u("\n").join([u(' ').join(x) for x in logs.actu...
fix tests on py<I> and lower
py
diff --git a/neat/nn/nn_pure.py b/neat/nn/nn_pure.py index <HASH>..<HASH> 100644 --- a/neat/nn/nn_pure.py +++ b/neat/nn/nn_pure.py @@ -38,6 +38,7 @@ class Neuron(object): return ID def __init__(self, neurontype, ID=None, bias=0.0, response=1.0, activation_type='exp'): + assert activation_type is ...
Added check for invalid activation type.
py
diff --git a/katcp/test/test_resource_client.py b/katcp/test/test_resource_client.py index <HASH>..<HASH> 100644 --- a/katcp/test/test_resource_client.py +++ b/katcp/test/test_resource_client.py @@ -132,7 +132,7 @@ class test_KATCPClientResource(tornado.testing.AsyncTestCase): # For real requests we expect...
Fix test to work with new mock request
py
diff --git a/pypet/tests/link_test.py b/pypet/tests/link_test.py index <HASH>..<HASH> 100644 --- a/pypet/tests/link_test.py +++ b/pypet/tests/link_test.py @@ -14,9 +14,10 @@ from pypet import pypetconstants, BaseParameter, BaseResult import logging import time import os +import getopt import pypet.pypetexceptions a...
still trying to get appveyor to work
py
diff --git a/python/ccxt/base/exchange.py b/python/ccxt/base/exchange.py index <HASH>..<HASH> 100644 --- a/python/ccxt/base/exchange.py +++ b/python/ccxt/base/exchange.py @@ -1697,7 +1697,7 @@ class Exchange(object): result = [] for i in range(0, len(ohlcvs[t])): result.append([ - ...
python/ccxt/base/exchange.py convert_trading_view_to_ohlcv fix
py
diff --git a/posttroll/listener.py b/posttroll/listener.py index <HASH>..<HASH> 100644 --- a/posttroll/listener.py +++ b/posttroll/listener.py @@ -74,8 +74,9 @@ class ListenerContainer(object): '''Stop listener.''' self.logger.debug("Stopping listener.") self.listener.stop() - self.thr...
Check that the listener thread is still available before joining it
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -46,7 +46,7 @@ setup( tests_require=TESTS_REQUIRES, packages=['kubernetes', 'kubernetes.client', 'kubernetes.config', 'kubernetes.watch', 'kubernetes.client.apis', - 'kubernetes.client.mod...
make sure that kubernetes.stream module gets installed Previously, installing the client using `python setup.py install` would fail to install the `kubernetes.stream` module, leading to errors when trying to `import kubernetes`. Closes #<I>
py
diff --git a/tests/integration/cloud/clouds/test_vultrpy.py b/tests/integration/cloud/clouds/test_vultrpy.py index <HASH>..<HASH> 100644 --- a/tests/integration/cloud/clouds/test_vultrpy.py +++ b/tests/integration/cloud/clouds/test_vultrpy.py @@ -38,7 +38,7 @@ class VultrTest(CloudTest): """ size_list...
Update size in vultr cloud test
py
diff --git a/tests.py b/tests.py index <HASH>..<HASH> 100644 --- a/tests.py +++ b/tests.py @@ -1074,6 +1074,15 @@ class TestCheckManifest(unittest.TestCase): self.assertIn("this also applies to the following:\n moo.mo", sys.stderr.getvalue()) + def test_missing_source_files(self): ...
Bring test coverage back to <I>%
py
diff --git a/src/jottalib/JFS.py b/src/jottalib/JFS.py index <HASH>..<HASH> 100644 --- a/src/jottalib/JFS.py +++ b/src/jottalib/JFS.py @@ -20,7 +20,7 @@ # metadata __author__ = 'havard@gulldahl.no' -__version__ = '0.1' +__version__ = '0.2' # importing stdlib import sys, os, os.path, time
Upgrade __version__ to <I>, celebrating write support finally (after three years!)
py
diff --git a/km3modules/k40.py b/km3modules/k40.py index <HASH>..<HASH> 100644 --- a/km3modules/k40.py +++ b/km3modules/k40.py @@ -346,7 +346,12 @@ class MedianPMTRatesService(kp.Module): self.expose(self.get_median_rates, 'GetMedianPMTRates') def process(self, blob): - tmch_data = TMCHData(io.By...
Log and skip corrupt ligier packets
py
diff --git a/treeCl/parameters.py b/treeCl/parameters.py index <HASH>..<HASH> 100755 --- a/treeCl/parameters.py +++ b/treeCl/parameters.py @@ -73,7 +73,7 @@ class PartitionParameters(BaseParameters): @property def model(self): - return self._frequencies + return self._model @model.sette...
Fixed bug in PartitionParameters where model property was returning frequencies values
py