diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/Lib/fontbakery/profiles/googlefonts.py b/Lib/fontbakery/profiles/googlefonts.py index <HASH>..<HASH> 100644 --- a/Lib/fontbakery/profiles/googlefonts.py +++ b/Lib/fontbakery/profiles/googlefonts.py @@ -9,7 +9,6 @@ from fontbakery.constants import (PriorityLevel, NameID, ...
fix lint-warning: "Reimport 'pretty_print_list'" (Follow-up to PR #<I>)
py
diff --git a/gravity/commands/cmd_supervisorctl.py b/gravity/commands/cmd_supervisorctl.py index <HASH>..<HASH> 100644 --- a/gravity/commands/cmd_supervisorctl.py +++ b/gravity/commands/cmd_supervisorctl.py @@ -3,10 +3,17 @@ import click from gravity import process_manager +NO_START_COMMANDS = ( + 'shutdown', +...
Conditional control of supervisord starting when using supervisorctl subcommand
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -38,6 +38,7 @@ setup( 'future>=0.16.0', 'pandas>=0.19.2', 'pyOpenSSL>=16.2.0', + 'python<3.6', 'pyyaml>=3.12', 'requests>=2.12.4', 'responses>=0.5.1',
limit to python < <I> (#<I>)
py
diff --git a/salt/client/mixins.py b/salt/client/mixins.py index <HASH>..<HASH> 100644 --- a/salt/client/mixins.py +++ b/salt/client/mixins.py @@ -432,7 +432,7 @@ class AsyncClientMixin(object): if suffix in ('new',): return - outputter = None + outputter = event.get('outputter', N...
Allow each event to set its own outputter
py
diff --git a/airflow/operators/__init__.py b/airflow/operators/__init__.py index <HASH>..<HASH> 100644 --- a/airflow/operators/__init__.py +++ b/airflow/operators/__init__.py @@ -54,21 +54,6 @@ _operators = { 'PrestoValueCheckOperator', 'PrestoIntervalCheckOperator', ], - 'sensors': [ - ...
[AIRFLOW-<I>] Remove obselete sensor references
py
diff --git a/lib/ansiblereview/__init__.py b/lib/ansiblereview/__init__.py index <HASH>..<HASH> 100644 --- a/lib/ansiblereview/__init__.py +++ b/lib/ansiblereview/__init__.py @@ -161,9 +161,9 @@ def classify(filename): if parentdir in ['library', 'lookup_plugins', 'callback_plugins', 'filter_...
Fix classification of rolesfiles Ensure that old style rolesfiles are still detected, and update to match requirements.yml too.
py
diff --git a/tests/test_client.py b/tests/test_client.py index <HASH>..<HASH> 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -19,6 +19,9 @@ class TestJonesClient(TestCase): cs = 'zookeeper.example.com:2181' testing.setUp(self, connection_string=cs) self.zk = zc.zk.ZooKeeper(c...
test refactor and new stub.
py
diff --git a/tests/plugins/test_bump_release.py b/tests/plugins/test_bump_release.py index <HASH>..<HASH> 100644 --- a/tests/plugins/test_bump_release.py +++ b/tests/plugins/test_bump_release.py @@ -124,6 +124,6 @@ class TestBumpRelease(object): plugin.run() parser = DockerfileParser(plugin.workflow...
bump_release: adjust tests for desired behaviour When a base image is built, only the new-style release label should be set. This allows for the old-style labels to be phased out as builds naturally occur.
py
diff --git a/src/pyrocore/torrent/watch.py b/src/pyrocore/torrent/watch.py index <HASH>..<HASH> 100644 --- a/src/pyrocore/torrent/watch.py +++ b/src/pyrocore/torrent/watch.py @@ -172,7 +172,7 @@ class MetafileHandler(object): for key, val in sorted(self.ns.items()) )) - load_c...
watch: load with empty hash arg (closes #<I>)
py
diff --git a/keyring/tests/backends/test_kwallet.py b/keyring/tests/backends/test_kwallet.py index <HASH>..<HASH> 100644 --- a/keyring/tests/backends/test_kwallet.py +++ b/keyring/tests/backends/test_kwallet.py @@ -79,3 +79,10 @@ class KDEKWalletInQApplication(unittest.TestCase): wallet = kwallet.open_kwallet(...
Add test for KWallet DBus.
py
diff --git a/bids/cli.py b/bids/cli.py index <HASH>..<HASH> 100644 --- a/bids/cli.py +++ b/bids/cli.py @@ -63,7 +63,6 @@ def layout( ): """ Initialize a BIDSLayout, and create an SQLite database index. - """ # ensure empty multiples are set to None
Update bids/cli.py
py
diff --git a/holoviews/core/util.py b/holoviews/core/util.py index <HASH>..<HASH> 100644 --- a/holoviews/core/util.py +++ b/holoviews/core/util.py @@ -494,8 +494,8 @@ def max_extents(extents, zrange=False): with warnings.catch_warnings(): warnings.filterwarnings('ignore', r'All-NaN (slice|axis) encountere...
Small fix for max_extents
py
diff --git a/awslimitchecker/services/ses.py b/awslimitchecker/services/ses.py index <HASH>..<HASH> 100644 --- a/awslimitchecker/services/ses.py +++ b/awslimitchecker/services/ses.py @@ -69,10 +69,7 @@ class _SesService(_AwsService): logger.warning('Skipping SES: %s', str(ex)) return ...
Bugfix for handling AccessDenied exception in SES check #<I>
py
diff --git a/tests/support.py b/tests/support.py index <HASH>..<HASH> 100644 --- a/tests/support.py +++ b/tests/support.py @@ -63,6 +63,8 @@ class TempdirManager(object): super().tearDown() while self.tempdirs: d = self.tempdirs.pop() + if not os.path.exists(d): + ...
Fixed #<I> - test_distutils now checks what remains to be cleaned up during tearDown
py
diff --git a/folium/map.py b/folium/map.py index <HASH>..<HASH> 100644 --- a/folium/map.py +++ b/folium/map.py @@ -361,8 +361,8 @@ class Tooltip(MacroElement): _template = Template(u""" {% macro script(this, kwargs) %} {{ this._parent.get_name() }}.bindTooltip( - '<div{% if this.style ...
I noticed a bug in the template due to concatenating strings with single quotes which were interupted with other possessive single quotes. Switching these to template literals should address the issue. I noticed this with the following string concatenation example from a dataset: ``'<div>' + 'City: Saint...
py
diff --git a/src/ploneintranet/workspace/browser/forms.py b/src/ploneintranet/workspace/browser/forms.py index <HASH>..<HASH> 100644 --- a/src/ploneintranet/workspace/browser/forms.py +++ b/src/ploneintranet/workspace/browser/forms.py @@ -274,11 +274,11 @@ message in error, please notify us and UNREAD it. ...
Fixed - Email could not contain unicode
py
diff --git a/klab/bio/pdb.py b/klab/bio/pdb.py index <HASH>..<HASH> 100755 --- a/klab/bio/pdb.py +++ b/klab/bio/pdb.py @@ -394,7 +394,7 @@ class PDB(object): self.pdb_content = pdb_content if type(pdb_content) is bytes: - self.lines = pdb_content.split("\n") + self.lines = pd...
fixed some pdb parsing
py
diff --git a/doctr/travis.py b/doctr/travis.py index <HASH>..<HASH> 100644 --- a/doctr/travis.py +++ b/doctr/travis.py @@ -60,7 +60,7 @@ def setup_deploy_key(): f.write("Host github.com" ' IdentityFile "%s"' " LogLevel ERROR\n" % key_path) - run(['eval', '`ssh-agent -s`']...
don't subproc eval, that's dumb
py
diff --git a/pandoc_mustache/pandoc_mustache.py b/pandoc_mustache/pandoc_mustache.py index <HASH>..<HASH> 100755 --- a/pandoc_mustache/pandoc_mustache.py +++ b/pandoc_mustache/pandoc_mustache.py @@ -19,7 +19,7 @@ def prepare(doc): # the_file.write(str(doc.mustache_files)) # the_file.write('\n') i...
Remove superfluous close-paren which caused build to fail
py
diff --git a/gwpy/plotter/log.py b/gwpy/plotter/log.py index <HASH>..<HASH> 100644 --- a/gwpy/plotter/log.py +++ b/gwpy/plotter/log.py @@ -53,7 +53,7 @@ class GWpyLogFormatterMathtext(LogFormatterMathtext): return '$%s$' % x else: return '$\mathdefault{%s}$' % x - e...
plotter.log: removed unnecessary log<I> call removes a potential `ValueError` when zeros creep into a log scale
py
diff --git a/ginga/qtw/QtHelp.py b/ginga/qtw/QtHelp.py index <HASH>..<HASH> 100644 --- a/ginga/qtw/QtHelp.py +++ b/ginga/qtw/QtHelp.py @@ -204,6 +204,11 @@ class FileSelection(object): filenames = QtGui.QFileDialog.getOpenFileNames( self.parent, title, initialdir, filename) + # Special ha...
Added special file dialog handling for PyQt5
py
diff --git a/openquake/commonlib/source.py b/openquake/commonlib/source.py index <HASH>..<HASH> 100644 --- a/openquake/commonlib/source.py +++ b/openquake/commonlib/source.py @@ -965,7 +965,7 @@ def collect_source_model_paths(smlt): with node.context(smlt, blevel): for bset in blevel: ...
Normalized uncertaintyModel in collect_source_model_paths [skip hazardlib]
py
diff --git a/distutilazy/__init__.py b/distutilazy/__init__.py index <HASH>..<HASH> 100644 --- a/distutilazy/__init__.py +++ b/distutilazy/__init__.py @@ -7,5 +7,5 @@ Extra distutils command classes. https://opensource.org/licenses/MIT """ -__version__ = '0.5.0' +__version__ = '0.5.1' __all__ = ['clean', 'command'...
bump patch version to <I>
py
diff --git a/dist.py b/dist.py index <HASH>..<HASH> 100644 --- a/dist.py +++ b/dist.py @@ -1012,7 +1012,7 @@ class DistributionMetadata: return self.name or "UNKNOWN" def get_version(self): - return self.version or "???" + return self.version or "0.0.0" def get_fullname (self): ...
Use a version number of <I> instead of ???. The latter leads to invalid filenames on Windows when building without specifying a version number in the setup script. See also <URL>
py
diff --git a/pyqode/core/widgets/splittable_tab_widget.py b/pyqode/core/widgets/splittable_tab_widget.py index <HASH>..<HASH> 100644 --- a/pyqode/core/widgets/splittable_tab_widget.py +++ b/pyqode/core/widgets/splittable_tab_widget.py @@ -996,8 +996,9 @@ class SplittableCodeEditTabWidget(SplittableTabWidget): ...
TabWidget: don't save editor if not dirty
py
diff --git a/jujupy.py b/jujupy.py index <HASH>..<HASH> 100644 --- a/jujupy.py +++ b/jujupy.py @@ -665,7 +665,7 @@ class StatusItem: return MachineError(self.item_name, self.message) elif self.JUJU == self.status_name: time_since = datetime.utcnow() - self.datetime_since - ...
Fixed to lint standard.
py
diff --git a/src/toil/jobStores/fileJobStore.py b/src/toil/jobStores/fileJobStore.py index <HASH>..<HASH> 100644 --- a/src/toil/jobStores/fileJobStore.py +++ b/src/toil/jobStores/fileJobStore.py @@ -617,8 +617,14 @@ class FileJobStore(AbstractJobStore): if jobStoreID != None: # Make a temporary fi...
Dump stack traces when temp files are opened so we can make sure they all go away.
py
diff --git a/tldap/base.py b/tldap/base.py index <HASH>..<HASH> 100644 --- a/tldap/base.py +++ b/tldap/base.py @@ -116,6 +116,9 @@ class LDAPmeta(type): if field.name in field_names: # this field already defined in the current class, skip it pass + ...
If attribute overrides a field, don't add the field.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -69,7 +69,7 @@ extras_require = { 'nc_nwcsaf_msg': ['netCDF4 >= 1.1.8'], 'sar_c': ['python-geotiepoints >= 1.1.7', 'gdal'], 'abi_l1b': ['h5netcdf'], - 'seviri_l2_bufr': ['eccodes >= 2.12.3', 'python-eccodes >...
Updated setup.py to only include the pip eccodes-python package as a dependency
py
diff --git a/arch/zx48k/translator.py b/arch/zx48k/translator.py index <HASH>..<HASH> 100644 --- a/arch/zx48k/translator.py +++ b/arch/zx48k/translator.py @@ -190,7 +190,7 @@ class Translator(TranslatorVisitor): ''' def visit_NOP(self, node): pass # nothing to do - + def visit_CLS(self, n...
- has_control_chars() fixed up Now the .value member only exists for STRING symbols.
py
diff --git a/salt/minion.py b/salt/minion.py index <HASH>..<HASH> 100644 --- a/salt/minion.py +++ b/salt/minion.py @@ -993,7 +993,7 @@ class Syndic(Minion): jids[event['tag']]['__load__'] = salt.utils.jid_load( event['data']['jid'], ...
it is hash_type, got my keys mixed up :)
py
diff --git a/ykman/settings.py b/ykman/settings.py index <HASH>..<HASH> 100644 --- a/ykman/settings.py +++ b/ykman/settings.py @@ -62,7 +62,7 @@ class Settings(dict): return other is not None and self.fname == other.fname def __ne__(self, other): - return other is not None or self.fname != other....
Fixed `Settings` non-equality check Typo in non-equality check for `Settings` file caused this check to either fail or to throw incorrect results.
py
diff --git a/abydos/stemmer.py b/abydos/stemmer.py index <HASH>..<HASH> 100644 --- a/abydos/stemmer.py +++ b/abydos/stemmer.py @@ -112,7 +112,6 @@ def porter(word, early_english=False): # uppercase, normalize, decompose, and filter non-A-Z out word = unicodedata.normalize('NFKD', _unicode(word.lower())) - ...
removed German-specific esszet, which shouldn't appear in English words
py
diff --git a/respite/utils.py b/respite/utils.py index <HASH>..<HASH> 100644 --- a/respite/utils.py +++ b/respite/utils.py @@ -21,12 +21,12 @@ def parse_http_accept_header(header): Arguments: header -- A string describing the contents of the HTTP Accept header. """ - components = header.split(',') + ...
Fix a bug that caused HTTP Accept headers with whitespace to be parsed incorrectly
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -79,13 +79,7 @@ def main(): 'indra.sources.trips', 'indra.sources.trrust', 'indra.resources', 'indra.statements', 'indra.tests', 'indra.tests.test_obo_clients', - ...
Remove reading from setup.py.
py
diff --git a/hangups/conversation.py b/hangups/conversation.py index <HASH>..<HASH> 100644 --- a/hangups/conversation.py +++ b/hangups/conversation.py @@ -254,9 +254,7 @@ class Conversation(object): ), ) if image_id is not None: - request.existin...
Fix sending images with Conversation.send_message
py
diff --git a/zenpy/lib/endpoint.py b/zenpy/lib/endpoint.py index <HASH>..<HASH> 100644 --- a/zenpy/lib/endpoint.py +++ b/zenpy/lib/endpoint.py @@ -32,6 +32,7 @@ class BaseEndpoint(object): """ ISO_8601_FORMAT = '%Y-%m-%dT%H:%M:%SZ' + ZENDESK_DATE_FORMAT = "%Y-%m-%d" def __init__(self, endpoint, si...
Move date format into BaseEndpoint.
py
diff --git a/instana/fsm.py b/instana/fsm.py index <HASH>..<HASH> 100644 --- a/instana/fsm.py +++ b/instana/fsm.py @@ -124,15 +124,15 @@ class Fsm(object): (b, _) = self.agent.request_response( self.agent.make_url(a.AGENT_DISCOVERY_URL), "PUT", d) - if not b: - l.error("Cannot ...
Simplify block and debug log true pid
py
diff --git a/tests/settings.py b/tests/settings.py index <HASH>..<HASH> 100644 --- a/tests/settings.py +++ b/tests/settings.py @@ -15,3 +15,10 @@ MIDDLEWARE_CLASSES = ( 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware' ) + +TEMPLATES = [ + { + 'BACKEND': 'djan...
fix: add TEMPLATES setting to tests settings
py
diff --git a/cflib/crazyflie/mem.py b/cflib/crazyflie/mem.py index <HASH>..<HASH> 100644 --- a/cflib/crazyflie/mem.py +++ b/cflib/crazyflie/mem.py @@ -588,7 +588,7 @@ class LocoMemory2(MemoryElement): def update_active_id_list(self, update_active_ids_finished_cb): """Request an update of the active id lis...
#<I> Corrected name of callback
py
diff --git a/deploy_stack.py b/deploy_stack.py index <HASH>..<HASH> 100644 --- a/deploy_stack.py +++ b/deploy_stack.py @@ -1057,10 +1057,6 @@ def _deploy_job(args, charm_series, series): args.keep_env, permanent=jes_enabled, jes_enabled=jes_enabled, controller_strategy=controller_strategy) with b...
Always do deploy and basic validation steps in juju client tests
py
diff --git a/djwebsockets/server.py b/djwebsockets/server.py index <HASH>..<HASH> 100644 --- a/djwebsockets/server.py +++ b/djwebsockets/server.py @@ -85,7 +85,7 @@ class WebSocketServer: callbacks["_on_message"](ws, receivetask.result()) except KeyError: pass ...
release websocket when the connection is closed
py
diff --git a/bokeh/properties.py b/bokeh/properties.py index <HASH>..<HASH> 100644 --- a/bokeh/properties.py +++ b/bokeh/properties.py @@ -50,10 +50,15 @@ class Property(object): return cls() def matches(self, new, old): + # XXX: originally this code warned about not being able to compare values,...
Don't warn (just log in debug mode) about failed comparisons
py
diff --git a/bfg9000/rules.py b/bfg9000/rules.py index <HASH>..<HASH> 100644 --- a/bfg9000/rules.py +++ b/bfg9000/rules.py @@ -155,17 +155,21 @@ def command(build, env, name, cmd=None, cmds=None, extra_deps=None): @builtin def default(build, env, *args): + if len(args) == 0: + raise ValueError('expected a...
Fix a bug with install() making its arguments defaults
py
diff --git a/run_test.py b/run_test.py index <HASH>..<HASH> 100755 --- a/run_test.py +++ b/run_test.py @@ -20,11 +20,19 @@ if "PKCS11SPY" in os.environ: LIBS = ["/usr/local/lib/pkcs11-spy.so", # macOS or local build "/usr/lib/x86_64-linux-gnu/pkcs11-spy.so"] # Debian amd64 else: + if sys.maxsize...
run_test: add Windows SoftHSM support
py
diff --git a/heron/tools/tracker/src/python/tracker.py b/heron/tools/tracker/src/python/tracker.py index <HASH>..<HASH> 100644 --- a/heron/tools/tracker/src/python/tracker.py +++ b/heron/tools/tracker/src/python/tracker.py @@ -302,11 +302,11 @@ class Tracker(object): spoutConfigs = spout.comp.config.kvs f...
Decode serialized value in heron-tracker. (#<I>)
py
diff --git a/spinoff/actor/_actor.py b/spinoff/actor/_actor.py index <HASH>..<HASH> 100644 --- a/spinoff/actor/_actor.py +++ b/spinoff/actor/_actor.py @@ -671,8 +671,8 @@ class Actor(object): def children(self): return self.__cell.children - def watch(self, actor, *actors): - return self.__cel...
Allow passing of kwargs to Actor.watch--these will be passed through to spawn
py
diff --git a/compiler/js/component.py b/compiler/js/component.py index <HASH>..<HASH> 100644 --- a/compiler/js/component.py +++ b/compiler/js/component.py @@ -76,6 +76,8 @@ class component_generator(object): value = self.create_component_generator(value) if t is str: #and value[0] == '"' and value[-1] == '"': ...
added double-assignment exception
py
diff --git a/provider/oauth2/tests.py b/provider/oauth2/tests.py index <HASH>..<HASH> 100644 --- a/provider/oauth2/tests.py +++ b/provider/oauth2/tests.py @@ -154,7 +154,7 @@ class AuthorizationTest(BaseOAuth2TestCase): self.get_client().client_id, constants.SCOPES[0][1])) response = ...
#<I> - Uncomment an assertion in scope tests. It was commented out whilst adding support for Django <I>.
py
diff --git a/tests/test_cloudformation/test_stack_parsing.py b/tests/test_cloudformation/test_stack_parsing.py index <HASH>..<HASH> 100644 --- a/tests/test_cloudformation/test_stack_parsing.py +++ b/tests/test_cloudformation/test_stack_parsing.py @@ -68,7 +68,7 @@ get_attribute_output = { outputs_template = dict(lis...
another python 3 fix on dict
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -76,7 +76,7 @@ coverage_ignore_functions = [ html_favicon = 'favicon.ico' latex_documents = [ - ('documentation', 'tornado.tex', 'Tornado Documentation', 'Facebook', 'manual', False), + ('index', 'tor...
Fix PDF doc build. This appears to have been broken for a while but I've only recently been getting notifications from readthedocs.org.
py
diff --git a/modeling.py b/modeling.py index <HASH>..<HASH> 100644 --- a/modeling.py +++ b/modeling.py @@ -455,9 +455,15 @@ class BertForQuestionAnswering(nn.Module): end_logits = end_logits.squeeze(-1) if start_positions is not None and end_positions is not None: - start_positions = star...
ignore SQuAD targets outside of seq_length
py
diff --git a/gitpress/command.py b/gitpress/command.py index <HASH>..<HASH> 100644 --- a/gitpress/command.py +++ b/gitpress/command.py @@ -40,6 +40,11 @@ def main(argv=None): args = docopt(usage, argv=argv, version=version) # Execute command + execute(args) + + +def execute(args): + """Executes the co...
Extract command execution based on parsed args.
py
diff --git a/planet/scripts/__init__.py b/planet/scripts/__init__.py index <HASH>..<HASH> 100644 --- a/planet/scripts/__init__.py +++ b/planet/scripts/__init__.py @@ -380,11 +380,11 @@ def sync(destination, workspace, scene_type, limit, dryrun): @pretty @limit_option(default=50) @cli.command('mosaics') -def list_mos...
add limit arg to list_mosaics fix for breakage added in bea8d<I>a
py
diff --git a/gdxpy.py b/gdxpy.py index <HASH>..<HASH> 100644 --- a/gdxpy.py +++ b/gdxpy.py @@ -253,8 +253,8 @@ class gdxsymb: return ret - def __call__(self,filt=None,idval=None,reset=False): - return self.get_values(filt=filt,idval=idval,reset=reset) + def __call__(self,filt=None,idval=None,r...
add reshape to call routine
py
diff --git a/example/tests/unit/test_renderer_class_methods.py b/example/tests/unit/test_renderer_class_methods.py index <HASH>..<HASH> 100644 --- a/example/tests/unit/test_renderer_class_methods.py +++ b/example/tests/unit/test_renderer_class_methods.py @@ -3,6 +3,7 @@ from django.contrib.auth import get_user_model f...
Fix for Database access not allowed, use the "django_db" mark to enable it.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,11 @@ from setuptools import setup +from os import path + +BASE_PATH = path.abspath(path.dirname(__file__)) + +# Get the long description from the relevant file +with open(path.join(BASE_PATH, 'README.rst'), encoding=...
update readme and classifiers in setup.py
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -28,10 +28,7 @@ setup( 'pykml', ], 'icloud': [ - 'pyicloud', # Currently, pending action from the package - # maintainer, this is not distrib...
Removing cautionary note regarding pyicloud; it is now pypi-distributed.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -53,7 +53,7 @@ def main(): # if _PYTEST_SETUP_SKIP_PLUGGY_DEP is set, skip installing pluggy; # used by tox.ini to test with pluggy master if '_PYTEST_SETUP_SKIP_PLUGGY_DEP' not in os.environ: - install_r...
Update pluggy pin to <I>.*
py
diff --git a/luigi/worker.py b/luigi/worker.py index <HASH>..<HASH> 100644 --- a/luigi/worker.py +++ b/luigi/worker.py @@ -94,10 +94,6 @@ class Worker(object): self._keep_alive_thread.daemon = True self._keep_alive_thread.start() - def __del__(self): - """ If somebody forgets to clean up a...
Remove __del__ on worker as it's undeterministic
py
diff --git a/src/qnet/algebra/core/circuit_algebra.py b/src/qnet/algebra/core/circuit_algebra.py index <HASH>..<HASH> 100644 --- a/src/qnet/algebra/core/circuit_algebra.py +++ b/src/qnet/algebra/core/circuit_algebra.py @@ -548,7 +548,7 @@ class SLH(Circuit, Expression): if noises is not None: if n...
Fix faulty gauge process in heisenberg eom Not to worry: it was a crash bug, not a wrong results bug. What's more worrying is that the symbolic_* methods are completely untested.
py
diff --git a/web/app/phylotree/service/phylomongo.py b/web/app/phylotree/service/phylomongo.py index <HASH>..<HASH> 100644 --- a/web/app/phylotree/service/phylomongo.py +++ b/web/app/phylotree/service/phylomongo.py @@ -22,7 +22,7 @@ def decodeAndAdd(s, output, argname, resp): resp['error'] = e.message + " (argument ...
Removing "self" argument from phylomongo python service.
py
diff --git a/Examples/SolverDiagnostics/solver_diagnostics.py b/Examples/SolverDiagnostics/solver_diagnostics.py index <HASH>..<HASH> 100644 --- a/Examples/SolverDiagnostics/solver_diagnostics.py +++ b/Examples/SolverDiagnostics/solver_diagnostics.py @@ -237,7 +237,7 @@ def solver_diagnostics(A, fname='solver_diagnosti...
fixed problem with solver_diagnostics.py
py
diff --git a/ELiDE/ELiDE/screen.py b/ELiDE/ELiDE/screen.py index <HASH>..<HASH> 100644 --- a/ELiDE/ELiDE/screen.py +++ b/ELiDE/ELiDE/screen.py @@ -230,7 +230,9 @@ class MainScreen(Screen): self.gridview.board = self.gridboards[self.app.character_name] def on_mainview(self, *args): - if None in (s...
Handle some weird race condition in MainScreen.on_mainview
py
diff --git a/mysql/toolkit/components/operations.py b/mysql/toolkit/components/operations.py index <HASH>..<HASH> 100644 --- a/mysql/toolkit/components/operations.py +++ b/mysql/toolkit/components/operations.py @@ -61,7 +61,19 @@ class Compare: class Remove: def truncate(self, table): """Empty a table by...
Added _truncate private method and modified truncate method to handle iterables
py
diff --git a/allauth/socialaccount/providers/keycloak/provider.py b/allauth/socialaccount/providers/keycloak/provider.py index <HASH>..<HASH> 100644 --- a/allauth/socialaccount/providers/keycloak/provider.py +++ b/allauth/socialaccount/providers/keycloak/provider.py @@ -27,7 +27,7 @@ class KeycloakProvider(OAuth2Provid...
fix(keycloak): Use preferred_username claim for username As per the OpenID Connect spec the standard username claim is `preferred_username`. By default Keycloak confirms to OpenID Connect spec and provides a `preferred_username` claim, but no `username` claim in the profile scope. ref: <URL>
py
diff --git a/dbussy.py b/dbussy.py index <HASH>..<HASH> 100644 --- a/dbussy.py +++ b/dbussy.py @@ -3208,6 +3208,13 @@ class Message : #end for #end objects + @property + def all_objects(self) : + "all the arguments of the Message as a list of Python objects." + return \ + ...
utility method to return all args of message as list
py
diff --git a/dic/container.py b/dic/container.py index <HASH>..<HASH> 100644 --- a/dic/container.py +++ b/dic/container.py @@ -100,6 +100,10 @@ class _InstanceRegistration(_ComponentRegistration): def _create(self, component_context, overriding_args): return self._instance + def __deepcopy__(self, me...
Overrides __deepcopy__ in the instance registration to not copy the instance
py
diff --git a/tests/test_range.py b/tests/test_range.py index <HASH>..<HASH> 100644 --- a/tests/test_range.py +++ b/tests/test_range.py @@ -235,3 +235,14 @@ class TestNormalization: def test_suited_hand(self): assert str(Range('AKs')) == 'AKs' + + def test_one_pair_and_one_hand(self): + assert ...
Combine pairs, hands and combos, still passing.
py
diff --git a/openquake/commands/importcalc.py b/openquake/commands/importcalc.py index <HASH>..<HASH> 100644 --- a/openquake/commands/importcalc.py +++ b/openquake/commands/importcalc.py @@ -16,12 +16,31 @@ # You should have received a copy of the GNU Affero General Public License # along with OpenQuake. If not, s...
Added comment [skip CI] Former-commit-id: b<I>a1e<I>dcbf2f<I>b<I>ac2cbd<I>d5a1c5faa
py
diff --git a/ipyrad/assemble/write_outputs.py b/ipyrad/assemble/write_outputs.py index <HASH>..<HASH> 100644 --- a/ipyrad/assemble/write_outputs.py +++ b/ipyrad/assemble/write_outputs.py @@ -1699,11 +1699,13 @@ def write_loci_and_alleles(data): all1, all2 = splitalleles(seq) ...
Fix snpstring length oops in .alleles outputs so they line up right.
py
diff --git a/allegedb/allegedb/cache.py b/allegedb/allegedb/cache.py index <HASH>..<HASH> 100644 --- a/allegedb/allegedb/cache.py +++ b/allegedb/allegedb/cache.py @@ -39,13 +39,7 @@ class WindowDictKeysView(KeysView): class WindowDictItemsView(ItemsView): def __contains__(self, item): (rev, v) = item - ...
Use within_history to make some other WindowDict stuff faster
py
diff --git a/ncclient/transport/ssh.py b/ncclient/transport/ssh.py index <HASH>..<HASH> 100644 --- a/ncclient/transport/ssh.py +++ b/ncclient/transport/ssh.py @@ -167,7 +167,7 @@ class SSHSession(Session): *look_for_keys* enables looking in the usual locations for ssh keys (e.g. :file:`~/.ssh/id_*`) - ...
Minor wording fix in ssh_config param doc
py
diff --git a/vulture/core.py b/vulture/core.py index <HASH>..<HASH> 100644 --- a/vulture/core.py +++ b/vulture/core.py @@ -37,7 +37,7 @@ import sys from vulture import lines from vulture import utils -__version__ = '0.19' +__version__ = '0.20' # The ast module in Python 2 trips over "coding" cookies, so strip th...
Update version number to <I> for release.
py
diff --git a/salt/payload.py b/salt/payload.py index <HASH>..<HASH> 100644 --- a/salt/payload.py +++ b/salt/payload.py @@ -9,6 +9,10 @@ from salt._compat import pickle try: # Attempt to import msgpack import msgpack + # There is a serialization issue on ARM and potentially other platforms + # for some ...
Add a check for msgpack on ARM issue, temp help for #<I>
py
diff --git a/runtests.py b/runtests.py index <HASH>..<HASH> 100644 --- a/runtests.py +++ b/runtests.py @@ -16,10 +16,14 @@ try: "django.contrib.auth", "django.contrib.contenttypes", "django.contrib.sites", + "rest_framework", + "taggit", + "tests",...
feat(runtests): Added INSTALLED_PACKAGES and changed some warnings'
py
diff --git a/dusty/systems/virtualbox/__init__.py b/dusty/systems/virtualbox/__init__.py index <HASH>..<HASH> 100644 --- a/dusty/systems/virtualbox/__init__.py +++ b/dusty/systems/virtualbox/__init__.py @@ -96,7 +96,7 @@ def _init_docker_vm(): log_to_client('Initializing new Dusty VM with Docker Machine') ...
Added a comma
py
diff --git a/fermipy/jobs/target_sim.py b/fermipy/jobs/target_sim.py index <HASH>..<HASH> 100644 --- a/fermipy/jobs/target_sim.py +++ b/fermipy/jobs/target_sim.py @@ -328,7 +328,8 @@ class SimulateROI(Link): for src_name in correl_dict.keys(): gta.free_source(src_name, pars='norm') - ...
Small change into fermipy/jobs/target_sim.py
py
diff --git a/story/menu.py b/story/menu.py index <HASH>..<HASH> 100644 --- a/story/menu.py +++ b/story/menu.py @@ -257,6 +257,7 @@ class AdventureItem(Item): def select(self): self.menu.exit() + self.menu.story.set_current(self.adventure.name) print(self.adventure.problem_formatted)
Update the current adventure on each ProblemItem.select()
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 @@ -38,7 +38,7 @@ class RestrictionMatcher: For use with L{NodeFinder} to match restriction. """ def match(self, n): - return ( n.restriction() and n.ref is not No...
Modify fix for #<I> to handle cases where the element that was a restriction of the simpleType was referenced by @ref=.
py
diff --git a/backend/pfamserver/config/base.py b/backend/pfamserver/config/base.py index <HASH>..<HASH> 100644 --- a/backend/pfamserver/config/base.py +++ b/backend/pfamserver/config/base.py @@ -24,7 +24,7 @@ class BaseConfig: SQLALCHEMY_DATABASE_SCHEMA = "public" SQLALCHEMY_ECHO = False # True to log quer...
[#<I>] Enable join table/view (cache) by default.
py
diff --git a/resweb/server.py b/resweb/server.py index <HASH>..<HASH> 100644 --- a/resweb/server.py +++ b/resweb/server.py @@ -30,7 +30,7 @@ def working(request): def queues(request): return str(Queues(HOST).render()) -@get('/queues/(?P<queue_id>\w+)/') +@get('/queues/(?P<queue_id>\w.+)/') def queue(request, q...
can now view status of queues with '.' in the name via the web interface
py
diff --git a/shoebot/grammar/grammar.py b/shoebot/grammar/grammar.py index <HASH>..<HASH> 100644 --- a/shoebot/grammar/grammar.py +++ b/shoebot/grammar/grammar.py @@ -170,6 +170,7 @@ class Grammar(object): ## TODO: Not used when running as a bot, possibly should not be available in ## this case ...
bot.finish() does what it should when running as a python module
py
diff --git a/dramatiq/worker.py b/dramatiq/worker.py index <HASH>..<HASH> 100644 --- a/dramatiq/worker.py +++ b/dramatiq/worker.py @@ -466,6 +466,7 @@ class _WorkerThread(Thread): Parameters: message(MessageProxy) """ + actor = None try: self.logger.debug("Recei...
worker: fix potential unbound local errors Closes #<I>.
py
diff --git a/spiketoolkit/curation/threshold_presence_ratio.py b/spiketoolkit/curation/threshold_presence_ratio.py index <HASH>..<HASH> 100644 --- a/spiketoolkit/curation/threshold_presence_ratio.py +++ b/spiketoolkit/curation/threshold_presence_ratio.py @@ -49,10 +49,10 @@ def threshold_presence_ratio(sorting, thresho...
Update threshold_presence_ratio.py
py
diff --git a/tempodb/demo/tempodb-bulk-write-demo.py b/tempodb/demo/tempodb-bulk-write-demo.py index <HASH>..<HASH> 100644 --- a/tempodb/demo/tempodb-bulk-write-demo.py +++ b/tempodb/demo/tempodb-bulk-write-demo.py @@ -7,7 +7,7 @@ from tempodb import Client client = Client('your-api-key', 'your-api-secret') -data ...
change data to bulk to be less confusing
py
diff --git a/examples/excepthook.py b/examples/excepthook.py index <HASH>..<HASH> 100644 --- a/examples/excepthook.py +++ b/examples/excepthook.py @@ -3,4 +3,5 @@ import daiquiri daiquiri.setup(set_excepthook=False) logger = daiquiri.getLogger(__name__) -raise Exception("Something went wrong") # This exception will...
Reformats the excepthook example to appease flake8's line length constraint.
py
diff --git a/spyder_kernels/console/shell.py b/spyder_kernels/console/shell.py index <HASH>..<HASH> 100644 --- a/spyder_kernels/console/shell.py +++ b/spyder_kernels/console/shell.py @@ -52,6 +52,7 @@ class SpyderShell(ZMQInteractiveShell): super(SpyderShell, self).__init__(*args, **kwargs) self._allo...
Update spyder_kernels/console/shell.py
py
diff --git a/tutorials/mnist_tutorial_pure_tf.py b/tutorials/mnist_tutorial_pure_tf.py index <HASH>..<HASH> 100644 --- a/tutorials/mnist_tutorial_pure_tf.py +++ b/tutorials/mnist_tutorial_pure_tf.py @@ -43,9 +43,9 @@ class MLP(Model): self.layer_names = [] self.layers = layers self.input_shape = input_sh...
Make pure TF tutorial have fprop return dict
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,6 +4,7 @@ setup( name='hgdistver', url='http://bitbucket.org/RonnyPfannschmidt/hgdistver/', version=hgdistver.get_version(), + author='Ronny Pfannschmidt', author_email='Ronny Pfannschmidt <Ronny.Pfan...
add author name to setup.py
py
diff --git a/epc/tests/test_client.py b/epc/tests/test_client.py index <HASH>..<HASH> 100644 --- a/epc/tests/test_client.py +++ b/epc/tests/test_client.py @@ -18,7 +18,7 @@ class FakeSocket(object): def __init__(self): self._queue = Queue.Queue() self._buffer = io.BytesIO() - self.sent_mes...
Make FakeSocket.sent_message thread-safe
py
diff --git a/tests/test_client.py b/tests/test_client.py index <HASH>..<HASH> 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -22,7 +22,7 @@ class ApiClientTest(unittest.TestCase): def test_version(self): if six.PY3: - self.assertRegex(self.api.version(), '\d.\d*') + ...
Fix deprecation warnings due to invalid escape sequences.
py
diff --git a/patroni/utils.py b/patroni/utils.py index <HASH>..<HASH> 100644 --- a/patroni/utils.py +++ b/patroni/utils.py @@ -81,14 +81,20 @@ def parse_bool(value): def strtol(value, strict=True): """As most as possible close equivalent of strtol(3) function (with base=0), used by postgres to parse param...
bugfix: strtol didn't worked correctly with 1 digit numbers
py
diff --git a/uncurl/poisson_cluster.py b/uncurl/poisson_cluster.py index <HASH>..<HASH> 100644 --- a/uncurl/poisson_cluster.py +++ b/uncurl/poisson_cluster.py @@ -53,17 +53,17 @@ def poisson_cluster(data, k, init=None, max_iters=100): genes, cells = data.shape if init is None: init = kmeans_pp(data, ...
fixed bug - poisson clustering should work
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -56,7 +56,7 @@ PY_MODULES = ['openquake.commands.__main__'] install_requires = [ 'mock >=1.0, <2.1', 'nose >=1.3, <1.4', - 'h5py >=2.6, <2.9', + 'h5py >=2.8, <2.9', 'numpy >=1.14, <1.15', 'scipy >=1....
Raise minimum h5py version required in setup.py Former-commit-id: <I>c<I>bc<I>d<I>fce<I>a<I>e<I>c<I>d0c<I>
py
diff --git a/backoff.py b/backoff.py index <HASH>..<HASH> 100644 --- a/backoff.py +++ b/backoff.py @@ -387,8 +387,9 @@ def _log_backoff(invoc, tries): _, exception, _ = sys.exc_info() if exception is not None: msg = "{0} (exception {1})".format(msg, exception) - - logger.error(msg) + logger...
Log on_predicate backoffs as INFO
py
diff --git a/rabird/filesystem.py b/rabird/filesystem.py index <HASH>..<HASH> 100644 --- a/rabird/filesystem.py +++ b/rabird/filesystem.py @@ -68,7 +68,7 @@ class path_t(rabird.compatible.unicode_t): def clear(self): self.__path = u"" - def make_normal(self): + def make_preferred(self): self.__path = os...
Changed function name from "make_normal" to boost standard "make_preferred"
py
diff --git a/glitch/glitch.py b/glitch/glitch.py index <HASH>..<HASH> 100644 --- a/glitch/glitch.py +++ b/glitch/glitch.py @@ -32,6 +32,7 @@ import base64 import random import string import docopt +import os class Glitch: def __init__(self): @@ -58,6 +59,8 @@ class Glitch: with open(glitchfile, ...
Add: Remove realy break image file and support of decrease error.
py
diff --git a/lambda_uploader/config.py b/lambda_uploader/config.py index <HASH>..<HASH> 100644 --- a/lambda_uploader/config.py +++ b/lambda_uploader/config.py @@ -97,7 +97,7 @@ class Config(object): raise ValueError("Config %s must have %s set" % (self._path, key)) - ...
Fixed compare in config verify so it actually gets run
py
diff --git a/chess/pgn.py b/chess/pgn.py index <HASH>..<HASH> 100644 --- a/chess/pgn.py +++ b/chess/pgn.py @@ -474,7 +474,7 @@ class BaseVisitor(object): raise error def result(self): - """Called to get the result of the game. Defaults to ``None``.""" + """Called to get the result of the v...
Fix typo: result of game -> result of visitor
py