diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/examples/py/withdraw-from-one-exchange-to-another.py b/examples/py/withdraw-from-one-exchange-to-another.py index <HASH>..<HASH> 100755 --- a/examples/py/withdraw-from-one-exchange-to-another.py +++ b/examples/py/withdraw-from-one-exchange-to-another.py @@ -27,14 +27,14 @@ kucoin.load_markets() code = 'US...
Update withdraw-from-one-exchange-to-another.py
py
diff --git a/acstools/acsphotcte.py b/acstools/acsphotcte.py index <HASH>..<HASH> 100644 --- a/acstools/acsphotcte.py +++ b/acstools/acsphotcte.py @@ -55,7 +55,7 @@ number of Y transfers is 2048 and so we scale by 2048. >>> print(cte_corrected_magnitudes[:5]) [-10.85516545 -9.68284332 -10.11060704 -9.11828746 -10.4...
Fixes deprecation warning with importing Iterable
py
diff --git a/benchexec/tools/coveriteam-verifier-validator.py b/benchexec/tools/coveriteam-verifier-validator.py index <HASH>..<HASH> 100644 --- a/benchexec/tools/coveriteam-verifier-validator.py +++ b/benchexec/tools/coveriteam-verifier-validator.py @@ -52,15 +52,13 @@ class Tool(coveriteam.Tool): If more tha...
Simplify code in coveriteam-verifier-validator by running regex on all output lines Instead of doing a preliminary check first
py
diff --git a/tests/test_connection.py b/tests/test_connection.py index <HASH>..<HASH> 100644 --- a/tests/test_connection.py +++ b/tests/test_connection.py @@ -36,9 +36,6 @@ class TestConnection(XcffibTest): self.xproto = None XvfbTest.tearDown(self) - def test_connect(self): - assert self....
don't have two tests named test_connect
py
diff --git a/server.py b/server.py index <HASH>..<HASH> 100644 --- a/server.py +++ b/server.py @@ -38,16 +38,13 @@ class Server(flask.Flask): def handle_rpc_request(self): """Handle the request and output it""" - request_str = json.dumps(flask.request.get_json()) + request = flask.request....
Just use request = flask.request.get_json() instead of converting to string and back to dict..
py
diff --git a/saspy/sasioiom.py b/saspy/sasioiom.py index <HASH>..<HASH> 100644 --- a/saspy/sasioiom.py +++ b/saspy/sasioiom.py @@ -1293,7 +1293,7 @@ Will use HTML5 for this SASsession.""") if datar.count(logcodeo) >= 1: break try: - data ...
except, it's not utf8 over iom, only local
py
diff --git a/tests/test_sphinx_class.py b/tests/test_sphinx_class.py index <HASH>..<HASH> 100644 --- a/tests/test_sphinx_class.py +++ b/tests/test_sphinx_class.py @@ -3,8 +3,11 @@ from __future__ import print_function import inspect import io +import sys import warnings +import pytest + import deprecated.sphinx...
Skip some unit tests if we are running Python <I>
py
diff --git a/src/boost/python/__init__.py b/src/boost/python/__init__.py index <HASH>..<HASH> 100644 --- a/src/boost/python/__init__.py +++ b/src/boost/python/__init__.py @@ -197,12 +197,3 @@ from .pytango_init import init as __init __init() -def __leave(): - try: - _PyTango._leavefunc() - except: - ...
Remove leavefunc code (not used)
py
diff --git a/py/h2o.py b/py/h2o.py index <HASH>..<HASH> 100644 --- a/py/h2o.py +++ b/py/h2o.py @@ -71,7 +71,7 @@ def parse_our_args(): parser.add_argument('-ip', '--ip', type=str, help='IP address to use for single host H2O with psutil control') parser.add_argument('-cj', '--config_json', help='Use this json ...
didn't like the '%' in the argument parse help
py
diff --git a/src/saml2/server.py b/src/saml2/server.py index <HASH>..<HASH> 100644 --- a/src/saml2/server.py +++ b/src/saml2/server.py @@ -173,10 +173,13 @@ class Server(object): self.metadata = self.conf["metadata"] self.sec = security_context(self.conf, log) - if cache: - ...
Pulled caching out of the server module, for the time being
py
diff --git a/scoop/_types.py b/scoop/_types.py index <HASH>..<HASH> 100644 --- a/scoop/_types.py +++ b/scoop/_types.py @@ -262,6 +262,10 @@ class FutureQueue(object): self.lowwatermark = 0.01 self.highwatermark = 0.01 + def __del__(self): + """Destructor. Ensures Communicator is co...
+ Added FuturesQueue destructor (to call shutdown)
py
diff --git a/i18nparse/i18nparse.py b/i18nparse/i18nparse.py index <HASH>..<HASH> 100644 --- a/i18nparse/i18nparse.py +++ b/i18nparse/i18nparse.py @@ -16,10 +16,11 @@ If the translation file does not exist, the original messages will be used. """ if lang is None: lang = locale.getlocale()[0] - tr = ge...
Prevent an AttributeError in activate (issue #3). When the current locale is the portable "C" locale, locale.getlocale() returns None. In that case, activate no longer tries to load a non existing translation table.
py
diff --git a/abilian/services/audit/models.py b/abilian/services/audit/models.py index <HASH>..<HASH> 100644 --- a/abilian/services/audit/models.py +++ b/abilian/services/audit/models.py @@ -16,9 +16,10 @@ from datetime import datetime from flask import current_app from six import text_type +from sqlalchemy import ...
Binary -> LargeBinary.
py
diff --git a/api_gen/api_gen.py b/api_gen/api_gen.py index <HASH>..<HASH> 100755 --- a/api_gen/api_gen.py +++ b/api_gen/api_gen.py @@ -239,7 +239,7 @@ for name in names: required = set(dupe['path_params']) & set(item['path_params']) # Optional parameters are only in one endpoint - ...
sort optional path and query parameters to reduce diff churn
py
diff --git a/eulcommon/__init__.py b/eulcommon/__init__.py index <HASH>..<HASH> 100644 --- a/eulcommon/__init__.py +++ b/eulcommon/__init__.py @@ -14,7 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -__version_info__ = (0, 18, 0, None) +__version_...
bump develop version to <I>-dev after tagging <I>
py
diff --git a/papermill/execute.py b/papermill/execute.py index <HASH>..<HASH> 100644 --- a/papermill/execute.py +++ b/papermill/execute.py @@ -180,6 +180,7 @@ def parameterize_notebook(nb, parameters, report_mode=False): after = nb.cells[param_cell_index + 1 :] else: # Inject to the top of the no...
Log a warning if the input notebook doesn't have a parameters cell
py
diff --git a/hwd/wrapper.py b/hwd/wrapper.py index <HASH>..<HASH> 100644 --- a/hwd/wrapper.py +++ b/hwd/wrapper.py @@ -7,18 +7,21 @@ class Wrapper: def __init__(self, dev): self.name = dev.sys_name + self._device = None @property def device(self): # We always create a new con...
Cache device data during single instantiation
py
diff --git a/tools/im2rec.py b/tools/im2rec.py index <HASH>..<HASH> 100644 --- a/tools/im2rec.py +++ b/tools/im2rec.py @@ -104,7 +104,7 @@ def image_encode(args, i, item, q_out): if args.pass_through: try: - with open(fullpath) as fin: + with open(fullpath, 'rb') as fin: ...
Update im2rec.py (#<I>) Updated Line <I> of 'im2rec.py'. Read an image as binary.
py
diff --git a/khayyam/jalali_datetime.py b/khayyam/jalali_datetime.py index <HASH>..<HASH> 100644 --- a/khayyam/jalali_datetime.py +++ b/khayyam/jalali_datetime.py @@ -293,7 +293,7 @@ Directive Meaning result = replace_if_match(result, '%H', '%.2d' % self.hour) - result = replace_if_match(result, ...
zero padded numbers in strftime
py
diff --git a/hydrachain/consensus/manager.py b/hydrachain/consensus/manager.py index <HASH>..<HASH> 100644 --- a/hydrachain/consensus/manager.py +++ b/hydrachain/consensus/manager.py @@ -260,6 +260,8 @@ class ConsensusManager(object): raise ForkDetectedEvidence(proto, (self.head, p, ls)) ...
Release rlp mutable guard before setting block to proposal
py
diff --git a/tests/test_context.py b/tests/test_context.py index <HASH>..<HASH> 100644 --- a/tests/test_context.py +++ b/tests/test_context.py @@ -25,9 +25,10 @@ class ContextTest(unittest.TestCase): me = context.Context() res = me.summarise() print('res = ', res) - self.assertEqual(re...
fix for broken test on summarise
py
diff --git a/python/neuroglancer/screenshot.py b/python/neuroglancer/screenshot.py index <HASH>..<HASH> 100644 --- a/python/neuroglancer/screenshot.py +++ b/python/neuroglancer/screenshot.py @@ -27,10 +27,14 @@ class ScreenshotSaver(object): self.index = 0 - def capture(self): - s = self.viewer.s...
feat(python): factor out logic for computing output path from capture method
py
diff --git a/raiden/network/rpc/client.py b/raiden/network/rpc/client.py index <HASH>..<HASH> 100644 --- a/raiden/network/rpc/client.py +++ b/raiden/network/rpc/client.py @@ -737,9 +737,10 @@ class TransactionPending: extra_log_details: Dict[str, Any] def __post_init__(self) -> None: - log.debug("Tra...
Fix logging order Logging should be done after the log_details is updated with the token, otherwise it is not possible to correlate the pending transaction with the its other states. [skip tests]
py
diff --git a/reana_commons/version.py b/reana_commons/version.py index <HASH>..<HASH> 100755 --- a/reana_commons/version.py +++ b/reana_commons/version.py @@ -14,4 +14,4 @@ and parsed by ``setup.py``. from __future__ import absolute_import, print_function -__version__ = "0.4.0" +__version__ = "0.5.0.dev20181116"
release: <I>.de<I>
py
diff --git a/pubmed_lookup/pubmed_lookup.py b/pubmed_lookup/pubmed_lookup.py index <HASH>..<HASH> 100644 --- a/pubmed_lookup/pubmed_lookup.py +++ b/pubmed_lookup/pubmed_lookup.py @@ -1,6 +1,5 @@ import datetime import re -import sys from urllib.error import URLError from urllib.parse import urlparse from urllib.re...
Remove unused import of sys
py
diff --git a/tests/instructionCompiler_test.py b/tests/instructionCompiler_test.py index <HASH>..<HASH> 100644 --- a/tests/instructionCompiler_test.py +++ b/tests/instructionCompiler_test.py @@ -588,8 +588,21 @@ class InstructionCompilerTest: # setupTable_cvt - def test_setupTable_cvt(self): - pass +...
Add test for setupTable_cvt
py
diff --git a/lib/methods/ssh.py b/lib/methods/ssh.py index <HASH>..<HASH> 100644 --- a/lib/methods/ssh.py +++ b/lib/methods/ssh.py @@ -58,7 +58,7 @@ class SSHMethod(BaseMethod): print green('Tunnel is established') # copyDBFrom and copyFilesFrom may need additional tunnels - elif (task == 'copyDBFrom...
Fix copyFrom from one docker into another
py
diff --git a/requests_ntlm/requests_ntlm.py b/requests_ntlm/requests_ntlm.py index <HASH>..<HASH> 100644 --- a/requests_ntlm/requests_ntlm.py +++ b/requests_ntlm/requests_ntlm.py @@ -30,6 +30,7 @@ class HttpNtlmAuth(AuthBase): return response request = copy_request(response.request) + ...
Support stream=True when doing NTLM auth
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup, find_packages import sys, os -version = '0.3' +version = '0.4' setup(name='py3o.template', version=version,
Bumping version to <I> in order to release the latest fixes
py
diff --git a/flake8_import_order/__init__.py b/flake8_import_order/__init__.py index <HASH>..<HASH> 100644 --- a/flake8_import_order/__init__.py +++ b/flake8_import_order/__init__.py @@ -87,18 +87,12 @@ class ImportVisitor(ast.NodeVisitor): self.style = self.options['import_order_style'] def visit_Impor...
Slight rewrite of if statements This simplifies the code.
py
diff --git a/pylivetrader/backend/alpaca.py b/pylivetrader/backend/alpaca.py index <HASH>..<HASH> 100644 --- a/pylivetrader/backend/alpaca.py +++ b/pylivetrader/backend/alpaca.py @@ -527,7 +527,8 @@ class Backend(BaseBackend): limit=bar_count) # change the index values to assets to compatible wi...
fix in case assets is not a list
py
diff --git a/insights/tools/apply_spec_filters.py b/insights/tools/apply_spec_filters.py index <HASH>..<HASH> 100644 --- a/insights/tools/apply_spec_filters.py +++ b/insights/tools/apply_spec_filters.py @@ -40,7 +40,7 @@ for spec in specs: if f: filters[spec] = sorted(f) -for spec in chain.from_...
Add the missed `globs` to apply_spec_filters (#<I>)
py
diff --git a/mongo_connector/doc_managers/solr_doc_manager.py b/mongo_connector/doc_managers/solr_doc_manager.py index <HASH>..<HASH> 100755 --- a/mongo_connector/doc_managers/solr_doc_manager.py +++ b/mongo_connector/doc_managers/solr_doc_manager.py @@ -196,7 +196,13 @@ class DocManager(DocManagerBase): ...
Be aware of the case where $unset may not apply to a document in Solr.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,14 +1,21 @@ +from os import path from distutils.core import setup + +here = path.abspath(path.dirname(__file__)) + +with open(path.join(here, 'README.rst'), encoding='utf-8') as f: + long_description = f.read() + set...
add readme to setup.py
py
diff --git a/blinkpy/sync_module.py b/blinkpy/sync_module.py index <HASH>..<HASH> 100644 --- a/blinkpy/sync_module.py +++ b/blinkpy/sync_module.py @@ -39,7 +39,7 @@ class BlinkSyncModule: self.available = False self.type_key_map = { "mini": "owls", - "lotus": "doorbell", + ...
Adjust type_key_map and type to work with doorbells
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,10 @@ # coding=utf8 import re -from distutils.core import setup +try: + from setuptools import setup +except ImportError: + from distutils.core import setup def get_version():
Try to use setuptools and fallback to distutils
py
diff --git a/checker/tests/result_test.py b/checker/tests/result_test.py index <HASH>..<HASH> 100644 --- a/checker/tests/result_test.py +++ b/checker/tests/result_test.py @@ -125,6 +125,7 @@ class FontToolsTest(TestCase): return fontname.decode('utf-16-be').encode('utf-8') return fontname + @...
Applied tags `required` to font.weight are <I>s test
py
diff --git a/scaffolding/management/commands/scaffold.py b/scaffolding/management/commands/scaffold.py index <HASH>..<HASH> 100644 --- a/scaffolding/management/commands/scaffold.py +++ b/scaffolding/management/commands/scaffold.py @@ -48,7 +48,8 @@ class Command(BaseCommand): for field_name in field_names: ...
Only use set_up method if it actually exists
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ setup_args = {} setup_args.update(dict( name='param', - version='0.05', + version='1.0', description='Declarative Python programming using Parameters.', long_description=open('README.txt')....
Update version number to <I>.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -11,14 +11,20 @@ install_requires = [ tests_require = [ 'coveralls==1.11.1', - 'pytest==4.6.9', 'pytest-cov==2.8.1', 'mock==3.0.5', 'vcrpy==3.0.0', ] if sys.version_info > (3, 6): - tests_requi...
chore: bump pytest and pytest-asyncio dependencies (#<I>)
py
diff --git a/src/feat/test/common.py b/src/feat/test/common.py index <HASH>..<HASH> 100644 --- a/src/feat/test/common.py +++ b/src/feat/test/common.py @@ -180,6 +180,16 @@ class TestCase(unittest.TestCase, log.FluLogKeeper, log.Logger): "Expected instance of %r, got %r instead" % (klass, _.__class__)) ...
Adds assertIs and assertIsNot.
py
diff --git a/quickbooks/objects/salesreceipt.py b/quickbooks/objects/salesreceipt.py index <HASH>..<HASH> 100644 --- a/quickbooks/objects/salesreceipt.py +++ b/quickbooks/objects/salesreceipt.py @@ -40,21 +40,21 @@ class SalesReceipt(QuickbooksManagedObject, QuickbooksTransactionEntity, LinkedT self.DocNumber ...
Fix SalesReceipt initialization... ionitialize empty objects instead of empty strings
py
diff --git a/fandjango/decorators.py b/fandjango/decorators.py index <HASH>..<HASH> 100644 --- a/fandjango/decorators.py +++ b/fandjango/decorators.py @@ -2,6 +2,7 @@ from functools import wraps from django.http import HttpResponse from django.core.urlresolvers import reverse +from django.core.handlers.wsgi import ...
Fix a bug that caused the "facebook_authorization_required" decorator to be incompatible with Django libraries that modify the order of arguments given to views.
py
diff --git a/gwpy/tests/test_table.py b/gwpy/tests/test_table.py index <HASH>..<HASH> 100644 --- a/gwpy/tests/test_table.py +++ b/gwpy/tests/test_table.py @@ -96,6 +96,8 @@ class TableTests(unittest.TestCase): self.TABLE_CLASS.read(fp) self.assertTrue(str(exc.exception).startswith( ...
tests: skip ROOT table tests if no ROOT install
py
diff --git a/leancloud/file_.py b/leancloud/file_.py index <HASH>..<HASH> 100644 --- a/leancloud/file_.py +++ b/leancloud/file_.py @@ -133,7 +133,7 @@ class File(object): base64.encode(self._source, output) self._source.seek(0) output.seek(0) - hex_octet = lambda: hex(i...
Fix off-by-one random generation typo
py
diff --git a/scss.py b/scss.py index <HASH>..<HASH> 100644 --- a/scss.py +++ b/scss.py @@ -989,7 +989,7 @@ class Scss(object): if code != '@if': if '@if' not in rule[OPTIONS]: print >>sys.stderr, "Warning: @else with no @if!" - val = rule[OPTIONS].get('@if', True) + ...
'@else if' fixed. Closes #6
py
diff --git a/coaster/__init__.py b/coaster/__init__.py index <HASH>..<HASH> 100644 --- a/coaster/__init__.py +++ b/coaster/__init__.py @@ -324,6 +324,10 @@ VALID_TAGS = {'strong': [], 'sub': [], 'a': ['href', 'title', 'target'], 'blockquote': [], + 'h3': [], + ...
Allow h3-h6 by default.
py
diff --git a/shutit_srv.py b/shutit_srv.py index <HASH>..<HASH> 100644 --- a/shutit_srv.py +++ b/shutit_srv.py @@ -72,10 +72,6 @@ def update_modules(to_build, cfg): shutit.cfg[module_id]['build'] = ORIG_MOD_CFG[module_id]['build'] if module_id in selected: shutit.cfg[module_id]['build...
bug fixed with gui and implicit builds with configs
py
diff --git a/salt/cloud/clouds/openstack.py b/salt/cloud/clouds/openstack.py index <HASH>..<HASH> 100644 --- a/salt/cloud/clouds/openstack.py +++ b/salt/cloud/clouds/openstack.py @@ -326,6 +326,7 @@ def create(vm_): key_filename = config.get_cloud_config_value( 'ssh_key_file', vm_, __opts__, search_global...
Expanduser on key_filename in openstack provider
py
diff --git a/saunter/po/remotecontrol/page.py b/saunter/po/remotecontrol/page.py index <HASH>..<HASH> 100644 --- a/saunter/po/remotecontrol/page.py +++ b/saunter/po/remotecontrol/page.py @@ -38,6 +38,15 @@ class Page(object): return False else: return False + + def wait_for_ele...
adding wait_for_element_available and wait_for_element_visibility_change to the rc base page object
py
diff --git a/axiom/plugins/mantissacmd.py b/axiom/plugins/mantissacmd.py index <HASH>..<HASH> 100644 --- a/axiom/plugins/mantissacmd.py +++ b/axiom/plugins/mantissacmd.py @@ -143,7 +143,7 @@ class Mantissa(axiomatic.AxiomaticCommand): critical=True, ).sign( private_key=pri...
SHA<I> is silly here, just use SHA<I>.
py
diff --git a/mbuild/compound.py b/mbuild/compound.py index <HASH>..<HASH> 100755 --- a/mbuild/compound.py +++ b/mbuild/compound.py @@ -1955,6 +1955,16 @@ class Compound(object): kwargs['rigid_bodies'] = [ p.rigid_id for p in self.particles()] saver(filename=filenam...
Attempt to add sdf support through obabel
py
diff --git a/claripy/frontend.py b/claripy/frontend.py index <HASH>..<HASH> 100644 --- a/claripy/frontend.py +++ b/claripy/frontend.py @@ -235,6 +235,9 @@ class Frontend(ana.Storable): def max(self, e, extra_constraints=()): extra_constraints = self._constraint_filter(extra_constraints) + if isin...
Return the integer itself if an int is paaed to max/min in frontent.py
py
diff --git a/salt/version.py b/salt/version.py index <HASH>..<HASH> 100644 --- a/salt/version.py +++ b/salt/version.py @@ -55,13 +55,21 @@ def __get_version(version, version_info): if not match: return version, version_info - parsed_version = '{0}.{1}.{2}-{3}-{4}'.format( + parsed_...
Don't show `-None-None` on the version.
py
diff --git a/gwpy/plotter/axes.py b/gwpy/plotter/axes.py index <HASH>..<HASH> 100644 --- a/gwpy/plotter/axes.py +++ b/gwpy/plotter/axes.py @@ -169,6 +169,11 @@ class Axes(_Axes): elif self.logy and not log: self.set_yscale('linear') + # -- other properties ----------------------- + + def _...
Axes._get_artists: new utility method just returns the combination of all lines, images, collections, and patches mainly useful to work out if there's only one 'thing' on an Axes
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -30,7 +30,7 @@ install_requires = [ tests_require = [ "pytest>=4.6,<5.0; python_version < '3.5'", "pytest>=4.6; python_version >= '3.5'", - "coverage >= 3.7.1, < 5.0.0", + "coverage >= 3.7.1, < 6.0.0", "p...
Allow coverage 5.x All tests pass here with coverage <I>.
py
diff --git a/girder/api/v1/group.py b/girder/api/v1/group.py index <HASH>..<HASH> 100644 --- a/girder/api/v1/group.py +++ b/girder/api/v1/group.py @@ -101,9 +101,11 @@ class Group(Resource): :param group: The group to invite the user to. :param user: The user doing the invitation. - :param pa...
Fixing up some sphinx documentation for the group endpoint.
py
diff --git a/sos/plugins/smartcard.py b/sos/plugins/smartcard.py index <HASH>..<HASH> 100644 --- a/sos/plugins/smartcard.py +++ b/sos/plugins/smartcard.py @@ -33,7 +33,6 @@ class Smartcard(Plugin, RedHatPlugin): "/etc/reader.conf.d/", "/etc/pam_pkcs11/"]) self.add_cmd_output([ - ...
[smartcard] Stop collecting pkcs<I>_inspect debug The tool always requires PIN to be entered manually. That contradicts the aim of sosreport to collect data as automatically as possible. Once smartcar community allows providing the PIN e.g. via an env.variable, we can add the command back. Resolves: #<I>
py
diff --git a/salt/modules/git.py b/salt/modules/git.py index <HASH>..<HASH> 100644 --- a/salt/modules/git.py +++ b/salt/modules/git.py @@ -51,11 +51,13 @@ def _git_run(command, cwd=None, runas=None, identity=None, # copy wrapper to area accessible by ``runas`` user # currently no suppport in...
Fix references to utils, point them to salt.utils
py
diff --git a/docs/source/conf.py b/docs/source/conf.py index <HASH>..<HASH> 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -249,3 +249,4 @@ texinfo_documents = [ #texinfo_show_urls = 'footnote' autoclass_content = 'both' +numpydoc_show_class_members = False
Silence doc warnings Apparently this magic directive silences most of the warnings encountered when building docs. See <URL>
py
diff --git a/karaage/applications/views/user.py b/karaage/applications/views/user.py index <HASH>..<HASH> 100644 --- a/karaage/applications/views/user.py +++ b/karaage/applications/views/user.py @@ -425,8 +425,10 @@ class StateStepIntroduction(Step): def view(self, request, application, label, auth, actions): ...
Don't save applicant unless we have to. Change-Id: I1d<I>d<I>ef<I>a8fc4a<I>fd<I>c<I>f<I>
py
diff --git a/pyte/backend/pdf/reader.py b/pyte/backend/pdf/reader.py index <HASH>..<HASH> 100644 --- a/pyte/backend/pdf/reader.py +++ b/pyte/backend/pdf/reader.py @@ -141,20 +141,18 @@ class PDFReader(cos.Document): array.append(item) return array - re_name_escape = re.compile(r'#\d\d') - ...
don't bother decoding parsed PDF Names, store as is
py
diff --git a/flask_sslify.py b/flask_sslify.py index <HASH>..<HASH> 100644 --- a/flask_sslify.py +++ b/flask_sslify.py @@ -42,7 +42,7 @@ class SSLify(object): def skip(self): """Checks the skip list.""" # Should we skip? - if self.skip_list and isinstance(self.skip_list, list): + i...
Don't redirect if the testing mode is active.
py
diff --git a/slumber/__init__.py b/slumber/__init__.py index <HASH>..<HASH> 100644 --- a/slumber/__init__.py +++ b/slumber/__init__.py @@ -14,15 +14,19 @@ __all__ = ["Resource", "API"] class ResourceAttributesMixin(object): """ - A Mixin that makes it so that accessing an undefined attribute on a class - ...
Improve class documentation slightly, add note about accessing private attributes/resources
py
diff --git a/salt/utils/dns.py b/salt/utils/dns.py index <HASH>..<HASH> 100644 --- a/salt/utils/dns.py +++ b/salt/utils/dns.py @@ -915,7 +915,7 @@ def sshfp_rec(rdata): rschema = OrderedDict(( ('algorithm', RFC.SSHFP_ALGO), ('fp_hash', RFC.SSHFP_HASH), - ('fingerprint', str) + ('fin...
utils.dns: SSHFP: force fingerprint to lower()
py
diff --git a/dask_kubernetes/__init__.py b/dask_kubernetes/__init__.py index <HASH>..<HASH> 100644 --- a/dask_kubernetes/__init__.py +++ b/dask_kubernetes/__init__.py @@ -11,7 +11,7 @@ from .core import KubeCluster from .helm import HelmCluster from .objects import make_pod_spec, make_pod_from_dict, clean_pod_templat...
fix __all__ (#<I>)
py
diff --git a/th_rss/my_rss.py b/th_rss/my_rss.py index <HASH>..<HASH> 100644 --- a/th_rss/my_rss.py +++ b/th_rss/my_rss.py @@ -15,7 +15,7 @@ from th_rss.lib.feedsservice import Feeds logger = getLogger('django_th.trigger_happy') -cache = caches['th_rss'] +cache = caches['django_th'] class ServiceRss(ServicesM...
Replaced cache variable REPLACED: cache = caches['th_<service>'] With cache = caches['django_th']
py
diff --git a/ontology/vm/build_vm.py b/ontology/vm/build_vm.py index <HASH>..<HASH> 100644 --- a/ontology/vm/build_vm.py +++ b/ontology/vm/build_vm.py @@ -37,7 +37,7 @@ def build_neo_vm_param(builder, params): elif isinstance(params, int): builder.emit_push_integer(params) elif isinstance(params, lis...
remove iterating with range and len
py
diff --git a/.buildkite/dagster-buildkite/dagster_buildkite/steps/helm.py b/.buildkite/dagster-buildkite/dagster_buildkite/steps/helm.py index <HASH>..<HASH> 100644 --- a/.buildkite/dagster-buildkite/dagster_buildkite/steps/helm.py +++ b/.buildkite/dagster-buildkite/dagster_buildkite/steps/helm.py @@ -30,6 +30,13 @@ de...
Ensure Chart.lock is in sync Summary: As the title. If any changes occur in Chart.yaml, the Chart.lock should be updated. Test Plan: bk Reviewers: dgibson, johann Differential Revision: <URL>
py
diff --git a/overpass/api.py b/overpass/api.py index <HASH>..<HASH> 100644 --- a/overpass/api.py +++ b/overpass/api.py @@ -187,10 +187,16 @@ class API(object): return r def _as_geojson(self, elements): - + ids_already_seen = set() features = [] geometry = None for e...
don't convert elements multiple times to geojson
py
diff --git a/django_pyodbc/compiler.py b/django_pyodbc/compiler.py index <HASH>..<HASH> 100644 --- a/django_pyodbc/compiler.py +++ b/django_pyodbc/compiler.py @@ -131,7 +131,16 @@ class SQLCompiler(compiler.SQLCompiler): self.modify_query(strategy, ordering, out_cols) if strategy == USE_ROW_NUMB...
Patch by <EMAIL> and <EMAIL> for issue (#<I>) Allows order_by on annotated field names not in the database. <URL>
py
diff --git a/tenant_schemas_celery/registry_test.py b/tenant_schemas_celery/registry_test.py index <HASH>..<HASH> 100644 --- a/tenant_schemas_celery/registry_test.py +++ b/tenant_schemas_celery/registry_test.py @@ -34,6 +34,7 @@ def test_get_schema_from_class_task_registration(transactional_db): assert not inspect...
reintroduced TenantTask check as it is the meat and potatoes
py
diff --git a/montblanc/impl/biro/v2/cpu/SolverCPU.py b/montblanc/impl/biro/v2/cpu/SolverCPU.py index <HASH>..<HASH> 100644 --- a/montblanc/impl/biro/v2/cpu/SolverCPU.py +++ b/montblanc/impl/biro/v2/cpu/SolverCPU.py @@ -373,8 +373,7 @@ class SolverCPU(object): slvr = self.solver - vis = ne.evaluate('sum(ebk...
other correction on compute_ebk_vis
py
diff --git a/moto/s3/responses.py b/moto/s3/responses.py index <HASH>..<HASH> 100755 --- a/moto/s3/responses.py +++ b/moto/s3/responses.py @@ -55,8 +55,10 @@ class ResponseObject(_TemplateEnvironmentMixin): if not host: host = urlparse(request.url).netloc - if not host or host.startswith(...
use S3 path style addressing when running in kubernetes (#<I>)
py
diff --git a/more_itertools/tests/test_more.py b/more_itertools/tests/test_more.py index <HASH>..<HASH> 100644 --- a/more_itertools/tests/test_more.py +++ b/more_itertools/tests/test_more.py @@ -95,9 +95,9 @@ class PeekableTests(TestCase): """ p = peekable([]) - self.failIf(p) + self.a...
Use assertTrue and assertFalse
py
diff --git a/mtools/mloginfo/sections/query_section.py b/mtools/mloginfo/sections/query_section.py index <HASH>..<HASH> 100644 --- a/mtools/mloginfo/sections/query_section.py +++ b/mtools/mloginfo/sections/query_section.py @@ -6,9 +6,12 @@ from mtools.util.print_table import print_table from mtools.util import Ordered...
use NamedTuples instead of caching the entire line to save memory.
py
diff --git a/opencage/__init__.py b/opencage/__init__.py index <HASH>..<HASH> 100644 --- a/opencage/__init__.py +++ b/opencage/__init__.py @@ -1,7 +1,3 @@ __author__ = "OpenCage (a Lokku brand)" __email__ = 'info@opencagedata.com' __version__ = '1.0.0' - -from .geocoder import OpenCageGeocode - -__all__ = [OpenCageG...
unneeded import stuff, we need to import exceptions etc.
py
diff --git a/web3/providers/rpc.py b/web3/providers/rpc.py index <HASH>..<HASH> 100644 --- a/web3/providers/rpc.py +++ b/web3/providers/rpc.py @@ -8,9 +8,10 @@ from .base import BaseProvider # noqa: E402 class RPCProvider(BaseProvider): - def __init__(self, host="127.0.0.1", port="8545", *args, **kwargs): + ...
Add support for custom paths to RPCProvider
py
diff --git a/openupgradelib/openupgrade.py b/openupgradelib/openupgrade.py index <HASH>..<HASH> 100644 --- a/openupgradelib/openupgrade.py +++ b/openupgradelib/openupgrade.py @@ -1028,7 +1028,7 @@ def merge_models(cr, old_model, new_model, ref_field): SET res_model = %(new_model)s, res_id = mt.id ...
[FIX] merge_models: minor fix in merge_models method Oversight.
py
diff --git a/io/eolearn/io/local_io.py b/io/eolearn/io/local_io.py index <HASH>..<HASH> 100644 --- a/io/eolearn/io/local_io.py +++ b/io/eolearn/io/local_io.py @@ -4,8 +4,8 @@ Module containing tasks used for reading and writing to disk import os.path -import rasterio import datetime +import rasterio import numpy...
pylint fixes after merging develop into patch-4
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -94,7 +94,7 @@ def setup_nupic(): version = properties['__version__'], packages = findPackages(repositoryDir), package_data = { - 'nupic': ['README.md', 'LICENSE.txt', '*.so', '*.dll', '*.dylib'], + 'n...
Adding CMakeLists.txt to pypi bundle. Fixes #<I>.
py
diff --git a/androguard/core/bytecode.py b/androguard/core/bytecode.py index <HASH>..<HASH> 100644 --- a/androguard/core/bytecode.py +++ b/androguard/core/bytecode.py @@ -737,6 +737,7 @@ def FormatClassToPython(input) : i = input[:-1] i = i.replace("/", "_") i = i.replace("$", "_") + i = i.encode('asc...
Bugfix for dexguard renamed class and method names which are not-ascii, and they were not compatible with python namespace
py
diff --git a/grimoire_elk/elk/phabricator.py b/grimoire_elk/elk/phabricator.py index <HASH>..<HASH> 100644 --- a/grimoire_elk/elk/phabricator.py +++ b/grimoire_elk/elk/phabricator.py @@ -56,6 +56,12 @@ class PhabricatorEnrich(Enrich): def get_elastic_mappings(self): + from grimoire_elk.utils import kibi...
[enrich][phabricator] Add fielddata to tags and roles fields so they are aggregatable
py
diff --git a/playhouse/sqlite_ext.py b/playhouse/sqlite_ext.py index <HASH>..<HASH> 100644 --- a/playhouse/sqlite_ext.py +++ b/playhouse/sqlite_ext.py @@ -95,8 +95,7 @@ class JSONPath(ColumnBase): def append(self, value, as_json=None): if as_json or isinstance(value, (list, dict)): value = fn...
Small cleanup in sqlite json append.
py
diff --git a/generators/dockertools/templates/python/manage.py b/generators/dockertools/templates/python/manage.py index <HASH>..<HASH> 100644 --- a/generators/dockertools/templates/python/manage.py +++ b/generators/dockertools/templates/python/manage.py @@ -98,10 +98,10 @@ parser.add_argument("subcommand", help="subco...
fix: change shell commands and port num
py
diff --git a/glue/ligolw/lsctables.py b/glue/ligolw/lsctables.py index <HASH>..<HASH> 100644 --- a/glue/ligolw/lsctables.py +++ b/glue/ligolw/lsctables.py @@ -1332,7 +1332,7 @@ class CoincInspiralTable(table.Table): how_to_index = { "ci_cei_index": ("coinc_event_id",) } - interncolumns = ("coinc_event_id",) + in...
Fix PR<I> add ifos to coinc_inspiral's interned columns
py
diff --git a/intranet/apps/users/api.py b/intranet/apps/users/api.py index <HASH>..<HASH> 100644 --- a/intranet/apps/users/api.py +++ b/intranet/apps/users/api.py @@ -31,7 +31,7 @@ class ProfileDetail(generics.RetrieveAPIView): if 'pk' in kwargs: user = User.objects.get(pk=kwargs['pk']) e...
case insensitive lookup in api
py
diff --git a/bot/actions/command.py b/bot/actions/command.py index <HASH>..<HASH> 100644 --- a/bot/actions/command.py +++ b/bot/actions/command.py @@ -9,9 +9,12 @@ class CommandAction(IntermediateAction): self.command = command def post_setup(self): - self.command_pattern = re.compile("^/" + self...
Improve Command support Saving command_args in event
py
diff --git a/numina/array/peaks/findpeaks1D.py b/numina/array/peaks/findpeaks1D.py index <HASH>..<HASH> 100644 --- a/numina/array/peaks/findpeaks1D.py +++ b/numina/array/peaks/findpeaks1D.py @@ -23,7 +23,7 @@ from __future__ import division import numpy as np - +import warnings #-----------------------------------...
Warning on both findPeaks_spectrum and refinePeaks_spectrum functions
py
diff --git a/sos/plugins/openvswitch.py b/sos/plugins/openvswitch.py index <HASH>..<HASH> 100644 --- a/sos/plugins/openvswitch.py +++ b/sos/plugins/openvswitch.py @@ -57,7 +57,9 @@ class OpenVSwitch(Plugin): # Capture coverage stats" "ovs-appctl coverage/show", # Capture cached ro...
[openvswitch] Capture tunnel arp cache Provide tnl cached ARP table.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ setup( test_suite='tests', install_requires=[ 'M2Crypto==0.22.3', - 'dm.xmlsec.binding==1.3.1', + 'dm.xmlsec.binding==1.3.2', 'isodate==0.5.0', 'defusedxml==0.4...
Update the dm.xmlsec.binding library to <I> (Improved transform support, Workaround for buildout problem)
py
diff --git a/mopidy_mpris/player.py b/mopidy_mpris/player.py index <HASH>..<HASH> 100644 --- a/mopidy_mpris/player.py +++ b/mopidy_mpris/player.py @@ -249,7 +249,7 @@ class Player(Interface): res["xesam:title"] = Variant("s", stream_title or track.name) if track.artists: a...
py3: Avoid comparing string and None when sorting
py
diff --git a/telegapi/telegbot.py b/telegapi/telegbot.py index <HASH>..<HASH> 100644 --- a/telegapi/telegbot.py +++ b/telegapi/telegbot.py @@ -100,7 +100,7 @@ class telegbot: }) self.__run_event(response) - def sen_chat_action(self, chat_id, action): + def send_chat_action(self, chat_id, actio...
Fixed wrongly named function on telegbot
py
diff --git a/simpleai/search/viewers.py b/simpleai/search/viewers.py index <HASH>..<HASH> 100644 --- a/simpleai/search/viewers.py +++ b/simpleai/search/viewers.py @@ -192,8 +192,7 @@ class BaseViewer(object): for node_id, parent_id in sorted(graph_edges.keys()): graph.add_edge(graph_edges[node_id,...
Usage of write method, instead of write_format method family
py
diff --git a/src/accounts/migrations/0005_remove_host_from_social_accounts.py b/src/accounts/migrations/0005_remove_host_from_social_accounts.py index <HASH>..<HASH> 100644 --- a/src/accounts/migrations/0005_remove_host_from_social_accounts.py +++ b/src/accounts/migrations/0005_remove_host_from_social_accounts.py @@ -1...
Fixing migration to get facebook from get qs
py
diff --git a/ez_setup.py b/ez_setup.py index <HASH>..<HASH> 100644 --- a/ez_setup.py +++ b/ez_setup.py @@ -19,26 +19,6 @@ DEFAULT_URL = "http://www.python.org/packages/source/s/setuptools/" import sys, os - - - - - - - - - - - - - - - - - - - - def use_setuptools( version=DEFAULT_VERSION, download_base=D...
Removing some blank lines from ez_setup.py.
py
diff --git a/keanu-python/keanu/vertex.py b/keanu-python/keanu/vertex.py index <HASH>..<HASH> 100644 --- a/keanu-python/keanu/vertex.py +++ b/keanu-python/keanu/vertex.py @@ -109,7 +109,7 @@ class Vertex(JavaObjectWrapper, VertexOps): super(Vertex, self).__init__(ctor, *(Vertex.__parse_args(*args))) def...
import Tensor from the right package
py
diff --git a/examples/engine/py/common.py b/examples/engine/py/common.py index <HASH>..<HASH> 100755 --- a/examples/engine/py/common.py +++ b/examples/engine/py/common.py @@ -125,11 +125,10 @@ class Acceptor: if sock: conn = Connection() conn.collect(self.driver.collector) - ...
Change python examples code to use current API to select a server transport (and associated sasl machinery)
py
diff --git a/aiosqlite/core.py b/aiosqlite/core.py index <HASH>..<HASH> 100644 --- a/aiosqlite/core.py +++ b/aiosqlite/core.py @@ -96,7 +96,7 @@ class Connection(Thread): try: LOG.debug("executing %s", function) result = function() - LOG.debug("returning %s"...
Fix #<I>: stop logging result objects because they can be BIG
py
diff --git a/grr/core/setup.py b/grr/core/setup.py index <HASH>..<HASH> 100644 --- a/grr/core/setup.py +++ b/grr/core/setup.py @@ -128,7 +128,7 @@ setup_args = dict( "binplist==0.1.4", "configparser==3.5.0", "cryptography==2.3", - "fleetspeak==0.0.7", + "fleetspeak==0.1.1", ...
Bump required version of Fleetspeak.
py