diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/test/testsettings.py b/test/testsettings.py index <HASH>..<HASH> 100644 --- a/test/testsettings.py +++ b/test/testsettings.py @@ -16,6 +16,8 @@ # django settings file +SECRET_KEY = 'not that secret but is now required!~' + DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3...
secret key required by django for running tests
py
diff --git a/pyalacarte/classification.py b/pyalacarte/classification.py index <HASH>..<HASH> 100644 --- a/pyalacarte/classification.py +++ b/pyalacarte/classification.py @@ -5,7 +5,7 @@ from __future__ import division import numpy as np import logging from .optimize import minimize, sgd -from functools import reduc...
made classify more python2 friendly
py
diff --git a/wireless/Wireless.py b/wireless/Wireless.py index <HASH>..<HASH> 100644 --- a/wireless/Wireless.py +++ b/wireless/Wireless.py @@ -66,7 +66,7 @@ class Wireless: def vercmp(self, actual, test): def normalize(v): - return [int(x) for x in re.sub(r'(\.0+)*$','',v).split(".")] + ...
Update Wireless.py flake8 test fix
py
diff --git a/sos/archive.py b/sos/archive.py index <HASH>..<HASH> 100644 --- a/sos/archive.py +++ b/sos/archive.py @@ -204,10 +204,10 @@ class FileCacheArchive(Archive): def is_special(mode): return any([ - stat.ISBLK(mode), - stat.ISCHR(mode), - stat...
[archive] fix stat typo They're just missing the S_ in front of them so if that code gets reached it fails. Fixes: #<I> Resolves: #<I>
py
diff --git a/salt/output/__init__.py b/salt/output/__init__.py index <HASH>..<HASH> 100644 --- a/salt/output/__init__.py +++ b/salt/output/__init__.py @@ -82,10 +82,10 @@ def get_printout(out, opts=None, **kwargs): if 'output' in opts: # new --out option out = opts['output'] - if out == 't...
change incorrect 'text' outputter to 'txt' Fixes #<I>. As to why the messages were going to the cli rather than the log is an issue for someone more wise and wizardly. I nominate @cachedout.
py
diff --git a/infi/execute/result.py b/infi/execute/result.py index <HASH>..<HASH> 100644 --- a/infi/execute/result.py +++ b/infi/execute/result.py @@ -91,12 +91,12 @@ class Result(object): if self._assert_success and returncode is not None and returncode != 0: raise ExecutionError(self) def _...
changed busy loop in Result._read_from_pipe to iterative instead of recursive because there might be a case where it needs to loop for more than Python's stack size.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -154,7 +154,7 @@ if len(sys.argv) == 2: path = module_path + ':' + python_path if python_path else module_path env = os.environ.copy() env['PYTHONPATH'] = path - ret = subprocess.call([sys.exe...
Enable long tests for the CI.
py
diff --git a/openstack_dashboard/dashboards/project/stacks/views.py b/openstack_dashboard/dashboards/project/stacks/views.py index <HASH>..<HASH> 100644 --- a/openstack_dashboard/dashboards/project/stacks/views.py +++ b/openstack_dashboard/dashboards/project/stacks/views.py @@ -99,7 +99,10 @@ class SelectTemplateView(f...
Pass Heat environment through form variables too. The App Catalog UI would like to pass Heat environment data through to the Heat stack create form and noticed environments can't be passed without this patch. Change-Id: I<I>bd7e<I>dadca<I>ede<I>de<I>bb<I> Closes-Bug: <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,8 +4,8 @@ import sys from setuptools import setup, find_packages -if sys.version_info < (3, 4): - raise SystemError('Python version must be at least 3.4') +if sys.version_info < (3, 5): + raise SystemError('Pytho...
Require at least python <I> which is the version that currently comes with Ubuntu Xenial as used in client apps docker containers
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from setuptools import setup, find_packages setup( name='pyshould', description='Should style asserts based on pyhamcrest', - version='0.4.0', + version='0.5.0', url='https://github.com/drslu...
Upped version to <I>
py
diff --git a/src/satosa/logging_util.py b/src/satosa/logging_util.py index <HASH>..<HASH> 100644 --- a/src/satosa/logging_util.py +++ b/src/satosa/logging_util.py @@ -30,6 +30,6 @@ def satosa_logging(logger, level, message, state, **kwargs): :param state: The current state :param kwargs: set exc_info=True to ...
Set the session-id in state This fixes the logger that kept getting a new uuid4 as a session-id for each log call.
py
diff --git a/openfisca_core/taxbenefitsystems/tax_benefit_system.py b/openfisca_core/taxbenefitsystems/tax_benefit_system.py index <HASH>..<HASH> 100644 --- a/openfisca_core/taxbenefitsystems/tax_benefit_system.py +++ b/openfisca_core/taxbenefitsystems/tax_benefit_system.py @@ -149,7 +149,7 @@ class TaxBenefitSystem: ...
Use fully qualified name in docstring
py
diff --git a/moban/definitions.py b/moban/definitions.py index <HASH>..<HASH> 100644 --- a/moban/definitions.py +++ b/moban/definitions.py @@ -46,9 +46,9 @@ class TemplateTarget(object): output, template_type=constants.DEFAULT_TEMPLATE_TYPE, ): - self.template_file = to_unicode(template_fi...
:fire: remove unwanted, useless changes occured in development stage. now it is proven not helping at all.
py
diff --git a/andes/system.py b/andes/system.py index <HASH>..<HASH> 100644 --- a/andes/system.py +++ b/andes/system.py @@ -23,6 +23,7 @@ import importlib import logging import os from operator import itemgetter +from collections import OrderedDict from . import routines from .config import System @@ -427,14 +428...
Include `idx` and `name` in `andes -e`
py
diff --git a/bugwarrior/services/github.py b/bugwarrior/services/github.py index <HASH>..<HASH> 100644 --- a/bugwarrior/services/github.py +++ b/bugwarrior/services/github.py @@ -220,12 +220,16 @@ class GithubService(IssueService): def annotations(self, tag, issue, issue_obj): url = issue['html_url'] - ...
Fetch github comments only when they will be used Prior to this change, comments on Github issues were fetched (generating their own API request) whether or not they were saved in taskwarrior per the `annotation_comments` config option. This change only fetches them if `annotation_comments` is True, saving requests & ...
py
diff --git a/estnltk/database/tests/test_insert.py b/estnltk/database/tests/test_insert.py index <HASH>..<HASH> 100644 --- a/estnltk/database/tests/test_insert.py +++ b/estnltk/database/tests/test_insert.py @@ -68,6 +68,7 @@ class BulkInsertTest(unittest.TestCase): id_bulk = db.bulk_insert(text_lists) ...
failing asserts for database tests for remembering
py
diff --git a/plexapi/server.py b/plexapi/server.py index <HASH>..<HASH> 100644 --- a/plexapi/server.py +++ b/plexapi/server.py @@ -860,7 +860,8 @@ class StatisticsBandwidth(PlexObject): return '<%s>' % ':'.join([p for p in [ self.__class__.__name__, self._clean(self.accountID), - ...
Add timestamp to statistic repr
py
diff --git a/pypiper/manager.py b/pypiper/manager.py index <HASH>..<HASH> 100755 --- a/pypiper/manager.py +++ b/pypiper/manager.py @@ -107,7 +107,11 @@ class PipelineManager(object): # Update them with any passed via 'args' if args is not None: # vars(...) transforms ArgumentParser's Name...
print out the command line updates to the manager's parameterization
py
diff --git a/host/basil/HL/HardwareLayer.py b/host/basil/HL/HardwareLayer.py index <HASH>..<HASH> 100644 --- a/host/basil/HL/HardwareLayer.py +++ b/host/basil/HL/HardwareLayer.py @@ -18,3 +18,4 @@ class HardwareLayer(Base): # interface not required if intf is not None: self._intf = intf +...
BUG: fix HardwareLayer base addresss
py
diff --git a/aiohttp_apispec/aiohttp_apispec.py b/aiohttp_apispec/aiohttp_apispec.py index <HASH>..<HASH> 100644 --- a/aiohttp_apispec/aiohttp_apispec.py +++ b/aiohttp_apispec/aiohttp_apispec.py @@ -104,8 +104,9 @@ class AiohttpApiSpec: for k, v in raw_parameters.items() ...
Complete support of all responses docs fields
py
diff --git a/vLanService/vLanServiceDriver.py b/vLanService/vLanServiceDriver.py index <HASH>..<HASH> 100644 --- a/vLanService/vLanServiceDriver.py +++ b/vLanService/vLanServiceDriver.py @@ -8,8 +8,9 @@ attributes = helpers.get_resource_context_details().attributes vlan = attributes['VLAN Id'] access_mode = attribute...
vLanServiceDriver was improved to look on both sides
py
diff --git a/testing.py b/testing.py index <HASH>..<HASH> 100644 --- a/testing.py +++ b/testing.py @@ -1,4 +1,5 @@ import timeit +import sys from heartbeat import HeartBeat @@ -33,12 +34,8 @@ def unit_test(): assert(not file1.check_challenge(hash_answer)) -# Unit Test 2 -def unit_test2(): - # Config Vars - ...
Make the unit test on a custom file a cli arg. Instead of modifying the source code, testing on a custom file can be done by passing a filename as an argument.
py
diff --git a/spikeylab/main/acqmodel.py b/spikeylab/main/acqmodel.py index <HASH>..<HASH> 100644 --- a/spikeylab/main/acqmodel.py +++ b/spikeylab/main/acqmodel.py @@ -532,8 +532,8 @@ class AcquisitionModel(): spec_peak_at_f = np.array([-1]) # self._halt = True - vmax = np.amax(abs(rec...
uses rms value for calibration peak
py
diff --git a/release.py b/release.py index <HASH>..<HASH> 100644 --- a/release.py +++ b/release.py @@ -58,6 +58,7 @@ def infer_next_version(version): files_with_versions = ( 'docs/conf.py', 'setup.py', 'release.py', 'ez_setup.py', 'README.txt', + 'setuptools/__init__.py', ) def get_repo_name():
Add __init__.py to the list of 'files with versions'
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages setup( name='databasetools', - version='0.4.10', + version='0.4.11', packages=find_packages(), install_requires=[ 'mysql-connector>=2.1....
Updated to version <I> Added docstrings and refactored method and attribute names to sql.py Removed looptools from dependencies
py
diff --git a/ykman/cli/piv.py b/ykman/cli/piv.py index <HASH>..<HASH> 100644 --- a/ykman/cli/piv.py +++ b/ykman/cli/piv.py @@ -73,11 +73,11 @@ def click_parse_management_key(ctx, param, val): try: key = a2b_hex(val) if key and len(key) != 24: - return ValueError('Management key must be...
Raise parse errors instead of returning them
py
diff --git a/timeside/decoder/core.py b/timeside/decoder/core.py index <HASH>..<HASH> 100644 --- a/timeside/decoder/core.py +++ b/timeside/decoder/core.py @@ -55,15 +55,15 @@ class FileDecoder(Processor): if os.path.exists(uri): # get the absolute path uri = os.path.abspath(uri) + ...
timeside/decoder/core.py: raise discover not run exception if the file exist only
py
diff --git a/djpaypal/models/billing.py b/djpaypal/models/billing.py index <HASH>..<HASH> 100644 --- a/djpaypal/models/billing.py +++ b/djpaypal/models/billing.py @@ -217,7 +217,7 @@ class BillingAgreement(PaypalObject): if not token: raise ValueError("Invalid token argument") - ba = paypal_models.BillingAgre...
Use class member for BillingAgreement
py
diff --git a/pytplot/tplot.py b/pytplot/tplot.py index <HASH>..<HASH> 100644 --- a/pytplot/tplot.py +++ b/pytplot/tplot.py @@ -11,7 +11,7 @@ from bokeh.models import (CustomJS, Label, LogColorMapper, LogTicker, ColorBar, Range1d, Span, Title, Legend, LogAxis) from bokeh.models.glyphs import...
Changing colorbar tick formatter to exponential
py
diff --git a/test/test_automated_analysis.py b/test/test_automated_analysis.py index <HASH>..<HASH> 100644 --- a/test/test_automated_analysis.py +++ b/test/test_automated_analysis.py @@ -18,7 +18,7 @@ import yaml @contextlib.contextmanager def make_workdir(): - remove_old_dir = False + remove_old_dir = True ...
remove previous test during nosetest cmd
py
diff --git a/docs/bigquery/snippets.py b/docs/bigquery/snippets.py index <HASH>..<HASH> 100644 --- a/docs/bigquery/snippets.py +++ b/docs/bigquery/snippets.py @@ -1579,8 +1579,8 @@ def test_list_rows_as_dataframe(client): df = client.list_rows(table).to_dataframe() # [END bigquery_list_rows_dataframe] as...
BigQuery: fixes list rows to dataframe sample asserts (#<I>)
py
diff --git a/backport_packages/setup_backport_packages.py b/backport_packages/setup_backport_packages.py index <HASH>..<HASH> 100644 --- a/backport_packages/setup_backport_packages.py +++ b/backport_packages/setup_backport_packages.py @@ -200,7 +200,7 @@ def do_setup_package_providers(provider_package_id: str, fou...
Remove trailing comma in setup_backport_packages.py (#<I>)
py
diff --git a/mutant/models/model.py b/mutant/models/model.py index <HASH>..<HASH> 100644 --- a/mutant/models/model.py +++ b/mutant/models/model.py @@ -18,13 +18,28 @@ from ..db.models import MutableModel def _get_db_table(app_label, model): return "mutant_%s_%s" % (app_label, model) +if hasattr(model_cache, 'wr...
Fixed the `_remove_from_model_cache` lock issue. Django >= <I> removes the model cache `write_lock` attribute in favor of the import lock mechanism. We make sure to also use this lock when the attribute is not present.
py
diff --git a/evergreen/io/tty.py b/evergreen/io/tty.py index <HASH>..<HASH> 100644 --- a/evergreen/io/tty.py +++ b/evergreen/io/tty.py @@ -36,7 +36,7 @@ class TTYStream(BaseStream): def winsize(self): return self._handle.get_winsize() - def set_mode(self, raw): + def set_raw_mode(self, raw): ...
Renamed set_mode to set_raw_mode in TTYStream
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -55,6 +55,7 @@ setup( 'SoftLayer.tests.CLI.modules', 'SoftLayer.tests.managers', 'SoftLayer.tests.mocks', + 'SoftLayer.tests.fixtures', ], license='MIT', zip_safe=False,
Adds fixtures to setup.py
py
diff --git a/pysat/utils/coords.py b/pysat/utils/coords.py index <HASH>..<HASH> 100644 --- a/pysat/utils/coords.py +++ b/pysat/utils/coords.py @@ -191,6 +191,10 @@ def scale_units(out_unit, in_unit): if in_unit.lower() in accepted_units[kk]: in_key = kk + if out_key is None and in_key is None...
Update coords.py Updated failures to be more informative, allowing more intellegent error catches.
py
diff --git a/scripts/make_stdlib_static.py b/scripts/make_stdlib_static.py index <HASH>..<HASH> 100644 --- a/scripts/make_stdlib_static.py +++ b/scripts/make_stdlib_static.py @@ -13,7 +13,7 @@ with open(os.path.join(libfolder, 'stdlib_paths.js'), 'w') as out: out.write(simple_javascript_template_string) pyl...
Add "browser" to list of packages in make_stdlib_static.py
py
diff --git a/spyder/plugins/ipythonconsole/widgets/client.py b/spyder/plugins/ipythonconsole/widgets/client.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/ipythonconsole/widgets/client.py +++ b/spyder/plugins/ipythonconsole/widgets/client.py @@ -595,11 +595,12 @@ class ClientWidget(QWidget, SaveHistoryMixin): ...
IPython console: Move assignment to the right place
py
diff --git a/pyperformance/data-files/benchmarks/bm_fannkuch/run_benchmark.py b/pyperformance/data-files/benchmarks/bm_fannkuch/run_benchmark.py index <HASH>..<HASH> 100644 --- a/pyperformance/data-files/benchmarks/bm_fannkuch/run_benchmark.py +++ b/pyperformance/data-files/benchmarks/bm_fannkuch/run_benchmark.py @@ -1...
Remove unused var from fannkuch (#<I>) This `check` var was initialized and incremented, but never used, and played no role in returning the correct result. Nor does dropping it have any meaningful impact on the benchmark result.
py
diff --git a/tools/c7n_azure/tests_azure/test_functional_actions_tags.py b/tools/c7n_azure/tests_azure/test_functional_actions_tags.py index <HASH>..<HASH> 100644 --- a/tools/c7n_azure/tests_azure/test_functional_actions_tags.py +++ b/tools/c7n_azure/tests_azure/test_functional_actions_tags.py @@ -64,7 +64,7 @@ class F...
azure - tests - utc normalization fix (#<I>)
py
diff --git a/discord/enums.py b/discord/enums.py index <HASH>..<HASH> 100644 --- a/discord/enums.py +++ b/discord/enums.py @@ -122,6 +122,9 @@ class EnumMeta(type): def __setattr__(cls, name, value): raise TypeError('Enums are immutable.') + def __delattr__(cls, attr): + raise TypeError('Enums...
Disallow deleting of enum attributes.
py
diff --git a/bokeh/charts/builder.py b/bokeh/charts/builder.py index <HASH>..<HASH> 100644 --- a/bokeh/charts/builder.py +++ b/bokeh/charts/builder.py @@ -68,7 +68,7 @@ def create_and_build(builder_class, *data, **kws): chart.start_plot() curdoc()._current_plot = chart # TODO (havocp) store this on state, n...
changed curstate -> curdoc in check for autoadd
py
diff --git a/cosmic_ray/cli.py b/cosmic_ray/cli.py index <HASH>..<HASH> 100644 --- a/cosmic_ray/cli.py +++ b/cosmic_ray/cli.py @@ -25,6 +25,7 @@ from cosmic_ray.testing.test_runner import TestOutcome from cosmic_ray.timing import Timer from cosmic_ray.util import redirect_stdout from cosmic_ray.work_db import use_db...
--version now reports the actual version, not a hard-coded string. Also the version string follows the recommendation is the GNU style guide that the given name should be the canonical program name, not the filename.
py
diff --git a/AWSIoTPythonSDK/core/protocol/paho/client.py b/AWSIoTPythonSDK/core/protocol/paho/client.py index <HASH>..<HASH> 100755 --- a/AWSIoTPythonSDK/core/protocol/paho/client.py +++ b/AWSIoTPythonSDK/core/protocol/paho/client.py @@ -880,7 +880,7 @@ class Client(object): # used to check if there are any b...
Use conditional accessor to get socket object
py
diff --git a/moto/ecs/models.py b/moto/ecs/models.py index <HASH>..<HASH> 100644 --- a/moto/ecs/models.py +++ b/moto/ecs/models.py @@ -299,11 +299,10 @@ class ContainerInstance(BaseObject): 'dockerVersion': 'DockerVersion: 1.5.0' } - @property - def response_object(self): - ...
Fix indentation of ContainerInstance response object
py
diff --git a/commandlib/__init__.py b/commandlib/__init__.py index <HASH>..<HASH> 100644 --- a/commandlib/__init__.py +++ b/commandlib/__init__.py @@ -22,6 +22,8 @@ class Command(object): self._paths = [str(path) for path in paths] if paths is not None else [] self._trailing_args = [str(arg) for arg i...
BUG : _silent_* properties must be set to false on initialization.
py
diff --git a/ovp_projects/tests/runtests.py b/ovp_projects/tests/runtests.py index <HASH>..<HASH> 100644 --- a/ovp_projects/tests/runtests.py +++ b/ovp_projects/tests/runtests.py @@ -15,6 +15,7 @@ sys.path.insert(0, os.path.abspath(os.path.join(BASE_DIR, '../..'))) # decorator, because it would miss the database setup...
Add ovp_users to INSTALLED_APPS on runtests.py
py
diff --git a/endpoints/apiserving.py b/endpoints/apiserving.py index <HASH>..<HASH> 100644 --- a/endpoints/apiserving.py +++ b/endpoints/apiserving.py @@ -231,6 +231,8 @@ class _ApiServer(object): TypeError: if protocols are configured (this feature is not supported). ApiConfigurationError: if there's a p...
Fix for base path init (#<I>)
py
diff --git a/doc/conf.py b/doc/conf.py index <HASH>..<HASH> 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -59,7 +59,7 @@ exclude_trees = ["_build"] pygments_style = "sphinx" autoclass_content = "both" -autodoc_default_flags = ["show-inheritance", "members"] +autodoc_default_options = {"show-inheritance": True, "mem...
chore: fix generated docs (#<I>)
py
diff --git a/src/projex/text.py b/src/projex/text.py index <HASH>..<HASH> 100644 --- a/src/projex/text.py +++ b/src/projex/text.py @@ -538,7 +538,7 @@ def render( text, options, processed = None ): value = underscore(value) elif ( 'capitalize' == pref ): valu...
supporting both pluralize and plural as options in the render method
py
diff --git a/molo/core/tests/test_tag_navigation.py b/molo/core/tests/test_tag_navigation.py index <HASH>..<HASH> 100644 --- a/molo/core/tests/test_tag_navigation.py +++ b/molo/core/tests/test_tag_navigation.py @@ -283,6 +283,10 @@ class TestTags(MoloTestCaseMixin, TestCase): response, '<a hre...
Test tag navigation: added tests for the order of the nav tag
py
diff --git a/environs.py b/environs.py index <HASH>..<HASH> 100644 --- a/environs.py +++ b/environs.py @@ -17,7 +17,7 @@ from dotenv.main import load_dotenv, DotEnv, _walk_to_root __version__ = "6.1.0" __all__ = ["EnvError", "Env"] -MARSHMALLOW_VERSION_INFO = tuple([int(part) for part in ma.__version__.split(".") i...
Remove unneeded list to tuple conversion. tuple() can take a generator
py
diff --git a/examples/mesos_ec2.py b/examples/mesos_ec2.py index <HASH>..<HASH> 100644 --- a/examples/mesos_ec2.py +++ b/examples/mesos_ec2.py @@ -38,10 +38,10 @@ def main(): delta = decider.should_scale(reporter) if delta: - print 'Scaling {asg} in {region} by {delta}'.format(asg=args.asg, regio...
Changed to function syntax for print() instead of the removed keyword syntax
py
diff --git a/delphi/program_analysis/interpreter.py b/delphi/program_analysis/interpreter.py index <HASH>..<HASH> 100644 --- a/delphi/program_analysis/interpreter.py +++ b/delphi/program_analysis/interpreter.py @@ -1,14 +1,7 @@ import os -from pygraphviz import AGraph -from typing import Dict -import json - -import de...
Cleaning up delphi.program_analysis.interpreter - removing unnecessary imports.
py
diff --git a/suds/xsd/sxbasic.py b/suds/xsd/sxbasic.py index <HASH>..<HASH> 100644 --- a/suds/xsd/sxbasic.py +++ b/suds/xsd/sxbasic.py @@ -564,7 +564,7 @@ class Import(SchemaObject): self.opened = True log.debug("%s, importing ns='%s', location='%s'", self.id, self.ns[1], self.location) -...
mark XSD schema Import.locate method as private
py
diff --git a/synth.py b/synth.py index <HASH>..<HASH> 100644 --- a/synth.py +++ b/synth.py @@ -27,4 +27,5 @@ s.copy(templates, excludes=[ ".eslintignore", ".prettierignore" ]) +subprocess.run(['npm', 'i']) subprocess.run(['npm', 'run', 'generate'])
build: "npm i" is required to generate (#<I>)
py
diff --git a/pyecobee/__init__.py b/pyecobee/__init__.py index <HASH>..<HASH> 100644 --- a/pyecobee/__init__.py +++ b/pyecobee/__init__.py @@ -222,6 +222,24 @@ class Ecobee(object): " climate hold. Refreshing tokens...") self.refresh_tokens() + def delete_vacation(self, index, vaca...
Added routine to delete a given vacation event in order to cancel a vacation hold.
py
diff --git a/django_libs/tests/mixins.py b/django_libs/tests/mixins.py index <HASH>..<HASH> 100644 --- a/django_libs/tests/mixins.py +++ b/django_libs/tests/mixins.py @@ -16,7 +16,7 @@ class ViewTestMixin(object): If the view expects request.GET data to include this, you can override this method and...
Changed standard GET data payload to empty dict.
py
diff --git a/pysat/_instrument.py b/pysat/_instrument.py index <HASH>..<HASH> 100644 --- a/pysat/_instrument.py +++ b/pysat/_instrument.py @@ -3455,14 +3455,6 @@ class Instrument(object): if key[0] != '_': adict[key] = self.__getattribute__(key) - # Store any n...
ENH: Removed writing of custom meta attributes to netCDF4 file
py
diff --git a/bcbio/chipseq/macs2.py b/bcbio/chipseq/macs2.py index <HASH>..<HASH> 100644 --- a/bcbio/chipseq/macs2.py +++ b/bcbio/chipseq/macs2.py @@ -30,7 +30,8 @@ def run(name, chip_bam, input_bam, genome_build, out_dir, config): "option for macs2 in the YAML file (-g genome_size)." ...
Use genome size parameter for macs2 command If the species is not mouse or human, user needs to give the -g SIZE with the resources macs2 options in the yaml file
py
diff --git a/warehouse/packaging/search.py b/warehouse/packaging/search.py index <HASH>..<HASH> 100644 --- a/warehouse/packaging/search.py +++ b/warehouse/packaging/search.py @@ -10,6 +10,8 @@ # See the License for the specific language governing permissions and # limitations under the License. +import packaging.ve...
fix: sort versions when creating index documents (#<I>) makes this list stable for consistent tests
py
diff --git a/angr/cfg.py b/angr/cfg.py index <HASH>..<HASH> 100644 --- a/angr/cfg.py +++ b/angr/cfg.py @@ -666,6 +666,8 @@ class CFG(CFGBase): start_run = self._project.sim_run(self._project.exit_to(startpoint, state=state)) + i...
check for zero-exit blocks when determining the calling convention
py
diff --git a/leeroy/base.py b/leeroy/base.py index <HASH>..<HASH> 100644 --- a/leeroy/base.py +++ b/leeroy/base.py @@ -103,7 +103,7 @@ def github_notification(): "%s %s (%s): %s", base_repo_name, number, html_url, action) - if action not in ("opened", "synchronize"): + if a...
Initiate build when PR is reopened. When a PR has been reopened, kick off another build for the commit(s). This also helps address issue #9 as you can close/reopen a PR to force a rebuild.
py
diff --git a/ELiDE/ELiDE/board/board.py b/ELiDE/ELiDE/board/board.py index <HASH>..<HASH> 100644 --- a/ELiDE/ELiDE/board/board.py +++ b/ELiDE/ELiDE/board/board.py @@ -682,6 +682,7 @@ class Board(RelativeLayout): Builder.load_string( """ +#: import resource_find kivy.resources.resource_find <KvLayoutBack>: ...
Import resource_find in ELiDE.board kv code It isn't necessary for ELiDE proper, because resource_find is imported earlier; but this way, the Board widget still works even if it's the only one you're using
py
diff --git a/pdfconduit/conduit/__init__.py b/pdfconduit/conduit/__init__.py index <HASH>..<HASH> 100644 --- a/pdfconduit/conduit/__init__.py +++ b/pdfconduit/conduit/__init__.py @@ -4,8 +4,6 @@ from .merge import Merge from .flatten import Flatten from .slice import slicer from .watermark import WatermarkAdd, Water...
Removed GUI from __all__ declaration
py
diff --git a/requests_aws4auth/test/requests_aws4auth_test.py b/requests_aws4auth/test/requests_aws4auth_test.py index <HASH>..<HASH> 100644 --- a/requests_aws4auth/test/requests_aws4auth_test.py +++ b/requests_aws4auth/test/requests_aws4auth_test.py @@ -110,6 +110,10 @@ class AmzAws4TestSuite: grouped = itert...
Explicitly skipping get-header-value-multiline test in aws4_testsuite as it's incomplete as supplied
py
diff --git a/pyforms/gui/standaloneManager.py b/pyforms/gui/standaloneManager.py index <HASH>..<HASH> 100644 --- a/pyforms/gui/standaloneManager.py +++ b/pyforms/gui/standaloneManager.py @@ -139,13 +139,16 @@ class StandAloneContainer(QtGui.QMainWindow): infile.close() self.setStyleSheet(text) +MAIN...
add MAIN_APP variable to pyforms
py
diff --git a/bigcommerce/resources/base.py b/bigcommerce/resources/base.py index <HASH>..<HASH> 100644 --- a/bigcommerce/resources/base.py +++ b/bigcommerce/resources/base.py @@ -183,10 +183,10 @@ class CountableApiSubResource(ApiSubResource): @classmethod def _count_path(cls, parentid=None): - if cl...
BIG-<I> Evaluating these if statements in the wrong priority order meant that we were always returning the count path for the subresource storewide if count was implemented at all. Now we correctly check for a parent ID and return the correct path if present.
py
diff --git a/tweepy/streaming.py b/tweepy/streaming.py index <HASH>..<HASH> 100644 --- a/tweepy/streaming.py +++ b/tweepy/streaming.py @@ -313,7 +313,7 @@ class Stream(object): while self.running and not resp.raw.closed: length = 0 while not resp.raw.closed: - line = bu...
Handles blank keep-alive new lines Added .strip() to read_line() to handle keep-alive new lines
py
diff --git a/bringitdown.py b/bringitdown.py index <HASH>..<HASH> 100644 --- a/bringitdown.py +++ b/bringitdown.py @@ -17,7 +17,7 @@ def bring_it_down(iface="en0", spam_packet='HOST:all|GET:spam'): # what this does is write 'HOST:all|GET:spam' directly to your network interface as fast as it can, drowning out outer pe...
change bringitdown packet to <I> bytes
py
diff --git a/src/distinfo.py b/src/distinfo.py index <HASH>..<HASH> 100644 --- a/src/distinfo.py +++ b/src/distinfo.py @@ -84,6 +84,7 @@ class DistInfo(object): req.setdefault(sym, list()).append((REQ_BY_JAR,entry,data)) for sym,data in ji.get_provides().iteritems(): prov....
still need to add jar provides to the requirements filter for the distribution rollup.
py
diff --git a/downhill/base.py b/downhill/base.py index <HASH>..<HASH> 100644 --- a/downhill/base.py +++ b/downhill/base.py @@ -270,7 +270,7 @@ class Optimizer(util.Registrar(str('Base'), (), {})): max_gradient_clip=1e10, learning_rate=1e-4, momentum=0, - ...
Turn off Nesterov momentum by default.
py
diff --git a/plugins/jobs/server/models/job.py b/plugins/jobs/server/models/job.py index <HASH>..<HASH> 100644 --- a/plugins/jobs/server/models/job.py +++ b/plugins/jobs/server/models/job.py @@ -454,7 +454,7 @@ class Job(AccessControlledModel): # right now we'll just go through the user. return self.m...
Change the job model to pass along the job resource
py
diff --git a/lib/vtor_checks.py b/lib/vtor_checks.py index <HASH>..<HASH> 100755 --- a/lib/vtor_checks.py +++ b/lib/vtor_checks.py @@ -24,7 +24,7 @@ def sigStrToKwArgsDict(checkFuncSig): argParts = [x.strip() for x in argParts] retval = {} for argPair in argParts: - argSpl = argPair.split('=') + ...
for #<I>; fixed bug in sigStrToKwArgsDict() - the value of an arg (keyval in returned dict) was being cut short if it contained an equals sign; there were no known uses of this yet but it will be important to embedded code in .cfgspc triggers git-svn-id: <URL>
py
diff --git a/pyang/plugins/sample-xml-skeleton.py b/pyang/plugins/sample-xml-skeleton.py index <HASH>..<HASH> 100644 --- a/pyang/plugins/sample-xml-skeleton.py +++ b/pyang/plugins/sample-xml-skeleton.py @@ -227,6 +227,7 @@ class SampleXMLSkeletonPlugin(plugin.PyangPlugin): maxel = node.search_one("max-elements...
leaf-list with sample-xml-skeleton would crahs
py
diff --git a/tests/plugin-import.py b/tests/plugin-import.py index <HASH>..<HASH> 100644 --- a/tests/plugin-import.py +++ b/tests/plugin-import.py @@ -46,11 +46,7 @@ def test_plugin_order_bad(): 'name': 'moduletest', 'path': 'tests/plugins/moduletest' }]} - res = fixture.start_tangelo('--confi...
Updating test to use run_tangelo(); simplifying test expectation logic
py
diff --git a/flux_led/device.py b/flux_led/device.py index <HASH>..<HASH> 100644 --- a/flux_led/device.py +++ b/flux_led/device.py @@ -118,6 +118,12 @@ class LEDENETDevice: return bool(self.raw_state.warm_white or self.raw_state.cool_white) @property + def color_active(self): + """Any color ch...
Present color mode as CCT for RGBWW strips when color is off
py
diff --git a/asammdf/blocks/mdf_v4.py b/asammdf/blocks/mdf_v4.py index <HASH>..<HASH> 100644 --- a/asammdf/blocks/mdf_v4.py +++ b/asammdf/blocks/mdf_v4.py @@ -2142,6 +2142,7 @@ class MDF4(object): except KeyError: record = group.record if record is None: + dtypes = grou...
fix errors after the latest refactorign
py
diff --git a/dallinger/models.py b/dallinger/models.py index <HASH>..<HASH> 100644 --- a/dallinger/models.py +++ b/dallinger/models.py @@ -86,7 +86,7 @@ class Participant(Base, SharedMixin): #: A String, a concatenation of :attr:`~dallinger.models.Participant.worker_id` #: and :attr:`~dallinger.models.Parti...
Increase length of unique_id column Fixes a problem where some workers seem to have longer ids. Closes #<I>
py
diff --git a/alphalens/performance.py b/alphalens/performance.py index <HASH>..<HASH> 100644 --- a/alphalens/performance.py +++ b/alphalens/performance.py @@ -171,6 +171,7 @@ def factor_weights(factor_data, if group_adjust: weights = weights.groupby(level='date').apply(to_weights, False) + weights.in...
BUG: index.freq disappears in performance.factor_returns Certain combination of python + pandas make index to lose the frequency that we want to keep because it stores the trading calendar information
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ import subprocess from setuptools import setup, find_packages ##################################### -VERSION = "0.5.2" +VERSION = "0.6.0" ISRELEASED = True if ISRELEASED: __version__ = VERSION
Bump to version <I>
py
diff --git a/validator/sawtooth_validator/execution/executor.py b/validator/sawtooth_validator/execution/executor.py index <HASH>..<HASH> 100644 --- a/validator/sawtooth_validator/execution/executor.py +++ b/validator/sawtooth_validator/execution/executor.py @@ -156,12 +156,22 @@ class TransactionExecutorThread(object)...
Update TransactionExecutor to catch errors on create context The error being caught here would mean a severe scheduler bug. In a future commit, errors will be caught here that are raised in create_context if the transaction has inputs or outputs that aren't valid. STL-<I> is completed at this point
py
diff --git a/synapse/cortex.py b/synapse/cortex.py index <HASH>..<HASH> 100644 --- a/synapse/cortex.py +++ b/synapse/cortex.py @@ -722,6 +722,8 @@ class Cortex(s_cell.Cell): # type: ignore } cellapi = CoreApi + + viewctor = s_view.View.anit layrctor = s_layer.Layer.anit async def __anit__(se...
An abstraction needed by the cluster (#<I>)
py
diff --git a/spyder/plugins/explorer/widgets.py b/spyder/plugins/explorer/widgets.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/explorer/widgets.py +++ b/spyder/plugins/explorer/widgets.py @@ -905,7 +905,26 @@ class DirView(QTreeView): def copy_relative_path(self): """Copy relative paths of named f...
Add function to copy files in File/Project Explorer
py
diff --git a/plexapi/base.py b/plexapi/base.py index <HASH>..<HASH> 100644 --- a/plexapi/base.py +++ b/plexapi/base.py @@ -491,7 +491,7 @@ class Playable(object): def split(self): """Split a duplicate.""" key = '%s/split' % self.key - return self._server.query(key) + return self._se...
fix split media item. add missing method put
py
diff --git a/pefile.py b/pefile.py index <HASH>..<HASH> 100644 --- a/pefile.py +++ b/pefile.py @@ -1789,7 +1789,8 @@ class PE: self.OPTIONAL_HEADER = self.__unpack_data__( self.__IMAGE_OPTIONAL_HEADER_format__, - self.__data__[optional_header_offset:], + # Read up t...
-Attempting to fix Issue <I> where a big memory allocation is attempted (which can be avoided). When working with large files it could lead to MemoryError exceptions.
py
diff --git a/icekit/publishing/admin.py b/icekit/publishing/admin.py index <HASH>..<HASH> 100644 --- a/icekit/publishing/admin.py +++ b/icekit/publishing/admin.py @@ -273,7 +273,7 @@ class PublishingAdmin(ModelAdmin, _PublishingHelpersMixin): # publish or unpublish actions sometime makes the plugins disappear from...
Re #<I> show modified date in admin view.
py
diff --git a/api/models.py b/api/models.py index <HASH>..<HASH> 100644 --- a/api/models.py +++ b/api/models.py @@ -129,14 +129,19 @@ class App(UuidAuditedModel): def deploy(self, release, initial=False): tasks.deploy_release.delay(self, release).get() - # TODO: figure out if the logic below is wh...
fix(deploy): rework initial deploy logic based on workflow
py
diff --git a/nydus/db/backends/redis.py b/nydus/db/backends/redis.py index <HASH>..<HASH> 100644 --- a/nydus/db/backends/redis.py +++ b/nydus/db/backends/redis.py @@ -33,10 +33,12 @@ class Redis(BaseConnection): retryable_exceptions = frozenset([RedisError]) supports_pipelines = True - def __init__(self,...
Enable use of unix_socket_path feature Specify 'unix_socket_path' as a configuration option for a host to by unix socket rather than TCP.
py
diff --git a/runtests/mpi/tester.py b/runtests/mpi/tester.py index <HASH>..<HASH> 100644 --- a/runtests/mpi/tester.py +++ b/runtests/mpi/tester.py @@ -67,12 +67,14 @@ def MPITest(commsize): color = 0 if MPI.COMM_WORLD.rank < size else 1 comm = MPI.COMM_WORLD.Split(color) - ...
stop on the first error in MPITester.
py
diff --git a/src/transformers/trainer.py b/src/transformers/trainer.py index <HASH>..<HASH> 100755 --- a/src/transformers/trainer.py +++ b/src/transformers/trainer.py @@ -572,7 +572,7 @@ class Trainer: if is_torch_tpu_available(): xm.optimizer_step(self.optimizer) - ...
Fix TPU Convergence bug introduced by PR#<I> (#<I>) Currently with the bug introduced we're taking two optimizer steps per batch: one global one, where `xm.optimizer_step` injects a CRS between all cores in training, and one without. This has been affecting training accuracy (for example, XLNet GLUE on MNLI is not ...
py
diff --git a/scanpy/preprocessing/_simple.py b/scanpy/preprocessing/_simple.py index <HASH>..<HASH> 100644 --- a/scanpy/preprocessing/_simple.py +++ b/scanpy/preprocessing/_simple.py @@ -532,7 +532,8 @@ def pca( ' the first component, e.g., might be heavily influenced by different means\n' ...
pass svd solver into truncatedsvd
py
diff --git a/openquake/hazardlib/contexts.py b/openquake/hazardlib/contexts.py index <HASH>..<HASH> 100644 --- a/openquake/hazardlib/contexts.py +++ b/openquake/hazardlib/contexts.py @@ -124,7 +124,7 @@ class ContextMaker(object): """ REQUIRES = ['DISTANCES', 'SITES_PARAMETERS', 'RUPTURE_PARAMETERS'] - d...
Small fix for the SMTK Former-commit-id: ac<I>c<I>bf<I>e<I>e0bcf<I>e<I>e1
py
diff --git a/pypika/__init__.py b/pypika/__init__.py index <HASH>..<HASH> 100644 --- a/pypika/__init__.py +++ b/pypika/__init__.py @@ -83,4 +83,4 @@ from .utils import ( __author__ = 'Timothy Heys' __email__ = 'theys@kayak.com' -__version__ = '0.26.0' +__version__ = '0.27.0'
bumped version to <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,8 @@ import os +import pkgutil from setuptools import setup, find_packages import pymunin +import pymunin.plugins def read_file(filename): @@ -13,7 +15,17 @@ def read_file(filename): return '' -set...
Install plugins as console scripts.
py
diff --git a/salt/states/lvm.py b/salt/states/lvm.py index <HASH>..<HASH> 100644 --- a/salt/states/lvm.py +++ b/salt/states/lvm.py @@ -90,7 +90,7 @@ def pv_absent(name): else: changes = __salt__['lvm.pvremove'](name) - if not __salt__['lvm.pvdisplay'](name): + if __salt__['lvm.pvdisplay'](...
Fix the logic ordering of pv_absent
py
diff --git a/holoviews/__init__.py b/holoviews/__init__.py index <HASH>..<HASH> 100644 --- a/holoviews/__init__.py +++ b/holoviews/__init__.py @@ -3,10 +3,6 @@ from __future__ import print_function, absolute_import import os, sys, pydoc import numpy as np # noqa (API import) - -_cwd = os.path.abspath(os.path.split(...
Removed prepending of param to syspath (#<I>)
py
diff --git a/hbmqtt/client.py b/hbmqtt/client.py index <HASH>..<HASH> 100644 --- a/hbmqtt/client.py +++ b/hbmqtt/client.py @@ -239,7 +239,7 @@ class MQTTClient: @mqtt_connected @asyncio.coroutine - def publish(self, topic, message, qos=None, retain=None): + def publish(self, topic, message, qos=None, ...
Added missing ack_timeout param expected in mqtt_publish method of handler.py
py
diff --git a/librosa/decompose.py b/librosa/decompose.py index <HASH>..<HASH> 100644 --- a/librosa/decompose.py +++ b/librosa/decompose.py @@ -153,9 +153,12 @@ def hpss(S, kernel_size=31, power=2.0, mask=False): win_harm = kernel_size[0] win_perc = kernel_size[1] - # Compute median filters - h...
hpss now preserves memory layout
py
diff --git a/tests/test_binding.py b/tests/test_binding.py index <HASH>..<HASH> 100644 --- a/tests/test_binding.py +++ b/tests/test_binding.py @@ -1,10 +1,10 @@ # -*- coding: utf-8 -*- -"""Test for natto.binding.""" +'''Test for natto.binding.''' import natto.binding as binding import unittest class TestBin...
test_binding.py edited online with Bitbucket
py