diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/cpp/find_warnings.py b/cpp/find_warnings.py index <HASH>..<HASH> 100644 --- a/cpp/find_warnings.py +++ b/cpp/find_warnings.py @@ -36,6 +36,7 @@ from . import keywords from . import metrics from . import symbols from . import tokenize +from . import utils try: @@ -103,7 +104,7 @@ class WarningHunter...
Support reading various encoding here too
py
diff --git a/salt/modules/cp.py b/salt/modules/cp.py index <HASH>..<HASH> 100644 --- a/salt/modules/cp.py +++ b/salt/modules/cp.py @@ -341,6 +341,8 @@ def get_file_str(path, saltenv='base', env=None): ''' Return the contents of a file from a URL + Returns ``False`` if Salt was unable to cache a file from...
cp.get_file_str: do not fail if file not found (#<I>)
py
diff --git a/aiogram/dispatcher/filters/builtin.py b/aiogram/dispatcher/filters/builtin.py index <HASH>..<HASH> 100644 --- a/aiogram/dispatcher/filters/builtin.py +++ b/aiogram/dispatcher/filters/builtin.py @@ -127,7 +127,7 @@ class StateFilter(BaseFilter): if isinstance(item, State): stat...
Oops. This method renamed.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -30,6 +30,8 @@ setup( "push_notifications", "push_notifications/migrations", "push_notifications/south_migrations", + "push_notifications/management", + "push_notifications/management/commands", ], author=push_n...
Update setup.py Added management package so that pip installs the prune_devices command.
py
diff --git a/quilt/patch.py b/quilt/patch.py index <HASH>..<HASH> 100644 --- a/quilt/patch.py +++ b/quilt/patch.py @@ -28,9 +28,14 @@ class Patch(object): """ Wrapper arround the patch util """ - def __init__(self, cwd, patch_file, strip=1, backup=False, prefix=None): + def __init__(self, patch_file, str...
Improve quilt Patch command class Allow to run the patch command later. This is required when a patch with arguments is read from a series file.
py
diff --git a/openquake/engine/tools/make_html_report.py b/openquake/engine/tools/make_html_report.py index <HASH>..<HASH> 100644 --- a/openquake/engine/tools/make_html_report.py +++ b/openquake/engine/tools/make_html_report.py @@ -233,6 +233,9 @@ $("#tabs").tabs(); def make_tabs(tag_ids, tag_contents): + """ + ...
Added a docstring Former-commit-id: f<I>c7c<I>fb<I>c<I>d6bc1aa<I>e7b<I>cb<I>
py
diff --git a/habra_favorites/loaders.py b/habra_favorites/loaders.py index <HASH>..<HASH> 100644 --- a/habra_favorites/loaders.py +++ b/habra_favorites/loaders.py @@ -103,6 +103,16 @@ def process_rating_all(group): return process +def process_views(value): + try: + return int(value) + except Value...
Adjusted parser to new format of number of views.
py
diff --git a/nolds/test_measures.py b/nolds/test_measures.py index <HASH>..<HASH> 100644 --- a/nolds/test_measures.py +++ b/nolds/test_measures.py @@ -132,7 +132,7 @@ class TestNoldsLyap(unittest.TestCase): "trajectory_len": np.random.randint(2,10) } min_len = nolds.lyap_r_len(**kwargs) - fo...
bugfix: enures that we do not try to test with negative sequence lengths
py
diff --git a/pyphi/macro.py b/pyphi/macro.py index <HASH>..<HASH> 100644 --- a/pyphi/macro.py +++ b/pyphi/macro.py @@ -13,6 +13,7 @@ import os import numpy as np from . import compute, constants, convert, utils, validate +from .constants import DIRECTIONS, PAST, FUTURE from .network import Network from .node impo...
Override network-dependant `potential_purviews`
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setup( license="Apache Software License", author="Andrey Kislyuk", author_email="kislyuk@gmail.com", - description="yq: Command-line YAML processor - jq wrapper for YAML documents", + descri...
Shorten description in setup.py
py
diff --git a/parsl/dataflow/config_defaults.py b/parsl/dataflow/config_defaults.py index <HASH>..<HASH> 100644 --- a/parsl/dataflow/config_defaults.py +++ b/parsl/dataflow/config_defaults.py @@ -83,6 +83,10 @@ def update_config(config, rundir): "auth": {}, "execution": { "scri...
Updating config defaults to support docker specification
py
diff --git a/discord/http.py b/discord/http.py index <HASH>..<HASH> 100644 --- a/discord/http.py +++ b/discord/http.py @@ -53,7 +53,7 @@ class Route: self.method = method url = (self.BASE + self.path) if parameters: - self.url = url.format(**{k: _uriquote(v) for k, v in parameters....
Fix URI quoting in Route.
py
diff --git a/tests/test_args1kws0.py b/tests/test_args1kws0.py index <HASH>..<HASH> 100644 --- a/tests/test_args1kws0.py +++ b/tests/test_args1kws0.py @@ -25,7 +25,7 @@ def test_foo(): with pytest.raises(TypeError) as e: foo("bar") assert str(e.value) == "Incorrect type for argument `x`: expected " \...
Fix 1 test to work both on Py2 and Py3
py
diff --git a/django_js_reverse/views.py b/django_js_reverse/views.py index <HASH>..<HASH> 100644 --- a/django_js_reverse/views.py +++ b/django_js_reverse/views.py @@ -15,7 +15,7 @@ def urls_js(request): url_patterns = list(urlresolvers.get_resolver(None).reverse_dict.items()) url_list = [(url_name, url_patt...
Added unicode support If the url names where in unicode, they would not be included in the generated javascript. This should fix that.
py
diff --git a/openquake/hazardlib/tests/gsim/abrahamson_2018_test.py b/openquake/hazardlib/tests/gsim/abrahamson_2018_test.py index <HASH>..<HASH> 100644 --- a/openquake/hazardlib/tests/gsim/abrahamson_2018_test.py +++ b/openquake/hazardlib/tests/gsim/abrahamson_2018_test.py @@ -15,7 +15,11 @@ # # You should have rece...
Adds indication of source of test tables Former-commit-id: e<I>e<I>fc<I>ada<I>e8c4
py
diff --git a/ipywidgets/__init__.py b/ipywidgets/__init__.py index <HASH>..<HASH> 100644 --- a/ipywidgets/__init__.py +++ b/ipywidgets/__init__.py @@ -21,7 +21,7 @@ accessible as a `value` attribute. import os from IPython import get_ipython -from ._version import version_info, __version__, __protocol_version__ +fr...
export jupyter widget version in ipywidgets
py
diff --git a/lancet/launch.py b/lancet/launch.py index <HASH>..<HASH> 100644 --- a/lancet/launch.py +++ b/lancet/launch.py @@ -791,7 +791,7 @@ class QLauncher(Launcher): # Pickle launcher before exit if necessary. if self.dynamic or (self.reduction_fn is not None): pickle_path = os.path.j...
QLauncher data pickled with protocol 2
py
diff --git a/fastprogress/fastprogress.py b/fastprogress/fastprogress.py index <HASH>..<HASH> 100644 --- a/fastprogress/fastprogress.py +++ b/fastprogress/fastprogress.py @@ -142,7 +142,7 @@ class NBProgressBar(ProgressBar): def on_interrupt(self): #self.progress.bar_style = 'danger' if self.pare...
Progress bar disappears on on_interrupt if leave=False
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ setup( description=_short_description, version=_version, packages=_packages, - install_requires=['pylint-plugin-utils'], + install_requires=['pylint', 'astroid', 'pylint-plugin-utils'], ...
Adding full dependency list on pylint and astroid
py
diff --git a/angr/analyses/vfg.py b/angr/analyses/vfg.py index <HASH>..<HASH> 100644 --- a/angr/analyses/vfg.py +++ b/angr/analyses/vfg.py @@ -20,7 +20,7 @@ class VFG(Analysis, CFGBase): ''' This class represents a control-flow graph with static analysis result. ''' - def __init__(self, cfg, context_s...
fixed VFG's support for interfunction_level
py
diff --git a/salt/states/virtualenv_mod.py b/salt/states/virtualenv_mod.py index <HASH>..<HASH> 100644 --- a/salt/states/virtualenv_mod.py +++ b/salt/states/virtualenv_mod.py @@ -163,7 +163,7 @@ def managed(name, extra_search_dir=extra_search_dir, never_download=never_download, pr...
virtualenv.managed: use "user" instead of "runas" for pip install This commit changes the virtualenv.managed state to use "user" instead of "runas" when it runs pip.install to satisfy a requirements file.
py
diff --git a/svtplay_dl.py b/svtplay_dl.py index <HASH>..<HASH> 100755 --- a/svtplay_dl.py +++ b/svtplay_dl.py @@ -794,6 +794,7 @@ class Urplay(): data = re.sub("(\w+): ", r'"\1":',data.group(1)) data = data.replace("\'", "\"").replace("\",}","\"}").replace("(m = location.hash.match(/[#&]start=(\d+)/)...
urplay: support for subtitles
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -17,6 +17,7 @@ setup( keywords='xbox one microsoft', tests_require=['pytest==2.6.2', 'tox==1.7.3'], license='MIT', + zip_safe=False, classifiers=[ 'Intended Audience :: Developers', 'Li...
Explicitly set zip_safe to False
py
diff --git a/salt/states/boto_elasticsearch_domain.py b/salt/states/boto_elasticsearch_domain.py index <HASH>..<HASH> 100644 --- a/salt/states/boto_elasticsearch_domain.py +++ b/salt/states/boto_elasticsearch_domain.py @@ -97,6 +97,10 @@ def __virtual__(): return 'boto_elasticsearch_domain' if 'boto_elasticsearch_...
boto_elasticsearch_domain: avoid unnecessary changes to the Elasticsearch domain Order of action and resource items within the AccessPolicy is not preserved by AWS. This causes the check whether the real state matches the desired state to fail unpredictably. This in turns results in 'no op' change requests to Elastics...
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -12,7 +12,6 @@ from datetime import datetime from distutils.cmd import Command from distutils.command.build import build from distutils.command.clean import clean -from distutils.command.install import install from distuti...
Import install command from setuptools if we use them. This commit fixes bug with option --single-version-externally-managed.
py
diff --git a/anyconfig/backend/msgpack.py b/anyconfig/backend/msgpack.py index <HASH>..<HASH> 100644 --- a/anyconfig/backend/msgpack.py +++ b/anyconfig/backend/msgpack.py @@ -58,7 +58,7 @@ class Parser(anyconfig.backend.base.FromStreamLoader, :return: Dict-like object holding configuration """ - ...
fix: [msgpack] ensure loaded results are container-ed objects
py
diff --git a/cumulusci/tasks/salesforce.py b/cumulusci/tasks/salesforce.py index <HASH>..<HASH> 100644 --- a/cumulusci/tasks/salesforce.py +++ b/cumulusci/tasks/salesforce.py @@ -623,8 +623,10 @@ class UninstallPackagedIncremental(UninstallPackaged): os.path.join(self.options['path'], 'package.xml'), ...
UninstallPackagedIncremental shouldn't deploy a delete if no metadata to be deleted was found
py
diff --git a/webssh/_version.py b/webssh/_version.py index <HASH>..<HASH> 100644 --- a/webssh/_version.py +++ b/webssh/_version.py @@ -1,2 +1,2 @@ -__version_info__ = (1, 5, 3) +__version_info__ = (1, 6, 0) __version__ = '.'.join(map(str, __version_info__))
Bump to version <I>
py
diff --git a/framework/VM_submitJob.py b/framework/VM_submitJob.py index <HASH>..<HASH> 100755 --- a/framework/VM_submitJob.py +++ b/framework/VM_submitJob.py @@ -144,6 +144,8 @@ def vm_submitjob(vmid,cpu,memory, max_memory, io): # If get ip failed, terminate this VM if guest_ip == "": + print 'Iss...
Issue#7 - Added message for termination Not an issue. VM terminated as it was booted with very low memory (1 KiB).
py
diff --git a/pyatv/support/mdns.py b/pyatv/support/mdns.py index <HASH>..<HASH> 100644 --- a/pyatv/support/mdns.py +++ b/pyatv/support/mdns.py @@ -607,7 +607,7 @@ async def multicast( # One socket per local IP address for addr in net.get_private_addresses(): try: - await protocol.add_socke...
mdns: Revert binding to port <I> Seems to work better when binding to random port, so changing back. Fixes #<I>
py
diff --git a/salt/client/api.py b/salt/client/api.py index <HASH>..<HASH> 100644 --- a/salt/client/api.py +++ b/salt/client/api.py @@ -39,7 +39,7 @@ class APIClient(object): self.local = salt.client.LocalClient(self.opts['conf_file']) self.runner = salt.runner.RunnerClient(self.opts) self.whe...
Now uses new auth Resolve instead of Load
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,5 @@ import os +import codecs from distutils.core import setup @@ -10,7 +11,7 @@ setup( name='django-messages-extends', version='0.3', description='A Django app for extends Django\'s messages frame...
setup.py fixed for python 3 compatibility
py
diff --git a/tests/test_platform.py b/tests/test_platform.py index <HASH>..<HASH> 100644 --- a/tests/test_platform.py +++ b/tests/test_platform.py @@ -3,7 +3,7 @@ import sys -from pex.pep425tags import get_abi_tag, get_abbr_impl, get_impl_ver +from pex.pep425tags import get_abbr_impl, get_abi_tag, get_impl_ver fr...
Fix stray bad isort. (#<I>) I'm not sure how this snuck in master, but cleans it up.
py
diff --git a/astroplan/scheduling.py b/astroplan/scheduling.py index <HASH>..<HASH> 100644 --- a/astroplan/scheduling.py +++ b/astroplan/scheduling.py @@ -30,7 +30,7 @@ class ObservingBlock(object): constraints on observations. """ @u.quantity_input(duration=u.second) - def __init__(self, target, dura...
Added a "name" attribute to ObservingBlock, which can be used to assign a user-defined name or ID to a block. Should probably be used in __repr__ as well, if present.
py
diff --git a/algo.py b/algo.py index <HASH>..<HASH> 100644 --- a/algo.py +++ b/algo.py @@ -55,7 +55,9 @@ class Algo: os.makedirs('./dumps') date = time.strftime('%y%m%d-%Hh%Mm%S', time.localtime()) - pickle.dump(self.infos, open('dumps/' + date + '-' + self.infos['name'], 'wb')) +...
added lenght of testSet at the end of dump files names
py
diff --git a/benchexec/tablegenerator/__init__.py b/benchexec/tablegenerator/__init__.py index <HASH>..<HASH> 100644 --- a/benchexec/tablegenerator/__init__.py +++ b/benchexec/tablegenerator/__init__.py @@ -185,7 +185,7 @@ def _get_column_type_heur(column, column_values): column_unit = column.unit if int(co...
Fix bug: If a column with a scale factor has no valid values, use a column type 'measure' with a number of maxf decimal digits of 0 (for formatting).
py
diff --git a/recipes/json_recipes/run_recipe_json.py b/recipes/json_recipes/run_recipe_json.py index <HASH>..<HASH> 100644 --- a/recipes/json_recipes/run_recipe_json.py +++ b/recipes/json_recipes/run_recipe_json.py @@ -51,8 +51,8 @@ print ('Use `postman` to inject test requests,\n\twith HTTP header X-Gremlin-ID: a = s...
enable assertion checking in json recipes
py
diff --git a/h2o-py/tests/testdir_algos/automl/pyunit_automl_model_selection.py b/h2o-py/tests/testdir_algos/automl/pyunit_automl_model_selection.py index <HASH>..<HASH> 100644 --- a/h2o-py/tests/testdir_algos/automl/pyunit_automl_model_selection.py +++ b/h2o-py/tests/testdir_algos/automl/pyunit_automl_model_selection....
PUBDEV-<I> testfix (#<I>) * removing algos from the runtime exploitation test * remove assertion in test
py
diff --git a/pyes/filters.py b/pyes/filters.py index <HASH>..<HASH> 100644 --- a/pyes/filters.py +++ b/pyes/filters.py @@ -198,6 +198,11 @@ class TermFilter(Filter): raise RuntimeError("A least a field/value pair must be added") return {self._internal_name:self._values} +class MissingFilter(Term...
Added MissingFilter as a subclass of TermFilter
py
diff --git a/nanocomp/utils.py b/nanocomp/utils.py index <HASH>..<HASH> 100644 --- a/nanocomp/utils.py +++ b/nanocomp/utils.py @@ -305,6 +305,7 @@ def get_args(): args = parser.parse_args() sources = [ args.fastq, + args.fastq_rich, args.summary, args.bam, args.fasta...
listing sources to check number of names/files
py
diff --git a/eulfedora/syncutil.py b/eulfedora/syncutil.py index <HASH>..<HASH> 100644 --- a/eulfedora/syncutil.py +++ b/eulfedora/syncutil.py @@ -129,7 +129,7 @@ def sync_object(src_obj, dest_repo, export_context='migrate', for chunk in export_data) if overwrite and dest_obj.exists: ...
Convert debugging print statement into debug logging message
py
diff --git a/src/foremast/awslambda/api_gateway_event/api_gateway_event.py b/src/foremast/awslambda/api_gateway_event/api_gateway_event.py index <HASH>..<HASH> 100644 --- a/src/foremast/awslambda/api_gateway_event/api_gateway_event.py +++ b/src/foremast/awslambda/api_gateway_event/api_gateway_event.py @@ -250,13 +250,1...
style: Properly give unused variables a more obvious name
py
diff --git a/benchexec/outputhandler.py b/benchexec/outputhandler.py index <HASH>..<HASH> 100644 --- a/benchexec/outputhandler.py +++ b/benchexec/outputhandler.py @@ -816,10 +816,10 @@ class OutputHandler(object): if self.compress_results else self.xml_file_names ...
Fix incorrect escaping of table-generator cmdline that is printed The path to table-generator was not escaped at all, so even whitespace was a problem, and the paths to the XML files were wrong in case they contained a ' character. Now we use a proper escaping method, which also avoids quotes in the common case where ...
py
diff --git a/salt/config/__init__.py b/salt/config/__init__.py index <HASH>..<HASH> 100644 --- a/salt/config/__init__.py +++ b/salt/config/__init__.py @@ -3321,6 +3321,12 @@ def api_config(path): # Let's override them with salt's master opts opts.update(client_config(path, defaults=DEFAULT_MASTER_OPTS)) + ...
Make sure the pidfile and log_file values are overriden by api opts
py
diff --git a/IndexedRedis/__init__.py b/IndexedRedis/__init__.py index <HASH>..<HASH> 100644 --- a/IndexedRedis/__init__.py +++ b/IndexedRedis/__init__.py @@ -1752,7 +1752,7 @@ class IndexedRedisSave(IndexedRedisHelper): self._add_id_to_keys(obj._id, pipeline) for indexedField in self.indexedFields: - self...
bug fix: Don't double-toStorage indexes. toIndex should be called with the converted value.
py
diff --git a/buildozer/__init__.py b/buildozer/__init__.py index <HASH>..<HASH> 100644 --- a/buildozer/__init__.py +++ b/buildozer/__init__.py @@ -553,6 +553,8 @@ class Buildozer(object): source = join(cwd, source) target = join(cwd, target) self.debug('Rename {0} to {1}'.format(sourc...
Test in file_rename if target directory exists. This is an attempt to give a reasonable error message in cases where we are about to crash. In particular, when android.sdk_path has a path that does not exist, buildozer should provide a hint as to what might have gone wrong.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -19,6 +19,9 @@ author_email = 'jamie.matthews@gmail.com' license = 'BSD' install_requires = ["django>=1.3"] +with open('README.md') as f: + readme = f.read() + def get_version(package): """ @@ -68,6 +71,8 @@ set...
Add readme as long description This is what shows up on PyPI
py
diff --git a/openquake/calculators/event_based_damage.py b/openquake/calculators/event_based_damage.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/event_based_damage.py +++ b/openquake/calculators/event_based_damage.py @@ -180,14 +180,9 @@ class DamageCalculator(EventBasedRiskCalculator): def post_ex...
Saving damages-rlzs in event_based_damage too
py
diff --git a/gp/core.py b/gp/core.py index <HASH>..<HASH> 100644 --- a/gp/core.py +++ b/gp/core.py @@ -336,7 +336,7 @@ class GPJob(GPResource): self.get_info() # Lazily load children - if self.children is not None: + if self.children: return self.children else...
Bug fix for lazily initializing child jobs
py
diff --git a/stat_parser/treebanks/normalize.py b/stat_parser/treebanks/normalize.py index <HASH>..<HASH> 100644 --- a/stat_parser/treebanks/normalize.py +++ b/stat_parser/treebanks/normalize.py @@ -58,7 +58,7 @@ def un_chomsky_normal_form(tree): for i in range(2, len(tree)): if sym == tree[i][0]:...
Fix IndexError for some inputs when creating un_chomsky_normal_form. A sample sentence such as "That o'er the files and musters of the war Have glow'd like plated Mars, now bend, now turn, The office and devotion of their view Upon a tawny front." throws an error when parsed.
py
diff --git a/raiden/transfer/mediated_transfer/state.py b/raiden/transfer/mediated_transfer/state.py index <HASH>..<HASH> 100644 --- a/raiden/transfer/mediated_transfer/state.py +++ b/raiden/transfer/mediated_transfer/state.py @@ -774,7 +774,7 @@ class MediationPairState(State): ) @property - def pay...
payer_address() returns Address and not bytes
py
diff --git a/blitzdb/tests/fixtures.py b/blitzdb/tests/fixtures.py index <HASH>..<HASH> 100644 --- a/blitzdb/tests/fixtures.py +++ b/blitzdb/tests/fixtures.py @@ -5,7 +5,6 @@ import time try: # TODO: Remove for final commit; mongodb tests too slow... - raise ImportError import pymongo from blitzdb....
Don't skip Mongo tests.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ history = open('CHANGES.rst').read() tests_require = [ 'invenio-config>=1.0.3', 'invenio-theme>=1.3.20', - 'invenio-db[versioning]>=1.0.13', + 'invenio-db[versioning]>=1.0.14', 'mock>=1.3.0...
setup: bump invenio-db for tests
py
diff --git a/pylocus/lateration.py b/pylocus/lateration.py index <HASH>..<HASH> 100644 --- a/pylocus/lateration.py +++ b/pylocus/lateration.py @@ -68,7 +68,7 @@ def SRLS(anchors, W, r2, print_out=False): lambda_opt = optimize.bisect(phi, I_orig, inf) except: print('Bisect failed. Trying Newton......
Increased default number of iterations in newton optimization.
py
diff --git a/alphatwirl/binning/Round.py b/alphatwirl/binning/Round.py index <HASH>..<HASH> 100755 --- a/alphatwirl/binning/Round.py +++ b/alphatwirl/binning/Round.py @@ -15,9 +15,10 @@ class Round(object): self.width = width self.aboundary = aboundary - self.halfWidth = self.width/2 if self....
fix a potential bug, clean code in Round
py
diff --git a/fritzhome/__main__.py b/fritzhome/__main__.py index <HASH>..<HASH> 100644 --- a/fritzhome/__main__.py +++ b/fritzhome/__main__.py @@ -168,7 +168,7 @@ def switch_off(context, ain): @cli.command(name="switch-state") @click.argument('ain') @click.pass_context -def switch_on(context, ain): +def switch_state...
Renamed method names Renamed duplicate method names
py
diff --git a/puppet/bootstrap.py b/puppet/bootstrap.py index <HASH>..<HASH> 100644 --- a/puppet/bootstrap.py +++ b/puppet/bootstrap.py @@ -17,6 +17,7 @@ except ImportError: PUPPET_TARGET_VERSION = "3.6.2" PUPPET_DIR = os.path.join(os.path.dirname(__file__)) +HIERA_FILE = os.path.join(PUPPET_DIR, 'hiera.yaml') MODU...
Using hiera.yaml from puppet folder
py
diff --git a/riak/tests/test_all.py b/riak/tests/test_all.py index <HASH>..<HASH> 100644 --- a/riak/tests/test_all.py +++ b/riak/tests/test_all.py @@ -92,6 +92,13 @@ class BaseTestCase(object): def setUp(self): self.client = self.create_client() + # make sure these are not left over from a previo...
Remove any leftover objects from a failed test_store_of_missing_object.
py
diff --git a/exa/core/numerical.py b/exa/core/numerical.py index <HASH>..<HASH> 100644 --- a/exa/core/numerical.py +++ b/exa/core/numerical.py @@ -171,7 +171,7 @@ class DataFrame(BaseDataFrame, pd.DataFrame): """ Inplace conversion to categories. """ - for column, _ in self._categories...
Reverted a missing dtype
py
diff --git a/molecule/verifier/ansible_lint.py b/molecule/verifier/ansible_lint.py index <HASH>..<HASH> 100644 --- a/molecule/verifier/ansible_lint.py +++ b/molecule/verifier/ansible_lint.py @@ -49,6 +49,7 @@ class AnsibleLint(base.Base): env = { 'ANSIBLE_CONFIG': self._molecule.confi...
Fix environment passed to ansible-lint (#<I>)
py
diff --git a/edisgo/data/import_data.py b/edisgo/data/import_data.py index <HASH>..<HASH> 100644 --- a/edisgo/data/import_data.py +++ b/edisgo/data/import_data.py @@ -314,7 +314,7 @@ def _build_mv_grid(ding0_grid, network): transformers=[Transformer( mv_grid=grid, grid=grid, - ...
Change naming of MV station transformers to be consistent with LV transformers
py
diff --git a/dynesty/utils.py b/dynesty/utils.py index <HASH>..<HASH> 100644 --- a/dynesty/utils.py +++ b/dynesty/utils.py @@ -168,7 +168,7 @@ def resample_equal(samples, weights, rstate=None): positions = (rstate.random() + np.arange(nsamples)) / nsamples # Resample the data. - idx = np.zeros(nsamples, ...
move np.int to int `np.int` is due to be deprecated in `numpy` (<URL>)
py
diff --git a/hydpy/core/devicetools.py b/hydpy/core/devicetools.py index <HASH>..<HASH> 100644 --- a/hydpy/core/devicetools.py +++ b/hydpy/core/devicetools.py @@ -77,6 +77,7 @@ False # ...from standard library import abc import copy +import itertools import warnings from typing import * # ...from site-packages @@...
Let property `deploymode` of class `Node` of module `devicetools` update all relevant `Model` objects automatically.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from setuptools import setup, find_packages setup( name='hvac', - version='0.2.17', + version='0.2.17.1', description='HashiCorp Vault API client', author='Ian Unruh', author_email='ia...
set custom version on setup.py
py
diff --git a/examples/plot_hmm_stock_analysis.py b/examples/plot_hmm_stock_analysis.py index <HASH>..<HASH> 100644 --- a/examples/plot_hmm_stock_analysis.py +++ b/examples/plot_hmm_stock_analysis.py @@ -14,7 +14,13 @@ from __future__ import print_function import datetime import numpy as np import pylab as pl -from m...
DOC added a workaround for older ``matplotlib`` to ``examples``
py
diff --git a/ml-agents/mlagents/trainers/demo_loader.py b/ml-agents/mlagents/trainers/demo_loader.py index <HASH>..<HASH> 100644 --- a/ml-agents/mlagents/trainers/demo_loader.py +++ b/ml-agents/mlagents/trainers/demo_loader.py @@ -18,6 +18,8 @@ def make_demo_buffer(brain_infos, brain_params, sequence_length): ...
Move done and reward to buffer from demonstration
py
diff --git a/mpop/satin/viirs_sdr.py b/mpop/satin/viirs_sdr.py index <HASH>..<HASH> 100644 --- a/mpop/satin/viirs_sdr.py +++ b/mpop/satin/viirs_sdr.py @@ -136,9 +136,15 @@ class ViirsBandData(object): self.nodata + EPSILON) # Is it necessary to mask negatives? - ...
Scaling reflectances to percent (%) as required in mpop
py
diff --git a/porespy/networks/__funcs__.py b/porespy/networks/__funcs__.py index <HASH>..<HASH> 100644 --- a/porespy/networks/__funcs__.py +++ b/porespy/networks/__funcs__.py @@ -134,7 +134,7 @@ def add_boundary_regions(regions=None, faces=['front', 'back', 'left', zero_corners(regions, pw * 3) # Make label...
Fix offset variable in call to relabel_sequential (0 -> 1)
py
diff --git a/ndio/service/boss/v0_5/tests/test_user_role.py b/ndio/service/boss/v0_5/tests/test_user_role.py index <HASH>..<HASH> 100644 --- a/ndio/service/boss/v0_5/tests/test_user_role.py +++ b/ndio/service/boss/v0_5/tests/test_user_role.py @@ -58,7 +58,7 @@ class TestUserRole(unittest.TestCase): def test_add_ro...
Changed success response code for now. Expect that this become <I> instead of <I> shortly.
py
diff --git a/alignak/http/arbiter_interface.py b/alignak/http/arbiter_interface.py index <HASH>..<HASH> 100644 --- a/alignak/http/arbiter_interface.py +++ b/alignak/http/arbiter_interface.py @@ -162,15 +162,15 @@ class ArbiterInterface(GenericInterface): for prop in props: ...
Arbiter get_all_states logs all the serialization errors
py
diff --git a/androguard/gui/sourcewindow.py b/androguard/gui/sourcewindow.py index <HASH>..<HASH> 100644 --- a/androguard/gui/sourcewindow.py +++ b/androguard/gui/sourcewindow.py @@ -695,7 +695,7 @@ class SourceWindow(QtWidgets.QTextEdit): else: self.mainwin.showStatus( "Rename no...
assume that t[0] was ment
py
diff --git a/edisgo/grid/components.py b/edisgo/grid/components.py index <HASH>..<HASH> 100644 --- a/edisgo/grid/components.py +++ b/edisgo/grid/components.py @@ -347,6 +347,11 @@ class LVStation(Station): def __init__(self, **kwargs): super().__init__(**kwargs) + self._mv_grid = kwargs.get('mv_g...
add attr. mv_grid to LVStation class
py
diff --git a/lib/meta/list.py b/lib/meta/list.py index <HASH>..<HASH> 100644 --- a/lib/meta/list.py +++ b/lib/meta/list.py @@ -423,6 +423,14 @@ class List(memory_region.MemoryRegion): return instance + def read_memory(self): + # initialize all the arguments to get the most accurate read-out of + ...
instantiate all list members before reading from memory
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -49,6 +49,7 @@ setup( 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', ...
Add Python <I> to the list of supported Python versions.
py
diff --git a/scoop/launcher.py b/scoop/launcher.py index <HASH>..<HASH> 100644 --- a/scoop/launcher.py +++ b/scoop/launcher.py @@ -277,7 +277,7 @@ class ScoopApp(object): total_workers_host = min(nb_workers, self.workersLeft) self.setWorkerInfo(hostname, total_workers_host) - self...
* Fixed launcher when number of workers is > 1 per host
py
diff --git a/inbox/client/restful_model_collection.py b/inbox/client/restful_model_collection.py index <HASH>..<HASH> 100644 --- a/inbox/client/restful_model_collection.py +++ b/inbox/client/restful_model_collection.py @@ -30,12 +30,16 @@ class RestfulModelCollectionIterator(): class RestfulModelCollection(): - ...
[client/restful_model_collection] Fix filters in restful model collection.
py
diff --git a/tracer/tracer.py b/tracer/tracer.py index <HASH>..<HASH> 100644 --- a/tracer/tracer.py +++ b/tracer/tracer.py @@ -26,7 +26,7 @@ class Tracer(object): Trace an angr path with a concrete input ''' - def __init__(self, binary, input, simprocedures={}, preconstrain=True, resiliency=True): + d...
Default value for simprocedures is None opposed to an empty dictionary
py
diff --git a/custodian/vasp/handlers.py b/custodian/vasp/handlers.py index <HASH>..<HASH> 100644 --- a/custodian/vasp/handlers.py +++ b/custodian/vasp/handlers.py @@ -145,6 +145,8 @@ class VaspErrorHandler(ErrorHandler): if self.error_count['brmix'] == 0: # Valid OUTCAR - simply rerun the ...
add ISTART for BRMIX handling (otherwise custodian thinks it is an unrecoverable error)
py
diff --git a/xarray/core/variable.py b/xarray/core/variable.py index <HASH>..<HASH> 100644 --- a/xarray/core/variable.py +++ b/xarray/core/variable.py @@ -417,7 +417,7 @@ class Variable(common.AbstractArray, utils.NdimSizeLenMixin): raise TypeError("this variable's data is stored in a dask array, " ...
Fix text in error message, A leftover from #<I> (#<I>)
py
diff --git a/javatools/__init__.py b/javatools/__init__.py index <HASH>..<HASH> 100644 --- a/javatools/__init__.py +++ b/javatools/__init__.py @@ -2245,6 +2245,14 @@ def _next_argsig(s): i = s.find(')') + 1 result = (s[:i], s[i:]) + # Some files may be corrupted and contain bad argument signature...
Do not fail on argument signature with '.'
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -6,14 +6,17 @@ import setuptools setup( name='steamspypi', packages=['steamspypi'], - version='0.1', + version='0.2', description='SteamSpy API on PyPI', author='Wok', author_email='wok@tuta.io'...
Prepare setup for release <I>, with more package metadata.
py
diff --git a/tests/job/validation_test.py b/tests/job/validation_test.py index <HASH>..<HASH> 100644 --- a/tests/job/validation_test.py +++ b/tests/job/validation_test.py @@ -262,7 +262,7 @@ class ClassicalHazardFormTestCase(unittest.TestCase): 'Number of logic tree samples must be >= 0', ...
tests/job/validation_test: Updated expected error message string in reference to a `poes` param error. Former-commit-id: b<I>ad1fe<I>d<I>b<I>ea8ee<I>cd<I>f4
py
diff --git a/jaraco/util/string.py b/jaraco/util/string.py index <HASH>..<HASH> 100644 --- a/jaraco/util/string.py +++ b/jaraco/util/string.py @@ -208,6 +208,9 @@ class WordSet(tuple): >>> WordSet.parse('taken-out-of-context')[1:].underscore_separated() 'out_of_context' + + >>> WordSet.from_class_name(WordSet...
Add test for from_class_name.
py
diff --git a/gremlin-python/src/main/jython/gremlin_python/driver/driver_remote_connection.py b/gremlin-python/src/main/jython/gremlin_python/driver/driver_remote_connection.py index <HASH>..<HASH> 100644 --- a/gremlin-python/src/main/jython/gremlin_python/driver/driver_remote_connection.py +++ b/gremlin-python/src/mai...
fixed authentification code in driver_remoteconnection
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -107,7 +107,7 @@ ssh = ["sshfs>=2021.8.1"] hdfs = ["pyarrow>=2.0.0; python_version < '3.10'"] webhdfs = ["hdfs==2.5.8"] -webdav = ["webdav4>=0.9.0"] +webdav = ["webdav4>=0.9.1"] # gssapi should not be included in all_remo...
Update setup.py (#<I>)
py
diff --git a/examples/store.py b/examples/store.py index <HASH>..<HASH> 100644 --- a/examples/store.py +++ b/examples/store.py @@ -13,11 +13,11 @@ class Document(wsgiservice.Resource): "Return the document indicated by the ID." return data[id] - def PUT(self, id): + def PUT(self, request, id):...
Pass in request to method (but only if it's actually needed).
py
diff --git a/safe/impact_functions/inundation/flood_population_evacuation.py b/safe/impact_functions/inundation/flood_population_evacuation.py index <HASH>..<HASH> 100644 --- a/safe/impact_functions/inundation/flood_population_evacuation.py +++ b/safe/impact_functions/inundation/flood_population_evacuation.py @@ -17,6 ...
ZeroImpact for flood population.
py
diff --git a/api/tests/test_config.py b/api/tests/test_config.py index <HASH>..<HASH> 100644 --- a/api/tests/test_config.py +++ b/api/tests/test_config.py @@ -540,7 +540,7 @@ class ConfigTest(TransactionTestCase): HTTP_AUTHORIZATION='token {}'.format(unauthorized_token)) se...
style(controller): remove extra comma flake8 doesn't seem to dislike this style, but it looks odd and does not conform to the rest of the code.
py
diff --git a/filesystems/memory.py b/filesystems/memory.py index <HASH>..<HASH> 100644 --- a/filesystems/memory.py +++ b/filesystems/memory.py @@ -308,6 +308,7 @@ class _NoSuchEntry(object): return self def create_directory(self, path, parents=False): + # TODO: exception for parents=True? ...
still fairly naive create_directory(parents=False), but passes
py
diff --git a/glad/parse.py b/glad/parse.py index <HASH>..<HASH> 100644 --- a/glad/parse.py +++ b/glad/parse.py @@ -6,7 +6,7 @@ except ImportError: from contextlib import closing from urllib2 import urlopen from itertools import chain -from collections import defaultdict +from collections import defaultdict, OrderedD...
glad: opengl version as feauture key
py
diff --git a/karaage/people/models.py b/karaage/people/models.py index <HASH>..<HASH> 100644 --- a/karaage/people/models.py +++ b/karaage/people/models.py @@ -193,7 +193,7 @@ class Person(AbstractBaseUser): _, _, last_name = self.full_name.rpartition(" ") return last_name.strip() else...
Fix LDAP SN generation. If person has only name return it as last name. Required for LDAP SN field generation. Change-Id: Ief<I>d<I>db1bf0a<I>ca<I>f<I>f<I>ef<I>d
py
diff --git a/tests/test_apns_push_payload.py b/tests/test_apns_push_payload.py index <HASH>..<HASH> 100644 --- a/tests/test_apns_push_payload.py +++ b/tests/test_apns_push_payload.py @@ -27,5 +27,5 @@ class APNSPushPayloadTest(TestCase): def test_oversized_payload(self): socket = mock.MagicMock() with mock.patc...
fix APNS test after introduction of APNS_MAX_NOTIFICATION_SIZE
py
diff --git a/pyoko/model.py b/pyoko/model.py index <HASH>..<HASH> 100644 --- a/pyoko/model.py +++ b/pyoko/model.py @@ -460,9 +460,13 @@ class Model(Node): list: List of fields names which their values changed. """ current_dict = self.clean_value() - set_current, set_past = set(curr...
ADD, changed_fields method is edited. rref #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -49,11 +49,12 @@ INSTALL_FORMAT_ODS_REQUIRES = [ 'lxml>=3.0', ] TESTS_REQUIRE = [ + 'mock', 'pylama', 'pytest', - 'mock', - 'tox', + 'pytest-cov', 'moto[server]', + 'tox', ] README = read...
Added pytest-cov to test deps
py
diff --git a/etcd3/__init__.py b/etcd3/__init__.py index <HASH>..<HASH> 100644 --- a/etcd3/__init__.py +++ b/etcd3/__init__.py @@ -3,9 +3,11 @@ from __future__ import absolute_import from etcd3.client import Etcd3Client from etcd3.client import client from etcd3.client import Transactions +from etcd3.members import ...
Make Member part of the public api
py
diff --git a/src/gui/run_gui.py b/src/gui/run_gui.py index <HASH>..<HASH> 100644 --- a/src/gui/run_gui.py +++ b/src/gui/run_gui.py @@ -35,6 +35,8 @@ def run_gui(fname = 'C:\Users\Experiment\PycharmProjects\user_data\pythonlab_con # fname = 'c:\\b26_tmp\\pythonlab_config3a.b26' fname = 'C:\Users\Experiment\Pyc...
new branch to work on breaking out b<I>toolkit
py
diff --git a/ibis/backends/tests/test_temporal.py b/ibis/backends/tests/test_temporal.py index <HASH>..<HASH> 100644 --- a/ibis/backends/tests/test_temporal.py +++ b/ibis/backends/tests/test_temporal.py @@ -81,7 +81,7 @@ def test_timestamp_extract_epoch_seconds(backend, alltypes, df): backend.assert_series_equal(r...
test(sqlite): disable notimpl for sqlite extract week test
py
diff --git a/tests/test_netmiko_show.py b/tests/test_netmiko_show.py index <HASH>..<HASH> 100755 --- a/tests/test_netmiko_show.py +++ b/tests/test_netmiko_show.py @@ -95,6 +95,7 @@ def test_cmd_verify_decorator(net_connect_cmd_verify): # Set it back to proper False value (so later tests aren't messed up). obj...
Tests for new global_cmd_verify
py
diff --git a/dosagelib/plugins/a.py b/dosagelib/plugins/a.py index <HASH>..<HASH> 100644 --- a/dosagelib/plugins/a.py +++ b/dosagelib/plugins/a.py @@ -79,6 +79,16 @@ class AGirlAndHerFed(_BasicScraper): help = 'Index format: nnn' +class AhoyEarth(_ParserScraper): + url = 'http://www.ahoyearth.com/' + rur...
Added comic "Ahoy Earth"
py
diff --git a/daploader/__init__.py b/daploader/__init__.py index <HASH>..<HASH> 100644 --- a/daploader/__init__.py +++ b/daploader/__init__.py @@ -138,7 +138,7 @@ class Dap(object): # Check for non array-like metadata for datatype in (Dap._required_meta | Dap._optional_meta) - Dap._array_meta: ...
daploader: Indicate that not valid might mean required and unspecified
py