diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/tensorflow_datasets/translate/flores.py b/tensorflow_datasets/translate/flores.py index <HASH>..<HASH> 100644 --- a/tensorflow_datasets/translate/flores.py +++ b/tensorflow_datasets/translate/flores.py @@ -86,7 +86,7 @@ class FloresConfig(tfds.core.BuilderConfig): # Validate language pair. assert...
Small fix for assert statement Replace `self.builder_config.language_pair` with `language_pair` in `FloresConfig` (`BuilderConfig` has no attribute `builder_config`)
py
diff --git a/peewee_migrate/auto.py b/peewee_migrate/auto.py index <HASH>..<HASH> 100644 --- a/peewee_migrate/auto.py +++ b/peewee_migrate/auto.py @@ -199,6 +199,8 @@ def field_to_params(field, **kwargs): not callable(field.default) and \ isinstance(field.default, Hashable): params['d...
Ignore related_name in diff.
py
diff --git a/ansigenome/constants.py b/ansigenome/constants.py index <HASH>..<HASH> 100644 --- a/ansigenome/constants.py +++ b/ansigenome/constants.py @@ -62,10 +62,10 @@ CONFIG_QUESTIONS = [ CONFIG_MULTIPLE_CHOICE_QUESTIONS = [ ( "license", ( - [9, "Pick a license type by choosing a number:\n...
Fix a config crash due to not knowing how to count
py
diff --git a/rio/settings/dev.py b/rio/settings/dev.py index <HASH>..<HASH> 100644 --- a/rio/settings/dev.py +++ b/rio/settings/dev.py @@ -6,7 +6,7 @@ SECRET_KEY = 'OOxdXBtiwPHGpjxaACWvzpYCbDhBmaYk' SQLALCHEMY_DATABASE_URI = 'sqlite:////tmp/rio.db' -CELERY_BROKER_URL = 'redis://localhost/2' +CELERY_BROKER_URL = 's...
set broker to sqla at dev.
py
diff --git a/alot/widgets/globals.py b/alot/widgets/globals.py index <HASH>..<HASH> 100644 --- a/alot/widgets/globals.py +++ b/alot/widgets/globals.py @@ -292,6 +292,7 @@ class TagWidget(urwid.AttrMap): self.translated = representation['translated'] self.hidden = self.translated == '' self.tx...
widgets/globals: Implement __hash__ for TagWidget Which is required in python3 when implementing the __eq__ method. The implementation caches the hash method, since it's being called each time the focus is changed in the search view. This doesn't really seem correct to me, but I'm not sure it's wrong.
py
diff --git a/spikeextractors/extractors/nwbextractors/nwbextractors.py b/spikeextractors/extractors/nwbextractors/nwbextractors.py index <HASH>..<HASH> 100644 --- a/spikeextractors/extractors/nwbextractors/nwbextractors.py +++ b/spikeextractors/extractors/nwbextractors/nwbextractors.py @@ -267,6 +267,10 @@ class NwbRec...
uses existing metadata (from NwbRecordings) and updates with user-passed metadata
py
diff --git a/test/contrib/bigquery_test.py b/test/contrib/bigquery_test.py index <HASH>..<HASH> 100644 --- a/test/contrib/bigquery_test.py +++ b/test/contrib/bigquery_test.py @@ -39,6 +39,13 @@ class TestRunQueryTask(bigquery.BigqueryRunQueryTask): return bigquery.BigqueryTarget(PROJECT_ID, DATASET_ID, self.ta...
test use of BigQuery's flatten results flag
py
diff --git a/client/conversation.py b/client/conversation.py index <HASH>..<HASH> 100644 --- a/client/conversation.py +++ b/client/conversation.py @@ -35,6 +35,7 @@ class Conversation(object): "I'm sorry. It seems that Spotify is not enabled. Please read the documentation to learn how to config...
Readd missing line in conversation.py
py
diff --git a/algorithms/heap/binary_heap.py b/algorithms/heap/binary_heap.py index <HASH>..<HASH> 100644 --- a/algorithms/heap/binary_heap.py +++ b/algorithms/heap/binary_heap.py @@ -59,9 +59,7 @@ class BinaryHeap(AbstractHeap): while i // 2 > 0: if self.heap[i] < self.heap[i // 2]: ...
edit swap one liner (#<I>)
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 @@ -1293,9 +1293,7 @@ def sed(name, before, after, limit='', backup='.bak', options='-r -e', ret['result'] = __salt__['file.contains_regex'](name, after) if slines != nlines: ...
Join a line that didn't need to be broken up for PEP8
py
diff --git a/ayrton/castt.py b/ayrton/castt.py index <HASH>..<HASH> 100644 --- a/ayrton/castt.py +++ b/ayrton/castt.py @@ -40,7 +40,6 @@ class CrazyASTTransformer (ast.NodeTransformer): self.known_names= defaultdict (lambda: 0) self.stack= () self.defined_names= defaultdict (lambda: []) - ...
- uups, for's don't define a new scope.
py
diff --git a/photon.py b/photon.py index <HASH>..<HASH> 100644 --- a/photon.py +++ b/photon.py @@ -166,7 +166,12 @@ bad_intel = set() # needed for intel filtering core.config.verbose = verbose if headers: - headers = extract_headers(prompt()) + try: + prompt = prompt() + except FileNotFoundErr...
Add try expect when could not load prompt for headers
py
diff --git a/src/guake/terminal.py b/src/guake/terminal.py index <HASH>..<HASH> 100644 --- a/src/guake/terminal.py +++ b/src/guake/terminal.py @@ -71,7 +71,7 @@ QUICK_OPEN_MATCHERS = [ r"^\s\sFile\s\".*\",\sline\s[0-9]+", r"^\s\sFile\s\"(.*)\",\sline\s([0-9]+)"), ("line starts by 'Filename:line' patter...
Quick Open does not work with dashes fix #<I>
py
diff --git a/paperweight/texutils.py b/paperweight/texutils.py index <HASH>..<HASH> 100755 --- a/paperweight/texutils.py +++ b/paperweight/texutils.py @@ -132,8 +132,7 @@ def inline(root_text, return u"" else: # Recursively inline files - new_base_dir = os.path.dirname(full...
inline also uses a fixed base directory input and include have paths that are always relative to the directory hosting the master tex document.
py
diff --git a/satpy/tests/reader_tests/test_hrit_base.py b/satpy/tests/reader_tests/test_hrit_base.py index <HASH>..<HASH> 100644 --- a/satpy/tests/reader_tests/test_hrit_base.py +++ b/satpy/tests/reader_tests/test_hrit_base.py @@ -107,7 +107,8 @@ class TestHRITFileHandler(unittest.TestCase): mock.patch.ob...
rename fake data to explicit name
py
diff --git a/src/anyconfig/backend/base/datatypes.py b/src/anyconfig/backend/base/datatypes.py index <HASH>..<HASH> 100644 --- a/src/anyconfig/backend/base/datatypes.py +++ b/src/anyconfig/backend/base/datatypes.py @@ -7,7 +7,7 @@ r"""Utility functions in anyconfig.backend.base. import typing from ...common import ...
fix: remove unused import of PrimitiveT
py
diff --git a/txdbus/marshal.py b/txdbus/marshal.py index <HASH>..<HASH> 100644 --- a/txdbus/marshal.py +++ b/txdbus/marshal.py @@ -602,7 +602,7 @@ def marshal( compoundSignature, variableList, startByte = 0, lendian=True ): def unmarshal_byte(ct, data, offset, lendian): - return 1, struct.unpack_from( lendian a...
Unmarshal Byte (y in DBus signature) as unsigned
py
diff --git a/main.py b/main.py index <HASH>..<HASH> 100644 --- a/main.py +++ b/main.py @@ -9,6 +9,7 @@ import cli import json import socket import platform +import time class Proto: pass @@ -298,7 +299,9 @@ def main(args): if not os.path.exists('hotspotd.json'): configure() newconfig=True - + if len(cli...
Check for hostapd package during the installation The hostapd package will be checked while installing hotspotd and the user will be warned if hostapd is not installed. It is just to make the installer more user friendly.
py
diff --git a/mocket/__init__.py b/mocket/__init__.py index <HASH>..<HASH> 100644 --- a/mocket/__init__.py +++ b/mocket/__init__.py @@ -7,4 +7,4 @@ except ImportError: __all__ = (mocketize, Mocket, MocketEntry, Mocketizer) -__version__ = '2.2.3' +__version__ = '2.2.4'
Updating version for new release.
py
diff --git a/tests/test_strip_headers.py b/tests/test_strip_headers.py index <HASH>..<HASH> 100644 --- a/tests/test_strip_headers.py +++ b/tests/test_strip_headers.py @@ -21,7 +21,7 @@ class TestStripHeaders(unittest.TestCase): for i, (actual_line, expected_line) in enumerate(lines, start=1): ...
Report etext number in failing strip_header tests
py
diff --git a/python/dllib/src/bigdl/dllib/autograd.py b/python/dllib/src/bigdl/dllib/autograd.py index <HASH>..<HASH> 100644 --- a/python/dllib/src/bigdl/dllib/autograd.py +++ b/python/dllib/src/bigdl/dllib/autograd.py @@ -68,6 +68,14 @@ def epsilon(): return Variable.from_jvalue(callBigDlFunc("float", "epsilon"))...
add softsign, softplus and unittests (#<I>) * update * md * md * style
py
diff --git a/hamster/db.py b/hamster/db.py index <HASH>..<HASH> 100644 --- a/hamster/db.py +++ b/hamster/db.py @@ -764,7 +764,7 @@ class Storage(storage.Storage): WHERE deleted IS NULL AND a.name LIKE ? ESCAPE '\\' GROUP BY a.id - ORDER BY mi...
typo in query - should order by the time of the most recent entry, instead of the time of the first entry with this activity
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -72,7 +72,7 @@ if __name__ == '__main__': ], 'tests': [ 'flake8>=3.7.8', - 'pytest>=5.1.3', + 'pytest>=4.6.5', 'pytest-cov>=2.7.1', ...
updated requirements to fix bug on travis
py
diff --git a/rootpy/ROOT.py b/rootpy/ROOT.py index <HASH>..<HASH> 100644 --- a/rootpy/ROOT.py +++ b/rootpy/ROOT.py @@ -130,8 +130,7 @@ class Module(object): gPad = proxy_global("gPad") gVirtualX = proxy_global("gVirtualX") - if ROOT_VERSION < (5, 32, 0): # pragma: no cover - # handle versions of ...
add missing func() for globals in ROOT <I>
py
diff --git a/twilio/__init__.py b/twilio/__init__.py index <HASH>..<HASH> 100644 --- a/twilio/__init__.py +++ b/twilio/__init__.py @@ -5,3 +5,7 @@ from six import u # Backwards compatibility. from .version import __version__, __version_info__ + +from exceptions import TwilioException, TwimlException + +from rest.ex...
Fix #<I> Add exceptions to __init__.py for backwards compatibility.
py
diff --git a/tornado/platform/twisted.py b/tornado/platform/twisted.py index <HASH>..<HASH> 100644 --- a/tornado/platform/twisted.py +++ b/tornado/platform/twisted.py @@ -104,6 +104,30 @@ class TwistedResolver(Resolver): return result +def install() -> None: + """Install ``AsyncioSelectorReactor`` as th...
twisted: Restore the install() function This function had more usage than I was aware of and we can preserve the old behavior by making it an alias for asyncioreactor.install. Fixes #<I>
py
diff --git a/examples/lsu.py b/examples/lsu.py index <HASH>..<HASH> 100755 --- a/examples/lsu.py +++ b/examples/lsu.py @@ -231,10 +231,10 @@ class LSU: if is_sat: self.model = filter(lambda l: abs(l) <= self.formula.nv, self.model) if self.verbose: - if self.oracle.get_...
added support for checking if LSU solution is optimal
py
diff --git a/openquake/engine/tests/calculators/risk/scenario_damage/core_test.py b/openquake/engine/tests/calculators/risk/scenario_damage/core_test.py index <HASH>..<HASH> 100644 --- a/openquake/engine/tests/calculators/risk/scenario_damage/core_test.py +++ b/openquake/engine/tests/calculators/risk/scenario_damage/co...
I discover that the scenario_damage/core_test has been broken for a long time Former-commit-id: <I>f5eaeea3c<I>aa<I>cf<I>fdc<I>bec<I>
py
diff --git a/src/Python/somoclu/train.py b/src/Python/somoclu/train.py index <HASH>..<HASH> 100644 --- a/src/Python/somoclu/train.py +++ b/src/Python/somoclu/train.py @@ -13,7 +13,11 @@ import matplotlib.cm as cm import matplotlib.pyplot as plt import matplotlib.collections as mcoll -from .somoclu_wrap import train...
Python module can be loaded even if the C++ is not compiled. Useful for analyzing maps.
py
diff --git a/hendrix/deploy/base.py b/hendrix/deploy/base.py index <HASH>..<HASH> 100644 --- a/hendrix/deploy/base.py +++ b/hendrix/deploy/base.py @@ -234,7 +234,6 @@ class HendrixDeploy(object): - def launchWorkers(self, pids): # Create a new listening port and several other processes to #...
Moves informative messages to an appropriate place. Start message now prints when start is called. Stop message now prints when stop is called.
py
diff --git a/tests/conftest.py b/tests/conftest.py index <HASH>..<HASH> 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -41,7 +41,6 @@ def ignore_local_config_file(monkeypatch): monkeypatch.setattr('bigchaindb.config_utils.file_config', mock_file_config) -@pytest.fixture @pytest.fixture(scope='funct...
delete superfluous decorator (#<I>)
py
diff --git a/kafka/coordinator/consumer.py b/kafka/coordinator/consumer.py index <HASH>..<HASH> 100644 --- a/kafka/coordinator/consumer.py +++ b/kafka/coordinator/consumer.py @@ -399,7 +399,8 @@ class ConsumerCoordinator(BaseCoordinator): assert all(map(lambda v: isinstance(v, OffsetAndMetadata), ...
Fixup: _send_offset_commit_request future should succeed w/ True, not None
py
diff --git a/twilio/rest/resources/base.py b/twilio/rest/resources/base.py index <HASH>..<HASH> 100644 --- a/twilio/rest/resources/base.py +++ b/twilio/rest/resources/base.py @@ -40,12 +40,12 @@ def make_request(method, url, params=None, data=None, headers=None, udata = {} for k, v in iteritems(data):...
Update base.py Fixing twilio/rest/resources/base.py:<I>:<I>: E<I> missing whitespace after ',' twilio/rest/resources/base.py:<I>:<I>: E<I> line too long (<I> > <I> characters) from my last commit to ensue PEP8
py
diff --git a/examples/bench/bench.py b/examples/bench/bench.py index <HASH>..<HASH> 100644 --- a/examples/bench/bench.py +++ b/examples/bench/bench.py @@ -27,9 +27,9 @@ class EchoConnection(SockJSConnection): self.clients.remove(self) @classmethod - def dump_stats(self): + def dump_stats(cls): ...
Pedantic fix, 1st arg to classmethod is cls
py
diff --git a/satpy/tests/reader_tests/__init__.py b/satpy/tests/reader_tests/__init__.py index <HASH>..<HASH> 100644 --- a/satpy/tests/reader_tests/__init__.py +++ b/satpy/tests/reader_tests/__init__.py @@ -38,7 +38,8 @@ from satpy.tests.reader_tests import (test_abi_l1b, test_hrit_base, ...
Reader test __init__ file was updated on master branch, updating my PR copy to resolve conflict.
py
diff --git a/tests/unit/modules/ini_manage_test.py b/tests/unit/modules/ini_manage_test.py index <HASH>..<HASH> 100644 --- a/tests/unit/modules/ini_manage_test.py +++ b/tests/unit/modules/ini_manage_test.py @@ -154,4 +154,4 @@ empty_option= ini.set_option(self.tfile.name, { 'SectionB': {'test3': '...
Cosmetic: Fix missing newline at the end of file.
py
diff --git a/src/hamster/storage/db.py b/src/hamster/storage/db.py index <HASH>..<HASH> 100644 --- a/src/hamster/storage/db.py +++ b/src/hamster/storage/db.py @@ -641,7 +641,7 @@ class Storage(storage.Storage): datetime_from = dt.datetime.combine(date, split_time) end_date = end_date or date - ...
exclude last day end-time from search Otherwise a fact starting at this end-time would be included in the search results.
py
diff --git a/mintapi/api.py b/mintapi/api.py index <HASH>..<HASH> 100644 --- a/mintapi/api.py +++ b/mintapi/api.py @@ -143,7 +143,7 @@ class Mint(object): ).zfill(3) def _get_api_key_header(self): - key_var = "__shellInternal.OILConfigs.key" + key_var = "window.__shellInternal.appExperienc...
[FIX] - Use the correct field for the API Token (#<I>)
py
diff --git a/cheroot/test/helper.py b/cheroot/test/helper.py index <HASH>..<HASH> 100644 --- a/cheroot/test/helper.py +++ b/cheroot/test/helper.py @@ -10,6 +10,8 @@ import time import threading import types +from six.moves import http_client + import portend import pytest import six @@ -17,7 +19,7 @@ import six ...
Remove another reference to HTTPSConnection
py
diff --git a/pygooglechart.py b/pygooglechart.py index <HASH>..<HASH> 100644 --- a/pygooglechart.py +++ b/pygooglechart.py @@ -1,5 +1,5 @@ """ -PyGoogleChart - A Python wrapper for the Google Chart API +PyGoogleChart - A complete Python wrapper for the Google Chart API http://pygooglechart.slowchop.com/
branched to <I>
py
diff --git a/openstack_dashboard/dashboards/project/instances/workflows/create_instance.py b/openstack_dashboard/dashboards/project/instances/workflows/create_instance.py index <HASH>..<HASH> 100644 --- a/openstack_dashboard/dashboards/project/instances/workflows/create_instance.py +++ b/openstack_dashboard/dashboards/...
Wrap call to extension_supported with try/except Change-Id: I<I>b2cdc8dda<I>b<I>ccda<I>ec<I>e5f<I>febef0 Closes-Bug: #<I>
py
diff --git a/pypiper/manager.py b/pypiper/manager.py index <HASH>..<HASH> 100644 --- a/pypiper/manager.py +++ b/pypiper/manager.py @@ -1882,11 +1882,11 @@ class PipelineManager(object): items_to_clean = glob.glob(cleandir) for clean_item in items_to_clean: ...
Fix cleanup bug. Wow, no idea how this one crept in there, but cleanup scripts have been failing for awhile...
py
diff --git a/pycbc/psd/estimate.py b/pycbc/psd/estimate.py index <HASH>..<HASH> 100644 --- a/pycbc/psd/estimate.py +++ b/pycbc/psd/estimate.py @@ -238,8 +238,8 @@ def interpolate(series, delta_f): interpolated series : FrequencySeries A new FrequencySeries that has been interpolated. """ - new_n =...
FIx potential underflow in estimate.py
py
diff --git a/tests/test_property.py b/tests/test_property.py index <HASH>..<HASH> 100644 --- a/tests/test_property.py +++ b/tests/test_property.py @@ -370,7 +370,8 @@ class TestProperties(unittest2.TestCase): super(SuperProperty, self).__init__(**kwargs) with self.assertRaises(exc.PropertyTy...
Replace a duplicated test with a more useful one
py
diff --git a/djstripe/exceptions.py b/djstripe/exceptions.py index <HASH>..<HASH> 100644 --- a/djstripe/exceptions.py +++ b/djstripe/exceptions.py @@ -8,3 +8,7 @@ class SubscriptionCancellationFailure(Exception): class SubscriptionUpdateFailure(Exception): pass + + +class StripeObjectManipulationException(Excep...
Added exception for StripeObjects that can't directly be manipulated.
py
diff --git a/jujuci.py b/jujuci.py index <HASH>..<HASH> 100755 --- a/jujuci.py +++ b/jujuci.py @@ -376,12 +376,12 @@ def parse_args(args=None): parsed_args = parser.parse_args(args) if parsed_args.command == 'get-build-vars' and True not in ( parsed_args.summary, parsed_args.revision_build, - ...
--version is a valid arg for get-build-vars.
py
diff --git a/reana_commons/version.py b/reana_commons/version.py index <HASH>..<HASH> 100755 --- a/reana_commons/version.py +++ b/reana_commons/version.py @@ -14,4 +14,4 @@ and parsed by ``setup.py``. from __future__ import absolute_import, print_function -__version__ = "0.7.0.dev20200129" +__version__ = "0.7.0.de...
release: <I>.de<I>
py
diff --git a/landsat/__init__.py b/landsat/__init__.py index <HASH>..<HASH> 100644 --- a/landsat/__init__.py +++ b/landsat/__init__.py @@ -4,4 +4,4 @@ import sys if not settings.DEBUG: sys.tracebacklimit = 0 -__version__ = '0.5.5' +__version__ = '0.6.0'
bump up version to <I>
py
diff --git a/cruzdb/sqlsoup.py b/cruzdb/sqlsoup.py index <HASH>..<HASH> 100644 --- a/cruzdb/sqlsoup.py +++ b/cruzdb/sqlsoup.py @@ -455,7 +455,7 @@ class SQLSoup(object): """ try: return self._cache[attr] - except KeyError, ke: + except KeyError as ke: return sel...
Solved issue <I> Changed syntax incompatible with Python 3.x.
py
diff --git a/tools/dbmaint.py b/tools/dbmaint.py index <HASH>..<HASH> 100755 --- a/tools/dbmaint.py +++ b/tools/dbmaint.py @@ -60,8 +60,13 @@ def psql(config, script=None, cmd=None, ignore_dryrun=False): if script and cmd: raise Exception("Please specify either an SQL script or command.") - psql_cmd ...
do not run psql with '-h' on the local host Former-commit-id: d<I>a4b2b<I>b<I>c0afae<I>a9d3c<I>
py
diff --git a/src/sos/Julia/kernel.py b/src/sos/Julia/kernel.py index <HASH>..<HASH> 100644 --- a/src/sos/Julia/kernel.py +++ b/src/sos/Julia/kernel.py @@ -110,7 +110,7 @@ end function __julia_py_repr_matrix(obj) tf = joinpath(tempname()) Feather.write(tf, convert(DataFrame, obj)) - return "read_dataframe(r'" * ...
Fix bug for reading feather-matrix from julia
py
diff --git a/mapillary_tools/edit_config.py b/mapillary_tools/edit_config.py index <HASH>..<HASH> 100644 --- a/mapillary_tools/edit_config.py +++ b/mapillary_tools/edit_config.py @@ -17,7 +17,7 @@ def edit_config(config_file=None, user_name=None, user_email=None, user_password config.create_config(config_file_...
fix: fixed bug where username was not saved when authenticating manually
py
diff --git a/src/client/NL4Py/nl4py/NetLogoHeadlessWorkspace.py b/src/client/NL4Py/nl4py/NetLogoHeadlessWorkspace.py index <HASH>..<HASH> 100644 --- a/src/client/NL4Py/nl4py/NetLogoHeadlessWorkspace.py +++ b/src/client/NL4Py/nl4py/NetLogoHeadlessWorkspace.py @@ -92,8 +92,10 @@ class NetLogoHeadlessWorkspace: r...
Fix for Python3, numpy related casting requirement fix to nl4py.NetLogoHeadlessWorkspace.getScheduledReporterResults()
py
diff --git a/sistr/src/cgmlst/extras/centroid_cgmlst_alleles.py b/sistr/src/cgmlst/extras/centroid_cgmlst_alleles.py index <HASH>..<HASH> 100644 --- a/sistr/src/cgmlst/extras/centroid_cgmlst_alleles.py +++ b/sistr/src/cgmlst/extras/centroid_cgmlst_alleles.py @@ -6,7 +6,7 @@ from scipy.cluster.hierarchy import fcluster,...
Corrected numbering issue with bases
py
diff --git a/awslimitchecker/services/ec2.py b/awslimitchecker/services/ec2.py index <HASH>..<HASH> 100644 --- a/awslimitchecker/services/ec2.py +++ b/awslimitchecker/services/ec2.py @@ -225,6 +225,7 @@ class _Ec2Service(_AwsService): limits.update(self._get_limits_instances()) limits.update(self._get...
fix bug in ec2 service
py
diff --git a/pymc3/distributions/multivariate.py b/pymc3/distributions/multivariate.py index <HASH>..<HASH> 100755 --- a/pymc3/distributions/multivariate.py +++ b/pymc3/distributions/multivariate.py @@ -131,7 +131,7 @@ class MvStudentT(Continuous): log_pdf = gammaln((nu + d)/2.) - 0.5 * (d*tt.log(np.pi*nu) + l...
Fix return value of MvStudentT The return value should not be exponentiated, since we are returning the value of the log pdf.
py
diff --git a/etrago/appl.py b/etrago/appl.py index <HASH>..<HASH> 100644 --- a/etrago/appl.py +++ b/etrago/appl.py @@ -48,12 +48,12 @@ if not 'READTHEDOCS' in os.environ: from sqlalchemy.orm import sessionmaker args = {# Setup and Configuration: - 'db': 'local', # db session + 'db': 'oedb', # db s...
Change args in appl.py.
py
diff --git a/test/test_connection.py b/test/test_connection.py index <HASH>..<HASH> 100644 --- a/test/test_connection.py +++ b/test/test_connection.py @@ -459,6 +459,11 @@ class TestConnection(unittest.TestCase, TestRequestMixin): c = get_connection() if is_mongos(c): raise SkipTest('fsyn...
Skip fsync_lock test with <I>.x master/slave.
py
diff --git a/sphinx_gallery/tests/tinybuild/conf.py b/sphinx_gallery/tests/tinybuild/conf.py index <HASH>..<HASH> 100644 --- a/sphinx_gallery/tests/tinybuild/conf.py +++ b/sphinx_gallery/tests/tinybuild/conf.py @@ -66,7 +66,7 @@ exclude_patterns = ['_build'] intersphinx_mapping = { 'python': ('https://docs.python...
MAINT: Fix CIs (#<I>) * MAINT: Fix CIs * FIX: Link
py
diff --git a/loom/client/settings_manager.py b/loom/client/settings_manager.py index <HASH>..<HASH> 100644 --- a/loom/client/settings_manager.py +++ b/loom/client/settings_manager.py @@ -142,7 +142,7 @@ class SettingsManager: def add_gcloud_settings_on_server(self): """Write settings that can't be defined...
Get server name from settings instead of client common module.
py
diff --git a/doc/conf.py b/doc/conf.py index <HASH>..<HASH> 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -51,7 +51,7 @@ exclude_patterns = ['_build'] pygments_style = 'sphinx' html_theme_path = [alagitpull.get_path()] -html_favicon = 'favicon.ico' +html_favicon = '_static/favicon.ico' html_theme = 'alagitpull' h...
will this fix the favicon not found message?
py
diff --git a/examples/dagster_examples/__init__.py b/examples/dagster_examples/__init__.py index <HASH>..<HASH> 100644 --- a/examples/dagster_examples/__init__.py +++ b/examples/dagster_examples/__init__.py @@ -26,10 +26,10 @@ def define_scheduler(): "solids": { "sum_solid": { ...
Use correct config for hourly-scheduled pandas_hello_world Summary: The config was incorrect for this schedule Test Plan: Load schedule into config editor and execute Reviewers: #ft, sashank, alangenfeld Reviewed By: #ft, alangenfeld Differential Revision: <URL>
py
diff --git a/plaso/preprocessors/manager.py b/plaso/preprocessors/manager.py index <HASH>..<HASH> 100644 --- a/plaso/preprocessors/manager.py +++ b/plaso/preprocessors/manager.py @@ -142,6 +142,8 @@ class PreprocessPluginsManager(object): preprocess_plugin.ARTIFACT_DEFINITION_NAME)) continue + ...
Additional debug information for preprocessing (#<I>)
py
diff --git a/bitstring.py b/bitstring.py index <HASH>..<HASH> 100644 --- a/bitstring.py +++ b/bitstring.py @@ -1684,7 +1684,8 @@ class Bits(object): def _readtoken(self, name, length): """Reads a token from the BitString and returns the result.""" - length = min(length, self.length - self._pos) +...
Fix to make previous fix work for Python 3!
py
diff --git a/werobot/client.py b/werobot/client.py index <HASH>..<HASH> 100644 --- a/werobot/client.py +++ b/werobot/client.py @@ -818,7 +818,12 @@ class Client(object): ) def send_video_message( - self, user_id, media_id, title=None, description=None, kf_account=None + self, + user...
chore: reformat with yapf <I>
py
diff --git a/xray/backends/netCDF4_.py b/xray/backends/netCDF4_.py index <HASH>..<HASH> 100644 --- a/xray/backends/netCDF4_.py +++ b/xray/backends/netCDF4_.py @@ -72,23 +72,19 @@ def _nc4_group(ds, group): # support path-like syntax path = group.strip('/').split('/') # find the specified grou...
use IOError; safer recursion; don't worry about group cycles
py
diff --git a/dataproperty/_column.py b/dataproperty/_column.py index <HASH>..<HASH> 100644 --- a/dataproperty/_column.py +++ b/dataproperty/_column.py @@ -236,7 +236,7 @@ class ColumnDataProperty(DataPeropertyBase): return False def __get_ascii_char_width(self): - if not self.__typecode_bitmap & ...
Fix calculation of ASCII character width for columns
py
diff --git a/timed_mating/urls.py b/timed_mating/urls.py index <HASH>..<HASH> 100644 --- a/timed_mating/urls.py +++ b/timed_mating/urls.py @@ -51,7 +51,8 @@ urlpatterns = patterns('', url(r'^(?P<object_id>\d*)/delete/$', delete_plugevents, { 'model': PlugEvents, 'login_required':True, - 'post_delete_redirect'...
added confirm delete to delete plug event view
py
diff --git a/ciscosparkapi/exceptions.py b/ciscosparkapi/exceptions.py index <HASH>..<HASH> 100644 --- a/ciscosparkapi/exceptions.py +++ b/ciscosparkapi/exceptions.py @@ -3,6 +3,7 @@ SPARK_RESPONSE_CODES = { 200: "OK", + 204: "Member deleted.", 400: "The request was invalid or cannot be otherwise served...
Add '<I> Member deleted' response code Add Spark response code ‘<I> Member deleted’ to exceptions.SPARK_RESPONSE_CODES. This response code indicates that a DELETE request was successfully completed.
py
diff --git a/test/test_signature.py b/test/test_signature.py index <HASH>..<HASH> 100644 --- a/test/test_signature.py +++ b/test/test_signature.py @@ -16,8 +16,10 @@ from sos.utils import env # if the test is imported under sos/test, test interacive executor if 'sos-notebook' in os.path.abspath(__file__).split(os.sep...
Temporarily disable a test that fails with unknown reason under travis and in interactive mode
py
diff --git a/MAVProxy/modules/mavproxy_joystick.py b/MAVProxy/modules/mavproxy_joystick.py index <HASH>..<HASH> 100644 --- a/MAVProxy/modules/mavproxy_joystick.py +++ b/MAVProxy/modules/mavproxy_joystick.py @@ -59,9 +59,18 @@ joymap = { None, None, None, - (3, 500, 1500)] -} + (3, 500, 1500)...
Adding support for the "WAILLY PPM TO USB Adapter" Tested with a Spektrum DX7s controller and this USB adapter
py
diff --git a/ccompiler.py b/ccompiler.py index <HASH>..<HASH> 100644 --- a/ccompiler.py +++ b/ccompiler.py @@ -589,7 +589,7 @@ class CCompiler: """Detect the language of a given file, or list of files. Uses language_map, and language_order to do the job. """ - if type(sources) is not ListType...
Repair inconsistent use of tabs and spaces.
py
diff --git a/cacheback/__init__.py b/cacheback/__init__.py index <HASH>..<HASH> 100644 --- a/cacheback/__init__.py +++ b/cacheback/__init__.py @@ -1 +1 @@ -__version__ = '0.2' +__version__ = '0.2.1'
Bumped version up a notch.
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -14,6 +14,7 @@ import sys import os from pathlib import Path from textwrap import dedent +from pkg_resources import get_distribution sys.path.insert(0, os.path.abspath('..')) @@ -52,7 +53,7 @@ copyright...
Attempt at fixing version number on RTD
py
diff --git a/openquake/calculators/classical.py b/openquake/calculators/classical.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/classical.py +++ b/openquake/calculators/classical.py @@ -176,7 +176,7 @@ class PSHACalculator(base.HazardCalculator): if num_tiles > 1: logging.info...
Fixed log [skip CI]
py
diff --git a/packages/vaex-core/vaex/encoding.py b/packages/vaex-core/vaex/encoding.py index <HASH>..<HASH> 100644 --- a/packages/vaex-core/vaex/encoding.py +++ b/packages/vaex-core/vaex/encoding.py @@ -461,8 +461,9 @@ class Encoding: return decoded def add_blob(self, buffer): - blob_id = str(uui...
✨ blob id for encoding are based on fingerprint/hash to be deterministic
py
diff --git a/delphin/main.py b/delphin/main.py index <HASH>..<HASH> 100644 --- a/delphin/main.py +++ b/delphin/main.py @@ -296,6 +296,11 @@ def mkprof(args): p.write_table(tbl, []) # summarize what was done + if sys.stdout.isatty(): + _red = lambda s: '\x1b[1;31m{}\x1b[0m'.format(s) + ...
Fix #<I>; mkprof summary includes gzipped files
py
diff --git a/openhtf/util/monitors.py b/openhtf/util/monitors.py index <HASH>..<HASH> 100644 --- a/openhtf/util/monitors.py +++ b/openhtf/util/monitors.py @@ -109,7 +109,7 @@ def monitors(measurement_name, monitor_func, units=None, poll_interval_ms=1000): @measurements.measures( measurements.Measurement(m...
Allow @monitors to happen after another decorator phase_func might be a PhaseInfo object already, which means we can't call functools.wraps() on it directly.
py
diff --git a/src/astral.py b/src/astral.py index <HASH>..<HASH> 100644 --- a/src/astral.py +++ b/src/astral.py @@ -116,6 +116,7 @@ __author__ = "Simon Kennedy <sffjunkie+code@gmail.com>" SUN_RISING = 1 SUN_SETTING = -1 +#region Location Info # name,region,latitude,longitude,timezone,elevation _LOCATION_INFO = """...
Added region for editor folding of location info
py
diff --git a/pymongo/__init__.py b/pymongo/__init__.py index <HASH>..<HASH> 100644 --- a/pymongo/__init__.py +++ b/pymongo/__init__.py @@ -70,7 +70,7 @@ SLOW_ONLY = 1 ALL = 2 """Profile all operations.""" -version_tuple = (3, 0, 2, 'dev0') +version_tuple = (3, 0, 2, '.dev0') def get_version_string(): if isi...
Start <I> with proper formatting.
py
diff --git a/autoflake.py b/autoflake.py index <HASH>..<HASH> 100755 --- a/autoflake.py +++ b/autoflake.py @@ -42,7 +42,7 @@ import pyflakes.messages import pyflakes.reporter -__version__ = '0.7a0' +__version__ = '0.7' ATOMS = frozenset([tokenize.NAME, tokenize.NUMBER, tokenize.STRING])
Increment version to <I>
py
diff --git a/ftfy/chardata.py b/ftfy/chardata.py index <HASH>..<HASH> 100644 --- a/ftfy/chardata.py +++ b/ftfy/chardata.py @@ -65,9 +65,9 @@ def _build_charmaps(): charmaps[encoding] = charmap encoding_regexes[encoding] = re.compile(regex) return charmaps, encoding_regexes - CHARMAPS, ENCODING_R...
update formatting and comments in chardata
py
diff --git a/tools/azure-devtools/src/azure_devtools/perfstress_tests/system_perfstress/sample_batch_test.py b/tools/azure-devtools/src/azure_devtools/perfstress_tests/system_perfstress/sample_batch_test.py index <HASH>..<HASH> 100644 --- a/tools/azure-devtools/src/azure_devtools/perfstress_tests/system_perfstress/samp...
[Perf] Fix batch sizes in SampleBatchTest (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ if sys.version_info.major == 2: setup( name='leancloud-sdk', - version='1.6.1', + version='1.6.2', description='LeanCloud Python SDK', url='https://leancloud.cn/',
fix: invalid version number in setup.py
py
diff --git a/salt/modules/cmd.py b/salt/modules/cmd.py index <HASH>..<HASH> 100644 --- a/salt/modules/cmd.py +++ b/salt/modules/cmd.py @@ -103,8 +103,9 @@ def run_all(cmd, cwd=DEFAULT_CWD): salt '*' cmd.run_all "ls -l | awk '/foo/{print $2}'" ''' ret = _run(cmd, cwd=cwd) - if not ret['retcode']: +...
Fixed cmd.run_all logic logging return code 0 as a failure
py
diff --git a/nanoget/nanoget.py b/nanoget/nanoget.py index <HASH>..<HASH> 100644 --- a/nanoget/nanoget.py +++ b/nanoget/nanoget.py @@ -53,8 +53,7 @@ def processSumary(summaryfile): a_time_stamps = np.array(datadf["time"], dtype='datetime64[s]') datadf["start_time"] = a_time_stamps - np.amin(a_time_stamps) logging...
removing reads with length 0
py
diff --git a/pgpy/keys.py b/pgpy/keys.py index <HASH>..<HASH> 100644 --- a/pgpy/keys.py +++ b/pgpy/keys.py @@ -206,6 +206,10 @@ class PGPKeyring(object): :py:exc:`~pgpy.errors.PGPError` is raised if the key specified is not loaded. """ + # store the current state + _ctx = self.ctx ...
PGPKeyring.key now stores the current state before setting a new state, and then restores the previous state during cleanup. This can allow managed blocks to be nested without breaking anything, which will be useful when I implement subkey reselection per issue #<I>
py
diff --git a/content.py b/content.py index <HASH>..<HASH> 100644 --- a/content.py +++ b/content.py @@ -758,7 +758,8 @@ class OPSContent(object): u'fig': u'main.xml#', u'supplementary-material': u'main.xml#', u'table': u'main.xml#', - u'aff...
Added "sec" to ref_types tin xrefNodeHandler
py
diff --git a/pandas/core/nanops.py b/pandas/core/nanops.py index <HASH>..<HASH> 100644 --- a/pandas/core/nanops.py +++ b/pandas/core/nanops.py @@ -1391,14 +1391,10 @@ def _maybe_arg_null_out( if axis is None or not getattr(result, "ndim", False): if skipna: if mask.all(): - # e...
Fix pre-commit error (#<I>)
py
diff --git a/isso/__init__.py b/isso/__init__.py index <HASH>..<HASH> 100644 --- a/isso/__init__.py +++ b/isso/__init__.py @@ -194,7 +194,7 @@ def make_app(conf=None, threading=True, multiprocessing=False, uwsgi=False): allowed=("Origin", "Referer", "Content-Type"), exposed=("X-Set-Cookie", "Date"))) ...
remove duplicated werkzeug compat middleware A typo that always chained the legacy middleware although not necessary. This causes errors with certain configurations (gevent + ???).
py
diff --git a/git/cmd.py b/git/cmd.py index <HASH>..<HASH> 100644 --- a/git/cmd.py +++ b/git/cmd.py @@ -551,6 +551,9 @@ class Git(LazyMixin): env = os.environ.copy() # Attempt to force all output to plain ascii english, which is what some parsing code # may expect. + # According to stac...
fix(git-cmd): set LANGUAGE as well This is a pre-emptive measure based on <URL>
py
diff --git a/djangocms_blog/admin.py b/djangocms_blog/admin.py index <HASH>..<HASH> 100755 --- a/djangocms_blog/admin.py +++ b/djangocms_blog/admin.py @@ -55,7 +55,16 @@ class PostAdmin(PlaceholderAdminMixin, FrontendEditableAdminMixin, 'title', 'author', 'date_published', 'app_config', 'all_languages_column',...
Post Admin filter by tags and search by title
py
diff --git a/buildozer/targets/android.py b/buildozer/targets/android.py index <HASH>..<HASH> 100644 --- a/buildozer/targets/android.py +++ b/buildozer/targets/android.py @@ -789,7 +789,7 @@ class TargetAndroid(Target): return True def get_dist_dir(self, dist_name): - return join(self._build_dir,...
Fixes packaging for current p4a develop branch
py
diff --git a/travis_tests.py b/travis_tests.py index <HASH>..<HASH> 100644 --- a/travis_tests.py +++ b/travis_tests.py @@ -36,5 +36,5 @@ matplotlib.use('agg') import nose, warnings with warnings.catch_warnings(): warnings.simplefilter("ignore") - nose.main('GPy', defaultTest='GPy/testing/') + nose.main('GP...
[tests] verbose in travis
py
diff --git a/infoblox_client/connector.py b/infoblox_client/connector.py index <HASH>..<HASH> 100644 --- a/infoblox_client/connector.py +++ b/infoblox_client/connector.py @@ -169,8 +169,7 @@ class Connector(object): return query_params def _get_request_options(self, data=None): - opts = dict(veri...
Do not override verify flag on request level Previously 'verify' flag was set on two levels: session and request. But since it is expected to have the same value in both cases there is no need to do so. 'verify' flag set on request level has not converted string to booleans. It caused failures with networking-infoblox...
py
diff --git a/pages/tests/__init__.py b/pages/tests/__init__.py index <HASH>..<HASH> 100644 --- a/pages/tests/__init__.py +++ b/pages/tests/__init__.py @@ -3,7 +3,6 @@ import unittest from pages.tests.test_functionnal import FunctionnalTestCase from pages.tests.test_unit import UnitTestCase from pages.tests.test_regr...
Don't break tests if Selenium is not installed
py
diff --git a/tethne/networks/authors.py b/tethne/networks/authors.py index <HASH>..<HASH> 100644 --- a/tethne/networks/authors.py +++ b/tethne/networks/authors.py @@ -400,8 +400,6 @@ def author_cocitation(meta_list, threshold): authors_pair_inv = (author_j_str.upper(),author_i_str.upper()) ...
minor Former-commit-id: 8c4a<I>f<I>c<I>e<I>fb<I>c3dfefa
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from __future__ import absolute_import, print_function, division from ast import literal_eval from setuptools import setup, Extension, find_packages - +import sys DISTNAME = 'scikit-allel'
import error of sys when numpy is not present
py
diff --git a/examples/flashing_doge.py b/examples/flashing_doge.py index <HASH>..<HASH> 100644 --- a/examples/flashing_doge.py +++ b/examples/flashing_doge.py @@ -1,15 +1,16 @@ import pyfakewebcam -import scipy.misc as misc import numpy as np import time import timeit -cam = pyfakewebcam.FakeWebcam('/dev/video1',...
flashing_doge.py : changed resolution to <I>p
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -43,7 +43,8 @@ settings.update( author_email='me@kennethreitz.com', url='https://github.com/requests/requests-oauthlib', packages=['requests_oauthlib', 'requests_oauthlib.compliance_fixes'], - install_require...
Add extra target for setup.py for RSA rather than defaulting to it. CC #<I>.
py