diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ changes = read_file('CHANGES.rst') setup(name='syseggrecipe', version=version, - description=("nens-syseggrecipe allows the reuse of system eggs in " + description=("Syseggrecipe allows the r...
Added console&osx trove classifiers (as we exclude windows now). Also fixed the project name in the description.
py
diff --git a/draftjs_exporter/html.py b/draftjs_exporter/html.py index <HASH>..<HASH> 100644 --- a/draftjs_exporter/html.py +++ b/draftjs_exporter/html.py @@ -22,6 +22,7 @@ class HTML: self.entity_decorators = config.get('entity_decorators', {}) self.composite_decorators = config.get('composite_deco...
Extract common check to be done at init time
py
diff --git a/bika/lims/browser/worksheet.py b/bika/lims/browser/worksheet.py index <HASH>..<HASH> 100644 --- a/bika/lims/browser/worksheet.py +++ b/bika/lims/browser/worksheet.py @@ -201,6 +201,8 @@ class WorksheetAnalysesView(AnalysesView): self.show_select_row = False self.show_sort_column = False ...
Small worksheet display fixes Sampling Deviation is aligned correctly No attempt is made to categorise analyses
py
diff --git a/superset/examples/utils.py b/superset/examples/utils.py index <HASH>..<HASH> 100644 --- a/superset/examples/utils.py +++ b/superset/examples/utils.py @@ -86,7 +86,7 @@ def load_configs_from_directory( # removing "type" from the metadata allows us to import any exported model # from the unzipped...
fix: CI is blocked by mypy checking (#<I>)
py
diff --git a/tests/test_lilypond.py b/tests/test_lilypond.py index <HASH>..<HASH> 100644 --- a/tests/test_lilypond.py +++ b/tests/test_lilypond.py @@ -3,11 +3,13 @@ from unittest import TestCase ## graded tests derived from lilypond documentation that are likely to be ## relevant to In C implementation -from sebast...
beginning of lilypond writing test
py
diff --git a/nodeshot/models.py b/nodeshot/models.py index <HASH>..<HASH> 100755 --- a/nodeshot/models.py +++ b/nodeshot/models.py @@ -195,7 +195,7 @@ class Node(models.Model): def set_activation_key(self): ''' Set the activation key, generate it from a combinatin of the ''Node''s name and a random salt '...
activation_key is now constructed with slug field instead of name close #<I> (fixed)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ install_requires = [ "mock", "docker>=2.5.1", "jsondiff==1.1.1", - "aws-xray-sdk<0.96,>=0.93", + "aws-xray-sdk!=0.96,>=0.93", "responses>=0.9.0", ]
Loosen aws-xray-sdk requirements (#<I>)
py
diff --git a/mailparser/mailparser.py b/mailparser/mailparser.py index <HASH>..<HASH> 100644 --- a/mailparser/mailparser.py +++ b/mailparser/mailparser.py @@ -97,7 +97,7 @@ def ported_open(file_): if six.PY2: return open(file_) elif six.PY3: - return open(file_, errors='ignore') + retur...
encoding utf-8 when open file in Python 3
py
diff --git a/release.py b/release.py index <HASH>..<HASH> 100644 --- a/release.py +++ b/release.py @@ -72,7 +72,10 @@ def release(): os.mkdir("aur") os.chdir("aur") call(["git", "clone", "git+ssh://aur@aur.archlinux.org/urh.git"]) - os.chdir("urh") + try: + os.chdir("urh") + except FileNo...
catch error if AUR does not respond
py
diff --git a/scripts/dev_setup.py b/scripts/dev_setup.py index <HASH>..<HASH> 100644 --- a/scripts/dev_setup.py +++ b/scripts/dev_setup.py @@ -77,7 +77,7 @@ args = parser.parse_args() packages = { tuple(os.path.dirname(f).rsplit(os.sep, 1)) - for f in glob.glob("sdk/*/azure-*/setup.py") + glob.glob("tools/az...
make the globbing of the packages work in dev_setup from any invocation directory (#<I>)
py
diff --git a/luigi/contrib/hadoop.py b/luigi/contrib/hadoop.py index <HASH>..<HASH> 100644 --- a/luigi/contrib/hadoop.py +++ b/luigi/contrib/hadoop.py @@ -400,8 +400,8 @@ class HadoopJobRunner(JobRunner): def __init__(self, streaming_jar, modules=None, streaming_args=None, libjars=None, libjars...
move archives paramter to the end. use instance variable directly.
py
diff --git a/ELiDE/ELiDE/board/board.py b/ELiDE/ELiDE/board/board.py index <HASH>..<HASH> 100644 --- a/ELiDE/ELiDE/board/board.py +++ b/ELiDE/ELiDE/board/board.py @@ -986,16 +986,16 @@ class BoardScatterPlane(ScatterPlane): def apply_transform(self, trans, post_multiply=False, anchor=(0, 0)): super().ap...
Fix some weirdness when scrolling along the upper or right edges of the board
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -148,7 +148,7 @@ setup(name='dark-matter', 'matplotlib>=1.4.3', 'mysql-connector-python==8.0.11', 'numpy>=1.14.2', - 'progressbar2==4.0.0', + 'progressbar2>=4.0.0', ...
Changed setup.py progressbar2 version requirment.
py
diff --git a/aiohttp/helpers.py b/aiohttp/helpers.py index <HASH>..<HASH> 100644 --- a/aiohttp/helpers.py +++ b/aiohttp/helpers.py @@ -114,7 +114,7 @@ if PY_38: iscoroutinefunction = asyncio.iscoroutinefunction else: - def iscoroutinefunction(func: Callable[..., Any]) -> bool: + def iscoroutinefunction(fu...
Adjust type of iscoroutine() argument (#<I>) This will be needed to make mypy pass after python/typeshed#<I> is released. The function accepts all objects, so `object` is the appropriate annotation, but `Any` is necessary for now here to make the conditional definition work with the previous type annotation.
py
diff --git a/salt/modules/win_file.py b/salt/modules/win_file.py index <HASH>..<HASH> 100644 --- a/salt/modules/win_file.py +++ b/salt/modules/win_file.py @@ -347,7 +347,7 @@ def get_pgid(path, follow_symlinks=True): return 'S-1-1-0' except pywinerror as exc: # Incorrect function error (win2k8+) ...
Fix to handle another error (function not implemented) generated when copying files on an SMB share from an OS X host.
py
diff --git a/nazs/module.py b/nazs/module.py index <HASH>..<HASH> 100644 --- a/nazs/module.py +++ b/nazs/module.py @@ -278,7 +278,8 @@ class Module(object): # Check model changes for model in self.models(): - if model.objects.changed().count(): + if model.objects.changed().coun...
Fix changed property when we have deleted items
py
diff --git a/test/core/filters_test.py b/test/core/filters_test.py index <HASH>..<HASH> 100644 --- a/test/core/filters_test.py +++ b/test/core/filters_test.py @@ -187,8 +187,8 @@ def _not_a_fun(arg): - check: {equals: {the: '{{ my_int }}', is: '{{ "17" | asint }}'}} ...
make test order agnostic
py
diff --git a/autofixture_tests/generator_test/tests.py b/autofixture_tests/generator_test/tests.py index <HASH>..<HASH> 100644 --- a/autofixture_tests/generator_test/tests.py +++ b/autofixture_tests/generator_test/tests.py @@ -1,4 +1,5 @@ import os +from django import forms from django.conf import settings from djan...
Writing TestCase for #<I>. Thanks to mvdwaeter for the initial patch.
py
diff --git a/gym-unity/setup.py b/gym-unity/setup.py index <HASH>..<HASH> 100755 --- a/gym-unity/setup.py +++ b/gym-unity/setup.py @@ -38,6 +38,6 @@ setup( author_email="ML-Agents@unity3d.com", url="https://github.com/Unity-Technologies/ml-agents", packages=find_packages(), - install_requires=["gym==0...
upgrade gym to <I> (#<I>)
py
diff --git a/pystatsd/server.py b/pystatsd/server.py index <HASH>..<HASH> 100644 --- a/pystatsd/server.py +++ b/pystatsd/server.py @@ -112,6 +112,16 @@ class Server(object): self.counters[key] = 0 self.counters[key] += float(fields[0] or 1) * (1 / sample_rate) + def on_timer(s...
Improve exception handling Ignore exceptions while flushing and make sure a new timer is always set. With the old code if there was any exception while flushing, e.g. an error while connecting to Graphite, the process would not flush anymore.
py
diff --git a/py3o/template/main.py b/py3o/template/main.py index <HASH>..<HASH> 100644 --- a/py3o/template/main.py +++ b/py3o/template/main.py @@ -184,11 +184,11 @@ class Template(object): py3o_base = py3o_statement[7:] if not py3o_base.startswith("/"): - opened_st...
No need to save content_tree in opened_starts The content_tree in opened_starts is not used. Therefore there is no need to put them on the list.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ setup(name="livestreamer", author="Christopher Rosell", author_email="chrippa@tanuki.se", license="BSD", - packages=["livestreamer", "livestreamer/plugins"], + packages=["livestrea...
Add .stream to packages list.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -52,7 +52,7 @@ setup( 'flake8', 'pydocstyle', 'mypy', - 'django-stubs >= 1.2.0, < 1.3.0', + 'django-stubs==1.2.0', 'ipython', 'Sphinx', ...
[TASK] Pinn django stubs
py
diff --git a/sciluigi/task.py b/sciluigi/task.py index <HASH>..<HASH> 100644 --- a/sciluigi/task.py +++ b/sciluigi/task.py @@ -29,6 +29,7 @@ def new_task(name, cls, workflow_task, **kwargs): # TODO: Raise exceptions if pa kwargs[k] = str(v) # Force conversion into string kwargs['instance_name'] = name...
Add slurminfo manually
py
diff --git a/algorithms/arrays/limit.py b/algorithms/arrays/limit.py index <HASH>..<HASH> 100644 --- a/algorithms/arrays/limit.py +++ b/algorithms/arrays/limit.py @@ -13,19 +13,20 @@ Complexity = O(n) """ # tl:dr -- array slicing by value -def limit(arr, min_lim = None, max_lim = None): +def limit(arr, min_lim=None...
Update limit.py (#<I>) * Update limit.py boundary * Update limit.py 1. replace == with is 2. remove spaces around =
py
diff --git a/test/test_formic.py b/test/test_formic.py index <HASH>..<HASH> 100644 --- a/test/test_formic.py +++ b/test/test_formic.py @@ -152,7 +152,7 @@ def find_count_dos(directory, pattern): def get_test_directory(): """Return a platform-suitable directory for bulk-testing""" if os.name == "posix": - ...
test optimization on posix: find /etc instend of /usr
py
diff --git a/src/rstcheck/runner.py b/src/rstcheck/runner.py index <HASH>..<HASH> 100644 --- a/src/rstcheck/runner.py +++ b/src/rstcheck/runner.py @@ -66,10 +66,10 @@ class RstcheckMainRunner: path = paths.pop(0) resolved_path = path.resolve() if self.config.recursive and resolved...
reduce resolve() calls to keep releative paths
py
diff --git a/grimoire_elk/ocean/mediawiki.py b/grimoire_elk/ocean/mediawiki.py index <HASH>..<HASH> 100644 --- a/grimoire_elk/ocean/mediawiki.py +++ b/grimoire_elk/ocean/mediawiki.py @@ -37,7 +37,7 @@ class Mapping(BaseMapping): :returns: dictionary with a key, 'items', with the mapping """ -...
[ocean] Modify check to detect ES version for Mediawiki connector This patch modifies the if condition used to detect the ElasticSearch version
py
diff --git a/src/robotsuite/__init__.py b/src/robotsuite/__init__.py index <HASH>..<HASH> 100644 --- a/src/robotsuite/__init__.py +++ b/src/robotsuite/__init__.py @@ -417,7 +417,7 @@ class RobotTestCase(unittest.TestCase): # Copy screenshots in to the current working directory dirname = os.path.dirnam...
Fix deprecated regexp sequences
py
diff --git a/benchexec/result.py b/benchexec/result.py index <HASH>..<HASH> 100644 --- a/benchexec/result.py +++ b/benchexec/result.py @@ -284,7 +284,7 @@ class Property( elif content.startswith("CHECK"): is_svcomp = True for line in filter(None, content.splitlines()): - ...
Fix bug when parsing SV-COMP properties Every non-empty line in an SV-COMP property file needs to start with "CHECK", not only the first line. Obviously, this was always the intention of the code.
py
diff --git a/lewis/adapters/epics.py b/lewis/adapters/epics.py index <HASH>..<HASH> 100644 --- a/lewis/adapters/epics.py +++ b/lewis/adapters/epics.py @@ -414,9 +414,14 @@ class PropertyExposingDriver(Driver): self.setParam(pv, pv_object.value) return True - except (LimitViolationExce...
Improve logging of different errors in EPICS a bit
py
diff --git a/tests/utils/encoding/tests.py b/tests/utils/encoding/tests.py index <HASH>..<HASH> 100644 --- a/tests/utils/encoding/tests.py +++ b/tests/utils/encoding/tests.py @@ -16,7 +16,7 @@ class TransformTest(TestCase): assert result == "'רונית מגן'" - @pytest.mark.skipif(str('lambda: six.PY3')) + ...
Correct py3 check in test
py
diff --git a/snuggs/__init__.py b/snuggs/__init__.py index <HASH>..<HASH> 100644 --- a/snuggs/__init__.py +++ b/snuggs/__init__.py @@ -201,9 +201,7 @@ def handleLine(line): msg = "expected a function or operator" err = ExpressionError(msg) err.text = line - err.filename = "<string>...
No need to set filename or lineno. We're not using these anywhere.
py
diff --git a/spacy/about.py b/spacy/about.py index <HASH>..<HASH> 100644 --- a/spacy/about.py +++ b/spacy/about.py @@ -4,13 +4,13 @@ # fmt: off __title__ = "spacy-nightly" -__version__ = "2.1.0a4" +__version__ = "2.1.0a5.dev0" __summary__ = "Industrial-strength Natural Language Processing (NLP) with Python and Cyt...
Set version to <I>a5.dev0
py
diff --git a/cider/_sh.py b/cider/_sh.py index <HASH>..<HASH> 100644 --- a/cider/_sh.py +++ b/cider/_sh.py @@ -42,7 +42,7 @@ class Brew(object): def safe_install(self, formula): prompt = "Failed to install {0}. Continue? [y/N]".format(formula) - return self.__spawn("install", [formula], prompt) +...
Fix bug where installation options weren't getting parsed correctly
py
diff --git a/ipaddr.py b/ipaddr.py index <HASH>..<HASH> 100644 --- a/ipaddr.py +++ b/ipaddr.py @@ -112,24 +112,15 @@ def IP(ipaddr): address. """ - force_v4 = False + try: - if int(ipaddr) < 2**32: - force_v4 = True - except (TypeError, ValueError): + return IPv...
* check-in of <URL>, this is not the case; after weeding out a bug in IPv4._is_valid_ip (see Rietveld issue #<I> [1]); trying IPv4 before IPv6 does not cause any testcases to fail. git-svn-id: <URL>
py
diff --git a/Adafruit_BluetoothLE/corebluetooth/cbsend.py b/Adafruit_BluetoothLE/corebluetooth/cbsend.py index <HASH>..<HASH> 100644 --- a/Adafruit_BluetoothLE/corebluetooth/cbsend.py +++ b/Adafruit_BluetoothLE/corebluetooth/cbsend.py @@ -69,6 +69,13 @@ def main(): if tx is None: raise RuntimeErro...
Enable notify bit for debugging
py
diff --git a/conan/packager.py b/conan/packager.py index <HASH>..<HASH> 100644 --- a/conan/packager.py +++ b/conan/packager.py @@ -145,9 +145,13 @@ class ConanMultiPackager(object): if "MT" in self.visual_runtimes: sets.append([{"build_type": "Release", "compiler.runtime": "MT"}, ...
[Issue-<I>] Build DLLs with static runtime
py
diff --git a/paramiko/auth_transport.py b/paramiko/auth_transport.py index <HASH>..<HASH> 100644 --- a/paramiko/auth_transport.py +++ b/paramiko/auth_transport.py @@ -276,10 +276,13 @@ class Transport (BaseTransport): keyblob = m.get_string() try: key = self._key_info[keytype]...
[project @ Arch-1:<EMAIL><I>-public%secsh--dev--<I>--patch-<I>] remove key.valid check oops! 'key.valid' no longer works -- catch the SSHException instead, and log it.
py
diff --git a/basecamp.py b/basecamp.py index <HASH>..<HASH> 100755 --- a/basecamp.py +++ b/basecamp.py @@ -54,8 +54,6 @@ __date__ = '2006-05-21' import base64 -base64.MAXBINSIZE=1000000 - import urllib2 from basecampreporting.etree import ET @@ -72,6 +70,9 @@ class Basecamp(object): self.auth_string...
Commented the problem and the solution. Removed stab at base<I> that didn't fix anything.
py
diff --git a/tornado/test/simple_httpclient_test.py b/tornado/test/simple_httpclient_test.py index <HASH>..<HASH> 100644 --- a/tornado/test/simple_httpclient_test.py +++ b/tornado/test/simple_httpclient_test.py @@ -357,3 +357,20 @@ class HTTP100ContinueTestCase(AsyncHTTPTestCase): def test_100_continue(self): ...
Add a test for simple_httpclient's hostname_mapping.
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -286,7 +286,7 @@ autodoc_member_order = "bysource" # and environment variables suppress_warnings = ["ref.option", "ref.envvar"] -# Avoid adding unnecessary "sentinelsat.sentinel." prefix in API reference +...
fixup! Format Python code with psf/black push
py
diff --git a/entrypoints.py b/entrypoints.py index <HASH>..<HASH> 100644 --- a/entrypoints.py +++ b/entrypoints.py @@ -191,8 +191,8 @@ def iter_files_distros(path=None, repeated_distro='first'): # Regular file imports (not egg, not zip file) for path in itertools.chain( - glob.iglob(osp.j...
use glob.escape() on the folder to allow paths with brackets [] entrypoint fails to find the files if they are under a path with square brackets as glob tries to interpret them and fails. Using `glob.escape(folder)` fixes that. See <URL>
py
diff --git a/dublincore.py b/dublincore.py index <HASH>..<HASH> 100644 --- a/dublincore.py +++ b/dublincore.py @@ -83,6 +83,7 @@ def dc_description(mydoc, parent, artmeta): #This lists the abstract types in decreasing preference for use in dc:description type_hierarchy = ['default', 'ASCII', 'summary', 'web-...
Fixed referencing of abstract_node before assignment
py
diff --git a/st_reg/states/df.py b/st_reg/states/df.py index <HASH>..<HASH> 100644 --- a/st_reg/states/df.py +++ b/st_reg/states/df.py @@ -1,4 +1,5 @@ - +#REFATORAR +#RETIRA ESSE METODO algoritm_df de dentro do check. Assim ele pode ser reaproveitado def check(st_reg_number): """Checks the number valiaty for the Dis...
refactor message to refactor code
py
diff --git a/tests/test_tokenize.py b/tests/test_tokenize.py index <HASH>..<HASH> 100644 --- a/tests/test_tokenize.py +++ b/tests/test_tokenize.py @@ -6,6 +6,7 @@ from pythainlp.tokenize import ( DEFAULT_WORD_DICT_TRIE, Tokenizer, attacut, + crfcls, clause_tokenize, deepcut, etcc, @@ -2...
Update test_tokenize.py
py
diff --git a/ceph_deploy/install.py b/ceph_deploy/install.py index <HASH>..<HASH> 100644 --- a/ceph_deploy/install.py +++ b/ceph_deploy/install.py @@ -28,7 +28,7 @@ def sanitize_args(args): return args -def detect_components(args): +def detect_components(args, distro): """ Since the package split, no...
check for rpm or deb in detect_components
py
diff --git a/lambdas/s3hash/index.py b/lambdas/s3hash/index.py index <HASH>..<HASH> 100644 --- a/lambdas/s3hash/index.py +++ b/lambdas/s3hash/index.py @@ -1,5 +1,6 @@ import functools import hashlib +import urllib.error import urllib.request @@ -15,7 +16,11 @@ def hash_fileobj(*, fileobj, hashobj_constructor=has...
s3hash lambda: print response body on error (#<I>)
py
diff --git a/src/python/test/test_dxclient.py b/src/python/test/test_dxclient.py index <HASH>..<HASH> 100755 --- a/src/python/test/test_dxclient.py +++ b/src/python/test/test_dxclient.py @@ -595,11 +595,11 @@ class TestDXClientDescribe(DXTestCase): class TestDXClientRun(DXTestCase): def setUp(self): self...
Fix typos after renaming a class
py
diff --git a/pmag.py b/pmag.py index <HASH>..<HASH> 100755 --- a/pmag.py +++ b/pmag.py @@ -4,8 +4,6 @@ import numpy.linalg import exceptions import os import check_updates -def dummy(): - pass def get_version(): version=check_updates.get_version() return version
modified: pmag.py
py
diff --git a/openquake/commonlib/calc.py b/openquake/commonlib/calc.py index <HASH>..<HASH> 100644 --- a/openquake/commonlib/calc.py +++ b/openquake/commonlib/calc.py @@ -273,8 +273,9 @@ class RuptureImporter(object): nr = len(rup_array) serials, counts = numpy.unique(rup_array['serial'], return_count...
Better logging [skip CI]
py
diff --git a/egoio/db_tables/calc_ego_loads.py b/egoio/db_tables/calc_ego_loads.py index <HASH>..<HASH> 100644 --- a/egoio/db_tables/calc_ego_loads.py +++ b/egoio/db_tables/calc_ego_loads.py @@ -3,7 +3,7 @@ from sqlalchemy import BigInteger, Column, Float, Integer, Numeric, String, \ Table, text, ForeignKey from ...
Update calc_ego_loads.py delete .base in order to be compatible with newest version of sqlalchemy <I>
py
diff --git a/wkhtmltopdf/utils.py b/wkhtmltopdf/utils.py index <HASH>..<HASH> 100644 --- a/wkhtmltopdf/utils.py +++ b/wkhtmltopdf/utils.py @@ -58,10 +58,11 @@ def _options_to_args(**options): for name in sorted(options): value = options[name] formatted_flag = '--%s' % name if len(name) > 1 else '...
Small fix to properly handle single letter arguments and reduce redundancy
py
diff --git a/google_compute_engine/metadata_scripts/tests/script_retriever_test.py b/google_compute_engine/metadata_scripts/tests/script_retriever_test.py index <HASH>..<HASH> 100644 --- a/google_compute_engine/metadata_scripts/tests/script_retriever_test.py +++ b/google_compute_engine/metadata_scripts/tests/script_ret...
Test downloading Google Storage files with curl. (#<I>) Testing for pull request #<I>.
py
diff --git a/pyinfra/api/host.py b/pyinfra/api/host.py index <HASH>..<HASH> 100644 --- a/pyinfra/api/host.py +++ b/pyinfra/api/host.py @@ -8,6 +8,7 @@ import click from .attrs import wrap_attr_data from .connectors import EXECUTION_CONNECTORS +from .exceptions import PyinfraError from .facts import get_fact, is_fa...
Raise an exception to kill the deploy if we can't connect to a host when trying to get a fact from it.
py
diff --git a/spacy/about.py b/spacy/about.py index <HASH>..<HASH> 100644 --- a/spacy/about.py +++ b/spacy/about.py @@ -1,6 +1,6 @@ # fmt: off __title__ = "spacy-nightly" -__version__ = "3.0.0a5" +__version__ = "3.0.0a6" __release__ = True __download_url__ = "https://github.com/explosion/spacy-models/releases/downlo...
Set version to <I>a6
py
diff --git a/saltcloud/cli.py b/saltcloud/cli.py index <HASH>..<HASH> 100644 --- a/saltcloud/cli.py +++ b/saltcloud/cli.py @@ -66,11 +66,8 @@ class SaltCloud(parsers.SaltCloudParser): import urllib url = 'http://bootstrap.saltstack.org' req = urllib.urlopen(url) - deplo...
Improved update logic and let users known what, why and when it failed.
py
diff --git a/pyemu/utils/geostats.py b/pyemu/utils/geostats.py index <HASH>..<HASH> 100644 --- a/pyemu/utils/geostats.py +++ b/pyemu/utils/geostats.py @@ -361,7 +361,7 @@ class ExpVario(Vario2d): bearing=bearing,name=name) def h_function(self,h): - return self.contri...
reveresed h_function edits to stay consistent with GSLIB
py
diff --git a/pymbar/pmf.py b/pymbar/pmf.py index <HASH>..<HASH> 100644 --- a/pymbar/pmf.py +++ b/pymbar/pmf.py @@ -2397,11 +2397,8 @@ class PMF: def ddexpf(x, k_inner): # Disable the PyLint check here because this is the behavior we want - ...
Use pylint disable by block scope for cleaner blackened code
py
diff --git a/test/__init__.py b/test/__init__.py index <HASH>..<HASH> 100644 --- a/test/__init__.py +++ b/test/__init__.py @@ -30,8 +30,10 @@ def stage_dir(name): def pushd(dirname): old = os.getcwd() os.chdir(dirname) - yield - os.chdir(old) + try: + yield + finally: + os.chdir(old...
Make pushd a bit more bulletproof
py
diff --git a/concise/hyopt.py b/concise/hyopt.py index <HASH>..<HASH> 100644 --- a/concise/hyopt.py +++ b/concise/hyopt.py @@ -18,6 +18,8 @@ import os import glob import pprint import logging +import matplotlib.pyplot as plt + logging.basicConfig(format='%(asctime)s [%(levelname)s] %(message)s') logger = logging...
feat: CMongoTrials.plot_history
py
diff --git a/salt/modules/keystone.py b/salt/modules/keystone.py index <HASH>..<HASH> 100644 --- a/salt/modules/keystone.py +++ b/salt/modules/keystone.py @@ -172,7 +172,7 @@ def auth(profile=None, **connection_args): salt '*' keystone.auth """ __utils__["versions.warn_until"]( - "Phosphorous"...
Update salt/modules/keystone.py
py
diff --git a/fluids/particle_size_distribution.py b/fluids/particle_size_distribution.py index <HASH>..<HASH> 100644 --- a/fluids/particle_size_distribution.py +++ b/fluids/particle_size_distribution.py @@ -890,6 +890,28 @@ class ParticleSizeDistribution(object): class ParticleSizeDistributionContinuou...
Base description of ParticleSizeDistributionContinuous
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -46,8 +46,10 @@ setup( 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: Imp...
Add a few setup.py classifiers
py
diff --git a/spyder/plugins/maininterpreter/tests/test_confpage.py b/spyder/plugins/maininterpreter/tests/test_confpage.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/maininterpreter/tests/test_confpage.py +++ b/spyder/plugins/maininterpreter/tests/test_confpage.py @@ -9,6 +9,9 @@ # Standard library imports impo...
Testing: Skip main interpreter conf page test if conda and pyenv are not installed
py
diff --git a/certsuite/cert.py b/certsuite/cert.py index <HASH>..<HASH> 100755 --- a/certsuite/cert.py +++ b/certsuite/cert.py @@ -6,12 +6,8 @@ import argparse import ConfigParser -import fxos_appgen import json import logging -import marionette -import mozdevice -import moznetwork import os import pkg_resource...
Re-order with stdlib first, then packages and then local
py
diff --git a/mrivis/base.py b/mrivis/base.py index <HASH>..<HASH> 100644 --- a/mrivis/base.py +++ b/mrivis/base.py @@ -359,6 +359,13 @@ class Collage(object): for ax in self.grids[grid_index]: ax.set_visible(visibility) + def clear(self): + """Clears all the axes to start fresh...
method remove all the previous imshow data/images
py
diff --git a/c7n/resources/ec2.py b/c7n/resources/ec2.py index <HASH>..<HASH> 100644 --- a/c7n/resources/ec2.py +++ b/c7n/resources/ec2.py @@ -471,7 +471,7 @@ class EphemeralInstanceFilter(Filter): @staticmethod def is_ephemeral(i): for bd in i.get('BlockDeviceMappings', []): - if bd['Devi...
ec2 stop action and ephemeral filter - add xvda as additional ebs root device name detection (#<I>)
py
diff --git a/librarypaste/pastebin.py b/librarypaste/pastebin.py index <HASH>..<HASH> 100644 --- a/librarypaste/pastebin.py +++ b/librarypaste/pastebin.py @@ -51,6 +51,9 @@ class Server(object): def index(self, fmt=None, nick='', code=None, file=None, makeshort=None): if cherrypy.request.method != 'POST':...
Workaround bug where code over <I> characters crashes.
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 @@ -308,7 +308,7 @@ class UnconvergedErrorHandler(ErrorHandler): {"dict": "INCAR", "action": {"_set": {"ISTART": 1, ...
change NELMDL to -6 for UnconvergedErrorHandler
py
diff --git a/pandoc_eqnos.py b/pandoc_eqnos.py index <HASH>..<HASH> 100644 --- a/pandoc_eqnos.py +++ b/pandoc_eqnos.py @@ -3,7 +3,7 @@ """pandoc-eqnos: a pandoc filter that inserts equation nos. and refs.""" -__version__ = '2.2.1' +__version__ = '2.2.2' # Copyright 2015-2020 Thomas J. Duck. @@ -448,7 +448,7 @...
Fixed XHTML Transitional validation error (Issue #<I>).
py
diff --git a/version.py b/version.py index <HASH>..<HASH> 100644 --- a/version.py +++ b/version.py @@ -4,7 +4,7 @@ _version_major = 0 _version_minor = 1 _version_micro = '' # use '' for first of series, number for 1 and above -_version_extra = 'rc4' +_version_extra = 'rc5' #_version_extra = '' # Uncomment this fo...
Yet another attempt to push it to pypi
py
diff --git a/superset/views/alerts.py b/superset/views/alerts.py index <HASH>..<HASH> 100644 --- a/superset/views/alerts.py +++ b/superset/views/alerts.py @@ -191,7 +191,9 @@ class AlertModelView(SupersetModelView): # pylint: disable=too-many-ancestors "last_eval_dttm", "last_state", "active...
added creator column and adjusted order columns (#<I>)
py
diff --git a/example/test_example_app.py b/example/test_example_app.py index <HASH>..<HASH> 100644 --- a/example/test_example_app.py +++ b/example/test_example_app.py @@ -27,7 +27,7 @@ class TestExampleApp(object): } USER_ID = 'user1' - @pytest.fixture('session', autouse=True) + @pytest.fixture(scope=...
Fix tests to work with pytest 6. (#<I>)
py
diff --git a/_pytest/logging.py b/_pytest/logging.py index <HASH>..<HASH> 100644 --- a/_pytest/logging.py +++ b/_pytest/logging.py @@ -292,8 +292,7 @@ def caplog(request): * caplog.text() -> string containing formatted log output * caplog.records() -> list of logging.LogRecord instances * ...
Fix caplog docstring: indentation caused errors during docs build
py
diff --git a/compliance_checker/suite.py b/compliance_checker/suite.py index <HASH>..<HASH> 100644 --- a/compliance_checker/suite.py +++ b/compliance_checker/suite.py @@ -40,6 +40,7 @@ if sys.stderr.encoding is None: class CheckSuite(object): checkers = {} # Base dict of checker names to BaseCheck derived...
added class variable as an option to alternative html templates
py
diff --git a/hitch/key.py b/hitch/key.py index <HASH>..<HASH> 100644 --- a/hitch/key.py +++ b/hitch/key.py @@ -14,6 +14,7 @@ import hitchdoc from hitchrun import hitch_maintenance from commandlib import python from hitchrun import DIR +from hitchrun.decorators import ignore_ctrlc class Engine(BaseEngine): @@ -3...
MISC : Added ipython key command.
py
diff --git a/resampy/setup.py b/resampy/setup.py index <HASH>..<HASH> 100644 --- a/resampy/setup.py +++ b/resampy/setup.py @@ -9,6 +9,7 @@ def configuration(parent_package='', top_path=None): config = Configuration(PACKAGE_NAME, parent_package, top_path) config.add_subpackage('__check_build') + config.ad...
added data-dir to resampy setup
py
diff --git a/src/satosa/frontends/oidc.py b/src/satosa/frontends/oidc.py index <HASH>..<HASH> 100644 --- a/src/satosa/frontends/oidc.py +++ b/src/satosa/frontends/oidc.py @@ -236,9 +236,13 @@ class OIDCFrontend(FrontendModule): if not isinstance(http_resp, Created): return http_resp + ret...
Refactor OIDC frontend for simpler subclassing.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,8 +1,16 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- + +import os +import sys + +sys.path.append(os.path.join(os.path.dirname(__file__), 'narwal')) +from const import __version__ +sys.path.pop() + from setuptools i...
fix ImportError during installation
py
diff --git a/examples/convolutional_lstm_model.py b/examples/convolutional_lstm_model.py index <HASH>..<HASH> 100644 --- a/examples/convolutional_lstm_model.py +++ b/examples/convolutional_lstm_model.py @@ -29,22 +29,15 @@ imageProcessor = ImageProcessor(images, target_dimensions=target_dimensions, rgb images = imageP...
Remove feature extraction step from conv-lstm example
py
diff --git a/rororo/schemas/schema.py b/rororo/schemas/schema.py index <HASH>..<HASH> 100644 --- a/rororo/schemas/schema.py +++ b/rororo/schemas/schema.py @@ -43,7 +43,7 @@ class Schema(object): module: types.ModuleType, *, response_factory: Callable[..., Any]=None,...
Fix wrong type hint in Schema constructor.
py
diff --git a/salt/utils/__init__.py b/salt/utils/__init__.py index <HASH>..<HASH> 100644 --- a/salt/utils/__init__.py +++ b/salt/utils/__init__.py @@ -1586,7 +1586,7 @@ def subdict_match(data, exact_match=exact_match): return True continue - if isinstance...
match tuple for targets as well Fixes #<I>
py
diff --git a/salt/modules/zypper.py b/salt/modules/zypper.py index <HASH>..<HASH> 100644 --- a/salt/modules/zypper.py +++ b/salt/modules/zypper.py @@ -680,8 +680,7 @@ def install(name=None, # Allow "version" to work for single package target pkg_params = {name: version_num} else: - ...
Avoid backslashes where they are not needed
py
diff --git a/shopify/api_version.py b/shopify/api_version.py index <HASH>..<HASH> 100644 --- a/shopify/api_version.py +++ b/shopify/api_version.py @@ -25,10 +25,10 @@ class ApiVersion(object): @classmethod def define_known_versions(cls): cls.define_version(Unstable()) - cls.define_version(Rele...
Add support for upcoming <I>-<I> release, drop <I>-<I>
py
diff --git a/cr8/aio.py b/cr8/aio.py index <HASH>..<HASH> 100644 --- a/cr8/aio.py +++ b/cr8/aio.py @@ -13,12 +13,15 @@ async def map_async(q, corof, iterable): task = asyncio.ensure_future(corof(*i)) await q.put(task) await q.join() + await q.put(None) async def consume(q): with tqdm...
json2insert: Let consumer stop graceful instead of using cancel
py
diff --git a/keepalive/__init__.py b/keepalive/__init__.py index <HASH>..<HASH> 100644 --- a/keepalive/__init__.py +++ b/keepalive/__init__.py @@ -22,4 +22,4 @@ from keepalive import * -__version__ = "0.5.dev0" +__version__ = "0.5"
released version <I> fixinf issue #2
py
diff --git a/src/arcrest/agol/admin.py b/src/arcrest/agol/admin.py index <HASH>..<HASH> 100644 --- a/src/arcrest/agol/admin.py +++ b/src/arcrest/agol/admin.py @@ -1374,7 +1374,7 @@ class AGOL(BaseAGOLClass): print "Deleted: " + self._tostr(self.deleteItem(item['id'],folder)) #---------------------...
updated publish_agol function returns service info removed option to delete service def
py
diff --git a/spyder/utils/dochelpers.py b/spyder/utils/dochelpers.py index <HASH>..<HASH> 100644 --- a/spyder/utils/dochelpers.py +++ b/spyder/utils/dochelpers.py @@ -306,7 +306,7 @@ def isdefined(obj, force_import=False, namespace=None): if base not in globals(): globals()[base] ...
Add catch for NameError in isdefined method.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -48,11 +48,11 @@ setup( packages=find_packages(), include_package_data=True, install_requires=[ - 'keyring~=21.4.0', + 'keyring~=22.3.0', 'pyrate-limiter>=2.1.0; python_version>="3.7"', ...
Relax minimum requests version; bump keyring version
py
diff --git a/trimesh/voxel.py b/trimesh/voxel.py index <HASH>..<HASH> 100644 --- a/trimesh/voxel.py +++ b/trimesh/voxel.py @@ -138,6 +138,22 @@ class VoxelBase(object): class Voxel(VoxelBase): + """ + Voxel representation with matrix, pitch and origin. + + All voxels are referenced by the center of their ...
Enhance docstring of the Voxel class
py
diff --git a/east/synonyms/synonyms.py b/east/synonyms/synonyms.py index <HASH>..<HASH> 100644 --- a/east/synonyms/synonyms.py +++ b/east/synonyms/synonyms.py @@ -33,16 +33,12 @@ class SynonymExtractor(object): self.synonyms_memoized = {} def _retrieve_text(self, input_path): - j = 0 if ...
Remove the temporary limit on texts processed by synonyms extractor
py
diff --git a/openaps/vendors/dexcom.py b/openaps/vendors/dexcom.py index <HASH>..<HASH> 100644 --- a/openaps/vendors/dexcom.py +++ b/openaps/vendors/dexcom.py @@ -113,14 +113,14 @@ class iter_glucose_hours (glucose): def main (self, args, app): params = self.get_params(args) + delta = relativedelta.relativ...
make iter_glucose_hours more sensitive to hours
py
diff --git a/chai/stub.py b/chai/stub.py index <HASH>..<HASH> 100644 --- a/chai/stub.py +++ b/chai/stub.py @@ -184,6 +184,15 @@ def _stub_obj(obj): if val is obj: attr = name break + # In the case of PyPy, we have to check all types that ...
Fixed finding properties on pypy classes
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 @@ -70,15 +70,15 @@ def create_hparams(hparams_set, problem_name=None): """Create HParams with data_di...
Change in order of hparams creation to allow overriding problem specific hparams. PiperOrigin-RevId: <I>
py
diff --git a/testing/test_acceptance_by_exampple.py b/testing/test_acceptance_by_exampple.py index <HASH>..<HASH> 100644 --- a/testing/test_acceptance_by_exampple.py +++ b/testing/test_acceptance_by_exampple.py @@ -10,6 +10,7 @@ def api(): @pytest.mark.parametrize('impl', [spec.ViaAPI, spec.ViaUX]) def test_simple(ap...
assert the currently active implementations in the acceptance test
py
diff --git a/referral/models.py b/referral/models.py index <HASH>..<HASH> 100644 --- a/referral/models.py +++ b/referral/models.py @@ -62,7 +62,7 @@ class UserReferrerManager(models.Manager): user_referrer.save() class UserReferrer(models.Model): - user = models.OneToOneField(User, verbose_name=_("Us...
rename related_name to user_referrer
py
diff --git a/a10_neutron_lbaas/neutron_ext/extensions/a10Certificate.py b/a10_neutron_lbaas/neutron_ext/extensions/a10Certificate.py index <HASH>..<HASH> 100644 --- a/a10_neutron_lbaas/neutron_ext/extensions/a10Certificate.py +++ b/a10_neutron_lbaas/neutron_ext/extensions/a10Certificate.py @@ -20,6 +20,7 @@ import a10_...
Corrected interface for api extension
py
diff --git a/sqlparse/sql.py b/sqlparse/sql.py index <HASH>..<HASH> 100644 --- a/sqlparse/sql.py +++ b/sqlparse/sql.py @@ -29,13 +29,10 @@ class Token(object): def __init__(self, ttype, value): value = u(value) self.value = value - if ttype in T.Keyword: - self.normalized = valu...
Clean Token/Tokenlist init's
py
diff --git a/spyderlib/spyder.py b/spyderlib/spyder.py index <HASH>..<HASH> 100644 --- a/spyderlib/spyder.py +++ b/spyderlib/spyder.py @@ -735,6 +735,10 @@ class MainWindow(QMainWindow): debug_control_action.setMenu(self.debug_menu) # XXX: This hard-coded insertion location is not ideal. ...
Debugging: Issue <I>: Added "Debug current file" button to the debugging toolbar.
py