diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/util.py b/util.py index <HASH>..<HASH> 100644 --- a/util.py +++ b/util.py @@ -144,11 +144,26 @@ def get_platform(): machine = 'fat' cflags = get_config_vars().get('CFLAGS') - if '-arch x86_64' in cflags: - if '-arch i386' in cflags: - ...
Finish support for --with-universal-archs=intel and --with-universal-archs=3-way (issue<I>)
py
diff --git a/peppy/sample.py b/peppy/sample.py index <HASH>..<HASH> 100644 --- a/peppy/sample.py +++ b/peppy/sample.py @@ -43,10 +43,8 @@ class Subsample(AttMap): """ def __init__(self, series, sample=None): data = OrderedDict(series) - _LOGGER.debug(data) + _LOGGER.debug("Subsample dat...
for when not in debug mode, provide a bit of message context
py
diff --git a/openquake/engine/db/models.py b/openquake/engine/db/models.py index <HASH>..<HASH> 100644 --- a/openquake/engine/db/models.py +++ b/openquake/engine/db/models.py @@ -3675,6 +3675,14 @@ class Epsilon(djm.Model): """ Insert the epsilon matrix associated to the given SES collection ...
Added a docstring Former-commit-id: 4a<I>cff0ddd2cb<I>aaed<I>a<I>b2fac<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ with open('README.rst') as file_object: description = file_object.read() setup(name='travis-encrypt', - version='1.1.2', + version='1.2.0', author='Mandeep', author_email='mandeep@k...
Increase travis-encrypt version to <I>
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -17,6 +17,10 @@ sys.path.append(base_path) from ipaddresstools.ipaddresstools import __version__ as version +# -- Added for readthedocs.org ----------------------------------------------- + +master_doc = '...
modified conf.py for readthedocs.org
py
diff --git a/pysat/instruments/pysat_testing2d_xarray.py b/pysat/instruments/pysat_testing2d_xarray.py index <HASH>..<HASH> 100644 --- a/pysat/instruments/pysat_testing2d_xarray.py +++ b/pysat/instruments/pysat_testing2d_xarray.py @@ -60,7 +60,7 @@ def load(fnames, tag=None, sat_id=None, malformed_index=False): ""...
2d instruments use <I>s cadence
py
diff --git a/tcex/bin/package.py b/tcex/bin/package.py index <HASH>..<HASH> 100644 --- a/tcex/bin/package.py +++ b/tcex/bin/package.py @@ -188,6 +188,7 @@ class Package(Bin): 'tcex.json', self.args.outdir, '__pycache__', + '.cache', # local cache directory ...
+ update excludes for tcpackage.
py
diff --git a/abilian/web/forms/widgets.py b/abilian/web/forms/widgets.py index <HASH>..<HASH> 100644 --- a/abilian/web/forms/widgets.py +++ b/abilian/web/forms/widgets.py @@ -16,7 +16,7 @@ from collections import namedtuple import bleach import sqlalchemy as sa import werkzeug.datastructures -from flask import rende...
widget basetableview: fix table id generation using id(self) could result in duplicated ids when python is reusing the same memory slot for new instances. This may happen when instances are created, rendered and destroyed one after another.
py
diff --git a/slave/buildslave/commands/vcs.py b/slave/buildslave/commands/vcs.py index <HASH>..<HASH> 100644 --- a/slave/buildslave/commands/vcs.py +++ b/slave/buildslave/commands/vcs.py @@ -229,6 +229,8 @@ class SourceBase(Command): # we are going to do a full checkout, so a clobber is ...
vcs.py: delete srcdir before retrying git clone * This fixes ticket #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -5,15 +5,16 @@ See LICENSE at the top-level of this distribution for more information or write to emin.martinian@gmail.com for more information. """ -from setuptools import setup, find_packages from os import path +from s...
Cleaned up pylint warnings
py
diff --git a/pyregion/mpl_helper.py b/pyregion/mpl_helper.py index <HASH>..<HASH> 100644 --- a/pyregion/mpl_helper.py +++ b/pyregion/mpl_helper.py @@ -97,6 +97,13 @@ def properties_func_default(shape, saved_attrs): kwargs["linestyle"] = "dashed" else: + # The default behavior of matplotlib ed...
minor bug fixes. should resolve #<I>
py
diff --git a/isogeo_pysdk/models/metadata.py b/isogeo_pysdk/models/metadata.py index <HASH>..<HASH> 100644 --- a/isogeo_pysdk/models/metadata.py +++ b/isogeo_pysdk/models/metadata.py @@ -246,6 +246,7 @@ class Metadata(object): """ for k, v in cls.ATTR_MAP.items(): raw_object[k] = raw_obje...
Ignore not expected field preventing crashes
py
diff --git a/tests/test_subcmd_02_index.py b/tests/test_subcmd_02_index.py index <HASH>..<HASH> 100644 --- a/tests/test_subcmd_02_index.py +++ b/tests/test_subcmd_02_index.py @@ -108,4 +108,4 @@ class TestIndexSubcommand(unittest.TestCase): def test_missing_index(self): """Test behaviour when an index fil...
Changed name of (extension) test input file
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -61,7 +61,7 @@ class TestCommand(TestCommandBase): def finalize_options(self): TestCommandBase.finalize_options(self) - self.test_suite = True + self.test_suite = False def run_tests(self):...
changed test suite to fasle
py
diff --git a/tests/test_image.py b/tests/test_image.py index <HASH>..<HASH> 100644 --- a/tests/test_image.py +++ b/tests/test_image.py @@ -7,8 +7,8 @@ import unittest from sigal.image import Gallery from sigal.settings import read_settings -class TestSettings(unittest.TestCase): - "Read a settings file and check...
test_image - rename the class
py
diff --git a/tests/unit/pyobjects_test.py b/tests/unit/pyobjects_test.py index <HASH>..<HASH> 100644 --- a/tests/unit/pyobjects_test.py +++ b/tests/unit/pyobjects_test.py @@ -130,7 +130,7 @@ password = ''.join(random.SystemRandom().choice( string.ascii_letters + string.digits) for _ in range(20)) ''' -rando...
Fix typo in pyobjects test
py
diff --git a/src/bidi/levelruns.py b/src/bidi/levelruns.py index <HASH>..<HASH> 100644 --- a/src/bidi/levelruns.py +++ b/src/bidi/levelruns.py @@ -145,6 +145,7 @@ class LevelRun(object): # (sor) and end-of-level-run (eor) are used at level run # boundaries. prev_bidi_t...
Resolve LevelRun neutral types (N1, N2)
py
diff --git a/werkzeug/testsuite/http.py b/werkzeug/testsuite/http.py index <HASH>..<HASH> 100644 --- a/werkzeug/testsuite/http.py +++ b/werkzeug/testsuite/http.py @@ -292,12 +292,13 @@ class HTTPUtilityTestCase(WerkzeugTestCase): 'b': u'\";' } ) - self.assert_str...
Fix wrong testcase Quoted from the dump_cookie docs: >On Python 3 the return value of this function will be a unicode >string, on Python 2 it will be a native string. So in both cases it's a native string. Also related: <URL>
py
diff --git a/raiden/network/rpc/client.py b/raiden/network/rpc/client.py index <HASH>..<HASH> 100644 --- a/raiden/network/rpc/client.py +++ b/raiden/network/rpc/client.py @@ -906,11 +906,11 @@ class JSONRPCClient: def __init__( self, web3: Web3, - privkey: Optional[PrivateKey], + pr...
JSONRPCClient requires a privatekey. The signature allowed for `None` to be used, but that resulted in a runtime error. Instead of having an error at runtime this enforces the caller to provide a privatekey statically. The privatekey is required because transactions are signed locally.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -1,8 +1,8 @@ #!/usr/bin/env python3 from codecs import open -from tickets import __version__ -from setuptools import setup, find_packages +from iquery import __version__ +from setuptools import setup def read(f): @@ -...
Project rename: tickets -> iquery
py
diff --git a/internals/hsmm_states.py b/internals/hsmm_states.py index <HASH>..<HASH> 100644 --- a/internals/hsmm_states.py +++ b/internals/hsmm_states.py @@ -66,7 +66,7 @@ class HSMMStatesPython(_StatesBase): elif self.left_censoring: return [0] elif self.right_censoring: - re...
fix trunc_slice when there's only one segment
py
diff --git a/angr/sim_type.py b/angr/sim_type.py index <HASH>..<HASH> 100644 --- a/angr/sim_type.py +++ b/angr/sim_type.py @@ -1022,13 +1022,26 @@ def define_struct(defn): return struct -def register_types(mapping): +def register_types(types): """ - Pass in a mapping from name to SimType and they will ...
Allow register_types to take a single type, i.e. parse_type() results. see #<I>
py
diff --git a/GEOparse/__init__.py b/GEOparse/__init__.py index <HASH>..<HASH> 100755 --- a/GEOparse/__init__.py +++ b/GEOparse/__init__.py @@ -2,7 +2,7 @@ __author__ = 'Rafal Gumienny' __email__ = 'guma44@gmail.com' -__version__ = '0.1.9' +__version__ = '0.1.10' from .GEOparse import get_GEO, get_GEO_file, parse...
fix: Preparation for <I> release
py
diff --git a/test/integration/001_simple_copy_test/test_simple_copy.py b/test/integration/001_simple_copy_test/test_simple_copy.py index <HASH>..<HASH> 100644 --- a/test/integration/001_simple_copy_test/test_simple_copy.py +++ b/test/integration/001_simple_copy_test/test_simple_copy.py @@ -509,7 +509,7 @@ class TestInc...
switch to correct data dir for second run
py
diff --git a/tests/commands/migrate_config_test.py b/tests/commands/migrate_config_test.py index <HASH>..<HASH> 100644 --- a/tests/commands/migrate_config_test.py +++ b/tests/commands/migrate_config_test.py @@ -148,6 +148,7 @@ def test_migrate_config_sha_to_rev(tmpdir): ' hooks: []\n' ) + @pytes...
Update migrate_config_test.py Added second blank line between test_migrate_config_sha_to_rev and test_empty_configuration_file_user_error
py
diff --git a/heron/statemgrs/src/python/statemanager.py b/heron/statemgrs/src/python/statemanager.py index <HASH>..<HASH> 100644 --- a/heron/statemgrs/src/python/statemanager.py +++ b/heron/statemgrs/src/python/statemanager.py @@ -109,7 +109,6 @@ class StateManager: self.tunnel.append(subprocess.Popen( ...
Remove print statement that was accidentally left in
py
diff --git a/angr/analyses/propagator/propagator.py b/angr/analyses/propagator/propagator.py index <HASH>..<HASH> 100644 --- a/angr/analyses/propagator/propagator.py +++ b/angr/analyses/propagator/propagator.py @@ -493,7 +493,7 @@ class PropagatorAILState(PropagatorState): if start == 0: return ai...
Fix incorrect ailment expression construction in propogator (#<I>)
py
diff --git a/spacy/pipeline/textcat.py b/spacy/pipeline/textcat.py index <HASH>..<HASH> 100644 --- a/spacy/pipeline/textcat.py +++ b/spacy/pipeline/textcat.py @@ -138,7 +138,10 @@ class TextCategorizer(TrainablePipe): @property def label_data(self) -> List[str]: - """RETURNS (List[str]): Information ...
Update docstrings and types [ci skip]
py
diff --git a/openquake/baselib/parallel.py b/openquake/baselib/parallel.py index <HASH>..<HASH> 100644 --- a/openquake/baselib/parallel.py +++ b/openquake/baselib/parallel.py @@ -457,7 +457,7 @@ class IterResult(object): if self.received and not self.name.startswith('_'): tot = sum(self.received) ...
Improved logging [skip CI] Former-commit-id: <I>f<I>bfd<I>ee<I>e1ff<I>c<I>d<I>aa2b8f
py
diff --git a/src/Interface.py b/src/Interface.py index <HASH>..<HASH> 100755 --- a/src/Interface.py +++ b/src/Interface.py @@ -34,8 +34,8 @@ def del_interface(ifname): def __return_ip_address_from_ifconfig_output(output): for line in output.split('\n'): - if 'inet addr:' in line: - ipAddre...
Modified parsing of ip address so that osx ifconfig and w<I> ipconfig outputs are parsed as well
py
diff --git a/zipline/data/minute_bars.py b/zipline/data/minute_bars.py index <HASH>..<HASH> 100644 --- a/zipline/data/minute_bars.py +++ b/zipline/data/minute_bars.py @@ -856,7 +856,7 @@ class BcolzMinuteBarWriter(object): truncate_slice_end = self.data_len_for_day(date) glob_path = os.path.join(sel...
ENH: Add sorted to sid list when truncating. For repeatable order of truncates between invocations.
py
diff --git a/phy/cluster/manual/tests/conftest.py b/phy/cluster/manual/tests/conftest.py index <HASH>..<HASH> 100644 --- a/phy/cluster/manual/tests/conftest.py +++ b/phy/cluster/manual/tests/conftest.py @@ -6,6 +6,7 @@ # Imports #------------------------------------------------------------------------------ +import...
Add features_masks array in mock model
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -93,7 +93,11 @@ CLASSIFIERS = [ #~~~~~~~# setup(name='quantecon', - packages=['quantecon', 'quantecon.models', "quantecon.tests"], + packages=['quantecon', + 'quantecon.models', + '...
Adding solow subpackage for the installer
py
diff --git a/samples/call_compute_service.py b/samples/call_compute_service.py index <HASH>..<HASH> 100644 --- a/samples/call_compute_service.py +++ b/samples/call_compute_service.py @@ -1,5 +1,6 @@ # To be used to test GoogleCredentials.get_application_default() # from local machine and GCE. +# The GCE virtual machi...
GCE VM needs the Compute API enabled Added a comment emphasizing that the GCE VM needs to have the Compute API enabled.
py
diff --git a/salt/modules/eix.py b/salt/modules/eix.py index <HASH>..<HASH> 100644 --- a/salt/modules/eix.py +++ b/salt/modules/eix.py @@ -22,7 +22,7 @@ def sync(): salt '*' eix.sync ''' - cmd = 'eix-sync -q' + cmd = 'eix-sync -q -C "--ask" -C "n"' return __salt__['cmd.retcode'](cmd) == 0
added "--ask n" to eix-sync (see #<I>)
py
diff --git a/tensor2tensor/utils/trainer_lib.py b/tensor2tensor/utils/trainer_lib.py index <HASH>..<HASH> 100644 --- a/tensor2tensor/utils/trainer_lib.py +++ b/tensor2tensor/utils/trainer_lib.py @@ -314,8 +314,7 @@ def create_estimator(model_name, use_tpu=use_tpu, train_batch_size=batch_size, ...
Remove experimental_export_device_assignment from TPUEstimator.export_savedmodel(), so as to remove rewrite_for_inference(). As a replacement, export_savedmodel() V2 API supports device_assignment where user call tpu.rewrite in model_fn and pass in device_assigment there. PiperOrigin-RevId: <I>
py
diff --git a/wikitextparser/_spans.py b/wikitextparser/_spans.py index <HASH>..<HASH> 100644 --- a/wikitextparser/_spans.py +++ b/wikitextparser/_spans.py @@ -155,10 +155,12 @@ ATTRS_PATTERN = ( # noqa rb'(?<attr>' rb'[' + SPACE_CHARS + rb']++' rb'(?>' - + ATTR_NAME + ATTR_VAL + rb'|[^...
fix(_spans.py): do not treat self-closing mark as invalid attribute
py
diff --git a/openquake/calculators/classical.py b/openquake/calculators/classical.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/classical.py +++ b/openquake/calculators/classical.py @@ -424,11 +424,11 @@ class ClassicalCalculator(PSHACalculator): self.datastore.set_attrs('hcurves', nbytes=totb...
Monitored sending pmaps
py
diff --git a/_data.py b/_data.py index <HASH>..<HASH> 100644 --- a/_data.py +++ b/_data.py @@ -1326,7 +1326,7 @@ class fitter(): This warning is suppressed if self._safe_settings['silent'] is True. """ - if self['silent'] is True: + if self._settings['silent'][0] is True: ...
'silent' setting is now functional for the eydata error message.
py
diff --git a/pysc2/env/sc2_env.py b/pysc2/env/sc2_env.py index <HASH>..<HASH> 100644 --- a/pysc2/env/sc2_env.py +++ b/pysc2/env/sc2_env.py @@ -173,6 +173,7 @@ class SC2Env(environment.Base): Raises: ValueError: if the agent_race, bot_race or difficulty are invalid. + ValueError: if too many players a...
Raise an error if more players are requested than the map supports. PiperOrigin-RevId: <I>
py
diff --git a/grimoire_elk/_version.py b/grimoire_elk/_version.py index <HASH>..<HASH> 100644 --- a/grimoire_elk/_version.py +++ b/grimoire_elk/_version.py @@ -1,2 +1,2 @@ # Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440 -__version__ = "0.50.0" +__version__ = "0.51.0"
Update version number to <I>
py
diff --git a/tests/test_bdist_dumb.py b/tests/test_bdist_dumb.py index <HASH>..<HASH> 100644 --- a/tests/test_bdist_dumb.py +++ b/tests/test_bdist_dumb.py @@ -71,6 +71,21 @@ class BuildDumbTestCase(support.TempdirManager, # now let's check what we have in the zip file # XXX to be done + def test_...
raising bdist_dumb test coverage
py
diff --git a/demo_and_tests/model_filefields_example/urls.py b/demo_and_tests/model_filefields_example/urls.py index <HASH>..<HASH> 100644 --- a/demo_and_tests/model_filefields_example/urls.py +++ b/demo_and_tests/model_filefields_example/urls.py @@ -42,7 +42,7 @@ urlpatterns = [ r'^cds/delete/(?P<pk>\d+)/$', ...
Fix redirect after deleting CDs in demo project
py
diff --git a/zake/tests/test_client.py b/zake/tests/test_client.py index <HASH>..<HASH> 100644 --- a/zake/tests/test_client.py +++ b/zake/tests/test_client.py @@ -77,7 +77,7 @@ class TestClient(test.Test): with start_close(self.client) as c: self.assertTrue(c.connected) self.assertEqu...
Ensure kill command is sent as byte string
py
diff --git a/zinnia/__init__.py b/zinnia/__init__.py index <HASH>..<HASH> 100644 --- a/zinnia/__init__.py +++ b/zinnia/__init__.py @@ -1,5 +1,5 @@ """Zinnia""" -__version__ = '0.13' +__version__ = '0.14.dev' __license__ = 'BSD License' __author__ = 'Fantomas42'
Bumping to version <I>.dev
py
diff --git a/fedmsg/meta/base.py b/fedmsg/meta/base.py index <HASH>..<HASH> 100644 --- a/fedmsg/meta/base.py +++ b/fedmsg/meta/base.py @@ -154,7 +154,7 @@ class BaseProcessor(object): return match.groups()[-1] or "" def title(self, msg, **config): - if msg['topic'][0].isalpha(): + if n...
Use something more clear than .isalpha.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -17,5 +17,5 @@ setup( author='Luis y Anita', author_email='luismasuelli@hotmail.com', description='The trackmodels library is useful to set creation/update/delete dates on models and track by them', - install...
Web update of <I> A redeploy of package in version <I> must be done.
py
diff --git a/tests/unit/netapi/test_rest_tornado.py b/tests/unit/netapi/test_rest_tornado.py index <HASH>..<HASH> 100644 --- a/tests/unit/netapi/test_rest_tornado.py +++ b/tests/unit/netapi/test_rest_tornado.py @@ -130,6 +130,8 @@ class SaltnadoTestCase(TestCase, AdaptedConfigurationTestCaseMixin, AsyncHTTPTes ...
Address teardown warning in test_rest_tornado
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -97,8 +97,15 @@ from __future__ import print_function, division import dimod from dwave.embedding import * -from dwave.system import * +#from dwave.system import * + +from unittest.mock import Mock +from ...
Update conf.py for mock DWaveSampler
py
diff --git a/examples/tutorial.py b/examples/tutorial.py index <HASH>..<HASH> 100644 --- a/examples/tutorial.py +++ b/examples/tutorial.py @@ -278,7 +278,7 @@ ref_cell.add( 'Created with gdspy ' + gdspy.__version__, (-7, -36), 'nw', layer=6)) # ---------------------------------------------------------------...
Update tutorial.py Reflection across a line defined by 2 points allows the mirroring of a polygon over an arbitrary axis.
py
diff --git a/setuptools/command/install_lib.py b/setuptools/command/install_lib.py index <HASH>..<HASH> 100644 --- a/setuptools/command/install_lib.py +++ b/setuptools/command/install_lib.py @@ -19,14 +19,18 @@ class install_lib(orig.install_lib): excluded for single_version_externally_managed installations. ...
Incorporate the exclusion path in the _exclude function.
py
diff --git a/modules/CUAV/camera.py b/modules/CUAV/camera.py index <HASH>..<HASH> 100644 --- a/modules/CUAV/camera.py +++ b/modules/CUAV/camera.py @@ -512,6 +512,7 @@ def reload_mosaic(mosaic): try: composite = cv.LoadImage(last_joe.thumb_filename) thumbs = cuav_mosaic.Ext...
camera: added set_brightness() call
py
diff --git a/moneyed/test_moneyed_classes.py b/moneyed/test_moneyed_classes.py index <HASH>..<HASH> 100644 --- a/moneyed/test_moneyed_classes.py +++ b/moneyed/test_moneyed_classes.py @@ -136,7 +136,7 @@ class TestMoney: one_million_pln = Money('1000000', 'PLN') # Two decimal places by default ...
Change test to reflect intended functionality Tests were failing due to `pl_PL` now reverting to `DEFAULT` due to not having a sign definition set for USD.
py
diff --git a/gromacs/cbook.py b/gromacs/cbook.py index <HASH>..<HASH> 100644 --- a/gromacs/cbook.py +++ b/gromacs/cbook.py @@ -461,6 +461,19 @@ def grompp_qtot(*args, **kwargs): logger.info("system total charge qtot = %(qtot)r" % vars()) return qtot +def get_volume(f): + """Return the volume in nm^3 of s...
simple function to get volume from pdb/gro file (uses CRYST or box --- or whatever editconf does)
py
diff --git a/hbmqtt/client.py b/hbmqtt/client.py index <HASH>..<HASH> 100644 --- a/hbmqtt/client.py +++ b/hbmqtt/client.py @@ -375,6 +375,8 @@ class MQTTClient: cadata=self.session.cadata) if 'certfile' in self.config and 'keyfile' in self.config: sc.load_cert_chain(self.c...
disables verification of the server hostname in the server certificate
py
diff --git a/quark/db/models.py b/quark/db/models.py index <HASH>..<HASH> 100644 --- a/quark/db/models.py +++ b/quark/db/models.py @@ -30,6 +30,9 @@ from neutron.openstack.common import timeutils from quark.db import custom_types #NOTE(mdietz): This is the only way to actually create the quotas table, # ...
Adding import for quotas again
py
diff --git a/pyOCD/debug/cache.py b/pyOCD/debug/cache.py index <HASH>..<HASH> 100644 --- a/pyOCD/debug/cache.py +++ b/pyOCD/debug/cache.py @@ -180,7 +180,10 @@ class RegisterCache(object): # Just remove all cached CFBP based register values. if writing_cfbp: for r in self.CFBP_REGS: - ...
Ignore missing CFBP entries in register cache when updating a CFBP register.
py
diff --git a/pymatgen/transformations/tests/test_advanced_transformations.py b/pymatgen/transformations/tests/test_advanced_transformations.py index <HASH>..<HASH> 100644 --- a/pymatgen/transformations/tests/test_advanced_transformations.py +++ b/pymatgen/transformations/tests/test_advanced_transformations.py @@ -211,1...
Fix old bug in code. The funny thing is that it should have been caught last time. There is no way you can order a Li:<I>, Na<I>, K:<I> with a 5x supercell with only 8 atoms!!! It obviously must have <I> atoms! Whoever wrote this test really didn't think through it. Otherwise, the EnumlibAdaptor bug would have been cau...
py
diff --git a/ns_api/ns_api.py b/ns_api/ns_api.py index <HASH>..<HASH> 100644 --- a/ns_api/ns_api.py +++ b/ns_api/ns_api.py @@ -11,7 +11,7 @@ def _parse_time_delay(time): delay = 0 delay_unit = '' if len(splitted) > 1: - delay = splitted[2] + delay = int(splitted[2]) delay_unit = sp...
Ensure that delays are ints, should fix #4
py
diff --git a/bokeh/tests/test_client_server.py b/bokeh/tests/test_client_server.py index <HASH>..<HASH> 100644 --- a/bokeh/tests/test_client_server.py +++ b/bokeh/tests/test_client_server.py @@ -288,7 +288,7 @@ class TestClientServer(unittest.TestCase): # Clean up global IO state reset_output(...
rename test as it's really testing periodic callbacks on both client and server sessions
py
diff --git a/python/segyio/segy.py b/python/segyio/segy.py index <HASH>..<HASH> 100644 --- a/python/segyio/segy.py +++ b/python/segyio/segy.py @@ -14,6 +14,7 @@ segyio which you can find in the examples directory or where your distribution installs example programs. """ import itertools +import warnings try: f...
Warn and fall back to ibm float if missing format
py
diff --git a/plenum/test/conftest.py b/plenum/test/conftest.py index <HASH>..<HASH> 100644 --- a/plenum/test/conftest.py +++ b/plenum/test/conftest.py @@ -91,14 +91,15 @@ def logcapture(request, whitelist): whiteListedExceptions = ['seconds to run once nicely', 'Executing %s took %.3f...
update conftest so that it ignores logging of message discarding with reason of incorrect type
py
diff --git a/pytradfri/api/aiocoap_api.py b/pytradfri/api/aiocoap_api.py index <HASH>..<HASH> 100644 --- a/pytradfri/api/aiocoap_api.py +++ b/pytradfri/api/aiocoap_api.py @@ -99,6 +99,9 @@ class APIFactory: except Error as e: yield from self._reset_protocol(e) raise ServerError("There...
Clean up on asyncio.CancelledError (#<I>)
py
diff --git a/tests/conftest.py b/tests/conftest.py index <HASH>..<HASH> 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -108,6 +108,7 @@ _pytest.logging._LiveLoggingStreamHandler = LiveLoggingStreamHandler # Reset logging root handlers for handler in logging.root.handlers[:]: logging.root.removeHandler...
Explicitly close the removed handlers
py
diff --git a/mordred.py b/mordred.py index <HASH>..<HASH> 100755 --- a/mordred.py +++ b/mordred.py @@ -62,7 +62,8 @@ logger = logging.getLogger(__name__) class Task(): """ Basic class shared by all tasks """ - ES_INDEX_FIELDS = ['enriched_index', 'raw_index'] + # filter-raw is used to filter the raw index...
[filter-raw] Add filter-raw support to mordred so it can done particial enrichment from filtered raw items
py
diff --git a/experimental/m2m/motra.py b/experimental/m2m/motra.py index <HASH>..<HASH> 100644 --- a/experimental/m2m/motra.py +++ b/experimental/m2m/motra.py @@ -174,7 +174,7 @@ class Transformation(object): def when_inner(*args, **kwargs): if when(*args, **kwargs): r...
Fix mapping cache issue for motra mappings
py
diff --git a/tests/web_client_test.py b/tests/web_client_test.py index <HASH>..<HASH> 100644 --- a/tests/web_client_test.py +++ b/tests/web_client_test.py @@ -146,8 +146,7 @@ class WebClientTestCase(base.TestCase): cmd = ( os.path.join( - ROOT_DIR, 'node_modules', 'phantomjs-prebu...
Fix path to phantomjs binary
py
diff --git a/python/thunder/factorization/pca.py b/python/thunder/factorization/pca.py index <HASH>..<HASH> 100755 --- a/python/thunder/factorization/pca.py +++ b/python/thunder/factorization/pca.py @@ -11,7 +11,7 @@ import sys import os from thunder.util.dataio import parse, saveout -from thunder.factorization.util...
Added svd3 option
py
diff --git a/climlab/__init__.py b/climlab/__init__.py index <HASH>..<HASH> 100644 --- a/climlab/__init__.py +++ b/climlab/__init__.py @@ -1,4 +1,4 @@ -__version__ = '0.2.12' +__version__ = '0.2.13' # This list defines all the modules that will be loaded if a user invokes # from climLab import *
Increment version number to <I> Merged Moritz's new process modules.
py
diff --git a/salt/cloud/clouds/ec2.py b/salt/cloud/clouds/ec2.py index <HASH>..<HASH> 100644 --- a/salt/cloud/clouds/ec2.py +++ b/salt/cloud/clouds/ec2.py @@ -2583,6 +2583,10 @@ def create(vm_=None, call=None): transport=__opts__['transport'] ) + # Ensure that the latest node data is returned + no...
Ensure that the latest node data is returned
py
diff --git a/lib/ansibleinventorygrapher/inventory.py b/lib/ansibleinventorygrapher/inventory.py index <HASH>..<HASH> 100755 --- a/lib/ansibleinventorygrapher/inventory.py +++ b/lib/ansibleinventorygrapher/inventory.py @@ -95,8 +95,9 @@ class Inventory20(Inventory): class Inventory24(Inventory): def ask_vault_p...
Fix broken ask_vault_password for Ansible <I> Ensure asking for a vault password actually works Fixes #<I> Fixes #<I>
py
diff --git a/cirq/ops/wait_gate.py b/cirq/ops/wait_gate.py index <HASH>..<HASH> 100644 --- a/cirq/ops/wait_gate.py +++ b/cirq/ops/wait_gate.py @@ -138,9 +138,9 @@ def wait( *target: The qubits that should wait. value: Wait duration (see Duration). picos: Picoseconds to wait (see Duration). - ...
Fix docstring for wait helper function (#<I>) Fixes #<I>
py
diff --git a/test/test_autopep8.py b/test/test_autopep8.py index <HASH>..<HASH> 100755 --- a/test/test_autopep8.py +++ b/test/test_autopep8.py @@ -380,6 +380,11 @@ sys.maxint self.assertFalse(autopep8.match_file(os.devnull, exclude=[])) + with temporary_file_context('', suffix='.py', prefix='') as f...
Add test for positive case of match_file()
py
diff --git a/tests/sqlcoverage/SQLCoverageReport.py b/tests/sqlcoverage/SQLCoverageReport.py index <HASH>..<HASH> 100755 --- a/tests/sqlcoverage/SQLCoverageReport.py +++ b/tests/sqlcoverage/SQLCoverageReport.py @@ -356,7 +356,7 @@ def is_different(x, cntonly, within_minutes): # in that case, do not fail th...
Removed one trailing space, to fix licensecheck test
py
diff --git a/src/transformers/models/marian/modeling_flax_marian.py b/src/transformers/models/marian/modeling_flax_marian.py index <HASH>..<HASH> 100644 --- a/src/transformers/models/marian/modeling_flax_marian.py +++ b/src/transformers/models/marian/modeling_flax_marian.py @@ -986,7 +986,7 @@ class FlaxMarianPreTraine...
fix wrong tokenizer checkpoint name in flax marian (#<I>)
py
diff --git a/jsmin/test.py b/jsmin/test.py index <HASH>..<HASH> 100644 --- a/jsmin/test.py +++ b/jsmin/test.py @@ -325,5 +325,12 @@ var foo = "hey"; original = '/a (a)/.test("a")' self.assertMinified(original, original) + def test_angular_1(self): + original = '''var /** holds major v...
Failing test from issue #<I> --HG-- branch : stable
py
diff --git a/wpull/ftp/client.py b/wpull/ftp/client.py index <HASH>..<HASH> 100644 --- a/wpull/ftp/client.py +++ b/wpull/ftp/client.py @@ -171,6 +171,7 @@ class Session(BaseSession): ''' # TODO: the recorder needs to fit inside here data_connection = None + data_stream = None ...
ftp.client: Implement recorder on data stream read
py
diff --git a/libaio/__init__.py b/libaio/__init__.py index <HASH>..<HASH> 100644 --- a/libaio/__init__.py +++ b/libaio/__init__.py @@ -341,8 +341,8 @@ class AIOContext(object): Cancel all submitted IO blocks. Blocks until all submitted transfers have been finalised. - Submitting more transfer...
libaio: Handling events while cancelAll is running is also undefined.
py
diff --git a/pftree/pftree.py b/pftree/pftree.py index <HASH>..<HASH> 100755 --- a/pftree/pftree.py +++ b/pftree/pftree.py @@ -124,7 +124,6 @@ class pftree(object): f_percent = index/total*100 str_num = "[%3d/%3d: %6.2f%%] " % (index, total, f_percent) str_bar = "*" * int(f_percent)...
Improve simpleProgress_show reporting.
py
diff --git a/odl/operator/solvers.py b/odl/operator/solvers.py index <HASH>..<HASH> 100644 --- a/odl/operator/solvers.py +++ b/odl/operator/solvers.py @@ -290,10 +290,36 @@ class BacktrackingLineSearch(object): return alpha class ConstantLineSearch(object): + """A 'linear search' object that returns a co...
Added doc about inputs and outputs for the constant 'line search' method.
py
diff --git a/LiSE/setup.py b/LiSE/setup.py index <HASH>..<HASH> 100644 --- a/LiSE/setup.py +++ b/LiSE/setup.py @@ -35,7 +35,8 @@ setup( packages=[ "LiSE", "LiSE.server", - "LiSE.examples" + "LiSE.examples", + "LiSE.allegedb" ], package_data={ 'LiSE': ['sqli...
Add allegedb in setup.py
py
diff --git a/jaraco/util/itertools.py b/jaraco/util/itertools.py index <HASH>..<HASH> 100644 --- a/jaraco/util/itertools.py +++ b/jaraco/util/itertools.py @@ -317,6 +317,10 @@ def grouper_nofill(n, iterable): >>> c = grouper_nofill(3, range(11)) + c should be an iterator + >>> hasattr(c, 'next') + True + >>> tu...
Add an important test to ensure result is an iterator.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ except (IOError, ImportError, RuntimeError): long_description = 'Tools for manipulating and parsing vcf files' setup(name='vcftoolbox', - version='1.0', + version='1.1', description='Tools for...
Bumped version to <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,13 @@ from setuptools import setup, Extension from setuptools import find_packages -import numpy +import sys + +try: + import numpy +except ImportError: + print 'numpy is required to install numina' + sys....
check if numpy is installed and faill gracefully if not
py
diff --git a/pymatbridge/__init__.py b/pymatbridge/__init__.py index <HASH>..<HASH> 100644 --- a/pymatbridge/__init__.py +++ b/pymatbridge/__init__.py @@ -1,5 +1,5 @@ from pymatbridge import * - +from publish import * try: from matlab_magic import * except ImportError:
Modified __init__.py so that publish is now importable
py
diff --git a/germanet.py b/germanet.py index <HASH>..<HASH> 100644 --- a/germanet.py +++ b/germanet.py @@ -499,7 +499,7 @@ class Synset(object): ic1 = -math.log(ic1) ic2 = -math.log(ic2) ic_lcs = self.sim_res(other) - return 1. / (ic1 + ic2 - 2. * ic_lcs) + return ic1 + ic2 - 2....
germanet: fix typo to Synset.dist_jcn
py
diff --git a/tests/test_prepare.py b/tests/test_prepare.py index <HASH>..<HASH> 100644 --- a/tests/test_prepare.py +++ b/tests/test_prepare.py @@ -360,7 +360,7 @@ class TestPrepare(tb.ConnectedTestCase): async def test_prepare_19_concurrent_calls(self): st = self.loop.create_task(self.con.fetchval( - ...
tests: Increase another timeout to make travis happy.
py
diff --git a/plop/collector.py b/plop/collector.py index <HASH>..<HASH> 100644 --- a/plop/collector.py +++ b/plop/collector.py @@ -17,6 +17,11 @@ class Collector(object): self.interval = interval self.mode = mode assert mode in Collector.MODES + timer, sig = Collector.MODES[self.mode] ...
Move signal handler setting to __init__ (for threading reasons), add reset()
py
diff --git a/tests/upgrade_integration/upgrade_test.py b/tests/upgrade_integration/upgrade_test.py index <HASH>..<HASH> 100644 --- a/tests/upgrade_integration/upgrade_test.py +++ b/tests/upgrade_integration/upgrade_test.py @@ -52,7 +52,7 @@ class TestUpgrade(DustyIntegrationTestCase): shutil.copy('dist/dusty',...
This test fails when constants.VERSION is also the most recent released version
py
diff --git a/tests/utils.py b/tests/utils.py index <HASH>..<HASH> 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -1,6 +1,7 @@ import pytest from rest_framework.exceptions import ValidationError + def dedent(blocktext): return '\n'.join([line[12:] for line in blocktext.splitlines()[1:-1]])
Double indent for linter.
py
diff --git a/normandy/recipes/fields.py b/normandy/recipes/fields.py index <HASH>..<HASH> 100644 --- a/normandy/recipes/fields.py +++ b/normandy/recipes/fields.py @@ -3,19 +3,12 @@ import hashlib from django.core.validators import MinValueValidator, MaxValueValidator from django.db import models -from product_detai...
Remove choices on LocaleField. Having LocaleField load it's choices caused product_details to attempt to load data from the database before the migrations were run during tests. Since we're not using the field anymore, empty choices is fine.
py
diff --git a/python/ccxt/base/exchange.py b/python/ccxt/base/exchange.py index <HASH>..<HASH> 100644 --- a/python/ccxt/base/exchange.py +++ b/python/ccxt/base/exchange.py @@ -358,7 +358,7 @@ class Exchange(object): for name in dir(self): if name[0] != '_' and name[-1] != '_' and '_' in name: ...
exchange.py camelcase exceptions
py
diff --git a/wikitextparser/wikitext.py b/wikitextparser/wikitext.py index <HASH>..<HASH> 100644 --- a/wikitextparser/wikitext.py +++ b/wikitextparser/wikitext.py @@ -4,7 +4,7 @@ import re from copy import deepcopy from typing import ( - MutableSequence, Dict, List, Tuple, Union, Callable, Iterable + MutableSe...
_gen_subspan_indices: Use Generator[int, None, None] as return type
py
diff --git a/sark/code/instruction.py b/sark/code/instruction.py index <HASH>..<HASH> 100644 --- a/sark/code/instruction.py +++ b/sark/code/instruction.py @@ -95,6 +95,10 @@ class Instruction(object): def feature(self): return self._inst.get_canon_feature() + @property + def mnem(self): + r...
Added mnemonic to instruction class.
py
diff --git a/allegedb/allegedb/graph.py b/allegedb/allegedb/graph.py index <HASH>..<HASH> 100644 --- a/allegedb/allegedb/graph.py +++ b/allegedb/allegedb/graph.py @@ -975,6 +975,8 @@ class MultiGraphSuccessorsMapping(GraphSuccessorsMapping): self._multedge = {} def _order_nodes(self, dest): + ...
Hack around an error ordering edges in MultiDiGraph Terribly inelegant, I just don't care very much
py
diff --git a/tests/test_mission_data.py b/tests/test_mission_data.py index <HASH>..<HASH> 100644 --- a/tests/test_mission_data.py +++ b/tests/test_mission_data.py @@ -1,15 +1,17 @@ - import os from planetaryimage.pds3image import PDS3Image import json +import pytest DATA_DIR = os.path.join(os.path.dirname(__fil...
Added @pytest.mark.skipif
py
diff --git a/branca/element.py b/branca/element.py index <HASH>..<HASH> 100644 --- a/branca/element.py +++ b/branca/element.py @@ -14,6 +14,7 @@ from collections import OrderedDict from urllib.request import urlopen from binascii import hexlify from os import urandom +from pathlib import Path from jinja2 import E...
support for pathlib object when saving Element (#<I>) * support for pathlib object * Path is the parent for Windows Path and non-Windows Path objects
py
diff --git a/telethon/telegram_client.py b/telethon/telegram_client.py index <HASH>..<HASH> 100644 --- a/telethon/telegram_client.py +++ b/telethon/telegram_client.py @@ -84,7 +84,8 @@ from .tl.types import ( InputMessageEntityMentionName, DocumentAttributeVideo, UpdateEditMessage, UpdateEditChannelMessage, U...
Support more filter types for convenience (#<I>)
py
diff --git a/pubsub/google/cloud/pubsub_v1/subscriber/_protocol/streaming_pull_manager.py b/pubsub/google/cloud/pubsub_v1/subscriber/_protocol/streaming_pull_manager.py index <HASH>..<HASH> 100644 --- a/pubsub/google/cloud/pubsub_v1/subscriber/_protocol/streaming_pull_manager.py +++ b/pubsub/google/cloud/pubsub_v1/subs...
Fix race condition where pending Ack IDs can be modified by another thread. (#<I>)
py
diff --git a/uni_form/tests/tests.py b/uni_form/tests/tests.py index <HASH>..<HASH> 100644 --- a/uni_form/tests/tests.py +++ b/uni_form/tests/tests.py @@ -51,7 +51,7 @@ class TestBasicFunctionalityTags(TestCase): html = template.render(c) # Just look for file names because locations and name...
Fix to account for change in what uni_form_setup provides to the screen
py