diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/_pydev_imps/_pydev_sys_patch.py b/_pydev_imps/_pydev_sys_patch.py index <HASH>..<HASH> 100644 --- a/_pydev_imps/_pydev_sys_patch.py +++ b/_pydev_imps/_pydev_sys_patch.py @@ -4,14 +4,14 @@ import sys def patch_sys_module(): def patched_exc_info(fun): - def inner(): + def pydev_debugger...
a few renames (cherry picked from commit dae1a9b)
py
diff --git a/pyperform/comparisonbenchmark.py b/pyperform/comparisonbenchmark.py index <HASH>..<HASH> 100644 --- a/pyperform/comparisonbenchmark.py +++ b/pyperform/comparisonbenchmark.py @@ -72,7 +72,7 @@ class ComparisonBenchmark(Benchmark): log.write('\t' + tests[0].stmt) log.write('\n\n\n') ...
changed '% of Fastest' column in summary to '% of Slowest'
py
diff --git a/library/phantomjs/phantomjs.py b/library/phantomjs/phantomjs.py index <HASH>..<HASH> 100644 --- a/library/phantomjs/phantomjs.py +++ b/library/phantomjs/phantomjs.py @@ -36,11 +36,6 @@ class phantomjs(ShutItModule): shutit.send_and_expect('bunzip2 phantomjs-1.9.0-linux-x86_64.tar.bz2') shutit.send_an...
No seperate cleanup in phantomjs
py
diff --git a/falafel/mappers/cciss.py b/falafel/mappers/cciss.py index <HASH>..<HASH> 100644 --- a/falafel/mappers/cciss.py +++ b/falafel/mappers/cciss.py @@ -1,3 +1,4 @@ +import os from falafel.core.plugins import mapper @@ -40,7 +41,9 @@ def get_cciss(context): } ''' - cciss_info = dict() + cci...
capturing cciss device from path
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ from distutils.core import setup -version = '1.4.3.3' +version = '1.5' LONG_DESCRIPTION = """ =====================================
Updating the versin in the setup.py
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ setup( include_package_data=True, zip_safe=False, keywords=['MBTiles', 'Mapnik'], - classifiers=['Programming Language :: Python :: 2.6', + classifiers=['Programming Language :: Python :: 3....
Change version python in stup
py
diff --git a/ldap_app.py b/ldap_app.py index <HASH>..<HASH> 100644 --- a/ldap_app.py +++ b/ldap_app.py @@ -42,9 +42,6 @@ class User(UserMixin): def get_id(self): return self.dn - def is_anonymous(self): - return False - # Declare a User Loader for Flask-Login. # Simply returns the User if ...
Update ldap_app.py to work with flask-login >= <I> flask-login changed UserMixin.is_anonymous from method to property. This property have the default value False.
py
diff --git a/pvlib/iotools/ecmwf_macc.py b/pvlib/iotools/ecmwf_macc.py index <HASH>..<HASH> 100644 --- a/pvlib/iotools/ecmwf_macc.py +++ b/pvlib/iotools/ecmwf_macc.py @@ -86,7 +86,7 @@ def get_ecmwf_macc(filename, params, startdate, stopdate, lookup_params=True, key. Please read the documentation in `Access ECMWF ...
Fix backwards path sep (#<I>) Fixes #<I>
py
diff --git a/tensorboard/plugins/hparams/summary_test.py b/tensorboard/plugins/hparams/summary_test.py index <HASH>..<HASH> 100644 --- a/tensorboard/plugins/hparams/summary_test.py +++ b/tensorboard/plugins/hparams/summary_test.py @@ -77,13 +77,16 @@ class SummaryTest(tf.test.TestCase): group_name="session_gro...
Work around hparams test non-determinism (#<I>)
py
diff --git a/pyemma/msm/tests/test_msm.py b/pyemma/msm/tests/test_msm.py index <HASH>..<HASH> 100644 --- a/pyemma/msm/tests/test_msm.py +++ b/pyemma/msm/tests/test_msm.py @@ -1012,7 +1012,14 @@ class TestMSMMinCountConnectivity(unittest.TestCase): dtraj = np.zeros(100, dtype=int) dtraj[np.random.randi...
do not overwrite the state we're trying to filter out by mincount_connectivity.
py
diff --git a/pywal/colors.py b/pywal/colors.py index <HASH>..<HASH> 100644 --- a/pywal/colors.py +++ b/pywal/colors.py @@ -6,6 +6,7 @@ import os import random import re import sys +import hashlib from . import theme from . import util @@ -86,12 +87,19 @@ def saturate_colors(colors, amount): def cache_fname(img,...
feat: hash file for cache filename rebase me
py
diff --git a/anyconfig/tests/cli.py b/anyconfig/tests/cli.py index <HASH>..<HASH> 100644 --- a/anyconfig/tests/cli.py +++ b/anyconfig/tests/cli.py @@ -90,11 +90,11 @@ class Test(unittest.TestCase): self.assertEquals(x, ref) def test_36_single_input__ignore_missing(self): - # null_cntnr = A.contai...
workaround for a pylint warning, no-self-use
py
diff --git a/tests/test_trainer.py b/tests/test_trainer.py index <HASH>..<HASH> 100755 --- a/tests/test_trainer.py +++ b/tests/test_trainer.py @@ -195,7 +195,9 @@ class TrainerIntegrationTest(unittest.TestCase): args = TrainingArguments("./regression") dict1, dict2 = args.to_dict(), trainer.args.to_di...
Fix flaky test in test_trainer (#<I>)
py
diff --git a/samples/oauth2_for_devices.py b/samples/oauth2_for_devices.py index <HASH>..<HASH> 100644 --- a/samples/oauth2_for_devices.py +++ b/samples/oauth2_for_devices.py @@ -16,16 +16,16 @@ flow = OAuth2WebServerFlow(CLIENT_ID, CLIENT_SECRET, " ".join(SCOPES)) # Step 1: get user code and verification URL # https...
Fix example to be Python3 compatible, use format() Both print() and format() are compatible from <I>. Also, format() is much nicer to use for internationalization since you can define the location of your substitutions. It works similarly to Java and .net's format() as well. Great stuff! Should I tackle the other e...
py
diff --git a/trimesh/interfaces/generic.py b/trimesh/interfaces/generic.py index <HASH>..<HASH> 100644 --- a/trimesh/interfaces/generic.py +++ b/trimesh/interfaces/generic.py @@ -29,12 +29,18 @@ class MeshScript: # windows has problems with multiple programs using open files so we close # them at the ...
Prefix temporary filenames with integers. This is to preserve ordering within Blender.
py
diff --git a/noseprogressive/tracebacks.py b/noseprogressive/tracebacks.py index <HASH>..<HASH> 100644 --- a/noseprogressive/tracebacks.py +++ b/noseprogressive/tracebacks.py @@ -41,7 +41,7 @@ def format_traceback(extracted_tb, function=None): """Return a pretty-printed editor shortcut...
Fixes template format to handle line_number properly if its None
py
diff --git a/future/tests/test_builtins.py b/future/tests/test_builtins.py index <HASH>..<HASH> 100644 --- a/future/tests/test_builtins.py +++ b/future/tests/test_builtins.py @@ -639,7 +639,7 @@ class BuiltinTest(unittest.TestCase): # raise IndexError # except: # self.assertEqual(len(...
Added test that fails without newint protection
py
diff --git a/Evtx/Nodes.py b/Evtx/Nodes.py index <HASH>..<HASH> 100644 --- a/Evtx/Nodes.py +++ b/Evtx/Nodes.py @@ -1280,13 +1280,13 @@ class WstringTypeNode(VariantTypeNode): def xml(self): # ensure this is a str, not unicode try: - return str(self.string()) + return str(sel...
fix edge case where there might be < or > in event log string
py
diff --git a/salt/master.py b/salt/master.py index <HASH>..<HASH> 100644 --- a/salt/master.py +++ b/salt/master.py @@ -667,8 +667,8 @@ class AESFuncs(object): mopts = dict(self.opts) file_roots = dict(mopts['file_roots']) envs = self._file_envs() - for env in file_roots: - i...
Fix bug in environment gathering on the master
py
diff --git a/pyemma/msm/tests/test_bayesian_hmsm.py b/pyemma/msm/tests/test_bayesian_hmsm.py index <HASH>..<HASH> 100644 --- a/pyemma/msm/tests/test_bayesian_hmsm.py +++ b/pyemma/msm/tests/test_bayesian_hmsm.py @@ -333,6 +333,17 @@ class TestBHMMSpecialCases(unittest.TestCase): assert np.isclose(bay_hmm.stat...
[TestBHMM] test for bhmm initialized with hmm of different stride
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -10,7 +10,7 @@ if "intersphinx_mapping" not in globals(): intersphinx_mapping.update({ - 'reference': ('https://crate.io/docs/crate/reference/', None), + 'reference': ('https://crate.io/docs/crate/re...
Fix documentation checks by adjusting intersphinx mapping
py
diff --git a/pkgconfig/pkgconfig.py b/pkgconfig/pkgconfig.py index <HASH>..<HASH> 100644 --- a/pkgconfig/pkgconfig.py +++ b/pkgconfig/pkgconfig.py @@ -59,8 +59,7 @@ def _convert_error(func): try: return func(*args, **kwargs) except OSError as e: - raise EnvironmentError("pkg-co...
Python2 compatible exception chaining we loose the inner stacktrace but I don't think it could be relevant here. Typically this would now print something like: ``` EnvironmentError: pkg-config is probably not installed. Could not run pkg-config: OSError(2, 'No such file or directory') ```
py
diff --git a/salt/states/mdadm.py b/salt/states/mdadm.py index <HASH>..<HASH> 100644 --- a/salt/states/mdadm.py +++ b/salt/states/mdadm.py @@ -98,3 +98,40 @@ def present(name, opts=None): ret['result'] = False return ret + + +def absent(name): + ''' + Verify that the raid is absent + + name + ...
Added absent function to mdadm state
py
diff --git a/django_cron/__init__.py b/django_cron/__init__.py index <HASH>..<HASH> 100644 --- a/django_cron/__init__.py +++ b/django_cron/__init__.py @@ -1,5 +1,5 @@ import logging -from datetime import timedelta, datetime +from datetime import timedelta import traceback import time @@ -100,9 +100,9 @@ class Cron...
querying with datetime.now on a timezone aware field throws a warning, fixing
py
diff --git a/edisgo/grid/network.py b/edisgo/grid/network.py index <HASH>..<HASH> 100644 --- a/edisgo/grid/network.py +++ b/edisgo/grid/network.py @@ -859,6 +859,38 @@ class Results: self._pfa_v_mag_pu = pypsa @property + def i_res(self): + """ + Current results from power flow analysis...
Add getter and setter for i_res
py
diff --git a/planet/cli/orders.py b/planet/cli/orders.py index <HASH>..<HASH> 100644 --- a/planet/cli/orders.py +++ b/planet/cli/orders.py @@ -15,7 +15,7 @@ from contextlib import asynccontextmanager import json import logging - +import sys import click import planet @@ -244,7 +244,10 @@ async def create(ctx, re...
Updated create with working logic in try/except.
py
diff --git a/demo/gptools_mds.py b/demo/gptools_mds.py index <HASH>..<HASH> 100644 --- a/demo/gptools_mds.py +++ b/demo/gptools_mds.py @@ -93,7 +93,7 @@ R_mid_GPC2 = N_R.data() t_R_GPC2 = N_R.dim_of().data() ok_idxs = (t_R_GPC2 >= flat_start) & (t_R_GPC2 <= flat_stop) t_R_GPC2 = t_R_GPC2[ok_idxs] -R_mid_GPC2 = R_mid...
Fixed selection of GPC2 points.
py
diff --git a/segno/writers.py b/segno/writers.py index <HASH>..<HASH> 100644 --- a/segno/writers.py +++ b/segno/writers.py @@ -569,7 +569,7 @@ def write_png(matrix, version, out, scale=1, border=None, color='#000', # Greyscale with alpha channel # <https://www.w3.org/TR/PNG/#11tRNS> ...
Removed comment since 1 became varaible trans_color which may take another value than 1
py
diff --git a/coveralls/api.py b/coveralls/api.py index <HASH>..<HASH> 100644 --- a/coveralls/api.py +++ b/coveralls/api.py @@ -2,7 +2,9 @@ import codecs import json import logging import os +import random import re +import sys import coverage import requests @@ -202,6 +204,21 @@ class Coveralls: verify...
feat(api): add workaround allowing job resubmission (#<I>) As the commit/other information doesn't change when performing a rebuild, resubmissions will fail with an HTTP <I> error. This adds a workaround for such cases, appending a random value to the id and attempting a resubmission with that.
py
diff --git a/Geometry/line.py b/Geometry/line.py index <HASH>..<HASH> 100644 --- a/Geometry/line.py +++ b/Geometry/line.py @@ -375,30 +375,33 @@ class Ray(Line): Returns a coincident Ray object. ''' return cls(segment.A,segment.B) - + + @property - def tail(self): + def...
swapped Ray tail,head -> head,tail
py
diff --git a/logbrowse/views.py b/logbrowse/views.py index <HASH>..<HASH> 100644 --- a/logbrowse/views.py +++ b/logbrowse/views.py @@ -264,6 +264,9 @@ def flightIndex(request, pilot=None): lat=latestGPSmsg.mavdatum_set.get(msgField__in=['lat','Lat']).value lon=latestGPSmsg.mavdatum_set.get(msg...
Fix bug where tlog lat longs were 1e7 too big on flight list view
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -122,7 +122,7 @@ setup( ext_modules = [jq_extension], cmdclass={"build_ext": jq_build_ext}, classifiers=[ - 'Development Status :: 4 - Beta', + 'Development Status :: 5 - Production/Stable', ...
Update development status classifier to Production/Stable
py
diff --git a/lib/webcomment_templates.py b/lib/webcomment_templates.py index <HASH>..<HASH> 100644 --- a/lib/webcomment_templates.py +++ b/lib/webcomment_templates.py @@ -556,8 +556,8 @@ class Template: avg_score_img = "stars-0-0.png" ranking_average = '<br /><b>' ranking_aver...
Fixed a bug (due to the introduction of the new i<I>n strategy) that occured when posting a review. Thanks to Jean-Yves.
py
diff --git a/acme_tiny.py b/acme_tiny.py index <HASH>..<HASH> 100644 --- a/acme_tiny.py +++ b/acme_tiny.py @@ -82,7 +82,7 @@ def get_crt(account_key, csr, acme_dir, log=LOGGER, CA=DEFAULT_CA): log.info("Registering account...") code, result = _send_signed_request(CA + "/acme/new-reg", { "resource": "...
damn python3 bytes-to-strings encoding gets you again...
py
diff --git a/wallace/command_line.py b/wallace/command_line.py index <HASH>..<HASH> 100755 --- a/wallace/command_line.py +++ b/wallace/command_line.py @@ -47,7 +47,7 @@ def deploy(): print_header() # Generate a unique id for this experiment. - id = "w" + str(uuid.uuid4())[0:18] + id = "w" + str(uuid.u...
Use longer ids for apps
py
diff --git a/annotationengine/api.py b/annotationengine/api.py index <HASH>..<HASH> 100644 --- a/annotationengine/api.py +++ b/annotationengine/api.py @@ -90,7 +90,7 @@ class Table(Resource): } table_name = table_name.lower() schema_type = data.get("schema_type") - ...
fix(ref_annotation): enforce spaces as underscores
py
diff --git a/django_q/tests/test_cluster.py b/django_q/tests/test_cluster.py index <HASH>..<HASH> 100644 --- a/django_q/tests/test_cluster.py +++ b/django_q/tests/test_cluster.py @@ -32,8 +32,10 @@ def test_redis_connection(r): @pytest.mark.django_db -def test_cluster_initial(): - c = Cluster() +def test_cluste...
Fixes Travis hang up New admin test introduced a task in the queue which was picked up by the cluster on Travis. Switching cluster test to different list key should prevent this.
py
diff --git a/awkward/type.py b/awkward/type.py index <HASH>..<HASH> 100644 --- a/awkward/type.py +++ b/awkward/type.py @@ -42,24 +42,11 @@ def _str(tpe, indent=""): else: return indent + str(tpe) -try: - from pandas.api.extensions import ExtensionDtype - type_obj = ExtensionDtype -except ImportErr...
[WIP] reverting awkward/type.py to original version (changes weren't needed...)
py
diff --git a/mysql2pgsql/lib/mysql_reader.py b/mysql2pgsql/lib/mysql_reader.py index <HASH>..<HASH> 100644 --- a/mysql2pgsql/lib/mysql_reader.py +++ b/mysql2pgsql/lib/mysql_reader.py @@ -137,7 +137,7 @@ class MysqlReader(object): 'type': field_type, 'length': int(length) if len...
fixing #<I> - i messed up with a logic
py
diff --git a/semantic_release/hvcs.py b/semantic_release/hvcs.py index <HASH>..<HASH> 100644 --- a/semantic_release/hvcs.py +++ b/semantic_release/hvcs.py @@ -349,13 +349,13 @@ class Gitlab(Base): return True +@LoggedFunction(logger) def get_hvcs() -> Base: """Get HVCS helper class :raises Imp...
fix(hvcs): convert get_hvcs to use LoggedFunction This was missed in <I>fb0c<I>e<I>b<I>d1dacf<I>ea<I>b5b<I>f
py
diff --git a/cleverhans/attacks.py b/cleverhans/attacks.py index <HASH>..<HASH> 100644 --- a/cleverhans/attacks.py +++ b/cleverhans/attacks.py @@ -210,6 +210,9 @@ class Attack(object): # the set of arguments that are passed as placeholders to the graph # on each call, and can change without constructing a new...
This PR closes #<I> (generic fix to the structural args problems)
py
diff --git a/tests/test_queries.py b/tests/test_queries.py index <HASH>..<HASH> 100644 --- a/tests/test_queries.py +++ b/tests/test_queries.py @@ -189,7 +189,9 @@ def test_mapping_resolver(): "Query": {"user": lambda *_: {"first_name": "Joe"}}, "User": {"firstName": resolve_to("first_name")}, } +...
Equalize ugliness factor in tests
py
diff --git a/python/mxnet/metric.py b/python/mxnet/metric.py index <HASH>..<HASH> 100644 --- a/python/mxnet/metric.py +++ b/python/mxnet/metric.py @@ -81,12 +81,12 @@ class EvalMetric(object): if self.output_names is not None: pred = [pred[name] for name in self.output_names] else: - ...
Fix Python 3 compatibilities (#<I>)
py
diff --git a/tests/__init__.py b/tests/__init__.py index <HASH>..<HASH> 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -3784,11 +3784,19 @@ class BaseItemTest(EWSTest): continue if f.name == 'reminder_due_by': if new is None: - # EWS does not ...
Also apply the 'reminder_due_by' workaround here
py
diff --git a/hypermap/aggregator/models.py b/hypermap/aggregator/models.py index <HASH>..<HASH> 100644 --- a/hypermap/aggregator/models.py +++ b/hypermap/aggregator/models.py @@ -1294,9 +1294,11 @@ def endpointlist_post_save(instance, *args, **kwargs): def endpoint_post_save(instance, *args, **kwargs): + signal...
Prevent recursion with same endpoint url (#<I>) * Prevent recursion with same endpoint url Found an issue. When a new endpoint list is added, an infinite loop with the first endpoint url from the file is generated. <URL>
py
diff --git a/tests/jenkins.py b/tests/jenkins.py index <HASH>..<HASH> 100644 --- a/tests/jenkins.py +++ b/tests/jenkins.py @@ -169,6 +169,7 @@ def echo_parseable_environment(options): 'SALT_PR_GIT_URL={0}'.format(pr_details['head']['repo']['clone_url']), 'SALT_PR_GIT_BRANCH={0}'.format(pr_deta...
And also the base branch of the incoming PR's branch
py
diff --git a/programs/demag_gui.py b/programs/demag_gui.py index <HASH>..<HASH> 100755 --- a/programs/demag_gui.py +++ b/programs/demag_gui.py @@ -4156,7 +4156,10 @@ class Demag_GUI(wx.Frame): Data[s]['mag_meas_data_index'].append( cnt) # magic_measurement file intex ...
in demag gui check for both kinds of of measurement name, fixes #<I>
py
diff --git a/aioxmpp/stream.py b/aioxmpp/stream.py index <HASH>..<HASH> 100644 --- a/aioxmpp/stream.py +++ b/aioxmpp/stream.py @@ -2361,7 +2361,7 @@ class StanzaStream: if response.counter is not None: self.sm_ack(response.counter) - self._clear_unacked(StanzaS...
stream: do not set (unused) exception into DISCONNECTED token The exception is not used by update_futures() and the one which was set in this specific case is inconsistent with the exception types used normally for DISCONNECTED state.
py
diff --git a/librosa/decompose.py b/librosa/decompose.py index <HASH>..<HASH> 100644 --- a/librosa/decompose.py +++ b/librosa/decompose.py @@ -12,7 +12,6 @@ import librosa.core from . import cache -@cache def decompose(S, n_components=None, transformer=None, sort=False): """Decompose a feature matrix.
no caching when the input has a call method
py
diff --git a/heron/common/src/python/utils/proc.py b/heron/common/src/python/utils/proc.py index <HASH>..<HASH> 100644 --- a/heron/common/src/python/utils/proc.py +++ b/heron/common/src/python/utils/proc.py @@ -22,9 +22,9 @@ def _stream_process_fileno(fileno, handler): """ while 1: line = fileno.readline() +...
Be explicit about subprocess pipe's EOF. (#<I>)
py
diff --git a/ReText/config.py b/ReText/config.py index <HASH>..<HASH> 100644 --- a/ReText/config.py +++ b/ReText/config.py @@ -1,6 +1,7 @@ -from ReText import QtCore, QtWidgets, globalSettings +from ReText import QtCore, QtGui, QtWidgets, globalSettings Qt = QtCore.Qt +QIcon = QtGui.QIcon (QCheckBox, QDialog, QDial...
Apply icon theme when config dialog is closed
py
diff --git a/pymc3/distributions/__init__.py b/pymc3/distributions/__init__.py index <HASH>..<HASH> 100644 --- a/pymc3/distributions/__init__.py +++ b/pymc3/distributions/__init__.py @@ -24,7 +24,6 @@ from .continuous import ExGaussian from .continuous import VonMises from .continuous import SkewNormal from .continu...
BUG Stray import of Rice.
py
diff --git a/benchexec/tablegenerator/util.py b/benchexec/tablegenerator/util.py index <HASH>..<HASH> 100644 --- a/benchexec/tablegenerator/util.py +++ b/benchexec/tablegenerator/util.py @@ -204,6 +204,11 @@ def format_number(s, number_of_significant_digits, max_digits_after_decimal, isT # Units should not occur i...
Convert float values in formatting to uniform float representation.
py
diff --git a/test/test_publish.py b/test/test_publish.py index <HASH>..<HASH> 100644 --- a/test/test_publish.py +++ b/test/test_publish.py @@ -113,4 +113,4 @@ def test_publish(tmpdir): index = util.load_json(join(tmpdir, 'html', 'index.json')) assert index['params']['branch'] == ['master', 'some-branch'] ...
TST: fix py3 bug in test_publish
py
diff --git a/src/guake/guake_app.py b/src/guake/guake_app.py index <HASH>..<HASH> 100644 --- a/src/guake/guake_app.py +++ b/src/guake/guake_app.py @@ -373,7 +373,9 @@ class Guake(SimpleGladeApp): if percent < 1: percent = 1 - self.client.set_int(KEY('/general/window_height'), int(percent)...
#<I> wasn't applied
py
diff --git a/meshio/stl_io.py b/meshio/stl_io.py index <HASH>..<HASH> 100644 --- a/meshio/stl_io.py +++ b/meshio/stl_io.py @@ -37,9 +37,20 @@ def read_buffer(f): # Now, all facets contain the point coordinate. Try to identify individual # points and build the data arrays. # TODO equip `unique()` with a t...
fix order in stl read
py
diff --git a/molecule/provisioners.py b/molecule/provisioners.py index <HASH>..<HASH> 100644 --- a/molecule/provisioners.py +++ b/molecule/provisioners.py @@ -267,7 +267,10 @@ class VagrantProvisioner(BaseProvisioner): def destroy(self): self._write_vagrant_file() - self._vagrant.destroy() + ...
make destroy only work on running VMs
py
diff --git a/scot/backend/sklearn.py b/scot/backend/sklearn.py index <HASH>..<HASH> 100644 --- a/scot/backend/sklearn.py +++ b/scot/backend/sklearn.py @@ -4,6 +4,8 @@ from sklearn.decomposition import FastICA, PCA +from . import builtin + from .. import config from .. import datatools @@ -24,11 +26,11 @@ def w...
SCoT : sklearn backend now updates the builtin backend, instead of replacing it. Former-commit-id: 3fc<I>a<I>dc<I>d<I>d<I>c<I>e<I>a3c
py
diff --git a/ofxclient/client.py b/ofxclient/client.py index <HASH>..<HASH> 100644 --- a/ofxclient/client.py +++ b/ofxclient/client.py @@ -142,7 +142,7 @@ class Client: h.putheader('Content-Length', len(query)) h.putheader('Connection', 'Keep-Alive') if self.accept: - h.putheader('...
issue #<I> - fix typo in previous commit
py
diff --git a/siphon/cdmr/ncstream.py b/siphon/cdmr/ncstream.py index <HASH>..<HASH> 100644 --- a/siphon/cdmr/ncstream.py +++ b/siphon/cdmr/ncstream.py @@ -30,20 +30,25 @@ def read_ncstream_messages(fobj): break if magic == MAGIC_HEADER: + log.debug('Header chunk') message...
Add debug logging for ncstream.
py
diff --git a/dashed/models.py b/dashed/models.py index <HASH>..<HASH> 100644 --- a/dashed/models.py +++ b/dashed/models.py @@ -285,6 +285,10 @@ class Database(Model, AuditMixinNullable): Grain('Time Column', '{col}'), Grain('week', "date_trunc('week', CAST({col} AS DATE))"), ...
Add week ending and week start to grain
py
diff --git a/umbra/tests/testsUmbra/testsGlobals/testsUiConstants.py b/umbra/tests/testsUmbra/testsGlobals/testsUiConstants.py index <HASH>..<HASH> 100644 --- a/umbra/tests/testsUmbra/testsGlobals/testsUiConstants.py +++ b/umbra/tests/testsUmbra/testsGlobals/testsUiConstants.py @@ -367,6 +367,7 @@ class UiConstantsTest...
Implement units tests to ensure "Crittercism" Id is the correct one.
py
diff --git a/cocaine/detail/service.py b/cocaine/detail/service.py index <HASH>..<HASH> 100644 --- a/cocaine/detail/service.py +++ b/cocaine/detail/service.py @@ -325,13 +325,13 @@ class BaseService(object): self.disconnect() def on_read(self, read_bytes): - self.log.debug("read %s", read_bytes) ...
[Logs] Limit logging messages about chunks and payload
py
diff --git a/demosys/scene/loaders/gltf.py b/demosys/scene/loaders/gltf.py index <HASH>..<HASH> 100644 --- a/demosys/scene/loaders/gltf.py +++ b/demosys/scene/loaders/gltf.py @@ -601,6 +601,7 @@ class GLTFNode: class GLTFMaterial: def __init__(self, data): self.name = data.get('name') + self.doubl...
Read doubleSided from GLTF material
py
diff --git a/tests/test_Line.py b/tests/test_Line.py index <HASH>..<HASH> 100755 --- a/tests/test_Line.py +++ b/tests/test_Line.py @@ -175,9 +175,9 @@ class LinePropertiesTestCase(unittest.TestCase): l.length def testLinePropertyNormal(self): - i,j,_ = Point.units() - l,_,_ = Line.unit...
expanded testLineInstanceMethodIntersection, reworded testLinePropertyNormal
py
diff --git a/escpos/impl/bematech.py b/escpos/impl/bematech.py index <HASH>..<HASH> 100644 --- a/escpos/impl/bematech.py +++ b/escpos/impl/bematech.py @@ -64,6 +64,11 @@ class _ESCBematech(_CommandSet): MP-4200 TH Programmer’s Manual, revision 1.0. """ + def set_expanded(self, flag): + onoff = '\x...
Added set_expanded for Bematech ESC/Bematech
py
diff --git a/salt/modules/debian_ip.py b/salt/modules/debian_ip.py index <HASH>..<HASH> 100644 --- a/salt/modules/debian_ip.py +++ b/salt/modules/debian_ip.py @@ -615,7 +615,7 @@ def _parse_interfaces(interface_files=None): # Return a sorted list of the keys for bond, bridge and ethtool options to # ensure a ...
fixes PEP8 W<I> and E<I>- thanks linting test
py
diff --git a/gluish/esindex.py b/gluish/esindex.py index <HASH>..<HASH> 100644 --- a/gluish/esindex.py +++ b/gluish/esindex.py @@ -235,6 +235,11 @@ class CopyToIndex(luigi.Task): """ Number of event log entries in the marker index. 0: unlimited. """ return 0 + @property + def timeout(self): + ...
added timeout option to CopyToIndex
py
diff --git a/tests/integration/test_wild.py b/tests/integration/test_wild.py index <HASH>..<HASH> 100644 --- a/tests/integration/test_wild.py +++ b/tests/integration/test_wild.py @@ -1,4 +1,6 @@ import pytest +from six.moves import xmlrpc_client + requests = pytest.importorskip("requests") import vcr @@ -72,3 +74,...
test for xmlrpclib to make sure #<I> is actually fixed.
py
diff --git a/salt/modules/dockerio.py b/salt/modules/dockerio.py index <HASH>..<HASH> 100644 --- a/salt/modules/dockerio.py +++ b/salt/modules/dockerio.py @@ -273,10 +273,9 @@ def _get_client(version=None, timeout=None): # only if defined by user. kwargs['timeout'] = timeout client = docker.Clien...
Align versions of client and docker-daemon by default.
py
diff --git a/djournal/admin.py b/djournal/admin.py index <HASH>..<HASH> 100644 --- a/djournal/admin.py +++ b/djournal/admin.py @@ -9,6 +9,15 @@ from djournal.models import Entry class EntryAdmin(admin.ModelAdmin): exclude = ('author', 'created', 'modified') + fieldsets = ( + ('Meta', { + 'f...
Define fieldsets for entry model admin.
py
diff --git a/geocoder/geonames.py b/geocoder/geonames.py index <HASH>..<HASH> 100644 --- a/geocoder/geonames.py +++ b/geocoder/geonames.py @@ -98,10 +98,12 @@ class GeonamesQuery(MultipleResultsQuery): supported_kwargs = set(( 'name', 'name_equals', 'name_startsWith', 'startRow', 'cou...
added some extra kwargs lost in translation
py
diff --git a/resttest.py b/resttest.py index <HASH>..<HASH> 100644 --- a/resttest.py +++ b/resttest.py @@ -1,3 +1,4 @@ +import sys import os import operator import argparse @@ -646,7 +647,7 @@ def execute_tests(testset): else: print u'Test Group '+group+u' SUCCEEDED: '+ str((test_count-failures...
Exit code now is equal to number of failures.
py
diff --git a/spacy/about.py b/spacy/about.py index <HASH>..<HASH> 100644 --- a/spacy/about.py +++ b/spacy/about.py @@ -1,6 +1,6 @@ # fmt: off __title__ = "spacy" -__version__ = "3.2.0.dev0" +__version__ = "3.2.0" __download_url__ = "https://github.com/explosion/spacy-models/releases/download" __compatibility__ = "h...
Set version to <I> (#<I>)
py
diff --git a/flatdict.py b/flatdict.py index <HASH>..<HASH> 100644 --- a/flatdict.py +++ b/flatdict.py @@ -478,7 +478,9 @@ class FlatterDict(FlatDict): out.append(subset[k].as_dict()) return out - if sys.version_info[0:2] <= (3, 5): + # Python prior 3.6 don't guarantee ...
added a comment and fixed sort logic for python < <I>
py
diff --git a/aiida_cp2k/calculations/__init__.py b/aiida_cp2k/calculations/__init__.py index <HASH>..<HASH> 100644 --- a/aiida_cp2k/calculations/__init__.py +++ b/aiida_cp2k/calculations/__init__.py @@ -88,6 +88,8 @@ class Cp2kCalculation(CalcJob): spec.output('output_bands', valid_type=BandsData, required=Fal...
Enable dynamic outputs. (#<I>) Enable dynamic outputs to allow custom parsers creating extra output nodes. For example, a StructureData for each converged NEB replica geometry.
py
diff --git a/openquake/logs.py b/openquake/logs.py index <HASH>..<HASH> 100644 --- a/openquake/logs.py +++ b/openquake/logs.py @@ -30,7 +30,6 @@ import threading import kombu from openquake.signalling import AMQPMessageConsumer, amqp_connect -logging.basicConfig() LEVELS = {'debug': logging.DEBUG, 'in...
logs.py: do not do basicConfig() - avoid adding unneeded handler to root
py
diff --git a/isort/isort.py b/isort/isort.py index <HASH>..<HASH> 100644 --- a/isort/isort.py +++ b/isort/isort.py @@ -55,9 +55,15 @@ class SortImports(object): if setting_overrides: self.config = settings.default.copy() self.config.update(setting_overrides) - self.config['inde...
Implement support for integer based indents
py
diff --git a/tests/test_geonetwork.py b/tests/test_geonetwork.py index <HASH>..<HASH> 100644 --- a/tests/test_geonetwork.py +++ b/tests/test_geonetwork.py @@ -7,6 +7,8 @@ from metadown.collectors.geonetwork import GeoNetworkCollector from metadown.downloader import XmlDownloader class GeoNetworkTest(unittest.TestCa...
Move Geonetwork test inside of a function so it doesn't run everytime
py
diff --git a/scvelo/plotting/scatter.py b/scvelo/plotting/scatter.py index <HASH>..<HASH> 100644 --- a/scvelo/plotting/scatter.py +++ b/scvelo/plotting/scatter.py @@ -334,6 +334,7 @@ def scatter(adata=None, x=None, y=None, basis=None, vkey=None, color=None, use_r plot_density(x, y, show_density, ax=ax)...
default linfit w/o intercept for phase potrait
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -33,7 +33,6 @@ tests_require = [ "remotecv", "hiredis", "pyssim", - "celery", "cairosvg", ]
Remove unused celery dependency No usage of that library found anywhere in the code.
py
diff --git a/setuptools/command/editable_wheel.py b/setuptools/command/editable_wheel.py index <HASH>..<HASH> 100644 --- a/setuptools/command/editable_wheel.py +++ b/setuptools/command/editable_wheel.py @@ -543,16 +543,22 @@ class _EditableNamespaceFinder: # PathEntryFinder raise ImportError @classmeth...
Add missing methods to PathEntryFinder
py
diff --git a/ddsc/cmdparser.py b/ddsc/cmdparser.py index <HASH>..<HASH> 100644 --- a/ddsc/cmdparser.py +++ b/ddsc/cmdparser.py @@ -301,7 +301,8 @@ class CommandParser(object): Add 'share' command for adding view only project permissions and sending email via another service. :param share_func: functio...
remove stray handover in help
py
diff --git a/xhtml2pdf/parser.py b/xhtml2pdf/parser.py index <HASH>..<HASH> 100644 --- a/xhtml2pdf/parser.py +++ b/xhtml2pdf/parser.py @@ -221,8 +221,7 @@ def getCSSAttrCacheKey(node): _id = v elif k == 'style': _st = v - return "%s#%s#%s#%s#%s" % (node.tagName, id(node.parentNode)...
Fix a sneaky bug in the css cache When you call pisaParser the first time it's okay but on subsequent calls the pdf is pseudo-randomly corrupted. 1. We need node.tagName in getCSSAttrCacheKey. 2. CSSAttrCache in pisaParser() should be global else initialization has no effect.
py
diff --git a/tests/test_awslambda/test_lambda.py b/tests/test_awslambda/test_lambda.py index <HASH>..<HASH> 100644 --- a/tests/test_awslambda/test_lambda.py +++ b/tests/test_awslambda/test_lambda.py @@ -150,7 +150,7 @@ def test_invoke_requestresponse_function_with_arn(): Payload=json.dumps(in_data), ) -...
Update new lambda test to work with updated status codes. CC #<I>.
py
diff --git a/examples/heat_demand_example.py b/examples/heat_demand_example.py index <HASH>..<HASH> 100644 --- a/examples/heat_demand_example.py +++ b/examples/heat_demand_example.py @@ -28,7 +28,22 @@ import pandas as pd import demandlib.bdew as bdew # read example temperature series -datapath = os.path.join(os.ge...
Add message if example data file is not found
py
diff --git a/HydraServer/python/HydraServer/lib/users.py b/HydraServer/python/HydraServer/lib/users.py index <HASH>..<HASH> 100644 --- a/HydraServer/python/HydraServer/lib/users.py +++ b/HydraServer/python/HydraServer/lib/users.py @@ -13,7 +13,8 @@ # You should have received a copy of the GNU General Public License #...
Fix import in users.py after including NoResultFound
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ long_description = from_file('README.rst', 'See https://bidict.readthedocs.org') tests_require = [ 'coverage==4.4.1', 'flake8==3.2.1', - 'hypothesis==3.11.3', + 'hypothesis==3.11.4', 'hypot...
update to latest hypothesis (<I>)
py
diff --git a/bcbio/bam/fasta.py b/bcbio/bam/fasta.py index <HASH>..<HASH> 100644 --- a/bcbio/bam/fasta.py +++ b/bcbio/bam/fasta.py @@ -36,7 +36,7 @@ def strip_transcript_versions(fasta, out_file): with open(fasta) as in_handle: for line in in_handle: if line.startswith...
Avoid an extra newline when stripping transcript versions.
py
diff --git a/tests/test_script.py b/tests/test_script.py index <HASH>..<HASH> 100644 --- a/tests/test_script.py +++ b/tests/test_script.py @@ -1,7 +1,14 @@ from __future__ import absolute_import -import sys from nose import SkipTest + +# check for flask-script before importing things that fail if it's not present +...
Move check for flask-script before importing ManageAssets
py
diff --git a/src/wormhole/cli/cli.py b/src/wormhole/cli/cli.py index <HASH>..<HASH> 100644 --- a/src/wormhole/cli/cli.py +++ b/src/wormhole/cli/cli.py @@ -168,6 +168,11 @@ TorArgs = _compose( ), ) +@wormhole.command() +@click.pass_context +def help(context, **kwargs): + print(context.find_root()...
'wormhole help' should print the same thing as 'wormhole --help' refs #<I>
py
diff --git a/tornado/test/httpclient_test.py b/tornado/test/httpclient_test.py index <HASH>..<HASH> 100644 --- a/tornado/test/httpclient_test.py +++ b/tornado/test/httpclient_test.py @@ -550,7 +550,12 @@ class SyncHTTPClientTest(unittest.TestCase): def tearDown(self): def stop_server(): self....
Delay shutdown of the IOLoop in sync HTTPClient test. This appears to cause spurious logs in HTTP/2 tests.
py
diff --git a/keyring/backends/Windows.py b/keyring/backends/Windows.py index <HASH>..<HASH> 100644 --- a/keyring/backends/Windows.py +++ b/keyring/backends/Windows.py @@ -156,9 +156,9 @@ class RegistryKeyring(KeyringBackend): super(RegistryKeyring, self).__init__() try: - from backends im...
Correct import of _win_crypto helper
py
diff --git a/saltcloud/utils/__init__.py b/saltcloud/utils/__init__.py index <HASH>..<HASH> 100644 --- a/saltcloud/utils/__init__.py +++ b/saltcloud/utils/__init__.py @@ -295,6 +295,8 @@ def deploy_script(host, port=22, timeout=900, username='root', if script: log.debug('Executing /tmp/d...
If using bootstrap-salt-minion, make sure to tell it about /tmp/
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 @@ -281,7 +281,7 @@ class ContextMaker(object): ctxs = [] for rup in src.iter_ruptures(shift_hypo=self.shift_hy...
Fixed calc/disagg_test.py
py
diff --git a/parsers/adc2004melody_parser.py b/parsers/adc2004melody_parser.py index <HASH>..<HASH> 100755 --- a/parsers/adc2004melody_parser.py +++ b/parsers/adc2004melody_parser.py @@ -84,7 +84,8 @@ def process_folder(in_dir, out_dir): f0_files += pyjams.util.find_with_extension(in_dir, '.txt', depth=1) f...
safe filepath creation for jams file
py
diff --git a/src/pyokit/util/progressIndicator.py b/src/pyokit/util/progressIndicator.py index <HASH>..<HASH> 100644 --- a/src/pyokit/util/progressIndicator.py +++ b/src/pyokit/util/progressIndicator.py @@ -28,6 +28,20 @@ import sys import unittest import StringIO +# pyokit imports +from pyokit.common.pyokitError i...
added exception class for progress indicator errors; improved style a bit in pyokit source file
py
diff --git a/clearly/server.py b/clearly/server.py index <HASH>..<HASH> 100644 --- a/clearly/server.py +++ b/clearly/server.py @@ -90,8 +90,10 @@ class ClearlyServer(clearly_pb2_grpc.ClearlyServerServicer): else: raise ValueError('unknown event') keys = klass.DESCRIPTOR.fields_by_name.key...
fix(server) celery worker does not have as_dict
py
diff --git a/edeposit/amqp/settings.py b/edeposit/amqp/settings.py index <HASH>..<HASH> 100644 --- a/edeposit/amqp/settings.py +++ b/edeposit/amqp/settings.py @@ -30,18 +30,22 @@ RABBITMQ_PORT = '5672' #: RABBITMQ_USER_NAME = 'guest' #: RABBITMQ_USER_PASSWORD = 'guest' #: +# aleph's settings RABBITMQ_ALEPH_VIRT...
Added comments to settings.py.
py
diff --git a/tests/test_widgets.py b/tests/test_widgets.py index <HASH>..<HASH> 100644 --- a/tests/test_widgets.py +++ b/tests/test_widgets.py @@ -181,8 +181,6 @@ class TestTempyList(unittest.TestCase): self.assertIsInstance(li[1][1], Ul) self.assertEqual(len(li[1][1]), 3) self.assertIsInstan...
dicts are ordered by default from Python<I>?
py