diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/tests/jenkins.py b/tests/jenkins.py index <HASH>..<HASH> 100644 --- a/tests/jenkins.py +++ b/tests/jenkins.py @@ -280,17 +280,17 @@ def parse(): ) parser.add_option( '--delete-vm', - default=os.environ.get('JENKINS_SALTCLOUD_VM_NAME', None), + default=None, help='D...
Of course the VM's are always being deleted!!!!
py
diff --git a/cumulusci/oauth/salesforce.py b/cumulusci/oauth/salesforce.py index <HASH>..<HASH> 100644 --- a/cumulusci/oauth/salesforce.py +++ b/cumulusci/oauth/salesforce.py @@ -35,6 +35,8 @@ def jwt_session(client_id, private_key, username, url=None, auth_url=None): if auth_url.startswith(SANDBOX_LOGIN_U...
detect instanceless urls during JWT auth
py
diff --git a/astroid/inference.py b/astroid/inference.py index <HASH>..<HASH> 100644 --- a/astroid/inference.py +++ b/astroid/inference.py @@ -312,7 +312,11 @@ def _infer_boolop(self, context=None): node. """ values = self.values - op = self.op + if self.op == 'or': + predicate = operator.tr...
Move the choosing of the predicate at the beginning of the function.
py
diff --git a/spyderlib/widgets/dicteditorutils.py b/spyderlib/widgets/dicteditorutils.py index <HASH>..<HASH> 100644 --- a/spyderlib/widgets/dicteditorutils.py +++ b/spyderlib/widgets/dicteditorutils.py @@ -161,7 +161,9 @@ def value_to_display(value, truncate=False, if isinstance(value, Image): return '%...
Variable Explorer: Spyder froze when trying to display DataFrames with column names not given by strings Fixes issue <I>
py
diff --git a/salt/cli/salt.py b/salt/cli/salt.py index <HASH>..<HASH> 100644 --- a/salt/cli/salt.py +++ b/salt/cli/salt.py @@ -136,7 +136,7 @@ class SaltCMD(parsers.SaltCMDOptionParser): try: if self.options.subset: cmd_func = self.local_client.cmd_subset - kwargs['...
Correctly pass subset to cmd_subset Fixes #<I>
py
diff --git a/gmusicapi_wrapper/utils.py b/gmusicapi_wrapper/utils.py index <HASH>..<HASH> 100644 --- a/gmusicapi_wrapper/utils.py +++ b/gmusicapi_wrapper/utils.py @@ -118,7 +118,7 @@ def compare_song_collections(src_songs, dest_songs): return missing_songs -@accept_singleton(str) +@accept_singleton(str, 0) def g...
Only coerce filepaths arg to list in get_supported_filepaths and exclude_filepaths
py
diff --git a/test/test_utm.py b/test/test_utm.py index <HASH>..<HASH> 100644 --- a/test/test_utm.py +++ b/test/test_utm.py @@ -4,8 +4,8 @@ import unittest class UTMTestCase(unittest.TestCase): def assert_utm_equal(self, a, b): - self.assertAlmostEqual(a[0], b[0], -1) - self.assertAlmostEqual(a[1],...
test_utm: Increased assert_utm_equal() precision
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -10,13 +10,13 @@ with open(path.join(here, 'README.rst'), encoding='utf-8') as f: setup( name = 'AsyncUrban', packages = ['AsyncUrban'], - version = '0.1.3', + version = '0.1.4', description = 'An asynchr...
fix setup.py to show proper version
py
diff --git a/salt/loader.py b/salt/loader.py index <HASH>..<HASH> 100644 --- a/salt/loader.py +++ b/salt/loader.py @@ -52,7 +52,7 @@ def render(opts): os.path.join(distutils.sysconfig.get_python_lib(), 'salt/renderers'), ] + opts['render_dirs'] load = Loader(module_dirs, opts) - return load.ge...
Changed the render loader to work like returners and not like modules
py
diff --git a/steam/core/msg.py b/steam/core/msg.py index <HASH>..<HASH> 100644 --- a/steam/core/msg.py +++ b/steam/core/msg.py @@ -247,9 +247,14 @@ class MsgProto(object): self.msg = msg self.header = self._header.proto - self.body = get_cmsg(msg)() + proto = get_cmsg(msg) - i...
ignore ServiceMethod calls for now
py
diff --git a/cellpy/_version.py b/cellpy/_version.py index <HASH>..<HASH> 100644 --- a/cellpy/_version.py +++ b/cellpy/_version.py @@ -1,2 +1,2 @@ -version_info = (0, 3, 0, "b3") +version_info = (0, 3, 0, "c1") __version__ = '.'.join(map(str, version_info))
version bump to <I>c1
py
diff --git a/salt/modules/systemd.py b/salt/modules/systemd.py index <HASH>..<HASH> 100644 --- a/salt/modules/systemd.py +++ b/salt/modules/systemd.py @@ -409,7 +409,9 @@ def mask(name): def masked(name): ''' - Return if the named service is masked + Return if the named service is masked. + + .. versio...
Added versionadded directive for new masked funciton.
py
diff --git a/percy/environment.py b/percy/environment.py index <HASH>..<HASH> 100644 --- a/percy/environment.py +++ b/percy/environment.py @@ -302,3 +302,8 @@ class BuildkiteEnvironment(object): @property def parallel_nonce(self): return os.getenv('BUILDKITE_BUILD_ID') + + @property + def p...
Support BUILDKITE_PARALLEL_JOB_COUNT
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -16,6 +16,18 @@ import sys import os import shlex +# mock xarray library so it compiles on read the docs +from unittest.mock import MagicMock + +class Mock(MagicMock): + @classmethod + def __getattr__...
Mocking xarray, trying to get docs to build again
py
diff --git a/aikif/toolbox/network_tools.py b/aikif/toolbox/network_tools.py index <HASH>..<HASH> 100644 --- a/aikif/toolbox/network_tools.py +++ b/aikif/toolbox/network_tools.py @@ -62,6 +62,22 @@ def download_file_no_logon(url, filename): #print (response.read().decode('utf-8')) f.write(response.rea...
added download file function using requests which works for odd sites
py
diff --git a/scripts/build.py b/scripts/build.py index <HASH>..<HASH> 100755 --- a/scripts/build.py +++ b/scripts/build.py @@ -526,7 +526,7 @@ def build_packages(build_output, version, nightly=False, rc=None, iteration=1): arch, ...
Fixed issue where binary wasnt copied to packaging directory correctly.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,9 +1,15 @@ import os from setuptools import setup -import pypandoc +try: + import pypandoc + + + README = pypandoc.convert_file('README.md', 'rst') +except ImportError: + with open(os.path.join(os.path.dirname(...
:bug: running setup locally shouldn't require pypandoc
py
diff --git a/bigchaindb/core.py b/bigchaindb/core.py index <HASH>..<HASH> 100644 --- a/bigchaindb/core.py +++ b/bigchaindb/core.py @@ -15,6 +15,7 @@ from bigchaindb.crypto import hash_data, PublicKey, PrivateKey, generate_key_pai class GenesisBlockAlreadyExistsError(Exception): pass + class KeypairNotFoundExce...
Add missing blank line (pep8)
py
diff --git a/tests/test_plotting.py b/tests/test_plotting.py index <HASH>..<HASH> 100644 --- a/tests/test_plotting.py +++ b/tests/test_plotting.py @@ -7,7 +7,7 @@ # e-mail: ocefpaf@gmail # web: http://ocefpaf.tiddlyspot.com/ # created: 01-Mar-2013 -# modified: Thu 22 Aug 2013 01:20:59 PM BRT +# modified: Fri...
Using Agg for plotting tests.
py
diff --git a/nion/swift/model/HardwareSource.py b/nion/swift/model/HardwareSource.py index <HASH>..<HASH> 100644 --- a/nion/swift/model/HardwareSource.py +++ b/nion/swift/model/HardwareSource.py @@ -954,7 +954,7 @@ class HardwareSource: return HardwareSourceFacade() -class SumProcessor(Observable.Observabl...
Do not derive SumProcessor from PersistentObject. Unnecessary.
py
diff --git a/doctr/travis.py b/doctr/travis.py index <HASH>..<HASH> 100644 --- a/doctr/travis.py +++ b/doctr/travis.py @@ -455,7 +455,7 @@ The doctr command that was run is ) # Only commit if there were changes - if subprocess.run(['git', 'diff-index', '--quiet', 'HEAD', '--'], + if subprocess.run(['g...
Add --exit-code to diff-index --quiet is supposed to imply --exit-code, but it doesn't seem to be working.
py
diff --git a/pyseleniumjs/e2ejs.py b/pyseleniumjs/e2ejs.py index <HASH>..<HASH> 100644 --- a/pyseleniumjs/e2ejs.py +++ b/pyseleniumjs/e2ejs.py @@ -126,8 +126,7 @@ class E2EJS(object): options={ 'bubbles': True, 'cancelBubble': False, - 'cancelable': True, - ...
Removed isTrusted, configuration not supported by latest version of Chromium.
py
diff --git a/amadeus/travel/analytics/air_traffic/_busiest_period.py b/amadeus/travel/analytics/air_traffic/_busiest_period.py index <HASH>..<HASH> 100644 --- a/amadeus/travel/analytics/air_traffic/_busiest_period.py +++ b/amadeus/travel/analytics/air_traffic/_busiest_period.py @@ -16,9 +16,11 @@ class BusiestPeriod(De...
Update the doc for Flight Busiest Traveling Period
py
diff --git a/tests/test_integrations/test_account_view.py b/tests/test_integrations/test_account_view.py index <HASH>..<HASH> 100644 --- a/tests/test_integrations/test_account_view.py +++ b/tests/test_integrations/test_account_view.py @@ -1,4 +1,5 @@ from django.conf import settings +from unittest.case import skip ...
Not sure what these were testing, but they're broken...
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -10,6 +10,7 @@ setup( packages=['dirtyebay'], license='MIT', long_description=open('pypi.rst').read(), + description='An eBay API client which respects (XSD) schema and talks SOAP but doesn\'t use Suds', ...
Update setup.py Adding `description` field to `setup.py`
py
diff --git a/beets/mediafile.py b/beets/mediafile.py index <HASH>..<HASH> 100644 --- a/beets/mediafile.py +++ b/beets/mediafile.py @@ -1479,7 +1479,7 @@ class MediaFile(object): lexicographic order (except for instances of :class:`DateItemField`, which are sorted in year-month-day order). """...
Follow style conventions. Original: beetbox/beets@8b<I>af8
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -31,7 +31,7 @@ setup( ) ], - install_requires=['typing'], + install_requires=["typing; python_version<'3.5'"], classifiers=[ 'Development Status :: 5 - Production/Stable',
typing requirement only for python<I> and lower
py
diff --git a/globus_cli/commands/endpoint/server/list.py b/globus_cli/commands/endpoint/server/list.py index <HASH>..<HASH> 100644 --- a/globus_cli/commands/endpoint/server/list.py +++ b/globus_cli/commands/endpoint/server/list.py @@ -33,7 +33,7 @@ def server_list(endpoint_id): if endpoint['s3_url']: # not GCS ...
Use "url" for S3 but "uri" for GCS servers
py
diff --git a/web3/eth.py b/web3/eth.py index <HASH>..<HASH> 100644 --- a/web3/eth.py +++ b/web3/eth.py @@ -289,7 +289,9 @@ class Eth(Module): ) def getLogs(self, filter_params): - raise NotImplementedError("Not yet implemented") + return self.web3.manager.request_blocking( + "et...
Adding implementation for eth_getLogs
py
diff --git a/pykeyboard/base.py b/pykeyboard/base.py index <HASH>..<HASH> 100644 --- a/pykeyboard/base.py +++ b/pykeyboard/base.py @@ -95,10 +95,18 @@ class PyKeyboardEventMeta(Thread): """ pass - def escape_code(self): + def escape(self, event): """ - Defines a means to signal...
more description in escape, I should probably make a few examples
py
diff --git a/pandas/tests/indexes/period/test_indexing.py b/pandas/tests/indexes/period/test_indexing.py index <HASH>..<HASH> 100644 --- a/pandas/tests/indexes/period/test_indexing.py +++ b/pandas/tests/indexes/period/test_indexing.py @@ -499,8 +499,8 @@ class TestIndexing(object): idx2 = pd.PeriodIndex([p2, p...
COMPAT: <I>-bit indexers compat (#<I>) xref #<I>
py
diff --git a/test.py b/test.py index <HASH>..<HASH> 100644 --- a/test.py +++ b/test.py @@ -1,10 +1,14 @@ +# coding=utf-8 +""" +Some basic tests to verify that the wrapper is working +""" from mailchimp3 import MailChimp client = MailChimp('MAILCHIMP_USER', 'MAILCHIMP_SECRET') -print client.list.all(fields="list...
Update test.py to use new endpoint names
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ setup( ], keywords='pinax,django', author='Daniel Greenfeld, Chris Adams', - author_email='daniel.greenfeld-1@nasa.gov', + author_email='pydanny@gmail.com', url='', license='MIT', ...
Changing my email to my personal one
py
diff --git a/wicken/netcdf_dogma.py b/wicken/netcdf_dogma.py index <HASH>..<HASH> 100755 --- a/wicken/netcdf_dogma.py +++ b/wicken/netcdf_dogma.py @@ -24,6 +24,7 @@ This file is part of Wicken. ''' from petulantbear.netcdf_etree import * +from petulantbear.netcdf_etree import namespaces as default_namespaces impor...
Allow users to pass in namespaces to NetCDFDogma for parity
py
diff --git a/samcli/__init__.py b/samcli/__init__.py index <HASH>..<HASH> 100644 --- a/samcli/__init__.py +++ b/samcli/__init__.py @@ -2,4 +2,4 @@ SAM CLI version """ -__version__ = "0.41.0" +__version__ = "0.42.0"
chore: Version Bump to <I> (#<I>)
py
diff --git a/dependency_injector/providers/base.py b/dependency_injector/providers/base.py index <HASH>..<HASH> 100644 --- a/dependency_injector/providers/base.py +++ b/dependency_injector/providers/base.py @@ -351,8 +351,8 @@ class OverridingContext(object): .. code-block:: python with provider.overrid...
Update overriding context docblock
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -38,7 +38,7 @@ requires = [ 'SQLAlchemy>=1.0.9', 'psycopg2', 'docflow>=0.3.2', - 'html2text<=2019.8.11', # FIXME: Remove pin after py3 migration + 'html2text', 'bcrypt', 'unidecode', 'tldex...
html2text version no longer needs to be pinned
py
diff --git a/dragonpy/core/configs.py b/dragonpy/core/configs.py index <HASH>..<HASH> 100644 --- a/dragonpy/core/configs.py +++ b/dragonpy/core/configs.py @@ -11,18 +11,16 @@ from __future__ import absolute_import, division, print_function, unicode_literals - import inspect -import struct import multiprocessing ...
bugfix running CoCo from CLI
py
diff --git a/python/mxnet/ndarray/image.py b/python/mxnet/ndarray/image.py index <HASH>..<HASH> 100644 --- a/python/mxnet/ndarray/image.py +++ b/python/mxnet/ndarray/image.py @@ -19,7 +19,7 @@ # pylint: disable=wildcard-import, unused-wildcard-import """Image NDArray API of MXNet.""" try: - from .gen_iamge import...
Fix typo in image.py (#<I>) Fix typo in image.py
py
diff --git a/kafka/protocol/group.py b/kafka/protocol/group.py index <HASH>..<HASH> 100644 --- a/kafka/protocol/group.py +++ b/kafka/protocol/group.py @@ -75,7 +75,7 @@ SyncGroupResponse = [SyncGroupResponse_v0] class MemberAssignment(Struct): SCHEMA = Schema( ('version', Int16), - ('partition_ass...
Rename partition_assignment -> assignment in MemberMetadata for consistency
py
diff --git a/testing/test_parseopt.py b/testing/test_parseopt.py index <HASH>..<HASH> 100644 --- a/testing/test_parseopt.py +++ b/testing/test_parseopt.py @@ -1,6 +1,7 @@ import argparse import distutils.spawn import os +import shlex import sys import py @@ -300,7 +301,7 @@ def test_argcomplete(testdir, monkeypa...
Make sure to quote `sys.executable` as we're running a shell
py
diff --git a/benchexec/tablegenerator/__init__.py b/benchexec/tablegenerator/__init__.py index <HASH>..<HASH> 100644 --- a/benchexec/tablegenerator/__init__.py +++ b/benchexec/tablegenerator/__init__.py @@ -1130,16 +1130,18 @@ class StatValue(object): return StatValue(0) values_len = len(values)...
Optimize statistics calculation. If we already sort all values, we can check for presence of +/-inf in O(1) instead of O(n).
py
diff --git a/jaraco/itertools.py b/jaraco/itertools.py index <HASH>..<HASH> 100644 --- a/jaraco/itertools.py +++ b/jaraco/itertools.py @@ -172,6 +172,11 @@ class Count(object): >>> unl_c = Count(None) >>> inf_c = Count(float('Inf')) + Unlimited or limited by infinity are equivalent. + + >>> unl_c == inf_c + True ...
Explicitly make unlimited counters equivalent and allow them to be compared.
py
diff --git a/ipyrad/core/assembly.py b/ipyrad/core/assembly.py index <HASH>..<HASH> 100644 --- a/ipyrad/core/assembly.py +++ b/ipyrad/core/assembly.py @@ -776,7 +776,7 @@ class Assembly(object): """ if self._headers: - print(" Saving Assembly.\n") + print("\n") # Saving Assem...
prettier printing, does not explicitly say 'saving', but it's still doing it.
py
diff --git a/simuvex/s_run.py b/simuvex/s_run.py index <HASH>..<HASH> 100644 --- a/simuvex/s_run.py +++ b/simuvex/s_run.py @@ -83,7 +83,7 @@ class SimRun(object): self.unsat_successors.append(state) elif o.APPROXIMATE_SATISFIABILITY in state.options and not state.se.satisfiable(exact=False): ...
check satisfiability of the solver, not the cached crap in the state
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -18,18 +18,19 @@ setup( description="A millipede generator", long_description=long_description, - url="https://github.com/evadot/millipede" + url="https://github.com/evadot/millipede", - author="The mill...
Add email (required) and packages
py
diff --git a/kconfiglib.py b/kconfiglib.py index <HASH>..<HASH> 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -2934,6 +2934,10 @@ class Symbol(object): symbol has a prompt. User values never have an effect on promptless symbols, so we skip invalidation for them as an optimization. + This ...
Mention how invalidation is avoided for constant symbols
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ def read(fname): setup( name = "cmsplugin-filer", - version = "0.0.6a2", + version = "0.0.6a8", url = 'http://github.com/stefanfoulis/cmsplugin-filer', license = 'BSD', description = "...
fixed version bump to <I>a8 (it's ojii's fault!)
py
diff --git a/src/feat/agencies/dependency.py b/src/feat/agencies/dependency.py index <HASH>..<HASH> 100644 --- a/src/feat/agencies/dependency.py +++ b/src/feat/agencies/dependency.py @@ -29,4 +29,4 @@ class AgencyAgentDependencyMixin(object): @replay.named_side_effect('AgencyAgent.get_mode') def get_mode(se...
Make hapi agent use dependencies module so that we don't have a open http port in all the simulations.
py
diff --git a/elasticutils/__init__.py b/elasticutils/__init__.py index <HASH>..<HASH> 100644 --- a/elasticutils/__init__.py +++ b/elasticutils/__init__.py @@ -72,8 +72,10 @@ class S(object): `result_transform` is a callable that transforms the results from ElasticSearch into a set of objects. ...
Now accepting dicts for queries in case fanciness is required
py
diff --git a/scoop/_comm/scoopzmq.py b/scoop/_comm/scoopzmq.py index <HASH>..<HASH> 100644 --- a/scoop/_comm/scoopzmq.py +++ b/scoop/_comm/scoopzmq.py @@ -382,6 +382,4 @@ class ZMQCommunicator(object): self.OPEN = False scoop.SHUTDOWN_REQUESTED = True self.socket.send(b"SHUTDOWN")...
- Removed extraneous closes
py
diff --git a/openpnm/models/phases/partition_coefficient.py b/openpnm/models/phases/partition_coefficient.py index <HASH>..<HASH> 100755 --- a/openpnm/models/phases/partition_coefficient.py +++ b/openpnm/models/phases/partition_coefficient.py @@ -7,7 +7,7 @@ logger = logging.getLogger(__name__) def gaseous_species...
Fixed typo in henry's constant pore-scale model, replace pore w/ throat
py
diff --git a/configargparse.py b/configargparse.py index <HASH>..<HASH> 100644 --- a/configargparse.py +++ b/configargparse.py @@ -741,10 +741,11 @@ class ArgumentParser(argparse.ArgumentParser): self.error("Unexpected value for %s: '%s'. Expecting 'true', " "'false', 'yes',...
Redo fix for nargs and append
py
diff --git a/spacy/language.py b/spacy/language.py index <HASH>..<HASH> 100644 --- a/spacy/language.py +++ b/spacy/language.py @@ -262,6 +262,10 @@ class Language(object): if self.parser and parse: self.parser(tokens) if self.entity and entity: + # Add any of the entity labels ...
* Automatically register any entity types pre-set on the tokens, so that the NER works with user-given entity types.
py
diff --git a/fusesoc/simulator/xsim.py b/fusesoc/simulator/xsim.py index <HASH>..<HASH> 100644 --- a/fusesoc/simulator/xsim.py +++ b/fusesoc/simulator/xsim.py @@ -40,9 +40,10 @@ class Xsim(Simulator): elif src_file.file_type in ['vhdlSource-2008']: f1.write('vhdl2008 ' + src_file.logical_n...
xsim.py: Compile vlog-<I> sources as sv
py
diff --git a/tests/test_lfucache.py b/tests/test_lfucache.py index <HASH>..<HASH> 100644 --- a/tests/test_lfucache.py +++ b/tests/test_lfucache.py @@ -25,7 +25,7 @@ class TestLFUcache: lfucache = LFUCache(2) def _do_set(cache, key): - cache.set(key, value=f'{key}_cached') + cac...
cant wait to drop python <I> support
py
diff --git a/tests/integration/states/test_pkg.py b/tests/integration/states/test_pkg.py index <HASH>..<HASH> 100644 --- a/tests/integration/states/test_pkg.py +++ b/tests/integration/states/test_pkg.py @@ -638,7 +638,7 @@ class PkgTest(ModuleCase, SaltReturnAssertsMixin): pkgs = { p ...
Ensure the right versionlock package is installed.
py
diff --git a/jupyterthemes/__init__.py b/jupyterthemes/__init__.py index <HASH>..<HASH> 100644 --- a/jupyterthemes/__init__.py +++ b/jupyterthemes/__init__.py @@ -175,7 +175,7 @@ def main(): "--mathfontsize", action='store', default='100', - help='mathjax fontsize (in %)') + hel...
fix the invalid string format it cause `ValueError: unsupported format character ')'` when i execute `jt -h`, is here should be written like this?
py
diff --git a/charmhelpers/contrib/openstack/utils.py b/charmhelpers/contrib/openstack/utils.py index <HASH>..<HASH> 100644 --- a/charmhelpers/contrib/openstack/utils.py +++ b/charmhelpers/contrib/openstack/utils.py @@ -434,7 +434,7 @@ def get_hostname(address, fqdn=True): if not result: return None - ...
removing is True from get_hostname fqdn comparison
py
diff --git a/openquake/engine/calculators/hazard/event_based/core.py b/openquake/engine/calculators/hazard/event_based/core.py index <HASH>..<HASH> 100644 --- a/openquake/engine/calculators/hazard/event_based/core.py +++ b/openquake/engine/calculators/hazard/event_based/core.py @@ -297,7 +297,6 @@ class GmfCalculator(o...
Removed a debugging print
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -230,6 +230,7 @@ setup(name='montblanc', 'pytools >= 2016.1', 'python-casacore >= 2.1.2', ], + setup_requires=['numpy >= 1.9.2'], package_data={'montblanc': src_pkg_dirs()}, include_package_...
Make numpy a setup requirement
py
diff --git a/gspread/httpsession.py b/gspread/httpsession.py index <HASH>..<HASH> 100644 --- a/gspread/httpsession.py +++ b/gspread/httpsession.py @@ -76,9 +76,3 @@ class HTTPSession(object): def add_header(self, name, value): self.headers[name] = value - - def close(self): - try: - ...
Removed the close() for HttpSessions. The method was broken, not used & not tested. The sessions should be closed when the process terminates anyways. If you need a close, because you are running this inside of some container, it is easy enough to iterate through the connections and close them all.
py
diff --git a/psaw/PushshiftAPI.py b/psaw/PushshiftAPI.py index <HASH>..<HASH> 100644 --- a/psaw/PushshiftAPI.py +++ b/psaw/PushshiftAPI.py @@ -214,14 +214,16 @@ class PushshiftAPIMinimal(object): data = self._get(url, self.payload) yield data - received_size = int(data['metadata']...
Change to download now works without a limit again.
py
diff --git a/cumulus/management/commands/collectstatic.py b/cumulus/management/commands/collectstatic.py index <HASH>..<HASH> 100644 --- a/cumulus/management/commands/collectstatic.py +++ b/cumulus/management/commands/collectstatic.py @@ -14,9 +14,8 @@ class Command(collectstatic.Command): if isinstance(self.s...
Fix collectstatic For some reason this has never come up before Django <I> for me however this seems to be an ancient piece of code.
py
diff --git a/fontbakery-check-ttf.py b/fontbakery-check-ttf.py index <HASH>..<HASH> 100755 --- a/fontbakery-check-ttf.py +++ b/fontbakery-check-ttf.py @@ -2979,17 +2979,13 @@ def main(): y < glyph.yMin or y > glyph.yMax or \ abs(x) > 32766 or abs(y) > 32766: failed = True - i...
make "coords out of bounds" check unconditionaly a warning (issue #<I>)
py
diff --git a/pycbc/pool.py b/pycbc/pool.py index <HASH>..<HASH> 100644 --- a/pycbc/pool.py +++ b/pycbc/pool.py @@ -134,9 +134,9 @@ def use_mpi(require_mpi=False, log=True): rank = comm.Get_rank() if size > 1: use_mpi = True - if log: - logging.info('Running under mpi wit...
Update pool.py (#<I>)
py
diff --git a/regions/core/mask.py b/regions/core/mask.py index <HASH>..<HASH> 100644 --- a/regions/core/mask.py +++ b/regions/core/mask.py @@ -210,7 +210,10 @@ class RegionMask: if cutout is None: return None else: - weighted_cutout = cutout * self.data + # ignore mu...
Ignore multiplication with non-finite values runtime warning
py
diff --git a/pyspider/fetcher/tornado_fetcher.py b/pyspider/fetcher/tornado_fetcher.py index <HASH>..<HASH> 100644 --- a/pyspider/fetcher/tornado_fetcher.py +++ b/pyspider/fetcher/tornado_fetcher.py @@ -105,6 +105,11 @@ class Fetcher(object): def fetch(self, task, callback=None): if self.async: ...
fix RuntimeError: IOLoop is already running #<I> when using with tornado.wsgi.WSGIContainer
py
diff --git a/src/scout_apm/flask/__init__.py b/src/scout_apm/flask/__init__.py index <HASH>..<HASH> 100644 --- a/src/scout_apm/flask/__init__.py +++ b/src/scout_apm/flask/__init__.py @@ -73,7 +73,7 @@ class ScoutApm(object): return view_func(**req.view_args) def process_request(self): - TrackedRe...
Remove "Flask" span in Flask instrumentation
py
diff --git a/salt/engines/slack.py b/salt/engines/slack.py index <HASH>..<HASH> 100644 --- a/salt/engines/slack.py +++ b/salt/engines/slack.py @@ -82,6 +82,7 @@ def start(token, valid_users=None, valid_commands=None, control=False, + trigger="!", tag='salt/engines/sl...
Adding the ability to specify a trigger for the Slack engine (#<I>)
py
diff --git a/dojo/bayes/NaiveBayes.py b/dojo/bayes/NaiveBayes.py index <HASH>..<HASH> 100644 --- a/dojo/bayes/NaiveBayes.py +++ b/dojo/bayes/NaiveBayes.py @@ -27,9 +27,8 @@ class NaiveBayes(BaseModel): return self def predict(self, X): - probabilities = self.predict_proba(X) return np.ar...
[Fix] simplify naive bayes predict method
py
diff --git a/insights/parsers/open_vm_tools.py b/insights/parsers/open_vm_tools.py index <HASH>..<HASH> 100644 --- a/insights/parsers/open_vm_tools.py +++ b/insights/parsers/open_vm_tools.py @@ -33,8 +33,6 @@ class OpenVmToolsStatRawTextSession(CommandParser, dict): <class 'insights.parsers.open_vm_tools.OpenV...
Remove the vmware_esxi_version attribute (#<I>) - ESXi is only one type of VMware hypervisor arch
py
diff --git a/ewmh/__init__.py b/ewmh/__init__.py index <HASH>..<HASH> 100644 --- a/ewmh/__init__.py +++ b/ewmh/__init__.py @@ -1,3 +1,3 @@ __version__ = '0.1.2' -from ewmh.ewmh import EWMH +from .ewmh import EWMH
Change to use relative import Fixes a bug where on python 2 importing results in an error because of a local module of the same name.
py
diff --git a/marrow/util/text.py b/marrow/util/text.py index <HASH>..<HASH> 100644 --- a/marrow/util/text.py +++ b/marrow/util/text.py @@ -5,7 +5,7 @@ import re -__all__ = ['normalize'] +__all__ = ['normalize', 'ellipsis', 'wrap'] NORMALIZE_EXPRESSION = re.compile('\W+') @@ -21,3 +21,34 @@ def normalize(name,...
Added ellipsis truncation and word wrapping utilities.
py
diff --git a/pyhdb/cursor.py b/pyhdb/cursor.py index <HASH>..<HASH> 100644 --- a/pyhdb/cursor.py +++ b/pyhdb/cursor.py @@ -374,7 +374,7 @@ class Cursor(object): resultset_part = response.segments[0].parts[1] if resultset_part.attribute & 1: self._received_last_resultset_part = True - ...
fixed fetchall() method which missed reading some result rows
py
diff --git a/test_path.py b/test_path.py index <HASH>..<HASH> 100644 --- a/test_path.py +++ b/test_path.py @@ -1026,6 +1026,7 @@ class TestSpecialPaths: def test_unix_paths_fallback(self, tmpdir, monkeypatch, feign_linux): "Without XDG_CONFIG_HOME set, ~/.config should be used." fake_home = tmpdi...
Don't fail if XDG_CONFIG_HOME is set for the test runner. Fixes #<I>.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -54,6 +54,7 @@ setup( 'boto3>=1.4.6', 'celery', 'colorama', + 'contextlib2', 'cryptography', 'flask<1.0.0', 'flask-appbuilder',
Add missing dep on contextlib2 (#<I>)
py
diff --git a/src/ai/backend/client/kernel.py b/src/ai/backend/client/kernel.py index <HASH>..<HASH> 100644 --- a/src/ai/backend/client/kernel.py +++ b/src/ai/backend/client/kernel.py @@ -91,8 +91,7 @@ class Kernel: 'mounts': mounts, 'environ': envs, 'clusterSize': clus...
Set default memory resource unit as MiB * It was GiB previously
py
diff --git a/rotating_proxies/middlewares.py b/rotating_proxies/middlewares.py index <HASH>..<HASH> 100644 --- a/rotating_proxies/middlewares.py +++ b/rotating_proxies/middlewares.py @@ -158,7 +158,7 @@ class RotatingProxyMiddleware(object): proxy = self.proxies.get_proxy(request.meta.get('proxy', None)) ...
reverse proxies/unchecked stat calculation method
py
diff --git a/tests/learning/handcar_tests/test_handcar_adapter.py b/tests/learning/handcar_tests/test_handcar_adapter.py index <HASH>..<HASH> 100644 --- a/tests/learning/handcar_tests/test_handcar_adapter.py +++ b/tests/learning/handcar_tests/test_handcar_adapter.py @@ -161,7 +161,9 @@ class TestObjectiveLookup(unittes...
fix pep8 in handcar tets
py
diff --git a/tests/analysis/test_delegatecall.py b/tests/analysis/test_delegatecall.py index <HASH>..<HASH> 100644 --- a/tests/analysis/test_delegatecall.py +++ b/tests/analysis/test_delegatecall.py @@ -1,7 +1,7 @@ from mythril.analysis.modules.delegatecall import execute, _concrete_call, _symbolic_call from mythril....
A small fix for CI issue.
py
diff --git a/chainlet/chainlink.py b/chainlet/chainlink.py index <HASH>..<HASH> 100644 --- a/chainlet/chainlink.py +++ b/chainlet/chainlink.py @@ -338,6 +338,11 @@ class NeutralLink(ChainLink): __nonzero__ = __bool__ + def __eq__(self, other): + if isinstance(other, self.__class__): + retu...
NeutralLink now compares equal by boolean value
py
diff --git a/sark/core.py b/sark/core.py index <HASH>..<HASH> 100644 --- a/sark/core.py +++ b/sark/core.py @@ -152,10 +152,10 @@ def get_name_or_address(ea): def get_native_size(): """Get the native word size in normal 8-bit bytes.""" info = idaapi.get_inf_structure() - if info.is_32bit(): - return...
Fixed a bug in `get_native_size` where <I> bit would show as <I>. Seems like the `is_<I>bit` and `is_<I>bit` flags are not mutually exclusive.
py
diff --git a/ceph_deploy/util/wrappers.py b/ceph_deploy/util/wrappers.py index <HASH>..<HASH> 100644 --- a/ceph_deploy/util/wrappers.py +++ b/ceph_deploy/util/wrappers.py @@ -25,6 +25,13 @@ def check_call(conn, logger, args, *a, **kw): mangle = kw.pop('mangle_exc', False) # Default to not mangle exceptions s...
set an appropriate path for the remote command
py
diff --git a/flask_sslify.py b/flask_sslify.py index <HASH>..<HASH> 100644 --- a/flask_sslify.py +++ b/flask_sslify.py @@ -40,6 +40,7 @@ class SSLify(object): for skip in self.skip_list: if request.path.startswith('/{0}'.format(skip)): return True + return False...
Have skip return False by default.
py
diff --git a/src/transformers/trainer.py b/src/transformers/trainer.py index <HASH>..<HASH> 100644 --- a/src/transformers/trainer.py +++ b/src/transformers/trainer.py @@ -389,7 +389,9 @@ class Trainer: and os.path.isfile(os.path.join(model_path, "scheduler.pt")) ): # Load in optimizer...
Map optimizer to correct device after loading from checkpoint. (#<I>) * Map optimizer to correct device after loading from checkpoint. * Make style test pass
py
diff --git a/metal/mmtl/scorer.py b/metal/mmtl/scorer.py index <HASH>..<HASH> 100644 --- a/metal/mmtl/scorer.py +++ b/metal/mmtl/scorer.py @@ -1,4 +1,4 @@ -from metal.metrics import * +from metal.metrics import metric_score from metal.mmtl.utils import utils
Update scorer to fix make check bugs
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -343,6 +343,7 @@ setup(name='galpy', "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", + "Programming Language :: Pytho...
Add python <I> to setup.py [ci skip]
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ import os # Set the package release version major = 1 minor = 6 -patch = 0 +patch = 1 # Set the package details name = 'modopt'
Update patch version (#<I>) * Add support for tensorflow backend which allows for differentiability (#<I>) * Added support for tensorflow * Updates to get tests passing * Or --> And * Moving modopt to allow working with tensorflow * Fix issues with wos * Fix all flakes finally! * Update modopt/bas...
py
diff --git a/py/selenium/webdriver/support/expected_conditions.py b/py/selenium/webdriver/support/expected_conditions.py index <HASH>..<HASH> 100644 --- a/py/selenium/webdriver/support/expected_conditions.py +++ b/py/selenium/webdriver/support/expected_conditions.py @@ -22,6 +22,7 @@ from selenium.common.exceptions imp...
[py] Correct frame switching expected condition During PRs a conflict didn't get landed properly. This should fix it.
py
diff --git a/sorl_watermarker/engines/pgmagick_engine.py b/sorl_watermarker/engines/pgmagick_engine.py index <HASH>..<HASH> 100644 --- a/sorl_watermarker/engines/pgmagick_engine.py +++ b/sorl_watermarker/engines/pgmagick_engine.py @@ -22,9 +22,13 @@ class Engine(WatermarkEngineBase, MagickEngine): ...
watermark tiling added for pgmagick
py
diff --git a/changuito/proxy.py b/changuito/proxy.py index <HASH>..<HASH> 100644 --- a/changuito/proxy.py +++ b/changuito/proxy.py @@ -112,7 +112,7 @@ class CartProxy: def merge(self, cart_id, new_user): # TODO: Replace where I used merge in favour or replace - return self.replace(self, cart_id, ...
Fixing little issue with non-yet-deprecated merge method
py
diff --git a/rtsp/ffmpegstream.py b/rtsp/ffmpegstream.py index <HASH>..<HASH> 100644 --- a/rtsp/ffmpegstream.py +++ b/rtsp/ffmpegstream.py @@ -19,10 +19,6 @@ class Client: self._verbose = verbose self._bg = False - self._stream = cv2.VideoCapture(self.rtsp_server_uri) - if self._verbos...
Enabling of stream restart. Moves stream start command to the open call so not only the thread but also the stream starts upon open call. This is useful in case the stream accidentally stopped.
py
diff --git a/pyocd/target/family/target_imxrt.py b/pyocd/target/family/target_imxrt.py index <HASH>..<HASH> 100644 --- a/pyocd/target/family/target_imxrt.py +++ b/pyocd/target/family/target_imxrt.py @@ -107,7 +107,7 @@ class CortexM7_IMXRT(CortexM): value = self.read_memory(CortexM.DEMCR) self...
target family: imxrt: fix log exception if vectable_addr is None. (#<I>)
py
diff --git a/tests.py b/tests.py index <HASH>..<HASH> 100644 --- a/tests.py +++ b/tests.py @@ -221,7 +221,7 @@ class TestDraft4( validate([1], {"minItems" : "1"}, cls=self.validator_class) -class RemoteRefResolution(unittest.TestCase): +class RemoteRefResolutionMixin(object): def setUp(self): ...
Make it obvious that this is a Mixin.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ CLASS_VERSION = '2.5.0' MAJOR = 0 MINOR = 1 MICRO = 8 -ISRELEASED = True +ISRELEASED = False VERSION = '%d.%d.%d' % (MAJOR, MINOR, MICRO) DISTNAME = 'classylss'
bump to version <I>.dev0
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -17,5 +17,7 @@ setup( include_package_data=True, zip_safe=False, extras_require={'amqp': ['amqplib==1.0.2']}, - + classifiers=['License :: OSI Approved :: BSD License', + 'Programming Language...
Be explicit about BSD License and Python 2 and 3 compatibility
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -6,6 +6,30 @@ setup( name='pointfree', version='1.0.0', description='Pointfree style toolkit for Python', + long_description=""" +pointfree is a small module that makes certain functional programming +constru...
Added long_description for PyPI
py
diff --git a/dbt/adapters/cache.py b/dbt/adapters/cache.py index <HASH>..<HASH> 100644 --- a/dbt/adapters/cache.py +++ b/dbt/adapters/cache.py @@ -184,13 +184,14 @@ class RelationsCache(object): known relation is a key with a value of a list of keys it is referenced by. """ - # we have...
handle a subtle iteration issue in the cache with extra locking
py
diff --git a/neuropythy/test/__init__.py b/neuropythy/test/__init__.py index <HASH>..<HASH> 100644 --- a/neuropythy/test/__init__.py +++ b/neuropythy/test/__init__.py @@ -88,7 +88,7 @@ class TestNeuropythy(unittest.TestCase): self.assertTrue(os.path.isdir(dset.cache_directory)) # pick 1 of the subject...
probably: some subjects have weird meshes where a small finite number of vertices come out as NaNs in interpolation due to mesh defects; the tests fail for these, but is probably performing correctly
py