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 @@ -15,7 +15,7 @@ with open('LICENSE') as fl: setup( name='CurrencyConverter', - version='0.13.5', + version='0.13.6', author='Alex Prengère', author_email='alexprengere@gmail.com', url='https://githu...
Bump to version <I>
py
diff --git a/src/sos/__main__.py b/src/sos/__main__.py index <HASH>..<HASH> 100755 --- a/src/sos/__main__.py +++ b/src/sos/__main__.py @@ -864,6 +864,11 @@ def cmd_remote(args, workflow_args): from .utils import env, load_config_files cfg = load_config_files(args.config) try: + if args.cmd and len...
Allow checking specific command for "sos remote test" #<I>
py
diff --git a/streamcorpus_pipeline/_pipeline.py b/streamcorpus_pipeline/_pipeline.py index <HASH>..<HASH> 100644 --- a/streamcorpus_pipeline/_pipeline.py +++ b/streamcorpus_pipeline/_pipeline.py @@ -686,7 +686,7 @@ class Pipeline(object): self.t_chunk = None # If we wrote some paths, update the data...
Don't fail rejester work units that filter every document out. That is, if you're running a filtering pipeline stage, and it causes nothing to come out the far end of the pipeline, after not running any writers, also don't try to update the work unit with its previous outputs plus None (which will fail).
py
diff --git a/zenpy/lib/api.py b/zenpy/lib/api.py index <HASH>..<HASH> 100644 --- a/zenpy/lib/api.py +++ b/zenpy/lib/api.py @@ -63,10 +63,7 @@ class Api(object): response = http_method(url, **kwargs) self.callsafety['lastcalltime'] = time() - if 'X-Rate-Limit-Remaining' in response.headers...
Fix wierd race condition in callsafety.
py
diff --git a/src/pytest_cov/plugin.py b/src/pytest_cov/plugin.py index <HASH>..<HASH> 100644 --- a/src/pytest_cov/plugin.py +++ b/src/pytest_cov/plugin.py @@ -98,6 +98,14 @@ def pytest_load_initial_conftests(early_config, parser, args): early_config.pluginmanager.register(plugin, '_cov') +def pytest_config...
Bring back the pytest_configure hook (it seems it causes regression on pytest <I> or older).
py
diff --git a/smartdc/machine.py b/smartdc/machine.py index <HASH>..<HASH> 100644 --- a/smartdc/machine.py +++ b/smartdc/machine.py @@ -162,9 +162,10 @@ class Machine(object): j, _ = self.datacenter.request('POST', self.path + '/snapshots', params=params) return Snapshot(machine=self, data=j, name=name...
starting from snapshot returns the corresponding machine so that status may be fetched
py
diff --git a/spyderlib/widgets/externalshell/sitecustomize.py b/spyderlib/widgets/externalshell/sitecustomize.py index <HASH>..<HASH> 100644 --- a/spyderlib/widgets/externalshell/sitecustomize.py +++ b/spyderlib/widgets/externalshell/sitecustomize.py @@ -625,7 +625,8 @@ def post_mortem_excepthook(type, value, tb): ...
Use a delay for stderr to flush again.
py
diff --git a/src/python/grpcio/commands.py b/src/python/grpcio/commands.py index <HASH>..<HASH> 100644 --- a/src/python/grpcio/commands.py +++ b/src/python/grpcio/commands.py @@ -289,15 +289,9 @@ class TestLite(setuptools.Command): sys.exit('Test failure') def _add_eggs_to_path(self): - """Adds all egg f...
Cleaned up installation/test requirement fetching
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,5 +1,5 @@ import alabaster -from sprockets.mixins.media_type import __version__ +from sprockets.mixins.mediatype import __version__ needs_sphinx = '1.0' extensions = ['sphinx.ext.autodoc',
Correct module name in sphinx conf.
py
diff --git a/unittests/test_manipulation.py b/unittests/test_manipulation.py index <HASH>..<HASH> 100644 --- a/unittests/test_manipulation.py +++ b/unittests/test_manipulation.py @@ -395,9 +395,9 @@ class TestUnfolding: def test_unfold_list_of_dicts(self): assert [{'x': 'a'}] == m.unfold_list_of_dicts([{'...
Fix tests for elder pythons (< 3.x)
py
diff --git a/tests/python/multi-node/dist_async_inception.py b/tests/python/multi-node/dist_async_inception.py index <HASH>..<HASH> 100755 --- a/tests/python/multi-node/dist_async_inception.py +++ b/tests/python/multi-node/dist_async_inception.py @@ -6,15 +6,11 @@ import logging mx.random.seed(0) logging.basicConfi...
Update dist_async_inception.py
py
diff --git a/pyemma/util/contexts.py b/pyemma/util/contexts.py index <HASH>..<HASH> 100644 --- a/pyemma/util/contexts.py +++ b/pyemma/util/contexts.py @@ -53,8 +53,8 @@ def random_seed(seed=42): ------- >>> import random >>> with random_seed(seed=0): - ... random.randint(0, 1000) - 845 + ... ...
skip rng doctest, since py2 and 3 use different rng
py
diff --git a/tests/swarming/nupic/swarming/swarming_test.py b/tests/swarming/nupic/swarming/swarming_test.py index <HASH>..<HASH> 100755 --- a/tests/swarming/nupic/swarming/swarming_test.py +++ b/tests/swarming/nupic/swarming/swarming_test.py @@ -40,6 +40,7 @@ import tempfile from optparse import OptionParser +fro...
Update swarming_test.py
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,8 @@ library_dirs = [] search_include_dirs = ['/usr/local/include/GraphicsMagick', '/usr/include/GraphicsMagick/'] -search_library_dirs = ['/usr/local/lib/', '/usr/lib/'] +search_library_dirs...
setup.py: added <I>bit support N.B. <I>bit takes precedence over <I>bit
py
diff --git a/modernrpc/apps.py b/modernrpc/apps.py index <HASH>..<HASH> 100644 --- a/modernrpc/apps.py +++ b/modernrpc/apps.py @@ -1,6 +1,7 @@ # coding: utf-8 import inspect import logging +import warnings from importlib import import_module from django.apps import AppConfig @@ -56,5 +57,6 @@ class ModernRpcConf...
Do not crash the app when RPC method modules is undefined
py
diff --git a/bebop/util.py b/bebop/util.py index <HASH>..<HASH> 100644 --- a/bebop/util.py +++ b/bebop/util.py @@ -10,6 +10,7 @@ from lxml import objectify from collections import defaultdict, deque, MutableSet import os import inspect +import functools from UserDict import DictMixin try: @@ -96,6 +97,10 @@ def ...
[util] Adding a SiblingNode class to util for XML generation
py
diff --git a/examples/example_01_connectivity.py b/examples/example_01_connectivity.py index <HASH>..<HASH> 100644 --- a/examples/example_01_connectivity.py +++ b/examples/example_01_connectivity.py @@ -61,4 +61,7 @@ ws.set_used_labels(['foot']) ws.fit_var() ws.get_connectivity('ffDTF', fig) +fig.suptitle('MVARICA'...
Saving figure Former-commit-id: eb<I>f<I>d<I>c<I>bea4ea<I>bda7cf8d0ce7ad
py
diff --git a/OpenSSL/test/test_ssl.py b/OpenSSL/test/test_ssl.py index <HASH>..<HASH> 100644 --- a/OpenSSL/test/test_ssl.py +++ b/OpenSSL/test/test_ssl.py @@ -1939,7 +1939,7 @@ class ApplicationLayerProtoNegotiationTests(TestCase, _LoopbackMixin): select_args = [] def select(conn, options): ...
Cleanup docstrings and comments.
py
diff --git a/libcloud_monitoring/drivers/rackspace.py b/libcloud_monitoring/drivers/rackspace.py index <HASH>..<HASH> 100644 --- a/libcloud_monitoring/drivers/rackspace.py +++ b/libcloud_monitoring/drivers/rackspace.py @@ -114,7 +114,8 @@ class RackspaceMonitoringConnection(OpenStackBaseConnection): self.api_v...
Fix a bug with ex_force_base_url not being propagated to the parent class.
py
diff --git a/tests/runtests.py b/tests/runtests.py index <HASH>..<HASH> 100644 --- a/tests/runtests.py +++ b/tests/runtests.py @@ -40,6 +40,7 @@ def runtests(pacfile, testdata, tests_dir): if result != expected_result: print 'Tests failed. Got "%s", expected "%s"' % (result, expected_result) return 1...
Add a success message to the end of python tests script.
py
diff --git a/bblfsh/test.py b/bblfsh/test.py index <HASH>..<HASH> 100644 --- a/bblfsh/test.py +++ b/bblfsh/test.py @@ -579,5 +579,11 @@ class BblfshTests(unittest.TestCase): self.assertEqual(pyDict, decoded.load()) + def testInvalidDecodeBytes(self) -> None: + with self.assertRaises(RuntimeError)...
Adds tests for incorrect bytes in decode not killing interpreter
py
diff --git a/artist/graph_artist.py b/artist/graph_artist.py index <HASH>..<HASH> 100644 --- a/artist/graph_artist.py +++ b/artist/graph_artist.py @@ -43,6 +43,9 @@ class GraphArtist: }) def histogram(self, counts, bin_edges, linestyle='solid'): + if len(bin_edges) - ...
Check for length of counts and bin_edges in histogram
py
diff --git a/betfairlightweight/resources/bettingresources.py b/betfairlightweight/resources/bettingresources.py index <HASH>..<HASH> 100644 --- a/betfairlightweight/resources/bettingresources.py +++ b/betfairlightweight/resources/bettingresources.py @@ -606,7 +606,7 @@ class LimitOrder(object): :type time_in_forc...
Set LimitOrder size to optional Size isn't returned when bet_target_type is BACKERS_PROFIT.
py
diff --git a/gwpy/data/array.py b/gwpy/data/array.py index <HASH>..<HASH> 100644 --- a/gwpy/data/array.py +++ b/gwpy/data/array.py @@ -173,7 +173,8 @@ class Array(numpy.ndarray): # array methods def __pow__(self, y, z=None): - new = super(Array, self).__pow__(y, z) + new = self.copy() + ...
Array: fixed data ownership in Array.__pow__
py
diff --git a/django_any/fields.py b/django_any/fields.py index <HASH>..<HASH> 100644 --- a/django_any/fields.py +++ b/django_any/fields.py @@ -236,3 +236,15 @@ def any_field(field, **kwargs): import string letters = string.letters + '_' + '-' + '0123456789' return xunit.any_string(letters = letters, m...
add support for SmallIntegerField
py
diff --git a/colab/super_archives/models.py b/colab/super_archives/models.py index <HASH>..<HASH> 100644 --- a/colab/super_archives/models.py +++ b/colab/super_archives/models.py @@ -45,10 +45,12 @@ class EmailAddressValidation(models.Model): @classmethod def verify_email(cls, email_address_validation, veri...
Made sending verification email return status It returns whether the email was sent or not.
py
diff --git a/src/__init__.py b/src/__init__.py index <HASH>..<HASH> 100644 --- a/src/__init__.py +++ b/src/__init__.py @@ -154,7 +154,7 @@ class JavaClassInfo(JavaConstantPool, JavaAttributes): def funpack(self, buff): - self.magic, buff = _funpack("BBBB", buff) + self.magic, buff = _funpack(">BB...
not really necessary, but everything else is explicit so these may as well be, too
py
diff --git a/spyder/widgets/variableexplorer/namespacebrowser.py b/spyder/widgets/variableexplorer/namespacebrowser.py index <HASH>..<HASH> 100644 --- a/spyder/widgets/variableexplorer/namespacebrowser.py +++ b/spyder/widgets/variableexplorer/namespacebrowser.py @@ -303,9 +303,10 @@ class NamespaceBrowser(QWidget): ...
Change warning message for serialized variable length.
py
diff --git a/tests/test_xopen.py b/tests/test_xopen.py index <HASH>..<HASH> 100644 --- a/tests/test_xopen.py +++ b/tests/test_xopen.py @@ -147,6 +147,13 @@ def test_readline_text_pipedgzipreader(): assert f.readline() == CONTENT_LINES[0] +@pytest.mark.parametrize("threads", [None, 1, 2]) +def test_pipedgzi...
Extra test to ensure that iterating over PipedGzipReader works See #<I>
py
diff --git a/salt/states/blockdev.py b/salt/states/blockdev.py index <HASH>..<HASH> 100644 --- a/salt/states/blockdev.py +++ b/salt/states/blockdev.py @@ -174,4 +174,4 @@ def formatted(name, fs_type='ext4', **kwargs): else: ret['comment'] = 'Failed to format {0}'.format(name) ret['result'] = Fals...
Adding in the missing trailing newline character
py
diff --git a/windpowerlib/power_curves.py b/windpowerlib/power_curves.py index <HASH>..<HASH> 100644 --- a/windpowerlib/power_curves.py +++ b/windpowerlib/power_curves.py @@ -76,7 +76,7 @@ def smooth_power_curve(power_curve_wind_speeds, power_curve_values, smoothed_power_curve_values = [] # Append wind speeds...
Add maximum value for power curve wind speeds
py
diff --git a/django_auth_ldap/backend.py b/django_auth_ldap/backend.py index <HASH>..<HASH> 100644 --- a/django_auth_ldap/backend.py +++ b/django_auth_ldap/backend.py @@ -304,7 +304,7 @@ class _LDAPUser(object): if self._user_dn is None: try: self._load_user_dn() - exce...
Syntax error in last-minute change.
py
diff --git a/springboard/views/core.py b/springboard/views/core.py index <HASH>..<HASH> 100644 --- a/springboard/views/core.py +++ b/springboard/views/core.py @@ -123,8 +123,10 @@ class CoreViews(SpringboardViews): response = Response() language = self.request.matchdict.get('language') or \ ...
after language selection redirect to given 'next'
py
diff --git a/rlp.py b/rlp.py index <HASH>..<HASH> 100644 --- a/rlp.py +++ b/rlp.py @@ -81,3 +81,4 @@ def encode(s): for item in s: output += encode(item) return encode_length(len(output), 192) + output + raise TypeError("Encoding of %s not supported" % type(s))
raise TypeError for wrong types
py
diff --git a/pipenv/core.py b/pipenv/core.py index <HASH>..<HASH> 100644 --- a/pipenv/core.py +++ b/pipenv/core.py @@ -1180,12 +1180,14 @@ def do_lock(verbose=False, system=False, clear=False, pre=False): def activate_virtualenv(source=True): """Returns the string to activate a virtualenv.""" - # Suffix for ...
Update activate_virtualenv for Fish <I>+ Fish 3 removes the `.` command in favour of `source`, so we need to adapt. See fish-shell/fish-shell#<I> and <URL>
py
diff --git a/skyfield/__init__.py b/skyfield/__init__.py index <HASH>..<HASH> 100644 --- a/skyfield/__init__.py +++ b/skyfield/__init__.py @@ -4,5 +4,5 @@ Most users will use Skyfield by importing ``skyfield.api`` and using the functions and classes there. """ -__version_info__ = (0, 2) -__version__ = '%s.%s' % __v...
Rename silly __version_info__ symbol to VERSION Django uses the name VERSION and it always seems good to rid ourselves of another faux-dunder symbol that really means nothing to the Python runtime and therefore should not enjoy the (in-?)dignity of a dunder.
py
diff --git a/tests/test_spamc_unix.py b/tests/test_spamc_unix.py index <HASH>..<HASH> 100644 --- a/tests/test_spamc_unix.py +++ b/tests/test_spamc_unix.py @@ -29,6 +29,7 @@ class TestSpamCUnix(unittest2.TestCase): @classmethod def setUpClass(cls): + gzip = False cls.using_sa = True ...
* FIX: Set gzip in CI for unix socket tests
py
diff --git a/renga/version.py b/renga/version.py index <HASH>..<HASH> 100644 --- a/renga/version.py +++ b/renga/version.py @@ -23,4 +23,4 @@ and parsed by ``setup.py``. from __future__ import absolute_import, print_function -__version__ = '0.1.0.dev20170915' +__version__ = '0.1.0.dev20170922'
release: <I>.de<I>
py
diff --git a/src/_pytest/python_api.py b/src/_pytest/python_api.py index <HASH>..<HASH> 100644 --- a/src/_pytest/python_api.py +++ b/src/_pytest/python_api.py @@ -531,17 +531,11 @@ def _is_numpy_array(obj): Return true if the given object is a numpy array. Make a special effort to avoid importing numpy unles...
Simplify is_numpy_array as suggested in review
py
diff --git a/src/rez/tests/test_formatter.py b/src/rez/tests/test_formatter.py index <HASH>..<HASH> 100644 --- a/src/rez/tests/test_formatter.py +++ b/src/rez/tests/test_formatter.py @@ -17,7 +17,8 @@ class TestFormatter(TestBase): def test_formatter_rex(self): self.assert_formatter_equal('Hello, ${worl...
-fixed failing UT (formatting)
py
diff --git a/configman/converters.py b/configman/converters.py index <HASH>..<HASH> 100644 --- a/configman/converters.py +++ b/configman/converters.py @@ -98,7 +98,7 @@ def str_quote_stripper(input_str): # a bunch of known mappings of builtin items to strings import __builtin__ known_mapping_str_to_type = dict( - ...
sort the results of __builtin__.__dict__ to ensure we have a consitent ordering
py
diff --git a/gcloud/bigquery/test_query.py b/gcloud/bigquery/test_query.py index <HASH>..<HASH> 100644 --- a/gcloud/bigquery/test_query.py +++ b/gcloud/bigquery/test_query.py @@ -137,7 +137,12 @@ class TestQueryResults(unittest2.TestCase): self.assertTrue(query.preserve_nulls is None) self.assertTrue(...
Coverage for 'Query.job'.
py
diff --git a/d1_common_python/src/setup.py b/d1_common_python/src/setup.py index <HASH>..<HASH> 100644 --- a/d1_common_python/src/setup.py +++ b/d1_common_python/src/setup.py @@ -84,7 +84,7 @@ def main(): include_package_data=True, # Dependencies that are available through PyPI. install_requires=[ - ...
Bump ISO<I> serialization library from <I> to <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -79,7 +79,7 @@ setup( # https://packaging.python.org/specifications/core-metadata/#home-page-optional # # Optional - url="<URL>", + url="https://github.com/alexseitsinger/page_scrapers", # This shou...
chore: Updates setup.py.
py
diff --git a/visidata/sheets.py b/visidata/sheets.py index <HASH>..<HASH> 100644 --- a/visidata/sheets.py +++ b/visidata/sheets.py @@ -1048,7 +1048,7 @@ def sheetsSheet(vd): @VisiData.api def quit(vd, *sheets): 'Remove *sheets* from sheets stack, asking for confirmation if options.quitguard set (either global or...
[quit-] remove sheets from Sheets Sheet upon quit Fixes quitguard. Sheets Sheet now only contains non-quit precious sheets.
py
diff --git a/autotweet/app.py b/autotweet/app.py index <HASH>..<HASH> 100644 --- a/autotweet/app.py +++ b/autotweet/app.py @@ -1,15 +1,8 @@ -import logging from flask import Flask, jsonify, render_template, request app = Flask(__name__) -def set_logging_level(level): - if level is None: - level = 0 - ...
Remove unused code snippets.
py
diff --git a/test/intervaltree_test.py b/test/intervaltree_test.py index <HASH>..<HASH> 100644 --- a/test/intervaltree_test.py +++ b/test/intervaltree_test.py @@ -225,6 +225,7 @@ def test_init_invalid_interval(): IntervalTree(Interval(b, e) for b, e in [(1, 2), (1, 1)]) +# TODO: replace this with optimalit...
add: TODO to replace with optimality test [ci skip]
py
diff --git a/sgactions/ticketui.py b/sgactions/ticketui.py index <HASH>..<HASH> 100644 --- a/sgactions/ticketui.py +++ b/sgactions/ticketui.py @@ -169,8 +169,8 @@ def ticket_ui_context(reraise=True, dialog_class=None): try: yield except: - submitted = ticket_current_exception(dialog_class=dial...
Rename a variable to make more sense
py
diff --git a/tests/test_utils.py b/tests/test_utils.py index <HASH>..<HASH> 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -1,7 +1,9 @@ import os +from bs4 import BeautifulSoup + from nlppln.utils import remove_ext, out_file_name, create_dirs, cwl_file, \ - get_files, split + ...
Add a test for reading and writing xml_files
py
diff --git a/parsl/dataflow/dflow.py b/parsl/dataflow/dflow.py index <HASH>..<HASH> 100644 --- a/parsl/dataflow/dflow.py +++ b/parsl/dataflow/dflow.py @@ -371,10 +371,8 @@ class DataFlowKernel(object): outer_task_id = task_record['id'] - try: - res = self._unwrap_remote_exception_wrapper(...
Do not unwrap joinapp future exceptions unnecessarily (#<I>) An AppFuture will always present its exception as a future.exception(), not as a RemoteWrapper. RemoteWrappers are used at the executor future layer.
py
diff --git a/bokeh/session.py b/bokeh/session.py index <HASH>..<HASH> 100644 --- a/bokeh/session.py +++ b/bokeh/session.py @@ -238,7 +238,13 @@ class Session(object): if headers is None: headers={'content-type':'application/json'} func = getattr(self.http_session, method) - resp = ...
Just a reminder to the user to start the bokeh-server. Close #<I>.
py
diff --git a/sos/plugins/__init__.py b/sos/plugins/__init__.py index <HASH>..<HASH> 100644 --- a/sos/plugins/__init__.py +++ b/sos/plugins/__init__.py @@ -171,13 +171,12 @@ class Plugin(object): parameters). The regexp can be a string or a compiled re object. The substitution string, subst, is a strin...
Fix comment and remove dead code in doExtOutputSub
py
diff --git a/tests/integration/test_features.py b/tests/integration/test_features.py index <HASH>..<HASH> 100644 --- a/tests/integration/test_features.py +++ b/tests/integration/test_features.py @@ -128,13 +128,20 @@ def _deploy_with_retries(deployer, config, max_attempts=10): # API Gateway aggressively th...
Don't assume the response attr always exist The ChaliceDeploymentError wraps an exception but it's not always a botocore error. It can also wrap a requests.ConnectionError in which case there will be no `.response` attribute. This was triggering an "AttributeError" in some of the failure cases which obscures the ori...
py
diff --git a/messages/cli.py b/messages/cli.py index <HASH>..<HASH> 100644 --- a/messages/cli.py +++ b/messages/cli.py @@ -52,7 +52,7 @@ def trim_args(kwds): @click.command() @argument('type', required=True) -@option('-f', '--from', +@option('-f', '--from_', help='From address/phone/etc.') @option('-t', '--to...
fixes -S option to be a boolean Flag and renames --from to --from_ in accordance with the message class api's
py
diff --git a/test_bbltree.py b/test_bbltree.py index <HASH>..<HASH> 100644 --- a/test_bbltree.py +++ b/test_bbltree.py @@ -24,7 +24,10 @@ def test_from_bubble_data(): edges, inclusions, roots = tree assert edges == {'p2': {'k'}, 'k': {'p2', 'p1'}, 'p3': {'p4'}, 'p1': {'k'}, 'p4': {'p3'}} - assert inclusi...
bbltree: fix tests
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -48,11 +48,11 @@ except(IOError, ImportError): setup( name='esgfpid', - version='0.7.5', + version='0.7.6-dev', author='Merret Buurman, German Climate Computing Centre (DKRZ)', author_email='buurman@dkr...
Increment version number to <I>-dev.
py
diff --git a/oplus/version.py b/oplus/version.py index <HASH>..<HASH> 100644 --- a/oplus/version.py +++ b/oplus/version.py @@ -1 +1 @@ -version='9.0.0' +version='9.0.1'
[skip ci] updated version as <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,20 +3,21 @@ from setuptools import setup name = 'rel_imp' + def long_description(): with open('README', 'r') as f: return unicode(f.read()) setup( - name = name, - py_modules = [name], - version = ...
Code in pep8. Move to version <I>
py
diff --git a/src/bold/builders.py b/src/bold/builders.py index <HASH>..<HASH> 100644 --- a/src/bold/builders.py +++ b/src/bold/builders.py @@ -145,8 +145,9 @@ def _link (compiler, exe_path, o_file_paths, lib_paths, libs, link_flags): return subprocess.call(cmd, shell = True) def _src_to_o (src_path, build_path): -...
fix handling .c files in different dirs but with the same name
py
diff --git a/src/werkzeug/__init__.py b/src/werkzeug/__init__.py index <HASH>..<HASH> 100644 --- a/src/werkzeug/__init__.py +++ b/src/werkzeug/__init__.py @@ -3,4 +3,4 @@ from .test import Client from .wrappers import Request from .wrappers import Response -__version__ = "2.0.0rc1" +__version__ = "2.0.0rc2.dev"
Following the release of <I>rc1 continue with <I>rc2.dev
py
diff --git a/chess/__init__.py b/chess/__init__.py index <HASH>..<HASH> 100644 --- a/chess/__init__.py +++ b/chess/__init__.py @@ -1376,7 +1376,7 @@ class Board(BaseBoard): Use :func:`~chess.Board.is_valid()` to detect invalid positions. """ - aliases = ["Standard", "Chess", "Classical", "Normal", "I...
Add From Position as alias for standard chess (fixes #<I>)
py
diff --git a/src/jobTreeSlave.py b/src/jobTreeSlave.py index <HASH>..<HASH> 100644 --- a/src/jobTreeSlave.py +++ b/src/jobTreeSlave.py @@ -273,7 +273,8 @@ def main(): environment = cPickle.load(fileHandle) fileHandle.close() for i in environment: - os.environ[i] = environment[i] + if i not ...
Fix to jobTree to prevent it overriding TMPDIR
py
diff --git a/src/cr/cube/crunch_cube.py b/src/cr/cube/crunch_cube.py index <HASH>..<HASH> 100644 --- a/src/cr/cube/crunch_cube.py +++ b/src/cr/cube/crunch_cube.py @@ -393,8 +393,7 @@ class CrunchCube(DataTable): @lazyproperty def col_direction_axis(self): - axis = self.ndim - 2 - return axis +...
[#<I>]: Address PR comments
py
diff --git a/src/pyiso/pyiso.py b/src/pyiso/pyiso.py index <HASH>..<HASH> 100644 --- a/src/pyiso/pyiso.py +++ b/src/pyiso/pyiso.py @@ -1335,7 +1335,9 @@ class PyIso(object): self.cdfp, dir_record) length -= lenbyte - 1 - if not new_r...
Don't link symlink records with unrelated records. genisoimage seems to have a bug where it will generate symlink records that have their extent locations pointing to random other extents on the disk. This confuses our linkage between records. Avoid this by not doing record linkage for symlinks.
py
diff --git a/cltk/corpus/latin/corpora.py b/cltk/corpus/latin/corpora.py index <HASH>..<HASH> 100644 --- a/cltk/corpus/latin/corpora.py +++ b/cltk/corpus/latin/corpora.py @@ -32,7 +32,7 @@ LATIN_CORPORA = [ 'location': 'remote', 'type': 'text', 'path': 'https://raw.githubusercontent.com/cltk/latin_cor...
ch ll git to http
py
diff --git a/nidmresults/exporter.py b/nidmresults/exporter.py index <HASH>..<HASH> 100644 --- a/nidmresults/exporter.py +++ b/nidmresults/exporter.py @@ -251,7 +251,7 @@ class NIDMExporter(): self.exporter.export(self.version) self.doc.update(self.exporter.p) - self.exporter.wasA...
fix: export wasAssociatedWith exporter
py
diff --git a/hwt/synthesizer/interfaceLevel/unitImplHelpers.py b/hwt/synthesizer/interfaceLevel/unitImplHelpers.py index <HASH>..<HASH> 100644 --- a/hwt/synthesizer/interfaceLevel/unitImplHelpers.py +++ b/hwt/synthesizer/interfaceLevel/unitImplHelpers.py @@ -7,6 +7,7 @@ from hwt.synthesizer.exceptions import IntfLvlCon...
UnitImplHelpers: raise NotImplementedError() in _reg for array type * because it is not clear how it should work * register with the type of array or ram * instantiate register/ram manually using _sig and If(clk._onRisingEdge()
py
diff --git a/gbdxtools/images/meta.py b/gbdxtools/images/meta.py index <HASH>..<HASH> 100644 --- a/gbdxtools/images/meta.py +++ b/gbdxtools/images/meta.py @@ -329,7 +329,7 @@ class PlotMixin(object): @property def _ndvi_bands(self): - return [7, 4] + return [6, 4] def rgb(self, **kwargs...
fix for ndvi badns
py
diff --git a/src/jukeboxmaya/addons/mayagenesis/mayagenesis.py b/src/jukeboxmaya/addons/mayagenesis/mayagenesis.py index <HASH>..<HASH> 100644 --- a/src/jukeboxmaya/addons/mayagenesis/mayagenesis.py +++ b/src/jukeboxmaya/addons/mayagenesis/mayagenesis.py @@ -91,7 +91,7 @@ class MayaGenesis(JB_MayaPlugin): if n...
Fix get last file by using pk
py
diff --git a/SECEdgar/tests/test_client.py b/SECEdgar/tests/test_client.py index <HASH>..<HASH> 100644 --- a/SECEdgar/tests/test_client.py +++ b/SECEdgar/tests/test_client.py @@ -1,4 +1,3 @@ -import os import pytest import requests @@ -11,16 +10,6 @@ def client(): return NetworkClient() -def datapath(*args...
CLN: Move datapath to utils
py
diff --git a/torf/_torrent.py b/torf/_torrent.py index <HASH>..<HASH> 100644 --- a/torf/_torrent.py +++ b/torf/_torrent.py @@ -475,9 +475,12 @@ class Torrent(): @exclude.setter def exclude(self, value): if isinstance(value, str): - self._exclude = [value] + value = [value] ...
When setting 'exclude' re-set 'path' to same value to filter it
py
diff --git a/ccmlib/cluster.py b/ccmlib/cluster.py index <HASH>..<HASH> 100644 --- a/ccmlib/cluster.py +++ b/ccmlib/cluster.py @@ -255,9 +255,9 @@ class Cluster(object): for node, p, mark in started: try: if verbose: - print "[" + node.name + "] ...
Remove python2 print statements
py
diff --git a/warehouse/forklift/legacy.py b/warehouse/forklift/legacy.py index <HASH>..<HASH> 100644 --- a/warehouse/forklift/legacy.py +++ b/warehouse/forklift/legacy.py @@ -77,6 +77,19 @@ STDLIB_PROHIBITTED = { } # Wheel platform checking + +# Note: defining new platform ABI compatibility tags that don't +# ...
Add a note about managing wheel ABI compatility (#<I>) There's a lot more to defining Linux ABI compatibility tags than just allowing them as PyPI uploads, so add a note to make that clear to PyPI maintainers, rather than assuming that everyone will be automatically aware of that fact.
py
diff --git a/nfc/dev/__init__.py b/nfc/dev/__init__.py index <HASH>..<HASH> 100644 --- a/nfc/dev/__init__.py +++ b/nfc/dev/__init__.py @@ -35,6 +35,7 @@ usb_device_map = { (0x054c, 0x0193) : "pn53x_usb", # Sony demo board (0x04cc, 0x2533) : "pn53x_usb", # NXP PN533 demo board (0x04e6, 0x5591) : "pn53x_us...
added support for SCM SCL<I>
py
diff --git a/FlowCytometryTools/core/containers.py b/FlowCytometryTools/core/containers.py index <HASH>..<HASH> 100644 --- a/FlowCytometryTools/core/containers.py +++ b/FlowCytometryTools/core/containers.py @@ -331,7 +331,7 @@ class FCMeasurement(Measurement): # EDGE CAES: Must return an empty samp...
[core] Fix TypeError on FCMeasurement.subset() with Python <I>
py
diff --git a/examples/run_no_excel_no_beads.py b/examples/run_no_excel_no_beads.py index <HASH>..<HASH> 100644 --- a/examples/run_no_excel_no_beads.py +++ b/examples/run_no_excel_no_beads.py @@ -63,7 +63,7 @@ if __name__ == "__main__": density_channels = ['FSC-H', 'SSC-H'], hist_chann...
Updated colors in run_no_excel_no_beads.py
py
diff --git a/rddl2tf/compiler.py b/rddl2tf/compiler.py index <HASH>..<HASH> 100644 --- a/rddl2tf/compiler.py +++ b/rddl2tf/compiler.py @@ -173,9 +173,11 @@ class Compiler(object): A :obj:`rddl2tf.fluent.TensorFluent` representing the reward function. ''' reward_expr = self.rddl.domain.rew...
Add name_scope to compile_reward()
py
diff --git a/tensor2tensor/serving/serving_utils.py b/tensor2tensor/serving/serving_utils.py index <HASH>..<HASH> 100644 --- a/tensor2tensor/serving/serving_utils.py +++ b/tensor2tensor/serving/serving_utils.py @@ -23,6 +23,7 @@ import base64 import functools from googleapiclient import discovery import grpc +import...
Fix serving response from Cloud ML Engine (#<I>)
py
diff --git a/hypertools/datageometry.py b/hypertools/datageometry.py index <HASH>..<HASH> 100644 --- a/hypertools/datageometry.py +++ b/hypertools/datageometry.py @@ -186,7 +186,7 @@ class DataGeometry(object): new_kwargs.update({key : kwargs[key]}) return plotter(d, **new_kwargs) - def save(...
remove compression arg from signature and docstring
py
diff --git a/datatableview/helpers.py b/datatableview/helpers.py index <HASH>..<HASH> 100644 --- a/datatableview/helpers.py +++ b/datatableview/helpers.py @@ -62,7 +62,7 @@ def link_to_model(instance, text=None, *args, **kwargs): return """<a href="{}">{}</a>""".format(instance.get_absolute_url(), text) @keyed_...
Added *args and **kwargs to helper signature
py
diff --git a/squad/core/admin.py b/squad/core/admin.py index <HASH>..<HASH> 100644 --- a/squad/core/admin.py +++ b/squad/core/admin.py @@ -64,6 +64,13 @@ class ProjectStatusAdmin(admin.ModelAdmin): model = models.ProjectStatus list_display = ['__str__', 'approved', 'notified'] + def get_queryset(self, re...
core/admin: optimize query for ProjectStatus listing
py
diff --git a/mike/app_version.py b/mike/app_version.py index <HASH>..<HASH> 100644 --- a/mike/app_version.py +++ b/mike/app_version.py @@ -1 +1 @@ -version = '1.1.0' +version = '1.2.0.dev0'
Update version to <I>.dev0
py
diff --git a/sphinxcontrib/spelling/filters.py b/sphinxcontrib/spelling/filters.py index <HASH>..<HASH> 100644 --- a/sphinxcontrib/spelling/filters.py +++ b/sphinxcontrib/spelling/filters.py @@ -7,7 +7,7 @@ # TODO - Words with multiple uppercase letters treated as classes and ignored import builtins -import imp +im...
filters: do not use imp in ImportableModuleFilter The imp module is deprecated, so replace it with calls to importlib.
py
diff --git a/hitman.py b/hitman.py index <HASH>..<HASH> 100755 --- a/hitman.py +++ b/hitman.py @@ -269,7 +269,10 @@ class Database(object): def __init__(self, name): super(Database, self).__init__() - self.db = semidbm.open(os.path.join(directory(), name), 'c') + try: + self.db ...
explcitly warn user of old db files
py
diff --git a/sos/plugins/__init__.py b/sos/plugins/__init__.py index <HASH>..<HASH> 100644 --- a/sos/plugins/__init__.py +++ b/sos/plugins/__init__.py @@ -501,7 +501,6 @@ class Plugin(object): if not self.executed_commands: return 0 - globstr = '*' + cmd + '*' self._log_debug("Sc...
[plugins] remove unused globstr variable from do_cmd_private_sub globstr is assigned but never used
py
diff --git a/flask_restful/fields.py b/flask_restful/fields.py index <HASH>..<HASH> 100644 --- a/flask_restful/fields.py +++ b/flask_restful/fields.py @@ -10,7 +10,8 @@ from flask_restful import types, marshal from flask import url_for __all__ = ["String", "FormattedString", "Url", "DateTime", "Float", - ...
Add Boolean & Price to __all__, closes: #<I>
py
diff --git a/anyconfig/api.py b/anyconfig/api.py index <HASH>..<HASH> 100644 --- a/anyconfig/api.py +++ b/anyconfig/api.py @@ -255,6 +255,7 @@ def loads(config_content, forced_type=None, ac_template=False, ac_context=None, operations. """ if forced_type is None: + LOGGER.warn("No config type w...
make it warns if no forced_type was given for anyconfig.loads
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages setup( name='Chunky', - version='0.1.0', + version='0.2.0', description='Pipeline design and distribution framework', author='Dominic Fitzgerald'...
Bumped version to <I> from <I>
py
diff --git a/slacky/rest/rest.py b/slacky/rest/rest.py index <HASH>..<HASH> 100755 --- a/slacky/rest/rest.py +++ b/slacky/rest/rest.py @@ -888,6 +888,13 @@ class Users(ApiBase): user_id = self.get_id_by_name(user_name) return self.info(user_id) + def get_name_by_id(self, user_id): + member...
Get user name by user id.
py
diff --git a/lifelines/tests/test_suite.py b/lifelines/tests/test_suite.py index <HASH>..<HASH> 100644 --- a/lifelines/tests/test_suite.py +++ b/lifelines/tests/test_suite.py @@ -95,13 +95,13 @@ class MiscTests(unittest.TestCase): naf = NelsonAalenFitter() expected = ['upper', 'lower'] naf.fi...
oops. That test sucked
py
diff --git a/OMMBV/__init__.py b/OMMBV/__init__.py index <HASH>..<HASH> 100644 --- a/OMMBV/__init__.py +++ b/OMMBV/__init__.py @@ -8,12 +8,12 @@ del here on_rtd = os.environ.get('ONREADTHEDOCS') == 'True' if not on_rtd: - from pysatMagVect import igrf + from OMMBV import igrf else: igrf = None -from p...
BUG: Propagating name change
py
diff --git a/auto_ml/_version.py b/auto_ml/_version.py index <HASH>..<HASH> 100644 --- a/auto_ml/_version.py +++ b/auto_ml/_version.py @@ -1 +1 @@ -__version__ = "2.3.5" +__version__ = "2.4.0"
<I> for prediction_intervals, and absolute feature responses
py
diff --git a/pysc2/bin/play.py b/pysc2/bin/play.py index <HASH>..<HASH> 100755 --- a/pysc2/bin/play.py +++ b/pysc2/bin/play.py @@ -108,11 +108,13 @@ def main(unused_argv): interface.raw = FLAGS.render interface.score = True interface.feature_layer.width = 24 - FLAGS.feature_screen_size.assign_to(interface.fea...
Fix turning off rendering in bin/play. PiperOrigin-RevId: <I>
py
diff --git a/tensorlayer/layers/core.py b/tensorlayer/layers/core.py index <HASH>..<HASH> 100644 --- a/tensorlayer/layers/core.py +++ b/tensorlayer/layers/core.py @@ -1280,7 +1280,7 @@ class DropoutLayer(Layer): if is_fix: self.outputs = tf.nn.dropout(self.inputs, keep, seed=seed, name=nam...
dropout keep prob use config dtype (#<I>)
py
diff --git a/tests/test_base32.py b/tests/test_base32.py index <HASH>..<HASH> 100644 --- a/tests/test_base32.py +++ b/tests/test_base32.py @@ -9,6 +9,14 @@ import pytest from ulid import base32 +@pytest.fixture(scope='session') +def decoding_alphabet(): + """ + Fixture that yields the entire alphabet that is...
Add test for asserting all valid B<I> decode characters have values.
py
diff --git a/tests/integration/conftest.py b/tests/integration/conftest.py index <HASH>..<HASH> 100644 --- a/tests/integration/conftest.py +++ b/tests/integration/conftest.py @@ -73,6 +73,8 @@ def routeros(request, disk_image): 'nic,model=e1000', '-cpu', 'max', + '-accel', + 'kv...
Try KVM acceleration on travis
py
diff --git a/python/ccxt/base/exchange.py b/python/ccxt/base/exchange.py index <HASH>..<HASH> 100644 --- a/python/ccxt/base/exchange.py +++ b/python/ccxt/base/exchange.py @@ -380,7 +380,7 @@ class Exchange(object): self.raise_error(ExchangeError, url, method, e, self.last_http_response) except R...
exchange.py reporting on RequestException fix #<I>
py
diff --git a/tcex/stix/model.py b/tcex/stix/model.py index <HASH>..<HASH> 100644 --- a/tcex/stix/model.py +++ b/tcex/stix/model.py @@ -568,6 +568,18 @@ class StixModel: del mapped_obj[key] yield mapped_obj + + @staticmethod + def _remove_milliseconds(time): + time = ...
removing milliseconds from external date created because the iso regex on TC is invalid
py
diff --git a/PTTLibrary/PTT.py b/PTTLibrary/PTT.py index <HASH>..<HASH> 100644 --- a/PTTLibrary/PTT.py +++ b/PTTLibrary/PTT.py @@ -2314,7 +2314,7 @@ class Library(object): OverlapLine = LastPageIndex - PageLineRangeTemp[0] + 1 # 處理分隔線造成的行數計算錯誤 - if PageLine...
divider line dealing with the problem of divider line (Mail)
py
diff --git a/git/types.py b/git/types.py index <HASH>..<HASH> 100644 --- a/git/types.py +++ b/git/types.py @@ -5,13 +5,13 @@ import os import sys from typing import (Callable, Dict, NoReturn, Tuple, Union, Any, Iterator, # noqa: F401 - NamedTuple, TYPE_CHECKING, get_args, TypeVar) # no...
put typing_extensions.get_types() behind python version guard
py