diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/test/test_BEI.py b/test/test_BEI.py index <HASH>..<HASH> 100644 --- a/test/test_BEI.py +++ b/test/test_BEI.py @@ -19,6 +19,18 @@ class TestBEIConstructorHappyPath(): bei = ibei.models.BEI(**valid_constructor_args) + @pytest.mark.parametrize("argname", [ + "energy_bound", ...
Test constructor args that can equal zero
py
diff --git a/factordb/factordb.py b/factordb/factordb.py index <HASH>..<HASH> 100644 --- a/factordb/factordb.py +++ b/factordb/factordb.py @@ -4,7 +4,7 @@ from __future__ import print_function, unicode_literals import requests -ENDPOINT = "https://factordb.com/api" +ENDPOINT = "http://factordb.com/api" class ...
Fix endpoint URL not to use https #5
py
diff --git a/hypermap/aggregator/tasks.py b/hypermap/aggregator/tasks.py index <HASH>..<HASH> 100644 --- a/hypermap/aggregator/tasks.py +++ b/hypermap/aggregator/tasks.py @@ -236,11 +236,12 @@ def index_service(self, service): ) count = 0 + for layer in layer_to_process: # update state...
Indexing all layers and all layers in a service is done by using the cache
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ from setuptools import setup from subprocess import call -class InstallCommand(install): +class InstallCommand(install, object): def run(self): bash_completion = os.path.expanduser( ...
Compatibility with python <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,10 +3,14 @@ from setuptools import setup, find_packages import os import re +import io -def read(*names): - return open(os.path.join(os.path.dirname(__file__), *names)).read() +def read(*names, **kwargs): + re...
Decode as utf8 when reading whatever.
py
diff --git a/spyder/widgets/tests/test_github_backend.py b/spyder/widgets/tests/test_github_backend.py index <HASH>..<HASH> 100644 --- a/spyder/widgets/tests/test_github_backend.py +++ b/spyder/widgets/tests/test_github_backend.py @@ -11,9 +11,15 @@ Taken from the QCrash Project: https://github.com/ColinDuquesnoy/QCra...
Testing: Skip test_store_user_credentials in our CIs and Linux
py
diff --git a/buildbot_travis/runner.py b/buildbot_travis/runner.py index <HASH>..<HASH> 100644 --- a/buildbot_travis/runner.py +++ b/buildbot_travis/runner.py @@ -18,6 +18,9 @@ from twisted.internet.threads import deferToThread from buildbot_travis.steps.create_steps import SetupVirtualEnv from buildbot_travis.trav...
fixes for py3. The whole story is not yet there..
py
diff --git a/mutagen/wave.py b/mutagen/wave.py index <HASH>..<HASH> 100644 --- a/mutagen/wave.py +++ b/mutagen/wave.py @@ -92,12 +92,13 @@ class WaveStreamInfo(StreamInfo): self.bitrate = self.channels * block_align * self.sample_rate # Calculate duration + self._number_of_samples = 0 ...
wave: make sure _number_of_samples is always defined
py
diff --git a/anchore/anchore_image_db.py b/anchore/anchore_image_db.py index <HASH>..<HASH> 100644 --- a/anchore/anchore_image_db.py +++ b/anchore/anchore_image_db.py @@ -39,7 +39,7 @@ class AnchoreImageDB(object): def __init__(self, imagerootdir): self.initialized = False self.imagerootdir = ima...
Adds version property to AnchoreImageDB as dict with anchore and db versions
py
diff --git a/shap/models/_teacher_forcing_logits.py b/shap/models/_teacher_forcing_logits.py index <HASH>..<HASH> 100644 --- a/shap/models/_teacher_forcing_logits.py +++ b/shap/models/_teacher_forcing_logits.py @@ -53,6 +53,15 @@ class TeacherForcingLogits(Model): else: return variables.to(device)...
added calculation of log odds functionality from logits
py
diff --git a/test/test_timeseries.py b/test/test_timeseries.py index <HASH>..<HASH> 100644 --- a/test/test_timeseries.py +++ b/test/test_timeseries.py @@ -64,7 +64,7 @@ class TestTimeSeriesMethods(TimeSeriesTestCase): rdd = self.sc.parallelize([(0, array([1, 2, 3, 4, 5]))]) data = TimeSeries(rdd).detr...
fixed detrending test in test_timeseries.py
py
diff --git a/tensorflow_datasets/text/multi_nli.py b/tensorflow_datasets/text/multi_nli.py index <HASH>..<HASH> 100644 --- a/tensorflow_datasets/text/multi_nli.py +++ b/tensorflow_datasets/text/multi_nli.py @@ -63,8 +63,9 @@ class MultiNLIConfig(tfds.core.BuilderConfig): **kwargs: keyword arguments forwarded to ...
Add release notes for multi_nli
py
diff --git a/parsimonious/expressions.py b/parsimonious/expressions.py index <HASH>..<HASH> 100644 --- a/parsimonious/expressions.py +++ b/parsimonious/expressions.py @@ -6,7 +6,7 @@ These do the parsing. # TODO: Make sure all symbol refs are local--not class lookups or # anything--for speed. And kill all the dots. ...
replace getargspec with getfullargspec `getargspec()` is deprecated. `getfullargspec()` is supposed to be a drop in replacement for most use cases, expanding the return value of `getargspec()` to include function annotations and keyword-only parameters. The exact behavior changed in <I> and again in <I>, so if this b...
py
diff --git a/angr/procedures/libc/strchr.py b/angr/procedures/libc/strchr.py index <HASH>..<HASH> 100644 --- a/angr/procedures/libc/strchr.py +++ b/angr/procedures/libc/strchr.py @@ -30,6 +30,14 @@ class strchr(angr.SimProcedure): a = a.annotate(MultiwriteAnnotation()) self.state.add_constrain...
Strchr: Ensure that the string is long enough to include the found character (#<I>) * Strchr: Ensure that the string is long enough to include the found character * strchr: Fix search for NULL byte * strchr: Push the handling of NULL into the constraint
py
diff --git a/symbols/var.py b/symbols/var.py index <HASH>..<HASH> 100644 --- a/symbols/var.py +++ b/symbols/var.py @@ -49,6 +49,7 @@ class SymbolVAR(Symbol): self.accessed = False # Where this object has been accessed (if false it might be not compiled) self.caseins = OPTIONS.case_insensitive.value ...
Adds new property: scopeREF Referente to the scope holding this entry.
py
diff --git a/mrq/job.py b/mrq/job.py index <HASH>..<HASH> 100644 --- a/mrq/job.py +++ b/mrq/job.py @@ -385,6 +385,8 @@ class Job(object): if self.id is None: return + context.metric("jobs.status.%s" % status) + if self.stored is False and self.statuses_no_storage is not None and ...
Send status metrics even when job is not stored
py
diff --git a/tests/datetime_test.py b/tests/datetime_test.py index <HASH>..<HASH> 100644 --- a/tests/datetime_test.py +++ b/tests/datetime_test.py @@ -75,3 +75,7 @@ def test_timedelta_arithmetics(): # compare vaex to numerical results assert diff_dev_hours.tolist() == df['diff_dev_hours'].values.tolist() ...
Improve unit-test for timedelta operations: exposes a bug.
py
diff --git a/shinken/modules/livestatus_broker/livestatus_broker.py b/shinken/modules/livestatus_broker/livestatus_broker.py index <HASH>..<HASH> 100644 --- a/shinken/modules/livestatus_broker/livestatus_broker.py +++ b/shinken/modules/livestatus_broker/livestatus_broker.py @@ -943,6 +943,7 @@ class Livestatus_broker(B...
fix: livestatus_broker: restored do_stop() on exit.
py
diff --git a/errordite/__init__.py b/errordite/__init__.py index <HASH>..<HASH> 100644 --- a/errordite/__init__.py +++ b/errordite/__init__.py @@ -4,7 +4,7 @@ Custom log handler for posting errors to errordite (www.errordite.com). Dependencies: Requests (http://docs.python-requests.org) """ __title__ = 'errordite' -...
Bumps version to <I> (uploaded to PyPI).
py
diff --git a/web3/utils/transactions.py b/web3/utils/transactions.py index <HASH>..<HASH> 100644 --- a/web3/utils/transactions.py +++ b/web3/utils/transactions.py @@ -203,7 +203,7 @@ def prepare_replacement_transaction(web3, current_transaction, new_transaction): new_transaction = assoc(new_transaction, 'nonce...
Resend tx api: ensure gas price higher
py
diff --git a/templated_mail/mail.py b/templated_mail/mail.py index <HASH>..<HASH> 100644 --- a/templated_mail/mail.py +++ b/templated_mail/mail.py @@ -3,9 +3,10 @@ from django.contrib.sites.shortcuts import get_current_site from django.core import mail from django.template.context import make_context from django.tem...
super needs also extend on ContentMixin
py
diff --git a/fcn/utils.py b/fcn/utils.py index <HASH>..<HASH> 100644 --- a/fcn/utils.py +++ b/fcn/utils.py @@ -118,9 +118,13 @@ def label_accuracy_score(label_trues, label_preds, n_class): for lt, lp in zip(label_trues, label_preds): hist += _fast_hist(lt.flatten(), lp.flatten(), n_class) acc = np.di...
Ignore np warnings by np.errstate(..='ignore')
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -25,7 +25,6 @@ setup( install_requires=[ "rackspace-novaclient", "python-swiftclient", - "python-keystoneclient", "python-cloudlb", ],...
Removed dependency on keystoneclient.
py
diff --git a/beekeeper/api.py b/beekeeper/api.py index <HASH>..<HASH> 100644 --- a/beekeeper/api.py +++ b/beekeeper/api.py @@ -8,6 +8,7 @@ from __future__ import unicode_literals, print_function import copy from functools import partial +from keyword import iskeyword from beekeeper.variables import Variables fr...
Making changes to avoid objects/actions with reserved names
py
diff --git a/ca/django_ca/admin.py b/ca/django_ca/admin.py index <HASH>..<HASH> 100644 --- a/ca/django_ca/admin.py +++ b/ca/django_ca/admin.py @@ -172,13 +172,14 @@ class CertificateAdmin(admin.ModelAdmin): data = form.cleaned_data x509 = get_cert( csr=data['csr'], + ...
use the expires value from form
py
diff --git a/mbed/mbed.py b/mbed/mbed.py index <HASH>..<HASH> 100755 --- a/mbed/mbed.py +++ b/mbed/mbed.py @@ -2774,8 +2774,8 @@ def test_(toolchain=None, target=None, compile_list=False, run_list=False, # Disable icetea if not supported if not icetea_supported: icetea = False - if not os.path.exi...
Fixed icetea warning when icetea is not desired and turn it to error when `mbed test --icetea` is called
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup, find_packages setup(name='aguaclara', - version='0.0.21', + version='0.0.22', description='Open source functions for AguaClara water treatment research and plant ...
create a new release with version # <I> (#<I>)
py
diff --git a/pymatgen/io/vasp/sets.py b/pymatgen/io/vasp/sets.py index <HASH>..<HASH> 100644 --- a/pymatgen/io/vasp/sets.py +++ b/pymatgen/io/vasp/sets.py @@ -585,8 +585,10 @@ class MPStaticSet(MPRelaxSet): kpoints = super(MPStaticSet, self).kpoints # Prefer to use k-point scheme from previous run +...
force gamma kpoints in MPStaticSet if lepsilon is True. This is required for an lepsilon calculation, not sure about forcing this for other Sets as well?
py
diff --git a/pyGenClean/run_data_clean_up.py b/pyGenClean/run_data_clean_up.py index <HASH>..<HASH> 100644 --- a/pyGenClean/run_data_clean_up.py +++ b/pyGenClean/run_data_clean_up.py @@ -1873,7 +1873,7 @@ def run_remove_heterozygous_haploid(in_prefix, in_type, out_prefix, base_dir, "After Plink's heter...
Forgot to remove a -1
py
diff --git a/rash/functional_tests/test_cli.py b/rash/functional_tests/test_cli.py index <HASH>..<HASH> 100644 --- a/rash/functional_tests/test_cli.py +++ b/rash/functional_tests/test_cli.py @@ -77,6 +77,8 @@ class FunctionalTestMixIn(object): self.environ = os.environ.copy() self.environ['HOME'] = ...
Fix functional test: $TERM is not defined It looks like the latest version of tox strips off environment variable TERM.
py
diff --git a/integration_tests/test_moduletags/test_moduletags.py b/integration_tests/test_moduletags/test_moduletags.py index <HASH>..<HASH> 100644 --- a/integration_tests/test_moduletags/test_moduletags.py +++ b/integration_tests/test_moduletags/test_moduletags.py @@ -23,9 +23,10 @@ class ModuleTags(IntegrationTest):...
add missing sys_path, change wording from stacker to cfngin (#<I>)
py
diff --git a/pyrogram/client/types/update.py b/pyrogram/client/types/update.py index <HASH>..<HASH> 100644 --- a/pyrogram/client/types/update.py +++ b/pyrogram/client/types/update.py @@ -17,11 +17,11 @@ # along with Pyrogram. If not, see <http://www.gnu.org/licenses/>. -class StopPropagation(StopIteration): +clas...
Inherit from StopAsyncIteration
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -16,12 +16,12 @@ from setuptools import setup setup( name="touchworks", - version="0.1", + version="0.2", license="MIT", author="Farshid Ghods", author_email="farshid.ghods@gmail.com", url="ht...
updated version n# in setup,py
py
diff --git a/owslib/csw.py b/owslib/csw.py index <HASH>..<HASH> 100644 --- a/owslib/csw.py +++ b/owslib/csw.py @@ -323,15 +323,15 @@ class CatalogueServiceWeb: etree.SubElement(node1, util.nspath_eval('csw:ElementSetName', namespaces)).text = esn - if len(constraints) > 0: + ...
CQL and filters are one or the other
py
diff --git a/stagpy/stagyydata.py b/stagpy/stagyydata.py index <HASH>..<HASH> 100644 --- a/stagpy/stagyydata.py +++ b/stagpy/stagyydata.py @@ -748,7 +748,7 @@ class StagyyData: rproffile = self.filename('rprof.h5') self._stagdat['rprof'] = stagyyparsers.rprof_h5( rproffile, li...
Fix fallback to ASCII if rprof.h5 doesn't exist
py
diff --git a/word_embedding_loader/loader/word2vec_text.py b/word_embedding_loader/loader/word2vec_text.py index <HASH>..<HASH> 100644 --- a/word_embedding_loader/loader/word2vec_text.py +++ b/word_embedding_loader/loader/word2vec_text.py @@ -85,7 +85,7 @@ def load(fin, dtype=np.float32, max_vocab=None, arr = np.e...
Fixed max_vocab was not working properly for word2vec_text
py
diff --git a/commands/diff.py b/commands/diff.py index <HASH>..<HASH> 100644 --- a/commands/diff.py +++ b/commands/diff.py @@ -107,6 +107,7 @@ class DiffCommand(object): diff['data'] = OrderedDict() for metric, values in query_a['data'].items(): + data_...
Point change doesn't make sense for times.
py
diff --git a/tenant_schemas/template_loaders.py b/tenant_schemas/template_loaders.py index <HASH>..<HASH> 100644 --- a/tenant_schemas/template_loaders.py +++ b/tenant_schemas/template_loaders.py @@ -12,6 +12,7 @@ from django.template.loader import (BaseLoader, get_template_from_string, from django.utils.encoding impor...
Prevent template loader operating when FakeTenant is the active connection.tenant The FakeTenant does not have a domain_url attribute. Alternative would be to set domain_url, but it seems more appropriate to bypass this loader for the FakeTenant.
py
diff --git a/hwt/hdl/assignment.py b/hwt/hdl/assignment.py index <HASH>..<HASH> 100644 --- a/hwt/hdl/assignment.py +++ b/hwt/hdl/assignment.py @@ -47,7 +47,7 @@ class Assignment(HdlStatement): self.dst = dst if not isinstance(dst, Value): self._outputs.append(dst) - self._enclo...
append/add mismatch for enclosure
py
diff --git a/pandas/core/dtypes/common.py b/pandas/core/dtypes/common.py index <HASH>..<HASH> 100644 --- a/pandas/core/dtypes/common.py +++ b/pandas/core/dtypes/common.py @@ -1245,8 +1245,6 @@ def is_float_dtype(arr_or_dtype) -> bool: """ Check whether the provided array or dtype is of a float dtype. - T...
DOC: Remove mention that is_float_dtype is private (#<I>)
py
diff --git a/openquake/hazardlib/gsim/base.py b/openquake/hazardlib/gsim/base.py index <HASH>..<HASH> 100644 --- a/openquake/hazardlib/gsim/base.py +++ b/openquake/hazardlib/gsim/base.py @@ -532,7 +532,7 @@ class GroundShakingIntensityModel(with_metaclass(MetaGSIM)): # take the minimum epsilon larger than stan...
Added a comment [skip CI]
py
diff --git a/librosa/core/dtw.py b/librosa/core/dtw.py index <HASH>..<HASH> 100644 --- a/librosa/core/dtw.py +++ b/librosa/core/dtw.py @@ -169,9 +169,14 @@ def dtw(X=None, Y=None, C=None, metric='euclidean', step_sizes_sigma=None, if step_sizes_sigma is None: step_sizes_sigma = np.array([[1, 1], [0, 1], [...
fixed that some steps are ignored when len(step_size_sigma)>3 in dtw and added a parameters check
py
diff --git a/twine/commands/upload.py b/twine/commands/upload.py index <HASH>..<HASH> 100644 --- a/twine/commands/upload.py +++ b/twine/commands/upload.py @@ -70,7 +70,8 @@ def find_dists(dists): return uploads -def upload(dists, repository, sign, identity, username, password, comment): +def upload(dists, repo...
Support using commands not named gpg for signing Fixes #<I>
py
diff --git a/master/buildbot/schedulers/timed.py b/master/buildbot/schedulers/timed.py index <HASH>..<HASH> 100644 --- a/master/buildbot/schedulers/timed.py +++ b/master/buildbot/schedulers/timed.py @@ -202,9 +202,10 @@ class Periodic(Timed): def __init__(self, name, builderNames, periodicBuildTimer, ...
timed: support codebases for Periodic scheduler
py
diff --git a/trezorlib/client.py b/trezorlib/client.py index <HASH>..<HASH> 100644 --- a/trezorlib/client.py +++ b/trezorlib/client.py @@ -389,6 +389,11 @@ class ProtocolMixin(object): if n[0] == 'm': n = n[1:] + # coin_name/a/b/c => 44'/SLIP44_constant'/a/b/c + coins = { "Bitcoin"...
trezorctl: accept also cointype/a/b/c as get_address path
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ class PyTest(TestCommand): setup( - name="polyaxon-cli", + name="polyaxon", version="0.5.6", description="Command Line Interface (CLI) and client to interact with Polyaxon API.", long_d...
Rename package to polyaxon
py
diff --git a/adafruit_platformdetect/chip.py b/adafruit_platformdetect/chip.py index <HASH>..<HASH> 100644 --- a/adafruit_platformdetect/chip.py +++ b/adafruit_platformdetect/chip.py @@ -106,11 +106,11 @@ class Chip: linux_id = S922X cpu_model = self.detector.get_cpuinfo_field("cpu model...
Checking if cpu_model is not None
py
diff --git a/mill/__init__.py b/mill/__init__.py index <HASH>..<HASH> 100644 --- a/mill/__init__.py +++ b/mill/__init__.py @@ -361,7 +361,7 @@ class Mill: await self.update_heaters() return self.heaters - async def fetch_heater_sensor_data(self): + async def fetch_heater_and_sensor_data(self):...
fetch_heater_and_sensor_data (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ setup( name='robotframework-faker', package_dir={'': 'robotframework-faker'}, packages=['FakerLibrary'], # this must be the same as the name above - version='0.3', + version='0.4', des...
Bumping version to <I>
py
diff --git a/holoviews/core/ndmapping.py b/holoviews/core/ndmapping.py index <HASH>..<HASH> 100644 --- a/holoviews/core/ndmapping.py +++ b/holoviews/core/ndmapping.py @@ -504,7 +504,7 @@ class MultiDimensionalMapping(Dimensioned): if key is None: return None return self[key] -...
NdMapping.get only captures KeyError This ensures that user exceptions bubble up and are no longer caught early
py
diff --git a/restclients/views.py b/restclients/views.py index <HASH>..<HASH> 100644 --- a/restclients/views.py +++ b/restclients/views.py @@ -3,6 +3,7 @@ try: except: # python 2.6 from django.utils.importlib import import_module +from django.core.urlresolvers import reverse from django.conf import settings...
Make it so WS links work if restclients isn't rooted at /restclients/
py
diff --git a/terms/forms.py b/terms/forms.py index <HASH>..<HASH> 100644 --- a/terms/forms.py +++ b/terms/forms.py @@ -20,6 +20,10 @@ if WIDGET == AVAILABLE_WIDGETS[3] or (WIDGET == AVAILABLE_WIDGETS[0] class TermForm(ModelForm): + def clean_name(self): + data = self.cleaned_data + return data['na...
Removes leading|trailing pipes and spaces while saving. This could lead to dramatic problems…
py
diff --git a/pyfolio/pos.py b/pyfolio/pos.py index <HASH>..<HASH> 100644 --- a/pyfolio/pos.py +++ b/pyfolio/pos.py @@ -162,7 +162,7 @@ def get_sector_exposures(positions, symbol_sector_map): positions = positions.drop('cash', axis=1) unmapped_pos = np.setdiff1d(positions.columns.values, - ...
BUG py3 compatibility for sector mapping
py
diff --git a/testing/test_capture.py b/testing/test_capture.py index <HASH>..<HASH> 100644 --- a/testing/test_capture.py +++ b/testing/test_capture.py @@ -493,3 +493,26 @@ def test_capture_early_option_parsing(testdir): result = testdir.runpytest("-vs") assert result.ret == 0 assert 'hello19' in result.s...
xfailing test for captire encoding issues with binary stdio
py
diff --git a/angr/analyses/cfg_fast.py b/angr/analyses/cfg_fast.py index <HASH>..<HASH> 100644 --- a/angr/analyses/cfg_fast.py +++ b/angr/analyses/cfg_fast.py @@ -662,11 +662,13 @@ class CFGFast(ForwardAnalysis, CFGBase): # pylint: disable=abstract-method def __setstate__(self, s): self._graph = s['gra...
Pickle _nodes_by_addr for cfgfast
py
diff --git a/pycbc/types/timeseries.py b/pycbc/types/timeseries.py index <HASH>..<HASH> 100644 --- a/pycbc/types/timeseries.py +++ b/pycbc/types/timeseries.py @@ -73,6 +73,20 @@ class TimeSeries(Array): self._delta_t = delta_t self._epoch = epoch + def to_astropy(self, name='pycbc'): + """...
add method to convert pycbc ts to astropy (#<I>) * add method to convert pycbc ts to astropy * Update timeseries.py
py
diff --git a/xdoctest/static_analysis.py b/xdoctest/static_analysis.py index <HASH>..<HASH> 100644 --- a/xdoctest/static_analysis.py +++ b/xdoctest/static_analysis.py @@ -400,7 +400,7 @@ def _parse_static_node_value(node): values = map(_parse_static_node_value, node.values) value = OrderedDict(zip(key...
Fix python2 issue
py
diff --git a/test/test_mediafile.py b/test/test_mediafile.py index <HASH>..<HASH> 100644 --- a/test/test_mediafile.py +++ b/test/test_mediafile.py @@ -175,7 +175,11 @@ class ImageStructureTestMixin(ArtTestMixin): class ExtendedImageStructureTestMixin(ImageStructureTestMixin): - """Checks for additional attribut...
More test docs about the image.* mixin
py
diff --git a/pyjokes/jokes_en.py b/pyjokes/jokes_en.py index <HASH>..<HASH> 100644 --- a/pyjokes/jokes_en.py +++ b/pyjokes/jokes_en.py @@ -71,7 +71,7 @@ neutral = [ "How do you know whether a person is a Vim user? Don't worry, they'll tell you.", "[a person is choking] Waiter: Is anyone a doctor? Programmer: ...
Shortened joke to follow <I> chars
py
diff --git a/tensorflow_probability/python/experimental/mcmc/with_reductions_test.py b/tensorflow_probability/python/experimental/mcmc/with_reductions_test.py index <HASH>..<HASH> 100644 --- a/tensorflow_probability/python/experimental/mcmc/with_reductions_test.py +++ b/tensorflow_probability/python/experimental/mcmc/w...
making test reducer more robust with tf.zeros_like
py
diff --git a/segno/writers.py b/segno/writers.py index <HASH>..<HASH> 100644 --- a/segno/writers.py +++ b/segno/writers.py @@ -838,6 +838,7 @@ _VALID_SERIALISERS = { 'pdf': write_pdf, 'ans': write_terminal, 'pbm': write_pbm, + 'tex': write_tex, } def save(matrix, version, out, kind=None, **kw):
Added TeX writer to "save"
py
diff --git a/satpy/writers/__init__.py b/satpy/writers/__init__.py index <HASH>..<HASH> 100644 --- a/satpy/writers/__init__.py +++ b/satpy/writers/__init__.py @@ -335,7 +335,7 @@ class Writer(Plugin): """ delayeds = [] for ds in datasets: - delayeds.append(self.save_dataset(ds, com...
Fix writers computing saved datasets one at a time
py
diff --git a/py/testdir_single_jvm/test_summary2_uniform.py b/py/testdir_single_jvm/test_summary2_uniform.py index <HASH>..<HASH> 100644 --- a/py/testdir_single_jvm/test_summary2_uniform.py +++ b/py/testdir_single_jvm/test_summary2_uniform.py @@ -101,7 +101,8 @@ class Basic(unittest.TestCase): # smaller er...
large delta allowed due to rand gen variation
py
diff --git a/saspy/sasioiom.py b/saspy/sasioiom.py index <HASH>..<HASH> 100644 --- a/saspy/sasioiom.py +++ b/saspy/sasioiom.py @@ -654,6 +654,7 @@ class SASsessionIOM(): #print("LIST = \n"+lst) lstf += lst else: + sleep(0.1) ...
keep from eating <I>% cpu while waiting on iom
py
diff --git a/django_databrowse/tests/sites.py b/django_databrowse/tests/sites.py index <HASH>..<HASH> 100644 --- a/django_databrowse/tests/sites.py +++ b/django_databrowse/tests/sites.py @@ -51,7 +51,7 @@ class DatabrowseTestsClient(TestCase): def tearDownClass(self): django_databrowse.site.unregister(Som...
added a test on a model field detail page
py
diff --git a/examples/example_22_saga_python/start_saga.py b/examples/example_22_saga_python/start_saga.py index <HASH>..<HASH> 100644 --- a/examples/example_22_saga_python/start_saga.py +++ b/examples/example_22_saga_python/start_saga.py @@ -13,10 +13,10 @@ import os import traceback -ADDRESS = '130.149.250.16' -...
FIX: Also changed address;
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -32,7 +32,7 @@ from setuptools import setup, find_packages, Extension from mwparserfromhell import __version__ from mwparserfromhell.compat import py26, py3k -with open("README.rst") as fp: +with open("README.rst", **{'enc...
Force opening README.rst as utf-8 Causes issues if the locale is not set to utf-8
py
diff --git a/src/saml2/client.py b/src/saml2/client.py index <HASH>..<HASH> 100644 --- a/src/saml2/client.py +++ b/src/saml2/client.py @@ -222,7 +222,7 @@ class Saml2Client(Base): sign = True if sign is None: - sign = self.logout_requests_signed + ...
Fix check for signed logout ``` ************* Module saml2.client src/saml2/client.py:<I>:<I>: E<I>: Instance of 'Saml2Client' has no 'logout_requests_signed' member (no-member) ``` The reference should be through the config member of the Saml2Client object.
py
diff --git a/salt/returners/postgres.py b/salt/returners/postgres.py index <HASH>..<HASH> 100644 --- a/salt/returners/postgres.py +++ b/salt/returners/postgres.py @@ -31,7 +31,7 @@ correctly:: DROP TABLE IF EXISTS jids; CREATE TABLE jids ( - jid bigint PRIMARY KEY, + jid varchar(20) PRIMARY KE...
jids can't be ints anymore, because we can now set jid names.
py
diff --git a/superset/utils/core.py b/superset/utils/core.py index <HASH>..<HASH> 100644 --- a/superset/utils/core.py +++ b/superset/utils/core.py @@ -1025,8 +1025,8 @@ def merge_extra_filters( # pylint: disable=too-many-branches for existing in adhoc_filters: if ( existing["expr...
fix: missing key when verifying adhoc filters in merge_extra_filters (#<I>)
py
diff --git a/glue/ligolw/lsctables.py b/glue/ligolw/lsctables.py index <HASH>..<HASH> 100644 --- a/glue/ligolw/lsctables.py +++ b/glue/ligolw/lsctables.py @@ -853,8 +853,8 @@ class SnglInspiral(object): def get_effective_snr(self): return self.snr/ (1 + self.snr**2/250)**(0.25)/(self.chisq/(2*self.chisq_dof - 2) )...
Merging in changes made between <I> and <I> on the cbc_s5_1yr_<I> branch onto the head. PR <I>
py
diff --git a/mzgtfs/__init__.py b/mzgtfs/__init__.py index <HASH>..<HASH> 100644 --- a/mzgtfs/__init__.py +++ b/mzgtfs/__init__.py @@ -4,4 +4,4 @@ This package is used internally to read and process GTFS files and to create One """ -__version__ = '0.10.3' \ No newline at end of file +__version__ = 'master' \ No ne...
Set master version to 'master'
py
diff --git a/tests/scripts/sql_coverage_test.py b/tests/scripts/sql_coverage_test.py index <HASH>..<HASH> 100755 --- a/tests/scripts/sql_coverage_test.py +++ b/tests/scripts/sql_coverage_test.py @@ -80,7 +80,7 @@ def run_once(name, command, statements_path, results_path, testConfigKit): server = subprocess.Pop...
Fix sql-coverage on slow machines. It just wasn't running long enough.
py
diff --git a/sorl/thumbnail/engines/wand_engine.py b/sorl/thumbnail/engines/wand_engine.py index <HASH>..<HASH> 100644 --- a/sorl/thumbnail/engines/wand_engine.py +++ b/sorl/thumbnail/engines/wand_engine.py @@ -14,6 +14,9 @@ class Engine(EngineBase): def get_image_size(self, image): return image.size + ...
Missing implementation for the wand engine
py
diff --git a/tests/test_common_data.py b/tests/test_common_data.py index <HASH>..<HASH> 100644 --- a/tests/test_common_data.py +++ b/tests/test_common_data.py @@ -2,7 +2,7 @@ import pytest import stanza from tests import * -from stanza.models.common.data import get_augment_ratio +from stanza.models.common.data impo...
Add a very simple test of removing punct
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -29,6 +29,6 @@ setup( install_requires=[ 'numpy', 'atpbar>=1.0.2', - 'mantichora>=0.9.3', + 'mantichora>=0.9.4', ], )
update mantichora version from <I> to <I>
py
diff --git a/arguments/__init__.py b/arguments/__init__.py index <HASH>..<HASH> 100644 --- a/arguments/__init__.py +++ b/arguments/__init__.py @@ -253,6 +253,7 @@ class Arguments(object): if doc is not None: triggerword = "usage" + newdoc = remove_extra_indentation(doc, triggerword)...
research Monday <I> May <I> (week:<I> day:<I>), <I>:<I>:<I>
py