diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/doc/conf.py b/doc/conf.py index <HASH>..<HASH> 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -310,9 +310,9 @@ MOCK_MODULES = [ 'networkx', 'networkx.algorithms', 'networkx.algorithms.dag', 'networkx.drawing', 'functools32', 'ndex2', 'ndex2.client', 'ndex2.niceCXNetwork', 'sqlalchemy', 'sqlal...
Add entry to mock to fix docs.
py
diff --git a/www/tests/issues.py b/www/tests/issues.py index <HASH>..<HASH> 100644 --- a/www/tests/issues.py +++ b/www/tests/issues.py @@ -2388,7 +2388,23 @@ try: except SyntaxError: pass +# issue 1068 +class Class(): + def method(self): + return __class__.__name__ + +assert Class().method() == "Class...
Add test for issue #<I>
py
diff --git a/torchtext/data/iterator.py b/torchtext/data/iterator.py index <HASH>..<HASH> 100644 --- a/torchtext/data/iterator.py +++ b/torchtext/data/iterator.py @@ -220,10 +220,15 @@ class BPTTIterator(Iterator): for i in range(0, len(self) * self.bptt_len, self.bptt_len): self.iteration...
fix batch size (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -114,7 +114,7 @@ extrasReqs['sftp'] = [ 'paramiko', ] extrasReqs['mount'] = [ - 'fusepy>=2.0.4', + 'fusepy>=2.0.4,<3.0', ] init = os.path.join(os.path.dirname(__file__), 'girder', '__init__.py')
Pin fusepy to < <I> to prevent deadlocks in tests
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,6 @@ extras_requires = { 'cleanhtml': ['lxml'], 'renderhtml': ['jinja2'], 'images': ['pillow'], - 'docs': ['docutils', 'sphinx'] } tests_requires = [
removing docs from setup.py
py
diff --git a/web_pdb/wsgi_app.py b/web_pdb/wsgi_app.py index <HASH>..<HASH> 100644 --- a/web_pdb/wsgi_app.py +++ b/web_pdb/wsgi_app.py @@ -54,7 +54,8 @@ def compress(func): def wrapper(*args, **kwargs): result = func(*args, **kwargs) if ('gzip' in bottle.request.headers.get('Accept-Encoding', '')...
Do not compress web app response less than <I> characters
py
diff --git a/prawcore/const.py b/prawcore/const.py index <HASH>..<HASH> 100644 --- a/prawcore/const.py +++ b/prawcore/const.py @@ -1,6 +1,6 @@ """Constants for the prawcore package.""" -__version__ = '0.0.10' +__version__ = '0.0.11' ACCESS_TOKEN_PATH = '/api/v1/access_token' AUTHORIZATION_PATH = '/api/v1/authori...
Bump to <I>.
py
diff --git a/claripy/operations.py b/claripy/operations.py index <HASH>..<HASH> 100644 --- a/claripy/operations.py +++ b/claripy/operations.py @@ -354,7 +354,7 @@ simplifiers = { 'If': if_simplifier, '__lshift__': lshift_simplifier, '__rshift__': rshift_simplifier, - '__eq__': eq_simplifier, + #'__...
disable the __eq__ simplification for now -- John was right; it's taking up <I>% of fidget runtime
py
diff --git a/tweepy/binder.py b/tweepy/binder.py index <HASH>..<HASH> 100644 --- a/tweepy/binder.py +++ b/tweepy/binder.py @@ -181,7 +181,6 @@ def bind_api(**config): time.sleep(retry_delay) retries_performed += 1 - self.session = requests.Session() # If an er...
Don't reset session in APIMethod
py
diff --git a/setupELiDE.py b/setupELiDE.py index <HASH>..<HASH> 100644 --- a/setupELiDE.py +++ b/setupELiDE.py @@ -40,7 +40,6 @@ setup( ], package_data={ "ELiDE": [ - "elide.kv", "assets/*.png", "assets/*.jpg", "assets/*.ttf",
Kv code now lives in strings in .py files
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -12,6 +12,7 @@ setup( url='https://github.com/jessamynsmith/paragres', download_url='', description='Utility for synchronizing parallel PostgreSQL databases on Heroku and localhost', + keywords=['postgresql',...
Added keywords to setup.py
py
diff --git a/tests/client_test.py b/tests/client_test.py index <HASH>..<HASH> 100644 --- a/tests/client_test.py +++ b/tests/client_test.py @@ -116,9 +116,9 @@ class ClientTest(TestCase): @vcr.use_cassette('fixtures/client/array_endpoints.yaml') def test_client_creates_wrapped_arrays(self): client = C...
Replace assertEquals with assertEqual assertEquals was deprecated in Python <I>: <URL>
py
diff --git a/geomet/wkb.py b/geomet/wkb.py index <HASH>..<HASH> 100644 --- a/geomet/wkb.py +++ b/geomet/wkb.py @@ -83,11 +83,30 @@ __BINARY_TO_GEOM_TYPE = dict( def dump(obj, dest_file): - raise NotImplementedError + """ + Dump GeoJSON-like `dict` to WKB and write it to the `dest_file`. + + :param dict...
wkb: Implemented `load` and `dump`.
py
diff --git a/jax/lax.py b/jax/lax.py index <HASH>..<HASH> 100644 --- a/jax/lax.py +++ b/jax/lax.py @@ -427,7 +427,7 @@ def while_loop(cond_fun, body_fun, init_val): Returns: The output from the final iteration of body_fun, of type `T`. - The semantics of `while_loop` are given by this Python implementation: ...
Fix formatting of lax.while_loop and lax.fori_loop doc comments.
py
diff --git a/openquake/calculators/views.py b/openquake/calculators/views.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/views.py +++ b/openquake/calculators/views.py @@ -695,7 +695,7 @@ def view_dupl_sources_time(token, dstore): calc_time = records['calc_time'].sum() tot_time += c...
Reduced logging in view_dupl_sources [skip hazardlib] Former-commit-id: <I>f0a<I>d0bd9f7f<I>e9e1f<I>c<I>ab1ca5a6
py
diff --git a/galpy/actionAngle_src/actionAngleIsochroneApprox.py b/galpy/actionAngle_src/actionAngleIsochroneApprox.py index <HASH>..<HASH> 100644 --- a/galpy/actionAngle_src/actionAngleIsochroneApprox.py +++ b/galpy/actionAngle_src/actionAngleIsochroneApprox.py @@ -491,8 +491,12 @@ class actionAngleIsochroneApprox(): ...
raise error if orbit isn't a FullOrbit
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 @@ -1340,24 +1340,7 @@ class MemoryBIOTests(TestCase, _LoopbackMixin): code, as no memory BIO is involved here). Even though this isn't a memory B...
Switch to the loopback setup helper in test_socketConnect, incidentally converting the connections to blocking, which avoids the OS X recv error.
py
diff --git a/oceandb_elasticsearch_driver/plugin.py b/oceandb_elasticsearch_driver/plugin.py index <HASH>..<HASH> 100644 --- a/oceandb_elasticsearch_driver/plugin.py +++ b/oceandb_elasticsearch_driver/plugin.py @@ -166,7 +166,7 @@ class Plugin(AbstractPlugin): object_list = [] for x in page['hits']['h...
Fix small bug returning the total of hits in a search
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -116,7 +116,7 @@ http://<thumbor-server>/300x200/smart/thumbor.readthedocs.io/en/latest/_images/l "derpconf==0.*,>=0.8.3", "libthumbor==2.*,>=2.0.0", "opencv-python-headless==4.*,>=4.2.0"...
Updates pillow to <I>+ (#<I>) This commit modernizes pillow so we can benefit from new features.
py
diff --git a/cfgrib/bindings.py b/cfgrib/bindings.py index <HASH>..<HASH> 100644 --- a/cfgrib/bindings.py +++ b/cfgrib/bindings.py @@ -34,15 +34,6 @@ ffi.cdef( ) -class RaiseOnAttributeAccess(object): - def __init__(self, exc, message): - self.message = message - self.exc = exc - - def __getatt...
Raise was not really lazy and the error message was confusing
py
diff --git a/getpaid/backends/dotpay/__init__.py b/getpaid/backends/dotpay/__init__.py index <HASH>..<HASH> 100644 --- a/getpaid/backends/dotpay/__init__.py +++ b/getpaid/backends/dotpay/__init__.py @@ -31,10 +31,8 @@ class PaymentProcessor(PaymentProcessorBase): _ALLOWED_IP = ('195.150.9.37',) _ACCEPTED_LA...
put proper dotpay gateway link (#<I>) Previous link was wrong and send client to website with broken css/js. As with documentation we should use <URL>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ root_dir = os.path.dirname(__file__) if root_dir: os.chdir(root_dir) -for dirpath, dirnames, filenames in os.walk('simple_history'): +for dirpath, dirnames, filenames in os.walk('datatableview'): # ...
Small typo - should be good to go.
py
diff --git a/tests/conftest.py b/tests/conftest.py index <HASH>..<HASH> 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,4 +1,5 @@ import os +import platform import re import pytest @@ -52,8 +53,15 @@ def tmp_commitizen_project_with_gpg(tmp_commitizen_project): cmd.run(f"git config --global us...
more macos debug to be removed once solved
py
diff --git a/rfhub/kwdb.py b/rfhub/kwdb.py index <HASH>..<HASH> 100644 --- a/rfhub/kwdb.py +++ b/rfhub/kwdb.py @@ -443,6 +443,10 @@ class KeywordTable(object): # us from doing a full parse of files that are obviously # not robot files + if (re.search(r'__init__.(txt|robot|html|tsv)$', name)):...
don't treat __init__.robot as a resource file
py
diff --git a/tests/conftest.py b/tests/conftest.py index <HASH>..<HASH> 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,7 +1,6 @@ from __future__ import absolute_import import os -import sys # Unfortunately this approach does not work to make sure to initialize the gui singletons from a gui thread ...
test(conftest): Remove source path insertion to sys.path Inserting the RAFCON source path into sys.path is not necessary: * If running the tests from PyCharm, "Add source roots to PYTHONPATH" should be ticked * If running the tests using tox (e.g. on Jenkins), tox will install RAFCON, so it is within the site pac...
py
diff --git a/doc/conf.py b/doc/conf.py index <HASH>..<HASH> 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -19,7 +19,8 @@ import os # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os...
Add current and parent path to Sphinx search path The current path is needed for the mock modules. The parent path is needed to actually enable the "show source" option on readthedocs.org (everything else works fine without it ...).
py
diff --git a/suds/bindings/multiref.py b/suds/bindings/multiref.py index <HASH>..<HASH> 100644 --- a/suds/bindings/multiref.py +++ b/suds/bindings/multiref.py @@ -104,9 +104,10 @@ class MultiRef: self.nodes.append(child) id = child.get('id') if id is None: - con...
Update multiref.py recurse invoking build_catalog to involve href attribute
py
diff --git a/scrapelib.py b/scrapelib.py index <HASH>..<HASH> 100644 --- a/scrapelib.py +++ b/scrapelib.py @@ -21,12 +21,6 @@ try: except ImportError: USE_HTTPLIB2 = False -try: - import lxml.html - USE_LXML = True -except ImportError: - USE_LXML = False - __version__ = '0.1' _user_agent = 'scrapelib...
get rid of lxml support
py
diff --git a/geth/install.py b/geth/install.py index <HASH>..<HASH> 100644 --- a/geth/install.py +++ b/geth/install.py @@ -104,7 +104,7 @@ def check_subprocess_call(command, message=None, stderr=subprocess.STDOUT, **pro return subprocess.check_call( command, - stderr=subprocess.STDOUT, + s...
fix: pass along stderr argument (#<I>) * fix: pass along stderr * fix: pass along stderr in another spot
py
diff --git a/steam/game_servers.py b/steam/game_servers.py index <HASH>..<HASH> 100644 --- a/steam/game_servers.py +++ b/steam/game_servers.py @@ -203,7 +203,7 @@ def query_master(filter_text=r'\nappid\500', max_servers=20, region=MSRegion.Wor while True: ms.send(req_prefix + next_ip + req_suffix) - ...
game_servers: tweak master_query chunk size
py
diff --git a/tests/002-test-collectd.py b/tests/002-test-collectd.py index <HASH>..<HASH> 100644 --- a/tests/002-test-collectd.py +++ b/tests/002-test-collectd.py @@ -15,6 +15,7 @@ # Copyright 2011 Cloudant, Inc. import os +import time import struct import tempfile try: @@ -44,11 +45,12 @@ def test_pkt_reader():...
Add sleep statements in tests Without them, tests with python3 fail for me
py
diff --git a/pyinfra/modules/vzctl.py b/pyinfra/modules/vzctl.py index <HASH>..<HASH> 100644 --- a/pyinfra/modules/vzctl.py +++ b/pyinfra/modules/vzctl.py @@ -51,7 +51,7 @@ def restart(state, host, ctid, force=False): ''' yield stop(state, host, ctid) - yield start(state, host, force=force) + yield st...
Fix bug with incorrect args in `vzctl.restart` operation.
py
diff --git a/jax/api.py b/jax/api.py index <HASH>..<HASH> 100644 --- a/jax/api.py +++ b/jax/api.py @@ -227,14 +227,17 @@ def lift_jaxpr(jaxpr, consts, io_tree, pvals, py_args): return unflatten_fun(fun, io_tree, *py_args) def make_jaxpr(f): - # TODO(frostig): handle container trees etc. def pv_like(x): - a...
Generalized make_jaxpr to handle python containers
py
diff --git a/src/python/tmclient/api.py b/src/python/tmclient/api.py index <HASH>..<HASH> 100644 --- a/src/python/tmclient/api.py +++ b/src/python/tmclient/api.py @@ -1672,6 +1672,12 @@ class TmClient(HttpClient): npz_file = BytesIO() np.savez_compressed(npz_file, segmentation=image) npz_file...
Fix encoding error while uploading segmentations
py
diff --git a/salt/modules/yumpkg.py b/salt/modules/yumpkg.py index <HASH>..<HASH> 100644 --- a/salt/modules/yumpkg.py +++ b/salt/modules/yumpkg.py @@ -392,13 +392,15 @@ def check_db(*names, **kwargs): avail = __context__['avail'] else: # get list of available packages - pkg_data = ( - ...
Handle yum edge case Handle edge case where there are extra lines in the repoquery output.
py
diff --git a/src/collectors/rabbitmq/rabbitmq.py b/src/collectors/rabbitmq/rabbitmq.py index <HASH>..<HASH> 100644 --- a/src/collectors/rabbitmq/rabbitmq.py +++ b/src/collectors/rabbitmq/rabbitmq.py @@ -53,8 +53,8 @@ class RabbitMQCollector(diamond.collector.Collector): self.co...
Fixed rabbitmq vhosts I some how copied wrong stuff in my last PR, sorry ! Also, metric names don't contain vhost name. If two vhosts have the queues with the same name, the metrics will collide.
py
diff --git a/august/api.py b/august/api.py index <HASH>..<HASH> 100644 --- a/august/api.py +++ b/august/api.py @@ -100,7 +100,11 @@ class Api: pass def close(self): - """ Close the session """ + """ Close the session + + This method should be called before removing last referenc...
Additional comment for the close method Added additional comment to clarify the close method.
py
diff --git a/fusionbox/templatetags/fusionbox_tags.py b/fusionbox/templatetags/fusionbox_tags.py index <HASH>..<HASH> 100644 --- a/fusionbox/templatetags/fusionbox_tags.py +++ b/fusionbox/templatetags/fusionbox_tags.py @@ -1,4 +1,4 @@ -from decimal import Decimal, ROUND_UP +from decimal import Decimal, ROUND_HALF_UP i...
Change rounding method in us_dollars and us_dollars_and_cents
py
diff --git a/master/buildbot/test/unit/test_www_auth.py b/master/buildbot/test/unit/test_www_auth.py index <HASH>..<HASH> 100644 --- a/master/buildbot/test/unit/test_www_auth.py +++ b/master/buildbot/test/unit/test_www_auth.py @@ -122,7 +122,7 @@ class RemoteUserAuth(www.WwwTestMixin, unittest.TestCase): try: ...
Compare e.status as int This fixes a test on Python 3
py
diff --git a/mobly/test_runner.py b/mobly/test_runner.py index <HASH>..<HASH> 100644 --- a/mobly/test_runner.py +++ b/mobly/test_runner.py @@ -117,7 +117,7 @@ def parse_mobly_cli_args(argv): '--list_tests', action='store_true', help='Print the names of the tests defined in a script without ' ...
Update test_runner.py (#<I>)
py
diff --git a/pyemma/coordinates/transform/transformer.py b/pyemma/coordinates/transform/transformer.py index <HASH>..<HASH> 100644 --- a/pyemma/coordinates/transform/transformer.py +++ b/pyemma/coordinates/transform/transformer.py @@ -43,7 +43,7 @@ class Transformer(object): @chunksize.setter def chunksize(...
[transformer] chunksize >= 0
py
diff --git a/bcbio/workflow/template.py b/bcbio/workflow/template.py index <HASH>..<HASH> 100644 --- a/bcbio/workflow/template.py +++ b/bcbio/workflow/template.py @@ -17,6 +17,7 @@ import urllib2 import toolz as tz import yaml +import sys from bcbio import utils from bcbio.bam import fastq, sample_name @@ -30,6...
Output nicer error message when metadata and template file are swapped.
py
diff --git a/vertica_python/vertica/cursor.py b/vertica_python/vertica/cursor.py index <HASH>..<HASH> 100644 --- a/vertica_python/vertica/cursor.py +++ b/vertica_python/vertica/cursor.py @@ -3,11 +3,7 @@ import re import logging -import sys -if sys.version_info > (3,): - from collections import OrderedDict -else...
use OrderedDict from collections for both Python 2 & 3
py
diff --git a/multiqc/modules/skewer/skewer.py b/multiqc/modules/skewer/skewer.py index <HASH>..<HASH> 100644 --- a/multiqc/modules/skewer/skewer.py +++ b/multiqc/modules/skewer/skewer.py @@ -61,7 +61,7 @@ class MultiqcModule(BaseMultiqcModule): log.debug("Could not find any data in {}".format(config.analys...
number of reports found is info, not debug
py
diff --git a/pyrogram/client/types/messages_and_media/message.py b/pyrogram/client/types/messages_and_media/message.py index <HASH>..<HASH> 100644 --- a/pyrogram/client/types/messages_and_media/message.py +++ b/pyrogram/client/types/messages_and_media/message.py @@ -2868,6 +2868,38 @@ class Message(Object, Update): ...
Add retract_vote bound method to Message
py
diff --git a/angr/cfg.py b/angr/cfg.py index <HASH>..<HASH> 100644 --- a/angr/cfg.py +++ b/angr/cfg.py @@ -382,8 +382,12 @@ class CFG(CFGBase): new_stack_region_id = new_exit.state.memory.stack_id(new_addr) new_exit.state.memory.set_stack_address_mapping(reg_sp_val, ...
Fixed a bug in setting up sp register when calling a new function.
py
diff --git a/commands/creffett.py b/commands/creffett.py index <HASH>..<HASH> 100755 --- a/commands/creffett.py +++ b/commands/creffett.py @@ -34,3 +34,5 @@ def cmd(send, msg, args): send(gen_creffett(msg)) # c.send_raw("MODE %s +c" % CHANNEL) send('</rage>') + # Kick if possible + c.kick(target, ni...
Add kick support for unauthorized use of the creffett command
py
diff --git a/moban/jinja2/engine.py b/moban/jinja2/engine.py index <HASH>..<HASH> 100644 --- a/moban/jinja2/engine.py +++ b/moban/jinja2/engine.py @@ -67,11 +67,13 @@ class Engine(object): keep_trailing_newline=True, trim_blocks=True, lstrip_blocks=True, + extensions=[ ...
:bug: third party extensions as default even when no user extensions are nominated: #<I>
py
diff --git a/phypno/trans/frequency.py b/phypno/trans/frequency.py index <HASH>..<HASH> 100644 --- a/phypno/trans/frequency.py +++ b/phypno/trans/frequency.py @@ -2,6 +2,7 @@ """ from copy import deepcopy from logging import getLogger +from warnings import warn from numpy import (arange, array, empty, exp, inf, m...
use a warning instead of a log.warning because warning is shown only once
py
diff --git a/api/python/quilt3/util.py b/api/python/quilt3/util.py index <HASH>..<HASH> 100644 --- a/api/python/quilt3/util.py +++ b/api/python/quilt3/util.py @@ -11,7 +11,7 @@ import warnings # Third-Party import ruamel.yaml -from appdirs import user_data_dir +from appdirs import user_cache_dir, user_data_dir imp...
Use a better cache directory (#<I>) Use the "proper" OS-specific cache directory instead of reusing the data directory.
py
diff --git a/recipe-server/normandy/settings.py b/recipe-server/normandy/settings.py index <HASH>..<HASH> 100644 --- a/recipe-server/normandy/settings.py +++ b/recipe-server/normandy/settings.py @@ -150,7 +150,7 @@ class Core(Configuration): # Actions, when found on disk, whose name needs to be converted before ...
Remove consoleLog alias from settings
py
diff --git a/pyxelletter/__init__.py b/pyxelletter/__init__.py index <HASH>..<HASH> 100644 --- a/pyxelletter/__init__.py +++ b/pyxelletter/__init__.py @@ -1 +1 @@ -from pyxelletter import Pyxelletter, LetterNotFoundException \ No newline at end of file +from .pyxelletter import Pyxelletter, LetterNotFoundException
Make relative paths accessible in python3
py
diff --git a/anyconfig/inputs.py b/anyconfig/inputs.py index <HASH>..<HASH> 100644 --- a/anyconfig/inputs.py +++ b/anyconfig/inputs.py @@ -28,14 +28,14 @@ def is_input_obj(obj): """ :return: True if given something `obj` is a 'Input' namedtuple object. - >>> assert is_input_obj(1) == False - >>> asser...
refactor: simplify doctest cases and add one more to .inputs.is_input_obj
py
diff --git a/ape/container_mode/tasks.py b/ape/container_mode/tasks.py index <HASH>..<HASH> 100644 --- a/ape/container_mode/tasks.py +++ b/ape/container_mode/tasks.py @@ -88,7 +88,7 @@ def cd(doi): print 'cd ' + tasks.get_product_dir(container_name, product_name) else: print tasks...
bugfix: cd task raised Exception if no product was specified
py
diff --git a/indra/db/belief.py b/indra/db/belief.py index <HASH>..<HASH> 100644 --- a/indra/db/belief.py +++ b/indra/db/belief.py @@ -28,3 +28,22 @@ class MockEvidence(object): # Some annotations are used in indra.belief.tag_evidence_subtype. # TODO: optionally implement necessary annotations. ...
Add function to populate support from links.
py
diff --git a/tests/external/py2/asteval_test.py b/tests/external/py2/asteval_test.py index <HASH>..<HASH> 100755 --- a/tests/external/py2/asteval_test.py +++ b/tests/external/py2/asteval_test.py @@ -31,7 +31,7 @@ class TestCase(unittest.TestCase): def testImportAndVersions(self): import asteval - self.asse...
along with asteval <I> update, unittest must update too small check, bump minor version number. PS: do we really need this check, as asteval is installed by pip anyway? This will cause pain on any future update.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -25,16 +25,15 @@ setup(name="hitchserve", 'Topic :: Software Development :: Libraries', 'Operating System :: Unix', 'Environment :: Console', - 'Programming Language :: Python :: 2', -...
DOCS : Changed the project's URL to its github page.
py
diff --git a/olctools/databasesetup/database_setup.py b/olctools/databasesetup/database_setup.py index <HASH>..<HASH> 100644 --- a/olctools/databasesetup/database_setup.py +++ b/olctools/databasesetup/database_setup.py @@ -135,7 +135,7 @@ class DatabaseSetup(object): call(condfindr_download, shell=True) ...
Added Cronobacter to MLST organism list
py
diff --git a/py3status/modules/group.py b/py3status/modules/group.py index <HASH>..<HASH> 100644 --- a/py3status/modules/group.py +++ b/py3status/modules/group.py @@ -214,8 +214,8 @@ class Py3status: self.urgent_history[self.active] = urgent mod_urgent = any(self.urgent_history.values()) - # ...
group: don't cycle on zero (#<I>)
py
diff --git a/tests.py b/tests.py index <HASH>..<HASH> 100644 --- a/tests.py +++ b/tests.py @@ -1568,6 +1568,11 @@ class ModelAPITestCase(ModelTestCase): # we get unicode back self.assertEqual(u2_db.username, ustr) + def test_unicode_issue202(self): + ustr = ulit('M\u00f6rk') + user ...
Adding a unit test to attempt to reproduce #<I>
py
diff --git a/tests/events/test_views.py b/tests/events/test_views.py index <HASH>..<HASH> 100644 --- a/tests/events/test_views.py +++ b/tests/events/test_views.py @@ -208,8 +208,8 @@ class WorkListViewTestCase(ViewTestCase): def test_context(self): response = views.WorkListView.as_view()(self.request, kin...
Fix tests for work list/detail views
py
diff --git a/plop/platform.py b/plop/platform.py index <HASH>..<HASH> 100644 --- a/plop/platform.py +++ b/plop/platform.py @@ -3,9 +3,9 @@ import signal if hasattr(signal, 'setitimer'): from signal import setitimer, ITIMER_REAL, ITIMER_VIRTUAL, ITIMER_PROF else: - # python2.5 doesn't have setitimer. linux-on...
This doesn't need to be linux-only
py
diff --git a/plugins/postgres/setup.py b/plugins/postgres/setup.py index <HASH>..<HASH> 100644 --- a/plugins/postgres/setup.py +++ b/plugins/postgres/setup.py @@ -2,7 +2,15 @@ from setuptools import find_namespace_packages from setuptools import setup import os -import sys + +PSYCOPG2_MESSAGE = ''' +No package name ...
Use psycopg2-binary package on all platforms
py
diff --git a/capidup.py b/capidup.py index <HASH>..<HASH> 100755 --- a/capidup.py +++ b/capidup.py @@ -88,7 +88,7 @@ def round_up_to_mult(n, mult): -def index_files(root, files_by_size): +def index_files_by_size(root, files_by_size): """Recursively index files under a root directory. Each regular file...
Rename index_files to index_files_by_size: more descriptive.
py
diff --git a/quantumclient/shell.py b/quantumclient/shell.py index <HASH>..<HASH> 100644 --- a/quantumclient/shell.py +++ b/quantumclient/shell.py @@ -219,6 +219,19 @@ class QuantumShell(App): :paramtype argv: list of str """ try: + index = 0 + command_pos = -1 + ...
enable -h | --help after command to show the command usage. Bug #<I> we caculate the position of -h|--help and command, if -h|--help is after command, we replace the command with 'help' command. Change-Id: Ieb5fc9d<I>daafd<I>edb<I>e<I>b<I>dbf<I>cb<I>a4c
py
diff --git a/engine.py b/engine.py index <HASH>..<HASH> 100644 --- a/engine.py +++ b/engine.py @@ -1929,7 +1929,7 @@ def get_fresh_output_format_filename(code): def clear_caches(): """ - Clear the caches (Output Format, Format Templates and Format Elements) + Clear the caches (Output Format, Format Templa...
formatter: format record with no record ID * Adds back support of the case where BibFormatObject also can support to work with records without any record ID.
py
diff --git a/cassiopeia/type/dto/common.py b/cassiopeia/type/dto/common.py index <HASH>..<HASH> 100644 --- a/cassiopeia/type/dto/common.py +++ b/cassiopeia/type/dto/common.py @@ -24,10 +24,10 @@ class CassiopeiaDto(object): return str a JSON representation of the object """ dictionary...
Allow to pass all the arguments json.dumps accept, instead of only the 3 which were set with different values
py
diff --git a/forecastiopy/FIOHourly.py b/forecastiopy/FIOHourly.py index <HASH>..<HASH> 100644 --- a/forecastiopy/FIOHourly.py +++ b/forecastiopy/FIOHourly.py @@ -24,7 +24,7 @@ class FIOHourly(object): setattr(self, item, forecast_io.get_hourly()[item]) for hour in xrange(0, self.hours()):...
Fix wrong index for Hourly Now index 0 is the current hour - as it should be
py
diff --git a/nhlib/geo/mesh.py b/nhlib/geo/mesh.py index <HASH>..<HASH> 100644 --- a/nhlib/geo/mesh.py +++ b/nhlib/geo/mesh.py @@ -174,8 +174,8 @@ class Mesh(object): .. warning:: Since its quadratic space and time complexity this method is safe to use for meshes of up to several thou...
geo/mesh [doc]: better docstring for get_distance_matrix()
py
diff --git a/wordcloud/wordcloud.py b/wordcloud/wordcloud.py index <HASH>..<HASH> 100644 --- a/wordcloud/wordcloud.py +++ b/wordcloud/wordcloud.py @@ -368,22 +368,24 @@ class WordCloud(object): # Look in any case dict. d2[word] = d2.get(word, 0) + 1 + # merge plurals into the singular...
merge plurals before choosing case of word to keep so different cases are merged, too
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ with open('README.rst') as readme: setup( name = 'datapackage', - version = '0.4.0', + version = '0.4.1', url = 'https://github.com/tryggvib/datapackage', license = 'GPLv3', descript...
Version <I> Bug fix in data retrieval based on different structure of the resources property.
py
diff --git a/cfgpy/tools.py b/cfgpy/tools.py index <HASH>..<HASH> 100644 --- a/cfgpy/tools.py +++ b/cfgpy/tools.py @@ -156,6 +156,10 @@ class CfgPy(object): node = node[key] return node + def get_element(self, element_path): + + return self.read_element(element_path) + def load_using_delimited_format_explic...
added 'get_element' as alias for 'read_element'
py
diff --git a/deploy_stack.py b/deploy_stack.py index <HASH>..<HASH> 100755 --- a/deploy_stack.py +++ b/deploy_stack.py @@ -446,9 +446,9 @@ def _deploy_job(job_name, base_env, upgrade, charm_prefix, new_path, try: prepare_environment( env, already_bootstrapp...
Added a rule to not deploy the dummy charms on darwin (osx).
py
diff --git a/frigg_worker/fetcher.py b/frigg_worker/fetcher.py index <HASH>..<HASH> 100644 --- a/frigg_worker/fetcher.py +++ b/frigg_worker/fetcher.py @@ -11,9 +11,9 @@ from .jobs import Build logger = logging.getLogger(__name__) -def fetcher(dispatcher_url=None): +def fetcher(dispatcher_url=None, dispatcher_token...
Fix issues with cli kwargs
py
diff --git a/mythril/laser/ethereum/instructions.py b/mythril/laser/ethereum/instructions.py index <HASH>..<HASH> 100644 --- a/mythril/laser/ethereum/instructions.py +++ b/mythril/laser/ethereum/instructions.py @@ -943,7 +943,6 @@ class Instruction: no one would use 10 array/map arguments for constructor. ...
Remove return comment and refactor with black
py
diff --git a/ipa/ipa_utils.py b/ipa/ipa_utils.py index <HASH>..<HASH> 100644 --- a/ipa/ipa_utils.py +++ b/ipa/ipa_utils.py @@ -44,17 +44,18 @@ def establish_ssh_connection(ip, port, attempts=5, timeout=None): - """Establish ssh...
Remove dev print statements in establish ssh.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -65,7 +65,7 @@ with open(readme_file_path, "r") as f: global_requirements = ['pylint>=1.6,<2', 'psutil', 'jsonconversion~=0.2.12', 'yaml_configuration~=0.1', 'python-gtkmvc3-dlr~=1.0.0', 'gaphas~=1.0.0...
fix: set versin for pytest-faulthandler otherwise this will lead to a version conflict as the latest pytest-faulthandler requires pytest>=5
py
diff --git a/contact_form/urls.py b/contact_form/urls.py index <HASH>..<HASH> 100644 --- a/contact_form/urls.py +++ b/contact_form/urls.py @@ -16,7 +16,7 @@ from contact_form.views import contact_form urlpatterns = patterns('', url(r'^contact/$', - contact_form,, + ...
Fix extra comma in urls.py
py
diff --git a/figment/zone.py b/figment/zone.py index <HASH>..<HASH> 100644 --- a/figment/zone.py +++ b/figment/zone.py @@ -209,7 +209,8 @@ class Zone(object): pubsub = self.redis.pubsub() pubsub.subscribe(Entity.messages_key_from_id(entity_id)) for message in pubsub.listen(): - yie...
Don't print subscribe events in `listen`
py
diff --git a/salt/utils/network.py b/salt/utils/network.py index <HASH>..<HASH> 100644 --- a/salt/utils/network.py +++ b/salt/utils/network.py @@ -89,10 +89,25 @@ def get_fqhostname(): if h_name.find('.') >= 0: return h_name else: - family, socktype, proto, canonname, sockaddr = socket.getaddr...
Fix traceback in salt.utils.network.get_fqhostname This traceback occurs when the lookup fails in some way, raising an exception.
py
diff --git a/smartcard/Examples/framework/sample_MonitorCardsAndTransmit.py b/smartcard/Examples/framework/sample_MonitorCardsAndTransmit.py index <HASH>..<HASH> 100755 --- a/smartcard/Examples/framework/sample_MonitorCardsAndTransmit.py +++ b/smartcard/Examples/framework/sample_MonitorCardsAndTransmit.py @@ -30,7 +30,...
sample_MonitorCardsAndTransmit.py: fix pylint warning W: <I>, 0: Wildcard import smartcard.util (wildcard-import)
py
diff --git a/doc/source/notebooks/basics/monitoring.pct.py b/doc/source/notebooks/basics/monitoring.pct.py index <HASH>..<HASH> 100644 --- a/doc/source/notebooks/basics/monitoring.pct.py +++ b/doc/source/notebooks/basics/monitoring.pct.py @@ -8,8 +8,9 @@ # format_version: '1.3' # jupytext_version: 1.4.0 ...
Set kernelspec to Py3 in monitoring.pct.py (#<I>) Quickfix for the failing monitoring.pct.py notebook during the doc generation on CircleCi. Problem was caused by an unknown Python version in the notebook's kernelspec. It has to be 'name: python3', whereas conda may add a user-specific custom name there.
py
diff --git a/qiskit/dagcircuit/_dagcircuit.py b/qiskit/dagcircuit/_dagcircuit.py index <HASH>..<HASH> 100644 --- a/qiskit/dagcircuit/_dagcircuit.py +++ b/qiskit/dagcircuit/_dagcircuit.py @@ -738,7 +738,7 @@ class DAGCircuit: # TODO: some of the input flags are not needed anymore # Rename qregs if nece...
qasm bug order fix (#<I>) * Diego fix * order
py
diff --git a/alignak/acknowledge.py b/alignak/acknowledge.py index <HASH>..<HASH> 100644 --- a/alignak/acknowledge.py +++ b/alignak/acknowledge.py @@ -46,6 +46,10 @@ # # You should have received a copy of the GNU Affero General Public License # along with Shinken. If not, see <http://www.gnu.org/licenses/>. +"""T...
Enh: Pylint - Docstring in acknowledge.py
py
diff --git a/MAVProxy/modules/mavproxy_link.py b/MAVProxy/modules/mavproxy_link.py index <HASH>..<HASH> 100644 --- a/MAVProxy/modules/mavproxy_link.py +++ b/MAVProxy/modules/mavproxy_link.py @@ -309,7 +309,7 @@ class LinkModule(mp_module.MPModule): # silence gimbal heartbeat packets for now re...
link: prevent time wrapped msgs from companion when we have a companion computer we should avoid printing time has wrapped continuously
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ except IOError: setup( name = "PsiTurk", - version = "1.0b1", + version = "1.0", packages = ["psiturk"], include_package_data = True, zip_safe = False,
Bumped version to <I> release!
py
diff --git a/flask_table/columns.py b/flask_table/columns.py index <HASH>..<HASH> 100644 --- a/flask_table/columns.py +++ b/flask_table/columns.py @@ -224,7 +224,7 @@ class LinkCol(Col): def td_contents(self, item, attr_list): return '<a href="{url}">{text}</a>'.format( url=self.url(item), - ...
Call to td_format for LinkCol td_contents.
py
diff --git a/soco/events_asyncio.py b/soco/events_asyncio.py index <HASH>..<HASH> 100644 --- a/soco/events_asyncio.py +++ b/soco/events_asyncio.py @@ -190,8 +190,6 @@ class EventListener(EventListenerBase): # pylint: disable=too-many-instance-att address reachable by the Sonos net. """ - ...
Fix race condition in creating the client session with events_asyncio (#<I>)
py
diff --git a/pythonforandroid/recipes/kivy/__init__.py b/pythonforandroid/recipes/kivy/__init__.py index <HASH>..<HASH> 100644 --- a/pythonforandroid/recipes/kivy/__init__.py +++ b/pythonforandroid/recipes/kivy/__init__.py @@ -6,7 +6,8 @@ import glob class KivyRecipe(CythonRecipe): - version = 'master' + # p...
Defaults to post kivy==<I>, commit for `fixes SDL2 image loading (jpg)`
py
diff --git a/django_presentation/messages/__init__.py b/django_presentation/messages/__init__.py index <HASH>..<HASH> 100644 --- a/django_presentation/messages/__init__.py +++ b/django_presentation/messages/__init__.py @@ -1,5 +1,5 @@ from django.apps import AppConfig -class MessagesConfig(AppConfig): +class AppConf...
Fixing typo in AppConfig class name
py
diff --git a/ytfs/stor.py b/ytfs/stor.py index <HASH>..<HASH> 100644 --- a/ytfs/stor.py +++ b/ytfs/stor.py @@ -117,6 +117,8 @@ class YTStor(): Object saying how much data we have. filesize : int Total data size. Not yet downloaded data is also considered. + disk : int + How much data is...
reduced memory footprint: SpooledTemporaryFile rolls over to disk
py
diff --git a/atlassian/confluence.py b/atlassian/confluence.py index <HASH>..<HASH> 100644 --- a/atlassian/confluence.py +++ b/atlassian/confluence.py @@ -316,6 +316,17 @@ class Confluence(AtlassianRestAPI): params['start'] = start return (self.get(url, params=params) or {}).get('results') + ...
Ability to add a comment New method add_comment
py
diff --git a/km3modules/ahrs.py b/km3modules/ahrs.py index <HASH>..<HASH> 100644 --- a/km3modules/ahrs.py +++ b/km3modules/ahrs.py @@ -126,7 +126,10 @@ def _extract_calibration(xroot): # The fields has to be reindeced, these are the index mappings col_ic = [int(v) for v in val[names.index("AHRS_Matrix_Column(...
Fallback to standard vector indices
py
diff --git a/src/scs_core/sync/interval_timer.py b/src/scs_core/sync/interval_timer.py index <HASH>..<HASH> 100644 --- a/src/scs_core/sync/interval_timer.py +++ b/src/scs_core/sync/interval_timer.py @@ -65,7 +65,7 @@ class IntervalTimer(object): @property def time_to_next_yield(self): - return self._...
Fixed a bug in IntervalTimer.
py
diff --git a/hcam_widgets/gtc/headers.py b/hcam_widgets/gtc/headers.py index <HASH>..<HASH> 100644 --- a/hcam_widgets/gtc/headers.py +++ b/hcam_widgets/gtc/headers.py @@ -6,13 +6,21 @@ import re from astropy.io import fits +def yield_three(iterable): + """ + From some iterable, return three items, bundling a...
more python 2/3 stuff
py
diff --git a/housekeeper/server/app.py b/housekeeper/server/app.py index <HASH>..<HASH> 100644 --- a/housekeeper/server/app.py +++ b/housekeeper/server/app.py @@ -90,8 +90,9 @@ def cases(): 'per_page': 30, 'missing': missing_category, } - cases_q = api.cases(query_str=qargs['query_str'], - ...
only show v4 runs to be delivered
py
diff --git a/salt/states/pkg.py b/salt/states/pkg.py index <HASH>..<HASH> 100644 --- a/salt/states/pkg.py +++ b/salt/states/pkg.py @@ -1442,7 +1442,7 @@ def latest( msg = 'No information found for \'{0}\'.'.format(pkg) log.error(msg) problems.append(msg) - ...
Check the version of the package, instead of the package name
py
diff --git a/scoop/futures.py b/scoop/futures.py index <HASH>..<HASH> 100644 --- a/scoop/futures.py +++ b/scoop/futures.py @@ -339,15 +339,9 @@ def wait(fs, timeout=None, return_when=ALL_COMPLETED): futures.""" DoneAndNotDoneFutures = namedtuple('DoneAndNotDoneFutures', 'done not_done') if return_whe...
* Simplified the futures.py wait function.
py
diff --git a/paypal/standard/pdt/views.py b/paypal/standard/pdt/views.py index <HASH>..<HASH> 100644 --- a/paypal/standard/pdt/views.py +++ b/paypal/standard/pdt/views.py @@ -1,6 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import unicode_literals + from warnings import warn from django....
fixed isort failure from code that was in master that did not comply to the isort configuration
py
diff --git a/pyinstrument/middleware.py b/pyinstrument/middleware.py index <HASH>..<HASH> 100644 --- a/pyinstrument/middleware.py +++ b/pyinstrument/middleware.py @@ -5,9 +5,9 @@ from pyinstrument.profiler import NotMainThreadError import time import os try: - from django.utils.deprecation import MiddlewareMixin -ex...
Fix MiddlewareMixin for older versions of Django
py