diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/bokeh/models/sources.py b/bokeh/models/sources.py index <HASH>..<HASH> 100644 --- a/bokeh/models/sources.py +++ b/bokeh/models/sources.py @@ -254,6 +254,14 @@ class ColumnDataSource(DataSource): if len(lengths) > 1: return str(self) + +class GeoJSONDataSource(DataSource): + geojs...
Add a basic GeoJSONDataSource Note there will be a follow-on PR that implements a GeoJSON spec to do GeoJSON validation server side.
py
diff --git a/pysat/tests/classes/cls_instrument_access.py b/pysat/tests/classes/cls_instrument_access.py index <HASH>..<HASH> 100644 --- a/pysat/tests/classes/cls_instrument_access.py +++ b/pysat/tests/classes/cls_instrument_access.py @@ -8,6 +8,7 @@ Includes: * concat * empty data flags * variable renaming +* gener...
STY: Added note about test.
py
diff --git a/charmhelpers/contrib/openstack/context.py b/charmhelpers/contrib/openstack/context.py index <HASH>..<HASH> 100644 --- a/charmhelpers/contrib/openstack/context.py +++ b/charmhelpers/contrib/openstack/context.py @@ -267,7 +267,7 @@ class AMQPContext(OSContextGenerator): ctxt['rabbitmq_ho...
[Hui Xiang] Allow rabbitmq-server client to get its ipv6 address.
py
diff --git a/spyder/utils/ipython/start_kernel.py b/spyder/utils/ipython/start_kernel.py index <HASH>..<HASH> 100644 --- a/spyder/utils/ipython/start_kernel.py +++ b/spyder/utils/ipython/start_kernel.py @@ -64,6 +64,8 @@ def kernel_config(): # Until we implement Issue 1052 spy_cfg.InteractiveShell.xmode = 'P...
IPython kernel: Deactivate Jedi completions because sometimes they block the console
py
diff --git a/motor/core.py b/motor/core.py index <HASH>..<HASH> 100644 --- a/motor/core.py +++ b/motor/core.py @@ -1504,11 +1504,11 @@ cursor has any effect. >>> @gen.coroutine ... def one_thousandth_item(): ... cursor = collection.find().sort([('i', 1)])[1000] - ... yi...
Fix doctest: fetch_next can return 0 or None.
py
diff --git a/feedfinder2.py b/feedfinder2.py index <HASH>..<HASH> 100644 --- a/feedfinder2.py +++ b/feedfinder2.py @@ -132,7 +132,8 @@ def url_feed_prob(url): return -1 kw = ["atom", "rss", "rdf", ".xml", "feed"] for p, t in zip(range(len(kw), 0, -1), kw): - return p + if t in url: + ...
fix a bug where the url was not used when deciding the probability of the url being a feed
py
diff --git a/git_archive_all.py b/git_archive_all.py index <HASH>..<HASH> 100755 --- a/git_archive_all.py +++ b/git_archive_all.py @@ -210,15 +210,11 @@ class GitArchiver(object): """ repo_abspath = path.join(self.main_repo_abspath, repo_path) repo_file_paths = self.run_git_shell( - ...
Use the -z option to avoid extra quotes in git's output.
py
diff --git a/pyt/vulnerability_log.py b/pyt/vulnerability_log.py index <HASH>..<HASH> 100644 --- a/pyt/vulnerability_log.py +++ b/pyt/vulnerability_log.py @@ -18,7 +18,11 @@ class VulnerabilityLog(object): def print_report(self): """Print list of vulnerabilities.""" - print('%s vulnerabilitie(s) ...
Pretty printing for vulnmerabilities take into account that there can be one vulnerability and multiple vulnerabilities
py
diff --git a/python/src/cm_api/endpoints/parcels.py b/python/src/cm_api/endpoints/parcels.py index <HASH>..<HASH> 100644 --- a/python/src/cm_api/endpoints/parcels.py +++ b/python/src/cm_api/endpoints/parcels.py @@ -55,6 +55,8 @@ class ApiParcelState(BaseApiObject): 'totalProgress' : ROAttr(), 'count' ...
Add missing attributes to ApiParcelState
py
diff --git a/yubico/yubico.py b/yubico/yubico.py index <HASH>..<HASH> 100644 --- a/yubico/yubico.py +++ b/yubico/yubico.py @@ -353,9 +353,6 @@ class URLThread(threading.Thread): self.request = None self.response = None - if int(sys.version[0]) == 2 and int(sys.version[2]) <= 5: - s...
Remove noe uneccesary Python <= <I> check.
py
diff --git a/queued_storage/tests/__init__.py b/queued_storage/tests/__init__.py index <HASH>..<HASH> 100644 --- a/queued_storage/tests/__init__.py +++ b/queued_storage/tests/__init__.py @@ -1,4 +0,0 @@ -from django.conf import settings - -if 'queued_storage.tests' in settings.INSTALLED_APPS: - from .tests import St...
Removed importing the StorageTests in the tests module.
py
diff --git a/phoebe/backend/universe.py b/phoebe/backend/universe.py index <HASH>..<HASH> 100644 --- a/phoebe/backend/universe.py +++ b/phoebe/backend/universe.py @@ -1527,7 +1527,9 @@ class Star(Body): def is_misaligned(self): """ """ - return self.eincl != self.incl_orbit or self.elongan...
fix check for is_misaligned so that star is re-meshed using volume conservation if misaligned
py
diff --git a/symengine/tests/test_lambdify.py b/symengine/tests/test_lambdify.py index <HASH>..<HASH> 100644 --- a/symengine/tests/test_lambdify.py +++ b/symengine/tests/test_lambdify.py @@ -493,9 +493,9 @@ def test_more_than_255_args(): input_arr = np.arange(q, q + n*n).reshape((n, n)) out = callback(input_a...
Avoid overflow in windows in test np.arange creates a numpy array with long int elements which is <I> bit on windows.
py
diff --git a/tests/test_grouping.py b/tests/test_grouping.py index <HASH>..<HASH> 100644 --- a/tests/test_grouping.py +++ b/tests/test_grouping.py @@ -146,7 +146,7 @@ class TestGrouping(TestCaseBase): s = 'select x from (select y from foo where bar = 1) z' p = sqlparse.parse(s)[0] self.ndiffA...
Fix test Previously, in this test, "(select y from foo where bar = 1) z" was parsed as <Parens><Whitespace><Name z>. It is now parsing as <Identifier alias z>, so change the nested token indexing to match
py
diff --git a/sportsreference/nba/schedule.py b/sportsreference/nba/schedule.py index <HASH>..<HASH> 100644 --- a/sportsreference/nba/schedule.py +++ b/sportsreference/nba/schedule.py @@ -398,7 +398,7 @@ class Schedule(object): doc = pq(SCHEDULE_URL % (abbreviation, year)) schedule = utils._get_stats_t...
Fix issue pulling NBA playoff games Iterating through an NBA team's schedule right before the playoffs begin can throw an error for participating teams as basketball-reference.com uses a link similar to one being used to identify playoff games in sportsreference. By directly checking for the ID tag used in the playoff...
py
diff --git a/model_utils/managers.py b/model_utils/managers.py index <HASH>..<HASH> 100644 --- a/model_utils/managers.py +++ b/model_utils/managers.py @@ -282,8 +282,8 @@ class PassThroughManager(PassThroughManagerMixin, models.Manager): def create_pass_through_manager_for_queryset_class(base, queryset_cls): cl...
Allow PassThroughManager subclasses to accept additional params.
py
diff --git a/trustar/models/indicator.py b/trustar/models/indicator.py index <HASH>..<HASH> 100644 --- a/trustar/models/indicator.py +++ b/trustar/models/indicator.py @@ -71,6 +71,9 @@ class Indicator(ModelBase): :param indicator: The dictionary. :return: The indicator object. """ + ta...
Corrected nested object getter for tags
py
diff --git a/tensor2tensor/layers/common_layers.py b/tensor2tensor/layers/common_layers.py index <HASH>..<HASH> 100644 --- a/tensor2tensor/layers/common_layers.py +++ b/tensor2tensor/layers/common_layers.py @@ -37,15 +37,9 @@ from tensorflow.python.ops import control_flow_util from tensorflow.python.ops import inplace...
Removing layers cache to avoid issues with TF2 check on initialization. PiperOrigin-RevId: <I>
py
diff --git a/src/ansiblelint/rules/command_instead_of_module.py b/src/ansiblelint/rules/command_instead_of_module.py index <HASH>..<HASH> 100644 --- a/src/ansiblelint/rules/command_instead_of_module.py +++ b/src/ansiblelint/rules/command_instead_of_module.py @@ -70,7 +70,7 @@ class CommandsInsteadOfModulesRule(AnsibleL...
chore: allow `systemctl --version` to be used (#<I>) If a user wants to get the version of systemd, allow this without raising a `command-instead-of-module` error. The `ansible.builtin.systemd` module does not have support for getting the version.
py
diff --git a/pyxif/__init__.py b/pyxif/__init__.py index <HASH>..<HASH> 100644 --- a/pyxif/__init__.py +++ b/pyxif/__init__.py @@ -8,4 +8,4 @@ except ImportError: print("'thumbnail' function depends on PIL or Pillow.") -VERSION = '0.4.6' \ No newline at end of file +VERSION = '0.4.7' \ No newline at end of fil...
up version to <I>.
py
diff --git a/PyPump.py b/PyPump.py index <HASH>..<HASH> 100644 --- a/PyPump.py +++ b/PyPump.py @@ -102,6 +102,31 @@ class PyPump(object): return self.feed(post) + def unfollow(self, nickname): + """ This will use the api/user/<nickname>/feed endpoint to make a unfollow activity + This will...
Add unfollowing - yet to be tested
py
diff --git a/bids/grabbids/bids_layout.py b/bids/grabbids/bids_layout.py index <HASH>..<HASH> 100644 --- a/bids/grabbids/bids_layout.py +++ b/bids/grabbids/bids_layout.py @@ -17,7 +17,7 @@ class BIDSLayout(Layout): def __init__(self, path, config=None, validate=False, **kwargs): self.validator = BIDSValid...
made self.project_path as absolute path
py
diff --git a/spyder/plugins/editor/widgets/codeeditor.py b/spyder/plugins/editor/widgets/codeeditor.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/editor/widgets/codeeditor.py +++ b/spyder/plugins/editor/widgets/codeeditor.py @@ -2854,7 +2854,6 @@ class CodeEditor(TextEditBaseWidget): cursor.movePosit...
Editor: Remove unneeded call to document_did_change when removing prefix
py
diff --git a/pyinstrument/magic/magic.py b/pyinstrument/magic/magic.py index <HASH>..<HASH> 100644 --- a/pyinstrument/magic/magic.py +++ b/pyinstrument/magic/magic.py @@ -48,7 +48,7 @@ class PyinstrumentMagic(Magics): @argument( "--height", "-h", - default=600, + default=400, ...
Add resize handle to iframe
py
diff --git a/gnupg.py b/gnupg.py index <HASH>..<HASH> 100644 --- a/gnupg.py +++ b/gnupg.py @@ -554,6 +554,8 @@ def _is_file(input): assert os.lstat(input).st_size > 0, "not a file" except AssertionError as ae: raise ProtectedOption(ae.message) + except TypeError: + return False def _...
Fix problem in function _is_file() to except TypeError if given None as input.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -61,7 +61,7 @@ install_requires = [ 'easy_thumbnails', 'django-import-export', 'django-finegrained-permissions', - 'django-constance[database]>=0.7', + 'django-constance>=0.7', 'pillow', ]
fix constance install_requires
py
diff --git a/telethon/tl/custom/inlinebuilder.py b/telethon/tl/custom/inlinebuilder.py index <HASH>..<HASH> 100644 --- a/telethon/tl/custom/inlinebuilder.py +++ b/telethon/tl/custom/inlinebuilder.py @@ -204,7 +204,7 @@ class InlineBuilder: if voice_note: type = 'voice' else: -...
Fix sending of documents in inline results
py
diff --git a/collatex-pythonport/collatex/near_matching.py b/collatex-pythonport/collatex/near_matching.py index <HASH>..<HASH> 100644 --- a/collatex-pythonport/collatex/near_matching.py +++ b/collatex-pythonport/collatex/near_matching.py @@ -5,10 +5,14 @@ from Levenshtein import distance class Task(object): - ...
More steps toward a computation pipeline.
py
diff --git a/python/vaex/ui/main.py b/python/vaex/ui/main.py index <HASH>..<HASH> 100644 --- a/python/vaex/ui/main.py +++ b/python/vaex/ui/main.py @@ -891,7 +891,8 @@ class VaexApp(QtGui.QMainWindow): def __init__(self, argv=[], open_default=False, enable_samp=None): super(VaexApp, self).__init__() - self.enabl...
only use samp for py2 atm
py
diff --git a/test/test_provenance.py b/test/test_provenance.py index <HASH>..<HASH> 100644 --- a/test/test_provenance.py +++ b/test/test_provenance.py @@ -17,6 +17,7 @@ from __future__ import print_function from nose.tools import eq_, ok_ import pandas as pd from os import path +import cohorts import warnings fr...
added better provenance_summary tests
py
diff --git a/rest_framework_simplejwt/serializers.py b/rest_framework_simplejwt/serializers.py index <HASH>..<HASH> 100644 --- a/rest_framework_simplejwt/serializers.py +++ b/rest_framework_simplejwt/serializers.py @@ -8,9 +8,7 @@ from rest_framework import serializers from .exceptions import TokenError from .setting...
Should use refresh token to make access token
py
diff --git a/vertex/ptcp.py b/vertex/ptcp.py index <HASH>..<HASH> 100644 --- a/vertex/ptcp.py +++ b/vertex/ptcp.py @@ -787,28 +787,6 @@ class PTCPConnection(object): self._closeWaitLoseConnection = reactor.callLater(0.01, appCloseNow) - def immediateShutdown(self): - """_IMMEDIATELY_ shut down th...
just release resources on shutdown aside from the last-gasp FIN packet - which is both wrong, it should be an RST, and not working - this is just the same as releaseConnectionResources so let's just call releaseConnectionResources since that actually works.
py
diff --git a/airflow/contrib/operators/bigquery_check_operator.py b/airflow/contrib/operators/bigquery_check_operator.py index <HASH>..<HASH> 100644 --- a/airflow/contrib/operators/bigquery_check_operator.py +++ b/airflow/contrib/operators/bigquery_check_operator.py @@ -19,7 +19,7 @@ from airflow.utils.decorators impor...
[AIRFLOW-<I>] Fix typo in BigQueryCheckOperator Closes #<I> from mrkm4ntr/airflow-<I>
py
diff --git a/src/infi/docopt_completion/common.py b/src/infi/docopt_completion/common.py index <HASH>..<HASH> 100644 --- a/src/infi/docopt_completion/common.py +++ b/src/infi/docopt_completion/common.py @@ -48,7 +48,7 @@ def get_usage(cmd): usage += nextline if cmd_process.returncode != 0: msg = ...
The `returncode` variable doesn't exist
py
diff --git a/tortoise/__init__.py b/tortoise/__init__.py index <HASH>..<HASH> 100644 --- a/tortoise/__init__.py +++ b/tortoise/__init__.py @@ -127,4 +127,4 @@ class Tortoise: cls._inited = True -__version__ = "0.8.2" +__version__ = "0.9.0"
Bumped version to <I>
py
diff --git a/trezorlib/tests/device_tests/test_msg_signtx_decred.py b/trezorlib/tests/device_tests/test_msg_signtx_decred.py index <HASH>..<HASH> 100644 --- a/trezorlib/tests/device_tests/test_msg_signtx_decred.py +++ b/trezorlib/tests/device_tests/test_msg_signtx_decred.py @@ -31,6 +31,7 @@ TXHASH_3f7c39 = unhexlify("...
device_tests: mark decred
py
diff --git a/sgqlc/types/__init__.py b/sgqlc/types/__init__.py index <HASH>..<HASH> 100644 --- a/sgqlc/types/__init__.py +++ b/sgqlc/types/__init__.py @@ -1779,7 +1779,7 @@ class BaseItem: if not self.graphql_name: self.graphql_name = self._to_graphql_name(name) - @property + @property # ...
sgqlc/types: add noqa for type property newer flake8 complains about that
py
diff --git a/rest_framework_nested/routers.py b/rest_framework_nested/routers.py index <HASH>..<HASH> 100644 --- a/rest_framework_nested/routers.py +++ b/rest_framework_nested/routers.py @@ -43,7 +43,7 @@ class NestedSimpleRouter(SimpleRouter): """ Create a NestedSimpleRouter nested within `parent_router` ...
fix typo in NestedSimpleRouted docstring
py
diff --git a/salt/beacons/ps.py b/salt/beacons/ps.py index <HASH>..<HASH> 100644 --- a/salt/beacons/ps.py +++ b/salt/beacons/ps.py @@ -1,17 +1,8 @@ -# -*- coding: utf-8 -*- """ Send events covering process status """ - -# Import Python Libs -from __future__ import absolute_import, unicode_literals - import logging ...
Drop Py2 and six on salt/beacons/ps.py
py
diff --git a/py/selenium/webdriver/remote/webdriver.py b/py/selenium/webdriver/remote/webdriver.py index <HASH>..<HASH> 100644 --- a/py/selenium/webdriver/remote/webdriver.py +++ b/py/selenium/webdriver/remote/webdriver.py @@ -112,7 +112,7 @@ class WebDriver(object): _web_element_cls = WebElement - def __in...
[py] Changing default command executor address to the address of TNG Grid
py
diff --git a/pywavefront/texture.py b/pywavefront/texture.py index <HASH>..<HASH> 100644 --- a/pywavefront/texture.py +++ b/pywavefront/texture.py @@ -38,7 +38,7 @@ from pyglet.gl import * class Texture(object): def __init__(self, path): self.image_name = path - self.image = pyglet.resource.image(...
Changed pyglet command for texture loading
py
diff --git a/openpnm/algorithms/ReactiveTransport.py b/openpnm/algorithms/ReactiveTransport.py index <HASH>..<HASH> 100644 --- a/openpnm/algorithms/ReactiveTransport.py +++ b/openpnm/algorithms/ReactiveTransport.py @@ -236,7 +236,7 @@ class ReactiveTransport(GenericTransport): # Put quantity on phase so physic...
Update ReactiveTransport: iterative_props are now retrieved via find_iterative_props rather than stored in settings dict
py
diff --git a/a10_neutron_lbaas/neutron_ext/services/a10_certificate/plugin.py b/a10_neutron_lbaas/neutron_ext/services/a10_certificate/plugin.py index <HASH>..<HASH> 100644 --- a/a10_neutron_lbaas/neutron_ext/services/a10_certificate/plugin.py +++ b/a10_neutron_lbaas/neutron_ext/services/a10_certificate/plugin.py @@ -9...
try listener update after binding delete and pass if already deleted
py
diff --git a/quickbooks/objects/invoice.py b/quickbooks/objects/invoice.py index <HASH>..<HASH> 100644 --- a/quickbooks/objects/invoice.py +++ b/quickbooks/objects/invoice.py @@ -60,7 +60,7 @@ class Invoice(QuickbooksManagedObject, QuickbooksTransactionEntity, LinkedTxnMix self.ExchangeRate = 1 self.G...
Fixed EInvoiceStatus.
py
diff --git a/pysnmp/hlapi/asyncore/cmdgen.py b/pysnmp/hlapi/asyncore/cmdgen.py index <HASH>..<HASH> 100644 --- a/pysnmp/hlapi/asyncore/cmdgen.py +++ b/pysnmp/hlapi/asyncore/cmdgen.py @@ -136,12 +136,13 @@ class AsynCommandGenerator: self.__knownAuths[authData] = 1 if not self.__knownTransports.h...
explicitly destroy transport on CommanGenerator unconfiguration to prevent socket leak
py
diff --git a/tests/providers/elasticsearch/log/elasticmock/fake_elasticsearch.py b/tests/providers/elasticsearch/log/elasticmock/fake_elasticsearch.py index <HASH>..<HASH> 100644 --- a/tests/providers/elasticsearch/log/elasticmock/fake_elasticsearch.py +++ b/tests/providers/elasticsearch/log/elasticmock/fake_elasticsea...
Fix pylint error in tests/ (#<I>) I'm not sure why this changed/started failing, as we haven't touched this part of the file recently.
py
diff --git a/src/python/pants/testutil/rule_runner.py b/src/python/pants/testutil/rule_runner.py index <HASH>..<HASH> 100644 --- a/src/python/pants/testutil/rule_runner.py +++ b/src/python/pants/testutil/rule_runner.py @@ -106,7 +106,7 @@ class RuleRunner: print(f"Preserving rule runner temporary directori...
Fix RuleRunner to use --process-execution-local-cleanup. (#<I>) This was made the preferred option name in #<I>.
py
diff --git a/salt/cloud/clouds/softlayer.py b/salt/cloud/clouds/softlayer.py index <HASH>..<HASH> 100644 --- a/salt/cloud/clouds/softlayer.py +++ b/salt/cloud/clouds/softlayer.py @@ -275,10 +275,14 @@ def create(vm_): 'domain': vm_['domain'], 'startCpus': vm_['cpu_number'], 'maxMemory': vm_['...
Don't stacktrace if local_disk isn't set
py
diff --git a/djangular/forms/angular_base.py b/djangular/forms/angular_base.py index <HASH>..<HASH> 100644 --- a/djangular/forms/angular_base.py +++ b/djangular/forms/angular_base.py @@ -110,7 +110,8 @@ class NgBoundField(forms.BoundField): css_classes = getattr(self.field, 'label_css_classes', None) ...
Change label_suffix handling for compatibility with django <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -19,9 +19,8 @@ else: version = version_parts[0] elif len(version_parts) > 1: version = '-'.join(version_parts[:2]) - if environ.get('CI') != 'true': # no local version for CI - if version_parts...
doh. .dev is actually a public version cmoponent
py
diff --git a/icekit/project/urls.py b/icekit/project/urls.py index <HASH>..<HASH> 100644 --- a/icekit/project/urls.py +++ b/icekit/project/urls.py @@ -40,6 +40,7 @@ urlpatterns = patterns( url(r'^api/pages/', include('icekit.pages_api.urls')), url(r'^forms/', include('forms_builder.forms.urls')), url(r'^...
Expose ICEKit Events at /events/ using default primitive views See ICEKit ticket #<I> in Assembla
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ else: setup_requires = [] tests_require = [ - 'Django>=1.2,<1.4', + 'Django>=1.2,<1.5', 'mock', 'nose', 'pep8',
Support Django <I>
py
diff --git a/picuplib/upload.py b/picuplib/upload.py index <HASH>..<HASH> 100644 --- a/picuplib/upload.py +++ b/picuplib/upload.py @@ -54,16 +54,16 @@ class Upload(object): :ivar function callback: """ - # pylint: disable=too-many-arguments + # pylint: disable=too-many-arguments,attribute-defined-outs...
fix check sitestep bug in Upload class
py
diff --git a/kerncraft/models/roofline.py b/kerncraft/models/roofline.py index <HASH>..<HASH> 100755 --- a/kerncraft/models/roofline.py +++ b/kerncraft/models/roofline.py @@ -82,8 +82,10 @@ class Roofline(object): # We compile CPU-L1 stats on our own, because cacheprediction only works on cache lines ...
FIX #<I> ignoring None's in write and read offsets
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 @@ -494,7 +494,7 @@ class TestWebServer: assert content == restored_data def test_get_encrypted_archived_file(self, pghoard): - xlog_seg = "0000000100...
tests: Fix webserver unittest failure by using a different WAL segment The test_handle_site in test_basebackup created the same WAL file and if it was run before test_get_encrypted_archived_file the test would fail since it would return the pre-existing data. The reason the data passes the webserver code's prefetch c...
py
diff --git a/test/test_compose.py b/test/test_compose.py index <HASH>..<HASH> 100644 --- a/test/test_compose.py +++ b/test/test_compose.py @@ -1,5 +1,5 @@ import unittest -from pydux import compose +from pydux.compose import compose class TestComposeMethod(unittest.TestCase):
Adapt compose test to pydux export style
py
diff --git a/gwpy/timeseries/tests/test_io_gwf_lalframe.py b/gwpy/timeseries/tests/test_io_gwf_lalframe.py index <HASH>..<HASH> 100644 --- a/gwpy/timeseries/tests/test_io_gwf_lalframe.py +++ b/gwpy/timeseries/tests/test_io_gwf_lalframe.py @@ -61,9 +61,7 @@ def _test_open_data_source(source): """ stream = gwpy...
gwpy.timeseries: use samefile to compare paths which unwraps symlinks properly, closes #<I>
py
diff --git a/openquake/calculators/hazard/disagg/core.py b/openquake/calculators/hazard/disagg/core.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/hazard/disagg/core.py +++ b/openquake/calculators/hazard/disagg/core.py @@ -220,8 +220,8 @@ class DisaggHazardCalculator(Calculator): For example: ...
fixed a brittle doctest
py
diff --git a/vasppy/procar.py b/vasppy/procar.py index <HASH>..<HASH> 100644 --- a/vasppy/procar.py +++ b/vasppy/procar.py @@ -10,8 +10,8 @@ def get_numbers_from_string( string ): return( [ float( s ) for s in p.findall( string ) ] ) def k_point_parser( string ): - regex = re.compile( 'k-point\s+\d+\s*:\s+([...
Updated procar.py to pass k-point parsing tests, including negative k-points (github issue #3)
py
diff --git a/postgres/datadog_checks/postgres/statement_samples.py b/postgres/datadog_checks/postgres/statement_samples.py index <HASH>..<HASH> 100644 --- a/postgres/datadog_checks/postgres/statement_samples.py +++ b/postgres/datadog_checks/postgres/statement_samples.py @@ -374,7 +374,7 @@ class PostgresStatementSample...
log execution plan collection failure at debug level (#<I>) Execution plans collection is expected to fail in many cases, like if a client is using the extended query protocol meaning we won't get the original parameters from `pg_stat_activity`. To avoid spamming the logs, update this message to be logged only at the ...
py
diff --git a/plex_metadata/__init__.py b/plex_metadata/__init__.py index <HASH>..<HASH> 100644 --- a/plex_metadata/__init__.py +++ b/plex_metadata/__init__.py @@ -2,7 +2,7 @@ import logging log = logging.getLogger(__name__) -__version__ = '0.6.1' +__version__ = '0.7.0' try:
Bumped version to <I>
py
diff --git a/telluric/georaster.py b/telluric/georaster.py index <HASH>..<HASH> 100644 --- a/telluric/georaster.py +++ b/telluric/georaster.py @@ -1218,7 +1218,7 @@ class GeoRaster2(WindowMethodsMixin, _Raster): # The image is a special case because we don't want to make a copy of a possibly big array ...
when doing a copy with image not loaded still don't load
py
diff --git a/usr/share/lib/img_proof/tests/SLES/test_sles_multipath_off.py b/usr/share/lib/img_proof/tests/SLES/test_sles_multipath_off.py index <HASH>..<HASH> 100644 --- a/usr/share/lib/img_proof/tests/SLES/test_sles_multipath_off.py +++ b/usr/share/lib/img_proof/tests/SLES/test_sles_multipath_off.py @@ -1,3 +1,4 @@ ...
Split kernel command line args before compare. This removes descrepencies in white space due to placement of multipath arg.
py
diff --git a/java-errorreporting/synth.py b/java-errorreporting/synth.py index <HASH>..<HASH> 100644 --- a/java-errorreporting/synth.py +++ b/java-errorreporting/synth.py @@ -18,6 +18,8 @@ import synthtool as s import synthtool.gcp as gcp import synthtool.languages.java as java +AUTOSYNTH_MULTIPLE_COMMITS = True + ...
chore: enable context aware commits (#<I>)
py
diff --git a/pre_commit/main.py b/pre_commit/main.py index <HASH>..<HASH> 100644 --- a/pre_commit/main.py +++ b/pre_commit/main.py @@ -22,6 +22,9 @@ from pre_commit.runner import Runner # to install packages to the wrong place. We don't want anything to deal with # pyvenv os.environ.pop('__PYVENV_LAUNCHER__', None)...
Fix issue #<I> by removing GIT_WORK_TREE env variable
py
diff --git a/jwcrypto/jwt.py b/jwcrypto/jwt.py index <HASH>..<HASH> 100644 --- a/jwcrypto/jwt.py +++ b/jwcrypto/jwt.py @@ -564,3 +564,18 @@ class JWT: compact representation. """ return self.token.serialize(compact) + + @classmethod + def from_jose_token(cls, token): + """Creates...
Add class method to deserialize JWT token One shot api to get a JWT token from a serialized json token
py
diff --git a/tests/basics/memoryview2.py b/tests/basics/memoryview2.py index <HASH>..<HASH> 100644 --- a/tests/basics/memoryview2.py +++ b/tests/basics/memoryview2.py @@ -7,5 +7,7 @@ print(list(memoryview(array('b', [0x7f, -0x80])))) print(list(memoryview(array('B', [0x7f, 0x80, 0x81, 0xff])))) print(list(memoryview(...
tests: Disable memoryview tests that overflow int conversion. They fail on builds with <I>-bit word size.
py
diff --git a/crossplane/__init__.py b/crossplane/__init__.py index <HASH>..<HASH> 100644 --- a/crossplane/__init__.py +++ b/crossplane/__init__.py @@ -11,7 +11,7 @@ __title__ = 'crossplane' __summary__ = 'Reliable and fast NGINX configuration file parser.' __url__ = 'https://github.com/nginxinc/crossplane' -__versi...
Increased version to <I>
py
diff --git a/tests/test_output_percentage.py b/tests/test_output_percentage.py index <HASH>..<HASH> 100644 --- a/tests/test_output_percentage.py +++ b/tests/test_output_percentage.py @@ -1,4 +1,4 @@ -# pylint:disable=line-too-long +# pylint:disable=line-too-long,invalid-name,import-error """ The tool to check the ava...
Fix linting issue under OSx
py
diff --git a/src/pybel_tools/api.py b/src/pybel_tools/api.py index <HASH>..<HASH> 100644 --- a/src/pybel_tools/api.py +++ b/src/pybel_tools/api.py @@ -281,9 +281,12 @@ class DatabaseService(QueryService): #: dictionary of {int id: BELGraph graph} self.networks = {} - #: dictionary of {int id:...
closes #<I> and #<I> added hash_to_node_cache reverse dict
py
diff --git a/telemetry/telemetry/core/browser.py b/telemetry/telemetry/core/browser.py index <HASH>..<HASH> 100644 --- a/telemetry/telemetry/core/browser.py +++ b/telemetry/telemetry/core/browser.py @@ -93,8 +93,14 @@ class Browser(object): child_process_count = 0 for child_pid in self._platform_backend.GetCh...
[Telemetry] Wrap process type detection in try/catch BUG=<I> NOTRY=True Review URL: <URL>
py
diff --git a/testing/acceptance_test.py b/testing/acceptance_test.py index <HASH>..<HASH> 100644 --- a/testing/acceptance_test.py +++ b/testing/acceptance_test.py @@ -403,12 +403,9 @@ class TestInvocationVariants: result.stdout.fnmatch_lines([ "*1 passed*" ]) - result = testdir.run...
proper tests for issue<I>, thanks Arfrever
py
diff --git a/mongoctl/commands/server/stop.py b/mongoctl/commands/server/stop.py index <HASH>..<HASH> 100644 --- a/mongoctl/commands/server/stop.py +++ b/mongoctl/commands/server/stop.py @@ -17,7 +17,7 @@ from mongoctl.prompt import prompt_execute_task # Constants #####################################################...
bump up shutdown wait time to <I> secs
py
diff --git a/pianoroll/track.py b/pianoroll/track.py index <HASH>..<HASH> 100644 --- a/pianoroll/track.py +++ b/pianoroll/track.py @@ -153,12 +153,15 @@ class Track(object): ------- binarized : A binarized copy of the piano-roll + lowest : int + Indicate the lowest pitch...
Add lowest pitch to the returns of get_pianoroll()
py
diff --git a/salt/fileclient.py b/salt/fileclient.py index <HASH>..<HASH> 100644 --- a/salt/fileclient.py +++ b/salt/fileclient.py @@ -20,7 +20,6 @@ from salt.exceptions import ( CommandExecutionError, MinionError ) import salt.client -import salt.crypt import salt.loader import salt.payload import salt.trans...
Remove unused salt.crypt import This causes pepper to fail on windows because of missing libcrypto. See also #<I> for similar salt.crypt removals
py
diff --git a/desdeo/optimization/OptimizationMethod.py b/desdeo/optimization/OptimizationMethod.py index <HASH>..<HASH> 100755 --- a/desdeo/optimization/OptimizationMethod.py +++ b/desdeo/optimization/OptimizationMethod.py @@ -87,6 +87,7 @@ class OptimalSearch(OptimizationMethod): class SciPy(OptimalSearch): ""...
Add docstrings to SciPy and SciPyDE
py
diff --git a/tests/test_potential.py b/tests/test_potential.py index <HASH>..<HASH> 100644 --- a/tests/test_potential.py +++ b/tests/test_potential.py @@ -2628,8 +2628,7 @@ class DehnenSmoothDehnenBarPotential(DehnenSmoothWrapperPotential): def __init__(self): dpn= DehnenBarPotential(tform=-100.,tsteady=1...
Slightly change test DehnenSmooth potential to test default setting
py
diff --git a/ella/api/serialization.py b/ella/api/serialization.py index <HASH>..<HASH> 100644 --- a/ella/api/serialization.py +++ b/ella/api/serialization.py @@ -2,6 +2,7 @@ import logging from django.http import HttpResponse + __all__ = ['response_serializer', 'object_serializer', 'FULL', 'PARTIAL'] log = lo...
fix pep8 api serialize: E<I> expected 2 blank lines, found 1
py
diff --git a/geojson/utils.py b/geojson/utils.py index <HASH>..<HASH> 100644 --- a/geojson/utils.py +++ b/geojson/utils.py @@ -27,15 +27,16 @@ def coords(obj): def map_coords(func, obj): """ - Returns the coordinates from a Geometry after applying the provided - function to the tuples. + Returns the ma...
Clarified map_coords It's unclear to me that the map_coords function only results in applying a function to the individual dimensions of the tuple. This works well for basic scalling, but if you scale arbitrarily, you lose a lot of the 'geo' part of json, which is the geometric center issue. I've also added a worked ...
py
diff --git a/angr/analyses/cfg_fast.py b/angr/analyses/cfg_fast.py index <HASH>..<HASH> 100644 --- a/angr/analyses/cfg_fast.py +++ b/angr/analyses/cfg_fast.py @@ -649,7 +649,7 @@ class CFGFast(ForwardAnalysis, CFGBase): # pylint: disable=abstract-method self._insn_addr_to_memory_data = { } self._...
CFGFast: Fix the issue of infinite looping when a memory address to decode is not within any executable section.
py
diff --git a/solr_bebop/model.py b/solr_bebop/model.py index <HASH>..<HASH> 100644 --- a/solr_bebop/model.py +++ b/solr_bebop/model.py @@ -35,6 +35,9 @@ class Field(schema.SolrSchemaField): def __le__(self, other): return LuceneQuery(self, '[* TO ', other, ']') + def __ne__(self, other): + ret...
[query] Adding a not-equal comparator to models
py
diff --git a/pyjams/util.py b/pyjams/util.py index <HASH>..<HASH> 100644 --- a/pyjams/util.py +++ b/pyjams/util.py @@ -98,11 +98,11 @@ def find_with_extension(in_dir, ext, depth=3): Collection of matching file paths. """ assert depth >= 1 - ext = ext.strip('.') + ext = ext.strip(os.extsep) ...
normalized path separators in find_with_extension
py
diff --git a/cheroot/test/test_ssl.py b/cheroot/test/test_ssl.py index <HASH>..<HASH> 100644 --- a/cheroot/test/test_ssl.py +++ b/cheroot/test/test_ssl.py @@ -319,6 +319,8 @@ def test_tls_client_auth( ) if PY34 else ( requests.exceptions.SSLError, ) + if six.PY3 and IS_WINDOWS: + ...
Expect ConnectionError in test_ssl under Windows
py
diff --git a/latools/latools.py b/latools/latools.py index <HASH>..<HASH> 100644 --- a/latools/latools.py +++ b/latools/latools.py @@ -1256,7 +1256,7 @@ class analyse(object): srmdat.loc[ind, 'element'] = str(e) # convert to table in same format as stdtab - self.sr...
undid some cleanup of srmdat - better to keep full info
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,6 +8,8 @@ from distutils.errors import DistutilsExecError from distutils.msvccompiler import MSVCCompiler from setuptools import setup, find_packages, Extension, Distribution from setuptools.command.build_ext import buil...
Added `--sources` flag to setup CMD clean If the flag is supplied, the Cython sources will be cleaned ('src' directory will be removed). Defaults to off since we normally want to keep them.
py
diff --git a/src/Exscriptd/Order.py b/src/Exscriptd/Order.py index <HASH>..<HASH> 100644 --- a/src/Exscriptd/Order.py +++ b/src/Exscriptd/Order.py @@ -58,9 +58,14 @@ class Order(DBObject): @return: A new instance of an order. """ # Parse required attributes. - order = Order(orde...
exscriptd: fix: include order timestamp in the order xml.
py
diff --git a/scapy/volatile.py b/scapy/volatile.py index <HASH>..<HASH> 100644 --- a/scapy/volatile.py +++ b/scapy/volatile.py @@ -66,6 +66,13 @@ class VolatileValue: def __getattr__(self, attr): if attr == "__setstate__": raise AttributeError(attr) + elif attr == "__cmp__": + ...
Added working trans-type comparison for volatile values
py
diff --git a/cumulusci/core/config.py b/cumulusci/core/config.py index <HASH>..<HASH> 100644 --- a/cumulusci/core/config.py +++ b/cumulusci/core/config.py @@ -370,7 +370,7 @@ class ScratchOrgConfig(OrgConfig): def scratch_info(self): if hasattr(self, '_scratch_info'): return self._scratch_inf...
Fix bug where scratch org was not being created the first time
py
diff --git a/test/test_target.py b/test/test_target.py index <HASH>..<HASH> 100644 --- a/test/test_target.py +++ b/test/test_target.py @@ -750,6 +750,8 @@ def test_named_path(): ) +@pytest.mark.skipif( + sys.platform == 'win32', reason='Graphviz not available under windows') def test_shrink_path(): ex...
Suppress a failed test on windows
py
diff --git a/boatdclient/boatd_client.py b/boatdclient/boatd_client.py index <HASH>..<HASH> 100644 --- a/boatdclient/boatd_client.py +++ b/boatdclient/boatd_client.py @@ -89,15 +89,15 @@ class LegacyBoat(object): def rudder(self, angle): '''Set the angle of the rudder to be `angle` degrees''' + a...
Fix "'dict' object has no attribute 'read'" error in LegacyBoat
py
diff --git a/tenacity/wait.py b/tenacity/wait.py index <HASH>..<HASH> 100644 --- a/tenacity/wait.py +++ b/tenacity/wait.py @@ -155,7 +155,7 @@ class wait_exponential(wait_base): @_compat.wait_dunder_call_accept_old_params def __call__(self, retry_state): try: - exp = self.exp_base ** retry...
Reduce wait_exponential power by 1 so first wait is equal to multiplier
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,5 @@ from setuptools import setup, find_packages -from pip.req import parse_requirements import os -from setuptools import Command import sys import json
refactor: rm useless import
py
diff --git a/tools/exampleparser.py b/tools/exampleparser.py index <HASH>..<HASH> 100755 --- a/tools/exampleparser.py +++ b/tools/exampleparser.py @@ -100,7 +100,7 @@ def createFeed(examples): entry.appendChild(title) link = doc.createElementNS("http://www.w3.org/2005/Atom", "link") - ...
Looks like google doesn't like the relative link with a nested sitemap. git-svn-id: <URL>
py
diff --git a/coursera/coursera_dl.py b/coursera/coursera_dl.py index <HASH>..<HASH> 100755 --- a/coursera/coursera_dl.py +++ b/coursera/coursera_dl.py @@ -166,6 +166,8 @@ def write_cookie_file(className, username, password): except urllib2.HTTPError as e: if e.code == 404: raise ClassNotFound...
Don't forget to raise exceptions when we encounter unexpected situations.
py
diff --git a/pymc/StepMethods.py b/pymc/StepMethods.py index <HASH>..<HASH> 100644 --- a/pymc/StepMethods.py +++ b/pymc/StepMethods.py @@ -789,7 +789,7 @@ class AdaptiveMetropolis(StepMethod): except: ord_sc = [] for s in self.stochastics: - this_value =...
For AM, when a stochastic has value=0 and no covariance matrix or scale information is given, the initial variance for this stochastic is set to 1. git-svn-id: <URL>
py
diff --git a/src/deft/storage/contract.py b/src/deft/storage/contract.py index <HASH>..<HASH> 100644 --- a/src/deft/storage/contract.py +++ b/src/deft/storage/contract.py @@ -74,6 +74,9 @@ class ReadOnlyStorageContract: assert_that(list(self.storage.list("a/zzz*")), equal_to([])) assert_that(list(self...
added test to clarify behaviour of list method when pattern refers to nonexistent directories
py
diff --git a/python-package/lightgbm/dask.py b/python-package/lightgbm/dask.py index <HASH>..<HASH> 100644 --- a/python-package/lightgbm/dask.py +++ b/python-package/lightgbm/dask.py @@ -349,7 +349,7 @@ def _split_to_parts(data: _DaskCollection, is_matrix: bool) -> List[_DaskPart]: return parts -def _machines_...
[python-package] [dask] fix mypy error about worker_addresses (#<I>)
py
diff --git a/src/environ/secrets/__init__.py b/src/environ/secrets/__init__.py index <HASH>..<HASH> 100644 --- a/src/environ/secrets/__init__.py +++ b/src/environ/secrets/__init__.py @@ -33,7 +33,7 @@ from ._utils import _get_default_secret, _open_file try: from environ.secrets.awssm import SecretsManagerSecret...
Fix no cover pragma
py
diff --git a/web3/__init__.py b/web3/__init__.py index <HASH>..<HASH> 100644 --- a/web3/__init__.py +++ b/web3/__init__.py @@ -1,3 +1,5 @@ +from __future__ import absolute_import + import pkg_resources -__version__ = pkg_resources.get_distribution("web3").version +__version__ = pkg_resources.get_distribution("web3.p...
fix fetching of version string from pkg_resources
py
diff --git a/pytestsalt/fixtures/daemons.py b/pytestsalt/fixtures/daemons.py index <HASH>..<HASH> 100644 --- a/pytestsalt/fixtures/daemons.py +++ b/pytestsalt/fixtures/daemons.py @@ -886,3 +886,10 @@ def pytest_runtest_setup(item): after_start_fixture = '{0}_after_start'.format(fixture) if aft...
Add a report header from where the CLI binaries searched for
py