diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/raiden/tests/conftest.py b/raiden/tests/conftest.py index <HASH>..<HASH> 100644 --- a/raiden/tests/conftest.py +++ b/raiden/tests/conftest.py @@ -193,9 +193,17 @@ def pytest_runtest_call(item): @pytest.hookimpl(hookwrapper=True) def pytest_runtest_setup(item): - timeout = item.config.getvalue("timeo...
Improvements to timeout option handling * `getvalue` replaced (deprecated, see <URL>) * use both values from cli and `setup.cfg` * cast values from `setup.cfg` to int, which is necessary for them to be actually used * add docstring describing settings precedence
py
diff --git a/dvc/version.py b/dvc/version.py index <HASH>..<HASH> 100644 --- a/dvc/version.py +++ b/dvc/version.py @@ -7,7 +7,7 @@ import os import subprocess -_BASE_VERSION = "0.35.7" +_BASE_VERSION = "0.40.0" def _generate_version(base_version):
dvc: bump to <I>
py
diff --git a/stagpy/constants.py b/stagpy/constants.py index <HASH>..<HASH> 100644 --- a/stagpy/constants.py +++ b/stagpy/constants.py @@ -23,7 +23,7 @@ FIELD_VARS = OrderedDict(( ('sx2', Varf('2nd comp. of principal stress eigenvector', 'x_2', {})), ('sx3', Varf('3rd comp. of principal stress eigenvector', '...
More explicit name for strain rate (e->edot)
py
diff --git a/steamweb/steamwebbrowser.py b/steamweb/steamwebbrowser.py index <HASH>..<HASH> 100644 --- a/steamweb/steamwebbrowser.py +++ b/steamweb/steamwebbrowser.py @@ -243,6 +243,12 @@ class SteamWebBrowser(object): else: print('No email auth code given') re...
Add two-factor auth from jbzdarkid
py
diff --git a/registration/management/commands/cleanupregistration.py b/registration/management/commands/cleanupregistration.py index <HASH>..<HASH> 100644 --- a/registration/management/commands/cleanupregistration.py +++ b/registration/management/commands/cleanupregistration.py @@ -7,8 +7,8 @@ contains the actual logic...
Flip a couple imports to appease my inner style nerd
py
diff --git a/tests/events/test_events.py b/tests/events/test_events.py index <HASH>..<HASH> 100644 --- a/tests/events/test_events.py +++ b/tests/events/test_events.py @@ -21,6 +21,7 @@ from nose_parameterized import parameterized import pandas as pd from six import iteritems from six.moves import range, map +from to...
MAINT/TEST: Clarify test_events. - Refer to ``sessions`` instead of periods. - Use ``toolz.concat`` instead of an O(N ** 2) sequence of appends.
py
diff --git a/wandb/run_manager.py b/wandb/run_manager.py index <HASH>..<HASH> 100644 --- a/wandb/run_manager.py +++ b/wandb/run_manager.py @@ -444,12 +444,13 @@ class RunStatusChecker(object): self._polling_interval = polling_interval self._stop_requested_handler = stop_requested_handler - se...
In RunStatusChecker, change from using flag to using an Event instead. Now the thread wakes immediately when a shutdown is requested.
py
diff --git a/mysql/toolkit/components/connector.py b/mysql/toolkit/components/connector.py index <HASH>..<HASH> 100644 --- a/mysql/toolkit/components/connector.py +++ b/mysql/toolkit/components/connector.py @@ -80,7 +80,6 @@ class Connector: try: return self._fetch(statement, commit) exce...
Removed disconnect call from InterfaceError handling
py
diff --git a/mapclassify/classifiers.py b/mapclassify/classifiers.py index <HASH>..<HASH> 100644 --- a/mapclassify/classifiers.py +++ b/mapclassify/classifiers.py @@ -2343,7 +2343,7 @@ class UserDefined(MapClassifier): fmt = FMT if 'fmt' in legend_kwds: - fmt = legend_kwds.pop('ft') + ...
BUG: in local plot, pop fmt not ft
py
diff --git a/scot/backend_sklearn.py b/scot/backend_sklearn.py index <HASH>..<HASH> 100644 --- a/scot/backend_sklearn.py +++ b/scot/backend_sklearn.py @@ -53,7 +53,7 @@ class VAR(VARBase): VARBase.__init__(self, model_order) if fitobj is None: from sklearn.linear_model import LinearRegres...
Do not fit intercept - this gives weird numerical differences compared to the original data orientation
py
diff --git a/systemd/journal.py b/systemd/journal.py index <HASH>..<HASH> 100644 --- a/systemd/journal.py +++ b/systemd/journal.py @@ -102,7 +102,7 @@ class JournaldLogHandler(logging.Handler): message_id = uuid.uuid3(uuid.NAMESPACE_OID, "$".join(str(x) for x in hash_fields)).hex - data = {key: valu...
[fix] Allow to log fields with zero in value
py
diff --git a/elastic/elastic.py b/elastic/elastic.py index <HASH>..<HASH> 100644 --- a/elastic/elastic.py +++ b/elastic/elastic.py @@ -101,7 +101,7 @@ def regular(u): .. math:: C_{11}, C_{12}, C_{44} - :param u: vector of deformations :math:`u_{xx}, u_{yy}, u_{zz}, u_{yz}, u_{xz}, u_{xy}` + :param ...
Math formating in fuction headers
py
diff --git a/.buildkite/pipeline.py b/.buildkite/pipeline.py index <HASH>..<HASH> 100644 --- a/.buildkite/pipeline.py +++ b/.buildkite/pipeline.py @@ -95,6 +95,7 @@ def wrap_with_docker_compose_steps( [ "docker-compose {filename_arg}stop".format(filename_arg=filename_arg), "docker-com...
[buildkite] remove dangling images Summary: see if this helps with postgres image issues Test Plan: ??? Reviewers: max, nate, schrockn Reviewed By: nate Differential Revision: <URL>
py
diff --git a/angr/analyses/disassembly.py b/angr/analyses/disassembly.py index <HASH>..<HASH> 100644 --- a/angr/analyses/disassembly.py +++ b/angr/analyses/disassembly.py @@ -844,7 +844,10 @@ class Disassembly(Analysis): else: self._graph = cfg.graph for start, end in rang...
Permit disassembly ranges of length 0
py
diff --git a/slave/core.py b/slave/core.py index <HASH>..<HASH> 100644 --- a/slave/core.py +++ b/slave/core.py @@ -361,10 +361,11 @@ class InstrumentBase(object): value._cfg = cfg if isinstance(value, InstrumentBase): # inject config into InstrumentBase attributes. - ...
Fixed bug, a test if InstrumentBase._cfg is None was missing.
py
diff --git a/mintapi/api.py b/mintapi/api.py index <HASH>..<HASH> 100644 --- a/mintapi/api.py +++ b/mintapi/api.py @@ -313,7 +313,7 @@ def _sign_in(email, password, driver, mfa_method=None, mfa_token=None, driver.find_element_by_id("ius-password").send_keys(password) driver.find_element_by_id("ius-sig...
login: sometimes not-visible is thrown instead
py
diff --git a/km3pipe/io/evt.py b/km3pipe/io/evt.py index <HASH>..<HASH> 100644 --- a/km3pipe/io/evt.py +++ b/km3pipe/io/evt.py @@ -215,7 +215,7 @@ class EvtPump(Pump): # pylint: disable:R0902 blob['CenterOnCan'] = TrackCorsika(values) elif tag == 'track_primary': values =...
no zed_correction for the primary
py
diff --git a/fake_rpi/smbus/smbus.py b/fake_rpi/smbus/smbus.py index <HASH>..<HASH> 100644 --- a/fake_rpi/smbus/smbus.py +++ b/fake_rpi/smbus/smbus.py @@ -15,10 +15,18 @@ class SMBus(Base): pass @printf + def write_byte(self, i2c_addr, value): + pass + + @printf def read_byte_data(self, i2c_addr, register): ...
added methods for read_byte and write_byte Added some methods that don't invoke a data transaction.
py
diff --git a/remi/gui.py b/remi/gui.py index <HASH>..<HASH> 100644 --- a/remi/gui.py +++ b/remi/gui.py @@ -1591,7 +1591,7 @@ class HEAD(Tag): }; Remi.prototype._checkTimeout = function(){ - if(this._pendingSendMessages.length>0) + if(this._pendin...
Prevent spurious errors after teardown we really should clear the timer
py
diff --git a/lib/svtplay_dl/subtitle/__init__.py b/lib/svtplay_dl/subtitle/__init__.py index <HASH>..<HASH> 100644 --- a/lib/svtplay_dl/subtitle/__init__.py +++ b/lib/svtplay_dl/subtitle/__init__.py @@ -112,7 +112,7 @@ class subtitle_wsrt(subtitle): if subtract: hour1 -= 10 ...
subtitle_wsrt: it should be --> and not ->
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ except IOError: long_description = "" setup(name='tim', - version='0.4', + version='0.5', description='TIM: Timed Iteration Monitor', author='Olivier Le Thanh Duong', long_de...
Release <I> Fix installation via pip
py
diff --git a/synapse/neuron.py b/synapse/neuron.py index <HASH>..<HASH> 100644 --- a/synapse/neuron.py +++ b/synapse/neuron.py @@ -35,7 +35,7 @@ class SessBoss: self.roots = roots self.key = cert.getkey() - self.certbyts = cert.save() + self.certbyts = cert.dump() def decrypt(se...
Replace calls to removed cert.save with cert.dump
py
diff --git a/osfclient/tests/test_cloning.py b/osfclient/tests/test_cloning.py index <HASH>..<HASH> 100644 --- a/osfclient/tests/test_cloning.py +++ b/osfclient/tests/test_cloning.py @@ -20,7 +20,8 @@ def test_clone_project(OSF_project): with patch('osfclient.cli.open', mock_open_func): with patch('osfc...
Fix osf clone test that was asking for a password
py
diff --git a/salt/state.py b/salt/state.py index <HASH>..<HASH> 100644 --- a/salt/state.py +++ b/salt/state.py @@ -571,9 +571,7 @@ class Compiler(object): if state.startswith('__'): continue chunk = {'state': state, - 'name': name, - ...
pass in empty kwarg for reactor
py
diff --git a/pysat/tests/instrument_test_class.py b/pysat/tests/instrument_test_class.py index <HASH>..<HASH> 100644 --- a/pysat/tests/instrument_test_class.py +++ b/pysat/tests/instrument_test_class.py @@ -118,14 +118,6 @@ class InstTestClass(): """Provides standardized tests for pysat instrument libraries. ...
TST: setup/teardown not nedded in base class
py
diff --git a/beekeeper/comms.py b/beekeeper/comms.py index <HASH>..<HASH> 100644 --- a/beekeeper/comms.py +++ b/beekeeper/comms.py @@ -122,7 +122,7 @@ class Response: def __init__(self, action, response): self.action = action - self.headers = dict(response.headers) + self.headers = respons...
Changing comms to use the native Response headers object - addressable in a non-case-sensitive manner.
py
diff --git a/command/build.py b/command/build.py index <HASH>..<HASH> 100644 --- a/command/build.py +++ b/command/build.py @@ -69,6 +69,12 @@ class build (Command): plat_specifier = ".%s-%s" % (get_platform(), sys.version[0:3]) + # Make it so Python 2.x and Python 2.x with --with-pydebug don't + ...
#<I>: change distutils build dir for --with-pydebug python builds.
py
diff --git a/cdflib/epochs.py b/cdflib/epochs.py index <HASH>..<HASH> 100644 --- a/cdflib/epochs.py +++ b/cdflib/epochs.py @@ -1078,7 +1078,7 @@ class CDFepoch(object): Returns ------- out : array of int - Tuple of 10 integers (year, month, day, hour, minute, second, + A...
MAINT: updated return type Updated the return type in the docstring.
py
diff --git a/taxtastic/utils.py b/taxtastic/utils.py index <HASH>..<HASH> 100644 --- a/taxtastic/utils.py +++ b/taxtastic/utils.py @@ -188,6 +188,7 @@ def parse_raxml(handle): JTT_MODEL = 'ML Model: Jones-Taylor-Thorton, CAT approximation with 20 rate categories' +WAG_MODEL = 'ML Model: Whelan-And-Goldman, CAT app...
Parse FastTree WAG model line
py
diff --git a/glymur/jp2box.py b/glymur/jp2box.py index <HASH>..<HASH> 100644 --- a/glymur/jp2box.py +++ b/glymur/jp2box.py @@ -2249,9 +2249,6 @@ class UUIDBox(Jp2kBox): def write(self, fptr): """Write a UUID box to file. """ - if self.uuid != uuid.UUID('be7acfcb-97a9-42e8-9c71-999491e3afac...
Removed restriction on only writing XMP UUIDs. #<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.argv[-1] == "publish": publish() sys.exit() -required = ['clint>=0.2.0', 'github2'] +required = ['clint>=0.2.0', 'github2', 'requests'] setup( name='humble',
added requests to install_requires
py
diff --git a/LiSE/LiSE/proxy.py b/LiSE/LiSE/proxy.py index <HASH>..<HASH> 100644 --- a/LiSE/LiSE/proxy.py +++ b/LiSE/LiSE/proxy.py @@ -1807,8 +1807,14 @@ class EngineProxy(AbstractEngine): return received def _upd_chars_caches(self, chardiffs, **kwargs): + deleted = set(self.character.keys()) ...
Update character caches in a more flexible way
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -77,14 +77,18 @@ pygments_style = 'sphinx' # If true, `todo` and `todoList` produce output, else they produce nothing. todo_include_todos = False +on_rtd = os.environ.get('READTHEDOCS', None) == 'True' + +i...
converting to rtd theme.
py
diff --git a/django_afip/models.py b/django_afip/models.py index <HASH>..<HASH> 100644 --- a/django_afip/models.py +++ b/django_afip/models.py @@ -49,7 +49,16 @@ def check_response(response): def first_currency(): - return CurrencyType.objects.filter(code='PES').first() + """ + Returns the id for the firs...
Fix migration failure on postgres Migrations were failing on postgres when the DB was non-empty (actually, when at least one currency existed) due to how defaults were referenced. Fixes #<I>
py
diff --git a/cwltool/workflow.py b/cwltool/workflow.py index <HASH>..<HASH> 100644 --- a/cwltool/workflow.py +++ b/cwltool/workflow.py @@ -210,13 +210,13 @@ def object_from_state(state, parms, frag_only, supportsMultipleInput, sourceFiel if frag_only: iid = shortname(iid) if sourceField i...
Don't complain MultipleInputRequirement if source is single-item list. (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -102,7 +102,6 @@ setup(name=PACKAGENAME, version=VERSION, description=DESCRIPTION, scripts=scripts, - requires=['astropy'], install_requires=install_requires, provides=[PACKAGENAME], ...
Remove deprecated requires keyword from setup
py
diff --git a/_data.py b/_data.py index <HASH>..<HASH> 100644 --- a/_data.py +++ b/_data.py @@ -1484,13 +1484,16 @@ class fitter(): if self._set_xdata is None: return self._error("No data. Please use set_data() prior to fitting.") + if (_n.array(self._eydata_massaged)==0).any(): + ...
fitter now complains when you try to fit with a zero error bar.
py
diff --git a/songpal/method.py b/songpal/method.py index <HASH>..<HASH> 100644 --- a/songpal/method.py +++ b/songpal/method.py @@ -122,7 +122,8 @@ class Method: req, self.protocol) if self.protocol == ProtocolType.WebSocket: async with session.ws_connect(self...
add heartbeat for websocket connections, this will be later used to detect disconnected devices
py
diff --git a/vent/core/rq_worker/watch.py b/vent/core/rq_worker/watch.py index <HASH>..<HASH> 100644 --- a/vent/core/rq_worker/watch.py +++ b/vent/core/rq_worker/watch.py @@ -24,7 +24,7 @@ def gpu_queue(options): dev = '/dev/nvidia' + gpu_options['device'] + ':/dev/nvidia' dev += gpu_options['device']...
make a new list for iterating
py
diff --git a/vendor.py b/vendor.py index <HASH>..<HASH> 100644 --- a/vendor.py +++ b/vendor.py @@ -54,6 +54,10 @@ def vendor_library(name, version, cmd=None): run(['rm', '-rf', vendor_src]) if path.exists(vendor_init): + # The following read/regex is done so that we can parse module metadata with...
explain a bit what we are doing with the regex
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -49,8 +49,8 @@ class PyTest(TestCommand): setup( name='hepdata_validator', - version='0.1.5', - summary='0.1.5 release', + version='0.1.6', + summary='0.1.6 release', url='https://github.com/hepdata/he...
global: version bump to <I>
py
diff --git a/jwe/__init__.py b/jwe/__init__.py index <HASH>..<HASH> 100644 --- a/jwe/__init__.py +++ b/jwe/__init__.py @@ -4,7 +4,7 @@ from jwe.decryption import decrypt from jwe.encryption import encrypt -__version__ = '0.1.6' +__version__ = '1.0.0' __all__ = ( 'kdf', 'decrypt',
Update version to match pypi
py
diff --git a/mousedb/animal/forms.py b/mousedb/animal/forms.py index <HASH>..<HASH> 100644 --- a/mousedb/animal/forms.py +++ b/mousedb/animal/forms.py @@ -45,8 +45,6 @@ class BreedingForm(ModelForm): This form is used from the url /mousedb/breeding/new and is a generic create view. This view includes a datepic...
Removed the autocomplete fields to make breeding cages editable again.
py
diff --git a/salt/modules/mdadm.py b/salt/modules/mdadm.py index <HASH>..<HASH> 100644 --- a/salt/modules/mdadm.py +++ b/salt/modules/mdadm.py @@ -212,11 +212,10 @@ def create(name, cmd = ['mdadm', '-C', name, - '-v', - opts, + '-v'] + opts + [ '-l', level, ...
Need to properly add lists to each other
py
diff --git a/ansible_runner/utils.py b/ansible_runner/utils.py index <HASH>..<HASH> 100644 --- a/ansible_runner/utils.py +++ b/ansible_runner/utils.py @@ -239,13 +239,16 @@ class OutputEventFilter(object): if stdout_actual and stdout_actual != "{}": if not self.suppress_ansible_output: ...
Fix output buffering by forcing a flush() on write() for stdout
py
diff --git a/tools/azure-sdk-tools/setup.py b/tools/azure-sdk-tools/setup.py index <HASH>..<HASH> 100644 --- a/tools/azure-sdk-tools/setup.py +++ b/tools/azure-sdk-tools/setup.py @@ -21,7 +21,8 @@ DEPENDENCIES = [ 'pyopenssl', 'azure-mgmt-resource', 'azure-mgmt-storage', - 'azure-mgmt-keyvault' + '...
add dotenv as a dep for azure-sdk-tools (#<I>)
py
diff --git a/schedule/urls.py b/schedule/urls.py index <HASH>..<HASH> 100644 --- a/schedule/urls.py +++ b/schedule/urls.py @@ -96,7 +96,7 @@ url(r'^occurrence/edit/(?P<event_id>\d+)/(?P<year>\d+)/(?P<month>\d+)/(?P<day>\d #feed urls url(r'^feed/calendar/(.*)/$', 'django.contrib.syndication.views.Feed', - { "f...
Updated urlpatterns feed syntax to work with Django><I>
py
diff --git a/autotweet/learn.py b/autotweet/learn.py index <HASH>..<HASH> 100644 --- a/autotweet/learn.py +++ b/autotweet/learn.py @@ -37,7 +37,8 @@ def polling_timeline(api, db_url): me = api.me() last_id = me.status.id - while time.sleep(60): + while 1: + time.sleep(60) statuses = me...
Fix while statement time.sleep returns None.
py
diff --git a/panoptes_client/panoptes.py b/panoptes_client/panoptes.py index <HASH>..<HASH> 100644 --- a/panoptes_client/panoptes.py +++ b/panoptes_client/panoptes.py @@ -8,6 +8,7 @@ import requests import threading from datetime import datetime, timedelta +from panoptes_client.utils import isiterable if os.envi...
Fix linking to lists of objects Closes #<I>
py
diff --git a/src/streamlink/plugins/tigerdile.py b/src/streamlink/plugins/tigerdile.py index <HASH>..<HASH> 100644 --- a/src/streamlink/plugins/tigerdile.py +++ b/src/streamlink/plugins/tigerdile.py @@ -10,7 +10,7 @@ STREAM_TYPES = ["rtmp"] _url_re = re.compile(r""" https?://(?:www|sfw)\.tigerdile\.com - \/s...
Tweaked tigerdile URL regex to allow missing trailing slash.
py
diff --git a/bitcoinrpc/authproxy.py b/bitcoinrpc/authproxy.py index <HASH>..<HASH> 100644 --- a/bitcoinrpc/authproxy.py +++ b/bitcoinrpc/authproxy.py @@ -61,7 +61,7 @@ class JSONRPCException(Exception): def EncodeDecimal(o): if isinstance(o, decimal.Decimal): - return round(o, 8) + return float(r...
explicit casting of Decimal rounding to float for python<I>+
py
diff --git a/visidata/sheets.py b/visidata/sheets.py index <HASH>..<HASH> 100644 --- a/visidata/sheets.py +++ b/visidata/sheets.py @@ -1011,7 +1011,7 @@ Sheet.addCommand('$', 'type-currency', 'cursorCol.type = currency', 'set type of Sheet.addCommand('%', 'type-float', 'cursorCol.type = float', 'set type of current co...
[open-cell-] dive-cell is now deprecated
py
diff --git a/spyder/config/main.py b/spyder/config/main.py index <HASH>..<HASH> 100755 --- a/spyder/config/main.py +++ b/spyder/config/main.py @@ -282,6 +282,7 @@ DEFAULTS = [ 'show_hidden': True, 'show_all': True, 'show_icontext': False, + 'single_click_to_o...
Add configuration for single click on explorer
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ from distutils.core import setup -setup(name='BitEx', version='0.7', author='Nils Diefenbach', +setup(name='BitEx', version='0.8', author='Nils Diefenbach', author_email='23okrs20+pypi@mykolab.com', ...
bumped version to <I>
py
diff --git a/sos/report/plugins/foreman.py b/sos/report/plugins/foreman.py index <HASH>..<HASH> 100644 --- a/sos/report/plugins/foreman.py +++ b/sos/report/plugins/foreman.py @@ -283,11 +283,11 @@ class Foreman(Plugin): "/var/log/foreman-installer/sat*", sat_debug_reg, r"\1 \2 ***...
[foreman] scrub admin init password in installer logs Obfuscate several instances of passwords: "--foreman-initial-admin-password", "mySecret", +candlepin.amqp.keystore_password=secretHash1 +jpa.config.hibernate.connection.password=secretHash2 by enhancing the scrubbing of: --password='secretPwd' Closes: #<I> Reso...
py
diff --git a/huawei_lte_api/AuthorizedConnection.py b/huawei_lte_api/AuthorizedConnection.py index <HASH>..<HASH> 100644 --- a/huawei_lte_api/AuthorizedConnection.py +++ b/huawei_lte_api/AuthorizedConnection.py @@ -1,6 +1,6 @@ import datetime from typing import Optional, Tuple, Union -from urllib.parse import urlpars...
Don't drop port (or anything else but auth info) from AuthorizedConnection URL Broken in ed<I>c8d9df1dfb<I>a<I>e<I>f<I>a<I>c<I> Refs <URL>
py
diff --git a/grimoire_elk/panels.py b/grimoire_elk/panels.py index <HASH>..<HASH> 100755 --- a/grimoire_elk/panels.py +++ b/grimoire_elk/panels.py @@ -65,7 +65,7 @@ def get_search_json(elastic, search_id): search_json = r.json() if "_source" not in search_json: - logging.error("Can not find search: %...
[panels] Include searches directly visualized in a dasboard when exporting a dashboard
py
diff --git a/multilingual_model/models.py b/multilingual_model/models.py index <HASH>..<HASH> 100644 --- a/multilingual_model/models.py +++ b/multilingual_model/models.py @@ -102,11 +102,11 @@ class MultilingualModel(models.Model): if settings.FAIL_SILENTLY: return None ...
Fixed a bug where a ValueError could not be raised from within a __unicode__ function due to recursion.
py
diff --git a/test/environment_test.py b/test/environment_test.py index <HASH>..<HASH> 100644 --- a/test/environment_test.py +++ b/test/environment_test.py @@ -57,6 +57,8 @@ class TestEnvironment(unittest.TestCase): router = LoggingRouter() router.add_to_environment(self.env) self.env.define_f...
issue #7: Python named function tests
py
diff --git a/factuality_data.py b/factuality_data.py index <HASH>..<HASH> 100644 --- a/factuality_data.py +++ b/factuality_data.py @@ -139,6 +139,14 @@ class Cfactuality: self.node.append(fval.get_node()) + def get_factVals(self): + """ + Iterator to get the factuality values + @rt...
Added iterator to go through all factVals associated with a factuality object
py
diff --git a/djangospam/cookie/middleware.py b/djangospam/cookie/middleware.py index <HASH>..<HASH> 100644 --- a/djangospam/cookie/middleware.py +++ b/djangospam/cookie/middleware.py @@ -1,14 +1,21 @@ # -*- coding: utf-8 -*- """Middleware module. See :mod:`djangospam.cookie` for more info.""" +from ast import Impor...
Compatibility with Django's new middleware pattern.
py
diff --git a/src/python/dxpy/utils/env.py b/src/python/dxpy/utils/env.py index <HASH>..<HASH> 100644 --- a/src/python/dxpy/utils/env.py +++ b/src/python/dxpy/utils/env.py @@ -80,8 +80,9 @@ def get_env(suppress_warning=False): env_overrides = [] for var in var_names: if var in os.environ: + ...
Fix warning about environment variable overrides
py
diff --git a/modules/pipexpathfetchpage.py b/modules/pipexpathfetchpage.py index <HASH>..<HASH> 100644 --- a/modules/pipexpathfetchpage.py +++ b/modules/pipexpathfetchpage.py @@ -54,8 +54,10 @@ def pipe_xpathfetchpage(context, _INPUT, conf, **kwargs): if html5: - ...
Alternative way of html5 parsing
py
diff --git a/XTree/FileSystem.py b/XTree/FileSystem.py index <HASH>..<HASH> 100644 --- a/XTree/FileSystem.py +++ b/XTree/FileSystem.py @@ -46,7 +46,10 @@ class FileSystem(): def create_links(self): for src in self.files: if self.separator: - dst = self.separator.join(src.split(...
Fix behaviour when multiple directories are present in archive root
py
diff --git a/fastavro/_schema_common.py b/fastavro/_schema_common.py index <HASH>..<HASH> 100644 --- a/fastavro/_schema_common.py +++ b/fastavro/_schema_common.py @@ -21,7 +21,7 @@ SCHEMA_DEFS = { } -class UnknownType(Exception): +class UnknownType(ValueError): def __init__(self, name): super(Unknown...
UnknownType is ValueError UnknownType is now ValueError, this way if someone is looking for "ValueError" exception, UnknownType will be caught in the exception.
py
diff --git a/satpy/readers/vaisala_gld360.py b/satpy/readers/vaisala_gld360.py index <HASH>..<HASH> 100644 --- a/satpy/readers/vaisala_gld360.py +++ b/satpy/readers/vaisala_gld360.py @@ -56,10 +56,6 @@ class VaisalaGLD360TextFileHandler(BaseFileHandler): self.data = pd.read_csv(filename, delim_whitespace=True,...
Check input units against reader config.
py
diff --git a/pysat/_instrument.py b/pysat/_instrument.py index <HASH>..<HASH> 100644 --- a/pysat/_instrument.py +++ b/pysat/_instrument.py @@ -390,7 +390,13 @@ class Instrument(object): # Assign an absolute path for files that may not be part of the # standard pysat directory structure - self...
ENH: added `data_dir` attribute Added a data directory attribute that makes it possible to specify an absolute path for files not included in the local pysat data directories.
py
diff --git a/hypercorn/__about__.py b/hypercorn/__about__.py index <HASH>..<HASH> 100644 --- a/hypercorn/__about__.py +++ b/hypercorn/__about__.py @@ -1 +1 @@ -__version__ = "0.8.3" +__version__ = "0.8.3+dev"
Following the release of <I> bump to +dev
py
diff --git a/flaskext/sqlalchemy.py b/flaskext/sqlalchemy.py index <HASH>..<HASH> 100644 --- a/flaskext/sqlalchemy.py +++ b/flaskext/sqlalchemy.py @@ -384,6 +384,10 @@ class SQLAlchemy(object): """Drops all tables.""" self.Model.metadata.drop_all(bind=self.engine) + def reflect(self): + ""...
Helper to reflect() tables from the database.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -185,7 +185,7 @@ if not is_supported_platform: elif not is_supported_arch: sys.stderr.write(arch_unsupported_msg) -try_extensions = "--no-extensions" not in sys.argv and is_supported_platform and is_supported_arch +try...
additional setup envvar disabling all extensions
py
diff --git a/tests/integration_tests/tests.py b/tests/integration_tests/tests.py index <HASH>..<HASH> 100644 --- a/tests/integration_tests/tests.py +++ b/tests/integration_tests/tests.py @@ -136,6 +136,7 @@ class TestTrypticLookup(basetest.BaseTestPycolator): db = sqlite3.connect(dbfn) seqs_in_db = se...
No leucines in lookup, all isoleucines
py
diff --git a/src/oicmsg/oic/__init__.py b/src/oicmsg/oic/__init__.py index <HASH>..<HASH> 100755 --- a/src/oicmsg/oic/__init__.py +++ b/src/oicmsg/oic/__init__.py @@ -410,7 +410,7 @@ class AuthorizationRequest(oauth2.AuthorizationRequest): raise MissingRequiredAttribute("response_type missing", self) ...
It's only when id_token is in the response_type that nonce is a MUST.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ setup( version='0.2.4', description='Blanc Content Files', long_description=readme, - url='https://github.com/blancltd/blanc-contentfiles', + url='https://github.com/developersociety/blanc-c...
Update GitHub repos from blancltd to developersociety
py
diff --git a/ryu/lib/packet/packet_utils.py b/ryu/lib/packet/packet_utils.py index <HASH>..<HASH> 100644 --- a/ryu/lib/packet/packet_utils.py +++ b/ryu/lib/packet/packet_utils.py @@ -26,10 +26,10 @@ def carry_around_add(a, b): def checksum(data): + data = six.binary_type(data) # input can be bytearray. ...
packet_utils: Remove checksum() side-effect checksum() was modifying argument when it is bytearray. Make sure checksum() doesn't modify its argument.
py
diff --git a/emma2/msm/estimation/api.py b/emma2/msm/estimation/api.py index <HASH>..<HASH> 100644 --- a/emma2/msm/estimation/api.py +++ b/emma2/msm/estimation/api.py @@ -1,5 +1,7 @@ """This module contains the api definitions for the estimation module""" +import sparse.count_matrix + ##############################...
Countmatrix estimation funcitonality is now available in api
py
diff --git a/tests/unit/utils.py b/tests/unit/utils.py index <HASH>..<HASH> 100644 --- a/tests/unit/utils.py +++ b/tests/unit/utils.py @@ -174,24 +174,6 @@ def needs_surface_intersection_speedup(test_class): # pylint: enable=invalid-name -# pylint: disable=too-many-arguments -def check_intersection(test_case, inte...
Deleting unused test helper. This is a coverage fix after previous commit. See failures: - <URL>
py
diff --git a/python/weka/associations.py b/python/weka/associations.py index <HASH>..<HASH> 100644 --- a/python/weka/associations.py +++ b/python/weka/associations.py @@ -393,6 +393,25 @@ class AssociationRule(JavaObject): :rtype: float """ return javabridge.call(self.jobject, "getPrimaryMetr...
Create a dict from AssociationRule properties.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -19,15 +19,19 @@ setup( 'Programming Language :: Python :: 3' ], install_requires=[ - 'pytest', - 'pytest-cov', - 'python-coveralls', 'requests', 'obonet', 'ne...
Add an extras_require test section and move all test-only dependencies there
py
diff --git a/benchmark/rclpy/publisher-endurance-test.py b/benchmark/rclpy/publisher-endurance-test.py index <HASH>..<HASH> 100644 --- a/benchmark/rclpy/publisher-endurance-test.py +++ b/benchmark/rclpy/publisher-endurance-test.py @@ -25,7 +25,7 @@ def main(): times = input('How many times do you want to run? ') ...
[PnP]Correct the converting from millisecond to second Fix #<I>
py
diff --git a/test/profiling/deflections.py b/test/profiling/deflections.py index <HASH>..<HASH> 100644 --- a/test/profiling/deflections.py +++ b/test/profiling/deflections.py @@ -1,8 +1,8 @@ import time from autolens.model.profiles import mass_profiles as mp -from autolens.data.array import mask as msk from autole...
Added example scripts for galaxy_fits and refactored galaxy fit to use lists of galaxies in phase and the relevent modules.
py
diff --git a/OAuth2Util/OAuth2Util.py b/OAuth2Util/OAuth2Util.py index <HASH>..<HASH> 100644 --- a/OAuth2Util/OAuth2Util.py +++ b/OAuth2Util/OAuth2Util.py @@ -76,6 +76,9 @@ class OAuth2Util: self.config = {} + self.config[CONFIGKEY_TOKEN] = None + self.config[CONFIGKEY_REFRESH_TOKEN] = None + self._re...
fix bug (missing Token field in config caused crash)
py
diff --git a/pyontutils/scigraph.py b/pyontutils/scigraph.py index <HASH>..<HASH> 100755 --- a/pyontutils/scigraph.py +++ b/pyontutils/scigraph.py @@ -75,6 +75,10 @@ class restService: param_rest = param_rest if param_rest else '' return param_rest + @property + def _escape(self): + ret...
scigraph.py updated with temp fix for escaping slashes through an nginx proxy
py
diff --git a/androguard/core/bytecodes/dvm.py b/androguard/core/bytecodes/dvm.py index <HASH>..<HASH> 100644 --- a/androguard/core/bytecodes/dvm.py +++ b/androguard/core/bytecodes/dvm.py @@ -5681,7 +5681,7 @@ DALVIK_OPCODES_FORMAT = { 0x1e : [Instruction11x, [ "monitor-exit" ] ], 0x1f : [Instruction21c, [ "check-...
Array-length has no type reference, see the Dalvik document. array-length vA, vB A: destination register (4 bits) B: array reference-bearing register (4 bits) Store in the given destination register the length of the indicated array, in entries
py
diff --git a/nudibranch/diff_render.py b/nudibranch/diff_render.py index <HASH>..<HASH> 100644 --- a/nudibranch/diff_render.py +++ b/nudibranch/diff_render.py @@ -101,6 +101,7 @@ class ScoreMaker(object): else: return float(self.total_score_achieved(diffs)) / available * 100 + class HTMLDiff(di...
Fixed lint error involving a missing newline.
py
diff --git a/indra/tests/test_eidos.py b/indra/tests/test_eidos.py index <HASH>..<HASH> 100644 --- a/indra/tests/test_eidos.py +++ b/indra/tests/test_eidos.py @@ -36,9 +36,9 @@ def test_process_text(): assert len(ep.statements) == 1 stmt = ep.statements[0] assert isinstance(stmt, Influence) - assert s...
Fix some remaining issues in Eidos tests
py
diff --git a/openfisca_core/formulas.py b/openfisca_core/formulas.py index <HASH>..<HASH> 100644 --- a/openfisca_core/formulas.py +++ b/openfisca_core/formulas.py @@ -557,8 +557,9 @@ def calculate_output_divide(formula, period): def missing_value(formula, simulation, period): - if formula.function is not None: ...
Adapt missing_value to new Variable structure
py
diff --git a/grimoire_elk/elastic_items.py b/grimoire_elk/elastic_items.py index <HASH>..<HASH> 100644 --- a/grimoire_elk/elastic_items.py +++ b/grimoire_elk/elastic_items.py @@ -178,7 +178,7 @@ class ElasticItems: scroll_size = page['hits']['total'] if scroll_size == 0: - logger.warning(...
[elastic_items] Change log level message In order to reduce the log size, some log level messages have been changed to debug.
py
diff --git a/synapse/lib/remcycle.py b/synapse/lib/remcycle.py index <HASH>..<HASH> 100644 --- a/synapse/lib/remcycle.py +++ b/synapse/lib/remcycle.py @@ -492,6 +492,7 @@ class Hypnos(s_config.Config): # Stamp api http config ontop of global config, then stamp it into the API config _http = se...
Fix a issue where the global http config was not carried into the api config
py
diff --git a/dipper/sources/Source.py b/dipper/sources/Source.py index <HASH>..<HASH> 100644 --- a/dipper/sources/Source.py +++ b/dipper/sources/Source.py @@ -450,7 +450,7 @@ class Source: for field in line.findall('field'): atts = dict(field.attrib) row[atts['...
reconsider which of the previously clobbered 'row' to pass an an arg
py
diff --git a/indra/assemblers/pybel_assembler.py b/indra/assemblers/pybel_assembler.py index <HASH>..<HASH> 100644 --- a/indra/assemblers/pybel_assembler.py +++ b/indra/assemblers/pybel_assembler.py @@ -111,7 +111,10 @@ def _get_agent_node(agent): if mod.position is not None: var[pc.PMOD_POSITION]...
Include mutations in agent node data
py
diff --git a/example/cheeseshop/settings.py b/example/cheeseshop/settings.py index <HASH>..<HASH> 100644 --- a/example/cheeseshop/settings.py +++ b/example/cheeseshop/settings.py @@ -72,6 +72,22 @@ TEMPLATE_LOADERS = ( # 'django.template.loaders.eggs.Loader', ) +TEMPLATES = [ + { + 'BACKEND': 'django....
Added TEMPLATES setting to example app.
py
diff --git a/iperf3/iperf3.py b/iperf3/iperf3.py index <HASH>..<HASH> 100755 --- a/iperf3/iperf3.py +++ b/iperf3/iperf3.py @@ -858,8 +858,8 @@ class TestResult(object): self.jitter_ms = self.json['end']['sum']['jitter_ms'] self.kbps = self.bps / 1000 self.Mbps = self.k...
correcting kB_s and MB_s in UDP for correct calculation (#<I>) * correcting kB_s and MB_s in UDP for correct calculation * Adapting fixing calculation to adapt to comment Thanks @gleichda I'll try to get PyPi package updated today
py
diff --git a/salt/output/highstate.py b/salt/output/highstate.py index <HASH>..<HASH> 100644 --- a/salt/output/highstate.py +++ b/salt/output/highstate.py @@ -131,7 +131,7 @@ def _format_host(host, data): # Increment result counts rcounts.setdefault(ret['result'], 0) rcounts[ret['...
Fix the highstate outputter if duration is not present Happens for `onchanges` states and so forth Fixes #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ if sys.version_info >= (3,): extra['use_2to3'] = True setup(name='marathon', - version='0.7.0', + version='0.7.0-yelp1', description='Marathon Client Library', long_description="""P...
Release <I>-yelp1 to try to be compatible with marathon <I>
py
diff --git a/slither/detectors/reentrancy/reentrancy.py b/slither/detectors/reentrancy/reentrancy.py index <HASH>..<HASH> 100644 --- a/slither/detectors/reentrancy/reentrancy.py +++ b/slither/detectors/reentrancy/reentrancy.py @@ -34,8 +34,7 @@ class Reentrancy(AbstractDetector): KEY = 'REENTRANCY' - @stati...
Improve reentrancy heuristic: Only skip view/pure/variable calls if Solidity <I> is used
py
diff --git a/bcbio/pipeline/variation.py b/bcbio/pipeline/variation.py index <HASH>..<HASH> 100644 --- a/bcbio/pipeline/variation.py +++ b/bcbio/pipeline/variation.py @@ -43,7 +43,7 @@ def finalize_genotyper(call_file, bam_file, ref_file, config): """ vrn_files = configured_vrn_files(config, ref_file) va...
Post annotate GATK Haplotype caller results to include dbSNP and other annotations not directly added during calling
py
diff --git a/pandas/tests/test_algos.py b/pandas/tests/test_algos.py index <HASH>..<HASH> 100644 --- a/pandas/tests/test_algos.py +++ b/pandas/tests/test_algos.py @@ -2,6 +2,7 @@ import numpy as np import pytest +import warnings from numpy.random import RandomState from numpy import nan @@ -127,7 +128,7 @@ clas...
TST: Don't assert that a bug exists in numpy (#<I>) Better to ignore the warning from the bug, rather than assert the bug is still there After this change, numpy/numpy#<I> _could_ be backported to fix the bug
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 @@ -100,6 +100,7 @@ def classical_split_filter(srcs, gsims, params, monitor): with monitor("splitting sources"): ...
Added a print [skip CI]
py
diff --git a/lib/plotpanel.py b/lib/plotpanel.py index <HASH>..<HASH> 100644 --- a/lib/plotpanel.py +++ b/lib/plotpanel.py @@ -3,7 +3,7 @@ wxmplot PlotPanel: a wx.Panel for 2D line plotting, using matplotlib """ import wx -from numpy import nonzero, where +from numpy import nonzero, where, ma import matplotlib fro...
changed masking of data<0 for ylog_scale
py
diff --git a/markus/main.py b/markus/main.py index <HASH>..<HASH> 100644 --- a/markus/main.py +++ b/markus/main.py @@ -493,7 +493,7 @@ class MetricsInterface: return _inner -def get_metrics(thing, extra="", filters=None): +def get_metrics(thing="", extra="", filters=None): """Return MetricsInterface i...
Change get_metrics() so it doesn't require a thing Fixes #<I>
py