diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/pylisp/application/lispd/address_tree/container_node.py b/pylisp/application/lispd/address_tree/container_node.py
index <HASH>..<HASH> 100644
--- a/pylisp/application/lispd/address_tree/container_node.py
+++ b/pylisp/application/lispd/address_tree/container_node.py
@@ -26,20 +26,23 @@ class ContainerNode(A... | Split resolve in resolve_path and resolve | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -87,6 +87,7 @@ setup(
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
+ 'Programming Language :: Python :: 3.5',
... | Update classifiers. Close #<I>. | py |
diff --git a/cfgrib/__main__.py b/cfgrib/__main__.py
index <HASH>..<HASH> 100644
--- a/cfgrib/__main__.py
+++ b/cfgrib/__main__.py
@@ -17,6 +17,8 @@
# Alessandro Amici - B-Open - https://bopen.eu
#
+import os.path
+
import click
from . import eccodes
@@ -33,5 +35,18 @@ def selfcheck():
print("Your system... | Add super-simple to_netcdf command. xref #<I> | py |
diff --git a/helpscout/request_paginator/__init__.py b/helpscout/request_paginator/__init__.py
index <HASH>..<HASH> 100644
--- a/helpscout/request_paginator/__init__.py
+++ b/helpscout/request_paginator/__init__.py
@@ -65,15 +65,13 @@ class RequestPaginator(object):
The result is returned as an instantiated `s... | [IMP] Lower complexity on request iterator | py |
diff --git a/src/feat/agencies/net/agency.py b/src/feat/agencies/net/agency.py
index <HASH>..<HASH> 100644
--- a/src/feat/agencies/net/agency.py
+++ b/src/feat/agencies/net/agency.py
@@ -1,4 +1,4 @@
-import re
+
from twisted.internet import reactor, defer
@@ -134,6 +134,7 @@ class Agency(agency.Agency):
i... | Update dummy agent with latest api. | py |
diff --git a/jams/tests/namespace_tests.py b/jams/tests/namespace_tests.py
index <HASH>..<HASH> 100644
--- a/jams/tests/namespace_tests.py
+++ b/jams/tests/namespace_tests.py
@@ -220,6 +220,8 @@ def test_ns_pitch_hz_invalid():
ann.append(time=0, duration=0, value=value, confidence=0.5)
ann.validate()
... | removed 1j from the ns_pitch_hz_invalid test because some people dont care about complex numbers :P | py |
diff --git a/vex/run.py b/vex/run.py
index <HASH>..<HASH> 100644
--- a/vex/run.py
+++ b/vex/run.py
@@ -44,7 +44,19 @@ def get_environ(environ, defaults, ve_path):
# A virtualenv's bin should not normally be on PATH except
# via activate or similar, so I'm OK with this solution.
current_ve_bin... | explain more to user when VIRTUAL_ENV is set but PATH is wrong | py |
diff --git a/gitlab.py b/gitlab.py
index <HASH>..<HASH> 100644
--- a/gitlab.py
+++ b/gitlab.py
@@ -420,7 +420,7 @@ class Gitlab(object):
headers = self._createHeaders(content_type="application/json")
# build data that can really be sent to server
- data = obj._dataForGitlab()
+ data = ... | Forgot to add sudo-support to update | py |
diff --git a/cooldict.py b/cooldict.py
index <HASH>..<HASH> 100644
--- a/cooldict.py
+++ b/cooldict.py
@@ -139,7 +139,12 @@ class BackedDict(collections.MutableMapping):
l.info("Flattening backers of %s!", self)
if len(self.backers) > 1:
l.debug("Slow path")
- self.storage = di... | restored proper flattening procedure for the slow path | py |
diff --git a/libsubmit/cobalt/cobalt.py b/libsubmit/cobalt/cobalt.py
index <HASH>..<HASH> 100644
--- a/libsubmit/cobalt/cobalt.py
+++ b/libsubmit/cobalt/cobalt.py
@@ -34,7 +34,6 @@ class Cobalt(ExecutionProvider):
"nodes" : 1, # of nodes in that block
"taskBlocks" : 1, # to... | Moving scriptDir one level up in the config definition | py |
diff --git a/tests/opentrons_sdk/drivers/random_move.py b/tests/opentrons_sdk/drivers/random_move.py
index <HASH>..<HASH> 100644
--- a/tests/opentrons_sdk/drivers/random_move.py
+++ b/tests/opentrons_sdk/drivers/random_move.py
@@ -40,10 +40,7 @@ def rand_move(scale=1.0):
def send_move(**kwargs):
date_print('--> {... | catching limit switch hits in random test | py |
diff --git a/pyramid_skosprovider/__init__.py b/pyramid_skosprovider/__init__.py
index <HASH>..<HASH> 100644
--- a/pyramid_skosprovider/__init__.py
+++ b/pyramid_skosprovider/__init__.py
@@ -31,6 +31,7 @@ def get_skos_registry(registry):
def includeme(config):
_build_skos_registry(config.registry)
config.add... | Add skos_registry to the request. Add the skos_registry to the request through the add_request_method directive. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -158,7 +158,6 @@ setup(
],
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*',
install_requires=[
- 'colorama',
],
extras_require={
':platform_system != "Windows"': ['... | Remove bogus dep (forgot to remove it after vendoring). | py |
diff --git a/vault/datadog_checks/vault/metrics.py b/vault/datadog_checks/vault/metrics.py
index <HASH>..<HASH> 100644
--- a/vault/datadog_checks/vault/metrics.py
+++ b/vault/datadog_checks/vault/metrics.py
@@ -211,6 +211,10 @@ METRIC_MAP = {
'vault_raft_get': 'vault.raft.get',
'vault_raft_delete': 'vault.raf... | Fix vault raft storage metric name (#<I>) * Fix vault raft storage metric name Raft storage backend slightly deviate from the usual convention for metrics name vault_<storage backend>_get/put/delete/list. * implementing suggested change for raft storage | py |
diff --git a/py/dynesty/dynamicsampler.py b/py/dynesty/dynamicsampler.py
index <HASH>..<HASH> 100644
--- a/py/dynesty/dynamicsampler.py
+++ b/py/dynesty/dynamicsampler.py
@@ -1116,8 +1116,17 @@ class DynamicSampler:
# If the lower bound doesn't encompass all base samples,
# we need to create a... | restore the exception that now should never happen | py |
diff --git a/python/ccxt/base/exchange.py b/python/ccxt/base/exchange.py
index <HASH>..<HASH> 100644
--- a/python/ccxt/base/exchange.py
+++ b/python/ccxt/base/exchange.py
@@ -981,7 +981,7 @@ class Exchange(object):
signature = Exchange.rsa(token, secret, alg)
else:
algorithm = algos[a... | missing .encode on jwt token in exchange.py fix #<I> | py |
diff --git a/buildbot_scripts/patchWebapp.py b/buildbot_scripts/patchWebapp.py
index <HASH>..<HASH> 100644
--- a/buildbot_scripts/patchWebapp.py
+++ b/buildbot_scripts/patchWebapp.py
@@ -31,8 +31,6 @@ fWeb.close()
fWeb = open(web_xml_path, 'w')
WebContent = WebContent.replace("<param-value>/etc/annis/user_config_dev/... | do not change port of service in buildbot of this branch | py |
diff --git a/src/python/grpcio/grpc/_auth.py b/src/python/grpcio/grpc/_auth.py
index <HASH>..<HASH> 100644
--- a/src/python/grpcio/grpc/_auth.py
+++ b/src/python/grpcio/grpc/_auth.py
@@ -30,7 +30,7 @@ class GoogleCallCredentials(grpc.AuthMetadataPlugin):
self._credentials = credentials
# Hack to deter... | Replace deprecated Python “inspect.getargspec” (#<I>) This has been deprecated since Python <I> and is removed in Python <I>. We can use “inspect.getfullargspec” instead. Fixes #<I>. | py |
diff --git a/src/pep257.py b/src/pep257.py
index <HASH>..<HASH> 100755
--- a/src/pep257.py
+++ b/src/pep257.py
@@ -61,7 +61,7 @@ except AttributeError:
__version__ = '0.7.1-alpha'
-__all__ = ('check')
+__all__ = ('check',)
NO_VIOLATIONS_RETURN_CODE = 0
VIOLATIONS_RETURN_CODE = 1 | Fix: __all__ should be a tuple | py |
diff --git a/abilian/web/forms/__init__.py b/abilian/web/forms/__init__.py
index <HASH>..<HASH> 100644
--- a/abilian/web/forms/__init__.py
+++ b/abilian/web/forms/__init__.py
@@ -16,7 +16,7 @@ from flask_login import current_user
from flask_wtf.form import Form as BaseForm
from abilian.i18n import _, _n
-from abili... | field permission: same roles for write and create permissions | py |
diff --git a/ansible_runner/config/_base.py b/ansible_runner/config/_base.py
index <HASH>..<HASH> 100644
--- a/ansible_runner/config/_base.py
+++ b/ansible_runner/config/_base.py
@@ -42,7 +42,7 @@ from ansible_runner.utils import (
args2cmdline,
sanitize_container_name,
cli_mounts,
- register_for_clea... | Add trailing comma from review suggestions | py |
diff --git a/colorfield/fields.py b/colorfield/fields.py
index <HASH>..<HASH> 100644
--- a/colorfield/fields.py
+++ b/colorfield/fields.py
@@ -5,6 +5,7 @@ import re
from django import forms
from django.db import models
from django.conf import settings
+from django.core.files.storage import default_storage
from djan... | use storage to properly get url for static js | py |
diff --git a/openquake/engine/engine.py b/openquake/engine/engine.py
index <HASH>..<HASH> 100644
--- a/openquake/engine/engine.py
+++ b/openquake/engine/engine.py
@@ -346,6 +346,8 @@ def create_jobs(job_inis, loglvl, kw):
the logging.
"""
dicts = []
+ # setting the handlers before any call to `readinp... | Added comment [skip CI] | py |
diff --git a/fermipy/extension.py b/fermipy/extension.py
index <HASH>..<HASH> 100644
--- a/fermipy/extension.py
+++ b/fermipy/extension.py
@@ -446,8 +446,8 @@ class ExtensionFit(object):
fit_ext['ra'] = skydir.ra.deg
fit_ext['dec'] = skydir.dec.deg
fit_ext['offset'] = skydir.separ... | Set likelihood explicitly from pyLikelihood object. | py |
diff --git a/svn/__init__.py b/svn/__init__.py
index <HASH>..<HASH> 100644
--- a/svn/__init__.py
+++ b/svn/__init__.py
@@ -1 +1 @@
-__version__ = '0.3.46'
+__version__ = '1.0.0' | Version bump. Promoting as first stable release <I> . We just introduced a breaking change, and operation/work has stabilized on this project. So, it's a good time to take the opportunity to both bump the major number. | py |
diff --git a/tests/unit/modules/test_haproxyconn.py b/tests/unit/modules/test_haproxyconn.py
index <HASH>..<HASH> 100644
--- a/tests/unit/modules/test_haproxyconn.py
+++ b/tests/unit/modules/test_haproxyconn.py
@@ -161,7 +161,10 @@ class HaproxyConnTestCase(TestCase, LoaderModuleMockMixin):
'''
Test l... | [PY3] Fix haproxyconn unit tests that are failing ``assertItemsEqual`` does not exist in Python 3. It was removed. Since ``assertItemsEqual(a, b)`` is the same thing as asserting that ``sorted(a) == sorted(b)``, we can just update the test in this manner to work in both Python 2 and 3. | py |
diff --git a/certsuite/adb_b2g.py b/certsuite/adb_b2g.py
index <HASH>..<HASH> 100644
--- a/certsuite/adb_b2g.py
+++ b/certsuite/adb_b2g.py
@@ -148,7 +148,7 @@ class ADBB2G(adb.ADBDevice):
assert len(profiles) == 1
profile_dir = profiles.itervalues().next()
- prefs_file = os.path.normpath(prof... | fixup! fixup! fixup! WIP: better precondition checks for harness (checks often fail due to some kind of race) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -55,7 +55,7 @@ setup(
'Django (>=1.3)', # Using staticfiles
],
extras_require = {
- 'threadedcomments': ['django-threadedcomments>=1.0b1'],
+ 'threadedcomments': ['django-threadedcomments>=1.... | When using threadedcomments, you can now use it's official <I> version! | py |
diff --git a/tests/test_effects.py b/tests/test_effects.py
index <HASH>..<HASH> 100644
--- a/tests/test_effects.py
+++ b/tests/test_effects.py
@@ -188,6 +188,17 @@ def test_trim():
yield __test, y[0], top_db, ref, trim_duration
+def test_trim_empty():
+
+ y = np.zeros(1)
+
+ yt, idx = librosa.eff... | A test for the trimming of zero signals | py |
diff --git a/tests/test_ethtool.py b/tests/test_ethtool.py
index <HASH>..<HASH> 100755
--- a/tests/test_ethtool.py
+++ b/tests/test_ethtool.py
@@ -21,7 +21,6 @@
import sys
import unittest
-from test.test_support import run_unittest # requires python-test subpackage on Fedora/RHEL
import ethtool
@@ -237,12 +236... | Get rid of soak tests and related functionality/import | py |
diff --git a/tests/test_benchmark.py b/tests/test_benchmark.py
index <HASH>..<HASH> 100644
--- a/tests/test_benchmark.py
+++ b/tests/test_benchmark.py
@@ -36,7 +36,7 @@ def struct(module):
return Struct(
strings=['foo'] * 100000,
- ints=set([256] * 100000),
+ ints=set(range(100000)),
... | Fix benchmark set set([<I>] * <I>) == set([<I>]) I think it was originally supposed to be a list. | py |
diff --git a/bloop/filter.py b/bloop/filter.py
index <HASH>..<HASH> 100644
--- a/bloop/filter.py
+++ b/bloop/filter.py
@@ -125,6 +125,14 @@ def _validate_select_mode(select):
return select
+def _requires_exact(index, engine):
+ """True if the filter is a GSI, or an LSI and the engine is strict"""
+ is_gs... | Factor out requires_exact from _Filter.select | py |
diff --git a/pypet/environment.py b/pypet/environment.py
index <HASH>..<HASH> 100644
--- a/pypet/environment.py
+++ b/pypet/environment.py
@@ -36,6 +36,7 @@ try:
except ImportError:
load_project = None
PythonExecutable = None
+
try:
import dill
# If you do not set this log-level dill will flood an... | Commit to make merging easier; | py |
diff --git a/wandb/sdk/service/server_sock.py b/wandb/sdk/service/server_sock.py
index <HASH>..<HASH> 100644
--- a/wandb/sdk/service/server_sock.py
+++ b/wandb/sdk/service/server_sock.py
@@ -61,9 +61,11 @@ class SockServerInterfaceReaderThread(threading.Thread):
except queue.Empty:
continu... | Fix service performance issue during run shutdown (#<I>) | py |
diff --git a/c7n/resources/rds.py b/c7n/resources/rds.py
index <HASH>..<HASH> 100644
--- a/c7n/resources/rds.py
+++ b/c7n/resources/rds.py
@@ -509,8 +509,7 @@ class Stop(BaseAction):
schema = type_schema('stop')
- # permissions are unclear, and not currrently documented or in iam gen
- permissions = ("rd... | aws - rds fix start/stop permissions (#<I>) | py |
diff --git a/pycrosscall/wine_server.py b/pycrosscall/wine_server.py
index <HASH>..<HASH> 100644
--- a/pycrosscall/wine_server.py
+++ b/pycrosscall/wine_server.py
@@ -126,7 +126,7 @@ class wine_server_class:
if __name__ == '__main__':
- #try:
+ try:
parser = argparse.ArgumentParser()
parser.add_argument(
@... | arg parsing might fail again | py |
diff --git a/icrawler/downloader.py b/icrawler/downloader.py
index <HASH>..<HASH> 100644
--- a/icrawler/downloader.py
+++ b/icrawler/downloader.py
@@ -1,11 +1,12 @@
# -*- coding: utf-8 -*-
-import io
import logging
import os
-import requests
import threading
+
+import requests
from PIL import Image
+from six imp... | catch the OSError when reading the image to get size | py |
diff --git a/tests/unit/test_imports.py b/tests/unit/test_imports.py
index <HASH>..<HASH> 100644
--- a/tests/unit/test_imports.py
+++ b/tests/unit/test_imports.py
@@ -164,6 +164,7 @@ class ImportGraphLayerChecker(object):
'ga4gh/datamodel/ontologies.py',
'ga4gh/datamodel/ob... | Adds genotype_phenotype.py to moduleNames in imports tests | py |
diff --git a/blimpy/filterbank.py b/blimpy/filterbank.py
index <HASH>..<HASH> 100755
--- a/blimpy/filterbank.py
+++ b/blimpy/filterbank.py
@@ -730,7 +730,7 @@ class Filterbank(object):
# Reverse oder if vertical orientation.
if orientation is not None:
if 'v' in orientation:
- ... | Bugfix. Also related to the time flip bug. | py |
diff --git a/cuttlepool.py b/cuttlepool.py
index <HASH>..<HASH> 100644
--- a/cuttlepool.py
+++ b/cuttlepool.py
@@ -133,7 +133,14 @@ class CuttlePool(object):
def get_connection(self):
"""
- Returns a ``PoolConnection`` object.
+ Returns a ``PoolConnection`` object. This method will try to ... | added better explanation of get_connection process | py |
diff --git a/anycast_healthchecker/healthchecker.py b/anycast_healthchecker/healthchecker.py
index <HASH>..<HASH> 100644
--- a/anycast_healthchecker/healthchecker.py
+++ b/anycast_healthchecker/healthchecker.py
@@ -191,6 +191,10 @@ class HealthChecker(object):
self.log.error(("Reloading BIRD failed, most l... | Catch the error on bird reload due to missing cmd If the command to reload bird doesn't exist the FileNotFoundError exception is raised and we die:-(. We now catch that and emit an error. | py |
diff --git a/tests/test_airports.py b/tests/test_airports.py
index <HASH>..<HASH> 100644
--- a/tests/test_airports.py
+++ b/tests/test_airports.py
@@ -1,4 +1,15 @@
-from traffic.data import airports
+import zipfile
+
+import pytest
+
+from traffic.data import airports, runways
+
+skip_runways = False
+
+try:
+ _ = r... | skip runways test in travis when data fails downloading | py |
diff --git a/ding0/tools/results.py b/ding0/tools/results.py
index <HASH>..<HASH> 100644
--- a/ding0/tools/results.py
+++ b/ding0/tools/results.py
@@ -486,7 +486,7 @@ def calculate_mvgd_stats(nw):
omega = 2 * pi * freq
# close circuit breakers
- nw.control_circuit_breakers(mode='close')
+ nw.control_c... | Open circuit breakers at beginning of mvgd_stats | py |
diff --git a/pyes/es.py b/pyes/es.py
index <HASH>..<HASH> 100644
--- a/pyes/es.py
+++ b/pyes/es.py
@@ -1373,6 +1373,7 @@ class ResultSet(object):
self._total = None
self.valid = False
self._facets = {}
+ self._hits = []
self.auto_fix_keys = auto_fix_keys
self.auto_cle... | resultset.hits should not be set by _do_search | py |
diff --git a/tests/risk_job_unittest.py b/tests/risk_job_unittest.py
index <HASH>..<HASH> 100644
--- a/tests/risk_job_unittest.py
+++ b/tests/risk_job_unittest.py
@@ -281,6 +281,25 @@ class RiskMixinTestCase(unittest.TestCase):
self.assertEqual(sorted(self.grid_assets, key=row_col), got)
+ def t... | kvs test for conditional loss Former-commit-id: fecc9ade<I>c6ac<I>d<I>a6d<I>f7c<I>c<I> | py |
diff --git a/faker/factory.py b/faker/factory.py
index <HASH>..<HASH> 100644
--- a/faker/factory.py
+++ b/faker/factory.py
@@ -6,7 +6,7 @@ from faker import providers
class Factory(object):
@classmethod
- def create(cls, locale=DEFAULT_LOCALE, providers=None ):
+ def create(cls, locale=None, providers=Non... | fix null value for factory locale param | py |
diff --git a/pybrightcove/connection.py b/pybrightcove/connection.py
index <HASH>..<HASH> 100644
--- a/pybrightcove/connection.py
+++ b/pybrightcove/connection.py
@@ -57,7 +57,9 @@ class Connection(object):
params = {"JSONRPC": simplejson.dumps(data)}
params["filePath"] = open(file_to_upload, "rb")
... | return the response converted to a dictionary, rather than just print the output to stdout | py |
diff --git a/salt/returners/smtp_return.py b/salt/returners/smtp_return.py
index <HASH>..<HASH> 100644
--- a/salt/returners/smtp_return.py
+++ b/salt/returners/smtp_return.py
@@ -78,7 +78,7 @@ def returner(ret):
'return: {4}\r\n').format(
ret['id'],
ret['fun'],
- ... | fixed a probably long standing bug where the returner failed if the function had no arguments | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -61,7 +61,7 @@ setup(
data_files=[(
(BASE_DIR, ['data/pool_transactions_sandbox', ])
)],
- install_requires=['ledger-dev==0.2.4', 'stp-dev==0.1.30',
+ install_requires=['ledger-dev==0.2.4', 'stp-dev==0... | Updated stp dep | py |
diff --git a/livereload/server.py b/livereload/server.py
index <HASH>..<HASH> 100644
--- a/livereload/server.py
+++ b/livereload/server.py
@@ -107,7 +107,7 @@ class LiveReloadHandler(websocket.WebSocketHandler):
if not LiveReloadHandler._last_reload_time:
if os.path.exists('Guardfile'):
... | Allow imports inside Guardfile to work | py |
diff --git a/salt/returners/pgjsonb.py b/salt/returners/pgjsonb.py
index <HASH>..<HASH> 100644
--- a/salt/returners/pgjsonb.py
+++ b/salt/returners/pgjsonb.py
@@ -234,14 +234,15 @@ def returner(ret):
try:
with _get_serv(ret, commit=True) as cur:
sql = '''INSERT INTO salt_returns
- ... | Get time with timezone correct also in job return. | py |
diff --git a/cloudmesh/common/console.py b/cloudmesh/common/console.py
index <HASH>..<HASH> 100644
--- a/cloudmesh/common/console.py
+++ b/cloudmesh/common/console.py
@@ -8,6 +8,8 @@ import traceback
import platform
import colorama
from colorama import Fore, Back, Style
+import os
+
# from cloudmesh.common.variable... | ad an os terminate command to console | py |
diff --git a/src/canari/commands/create_profile.py b/src/canari/commands/create_profile.py
index <HASH>..<HASH> 100644
--- a/src/canari/commands/create_profile.py
+++ b/src/canari/commands/create_profile.py
@@ -1,6 +1,7 @@
#!/usr/bin/env python
import os
+from canari.mode import CanariMode, set_canari_mode
from ... | Set canari mode to local for create-profile command to enable support for global scope code guarding. | 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
@@ -568,7 +568,7 @@ class SnglInspiralTable(table.Table):
"Gamma9": "real_4",
"event_id": "int_8s" # FIXME: column should be ilwd
}
- # FIXME: event_id colu... | Fix PR<I>: In sngl_ringdown talbe, add "phase", "epsilon", and "amplitude" columns, change "event_id" to "ilwd:char". | py |
diff --git a/tests/test_stackapi.py b/tests/test_stackapi.py
index <HASH>..<HASH> 100644
--- a/tests/test_stackapi.py
+++ b/tests/test_stackapi.py
@@ -8,16 +8,18 @@ from mock import patch
from stackapi import StackAPI
from stackapi import StackAPIError
+TESTS_DIRECTORY = "tests"
+directory = "tests/" if TESTS_DIREC... | Adjust tests to include the `tests/` directory based on current running location Fixes #<I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -179,7 +179,7 @@ class PyTestCommand(test):
setup(
name='openhtf',
- version='1.2.3',
+ version='1.3.0',
description='OpenHTF, the open hardware testing framework.',
author='John Hawley',
author_em... | Update version to <I> (#<I>) | py |
diff --git a/airtest/core/ios/ios.py b/airtest/core/ios/ios.py
index <HASH>..<HASH> 100644
--- a/airtest/core/ios/ios.py
+++ b/airtest/core/ios/ios.py
@@ -300,7 +300,10 @@ class IOS(Device):
cap_method = cap_method or self.cap_method
screen = None
if cap_method == CAP_METHOD.MJPEG:
- ... | When mjpeg.snapshot() fails to take a screenshot, use wda.snapshot instead (cherry picked from commit d1a9a4e6e<I>b<I>f0c<I>e7afd<I>a6fcc5e0d<I>) | py |
diff --git a/thumbor/handlers/imaging.py b/thumbor/handlers/imaging.py
index <HASH>..<HASH> 100644
--- a/thumbor/handlers/imaging.py
+++ b/thumbor/handlers/imaging.py
@@ -41,7 +41,7 @@ class ImagingHandler(ContextHandler):
self.context.request.unsafe = self.context.request.unsafe == 'unsafe'
- if (s... | removing parentheses from if clause this was bugging me haha | py |
diff --git a/torchvision/prototype/models/resnet.py b/torchvision/prototype/models/resnet.py
index <HASH>..<HASH> 100644
--- a/torchvision/prototype/models/resnet.py
+++ b/torchvision/prototype/models/resnet.py
@@ -160,6 +160,16 @@ class ResNeXt50_32x4dWeights(Weights):
"acc@5": 93.698,
},
)
... | Add new weights for ResNeXt<I>_<I>x4d. (#<I>) | py |
diff --git a/tests/specifications/adobe_fonts_test.py b/tests/specifications/adobe_fonts_test.py
index <HASH>..<HASH> 100644
--- a/tests/specifications/adobe_fonts_test.py
+++ b/tests/specifications/adobe_fonts_test.py
@@ -53,6 +53,7 @@ def test_get_family_checks():
family_checks = specification.get_family_checks(... | added bold_italic_unique_for_nameid1 to expected_family_check_ids | py |
diff --git a/tests/sqlgrammar/sql_grammar_generator.py b/tests/sqlgrammar/sql_grammar_generator.py
index <HASH>..<HASH> 100644
--- a/tests/sqlgrammar/sql_grammar_generator.py
+++ b/tests/sqlgrammar/sql_grammar_generator.py
@@ -1152,7 +1152,8 @@ if __name__ == "__main__":
["Explain doesn't s... | ENG-<I>: grammar-gen hangs on CREATE PROCEDURE / TRUNCATE (#<I>) Added "Single partitioned procedure: FOO has TRUNCATE statement" to the list of known error messages. | py |
diff --git a/librosa/core.py b/librosa/core.py
index <HASH>..<HASH> 100644
--- a/librosa/core.py
+++ b/librosa/core.py
@@ -68,7 +68,7 @@ def load(path, sr=22050, mono=True, offset=0.0, duration=None,
data type of ``y``
:returns:
- - y : np.ndarray [shape=(n,) or (n, 2)]
+ - y : np.ndar... | fixed a typo in load docstring | py |
diff --git a/jax/interpreters/partial_eval.py b/jax/interpreters/partial_eval.py
index <HASH>..<HASH> 100644
--- a/jax/interpreters/partial_eval.py
+++ b/jax/interpreters/partial_eval.py
@@ -838,7 +838,7 @@ def _reconstruct_pval(pval1: PartialVal, const2: core.Value):
return pval1
else:
if type(pv1) is Con... | fix an issue with newer versions of pytype (#<I>) | py |
diff --git a/formats/fasta.py b/formats/fasta.py
index <HASH>..<HASH> 100644
--- a/formats/fasta.py
+++ b/formats/fasta.py
@@ -223,7 +223,7 @@ def translate(args):
ids = None
five_prime_missing = three_prime_missing = 0
- contain_ns = complete = total = 0
+ contain_ns = complete = cannot_translate... | give stats about the seqs that cannot translate in formats.fasta.translate() | py |
diff --git a/exporters/writers/filebase_base_writer.py b/exporters/writers/filebase_base_writer.py
index <HASH>..<HASH> 100644
--- a/exporters/writers/filebase_base_writer.py
+++ b/exporters/writers/filebase_base_writer.py
@@ -34,6 +34,7 @@ class FilebaseBaseWriter(BaseWriter):
def __init__(self, options, *args, *... | Added filebase into writer_metadata (for snapshots) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,7 @@ from setuptools import setup
setup(name='microsoftbotframework',
- version='0.1.17',
+ version='0.2.0',
description='A wrapper for the microsoft bot framework API',
classifiers=[
... | Updated to version <I> - Breaking change to Response Object | py |
diff --git a/indra/databases/biogrid_client.py b/indra/databases/biogrid_client.py
index <HASH>..<HASH> 100644
--- a/indra/databases/biogrid_client.py
+++ b/indra/databases/biogrid_client.py
@@ -43,7 +43,7 @@ def get_interactors(gene_name):
def get_statements(gene_list):
- res_dict = _send_request(gene_list, in... | Include interactors when getting stmts from biogrid | py |
diff --git a/polysquare_setuptools_lint/__init__.py b/polysquare_setuptools_lint/__init__.py
index <HASH>..<HASH> 100644
--- a/polysquare_setuptools_lint/__init__.py
+++ b/polysquare_setuptools_lint/__init__.py
@@ -219,7 +219,7 @@ def _run_prospector_on(filenames, tools, ignore_codes=None):
def _file_is_test(filenam... | Escape path separator. On Windows it is a backslash, which if left unescaped in a regex can cause all sorts of havoc. | py |
diff --git a/tests/test_dtool_http_server.py b/tests/test_dtool_http_server.py
index <HASH>..<HASH> 100644
--- a/tests/test_dtool_http_server.py
+++ b/tests/test_dtool_http_server.py
@@ -1,5 +1,7 @@
import os
+import pytest
+
from dtoolcore import DataSet
from . import tmp_dtool_server # NOQA
@@ -9,6 +11,12 @@ ... | Add a test for the non <I> exit code | py |
diff --git a/autopep8.py b/autopep8.py
index <HASH>..<HASH> 100644
--- a/autopep8.py
+++ b/autopep8.py
@@ -57,6 +57,8 @@ class FixPEP8(object):
self.results = []
self.options = options
self.indent_word = self._get_indentword("".join(self.source))
+ # method definition
+ self.fix... | featured: fix e<I> method (same as e<I>) | py |
diff --git a/gsh/main.py b/gsh/main.py
index <HASH>..<HASH> 100644
--- a/gsh/main.py
+++ b/gsh/main.py
@@ -26,7 +26,7 @@ import os
import signal
import sys
-if sys.version.split()[0] < '2.4':
+if sys.hexversion < 0x02040000:
print >> sys.stderr, 'Your python version is too old (%s)' % \
... | The previous python version check would fail for something like python-<I> | py |
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py
index <HASH>..<HASH> 100755
--- a/setuptools/command/egg_info.py
+++ b/setuptools/command/egg_info.py
@@ -359,7 +359,8 @@ def write_requirements(cmd, basename, filename):
dist = cmd.distribution
data = ['\n'.join(yield_lines(dist.ins... | Write requirements in a deterministic order. | py |
diff --git a/tests/checker/test_http.py b/tests/checker/test_http.py
index <HASH>..<HASH> 100644
--- a/tests/checker/test_http.py
+++ b/tests/checker/test_http.py
@@ -174,8 +174,8 @@ class TestHttp (HttpServerTest):
self.direct(url, resultlines, recursionlevel=1)
def obfuscate_test (self):
- impo... | Run obfuscated IP test only on linux. | py |
diff --git a/kucoin/client.py b/kucoin/client.py
index <HASH>..<HASH> 100644
--- a/kucoin/client.py
+++ b/kucoin/client.py
@@ -558,13 +558,15 @@ class Client(object):
# Deposit Endpoints
- def create_deposit_address(self, currency):
+ def create_deposit_address(self, currency, chain=None):
"""Cr... | Add chain param to create deposit address | py |
diff --git a/pabot/pabot.py b/pabot/pabot.py
index <HASH>..<HASH> 100755
--- a/pabot/pabot.py
+++ b/pabot/pabot.py
@@ -792,7 +792,10 @@ def shard_suites(suite_names, pabot_args):
shard_count = pabot_args["shardcount"]
if shard_index > shard_count:
raise DataError(f"Shard index ({shard_index}) greater... | prevent sharding to more than items count | py |
diff --git a/passpie/completion.py b/passpie/completion.py
index <HASH>..<HASH> 100644
--- a/passpie/completion.py
+++ b/passpie/completion.py
@@ -10,7 +10,7 @@ function _passpie()
local words=("${COMP_WORDS[@]}")
unset words[0]
unset words[$COMP_CWORD]
- COMPREPLY=( $(compgen -W "$(gr... | refact(completion): use config_path in BASH template too | py |
diff --git a/jarn/mkrelease/mkrelease.py b/jarn/mkrelease/mkrelease.py
index <HASH>..<HASH> 100644
--- a/jarn/mkrelease/mkrelease.py
+++ b/jarn/mkrelease/mkrelease.py
@@ -546,7 +546,7 @@ class ReleaseMaker(object):
self.scm.check_tag_exists(directory, tagid)
self.scm.create_tag(directo... | Fix missing join, oops. | py |
diff --git a/km3pipe/core.py b/km3pipe/core.py
index <HASH>..<HASH> 100644
--- a/km3pipe/core.py
+++ b/km3pipe/core.py
@@ -194,7 +194,7 @@ class Geometry(Module):
def process(self, blob):
if self._should_apply:
- self.apply(blob['Hits'])
+ blob['Hits'] = self.apply(blob['Hits'])
... | add .a info (uncalibrated) | py |
diff --git a/src/cosmic_ray/version.py b/src/cosmic_ray/version.py
index <HASH>..<HASH> 100644
--- a/src/cosmic_ray/version.py
+++ b/src/cosmic_ray/version.py
@@ -1,4 +1,4 @@
"""Cosmic Ray version info."""
-__version_info__ = (5, 6, 2)
+__version_info__ = (6, 0, 0)
__version__ = '.'.join(map(str, __version_info__)) | Bumps version to <I>. | py |
diff --git a/trellio/__init__.py b/trellio/__init__.py
index <HASH>..<HASH> 100755
--- a/trellio/__init__.py
+++ b/trellio/__init__.py
@@ -15,4 +15,4 @@ from .utils import log # noqa
from .utils.log import setup_logging # noqa
from .wrappers import Response, Request # noqa
-__version__ = '1.1.24rc12'
+__version_... | trellio version <I> release | py |
diff --git a/__init__.py b/__init__.py
index <HASH>..<HASH> 100644
--- a/__init__.py
+++ b/__init__.py
@@ -104,8 +104,8 @@ def _markdownify(tag, _listType=None, _blockQuote=False, _listIndex=1):
if tag.name == 'p':
if tag.string != None:
if tag.string.strip() == u'':
- # FIXME: leave only
- #tag.s... | instead of wrapped in p tags for empty lines | py |
diff --git a/instana/version.py b/instana/version.py
index <HASH>..<HASH> 100644
--- a/instana/version.py
+++ b/instana/version.py
@@ -1,3 +1,3 @@
# Module version file. Used by setup.py and snapshot reporting.
-VERSION = '1.26.1'
+VERSION = '1.27.0' | Bump package version to <I> | py |
diff --git a/ev3dev/core.py b/ev3dev/core.py
index <HASH>..<HASH> 100644
--- a/ev3dev/core.py
+++ b/ev3dev/core.py
@@ -2350,14 +2350,14 @@ class Sound:
"""
def play_tone_sequence(tone_sequence):
def beep_args(frequency=None, duration=None, delay=None):
- args = '-n '
+ ... | The '-n' arg in beep should not be used for the first tone. Fixes #<I>. | py |
diff --git a/hbp_service_client/document_service/tests/test_highlevel.py b/hbp_service_client/document_service/tests/test_highlevel.py
index <HASH>..<HASH> 100644
--- a/hbp_service_client/document_service/tests/test_highlevel.py
+++ b/hbp_service_client/document_service/tests/test_highlevel.py
@@ -112,3 +112,21 @@ clas... | Test that `download_file` checks the entity type | py |
diff --git a/symfit/core/support.py b/symfit/core/support.py
index <HASH>..<HASH> 100644
--- a/symfit/core/support.py
+++ b/symfit/core/support.py
@@ -5,7 +5,6 @@ designed for users.
"""
from functools import wraps
from collections import OrderedDict
-import inspect
import sys
import warnings
@@ -187,8 +186,12 @... | Switched keywordonly from getargspec to signature | py |
diff --git a/astrobase/hplc.py b/astrobase/hplc.py
index <HASH>..<HASH> 100644
--- a/astrobase/hplc.py
+++ b/astrobase/hplc.py
@@ -432,7 +432,7 @@ def concatenate_textlcs_for_objectid(lcbasedir,
global median magnitude for each magnitude column.
'''
- LOGINFO('looking for light curves for %s, aperture %s... | hplc: added normalization across light curves | py |
diff --git a/pyrsistent.py b/pyrsistent.py
index <HASH>..<HASH> 100644
--- a/pyrsistent.py
+++ b/pyrsistent.py
@@ -3,7 +3,6 @@ from collections import (Sequence, Mapping, Set, Hashable, Container, Iterable,
from itertools import chain
from functools import wraps, reduce
from numbers import Integral
-from operator im... | some minor code cleanups from tobgu's review | py |
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py
index <HASH>..<HASH> 100644
--- a/mastodon/Mastodon.py
+++ b/mastodon/Mastodon.py
@@ -957,7 +957,7 @@ class Mastodon:
raise MastodonAPIError("Could not parse response as JSON, response code was %s, bad json content was '%s'" % (response_object.st... | Handle case of empty 'Link' header from server | py |
diff --git a/pghoard/pghoard.py b/pghoard/pghoard.py
index <HASH>..<HASH> 100644
--- a/pghoard/pghoard.py
+++ b/pghoard/pghoard.py
@@ -432,8 +432,8 @@ class PGHoard:
chosen_backup_node=chosen_backup_node,
last_flushed_lsn=walreceiver_state.get("last_flushed_lsn"))
- if... | pghoard: zero time_of_last_backup_check value considered as not checked Helps the test mock code trigger the expected behavior without by setting the time_of_last_backup_check value to zero and thus avoiding the <I> second wait. | py |
diff --git a/discord/message.py b/discord/message.py
index <HASH>..<HASH> 100644
--- a/discord/message.py
+++ b/discord/message.py
@@ -1019,7 +1019,7 @@ class Message(Hashable):
else:
allowed_mentions = {'replied_user': mention_author}
fields['allowed_mentions'] = allowed_ment... | Fix embed suppression when using client-wide allowed_mentions | py |
diff --git a/src/ansiblelint/file_utils.py b/src/ansiblelint/file_utils.py
index <HASH>..<HASH> 100644
--- a/src/ansiblelint/file_utils.py
+++ b/src/ansiblelint/file_utils.py
@@ -186,6 +186,7 @@ class Lintable:
# determine base file kind (yaml, xml, ini, ...)
self.base_kind = kind_from_path(self.pat... | Lintable. Let __hash__ to consider file absolute path (#<I>) | py |
diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index <HASH>..<HASH> 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -9810,6 +9810,7 @@ class NDFrame(PandasObject, indexing.IndexingMixin):
return result
@final
+ @doc(klass=_shared_doc_kwargs["klass"])
def tz_conv... | Fix typo in tz_convert docs (#<I>) add klass doc decorations to tz_convert and tz_localize | py |
diff --git a/src/_pytest/fixtures.py b/src/_pytest/fixtures.py
index <HASH>..<HASH> 100644
--- a/src/_pytest/fixtures.py
+++ b/src/_pytest/fixtures.py
@@ -1021,6 +1021,7 @@ def fixture(scope="function", params=None, autouse=False, ids=None, name=None):
:arg params: an optional list of parameters which will cause m... | doc: mention that pytest.fixture's param is in request.param | py |
diff --git a/tests/test_staticjinja.py b/tests/test_staticjinja.py
index <HASH>..<HASH> 100644
--- a/tests/test_staticjinja.py
+++ b/tests/test_staticjinja.py
@@ -142,15 +142,16 @@ def test_build(site):
assert templates == list(site.templates)
-def test_with_reloader(reloader, site):
- reloader.watch_called... | chore: Don't inject test variables into real object Seems like bad news to mess with a real object. | py |
diff --git a/doc/en/example/assertion/failure_demo.py b/doc/en/example/assertion/failure_demo.py
index <HASH>..<HASH> 100644
--- a/doc/en/example/assertion/failure_demo.py
+++ b/doc/en/example/assertion/failure_demo.py
@@ -157,6 +157,8 @@ class TestRaises(object):
# thanks to Matthew Scott for this test
def test_dy... | Fix imports in failure_demo.py | py |
diff --git a/pychimera/core.py b/pychimera/core.py
index <HASH>..<HASH> 100755
--- a/pychimera/core.py
+++ b/pychimera/core.py
@@ -281,7 +281,7 @@ def run_cli_options(args):
else:
globals().update(runpy.run_path(choice, run_name="__main__"))
elif flag == '-m':
- if sys.... | Fix: -m args -- workaround must work with empty sys.argv | py |
diff --git a/siteblocks/templatetags/siteblocks.py b/siteblocks/templatetags/siteblocks.py
index <HASH>..<HASH> 100644
--- a/siteblocks/templatetags/siteblocks.py
+++ b/siteblocks/templatetags/siteblocks.py
@@ -1,4 +1,5 @@
from django import template
+from django.template.base import FilterExpression
from ..siteblo... | Implemented Django <I> support. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -14,7 +14,7 @@ import shutil
pwd = os.path.dirname(__file__)
virtual_env = os.environ.get('VIRTUAL_ENV', '')
-includes = []
+includes = ['.']
if virtual_env:
includes += glob(os.path.join(virtual_env, 'include', 'sit... | * Remember to put . on the include dir for extensions | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -32,7 +32,7 @@ class PyTest(TestCommand):
setup(
name='eppy',
- version='0.5.49',
+ version='0.5.50',
url='https://github.com/santoshphilip/eppy',
license='MIT License',
author='Santosh Philip', | changed version number in setup.py | 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.5'
+version = '0.6dev'
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read() | set version to <I>dev | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.