diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/django_countries/ioc_data.py b/django_countries/ioc_data.py index <HASH>..<HASH> 100644 --- a/django_countries/ioc_data.py +++ b/django_countries/ioc_data.py @@ -165,7 +165,7 @@ IOC_TO_ISO = { "SLE": "SL", "SLO": "SI", "SMR": "SM", - "SNG": "SG", + "SGP": "SG", "SOL": "SB", "...
fix IOC code singapore should be only known by historic code SIN or the new code SGP. SNG is an unknown IOC code. <URL>
py
diff --git a/lib/reddening.py b/lib/reddening.py index <HASH>..<HASH> 100644 --- a/lib/reddening.py +++ b/lib/reddening.py @@ -28,6 +28,7 @@ class CustomRedLaw(object): throughput=T, name='%s(Av=%g)'%(self.name,extval) ...
Propagate literature reference through to a calculated extinction in a .citation attribute git-svn-id: <URL>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -40,11 +40,7 @@ setup( tests_require=['mock', 'pytest', 'sh>=1.08'], extras_require={ 'yaml': ['PyYAML>=3.10'], - # See https://github.com/kennethreitz/requests/issues/5067 - # We need to stay ...
chore(dependencies): unpin urllib3 (#<I>)
py
diff --git a/dwavebinarycsp/factories/csp/circuits.py b/dwavebinarycsp/factories/csp/circuits.py index <HASH>..<HASH> 100644 --- a/dwavebinarycsp/factories/csp/circuits.py +++ b/dwavebinarycsp/factories/csp/circuits.py @@ -65,8 +65,8 @@ def multiplication_circuit(nbit, vartype=dimod.BINARY): CARRY = defaultdict(di...
Fix i,j convention in circuits.py
py
diff --git a/pyflatten.py b/pyflatten.py index <HASH>..<HASH> 100644 --- a/pyflatten.py +++ b/pyflatten.py @@ -4,7 +4,10 @@ Intelligent & Probabilistic Systems Group) Packaged by: Eric J. Ma (MIT) """ -import numpy as np +try: + import autograd.numpy as np +except ImportError: + import numpy as np from opera...
Changed to use autograd bumpy where possible.
py
diff --git a/spyder/widgets/mixins.py b/spyder/widgets/mixins.py index <HASH>..<HASH> 100644 --- a/spyder/widgets/mixins.py +++ b/spyder/widgets/mixins.py @@ -24,22 +24,21 @@ from qtpy.QtGui import QCursor, QTextCursor, QTextDocument from qtpy.QtWidgets import QApplication, QToolTip from qtpy import QT_VERSION -...
Use check_version for comparing if version is greater than QT<I>.
py
diff --git a/examples/async-client/app.py b/examples/async-client/app.py index <HASH>..<HASH> 100644 --- a/examples/async-client/app.py +++ b/examples/async-client/app.py @@ -13,7 +13,7 @@ SECRET = '2817b66a1d5829847196cf2f96ab2816' OPENID = 'ozJS1syaqn5ztglMsr8ceH8o2zCQ' -class ExampleHandler(tornado.web.RequestH...
Update async-client example.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -73,7 +73,7 @@ setup( classifiers=[ # See: https://pypi.python.org/pypi?:action=list_classifiers - 'Development Status :: 4 - Beta', + 'Development Status :: 5 - Production/Stable', 'Inte...
We left beta a while ago.
py
diff --git a/pywal/util.py b/pywal/util.py index <HASH>..<HASH> 100644 --- a/pywal/util.py +++ b/pywal/util.py @@ -33,6 +33,16 @@ class Color: return "[%s]%s" % (self.alpha_num, self.hex_color) @property + def octal(self): + """Export color in octal""" + return "%s%s" % ("#", oct(int(se...
export: Added octal support. Closes #<I>
py
diff --git a/tests/test_file_configuration.py b/tests/test_file_configuration.py index <HASH>..<HASH> 100644 --- a/tests/test_file_configuration.py +++ b/tests/test_file_configuration.py @@ -39,6 +39,24 @@ def test_file_configuration_from_string_local_variables_take_precedence( assert fconf.config['mark'] == 'just...
Added a test to check that GLOBAL variables are no more replaces in file configuration
py
diff --git a/raiden/ui/cli.py b/raiden/ui/cli.py index <HASH>..<HASH> 100644 --- a/raiden/ui/cli.py +++ b/raiden/ui/cli.py @@ -784,7 +784,18 @@ def smoketest(ctx, debug, **kwargs): """ Test, that the raiden installation is sane. """ from raiden.api.python import RaidenAPI - from raiden.blockchain.abi ...
closes #<I> binary distributions don't need solc
py
diff --git a/openquake/calculators/tests/disagg_test.py b/openquake/calculators/tests/disagg_test.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/tests/disagg_test.py +++ b/openquake/calculators/tests/disagg_test.py @@ -63,6 +63,7 @@ class DisaggregationTestCase(CalculatorTestCase): # disaggregati...
Fixed disaggregation test [skip hazardlib] Former-commit-id: <I>ecf6b<I>db<I>b<I>d<I>dfcc<I>c
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ yahdlc = Extension( setup( name = 'python4yahdlc', - version = '0.1.0', + version = '1.0.0', description = 'Python bindings for the yahdlc library', license = 'GPLv3', keywords = 'hdlc yahdlc bindings',
update version in 'setup.py' file
py
diff --git a/openquake/engine/input/logictree.py b/openquake/engine/input/logictree.py index <HASH>..<HASH> 100644 --- a/openquake/engine/input/logictree.py +++ b/openquake/engine/input/logictree.py @@ -649,7 +649,8 @@ class SourceModelLogicTree(BaseLogicTree): """ Source model logic tree parser. """ - ...
input/logictree: Characteristic sources are no longer ignored when validating logic trees. Former-commit-id: ce<I>b<I>d3f<I>d<I>f<I>e9facc<I>b3bb<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -44,7 +44,7 @@ setup( author='Michael Helmling', author_email='michaelhelmling@posteo.de', url='http://github.com/supermihi/pytaglib', - install_requires=['cython>=0.16'], + setup_requires=['cython>=0.16']...
Fix: install_requires->setup_requires
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -35,6 +35,8 @@ setup( 'Intended Audience :: Science/Research', 'License :: OSI Approved :: Apache Software License', 'Operating System :: POSIX :: Linux', + 'Operating System :: MacOS :: MacOS...
added MacOSX and Windows classifiers
py
diff --git a/indra/preassembler/grounding_mapper.py b/indra/preassembler/grounding_mapper.py index <HASH>..<HASH> 100644 --- a/indra/preassembler/grounding_mapper.py +++ b/indra/preassembler/grounding_mapper.py @@ -181,8 +181,13 @@ class GroundingMapper(object): # Check if a deft model exists for agent t...
Fix PMID setting and wrap in try/except
py
diff --git a/revproxy/views.py b/revproxy/views.py index <HASH>..<HASH> 100644 --- a/revproxy/views.py +++ b/revproxy/views.py @@ -58,8 +58,8 @@ class ProxyView(View): def dispatch(self, request, path): # Rewrite implementation + full_path = request.get_full_path() for from_re, to_patter...
Removed unnecessary assignment inside a loop
py
diff --git a/datafilters/views.py b/datafilters/views.py index <HASH>..<HASH> 100644 --- a/datafilters/views.py +++ b/datafilters/views.py @@ -20,7 +20,9 @@ class FilterFormMixin(MultipleObjectMixin): def get_queryset(self): qs = super(FilterFormMixin, self).get_queryset() - qs = self.get_filter(...
Check filterform validity before calling filter()
py
diff --git a/django_enumfield/enum.py b/django_enumfield/enum.py index <HASH>..<HASH> 100644 --- a/django_enumfield/enum.py +++ b/django_enumfield/enum.py @@ -40,6 +40,15 @@ class Enum(NativeIntEnum): return path, [self.value], {} @classmethod + def items(cls): + """ + :return: List of ...
Add Enum.items method
py
diff --git a/autofixture/__init__.py b/autofixture/__init__.py index <HASH>..<HASH> 100644 --- a/autofixture/__init__.py +++ b/autofixture/__init__.py @@ -12,7 +12,7 @@ else: string_types = str -__version__ = '0.9.2' +__version__ = '0.10.0' REGISTRY = {}
Preparing <I> release.
py
diff --git a/oandapyV20/contrib/requests/marketorder.py b/oandapyV20/contrib/requests/marketorder.py index <HASH>..<HASH> 100644 --- a/oandapyV20/contrib/requests/marketorder.py +++ b/oandapyV20/contrib/requests/marketorder.py @@ -128,12 +128,10 @@ class MarketOrderRequest(BaseRequest): if priceBound: ...
try/except replace by if because hasattr does not raise an exception
py
diff --git a/raiden_contracts/tests/test_token.py b/raiden_contracts/tests/test_token.py index <HASH>..<HASH> 100644 --- a/raiden_contracts/tests/test_token.py +++ b/raiden_contracts/tests/test_token.py @@ -28,6 +28,11 @@ def test_approve_transfer(web3, custom_token, get_accounts): assert token.functions.balanceOf...
Adds approve and allowance checks. Resolves #<I>
py
diff --git a/raiden/tests/integration/test_stress.py b/raiden/tests/integration/test_stress.py index <HASH>..<HASH> 100644 --- a/raiden/tests/integration/test_stress.py +++ b/raiden/tests/integration/test_stress.py @@ -296,7 +296,6 @@ def assert_channels(raiden_network, token_network_identifier, deposit): @pytest.mark...
stress test: unskipped it [ci integration]
py
diff --git a/django_afip/admin.py b/django_afip/admin.py index <HASH>..<HASH> 100644 --- a/django_afip/admin.py +++ b/django_afip/admin.py @@ -259,11 +259,8 @@ class TaxPayerAdmin(admin.ModelAdmin): def fetch_points_of_sales(self, request, queryset): poses = [ pos - for taxpayer_po...
Simplify a nested loop For some reason this was written in a very very unreadable way (probably a result of rewrites and patches). Make this readable again.
py
diff --git a/tests/test_format_and_parse.py b/tests/test_format_and_parse.py index <HASH>..<HASH> 100644 --- a/tests/test_format_and_parse.py +++ b/tests/test_format_and_parse.py @@ -1088,3 +1088,7 @@ from benn.college_football_players expected_json = {'select': {'value': 't1.field1'}, ...
Includes test that verifies that the CASE clause doesn't include speech marks after the format function
py
diff --git a/lib/hmmlearn/tests/test_gmm_hmm_new.py b/lib/hmmlearn/tests/test_gmm_hmm_new.py index <HASH>..<HASH> 100644 --- a/lib/hmmlearn/tests/test_gmm_hmm_new.py +++ b/lib/hmmlearn/tests/test_gmm_hmm_new.py @@ -1,5 +1,3 @@ -import sys - import numpy as np import pytest @@ -146,9 +144,6 @@ class GMMHMMTestMixin:...
macOS xfail seems to have fixed itself.
py
diff --git a/allegedb/allegedb/__init__.py b/allegedb/allegedb/__init__.py index <HASH>..<HASH> 100644 --- a/allegedb/allegedb/__init__.py +++ b/allegedb/allegedb/__init__.py @@ -830,8 +830,8 @@ class ORM(object): while branch in _branches: # ``par`` is the parent branch; # ``(trn, tc...
Undo part of my "fix" to _iter_parent_btt
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -57,6 +57,10 @@ setup( # that you indicate whether you support Python 2, Python 3 or both. 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', + 'Programming Langua...
update setup file to include <I>, <I>, and <I>
py
diff --git a/pecan_notario/decorator.py b/pecan_notario/decorator.py index <HASH>..<HASH> 100644 --- a/pecan_notario/decorator.py +++ b/pecan_notario/decorator.py @@ -1,12 +1,13 @@ -from pecan import request, redirect +from pecan import request, response, redirect import json import notario +from notario.exceptions...
allow to slap an HTTP response code when invalid
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -40,9 +40,9 @@ setup(name="karabo_bridge", packages=find_packages(), entry_points={ 'console_scripts': [ - 'krbb_glimpse=karabo_bridge.cli.commandline:glimpse', - 'krbb_monito...
Change _ to - in command names
py
diff --git a/openid/cryptutil.py b/openid/cryptutil.py index <HASH>..<HASH> 100644 --- a/openid/cryptutil.py +++ b/openid/cryptutil.py @@ -76,6 +76,8 @@ except ImportError: return bytes(b) def binaryToLong(s): + if isinstance(s, str): + s = s.encode("utf-8") b = bytearray(s) ...
Ensure binaryToLong is always working with bytes
py
diff --git a/ailment/converter_vex.py b/ailment/converter_vex.py index <HASH>..<HASH> 100644 --- a/ailment/converter_vex.py +++ b/ailment/converter_vex.py @@ -501,7 +501,8 @@ class VEXIRSBConverter(Converter): # TODO: is there a conditional call? ret_reg_offset = manager.arch.ret_offset - ...
VEXIRSBConverter: Fix a missing regname. (#<I>)
py
diff --git a/basil/TL/SiTcp.py b/basil/TL/SiTcp.py index <HASH>..<HASH> 100644 --- a/basil/TL/SiTcp.py +++ b/basil/TL/SiTcp.py @@ -28,7 +28,7 @@ class SiTcp(SiTransferLayer): RBCP_ID = 0xa5 RBCP_MAX_SIZE = 255 - UDP_TIMEOUT = 0.5 + UDP_TIMEOUT = 10.0 UDP_RETRANSMIT_CNT = 0 # TODO BASE_DAT...
ENh: increase UDP timeout to fix edge cases where high throughput can lead to a timeout error
py
diff --git a/dipper/models/Genotype.py b/dipper/models/Genotype.py index <HASH>..<HASH> 100644 --- a/dipper/models/Genotype.py +++ b/dipper/models/Genotype.py @@ -87,7 +87,8 @@ class Genotype(): 'is_transgene_variant_of': 'GENO:0000444', 'has_expression-variant_part' : 'GENO:0000532', 'target...
add new relationship feature_to_gene
py
diff --git a/shoebot/gtkui.py b/shoebot/gtkui.py index <HASH>..<HASH> 100644 --- a/shoebot/gtkui.py +++ b/shoebot/gtkui.py @@ -36,13 +36,15 @@ class ShoebotDrawingArea(gtk.DrawingArea): self.bot.canvas.setsurface(target=surface) - # check inputscript for size and whether is a static script or not ...
fixed a problem with my previous workaround for detecting static or dynamic scripts
py
diff --git a/tests/test_DFA.py b/tests/test_DFA.py index <HASH>..<HASH> 100644 --- a/tests/test_DFA.py +++ b/tests/test_DFA.py @@ -59,6 +59,11 @@ class TestRunAcceptance(TestCase): """ Tests a dict() in input different from a well formatted dict() representing a DFA. [EXPECTED FAILURE]""" DFA.run_acce...
DFA tests added a side effect check
py
diff --git a/tethne/model/corpus/mallet.py b/tethne/model/corpus/mallet.py index <HASH>..<HASH> 100644 --- a/tethne/model/corpus/mallet.py +++ b/tethne/model/corpus/mallet.py @@ -119,7 +119,7 @@ class LDAModel(Model): """ - mallet_path = os.path.join(os.cwd, 'tethne', 'bin', 'mallet-2.0.7') + mallet_path...
minor fix in testing due to windows oddities
py
diff --git a/atrcopy/segments.py b/atrcopy/segments.py index <HASH>..<HASH> 100644 --- a/atrcopy/segments.py +++ b/atrcopy/segments.py @@ -753,7 +753,12 @@ class DefaultSegment(object): r = r2 - r1 c = c2 - c1 indexes = np.tile(np.arange(c), r) + np.repeat(np.arange(r) * bytes_per...
Fixed rectangle style setting if segment has an incomplete last line
py
diff --git a/tests/test_class.py b/tests/test_class.py index <HASH>..<HASH> 100644 --- a/tests/test_class.py +++ b/tests/test_class.py @@ -79,8 +79,10 @@ class TestGCloudStorageClass: @classmethod def teardown_class(cls): + # noinspection PyUnresolvedReferences cls.storage.bucket.delete(forc...
Cleanup some PyCharm warnings and such
py
diff --git a/elifetools/parseJATS.py b/elifetools/parseJATS.py index <HASH>..<HASH> 100644 --- a/elifetools/parseJATS.py +++ b/elifetools/parseJATS.py @@ -366,7 +366,7 @@ def abstract(soup): if abstract_list: abstract = first(filter(lambda tag: tag.get("abstract_type") is None, abstract_list)) if abs...
Fix for when article has no abstract.
py
diff --git a/src/base.py b/src/base.py index <HASH>..<HASH> 100644 --- a/src/base.py +++ b/src/base.py @@ -82,6 +82,8 @@ class JoyceHub(Module): with self.lock: channels = self.channels.values() for channel in channels: + if channel is No...
base: fix bug in broadcast_message The code did not anticipate the short-lived stub entries created by _generate_token.
py
diff --git a/visidata/vd.py b/visidata/vd.py index <HASH>..<HASH> 100755 --- a/visidata/vd.py +++ b/visidata/vd.py @@ -1549,11 +1549,12 @@ class Column: # ---- Column makers -def ColumnAttr(attrname, type=anytype): +def ColumnAttr(attrname, type=anytype, **kwargs): """Return Column object with `attrname` from...
Forward kwargs through ColumnAttr
py
diff --git a/src/foremast/pipeline/renumerate_stages.py b/src/foremast/pipeline/renumerate_stages.py index <HASH>..<HASH> 100644 --- a/src/foremast/pipeline/renumerate_stages.py +++ b/src/foremast/pipeline/renumerate_stages.py @@ -58,7 +58,7 @@ def renumerate_stages(pipeline): stages = pipeline['stages'] ma...
added alernate condition for initial pipeline stage assignemnt
py
diff --git a/sensorimotor/experiments/capacity/experiment.py b/sensorimotor/experiments/capacity/experiment.py index <HASH>..<HASH> 100755 --- a/sensorimotor/experiments/capacity/experiment.py +++ b/sensorimotor/experiments/capacity/experiment.py @@ -77,7 +77,7 @@ DEFAULTS = { "initConnectedPct": 0.5 } } -VERB...
Turn up verbosity by default
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -54,7 +54,7 @@ master_doc = 'index' # General information about the project. project = '<PROJECT_NAME>' -copyright = '2019, The Ethereum Foundation' +copyright = '2020, The Ethereum Foundation' __version...
Update docs copyright to the year <I>
py
diff --git a/neo4jrestclient/tests.py b/neo4jrestclient/tests.py index <HASH>..<HASH> 100644 --- a/neo4jrestclient/tests.py +++ b/neo4jrestclient/tests.py @@ -556,6 +556,11 @@ class ExtensionsTestCase(TraversalsTestCase): pass clientDebug.DEBUG = False + def test_gremlin_extension_reference_r...
Added a test for issue #<I>, returns=RAW
py
diff --git a/ipyrad/assemble/consens_se.py b/ipyrad/assemble/consens_se.py index <HASH>..<HASH> 100644 --- a/ipyrad/assemble/consens_se.py +++ b/ipyrad/assemble/consens_se.py @@ -338,7 +338,8 @@ class Step5: try: job.get() except Exception as inst: - ...
Fix a bug in step 5 handling of RemoteError during indexing alleles.
py
diff --git a/programs/thellier_gui.py b/programs/thellier_gui.py index <HASH>..<HASH> 100755 --- a/programs/thellier_gui.py +++ b/programs/thellier_gui.py @@ -275,7 +275,7 @@ class Arai_GUI(wx.Frame): else: from dialogs import demag_dialogs ui_dialog = demag_dialogs.user_input(self,['...
removed check for data model in thellier GUI because of wx._core.wxAssertionError which seems to be caused by starting a dialog before the wx.App MainLoop in wxpython Phoenix
py
diff --git a/cmdlet/__init__.py b/cmdlet/__init__.py index <HASH>..<HASH> 100644 --- a/cmdlet/__init__.py +++ b/cmdlet/__init__.py @@ -16,7 +16,7 @@ import cmds __license__ = "MIT" __author__ = "Gary Lee <garywlee@gmail.com>" -__version__ = "0.2" +__version__ = "0.2.1" __docformat__ = "reStructuredText" __all__...
Updated version to <I>.
py
diff --git a/phono3py/phonon/grid.py b/phono3py/phonon/grid.py index <HASH>..<HASH> 100644 --- a/phono3py/phonon/grid.py +++ b/phono3py/phonon/grid.py @@ -309,7 +309,7 @@ class BZGrid: def microzone_lattice(self): """Basis vectors of microzone. - Basis vectors of microzone of GR-grid. + Ba...
Very minor update of docstring of microzone
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ setuptools.setup( test_suite='nose.collector', tests_require=['nose'], classifiers=[ - 'Development Status :: 5 - Production/Stable', + 'Development Status :: 2 - Pre-Alpha', ...
Decrease development status from 5 to 2 due to API hiccups
py
diff --git a/pycbc/ahope/segment_utils.py b/pycbc/ahope/segment_utils.py index <HASH>..<HASH> 100644 --- a/pycbc/ahope/segment_utils.py +++ b/pycbc/ahope/segment_utils.py @@ -195,6 +195,7 @@ def setup_segment_gen_mixed(workflow, ifos, veto_categories, start_time, segFilesDict[ifo] = {} currSciSegs, cu...
Add SCIENCE file to segsDict
py
diff --git a/oct2py/session.py b/oct2py/session.py index <HASH>..<HASH> 100644 --- a/oct2py/session.py +++ b/oct2py/session.py @@ -637,7 +637,7 @@ class _Session(object): resp = [] syntax_error = False while 1: - line = self.expect(['\n', '\A[\w ]*>']) + line = self....
Clean up debug prompt finding regex
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -96,12 +96,12 @@ pygments_style = 'sphinx' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the # documentation. -...
using full documentation theme to provide toc
py
diff --git a/core/polyaxon/tracking/contrib/keras.py b/core/polyaxon/tracking/contrib/keras.py index <HASH>..<HASH> 100644 --- a/core/polyaxon/tracking/contrib/keras.py +++ b/core/polyaxon/tracking/contrib/keras.py @@ -25,18 +25,14 @@ from polyaxon.utils.np_utils import sanitize_np_types try: from tensorflow im...
Remove private TensorFlow API imports
py
diff --git a/hvac/v1/__init__.py b/hvac/v1/__init__.py index <HASH>..<HASH> 100644 --- a/hvac/v1/__init__.py +++ b/hvac/v1/__init__.py @@ -282,21 +282,30 @@ class Client(object): def create_token(self, id=None, policies=None, meta=None, no_parent=False, lease=None, display_name=None, - ...
support creating an orphan token, and additional parameters
py
diff --git a/telethon/telegram_client.py b/telethon/telegram_client.py index <HASH>..<HASH> 100644 --- a/telethon/telegram_client.py +++ b/telethon/telegram_client.py @@ -1111,6 +1111,7 @@ class TelegramClient(TelegramBareClient): have = 0 batch_size = min(max(batch_size, 1), 100) while have ...
Faster iter_messages by sleeping only as much as needed
py
diff --git a/tests/conftest.py b/tests/conftest.py index <HASH>..<HASH> 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -13,4 +13,7 @@ def pgpdump(request): if 'test_PGPKeys.TestPGPPublicKey' in str(request.cls): pgpd_args.append(request._funcargs['load_pub']) + if 'test_PGPKeys.TestPGPPriv...
pgpdump fixture knows about TestPGPPrivateKey now
py
diff --git a/tests/test_spooling.py b/tests/test_spooling.py index <HASH>..<HASH> 100644 --- a/tests/test_spooling.py +++ b/tests/test_spooling.py @@ -227,7 +227,8 @@ class SendEmailTestCase(SimpleTestCase): # schedule call self.assertIsNone(mtp_common.tasks.send_email(*email_args, **email_kwargs)) ...
Compare dictionaries rather than pickled dictionaries … because non-stable key order can result in different binary representations
py
diff --git a/exchangelib/folders/queryset.py b/exchangelib/folders/queryset.py index <HASH>..<HASH> 100644 --- a/exchangelib/folders/queryset.py +++ b/exchangelib/folders/queryset.py @@ -43,6 +43,7 @@ class FolderQuerySet: from .base import Folder # Subfolders will always be of class Folder a...
Accept attribute fields 'id' and 'changekey' in .only() on folder querysets.
py
diff --git a/tpot/base.py b/tpot/base.py index <HASH>..<HASH> 100644 --- a/tpot/base.py +++ b/tpot/base.py @@ -792,10 +792,11 @@ class TPOTBase(BaseEstimator): if not self._optimized_pipeline: raise RuntimeError('There was an error in the TPOT optimization ' ...
Make an error message more user friendly for people who have errors in their custom scoring functions.
py
diff --git a/treeCl/collection.py b/treeCl/collection.py index <HASH>..<HASH> 100755 --- a/treeCl/collection.py +++ b/treeCl/collection.py @@ -415,7 +415,7 @@ class Scorer(object): def records(self): return self.collection.records - def add_lnl_partitions(self, partitions, threads=1, use_calculated_f...
Fixed missing batchsize param in Scorer.get_likelihood and child fns
py
diff --git a/djangodblog/middleware.py b/djangodblog/middleware.py index <HASH>..<HASH> 100644 --- a/djangodblog/middleware.py +++ b/djangodblog/middleware.py @@ -1,6 +1,7 @@ import traceback import socket import warnings +import datetime from django.conf import settings from django.http import Http404 @@ -40,6 ...
Fix for #<I>: last_seen date was not updating.
py
diff --git a/test/test_chat_client.py b/test/test_chat_client.py index <HASH>..<HASH> 100644 --- a/test/test_chat_client.py +++ b/test/test_chat_client.py @@ -1,3 +1,4 @@ +import select import sys import threading @@ -31,6 +32,27 @@ class IRCChatClient(chat.IRCClient): self.out_connection.nickname in se...
Handle read before write for server, to receive last sent commands
py
diff --git a/salt/states/git.py b/salt/states/git.py index <HASH>..<HASH> 100644 --- a/salt/states/git.py +++ b/salt/states/git.py @@ -212,7 +212,7 @@ def latest(name, identity=identity) elif rev: - cmd = "git rev-parse " + rev + ...
Change the check for git rev-parse to fail if the SHA is not found. Refs #<I>.
py
diff --git a/scripts/ci/index_ref_doc.py b/scripts/ci/index_ref_doc.py index <HASH>..<HASH> 100644 --- a/scripts/ci/index_ref_doc.py +++ b/scripts/ci/index_ref_doc.py @@ -61,7 +61,7 @@ class TestIndexRefDocsMeta(type): try: check_call(script_args) except CalledProc...
fix trackback print exc bug (#<I>)
py
diff --git a/xapian_backend.py b/xapian_backend.py index <HASH>..<HASH> 100755 --- a/xapian_backend.py +++ b/xapian_backend.py @@ -640,9 +640,10 @@ class SearchBackend(BaseSearchBackend): year=date_range.year + int(gap_value) ) elif gap_type == 'month': - ...
Fix for date facet when gap by month amount is larger than 1
py
diff --git a/src/rez/package_bind.py b/src/rez/package_bind.py index <HASH>..<HASH> 100644 --- a/src/rez/package_bind.py +++ b/src/rez/package_bind.py @@ -150,9 +150,9 @@ def _bind_package(name, path=None, version_range=None, bind_args=None, raise RezBindError("Bind module not found for '%s'" % name) # ...
exec statement made py2/3 compatible
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -37,6 +37,7 @@ setup( name='WrightTools', packages=find_packages(), package_data={'': extra_files}, + python_requires='>=3.5', setup_requires=['pytest-runner'], tests_require=['pytest', 'pytest-cov'...
Add python_requires to setup.py (#<I>)
py
diff --git a/lib/svtplay_dl/service/tv4play.py b/lib/svtplay_dl/service/tv4play.py index <HASH>..<HASH> 100644 --- a/lib/svtplay_dl/service/tv4play.py +++ b/lib/svtplay_dl/service/tv4play.py @@ -28,7 +28,7 @@ class Tv4play(Service, OpenGraphThumbMixin): parse = urlparse(self.url) if "tv4play.se" in se...
tv4play: parse.query instead of [4]
py
diff --git a/salt/modules/apache.py b/salt/modules/apache.py index <HASH>..<HASH> 100644 --- a/salt/modules/apache.py +++ b/salt/modules/apache.py @@ -446,11 +446,15 @@ def config(name, config, edit=True): salt '*' apache.config /etc/httpd/conf.d/ports.conf config="[{'Listen': '22'}]" ''' + configs =...
Fix apache.config with multiple statement At this moment when you post more than one statement in config only last is used. Also file is rewrited multiple times until last statement is written. Example: salt '*' apache.config /etc/httpd/conf.d/ports.conf config="[{'Listen': '<I>'}, {'Proxy': "Something"}]" Ends only wi...
py
diff --git a/testing/conftest.py b/testing/conftest.py index <HASH>..<HASH> 100644 --- a/testing/conftest.py +++ b/testing/conftest.py @@ -25,7 +25,7 @@ class LsofFdLeakChecker(object): for line in out.split("\n"): if isopen(line): fields = line.split('\0') - fd = i...
Remove cast of fd to int and sorting Casting of fd can break for non-numeric fd (e.g.: "rtd" on Linux) and isn't necessary since we don't need to sort. --HG-- branch : refactor_LsofFdLeakChecker
py
diff --git a/salt/states/linux_acl.py b/salt/states/linux_acl.py index <HASH>..<HASH> 100644 --- a/salt/states/linux_acl.py +++ b/salt/states/linux_acl.py @@ -54,7 +54,7 @@ def present(name, acl_type, acl_name='', perms='', recurse=False): if _current_perms[name].get(acl_type, None): try: use...
Lint fix. Multiple exceptions should be enclosed in parens
py
diff --git a/openquake/job/__init__.py b/openquake/job/__init__.py index <HASH>..<HASH> 100644 --- a/openquake/job/__init__.py +++ b/openquake/job/__init__.py @@ -214,12 +214,6 @@ def prepare_config_parameters(params, sections): def get_source_models(logic_tree): """Returns the source models soft-linked by the gi...
NRML schema path is already set when creating the JVM.
py
diff --git a/mythril/interfaces/cli.py b/mythril/interfaces/cli.py index <HASH>..<HASH> 100644 --- a/mythril/interfaces/cli.py +++ b/mythril/interfaces/cli.py @@ -48,7 +48,7 @@ def main(): outputs = parser.add_argument_group('output formats') outputs.add_argument('-o', '--outform', choices=['text', 'markdow...
List 'markdown' option in command line help
py
diff --git a/pyros/rosinterface/ros_interface.py b/pyros/rosinterface/ros_interface.py index <HASH>..<HASH> 100644 --- a/pyros/rosinterface/ros_interface.py +++ b/pyros/rosinterface/ros_interface.py @@ -449,10 +449,22 @@ class RosInterface(BaseInterface): diff_opt=True, ...
now fails with explanation if ConnectionCacheProxy not available in rocon_python_comms.
py
diff --git a/greenwich/io.py b/greenwich/io.py index <HASH>..<HASH> 100644 --- a/greenwich/io.py +++ b/greenwich/io.py @@ -62,8 +62,8 @@ class VSIFile(object): def close(self): if not self.closed: - gdal.VSIFCloseL(self._vsif) self.closed = True + gdal.VSIFCloseL(self....
Add MemFileIO delete flag to free on close by default
py
diff --git a/PyKCS11/__init__.py b/PyKCS11/__init__.py index <HASH>..<HASH> 100644 --- a/PyKCS11/__init__.py +++ b/PyKCS11/__init__.py @@ -1231,7 +1231,7 @@ class Session(object): t = self._template2ckattrlist(template) ck_handle = PyKCS11.LowLevel.CK_OBJECT_HANDLE() m = PyKCS11.LowLevel.CK_M...
pep8: Fix E<I> at least two spaces before inline comment
py
diff --git a/timeside/core/processor.py b/timeside/core/processor.py index <HASH>..<HASH> 100644 --- a/timeside/core/processor.py +++ b/timeside/core/processor.py @@ -342,7 +342,6 @@ def _list_processors_csv_rec(interface, csv_file): except: parents = '' - proc_file_path = os.pa...
[core] remove trailing spaces in processor.py
py
diff --git a/sovrin_client/test/cli/test_command_reg_ex.py b/sovrin_client/test/cli/test_command_reg_ex.py index <HASH>..<HASH> 100644 --- a/sovrin_client/test/cli/test_command_reg_ex.py +++ b/sovrin_client/test/cli/test_command_reg_ex.py @@ -150,6 +150,7 @@ def testShowClaimRegEx(grammar): assertCliTokens(matched...
changes done during merging from latest master branch code
py
diff --git a/blockstack_client/backend/utxo/insight_api.py b/blockstack_client/backend/utxo/insight_api.py index <HASH>..<HASH> 100644 --- a/blockstack_client/backend/utxo/insight_api.py +++ b/blockstack_client/backend/utxo/insight_api.py @@ -38,8 +38,9 @@ class InsightClient(object): try: req = r...
make the insight_api driver print something more useful on UTXO connection failure
py
diff --git a/dimod/constrained.py b/dimod/constrained.py index <HASH>..<HASH> 100644 --- a/dimod/constrained.py +++ b/dimod/constrained.py @@ -626,7 +626,7 @@ class ConstrainedQuadraticModel: >>> cqm.set_objective(2*i - 0.5*i*j + 10) """ - if isinstance(objective, Iterable): + if n...
check if objective is not BQM or QM rather than if it is iterable
py
diff --git a/scripts/bcbio_nextgen.py b/scripts/bcbio_nextgen.py index <HASH>..<HASH> 100644 --- a/scripts/bcbio_nextgen.py +++ b/scripts/bcbio_nextgen.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python -E """Run an automated analysis pipeline on nextgen sequencing information. Handles runs in local o...
Avoid using python environmental variables when running bcbio_nextgen.py, avoiding issues where PYTHONHOME or PYTHONPATH point to other library locations
py
diff --git a/oplus/version.py b/oplus/version.py index <HASH>..<HASH> 100644 --- a/oplus/version.py +++ b/oplus/version.py @@ -1 +1 @@ -version='7.0.1.dev4.5.1' +version='7.0.1.dev5.0.0'
[skip ci] updated version as <I>.de<I>
py
diff --git a/lib/webinterface_handler.py b/lib/webinterface_handler.py index <HASH>..<HASH> 100644 --- a/lib/webinterface_handler.py +++ b/lib/webinterface_handler.py @@ -192,7 +192,10 @@ class WebInterfaceDirectory(object): # resolving, otherwise call the method as it is our final # renderer. We even...
WebStyle: fixed traversal of final URLs * Only try to traverse URL "parts" which have the _traverse() function available. Others return HTTP_NOT_FOUND. (closes #<I>)
py
diff --git a/spyder/plugins/completion/languageserver/plugin.py b/spyder/plugins/completion/languageserver/plugin.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/completion/languageserver/plugin.py +++ b/spyder/plugins/completion/languageserver/plugin.py @@ -351,7 +351,9 @@ class LanguageServerPlugin(SpyderCompleti...
LSP: Add a couple of comments for clarity
py
diff --git a/pyinfra/api/facts.py b/pyinfra/api/facts.py index <HASH>..<HASH> 100644 --- a/pyinfra/api/facts.py +++ b/pyinfra/api/facts.py @@ -173,7 +173,7 @@ def get_facts(state, name, args=None, ensure_hosts=None, apply_failed_hosts=True with FACT_LOCK: # Add any hosts we must have, whether considered i...
Only consider active hosts when collecting facts.
py
diff --git a/smart_open/s3.py b/smart_open/s3.py index <HASH>..<HASH> 100644 --- a/smart_open/s3.py +++ b/smart_open/s3.py @@ -114,6 +114,16 @@ class SeekableRawReader(object): self._position = position range_string = _range_string(self._position) logger.debug('content_length: %r range_string...
Сlose the old body explicitly after `seek` for S3. Fix #<I> (#<I>)
py
diff --git a/AegeanTools/source_finder.py b/AegeanTools/source_finder.py index <HASH>..<HASH> 100644 --- a/AegeanTools/source_finder.py +++ b/AegeanTools/source_finder.py @@ -758,6 +758,23 @@ class SourceFinder(object): self.log.info("Wrote {0}".format(curve_out)) return + def save_image(self, ou...
added new function that will save the working image
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from distutils.core import setup setup( name = 'date-extractor', packages = ['date_extractor'], - version = '0.7', + version = '0.8', description = 'Extract dates from text', author = 'Daniel J. Duf...
Trying to automate github uploading
py
diff --git a/librosa/core/constantq.py b/librosa/core/constantq.py index <HASH>..<HASH> 100644 --- a/librosa/core/constantq.py +++ b/librosa/core/constantq.py @@ -187,8 +187,9 @@ def cqt(y, sr=22050, hop_length=512, fmin=None, n_bins=84, assert my_hop > 0 - # Compute the STFT matrix - D = stf...
remove window from CQT stft
py
diff --git a/grimoire_elk/_version.py b/grimoire_elk/_version.py index <HASH>..<HASH> 100644 --- a/grimoire_elk/_version.py +++ b/grimoire_elk/_version.py @@ -1,2 +1,2 @@ # Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440 -__version__ = "0.30.26" +__version__ = "0.30.27"
[release] Update version number to <I>
py
diff --git a/django_extensions/db/fields/encrypted.py b/django_extensions/db/fields/encrypted.py index <HASH>..<HASH> 100644 --- a/django_extensions/db/fields/encrypted.py +++ b/django_extensions/db/fields/encrypted.py @@ -34,7 +34,9 @@ class BaseEncryptedField(models.Field): super(BaseEncryptedField, self).__...
Added a check to see if using an RSA public key, and if so, skip trying to decrypt
py
diff --git a/spacy/errors.py b/spacy/errors.py index <HASH>..<HASH> 100644 --- a/spacy/errors.py +++ b/spacy/errors.py @@ -483,7 +483,7 @@ class Errors(metaclass=ErrorsWithCodes): "components, since spans are only views of the Doc. Use Doc and " "Token attributes (or custom extension attribute...
Fix typo in errors (#<I>)
py
diff --git a/src/ossos/core/ossos/ssos.py b/src/ossos/core/ossos/ssos.py index <HASH>..<HASH> 100644 --- a/src/ossos/core/ossos/ssos.py +++ b/src/ossos/core/ossos/ssos.py @@ -21,7 +21,7 @@ requests.packages.urllib3.disable_warnings() __author__ = 'Michele Bannister, JJ Kavelaars' # SSOS_URL = "http://www.cadc-ccda....
Changed SSOIS URL in ssos.py to https Changing the SSOIS URL from http to https will allow the requests.post() command to work properly. The command had trouble calling the SSOIS API using the old URL.
py
diff --git a/spacy/lang/bn/morph_rules.py b/spacy/lang/bn/morph_rules.py index <HASH>..<HASH> 100644 --- a/spacy/lang/bn/morph_rules.py +++ b/spacy/lang/bn/morph_rules.py @@ -7,6 +7,7 @@ from ...symbols import LEMMA, PRON_LEMMA MORPH_RULES = { "PRP": { 'ঐ': {LEMMA: PRON_LEMMA, 'PronType': 'Dem'}...
Update morph_rules.py (#<I>)
py
diff --git a/www/src/Lib/posix.py b/www/src/Lib/posix.py index <HASH>..<HASH> 100644 --- a/www/src/Lib/posix.py +++ b/www/src/Lib/posix.py @@ -310,7 +310,7 @@ def mkdir(*args,**kw): The mode argument is ignored on Windows.""" pass -def open(path, flags, mode=0o777, *args, dir_fd=None): +def _open(path, flag...
Rename posix.open to _open
py
diff --git a/nlppln/utils.py b/nlppln/utils.py index <HASH>..<HASH> 100644 --- a/nlppln/utils.py +++ b/nlppln/utils.py @@ -71,5 +71,17 @@ def copy_cwl_files(from_dir=CWL_PATH): fo = os.path.join(cwl_data_dir, os.path.basename(fi)) shutil.copy2(fi, fo) + +def get_files(directory): + """Return a li...
Add utility function to return a list of all files in a directory
py
diff --git a/salt/modules/x509.py b/salt/modules/x509.py index <HASH>..<HASH> 100644 --- a/salt/modules/x509.py +++ b/salt/modules/x509.py @@ -1417,6 +1417,9 @@ def create_certificate( # If neither public_key or csr are included, this cert is self-signed if 'public_key' not in kwargs and 'csr' not in kwargs: ...
Use signing passphrase as public passphrase when generating self-signed certificates
py