diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/python/src/nnabla/utils/progress.py b/python/src/nnabla/utils/progress.py index <HASH>..<HASH> 100644 --- a/python/src/nnabla/utils/progress.py +++ b/python/src/nnabla/utils/progress.py @@ -12,8 +12,10 @@ # See the License for the specific language governing permissions and # limitations under the Licens...
Add retry process to progress.py
py
diff --git a/greg/greg.py b/greg/greg.py index <HASH>..<HASH> 100755 --- a/greg/greg.py +++ b/greg/greg.py @@ -59,7 +59,10 @@ class Session(): self.config = configparser.ConfigParser() self.config.read([config_filename_global, self.config_filename_user]) - def list_feeds(self): # Outputs a list ...
Turning some comments into docstrings
py
diff --git a/basil/RL/StdRegister.py b/basil/RL/StdRegister.py index <HASH>..<HASH> 100644 --- a/basil/RL/StdRegister.py +++ b/basil/RL/StdRegister.py @@ -47,8 +47,6 @@ class StdRegister(RegisterLayer): if 'repeat' in self._fields_conf[name]: raise NotImplemented s...
BUG: in case of other variables do not raise exeption
py
diff --git a/Server/Python/src/dbs/dao/Oracle/OutputModuleConfig/List.py b/Server/Python/src/dbs/dao/Oracle/OutputModuleConfig/List.py index <HASH>..<HASH> 100644 --- a/Server/Python/src/dbs/dao/Oracle/OutputModuleConfig/List.py +++ b/Server/Python/src/dbs/dao/Oracle/OutputModuleConfig/List.py @@ -2,8 +2,8 @@ """ Thi...
dao is updated to list the desired columns, not just the ID of the output_configs table, error caught by validation test From: afaq <afaq> git-svn-id: svn+ssh://svn.cern.ch/reps/CMSDMWM/DBS/trunk@<I> <I>e-<I>-<I>b1-a<I>-d<I>a<I>b
py
diff --git a/curdling/wheelhouse.py b/curdling/wheelhouse.py index <HASH>..<HASH> 100644 --- a/curdling/wheelhouse.py +++ b/curdling/wheelhouse.py @@ -88,7 +88,8 @@ def unpack(package, destination): # Find the setup.py script among the other contents try: - setup_py = min([x for x in get_names() if x...
Fixing a small bug in the way we find the setup.py script (curdling)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -47,10 +47,10 @@ requirements = [ ] test_requirements = [ - 'coverage>=3.7.1', - 'pytest-cov>=1.8.0', + 'coverage>=4.0.0', + 'pytest-cov>=2.1.0', 'pytest-pep8>=1.0.6', - 'pytest>=2.7.0', + 'pytest>=2...
tests: fix incompatibility with pytest>=<I> * FIX Removes calls to PluginManager consider_setuptools_entrypoints() removed in PyTest <I>.
py
diff --git a/gwpy/plotter/gps.py b/gwpy/plotter/gps.py index <HASH>..<HASH> 100644 --- a/gwpy/plotter/gps.py +++ b/gwpy/plotter/gps.py @@ -312,7 +312,7 @@ class GPSScale(GPSMixin, LinearScale): if unit is None and type(axis._scale) is GPSScale: unit = axis._scale.get_unit() if unit is Non...
GPSScale: protect against LIGOTimeGPS overflow
py
diff --git a/wrappers/pyrichdem/setup.py b/wrappers/pyrichdem/setup.py index <HASH>..<HASH> 100644 --- a/wrappers/pyrichdem/setup.py +++ b/wrappers/pyrichdem/setup.py @@ -11,7 +11,7 @@ ext_modules = [ glob.glob('src/*.cpp'), include_dirs = ['lib/'], language = 'c++', - extra_compile_ar...
Compiled with -flto
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -18,9 +18,19 @@ if version_info < (2, 4): print >> sys.stderr, "Glue requires at least version 2.4" sys.exit(1) -from distutils.core import setup, Extension +try: + from setuptools import setup +except ImportError a...
setup.py use setuptools if available - try/except imports setuptools if its there - if setup.py was run by pip, an exception is raised if setuptools isn't there, otherwise, old distutils is fine
py
diff --git a/test_constructible.py b/test_constructible.py index <HASH>..<HASH> 100644 --- a/test_constructible.py +++ b/test_constructible.py @@ -314,7 +314,7 @@ class TestHash(TestCase): from constructible import Constructible from fractions import Fraction as F - for x in [0,1,-1,F...
Python <I> does not support Fraction(float), test case removed
py
diff --git a/python/dllib/src/bigdl/dllib/nn/layer.py b/python/dllib/src/bigdl/dllib/nn/layer.py index <HASH>..<HASH> 100644 --- a/python/dllib/src/bigdl/dllib/nn/layer.py +++ b/python/dllib/src/bigdl/dllib/nn/layer.py @@ -2753,26 +2753,6 @@ class ConcatTable(Container): bigdl_type="float"): ...
delete useless CriterionTable (#<I>)
py
diff --git a/salt/states/pkg.py b/salt/states/pkg.py index <HASH>..<HASH> 100644 --- a/salt/states/pkg.py +++ b/salt/states/pkg.py @@ -2431,8 +2431,9 @@ def mod_aggregate(low, chunks, running): pkgs.extend(chunk['pkgs']) chunk['__agg__'] = True elif...
Pop off the version when aggregating pkg states This squelches a spurious warning that we get due to rewriting the low data such that the name and version are aggregated under the "pkgs" arg, with the "version" key remaining in the low chunk.
py
diff --git a/rosapi/_rosapi.py b/rosapi/_rosapi.py index <HASH>..<HASH> 100755 --- a/rosapi/_rosapi.py +++ b/rosapi/_rosapi.py @@ -197,7 +197,7 @@ class rosapi: # if end is set to bool(true) send ending character chr(0) if end: self.log.debug( 'writing EOS' ) - self.writeSock( chr( 0 ).encode( 'UTF-8', 'str...
replaced end of sentence mark with constant bytes
py
diff --git a/tensorflow_probability/python/distributions/hidden_markov_model.py b/tensorflow_probability/python/distributions/hidden_markov_model.py index <HASH>..<HASH> 100644 --- a/tensorflow_probability/python/distributions/hidden_markov_model.py +++ b/tensorflow_probability/python/distributions/hidden_markov_model....
Fix typo in HMM docstring (obs dist is over x | z, not z | x) PiperOrigin-RevId: <I>
py
diff --git a/lib/svtplay_dl/service/urplay.py b/lib/svtplay_dl/service/urplay.py index <HASH>..<HASH> 100644 --- a/lib/svtplay_dl/service/urplay.py +++ b/lib/svtplay_dl/service/urplay.py @@ -34,11 +34,16 @@ class Urplay(Service, OpenGraphThumbMixin): if len(jsondata["subtitles"]) > 0: for sub in j...
Fix subtitles in urplay The subtitle url was relative (in particular it left out the scheme) Never videos appears to use VTT/WRST format
py
diff --git a/salt/utils/event.py b/salt/utils/event.py index <HASH>..<HASH> 100644 --- a/salt/utils/event.py +++ b/salt/utils/event.py @@ -162,7 +162,7 @@ class SaltEvent(object): # longer hashes than others, and may exceed the IPC maximum length # for UNIX sockets. id_hash = hash_type(self.o...
Mistake in comparing hash type.
py
diff --git a/py/testdir_multi_jvm/test_rf_sample.py b/py/testdir_multi_jvm/test_rf_sample.py index <HASH>..<HASH> 100644 --- a/py/testdir_multi_jvm/test_rf_sample.py +++ b/py/testdir_multi_jvm/test_rf_sample.py @@ -91,13 +91,15 @@ class Basic(unittest.TestCase): # the sample is what we trained on. The CM...
the used/skipped numbers in the cm aren't useful any more, once you have enough trees to touch everything
py
diff --git a/ontobio/golr/golr_query.py b/ontobio/golr/golr_query.py index <HASH>..<HASH> 100644 --- a/ontobio/golr/golr_query.py +++ b/ontobio/golr/golr_query.py @@ -854,7 +854,7 @@ class GolrAssociationQuery(GolrAbstractQuery): start = n_docs while n_docs >= self.rows: loggi...
named arguments must come before variable args
py
diff --git a/aioice/ice.py b/aioice/ice.py index <HASH>..<HASH> 100644 --- a/aioice/ice.py +++ b/aioice/ice.py @@ -441,17 +441,23 @@ class Component: request.add_message_integrity(self.__connection.remote_password.encode('utf8')) request.add_fingerprint() + # transaction failed try: ...
[ice] refactor check outcome handling
py
diff --git a/nfc/dep.py b/nfc/dep.py index <HASH>..<HASH> 100644 --- a/nfc/dep.py +++ b/nfc/dep.py @@ -152,13 +152,16 @@ class Initiator(DataExchangeProtocol): def deactivate(self, release=True): log.info("stop {0}, packets {1}".format(self, self.stat)) - REQ, RES = (RLS_REQ, RLS_RES) if release ...
bugfix: need req object in deactivate for debug message
py
diff --git a/salt/runners/state.py b/salt/runners/state.py index <HASH>..<HASH> 100644 --- a/salt/runners/state.py +++ b/salt/runners/state.py @@ -16,10 +16,13 @@ def over(env='base', os_fn=None): if isinstance(stage, dict): # This is highstate data for key, val in stage.items(): - ...
update state runner to use overstate outputter
py
diff --git a/napalm_junos/junos.py b/napalm_junos/junos.py index <HASH>..<HASH> 100644 --- a/napalm_junos/junos.py +++ b/napalm_junos/junos.py @@ -1005,6 +1005,11 @@ class JunOSDriver(NetworkDriver): {elem[0]: elem[1] for elem in mac_table_entry[1]} ) mac = mac_entry.get('mac'...
Ignore "*" MACs.
py
diff --git a/neuropythy/__init__.py b/neuropythy/__init__.py index <HASH>..<HASH> 100644 --- a/neuropythy/__init__.py +++ b/neuropythy/__init__.py @@ -62,7 +62,7 @@ except: pass # Version information... -__version__ = '0.4.13' +__version__ = '0.5.0'
ready for version <I>, which will probably be the version archived in the OSF website...
py
diff --git a/txtwitter/tests/fake_twitter.py b/txtwitter/tests/fake_twitter.py index <HASH>..<HASH> 100644 --- a/txtwitter/tests/fake_twitter.py +++ b/txtwitter/tests/fake_twitter.py @@ -649,6 +649,7 @@ class FakeTwitterAPI(object): return dms[:count] + @fake_api('direct_messages.json') def direct_...
Docorators for the current fake direct messages api endpoints on FakeTwitterAPI
py
diff --git a/cherrypy/test/webtest.py b/cherrypy/test/webtest.py index <HASH>..<HASH> 100644 --- a/cherrypy/test/webtest.py +++ b/cherrypy/test/webtest.py @@ -188,7 +188,7 @@ class WebCase(TestCase): def _get_persistent(self): return hasattr(self.HTTP_CONN, "__class__") - def _set_persistent(self...
I suppose defaults don't mean much for property setters. ;)
py
diff --git a/lib/cfgepar.py b/lib/cfgepar.py index <HASH>..<HASH> 100644 --- a/lib/cfgepar.py +++ b/lib/cfgepar.py @@ -49,15 +49,17 @@ class ConfigObjEparDialog(editpar.EditParDialog): self.updateTitle(self._taskParsObj.filename) - def _doActualSave(self, filename, comment): + def _doActualSave(self,...
for #<I>; save local copies (~/.teal/) using the original files basename, not the task-name (tho they will often be the same) - this allows user-copies of multiple versions of files for the same task git-svn-id: <URL>
py
diff --git a/gearmand/check.py b/gearmand/check.py index <HASH>..<HASH> 100644 --- a/gearmand/check.py +++ b/gearmand/check.py @@ -14,14 +14,17 @@ MAX_NUM_TASKS = 200 class Gearman(AgentCheck): SERVICE_CHECK_NAME = 'gearman.can_connect' + gearman_clients = {} def get_library_versions(self): r...
Re-use gearman admin connections (#<I>) * Re-use gearman admin connections The python-gearman client will re-connect if its connection is lost, so we can memoize the connection and re-use it between checks. Since the connection *doesn't* have a __del__ destructor, this helps us avoid leaking a connection for eac...
py
diff --git a/pyndfd/ndfd.py b/pyndfd/ndfd.py index <HASH>..<HASH> 100644 --- a/pyndfd/ndfd.py +++ b/pyndfd/ndfd.py @@ -43,6 +43,7 @@ from ndfd_defs import ndfdDefs from numpy.ma.core import MaskedConstant as NAN from os import makedirs, path from pyproj import Geod, Proj +from shutil import rmtree from sys import s...
Remove past forecast times to avoid filling up tmp
py
diff --git a/pybar/fei4_run_base.py b/pybar/fei4_run_base.py index <HASH>..<HASH> 100644 --- a/pybar/fei4_run_base.py +++ b/pybar/fei4_run_base.py @@ -870,24 +870,22 @@ class Fei4RunBase(RunBase): logging.warning("Failed sending pyBAR status report") def configure(self): - '''Implementati...
MAINT: update docstring and allow empty scan
py
diff --git a/P4J/regression.py b/P4J/regression.py index <HASH>..<HASH> 100644 --- a/P4J/regression.py +++ b/P4J/regression.py @@ -10,6 +10,11 @@ def find_beta_WMCC(y, Phi, dy, max_inner_iterations=1, max_outer_iterations=100, Objective function can be the Weighted Maximum Correntropy Criterion (WMCC), Weigh...
Documented regression and added normalization for OLS and WLS
py
diff --git a/cmsplugin_cascade/bootstrap4/container.py b/cmsplugin_cascade/bootstrap4/container.py index <HASH>..<HASH> 100644 --- a/cmsplugin_cascade/bootstrap4/container.py +++ b/cmsplugin_cascade/bootstrap4/container.py @@ -342,11 +342,8 @@ class BootstrapColumnPlugin(BootstrapPluginBase): width = obj.g...
Fix problem in rendering the plugin's identifier
py
diff --git a/jsonrpc/site.py b/jsonrpc/site.py index <HASH>..<HASH> 100644 --- a/jsonrpc/site.py +++ b/jsonrpc/site.py @@ -216,7 +216,6 @@ class JSONRPCSite(object): def procedure_desc(self, key): M = self.urls[key] - print M.json_arg_types return { 'name': M.json_method, 'summary': M....
Remove print statement (wups)
py
diff --git a/tests/test_k8s_volume.py b/tests/test_k8s_volume.py index <HASH>..<HASH> 100644 --- a/tests/test_k8s_volume.py +++ b/tests/test_k8s_volume.py @@ -837,7 +837,7 @@ class K8sVolumeTest(unittest.TestCase): container_image = "redis:3.0.7" container_redis = utils.create_container(name=container...
K8sVolume: unit tests pass
py
diff --git a/modis/discord_modis/modules/music/api_youtube.py b/modis/discord_modis/modules/music/api_youtube.py index <HASH>..<HASH> 100644 --- a/modis/discord_modis/modules/music/api_youtube.py +++ b/modis/discord_modis/modules/music/api_youtube.py @@ -3,6 +3,7 @@ import logging from .... import datatools import ...
Trying pafy instead of the crap that is youtube-dl
py
diff --git a/graphene/utils/tests/test_str_converter.py b/graphene/utils/tests/test_str_converter.py index <HASH>..<HASH> 100644 --- a/graphene/utils/tests/test_str_converter.py +++ b/graphene/utils/tests/test_str_converter.py @@ -19,4 +19,4 @@ def test_camel_case(): def test_to_const(): - assert to_const('snak...
Updating tests for regex changes
py
diff --git a/cumulusci/robotframework/pageobjects/__init__.py b/cumulusci/robotframework/pageobjects/__init__.py index <HASH>..<HASH> 100644 --- a/cumulusci/robotframework/pageobjects/__init__.py +++ b/cumulusci/robotframework/pageobjects/__init__.py @@ -3,12 +3,12 @@ from .PageObjects import PageObjects # noqa: F401 ...
pageType=>page_type to be consistent with other page object code. Thanks for catching this in a code review, David!
py
diff --git a/grammpy_transforms/EpsilonRulesRemove/find_nonterminals_rewritable_to_epsilon.py b/grammpy_transforms/EpsilonRulesRemove/find_nonterminals_rewritable_to_epsilon.py index <HASH>..<HASH> 100644 --- a/grammpy_transforms/EpsilonRulesRemove/find_nonterminals_rewritable_to_epsilon.py +++ b/grammpy_transforms/Eps...
Finding of rewritable symbols now returns dictionary
py
diff --git a/examples/rosenbrock.py b/examples/rosenbrock.py index <HASH>..<HASH> 100644 --- a/examples/rosenbrock.py +++ b/examples/rosenbrock.py @@ -5,6 +5,8 @@ import downhill import numpy as np import theano +from theano.sandbox.rng_mrg import MRG_RandomStreams as RandomStreams + climate.enable_default_logging...
Add noise to loss for rosenbrock example!
py
diff --git a/tests/test_cli.py b/tests/test_cli.py index <HASH>..<HASH> 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -24,3 +24,12 @@ class TestInstaLooterCommandLineInterface(unittest.TestCase): def test_cli_plain(self): instaLooter.main(["mysteryjets", self.tmpdir, "--get-videos"]) ...
Add acceptance test for #<I>
py
diff --git a/endpoints/decorators/base.py b/endpoints/decorators/base.py index <HASH>..<HASH> 100644 --- a/endpoints/decorators/base.py +++ b/endpoints/decorators/base.py @@ -64,10 +64,6 @@ class TargetDecorator(FuncDecorator): except CallError: raise - except (AttributeError, TypeError) ...
removes not impelemented catch of certain exceptions on target base decorator in favor of just running it through the handle_error method, this addresses issue #<I>
py
diff --git a/vinaigrette/management/commands/makemessages.py b/vinaigrette/management/commands/makemessages.py index <HASH>..<HASH> 100644 --- a/vinaigrette/management/commands/makemessages.py +++ b/vinaigrette/management/commands/makemessages.py @@ -65,7 +65,7 @@ class Command(django_makemessages.Command): tr...
When using call_command through WSGI, normal print is protected and gives an exception
py
diff --git a/influxdb/client.py b/influxdb/client.py index <HASH>..<HASH> 100644 --- a/influxdb/client.py +++ b/influxdb/client.py @@ -684,6 +684,18 @@ localhost:8086/databasename', timeout=5, udp_port=159) for k, v in tags.items()]) self.query(query_str, dat...
Add grant_admin_privileges() to InfluxDBClient This allows users to easily alter the 'admin' attribute of a user account and complements the already existing 'revove_admin_privileges' method.
py
diff --git a/meshio/nastran/_nastran.py b/meshio/nastran/_nastran.py index <HASH>..<HASH> 100644 --- a/meshio/nastran/_nastran.py +++ b/meshio/nastran/_nastran.py @@ -1,7 +1,5 @@ """ I/O for Nastran bulk data. - -See <http://help.autodesk.com/view/NSTRN/2019/ENU/?guid=GUID-42B54ACB-FBE3-47CA-B8FE-475E7AD91A00> """ ...
nastran: exit -> raise
py
diff --git a/redis_metrics/__init__.py b/redis_metrics/__init__.py index <HASH>..<HASH> 100644 --- a/redis_metrics/__init__.py +++ b/redis_metrics/__init__.py @@ -1,3 +1,3 @@ -from .utils import metric +from .utils import gague, metric VERSION = (0, 1, 0)
added the gague shortcut to __init__.py
py
diff --git a/indra/assemblers/cyjs_assembler.py b/indra/assemblers/cyjs_assembler.py index <HASH>..<HASH> 100644 --- a/indra/assemblers/cyjs_assembler.py +++ b/indra/assemblers/cyjs_assembler.py @@ -186,8 +186,8 @@ class CyJSAssembler(object): ------- cyjs_str_context : str A json string ...
Edit docstring for print_cyjs_context() Docstring edited to reflect correct keys and values stored in dict that is printed to string when the function is called
py
diff --git a/goose/__init__.py b/goose/__init__.py index <HASH>..<HASH> 100644 --- a/goose/__init__.py +++ b/goose/__init__.py @@ -21,6 +21,7 @@ See the License for the specific language governing permissions and limitations under the License. """ import os +from tempfile import mkstemp from goose.version import ve...
#<I> - let python create a thread safe tmp file
py
diff --git a/girder/models/model_base.py b/girder/models/model_base.py index <HASH>..<HASH> 100644 --- a/girder/models/model_base.py +++ b/girder/models/model_base.py @@ -168,7 +168,7 @@ class Model(ModelImporter): :param filters: Any additional query operators to apply. :type filters: dict :...
Fix sphinx warnings for model base methods.
py
diff --git a/vec.py b/vec.py index <HASH>..<HASH> 100644 --- a/vec.py +++ b/vec.py @@ -84,6 +84,14 @@ class Vec(object): __truediv__ = __div__ __rtruediv__ = __div__ + def ivdiv(self, v): + self.x /= v.x + self.y /= v.y + return self + + def vdiv(self, v): + return self.cop...
Allow division of two vectors, opposite of dot
py
diff --git a/cassandra/cluster.py b/cassandra/cluster.py index <HASH>..<HASH> 100644 --- a/cassandra/cluster.py +++ b/cassandra/cluster.py @@ -1067,9 +1067,9 @@ class Session(object): return self.submit(run_add_or_renew_pool) def remove_pool(self, host): - log.debug("Removing connection pool for ...
Only log when host pool is actually removed
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,7 @@ from setuptools import setup, find_packages setup( name='pyjks', - version='0.3.1', + version='0.4.0', author="Kurt Rose", author_email="kurt@kurtrose.com", description='Pure-Python ...
version bump for <I> release
py
diff --git a/tests/test_handlers.py b/tests/test_handlers.py index <HASH>..<HASH> 100644 --- a/tests/test_handlers.py +++ b/tests/test_handlers.py @@ -20,10 +20,15 @@ class ConsiderItHandled(props.HasProperties): self.b = change['value'] @props.validator('a') - def _a_cannot_b_five(self, change): + ...
Test registering multiple validators to one property
py
diff --git a/mod_pbxproj/mod_pbxproj.py b/mod_pbxproj/mod_pbxproj.py index <HASH>..<HASH> 100755 --- a/mod_pbxproj/mod_pbxproj.py +++ b/mod_pbxproj/mod_pbxproj.py @@ -177,7 +177,8 @@ class PBXFileReference(PBXType): '.bundle': ('wrapper.plug-in', 'PBXResourcesBuildPhase'), '.dylib': ('compiled.mach-o....
Add support for .tbd libs
py
diff --git a/iota/filters.py b/iota/filters.py index <HASH>..<HASH> 100644 --- a/iota/filters.py +++ b/iota/filters.py @@ -161,20 +161,14 @@ class AddressNoChecksum(Trytes): def _apply(self, value): super(AddressNoChecksum, self)._apply(value) + if self._has_errors: + return None + + # Possible it'...
Thanks to the test cases I understand a bit more how the super and _apply work. All tests now pass.
py
diff --git a/salt/modules/acme.py b/salt/modules/acme.py index <HASH>..<HASH> 100644 --- a/salt/modules/acme.py +++ b/salt/modules/acme.py @@ -230,12 +230,15 @@ def cert(name, if 'no action taken' in res['stdout']: comment = 'Certificate {0} unchanged'.format(cert_file) + result = None elif ...
Fix incorrect change reporting in acme.cert Fixes #<I>
py
diff --git a/hgtools.py b/hgtools.py index <HASH>..<HASH> 100644 --- a/hgtools.py +++ b/hgtools.py @@ -27,7 +27,10 @@ class HGRepoManager(object): @staticmethod def get_valid_managers(location): classes = (LibraryManager, LegacyLibraryManager, SubprocessManager) - force_cmd = os.environ.get('HG_SETUPTOOLS_FORCE...
Added function get_manager so other projects can easily get an HGRepoManager.
py
diff --git a/isogeo_pysdk/isogeo.py b/isogeo_pysdk/isogeo.py index <HASH>..<HASH> 100644 --- a/isogeo_pysdk/isogeo.py +++ b/isogeo_pysdk/isogeo.py @@ -119,11 +119,13 @@ class Isogeo(OAuth2Session): "client_id": str, "client_secret": str, "auto_refresh_url": str, + "redi...
add redirect uri to user auth dict
py
diff --git a/pipreqs/pipreqs.py b/pipreqs/pipreqs.py index <HASH>..<HASH> 100755 --- a/pipreqs/pipreqs.py +++ b/pipreqs/pipreqs.py @@ -111,7 +111,7 @@ def get_locally_installed_packages(): for item in files: if "top_level" in item: with open(os.path.join(root, item), "...
fix(pipreqs): support windows directory separator
py
diff --git a/zounds/__init__.py b/zounds/__init__.py index <HASH>..<HASH> 100644 --- a/zounds/__init__.py +++ b/zounds/__init__.py @@ -1,4 +1,4 @@ -__version__ = '0.53.0' +__version__ = '0.53.1' from timeseries import \ Hours, Minutes, Seconds, Milliseconds, Microseconds, Picoseconds, \
New version with some minor bugfixes for the Hertz class
py
diff --git a/pupa/scrape/popolo.py b/pupa/scrape/popolo.py index <HASH>..<HASH> 100644 --- a/pupa/scrape/popolo.py +++ b/pupa/scrape/popolo.py @@ -25,8 +25,7 @@ class Post(BaseModel, LinkMixin, ContactDetailMixin): super(Post, self).__init__() self.label = label self.role = role - # TO...
change psuedo_organization to error if there isn't an org or default
py
diff --git a/slither/solc_parsing/declarations/function.py b/slither/solc_parsing/declarations/function.py index <HASH>..<HASH> 100644 --- a/slither/solc_parsing/declarations/function.py +++ b/slither/solc_parsing/declarations/function.py @@ -61,12 +61,14 @@ class FunctionSolc(Function): if 'payable' in attr...
Compact AST: Better support for state mutability
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 @@ -434,6 +434,21 @@ class DictSet(VaspInputSet): for k, v in self.user_potcar_settings.items(): self._config_dict["POTCAR"][k] = v +...
check POTCAR compatibility with potcar_functional
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -#/usr/bin/env python +#!/usr/bin/env python # Do not add setuptools here; use setupegg.py instead. Nose still has problems running # tests inside of egg packages, so it is useful to be able to install without e...
Added bang in setup.py
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -52,7 +52,7 @@ setup( python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*', install_requires=['matplotlib>=1.4', 'numpy>=1.11.0', 'scipy>=0.14', 'pint>=0.8', 'xarray>=0.10.7', '...
MNT: Only pin to minor version of pooch Rather than pinning to exact version including bug fix. Turns out we were already doing this for conda.
py
diff --git a/pyrtl/inputoutput.py b/pyrtl/inputoutput.py index <HASH>..<HASH> 100644 --- a/pyrtl/inputoutput.py +++ b/pyrtl/inputoutput.py @@ -284,6 +284,8 @@ def _graphviz_default_namer(thing, is_edge=True): return '[label="not"]' elif thing.op == 'x': return '[label="mux...
reduce size of c/s nodes in graphviz
py
diff --git a/src/streamlink/plugins/bfmtv.py b/src/streamlink/plugins/bfmtv.py index <HASH>..<HASH> 100644 --- a/src/streamlink/plugins/bfmtv.py +++ b/src/streamlink/plugins/bfmtv.py @@ -14,6 +14,10 @@ class BFMTV(Plugin): r'accountid="(?P<account_id>[0-9]+).*?videoid="(?P<video_id>[0-9]+)"', re.DOTAL...
plugins.bfmtv : fix rmcstory and rmcdecouverte (#<I>)
py
diff --git a/src/pyros/rosinterface/ros_interface.py b/src/pyros/rosinterface/ros_interface.py index <HASH>..<HASH> 100644 --- a/src/pyros/rosinterface/ros_interface.py +++ b/src/pyros/rosinterface/ros_interface.py @@ -144,6 +144,12 @@ class RosInterface(BaseInterface): diff_sub='~connections_diff'...
reiniting connection cache if dynamic_reconfigure disable/enable it.
py
diff --git a/sos/plugins/openvswitch.py b/sos/plugins/openvswitch.py index <HASH>..<HASH> 100644 --- a/sos/plugins/openvswitch.py +++ b/sos/plugins/openvswitch.py @@ -55,7 +55,9 @@ class OpenVSwitch(Plugin): # Capture LACP details "ovs-appctl lacp/show", # Capture coverage stats" ...
[openvswitch] Capture cached routes Provide cached routes from Open vSwitch.
py
diff --git a/blockstack/lib/config.py b/blockstack/lib/config.py index <HASH>..<HASH> 100644 --- a/blockstack/lib/config.py +++ b/blockstack/lib/config.py @@ -352,6 +352,7 @@ if os.getenv("BLOCKSTACK_TEST") is not None: # testing NAME_IMPORT_KEYRING_SIZE = 5 # number of keys to derive from t...
warn when we're in test mode
py
diff --git a/LiSE/LiSE/engine.py b/LiSE/LiSE/engine.py index <HASH>..<HASH> 100644 --- a/LiSE/LiSE/engine.py +++ b/LiSE/LiSE/engine.py @@ -1528,6 +1528,8 @@ class Engine(AbstractEngine, gORM): # TODO: rulebook priorities (not individual rule priorities, just follow the order of the rulebook) for ruleb...
Prevent evaluation of rules on deleted entities
py
diff --git a/h2o-py/h2o/targetencoder.py b/h2o-py/h2o/targetencoder.py index <HASH>..<HASH> 100644 --- a/h2o-py/h2o/targetencoder.py +++ b/h2o-py/h2o/targetencoder.py @@ -62,7 +62,7 @@ class TargetEncoder(object): self._responseColumnName = y self._foldColumnName = fold_column if 'blending_av...
PUBDEV-<I>: Fix for the test which is checking that deprecation warning was triggered.
py
diff --git a/great_expectations/render/renderer/other_section_renderer.py b/great_expectations/render/renderer/other_section_renderer.py index <HASH>..<HASH> 100644 --- a/great_expectations/render/renderer/other_section_renderer.py +++ b/great_expectations/render/renderer/other_section_renderer.py @@ -291,7 +291,7 @@ c...
unhashable list bugfix (#<I>) Here while using below code we were getting an error with trace: unhashable type: 'list' for which now I have changed that to set only. document_model = ProfilingResultsPageRenderer().render(validation_result)
py
diff --git a/spatialist/raster.py b/spatialist/raster.py index <HASH>..<HASH> 100644 --- a/spatialist/raster.py +++ b/spatialist/raster.py @@ -758,11 +758,12 @@ class Raster(object): outband = None if format == 'GTiff': outDataset.SetMetadataItem('TIFFTAG_DATETIME', strftime('%Y:%m:%d...
[Raster.write] fixed bug in writing bandnames to ENVI HDR file
py
diff --git a/src/infi/projector/helper/utils/__init__.py b/src/infi/projector/helper/utils/__init__.py index <HASH>..<HASH> 100644 --- a/src/infi/projector/helper/utils/__init__.py +++ b/src/infi/projector/helper/utils/__init__.py @@ -97,7 +97,13 @@ def get_python_interpreter(): def get_executable(filename): impo...
HOSTDEV-<I> fixing tests under isolated python
py
diff --git a/chalice/deployer.py b/chalice/deployer.py index <HASH>..<HASH> 100644 --- a/chalice/deployer.py +++ b/chalice/deployer.py @@ -155,7 +155,8 @@ def node(name, uri_path, is_route=False): class Deployer(object): - LAMBDA_CREATE_ATTEMPTS = 3 + LAMBDA_CREATE_ATTEMPTS = 5 + DELAY_TIME = 3 def...
Bump up retries on lambda creation attempt
py
diff --git a/alignak/daemon.py b/alignak/daemon.py index <HASH>..<HASH> 100644 --- a/alignak/daemon.py +++ b/alignak/daemon.py @@ -340,7 +340,14 @@ class Daemon(object): if self.http_thread: logger.info("Joining http_thread ..") - self.http_thread.join() + # Add a timeout t...
Enh: Add a timeout when joining http_thread so that process is not hanging
py
diff --git a/facepy/graph_api.py b/facepy/graph_api.py index <HASH>..<HASH> 100755 --- a/facepy/graph_api.py +++ b/facepy/graph_api.py @@ -230,11 +230,16 @@ class GraphAPI(object): # We'll handle this discrepancy as gracefully as we can by implementing logic to deal with this behavior # in the high-le...
Adds OAuthException exception and raises it when an OAuthException is recieved from Facebook.
py
diff --git a/alot/db/attachment.py b/alot/db/attachment.py index <HASH>..<HASH> 100644 --- a/alot/db/attachment.py +++ b/alot/db/attachment.py @@ -47,7 +47,8 @@ class Attachment(object): """mime type of the attachment part""" ctype = self.part.get_content_type() # replace underspecified mime ...
use magic on application/octetstream' attachments Some versions of AppleMail apparently send out attachements with incorrect mimetypes "application/octetstream" (instead of "application/octet-stream"). This patch makes alot use libmagic on the attachments content to determine the actual content type.
py
diff --git a/dpark/schedule.py b/dpark/schedule.py index <HASH>..<HASH> 100644 --- a/dpark/schedule.py +++ b/dpark/schedule.py @@ -776,6 +776,10 @@ class MesosScheduler(DAGScheduler): DAGScheduler.clear(self) self.init_job() + def processHeartBeat(self): + # no need in dpark now, just for ...
add process heartbeat method for new release pymesos
py
diff --git a/satpy/tests/writer_tests/test_mitiff.py b/satpy/tests/writer_tests/test_mitiff.py index <HASH>..<HASH> 100644 --- a/satpy/tests/writer_tests/test_mitiff.py +++ b/satpy/tests/writer_tests/test_mitiff.py @@ -24,13 +24,6 @@ Based on the test for geotiff writer """ import sys -import logging - -logger = lo...
Clean up a few things for mitiff writer tests
py
diff --git a/skyfield/iokit.py b/skyfield/iokit.py index <HASH>..<HASH> 100644 --- a/skyfield/iokit.py +++ b/skyfield/iokit.py @@ -46,9 +46,9 @@ except: try: urlopen('', cafile=None) except TypeError: - supports_cafile_argument = False + _supports_cafile_argument = False except ValueError: # Expected whe...
Hide a name I might not want to support forever
py
diff --git a/ommprotocol/ommprotocol.py b/ommprotocol/ommprotocol.py index <HASH>..<HASH> 100644 --- a/ommprotocol/ommprotocol.py +++ b/ommprotocol/ommprotocol.py @@ -366,7 +366,7 @@ def args_parse(argv=None): except: # maybe pdb? pdb = app.PDBFile(args.coordinates) ...
Fix typo and residual if from previous commit
py
diff --git a/tests/test_manhole.py b/tests/test_manhole.py index <HASH>..<HASH> 100644 --- a/tests/test_manhole.py +++ b/tests/test_manhole.py @@ -395,6 +395,7 @@ class ManholeTestCase(unittest.TestCase): self._wait_for_strings(proc.read, TIMEOUT, 'Waiting for new connection') self.ass...
Fix test_oneshot_on_usr2_error to reset the buffer before doing the second connection test.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -24,4 +24,5 @@ setup(name='nexmo', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', + 'Programming Language ::...
Add Python <I> as a supported version.
py
diff --git a/hotdoc/extensions/gi/gi_extension.py b/hotdoc/extensions/gi/gi_extension.py index <HASH>..<HASH> 100644 --- a/hotdoc/extensions/gi/gi_extension.py +++ b/hotdoc/extensions/gi/gi_extension.py @@ -671,7 +671,7 @@ class GIExtension(Extension): gtype_struct = klass_node.attrib.get(glib_ns('type-struct'...
gi: fix class structure lookup It was failing when the identifier prefix for a library was different from its namespace.
py
diff --git a/openquake/hazardlib/calc/filters.py b/openquake/hazardlib/calc/filters.py index <HASH>..<HASH> 100644 --- a/openquake/hazardlib/calc/filters.py +++ b/openquake/hazardlib/calc/filters.py @@ -331,7 +331,7 @@ class SourceFilter(object): :param use_rtree: by default True, i.e. try to use the rtre...
Restored rtree [skip CI]
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -142,6 +142,7 @@ setup( "Changelog": "https://github.com/libtcod/python-tcod/blob/develop/CHANGELOG.rst", "Source": "https://github.com/libtcod/python-tcod", "Tracker": "https://github.com/libtcod/py...
Link to GitHub Discussions from the project URLs.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -24,13 +24,13 @@ with open(path.join(here, 'README.rst'), encoding='utf-8') as f: setup( name='pyhacrf', - version='0.0.10', + version='0.0.11', packages=['pyhacrf'], install_requires=['numpy>=1.9', 'Py...
Release newest refactorings from fgregg.
py
diff --git a/model_utils/managers.py b/model_utils/managers.py index <HASH>..<HASH> 100644 --- a/model_utils/managers.py +++ b/model_utils/managers.py @@ -270,7 +270,6 @@ class SoftDeletableManagerMixin(object): Manager that limits the queryset by default to show only not removed instances of model. """ ...
Revert unrelated change regarding related fields Remove attribute use_for_related_fields in SoftDeletableManagerMixin.
py
diff --git a/src/you_get/extractors/qq.py b/src/you_get/extractors/qq.py index <HASH>..<HASH> 100644 --- a/src/you_get/extractors/qq.py +++ b/src/you_get/extractors/qq.py @@ -5,10 +5,12 @@ __all__ = ['qq_download'] from ..common import * def qq_download_by_vid(vid, title, output_dir='.', merge=True, info_only=False...
[QQ] update the url of get video info
py
diff --git a/src/gquery.py b/src/gquery.py index <HASH>..<HASH> 100644 --- a/src/gquery.py +++ b/src/gquery.py @@ -130,18 +130,17 @@ def get_parameters(rq, variables, endpoint, query_metadata, auth=None): mtype = match.group('type') muserdefined = match.group('userdefined') - if m...
Fix validation of literal strings. Fixes #<I>
py
diff --git a/grace/build.py b/grace/build.py index <HASH>..<HASH> 100644 --- a/grace/build.py +++ b/grace/build.py @@ -192,6 +192,10 @@ class Build(object): css_string = compiler.compile(scss_filename) except scss.errors.SassEvaluationError as e: ra...
Main Program * better error handling of sass errors
py
diff --git a/rllib/utils/metrics/learner_info.py b/rllib/utils/metrics/learner_info.py index <HASH>..<HASH> 100644 --- a/rllib/utils/metrics/learner_info.py +++ b/rllib/utils/metrics/learner_info.py @@ -106,5 +106,7 @@ def _all_tower_reduce(path, *tower_data): # Max stats: Reduce max. elif path[-1].st...
[RLlib] Tolerate nan metrics in LearnerInfoBuilder. (#<I>)
py
diff --git a/bibliopixel/main/common_flags.py b/bibliopixel/main/common_flags.py index <HASH>..<HASH> 100644 --- a/bibliopixel/main/common_flags.py +++ b/bibliopixel/main/common_flags.py @@ -140,7 +140,7 @@ def _make_project_flags(args): return project_flags -def make_project(args, desc, root_file): +def make_...
Fix crash in `bp demo`
py
diff --git a/geoviews/__init__.py b/geoviews/__init__.py index <HASH>..<HASH> 100644 --- a/geoviews/__init__.py +++ b/geoviews/__init__.py @@ -1,4 +1,26 @@ +import os, glob +from shutil import copyfile + from .element import (_Element, Feature, Tiles, # noqa (API import) WMTS, LineContours, ...
Added function to copy notebooks to specified path
py
diff --git a/chess/gaviota.py b/chess/gaviota.py index <HASH>..<HASH> 100644 --- a/chess/gaviota.py +++ b/chess/gaviota.py @@ -1828,7 +1828,7 @@ class PythonTablebases(object): and ``-1`` if the side to move is losing. >>> with chess.gaviota.open_tablebases("data/gaviota") as tablebases: - .....
This time, certainly (#<I>)
py
diff --git a/src/wa_kat/settings.py b/src/wa_kat/settings.py index <HASH>..<HASH> 100755 --- a/src/wa_kat/settings.py +++ b/src/wa_kat/settings.py @@ -83,8 +83,10 @@ NTK_ALEPH_URL = "http://aleph.techlib.cz/X" #: URL to the NTK aleph. USER_AGENT = "http://webarchiv.cz catalogization tool WA-KAT." API_PATH = "/api_...
#<I>: Added new settings _REQUEST_DB_PATH and _REQUEST_DB_SAVE.
py
diff --git a/angr/blade.py b/angr/blade.py index <HASH>..<HASH> 100644 --- a/angr/blade.py +++ b/angr/blade.py @@ -90,7 +90,7 @@ class Blade(object): regs = set() # Retrieve the target: are we slicing from a register(IRStmt.Put), or a temp(IRStmt.WrTmp)? - stmts = self._get_run(self._dst_run)...
Adapt Blade to the latest pyvex.
py
diff --git a/aikif/core_data.py b/aikif/core_data.py index <HASH>..<HASH> 100644 --- a/aikif/core_data.py +++ b/aikif/core_data.py @@ -15,7 +15,8 @@ def TEST(): print(e) # save a table - ev = CoreTable(fldr=os.getcwd(), tpe='Events', user='user01', header=['date', 'category', 'details']) + import ...
core data example saves to local log folder
py
diff --git a/multiqc/modules/snpeff/snpeff.py b/multiqc/modules/snpeff/snpeff.py index <HASH>..<HASH> 100644 --- a/multiqc/modules/snpeff/snpeff.py +++ b/multiqc/modules/snpeff/snpeff.py @@ -256,5 +256,5 @@ class MultiqcModule(BaseMultiqcModule): 'ymin': 0 } - return plots.linegra...
Shouldn't code during talks. Lack of concentration.
py
diff --git a/dev.py b/dev.py index <HASH>..<HASH> 100755 --- a/dev.py +++ b/dev.py @@ -360,9 +360,10 @@ elif args.command == 'docker-test': error("\nSome images failed.") elif args.command == 'init-demo': + os.environ['DJANGO_CA_SECRET_KEY'] = 'dummy' + if 'TOX_ENV_DIR' in os.environ: os.en...
always set a dummy secret key
py