diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/kitty/data/report.py b/kitty/data/report.py
index <HASH>..<HASH> 100644
--- a/kitty/data/report.py
+++ b/kitty/data/report.py
@@ -228,7 +228,7 @@ class Report(object):
def is_failed(self):
'''
- .. deprecated::
+ .. deprecated:: 0.6.7
use :func:`~kitty.data.report... | [Report] fixed another issue in documentation | py |
diff --git a/src/python/pants/backend/codegen/thrift/apache/java/rules.py b/src/python/pants/backend/codegen/thrift/apache/java/rules.py
index <HASH>..<HASH> 100644
--- a/src/python/pants/backend/codegen/thrift/apache/java/rules.py
+++ b/src/python/pants/backend/codegen/thrift/apache/java/rules.py
@@ -73,4 +73,5 @@ def... | [internal] java/thrift: register union that was not registered (#<I>) I missed registering the union type needed for runtime deps to be injected with Apache Thrift for Java. [ci skip-rust] | py |
diff --git a/isort/parse.py b/isort/parse.py
index <HASH>..<HASH> 100644
--- a/isort/parse.py
+++ b/isort/parse.py
@@ -447,6 +447,10 @@ def file_contents(contents: str, config: Config = DEFAULT_CONFIG) -> ParsedConte
f"could not place module {import_from} of line {line} --"
... | ensure all cases are covered by appropriate exception handling | py |
diff --git a/omero_marshal/decode/__init__.py b/omero_marshal/decode/__init__.py
index <HASH>..<HASH> 100644
--- a/omero_marshal/decode/__init__.py
+++ b/omero_marshal/decode/__init__.py
@@ -38,8 +38,9 @@ class Decoder(object):
return rtype(v)
def decode(self, data):
+ o = self.OMERO_CLASS(data.g... | Fix global encoding of details and objects without details | py |
diff --git a/sprockets/mixins/metrics/__init__.py b/sprockets/mixins/metrics/__init__.py
index <HASH>..<HASH> 100644
--- a/sprockets/mixins/metrics/__init__.py
+++ b/sprockets/mixins/metrics/__init__.py
@@ -10,4 +10,4 @@ except ImportError as error:
version_info = (1, 0, 0)
__version__ = '.'.join(str(v) for v in ve... | Export version_info and __version__. | py |
diff --git a/trace_viewer/build/generate_about_tracing_contents.py b/trace_viewer/build/generate_about_tracing_contents.py
index <HASH>..<HASH> 100644
--- a/trace_viewer/build/generate_about_tracing_contents.py
+++ b/trace_viewer/build/generate_about_tracing_contents.py
@@ -2,6 +2,7 @@
# Use of this source code is gov... | Open about_tracing files as utf-8 mode | py |
diff --git a/epson_projector/projector_serial.py b/epson_projector/projector_serial.py
index <HASH>..<HASH> 100644
--- a/epson_projector/projector_serial.py
+++ b/epson_projector/projector_serial.py
@@ -88,8 +88,6 @@ class ProjectorSerial:
response = await self.send_request(
timeout=timeout,
... | Make send_command() return the actual value. A good case response is '' for PWR commands. send_request() already returns False in case of failure. | py |
diff --git a/green/test/test_result.py b/green/test/test_result.py
index <HASH>..<HASH> 100644
--- a/green/test/test_result.py
+++ b/green/test/test_result.py
@@ -142,6 +142,33 @@ class TestProtoTest(unittest.TestCase):
self.assertEqual(t.getDescription(4), val1)
+ def test_newlineDocstring(self):
+ ... | TDD for the win! I knew exactly how I wanted things to change, so I could write the tests first for a change. | py |
diff --git a/test/api_v2_test.py b/test/api_v2_test.py
index <HASH>..<HASH> 100644
--- a/test/api_v2_test.py
+++ b/test/api_v2_test.py
@@ -146,3 +146,12 @@ class TestApi2(unittest.TestCase):
coin = gw2api.v2.currencies.get(1)
self.assertIn(coin, currencies)
self.assertEqual("Coin", coin["name... | add test for WvW objectives endpoint | py |
diff --git a/wsgidav/http_authenticator.py b/wsgidav/http_authenticator.py
index <HASH>..<HASH> 100644
--- a/wsgidav/http_authenticator.py
+++ b/wsgidav/http_authenticator.py
@@ -273,7 +273,7 @@ class HTTPAuthenticator(BaseMiddleware):
def send_basic_auth_response(self, environ, start_response):
realm = s... | Fix exception whenever user access unknown realm (#<I>) | py |
diff --git a/datadog_checks_dev/datadog_checks/dev/tooling/commands/test.py b/datadog_checks_dev/datadog_checks/dev/tooling/commands/test.py
index <HASH>..<HASH> 100644
--- a/datadog_checks_dev/datadog_checks/dev/tooling/commands/test.py
+++ b/datadog_checks_dev/datadog_checks/dev/tooling/commands/test.py
@@ -288,7 +28... | Fix codecov report (#<I>) * Change logic to exclude marketplace * Test codecov * Remove conditional * Trigger codecov * Rename logic * Remove unused code | py |
diff --git a/safe/impact_functions/generic/classified_polygon_people/impact_function.py b/safe/impact_functions/generic/classified_polygon_people/impact_function.py
index <HASH>..<HASH> 100644
--- a/safe/impact_functions/generic/classified_polygon_people/impact_function.py
+++ b/safe/impact_functions/generic/classified... | Impact Data in ClassifiedPolygonPeople IF. | py |
diff --git a/abydos/phonetic.py b/abydos/phonetic.py
index <HASH>..<HASH> 100644
--- a/abydos/phonetic.py
+++ b/abydos/phonetic.py
@@ -3408,9 +3408,9 @@ def phonet(word, ml=1, lang='de', trace=False):
rule = rule[1:]
if rule:
- priority0 = r... | enforced that priority(0) will always be an int | py |
diff --git a/pyqode/python/modes/__init__.py b/pyqode/python/modes/__init__.py
index <HASH>..<HASH> 100644
--- a/pyqode/python/modes/__init__.py
+++ b/pyqode/python/modes/__init__.py
@@ -38,7 +38,7 @@ from pyqode.python.modes.pyflakes_checker import PyFlakesCheckerMode
from pyqode.python.modes.syntax_highlighter impor... | Internal renaming (follow up) | py |
diff --git a/ca/django_ca/models.py b/ca/django_ca/models.py
index <HASH>..<HASH> 100644
--- a/ca/django_ca/models.py
+++ b/ca/django_ca/models.py
@@ -717,10 +717,10 @@ class CertificateAuthority(X509CertMixin):
# extension that is also added in the CRL Distribution Points extension for CAs issued by this CA.
... | add check if ca_settings.CA_DEFAULT_HOSTNAME is set | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python
#
# texttable - module for creating simple ASCII tables
-# Copyright (C) 2003-2019 Gerome Fournier <jef(at)foutaise.org>
+# Copyright (C) 2003-2020 Gerome Fournier <jef(at)foutaise.org>
... | Update copyright year to <I> | py |
diff --git a/tests/integration/ssh/test_state.py b/tests/integration/ssh/test_state.py
index <HASH>..<HASH> 100644
--- a/tests/integration/ssh/test_state.py
+++ b/tests/integration/ssh/test_state.py
@@ -9,6 +9,7 @@ import time
# Import Salt Testing Libs
from tests.support.case import SSHCase
from tests.support.paths... | Skip flaky test on <I> branch The behavior of the set union used to combine ext_nodes and top file matches is not consistent on Python 3 (well, <I> at least), and this produces flaky test results. Since we do not change things like the state compiler in point releases, the method used to combine the ext_nodes and top... | 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
@@ -148,7 +148,10 @@ def _get_systemd_services():
return __context__[contextkey]
ret = set()
for path in SYSTEM_CONFIG_PATHS + LOCAL_CONFIG_PATH:
- ... | Check to see if a path is a link, because it's likely that if it IS a link, one of the other paths points to it. Ignore so we don't get duplicates. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -13,9 +13,14 @@ if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
-with open('README.rst') as f:
- long_description = f.read()
+def open_file(filename):
+ """Open and read t... | Adds change log to long description. | py |
diff --git a/pyathenajdbc/sqlalchemy_athena.py b/pyathenajdbc/sqlalchemy_athena.py
index <HASH>..<HASH> 100644
--- a/pyathenajdbc/sqlalchemy_athena.py
+++ b/pyathenajdbc/sqlalchemy_athena.py
@@ -36,20 +36,21 @@ class AthenaCompiler(SQLCompiler):
_TYPE_MAPPINGS = {
+ 'BOOLEAN': BOOLEAN,
'REAL': FLOAT,
... | Add more types to SQLAlchemy type conversion | py |
diff --git a/bubbletools/__init__.py b/bubbletools/__init__.py
index <HASH>..<HASH> 100644
--- a/bubbletools/__init__.py
+++ b/bubbletools/__init__.py
@@ -3,4 +3,4 @@ from bubbletools.validator import validate
from bubbletools.bbltree import BubbleTree
-__version__ = '0.6.7'
+__version__ = '0.6.8.dev0' | Back to development: <I> | py |
diff --git a/nodeconductor/structure/models.py b/nodeconductor/structure/models.py
index <HASH>..<HASH> 100644
--- a/nodeconductor/structure/models.py
+++ b/nodeconductor/structure/models.py
@@ -862,10 +862,7 @@ class ServiceProjectLink(quotas_models.QuotaModelMixin,
"""
Defines whether service compli... | Compare objects instead of properties [WAL-<I>] | py |
diff --git a/test/unit/test_linker.py b/test/unit/test_linker.py
index <HASH>..<HASH> 100644
--- a/test/unit/test_linker.py
+++ b/test/unit/test_linker.py
@@ -46,11 +46,12 @@ class LinkerTest(unittest.TestCase):
manifest = _mock_manifest('ABC')
(fd, fname) = tempfile.mkstemp()
- self.linker.w... | update test_linker.py to handle a temp file using try/finally This is based on the recommendation from @beckjake: <URL> | py |
diff --git a/bulbs/base/models.py b/bulbs/base/models.py
index <HASH>..<HASH> 100644
--- a/bulbs/base/models.py
+++ b/bulbs/base/models.py
@@ -83,7 +83,7 @@ class Tagish(models.Model):
@classmethod
def search(cls, query=None):
index = settings.ES_INDEXES.get('default')
- results = TagishS().in... | Let's get some settings up in this joint | py |
diff --git a/peru/parser.py b/peru/parser.py
index <HASH>..<HASH> 100644
--- a/peru/parser.py
+++ b/peru/parser.py
@@ -209,6 +209,12 @@ def _get_duplicate_keys_approximate(yaml_text):
indent_to_keylines = collections.defaultdict(dict)
for _line_index, line in enumerate(lines):
line_num = _line_index ... | handle comments in our approximate-YAML-parsing code We kinda-sorta parse YAML files ourselves to look for duplicate keys. This code isn't robust at all, but it's only used to generate a warning, so it's probably better than writing a full-blown YAML parser. One mistake this parser was making was treating commented r... | py |
diff --git a/GPy/plotting/matplot_dep/controllers/axis_event_controller.py b/GPy/plotting/matplot_dep/controllers/axis_event_controller.py
index <HASH>..<HASH> 100644
--- a/GPy/plotting/matplot_dep/controllers/axis_event_controller.py
+++ b/GPy/plotting/matplot_dep/controllers/axis_event_controller.py
@@ -14,7 +14,7 @@... | [tests] failing although the same... | py |
diff --git a/pale/fields/links.py b/pale/fields/links.py
index <HASH>..<HASH> 100644
--- a/pale/fields/links.py
+++ b/pale/fields/links.py
@@ -5,7 +5,7 @@ class RelativeLinksField(BaseField):
This field is inherently a list of relative links, but it's special in
that it accepts a list of methods that get ca... | allow relative link generators to return None | py |
diff --git a/climlab/__init__.py b/climlab/__init__.py
index <HASH>..<HASH> 100644
--- a/climlab/__init__.py
+++ b/climlab/__init__.py
@@ -1,4 +1,4 @@
-__version__ = '0.4.2dev'
+__version__ = '0.4.2'
# This list defines all the modules that will be loaded if a user invokes
# from climLab import * | Set version number to <I> | py |
diff --git a/views.py b/views.py
index <HASH>..<HASH> 100644
--- a/views.py
+++ b/views.py
@@ -3,6 +3,9 @@ from django.views.generic import View
from . import exceptions
+ALLOWED_RESPONSE_TYPES = ("code", "token", )
+
+
class OAuthView(View):
def check_get_parameters(self, *parameters):
@@ -11,12 +14,1... | Added check for response type in authorization | py |
diff --git a/openquake/commonlib/source_reader.py b/openquake/commonlib/source_reader.py
index <HASH>..<HASH> 100644
--- a/openquake/commonlib/source_reader.py
+++ b/openquake/commonlib/source_reader.py
@@ -154,6 +154,10 @@ def get_csm(oq, source_model_lt, gsim_lt, h5=None):
def reduce_sources(sources_with_same_id... | Added a docstring [skip CI] | py |
diff --git a/wpull/version.py b/wpull/version.py
index <HASH>..<HASH> 100644
--- a/wpull/version.py
+++ b/wpull/version.py
@@ -1,2 +1,2 @@
# encoding=utf-8
-__version__ = '0.5a1'
+__version__ = '0.6a1' | Bumps version to <I>a1. | py |
diff --git a/meshio/gmsh/_gmsh22.py b/meshio/gmsh/_gmsh22.py
index <HASH>..<HASH> 100644
--- a/meshio/gmsh/_gmsh22.py
+++ b/meshio/gmsh/_gmsh22.py
@@ -352,10 +352,10 @@ def _write_elements(fh, cells, tag_data, binary):
for k, (cell_type, node_idcs) in enumerate(cells):
tags = []
for name in ["gms... | Always write physical and geometrical tag in gmsh<I> writer (zero if nonexistent) | py |
diff --git a/woven/environment.py b/woven/environment.py
index <HASH>..<HASH> 100644
--- a/woven/environment.py
+++ b/woven/environment.py
@@ -406,8 +406,12 @@ def set_env(settings=None, setup_dir=''):
#be used by woven or fabric
env.MEDIA_ROOT = project_settings.MEDIA_ROOT
env.MEDIA_URL = project_settin... | handle redundant ADMIN_MEDIA_PREFIX removed from Django in <I> | py |
diff --git a/salt/utils/openstack/nova.py b/salt/utils/openstack/nova.py
index <HASH>..<HASH> 100644
--- a/salt/utils/openstack/nova.py
+++ b/salt/utils/openstack/nova.py
@@ -148,7 +148,7 @@ class NovaServer(object):
self.public_ips.append(addr['addr'])
else:
s... | OS-EXT-IPS:type is not always defined on addresses In novaclient servers | py |
diff --git a/src/psd_tools/psd/header.py b/src/psd_tools/psd/header.py
index <HASH>..<HASH> 100644
--- a/src/psd_tools/psd/header.py
+++ b/src/psd_tools/psd/header.py
@@ -12,7 +12,7 @@ from psd_tools.utils import read_fmt, write_fmt
logger = logging.getLogger(__name__)
-@attr.s(repr=False, slots=True)
+@attr.s(rep... | Add repr=True to file header | py |
diff --git a/openquake/calculators/getters.py b/openquake/calculators/getters.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/getters.py
+++ b/openquake/calculators/getters.py
@@ -212,13 +212,8 @@ class PmapGetter(object):
array[:, 0] = pcurve.array[:, 0]
pcurve.array = arra... | Removed a call to get_pmaps [skip hazardlib][demos] | py |
diff --git a/mizani/scale.py b/mizani/scale.py
index <HASH>..<HASH> 100644
--- a/mizani/scale.py
+++ b/mizani/scale.py
@@ -1,7 +1,7 @@
"""
According to *On the theory of scales of measurement* by **S.S. Stevens**,
-scales can be classified in four ways -- *norminal*, *ordinal*,
-*interval* and *ratio*. Using current(... | DOC: Correct spelling of nominal (#<I>) Nominal comes from the Latin nomen which means name, we can at least identify and thus name the Items. No norm is possible, and no ordering is defined either - one has to apply a convention. | py |
diff --git a/kernel_tuner/util.py b/kernel_tuner/util.py
index <HASH>..<HASH> 100644
--- a/kernel_tuner/util.py
+++ b/kernel_tuner/util.py
@@ -13,7 +13,10 @@ default_block_size_names = ["block_size_x", "block_size_y", "block_size_z"]
def check_argument_list(kernel_name, kernel_string, args):
""" raise an except... | Pinpointing the beginning of the kernel even in more complex scenarios. | py |
diff --git a/Lib/fontMath/mathGlyph.py b/Lib/fontMath/mathGlyph.py
index <HASH>..<HASH> 100644
--- a/Lib/fontMath/mathGlyph.py
+++ b/Lib/fontMath/mathGlyph.py
@@ -71,9 +71,9 @@ class MathGlyph(object):
"""
def __init__(self, glyph):
+ self.contours = []
+ self.components = []
if glyph... | self.contours and self.components are needed even if a glyph is provided. | py |
diff --git a/packages/vaex-core/vaex/file/gcs.py b/packages/vaex-core/vaex/file/gcs.py
index <HASH>..<HASH> 100644
--- a/packages/vaex-core/vaex/file/gcs.py
+++ b/packages/vaex-core/vaex/file/gcs.py
@@ -22,11 +22,11 @@ def glob(path, fs_options={}):
def parse(path, fs_options={}, for_arrow=False):
path = path.r... | fix: gcs options were ignored | py |
diff --git a/yotta/lib/target.py b/yotta/lib/target.py
index <HASH>..<HASH> 100644
--- a/yotta/lib/target.py
+++ b/yotta/lib/target.py
@@ -592,7 +592,9 @@ class DerivedTarget(Target):
logger.error('error starting test output filter "%s": %s', filter_command, e)
_tryTerminate(te... | even more debug logging around test subcommands | py |
diff --git a/galpy/actionAngle_src/actionAngleFlat.py b/galpy/actionAngle_src/actionAngleFlat.py
index <HASH>..<HASH> 100644
--- a/galpy/actionAngle_src/actionAngleFlat.py
+++ b/galpy/actionAngle_src/actionAngleFlat.py
@@ -193,7 +193,7 @@ class actionAngleFlat(actionAngle):
HISTORY:
2010-05-13 - Wr... | make interface consistent for JPhi and JR | py |
diff --git a/pycbc/filter/matchedfilter.py b/pycbc/filter/matchedfilter.py
index <HASH>..<HASH> 100644
--- a/pycbc/filter/matchedfilter.py
+++ b/pycbc/filter/matchedfilter.py
@@ -169,6 +169,26 @@ def sigma(htilde, psd = None, low_frequency_cutoff=None,
return sqrt(sigmasq(htilde, psd, low_frequency_cutoff, high_fr... | Apply matchedfilter nyquist bug fix from Collin as reported in <URL> | py |
diff --git a/crust/api.py b/crust/api.py
index <HASH>..<HASH> 100644
--- a/crust/api.py
+++ b/crust/api.py
@@ -8,6 +8,7 @@ from .exceptions import ResponseError
class Api(object):
resources = {}
+ unsupported_methods = []
def __init__(self, session=None, *args, **kwargs):
super(Api, self).__i... | Handle the case where a method isn't supported by the api's stack | py |
diff --git a/core/dbt/ui/printer.py b/core/dbt/ui/printer.py
index <HASH>..<HASH> 100644
--- a/core/dbt/ui/printer.py
+++ b/core/dbt/ui/printer.py
@@ -407,5 +407,4 @@ def line_wrap_message(
def warning_tag(msg: str) -> str:
- warning_tag = warning_tag = '[' + yellow('WARNING') + ']: '
- return warning_tag + ... | Simplified warning_tag() logic | py |
diff --git a/isotopic_logging/context.py b/isotopic_logging/context.py
index <HASH>..<HASH> 100644
--- a/isotopic_logging/context.py
+++ b/isotopic_logging/context.py
@@ -45,6 +45,8 @@ _stack = InjectionStack(_local)
class InjectionContext(object):
+ _old_enter_time = None
+
def __init__(self, injector, in... | ensure `elapsed_time` is related only to current context manager (#3) | 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
@@ -628,7 +628,7 @@ class Assembly(object):
## param 24 can be an int or a float:
[Assembly].set_params(24, 4)
- [Assembly].set_params('max_sh... | Nasty bug where max_shared_Hs_locus was not getting actually used | py |
diff --git a/launch_control/utils/json/impl.py b/launch_control/utils/json/impl.py
index <HASH>..<HASH> 100644
--- a/launch_control/utils/json/impl.py
+++ b/launch_control/utils/json/impl.py
@@ -4,6 +4,10 @@ JSON implementations available with different python versions.
"""
import os
+# Temporary workaround, unit t... | Add __inhibit_protect__ to utils.json.impl as a temporary workaround | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -18,7 +18,13 @@ NASSL_SETUP = {
"name": "nassl",
"version": __version__,
"package_dir": {"nassl": "nassl"},
- "py_modules": ["nassl.__init__", "nassl.ssl_client", "nassl.key_exchange_info", "nassl.legacy_ssl_... | Fixed E<I> line too long in setup.py. | py |
diff --git a/tests/test_operations.py b/tests/test_operations.py
index <HASH>..<HASH> 100644
--- a/tests/test_operations.py
+++ b/tests/test_operations.py
@@ -90,6 +90,10 @@ def make_operation_tests(arg):
raise Exception((
'Operation not idempotent, second output co... | Show a warning for non-idempotent operations. | py |
diff --git a/authomatic/adapters/__init__.py b/authomatic/adapters/__init__.py
index <HASH>..<HASH> 100644
--- a/authomatic/adapters/__init__.py
+++ b/authomatic/adapters/__init__.py
@@ -87,9 +87,6 @@ class BaseAdapter(object):
__metaclass__ = abc.ABCMeta
- def login(self, *args, **kwargs):
- ... | Removed the login wrapper from BaseAdapter. | py |
diff --git a/HardwareSource.py b/HardwareSource.py
index <HASH>..<HASH> 100644
--- a/HardwareSource.py
+++ b/HardwareSource.py
@@ -456,6 +456,7 @@ def update_data_item_from_data_element(channel_state, data_item, data_element):
left = sub_area[0][1]
right = sub_area[0][1] + sub_area[1][... | Fix data updating bug during partial updates. svn r<I> | py |
diff --git a/examples/other/makeVideo.py b/examples/other/makeVideo.py
index <HASH>..<HASH> 100644
--- a/examples/other/makeVideo.py
+++ b/examples/other/makeVideo.py
@@ -16,7 +16,7 @@ video = Video(name="spider.mp4", duration=3)
for i in range(80):
vp.show() # render the scene first
- vp.camera.Elevation(1... | Removed trailing spaces in examples/other/makeVideo.py | py |
diff --git a/custodian/qchem/jobs.py b/custodian/qchem/jobs.py
index <HASH>..<HASH> 100644
--- a/custodian/qchem/jobs.py
+++ b/custodian/qchem/jobs.py
@@ -154,7 +154,7 @@ class QchemJob(Job):
def run(self):
if "edique" in os.environ["PBS_JOBID"] or "hopque" in os.environ["PBS_JOBID"]:
- tmp_c... | shouldn't delete /tmp itelf, only the sub directory should be deleted | py |
diff --git a/insights/client/archive.py b/insights/client/archive.py
index <HASH>..<HASH> 100644
--- a/insights/client/archive.py
+++ b/insights/client/archive.py
@@ -30,7 +30,8 @@ class InsightsArchive(object):
"""
self.config = config
self.tmp_dir = tempfile.mkdtemp(prefix='/var/tmp/')
- ... | Delete archive dir (#<I>) * Always delete the archive dir during cleanup We should get rid of the archive dir during cleanup. We can still keep the resulting file which can easily be extracted if there is a need to see what is inside | py |
diff --git a/great_expectations/data_context/data_context.py b/great_expectations/data_context/data_context.py
index <HASH>..<HASH> 100644
--- a/great_expectations/data_context/data_context.py
+++ b/great_expectations/data_context/data_context.py
@@ -677,7 +677,7 @@ class ConfigOnlyDataContext(object):
logger.... | Rephrased the warning message to sound less urgent | py |
diff --git a/toml.py b/toml.py
index <HASH>..<HASH> 100644
--- a/toml.py
+++ b/toml.py
@@ -5,7 +5,7 @@ def loads(s):
"""Returns a dictionary containing s, a string, parsed as toml."""
retval = {}
currentlevel = retval
- if isinstance(s, str):
+ if isinstance(s, basestring):
sl = list(s)
... | Fix #6, make loads accept unicode strings too | py |
diff --git a/anyconfig/compat.py b/anyconfig/compat.py
index <HASH>..<HASH> 100644
--- a/anyconfig/compat.py
+++ b/anyconfig/compat.py
@@ -63,7 +63,7 @@ if IS_PYTHON_3:
raw_input = input
STR_TYPES = (str, )
izip = zip
- getargspec = inspect.getfullargspec
+ getargspec = inspect.getfullargspec # fl... | refactor: suppress pylint:no-member warns for some members not availble in python 2 or 3 | py |
diff --git a/bitshares/transactionbuilder.py b/bitshares/transactionbuilder.py
index <HASH>..<HASH> 100644
--- a/bitshares/transactionbuilder.py
+++ b/bitshares/transactionbuilder.py
@@ -181,13 +181,22 @@ class TransactionBuilder(dict):
tx = self.json()
# Broadcast
- try:
- self.bi... | [broadcast] broadcast tx synchro | py |
diff --git a/estnltk/storage/postgres/collection.py b/estnltk/storage/postgres/collection.py
index <HASH>..<HASH> 100755
--- a/estnltk/storage/postgres/collection.py
+++ b/estnltk/storage/postgres/collection.py
@@ -357,11 +357,17 @@ class PgCollection:
if len(buffer) == 0:
return []
- cur... | improved error logging in PgCollection._flush_buffered_insert | py |
diff --git a/cmd2.py b/cmd2.py
index <HASH>..<HASH> 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -2022,10 +2022,12 @@ class ParserManager:
class HistoryItem(str):
"""Class used to represent an item in the History list.
- Thing wrapper around str class which adds a custom format for printing. It also keeps track of... | Fix bug in history command It output double newlines after each history item | py |
diff --git a/derpibooru/search.py b/derpibooru/search.py
index <HASH>..<HASH> 100644
--- a/derpibooru/search.py
+++ b/derpibooru/search.py
@@ -22,3 +22,10 @@ class Search(object):
def comments(self):
return(self.__comments)
+ @property
+ def key(self):
+ return(self.__key)
+
+ @property
+ def fav(self)... | add key and fav properties to Search | py |
diff --git a/src/googleclouddebugger/capture_collector.py b/src/googleclouddebugger/capture_collector.py
index <HASH>..<HASH> 100644
--- a/src/googleclouddebugger/capture_collector.py
+++ b/src/googleclouddebugger/capture_collector.py
@@ -201,7 +201,11 @@ class CaptureCollector(object):
'status': {
... | Make the "Buffer full" message more helpful by telling the user they can add an expression to prioritize capturing the variable in question. ------------- Created by MOE: <URL> | py |
diff --git a/lhc/tools/sorter.py b/lhc/tools/sorter.py
index <HASH>..<HASH> 100644
--- a/lhc/tools/sorter.py
+++ b/lhc/tools/sorter.py
@@ -1,3 +1,4 @@
+import cPickle
import os
from itertools import chain
@@ -29,7 +30,7 @@ class Sorter(object):
import tempfile
tmp_dir = tempfile.mkdtemp()
... | changed large sorter to use pickling for intermediates | py |
diff --git a/cow/views.py b/cow/views.py
index <HASH>..<HASH> 100644
--- a/cow/views.py
+++ b/cow/views.py
@@ -104,6 +104,13 @@ class PluginDeleteView(DeleteView):
plugin.content_object.delete()
return super(PluginDeleteView, self).delete(self, request, args, kwargs)
+ def get_success_url(self):
... | -Make deleting plugins slightly logical redirects: back to page from which it is deleted | py |
diff --git a/pyca/ui/jsonapi.py b/pyca/ui/jsonapi.py
index <HASH>..<HASH> 100644
--- a/pyca/ui/jsonapi.py
+++ b/pyca/ui/jsonapi.py
@@ -151,7 +151,10 @@ def modify_event(db, uid):
of the scheduler cache cannot be modified.
'''
try:
- data = request.get_json()['data'][0]
+ data = request.get_... | Fix Silently Discarding Data This patch catches a problem where the API would silently discard additional data passed to the event modification endpoint instead of returning a bad request. | py |
diff --git a/pricedb/model.py b/pricedb/model.py
index <HASH>..<HASH> 100644
--- a/pricedb/model.py
+++ b/pricedb/model.py
@@ -15,4 +15,6 @@ class PriceModel:
def __repr__(self):
symbol = f"{self.namespace}:{self.symbol}" if self.namespace else self.symbol
symbol = f"{symbol:<13}"
- return... | fixed formatting to align the prices on import | py |
diff --git a/src/molecule/dependency/ansible_galaxy/base.py b/src/molecule/dependency/ansible_galaxy/base.py
index <HASH>..<HASH> 100644
--- a/src/molecule/dependency/ansible_galaxy/base.py
+++ b/src/molecule/dependency/ansible_galaxy/base.py
@@ -113,11 +113,11 @@ class AnsibleGalaxyBase(base.Base):
)
d... | Restore option to disable galaxy dependency check (#<I>) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -44,7 +44,7 @@ def get_version():
return version_file.read().strip()
-requirements = ['ckanapi==3.7.dev0',
+requirements = ['http://github.com/ckan/ckanapi/tarball/master#egg=ckanapi',
'colorlog',
... | Version <I> - try to pull in correct dependency | py |
diff --git a/shinken/modules/canopsis_broker.py b/shinken/modules/canopsis_broker.py
index <HASH>..<HASH> 100644
--- a/shinken/modules/canopsis_broker.py
+++ b/shinken/modules/canopsis_broker.py
@@ -445,7 +445,7 @@ class event2amqp():
return True
def save_queue(self):
- retentionfile = "%s/canops... | Add a fixme-comment. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -88,7 +88,7 @@ setup(
long_description=open_here('README.rst').read(),
author="Guillaume Pellerin, Paul Brossier, Thomas Fillon, Riccardo Zaccarelli, Olivier Guilyardi",
author_email="yomguy@parisson.com, piem@p... | [setup] goto <I> | py |
diff --git a/jax/core.py b/jax/core.py
index <HASH>..<HASH> 100644
--- a/jax/core.py
+++ b/jax/core.py
@@ -544,11 +544,10 @@ trace_state = TraceState()
def reset_trace_state() -> bool:
"Reset the global trace state and return True if it was already clean."
- global trace_state
if (trace_state.substack != [Sub... | make core.trace_state resetting be thread-local | py |
diff --git a/amino/algebra.py b/amino/algebra.py
index <HASH>..<HASH> 100644
--- a/amino/algebra.py
+++ b/amino/algebra.py
@@ -3,6 +3,7 @@ from typing import GenericMeta, Any
from types import SimpleNamespace
from amino import List, Lists
+from amino.util.string import ToStr
class AlgebraMeta(GenericMeta):
@@ ... | convenience base class `Algebra` inheriting `ToStr` | py |
diff --git a/dashboard/modules/reporter/reporter_agent.py b/dashboard/modules/reporter/reporter_agent.py
index <HASH>..<HASH> 100644
--- a/dashboard/modules/reporter/reporter_agent.py
+++ b/dashboard/modules/reporter/reporter_agent.py
@@ -194,7 +194,11 @@ class ReporterAgent(dashboard_utils.DashboardAgentModule,
... | [Kubernetes][dashboard][minor] Fix uptime (#<I>) | py |
diff --git a/argh/assembling.py b/argh/assembling.py
index <HASH>..<HASH> 100644
--- a/argh/assembling.py
+++ b/argh/assembling.py
@@ -231,11 +231,11 @@ def set_default_command(parser, function):
# 1) make sure that this declared arg conforms to the function
# signature and therefore only r... | Normalize hyphen/underscore when comparing a declared arg with function signature | py |
diff --git a/pyatv/support/http.py b/pyatv/support/http.py
index <HASH>..<HASH> 100644
--- a/pyatv/support/http.py
+++ b/pyatv/support/http.py
@@ -330,11 +330,10 @@ class HttpConnection(asyncio.Protocol):
# Dispatch message to first receiver
self._responses.put(parsed)
- event = s... | http: Handle responses when no receiver exists If a request was made with HttpConnection and cancelled before the response was received, a response could be received with no apparent receiver yielding an exception. This commit fixes that. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -34,7 +34,7 @@ setup(
],
classifiers=[
'Development Status :: 5 - Production/Stable',
- 'Framework :: Django :: 1.11.17',
+ 'Framework :: Django :: 1.11',
'Framework :: Django :: 2.0',... | Update Django <I> classifier in setup.py | py |
diff --git a/satpy/readers/agri_l1.py b/satpy/readers/agri_l1.py
index <HASH>..<HASH> 100644
--- a/satpy/readers/agri_l1.py
+++ b/satpy/readers/agri_l1.py
@@ -148,7 +148,8 @@ class HDF_AGRI_L1(HDF5FileHandler):
(data <= max(data.attrs['valid_range'])))
else:
data.att... | Revert AGRI cleanup as it's converting data types incorrectly. | py |
diff --git a/config_resolver/core.py b/config_resolver/core.py
index <HASH>..<HASH> 100644
--- a/config_resolver/core.py
+++ b/config_resolver/core.py
@@ -22,7 +22,7 @@ from warnings import warn
from .exc import NoVersionError
from .util import PrefixFilter
-__version__ = '4.3.0'
+__version__ = '4.3.1'
if sys.... | Version bumped to <I> | py |
diff --git a/PySimpleGUI.py b/PySimpleGUI.py
index <HASH>..<HASH> 100644
--- a/PySimpleGUI.py
+++ b/PySimpleGUI.py
@@ -715,9 +715,11 @@ class Button(Element):
self.ParentForm.TKroot.quit() # kick the users out of the mainloop
return
- def Update(self, new_text):
+ def Update(... | Added ability to change button colors using Update method | py |
diff --git a/py3270/__init__.py b/py3270/__init__.py
index <HASH>..<HASH> 100644
--- a/py3270/__init__.py
+++ b/py3270/__init__.py
@@ -217,7 +217,7 @@ class Wc3270App(ExecutableApp):
count = 0
while count < 15:
try:
- sock.connect(("127.0.0.1", self.script_port))
+ ... | change connection from '<I>' to 'localhost' | py |
diff --git a/tests/integration/test_pairwise_significance.py b/tests/integration/test_pairwise_significance.py
index <HASH>..<HASH> 100644
--- a/tests/integration/test_pairwise_significance.py
+++ b/tests/integration/test_pairwise_significance.py
@@ -572,7 +572,7 @@ class TestOverlapsPairwiseSignificance(TestCase):
... | cr: ernesto's comments | py |
diff --git a/openquake/calculators/extract.py b/openquake/calculators/extract.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/extract.py
+++ b/openquake/calculators/extract.py
@@ -26,7 +26,7 @@ except ImportError:
from openquake.risklib.utils import memoized
else:
memoized = lru_cache(100)
-from o... | Added an API /extract/asset_tags | py |
diff --git a/noseOfYeti/plugins/pytest.py b/noseOfYeti/plugins/pytest.py
index <HASH>..<HASH> 100644
--- a/noseOfYeti/plugins/pytest.py
+++ b/noseOfYeti/plugins/pytest.py
@@ -68,5 +68,16 @@ def filter_collection(collected, obj):
except Exception:
pass
+ if obj.__dict__.get("__only_run_tes... | Make pytest support __only_run_tests_in_children__ property | py |
diff --git a/rhcalendar/locales.py b/rhcalendar/locales.py
index <HASH>..<HASH> 100644
--- a/rhcalendar/locales.py
+++ b/rhcalendar/locales.py
@@ -55,7 +55,6 @@ locales = {
datetime.date(2021, 10, 22),
datetime.date(2021, 11, 25),
datetime.date(2021, 11, 26),
- datetime.date(2021, 12, ... | locales: rm <I>-<I>-<I> People team adjusted in October | py |
diff --git a/salt/fileserver/__init__.py b/salt/fileserver/__init__.py
index <HASH>..<HASH> 100644
--- a/salt/fileserver/__init__.py
+++ b/salt/fileserver/__init__.py
@@ -117,6 +117,13 @@ class Fileserver(object):
'rel': ''}
if os.path.isabs(path):
return fnd
+ else:
+ ... | Added sanity-check that requested path lives inside file_roots | py |
diff --git a/worldengine/cli/main.py b/worldengine/cli/main.py
index <HASH>..<HASH> 100644
--- a/worldengine/cli/main.py
+++ b/worldengine/cli/main.py
@@ -388,11 +388,13 @@ def main():
if not os.path.exists(args.FILE):
usage("The specified world file does not exist")
- random.seed()
if a... | The random generator now properly uses the seed to produce deterministic results. | py |
diff --git a/hotdoc/extensions/devhelp/devhelp_extension.py b/hotdoc/extensions/devhelp/devhelp_extension.py
index <HASH>..<HASH> 100644
--- a/hotdoc/extensions/devhelp/devhelp_extension.py
+++ b/hotdoc/extensions/devhelp/devhelp_extension.py
@@ -176,7 +176,7 @@ class DevhelpExtension(Extension):
def setup(self)... | devhelp: do not underconnect signals either | py |
diff --git a/colorful/core.py b/colorful/core.py
index <HASH>..<HASH> 100644
--- a/colorful/core.py
+++ b/colorful/core.py
@@ -209,11 +209,14 @@ class Colorful(object):
:param int colormode: the color mode to use. See ``translate_rgb_to_ansi_code``
"""
- def __init__(self, colormode):
+ def __init__(s... | Dummy auto-detect color mode for Colorful objects | py |
diff --git a/pypif_sdk/interop/tests/test_mdf_interop.py b/pypif_sdk/interop/tests/test_mdf_interop.py
index <HASH>..<HASH> 100644
--- a/pypif_sdk/interop/tests/test_mdf_interop.py
+++ b/pypif_sdk/interop/tests/test_mdf_interop.py
@@ -3,6 +3,8 @@ from pypif.obj.system import System, ChemicalSystem
from pypif_sdk.inter... | Skipping test if there is no API key; actually checking something | py |
diff --git a/src/canmatrix/canmatrix.py b/src/canmatrix/canmatrix.py
index <HASH>..<HASH> 100644
--- a/src/canmatrix/canmatrix.py
+++ b/src/canmatrix/canmatrix.py
@@ -1817,8 +1817,8 @@ class CanMatrix(object):
for signal in frame.signals:
if signal_define in signal.attributes:
... | Kankan patch :: Custom Signal Attributes are removed (#<I>) * Fix #<I> :: Custom Signal Attributes are removed due to wrong indent | py |
diff --git a/salt/modules/arista_pyeapi.py b/salt/modules/arista_pyeapi.py
index <HASH>..<HASH> 100644
--- a/salt/modules/arista_pyeapi.py
+++ b/salt/modules/arista_pyeapi.py
@@ -80,7 +80,7 @@ outside a ``pyeapi`` Proxy, e.g.:
.. code-block:: bash
- salt '*' pyeapi.send_commands 'show version' 'show interfaces'... | Corrected example code documentation for run_commands (had send_commands) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -96,7 +96,7 @@ setup(
'Topic :: Scientific/Engineering',
),
keywords="seismic hazard",
- license="GNU AGPL v3",
+ license="AGPL3",
platforms=["any"],
package_data={"openquake.hazardlib": [
... | setup.py: license should be 'AGPL3' only' | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,4 @@
-from setuptools import setup, find_packages
+from setuptools import setup
import re
requirements = [] | Remove unused import find_packages function is not used anymore | py |
diff --git a/lib/svtplay_dl/service/urplay.py b/lib/svtplay_dl/service/urplay.py
index <HASH>..<HASH> 100644
--- a/lib/svtplay_dl/service/urplay.py
+++ b/lib/svtplay_dl/service/urplay.py
@@ -36,7 +36,8 @@ class Urplay(Service, OpenGraphThumbMixin):
data = match.group(1)
jsondata = json.loads(data)
-... | urplay: Check how many items we have in subtitles This fixes #<I> | py |
diff --git a/scripts/devops_tasks/setup_execute_tests.py b/scripts/devops_tasks/setup_execute_tests.py
index <HASH>..<HASH> 100644
--- a/scripts/devops_tasks/setup_execute_tests.py
+++ b/scripts/devops_tasks/setup_execute_tests.py
@@ -26,11 +26,10 @@ def prep_and_run_tests(targeted_packages, python_version, test_res):
... | allowing management service runs to not contain tests (#<I>) * allowing management service runs to not contain tests | py |
diff --git a/py/tests/unit/with_runtime_sparkling/test_gcs_import.py b/py/tests/unit/with_runtime_sparkling/test_gcs_import.py
index <HASH>..<HASH> 100644
--- a/py/tests/unit/with_runtime_sparkling/test_gcs_import.py
+++ b/py/tests/unit/with_runtime_sparkling/test_gcs_import.py
@@ -18,7 +18,8 @@
import h2o
def test... | [SW-<I>] change GCS import test file (#<I>) | py |
diff --git a/demosys/effects/registry.py b/demosys/effects/registry.py
index <HASH>..<HASH> 100644
--- a/demosys/effects/registry.py
+++ b/demosys/effects/registry.py
@@ -183,10 +183,11 @@ class EffectPackage:
self.resources = getattr(self.dependencies_module, 'resources')
except AttributeError:
... | Look for effect_packages in dependencies module | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -10,7 +10,7 @@ except ImportError:
setup(
name='threadloop',
- version='0.3.0',
+ version='0.3.1.dev0',
author='Grayson Koonce',
author_email='breerly@gmail.com',
description='Tornado IOLoop Backed... | Bump to <I>.dev0 | py |
diff --git a/container/utils/__init__.py b/container/utils/__init__.py
index <HASH>..<HASH> 100644
--- a/container/utils/__init__.py
+++ b/container/utils/__init__.py
@@ -13,7 +13,7 @@ from datetime import datetime
from distutils import dir_util
from jinja2 import Environment, FileSystemLoader
from ruamel import yam... | Assume environment values are meant to be strings. (#<I>) Fixes #<I> | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.