diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/test/utils.py b/test/utils.py
index <HASH>..<HASH> 100644
--- a/test/utils.py
+++ b/test/utils.py
@@ -85,7 +85,9 @@ def main(mod=None):
suite.addTests(unittest.TestLoader().loadTestsFromName(arg, mod))
if suite.countTestCases() > 0:
- unittest.TextTestRunner(verbosity=options.verbose... | tests: exiting with error code when tests fail. | py |
diff --git a/pyblish_maya/lib.py b/pyblish_maya/lib.py
index <HASH>..<HASH> 100644
--- a/pyblish_maya/lib.py
+++ b/pyblish_maya/lib.py
@@ -207,7 +207,13 @@ def _add_to_filemenu():
# in a deferred call by Maya during idle, it won't have access
# to other variables declared in this module.
import pyblish
-... | Support for Pyblish <I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -41,10 +41,13 @@ setup(
],
extras_require={
'tests': [
+ # coveralls should be required before boto3
+ # to avoid dependency conflict for Python 2.7
+ 'coveralls',
+
... | Fix coveralls/boto3 dependency conflict (#<I>) Both coveralls and boto3 require urllib3. But for Python <I> coveralls requires urllib3[secure]<<I>,>=<I> when boto3 requires botocore which requires urllib3>=<I>,<<I>. Pip installs version that's required first because it has no dependency resolver. See <URL> | py |
diff --git a/gitlab/objects.py b/gitlab/objects.py
index <HASH>..<HASH> 100644
--- a/gitlab/objects.py
+++ b/gitlab/objects.py
@@ -870,7 +870,9 @@ class GroupMember(GitlabObject):
canGet = 'from_list'
requiredUrlAttrs = ['group_id']
requiredCreateAttrs = ['access_level', 'user_id']
+ optionalCreateAtt... | {Project,Group}Member: support expires_at attribute Fixes #<I> | py |
diff --git a/salt/modules/zypper.py b/salt/modules/zypper.py
index <HASH>..<HASH> 100644
--- a/salt/modules/zypper.py
+++ b/salt/modules/zypper.py
@@ -255,7 +255,7 @@ def _get_repo_info(alias, repos_cfg=None):
return {}
-def get_repo(repo, **dummy_kwargs):
+def get_repo(repo, **kwargs):
'''
Displ... | Rename argument as proposed by terminalmage. | py |
diff --git a/pyes/query.py b/pyes/query.py
index <HASH>..<HASH> 100644
--- a/pyes/query.py
+++ b/pyes/query.py
@@ -430,7 +430,7 @@ class TopChildrenQuery(ConstantScoreQuery):
self.incremental_factor = incremental_factor
def _serialize(self):
- if self.score not in ["max", "min", "avg"]:
+ ... | added 'sum' to possible score types | py |
diff --git a/chevron/renderer.py b/chevron/renderer.py
index <HASH>..<HASH> 100644
--- a/chevron/renderer.py
+++ b/chevron/renderer.py
@@ -67,16 +67,10 @@ def _get_key(key, scopes, warn=False):
scope = scope[child]
except (TypeError, AttributeError):
try:
- ... | Use getattr instead of _asdict/__getitem__ `_asdict` is not public API for `namedtuple`. You may want to consider using the built-in `string` module, which implements this kind of `<I>`/`.foo` formatting. | py |
diff --git a/bugwarrior/services/phab.py b/bugwarrior/services/phab.py
index <HASH>..<HASH> 100644
--- a/bugwarrior/services/phab.py
+++ b/bugwarrior/services/phab.py
@@ -155,7 +155,12 @@ class PhabricatorService(IssueService):
yield self.get_issue_for_record(issue, extra)
- diffs = self.api.dif... | [phabricator] Connect to phabricator without Differential (#<I>) phab differential in tryblock | py |
diff --git a/setuptools/command/dist_info.py b/setuptools/command/dist_info.py
index <HASH>..<HASH> 100644
--- a/setuptools/command/dist_info.py
+++ b/setuptools/command/dist_info.py
@@ -4,7 +4,6 @@ As defined in the wheel specification
"""
import os
-import shutil
from distutils.core import Command
from distut... | dist_info: create the egg_info in the same location This change is a small simplification that simply creates the egg_info directory in the egg_base location; it's a minor cleanup that results in some read and it helps with read-only directories (the egg_info directory is uncontrollable). | py |
diff --git a/moran.py b/moran.py
index <HASH>..<HASH> 100644
--- a/moran.py
+++ b/moran.py
@@ -695,7 +695,9 @@ class Moran_Local_Rate(Moran_Local):
"V": variance-stabilizing.
permutations : number of random permutations for calculation of pseudo
p_values
-
+ geoda_q... | Adding option for geoda_quads in LISA related classes/methods for issue #<I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -40,7 +40,7 @@ setup(
# For a discussion on single-sourcing the version across setup.py and the
# project code, see
# https://packaging.python.org/en/latest/single_source_version.html
- version='0.5.2', # Re... | removing winreg from installation requirements | py |
diff --git a/growler/middleware_chain.py b/growler/middleware_chain.py
index <HASH>..<HASH> 100644
--- a/growler/middleware_chain.py
+++ b/growler/middleware_chain.py
@@ -127,7 +127,7 @@ class MiddlewareChain:
The generator keeps any error handlers encountered walking the tree in
its internal state. I... | MiddlewareChain: Fixed missing try/except statement when handling error occuring in error handler & updated docstring | py |
diff --git a/tests/test_functions.py b/tests/test_functions.py
index <HASH>..<HASH> 100644
--- a/tests/test_functions.py
+++ b/tests/test_functions.py
@@ -23,7 +23,7 @@ from nose2.tools import params
from pyisbn import (IsbnError, _isbn_cleanse, calculate_checksum, convert,
validate)
-from test_... | [Tr] Fixed test data import with Python <I>. | py |
diff --git a/mapping/_version.py b/mapping/_version.py
index <HASH>..<HASH> 100644
--- a/mapping/_version.py
+++ b/mapping/_version.py
@@ -1 +1 @@
-__version__ = "0.1.5"
+__version__ = "0.1.6" | Update version to <I> for upcoming release | py |
diff --git a/salt/scripts.py b/salt/scripts.py
index <HASH>..<HASH> 100644
--- a/salt/scripts.py
+++ b/salt/scripts.py
@@ -156,9 +156,8 @@ def minion_process():
log.info('waiting random_reauth_delay %ss', delay)
time.sleep(delay)
sys.exit(salt.defaults.exitcodes.SALT_KEEPALIVE)
- except Ba... | use finally instead of catching baseexception | py |
diff --git a/salt/modules/mysql.py b/salt/modules/mysql.py
index <HASH>..<HASH> 100644
--- a/salt/modules/mysql.py
+++ b/salt/modules/mysql.py
@@ -978,7 +978,10 @@ def user_grants(user,
ret = []
results = cur.fetchall()
for grant in results:
- ret.append(grant[0].split(' IDENTIFIED BY')[0])
+ ... | salt.states.mysql_grants: When grant_option=True, then this state is never succeed as 'WITH GRANT OPTION' is cut off while checking for user grants. But actual grants are set properly. Fixed. | py |
diff --git a/hearthstone/hslog/parser.py b/hearthstone/hslog/parser.py
index <HASH>..<HASH> 100644
--- a/hearthstone/hslog/parser.py
+++ b/hearthstone/hslog/parser.py
@@ -5,7 +5,7 @@ from hearthstone import enums
from ..enums import GameTag, PowerType
from . import packets
from .utils import parse_enum, parse_tag
-f... | hslog: Check isinstance() against Entity instead of str | py |
diff --git a/pygsp/filters.py b/pygsp/filters.py
index <HASH>..<HASH> 100644
--- a/pygsp/filters.py
+++ b/pygsp/filters.py
@@ -21,13 +21,19 @@ class Filter(object):
methods for those classes.
"""
- def __init__(self, G, verbose=True, **kwargs):
+ def __init__(self, G, verbose=True, filters=None, **kwa... | Filter can now be created from a graph and a lambda function. | py |
diff --git a/groupy/object/responses.py b/groupy/object/responses.py
index <HASH>..<HASH> 100644
--- a/groupy/object/responses.py
+++ b/groupy/object/responses.py
@@ -554,14 +554,20 @@ class User(ApiResponse):
def enable_sms(cls, duration=4, registration_token=None):
"""Enable SMS mode.
- Enablin... | Rewrote docs on enabling SMS mode in responses.py | py |
diff --git a/castle/test/commands/authenticate_test.py b/castle/test/commands/authenticate_test.py
index <HASH>..<HASH> 100644
--- a/castle/test/commands/authenticate_test.py
+++ b/castle/test/commands/authenticate_test.py
@@ -89,3 +89,17 @@ class CommandsAuthenticateTestCase(unittest.TestCase):
self.assertE... | Add risk policy allowed (#<I>) | py |
diff --git a/git/cmd.py b/git/cmd.py
index <HASH>..<HASH> 100644
--- a/git/cmd.py
+++ b/git/cmd.py
@@ -12,6 +12,7 @@ import logging
import threading
import errno
import mmap
+import warnings
from contextlib import contextmanager
from subprocess import (
@@ -309,6 +310,7 @@ class Git(LazyMixin):
def wait... | doc(cmd): make sure people know wait() may block Related to #<I> | py |
diff --git a/searx/plugins/__init__.py b/searx/plugins/__init__.py
index <HASH>..<HASH> 100644
--- a/searx/plugins/__init__.py
+++ b/searx/plugins/__init__.py
@@ -15,6 +15,7 @@ along with searx. If not, see < http://www.gnu.org/licenses/ >.
(C) 2015 by Adam Tauber, <asciimoo@gmail.com>
'''
+from hashlib import sha2... | [fix] add plugin sha sum check to be able to copy updated resources | py |
diff --git a/airtest/core/helper.py b/airtest/core/helper.py
index <HASH>..<HASH> 100644
--- a/airtest/core/helper.py
+++ b/airtest/core/helper.py
@@ -80,8 +80,10 @@ def logwrap(f):
return Logwrap(f, G.LOGGER)
-def device_platform():
- return G.DEVICE.__class__.__name__
+def device_platform(device=None):
+ ... | device_platform take optional device param | py |
diff --git a/abilian/web/widgets.py b/abilian/web/widgets.py
index <HASH>..<HASH> 100644
--- a/abilian/web/widgets.py
+++ b/abilian/web/widgets.py
@@ -87,6 +87,9 @@ class BaseTableView(object):
self.name = id(self)
if options is not None:
self.options = options
+ self.show_controls = self.options.... | BaseTableView: for search, pagination: more precise control of elements presence | py |
diff --git a/gridmap/job.py b/gridmap/job.py
index <HASH>..<HASH> 100644
--- a/gridmap/job.py
+++ b/gridmap/job.py
@@ -315,9 +315,6 @@ class JobMonitor(object):
self.logger.debug("Could not kill job with SGE " +
"id %s", job.jobid, exc_info=Tru... | Let exceptions get re-raised by with statements when using JobMonitor | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -10,7 +10,7 @@ def read(fname):
setup(
name = "diyr",
- version = "0.0.1a15",
+ version = "0.0.1a16",
author = "Miguel Alex Cantu",
author_email = "miguel.can2@gmail.com ",
description = ("An inter... | Prepare setup,py for Alpha Release <I> | py |
diff --git a/cwltool/expression.py b/cwltool/expression.py
index <HASH>..<HASH> 100644
--- a/cwltool/expression.py
+++ b/cwltool/expression.py
@@ -15,7 +15,7 @@ import re
_logger = logging.getLogger("cwltool")
def jshead(engineConfig, rootvars):
- return "\n".join(engineConfig + ["var %s = %s;" % (k, json.dumps(... | More readable expression text for debugging. | py |
diff --git a/IndexedRedis/fields/chain.py b/IndexedRedis/fields/chain.py
index <HASH>..<HASH> 100644
--- a/IndexedRedis/fields/chain.py
+++ b/IndexedRedis/fields/chain.py
@@ -16,11 +16,34 @@ except NameError:
unicode = str
class IRFieldChain(IRField):
+ '''
+ IRFieldChain -
+
+ These chain together the o... | Add docstring to IRFieldChain | py |
diff --git a/xhtml2pdf/xhtml2pdf_reportlab.py b/xhtml2pdf/xhtml2pdf_reportlab.py
index <HASH>..<HASH> 100644
--- a/xhtml2pdf/xhtml2pdf_reportlab.py
+++ b/xhtml2pdf/xhtml2pdf_reportlab.py
@@ -243,10 +243,12 @@ class PmlPageTemplate(PageTemplate):
if self.isPortrait():
... | Issue #<I>: Removed extra checks for isPortrait and isLandscape. | py |
diff --git a/cherrypy/test/test_core.py b/cherrypy/test/test_core.py
index <HASH>..<HASH> 100644
--- a/cherrypy/test/test_core.py
+++ b/cherrypy/test/test_core.py
@@ -1158,6 +1158,10 @@ Content-Type: text/plain
self.assertBody('page1')
self.getPage('/url/leaf?path_info=/page1&relative=True')
... | Added a couple new url() combinations. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -44,6 +44,10 @@ Serpent can't serialize object graphs (when an object refers to itself); it will
Works with Python 2.6+ (including 3.x), IronPython 2.7+, Jython 2.7+.
+*There is also a Java and a .NET (C#) implementati... | added download location to pypi description | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -20,7 +20,7 @@ def check_setuptools():
check_setuptools()
setup(name='instana',
- version='1.8.1',
+ version='1.8.2',
download_url='https://github.com/instana/python-sensor',
url='https://www.instan... | Bump package version to <I> | py |
diff --git a/dbt/version.py b/dbt/version.py
index <HASH>..<HASH> 100644
--- a/dbt/version.py
+++ b/dbt/version.py
@@ -69,4 +69,3 @@ def get_version_information():
__version__ = '0.10.2'
installed = get_installed_version()
-latest = get_latest_version() | Remove unconditional calls to get_latest_version | py |
diff --git a/contrib/mergeBenchmarkSets.py b/contrib/mergeBenchmarkSets.py
index <HASH>..<HASH> 100755
--- a/contrib/mergeBenchmarkSets.py
+++ b/contrib/mergeBenchmarkSets.py
@@ -142,12 +142,13 @@ def main(argv=None):
result.append(newColumn)
witnessSet.pop(run)
... | Refactor control flow for setting new status according to witness; prefer unknown result over error result | py |
diff --git a/holoviews/plotting/mpl/chart.py b/holoviews/plotting/mpl/chart.py
index <HASH>..<HASH> 100644
--- a/holoviews/plotting/mpl/chart.py
+++ b/holoviews/plotting/mpl/chart.py
@@ -595,13 +595,14 @@ class PointPlot(ChartPlot, ColorbarPlot):
color = style.pop('color', None)
style['c'] = c... | Fix for handling of edgecolor(s) on mpl PointPlot | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,10 +3,6 @@ import os
from setuptools import setup, find_packages
-def get_version_from_git_most_recent_tag():
- return os.popen("git tag -l v* | tail --lines=1").read().strip().lstrip("v")
-
-
def get_readme_conten... | Replace custom version discovery from git with setuptools_scm | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@ from Cython.Build import cythonize
setup(
name='wordcloud',
- version='1.0.0',
+ version='1.1.0',
url='https://github.com/amueller/word_cloud',
description='A little word cloud generator',
... | bump verision for new image coloring feature | py |
diff --git a/goldencheetahlib/client.py b/goldencheetahlib/client.py
index <HASH>..<HASH> 100644
--- a/goldencheetahlib/client.py
+++ b/goldencheetahlib/client.py
@@ -16,11 +16,21 @@ class GCClient:
return pd.read_csv(self.host)
def get_activity_list(self):
- return pd.read_csv(
+ activity... | NEW - Added columns to activity_list and cleaned up column names | py |
diff --git a/__init__.py b/__init__.py
index <HASH>..<HASH> 100644
--- a/__init__.py
+++ b/__init__.py
@@ -15,5 +15,5 @@ __revision__ = "$Id$"
# Updated automatically by the Python release process.
#
#--start constants--
-__version__ = "3.1.2"
+__version__ = "3.1.3rc1"
#--end constants-- | bump to <I>rc1 | py |
diff --git a/ntfy/terminal.py b/ntfy/terminal.py
index <HASH>..<HASH> 100644
--- a/ntfy/terminal.py
+++ b/ntfy/terminal.py
@@ -6,7 +6,15 @@ from sys import platform, stdout
def linux_window_is_focused():
xprop_cmd = shlex.split('xprop -root _NET_ACTIVE_WINDOW')
- xprop_window_id = int(check_output(xprop_cmd)... | Don't barf on xprop missing or not returning a window id closes #<I> | py |
diff --git a/graphql_jwt/middleware.py b/graphql_jwt/middleware.py
index <HASH>..<HASH> 100644
--- a/graphql_jwt/middleware.py
+++ b/graphql_jwt/middleware.py
@@ -1,17 +1,15 @@
from django.contrib.auth import authenticate
from django.http import JsonResponse
from django.utils.cache import patch_vary_headers
+from dj... | Added old style middleware support #9 | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -14,6 +14,9 @@
import os
import sys
+
+sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
+
sys.path.insert(0, os.path.abspath('..'))
sys.path.insert(0, os.path.abspath('.'))
@@ -42,9 +... | Updates to documentation for readthedocs.io | py |
diff --git a/tests/test_cli.py b/tests/test_cli.py
index <HASH>..<HASH> 100644
--- a/tests/test_cli.py
+++ b/tests/test_cli.py
@@ -49,7 +49,7 @@ def test_cli_no_input_file_should_print_usage_and_exit(capsys):
pygenstub.main(argv=["pygenstub"])
out, err = capsys.readouterr()
assert err.startswith("usa... | tests: Fix changed argument name in cli | py |
diff --git a/zoonado/recipes/tree_cache.py b/zoonado/recipes/tree_cache.py
index <HASH>..<HASH> 100644
--- a/zoonado/recipes/tree_cache.py
+++ b/zoonado/recipes/tree_cache.py
@@ -107,9 +107,9 @@ class ZNodeCache(object):
child.stop()
for added in added_children:
- log.debug("added chi... | Fix some variable bugs in tree cache recipe. | py |
diff --git a/imgaug/augmentables/batches.py b/imgaug/augmentables/batches.py
index <HASH>..<HASH> 100644
--- a/imgaug/augmentables/batches.py
+++ b/imgaug/augmentables/batches.py
@@ -603,6 +603,7 @@ class _BatchInAugmentationPropagationContext(object):
if self.hooks is not None:
self.noned_info = ... | Fix batch prop context not returning batch on enter | py |
diff --git a/pympfr.py b/pympfr.py
index <HASH>..<HASH> 100644
--- a/pympfr.py
+++ b/pympfr.py
@@ -149,7 +149,7 @@ class RoundingMode(object):
class pympfr(object):
@classmethod
def from_param(cls, value):
- if not isinstance(value, pympfr):
+ if not isinstance(value, cls):
raise T... | Fix isinstance check; this avoids a TypeError on shutdown when pympfr is collected before the isinstance check is done | py |
diff --git a/wakatime/__init__.py b/wakatime/__init__.py
index <HASH>..<HASH> 100644
--- a/wakatime/__init__.py
+++ b/wakatime/__init__.py
@@ -123,7 +123,7 @@ def parseConfigFile(configFile):
return None
except IOError:
if not os.path.isfile(configFile):
- print('Error: Could n... | print actual location of config file in error message when not able to read from it | py |
diff --git a/cli/github/release_notes.py b/cli/github/release_notes.py
index <HASH>..<HASH> 100644
--- a/cli/github/release_notes.py
+++ b/cli/github/release_notes.py
@@ -104,7 +104,7 @@ class ChangeNotesLinesParser(BaseChangeNotesParser):
return True
def _is_start_line(self, line):
- ret... | bug fix: changed self.parse_heading to self.start_line | py |
diff --git a/rstcheck/__init__.py b/rstcheck/__init__.py
index <HASH>..<HASH> 100755
--- a/rstcheck/__init__.py
+++ b/rstcheck/__init__.py
@@ -219,7 +219,7 @@ def check( # noqa: CCR001
writer=writer,
source_path=filename,
settings_overrides={
- "halt_level": report... | set halt level to none/5 for docutils parse function This results in all errors being accumulated and not only one fixes #<I> | py |
diff --git a/wafer/schedule/admin.py b/wafer/schedule/admin.py
index <HASH>..<HASH> 100644
--- a/wafer/schedule/admin.py
+++ b/wafer/schedule/admin.py
@@ -205,10 +205,10 @@ class SlotAdminAddForm(SlotAdminForm):
# Additional field added for creating multiple slots at once
additional = forms.IntegerField(min... | Flag additional field text as translatable | py |
diff --git a/openfisca_web_api_preview/loader/variables.py b/openfisca_web_api_preview/loader/variables.py
index <HASH>..<HASH> 100644
--- a/openfisca_web_api_preview/loader/variables.py
+++ b/openfisca_web_api_preview/loader/variables.py
@@ -26,13 +26,13 @@ def get_default_value(variable):
def build_source_url(coun... | Fix encoding for utf-8 variable paths | py |
diff --git a/cltk/corpus/greek/beta_to_unicode.py b/cltk/corpus/greek/beta_to_unicode.py
index <HASH>..<HASH> 100644
--- a/cltk/corpus/greek/beta_to_unicode.py
+++ b/cltk/corpus/greek/beta_to_unicode.py
@@ -322,10 +322,10 @@ LOWER = [
(r'S ', 'ς '),
(r'S$', 'ς'),
(r'S:', 'ς:'),
- (r'S\.', 'ς\.'), # p... | removed extraneous backslashes from final sigmas (#<I>) Thx :) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -159,7 +159,7 @@ def setup_package():
ext_modules.append(
Extension(mod_name, [mod_path],
language='c++', include_dirs=include_dirs,
- libraries=['/opt/Open... | * Link to system BLAS, don't use OpenBLAS. | py |
diff --git a/skyfield/units.py b/skyfield/units.py
index <HASH>..<HASH> 100644
--- a/skyfield/units.py
+++ b/skyfield/units.py
@@ -245,7 +245,7 @@ class Angle(object):
def __repr__(self):
if self.radians.size == 0:
- return '<{0} []>'.format(type(self).__name__, self)
+ return '<{0... | A further dangling pyflakes complaint | py |
diff --git a/core/block_token.py b/core/block_token.py
index <HASH>..<HASH> 100644
--- a/core/block_token.py
+++ b/core/block_token.py
@@ -1,7 +1,7 @@
import core.block_tokenizer as tokenizer
import core.leaf_token as leaf_token
-__all__ = ['Heading', 'Quote', 'BlockCode', 'List', 'Separator']
+__all__ = ['Heading'... | 💡 added table to tokenizer loop | py |
diff --git a/tests/integration/states/test_host.py b/tests/integration/states/test_host.py
index <HASH>..<HASH> 100644
--- a/tests/integration/states/test_host.py
+++ b/tests/integration/states/test_host.py
@@ -1,10 +1,7 @@
-# -*- coding: utf-8 -*-
"""
tests for host state
"""
-from __future__ import absolute_impo... | Drop Py2 and six on tests/integration/states/test_host.py | py |
diff --git a/mooch/postfinance.py b/mooch/postfinance.py
index <HASH>..<HASH> 100644
--- a/mooch/postfinance.py
+++ b/mooch/postfinance.py
@@ -52,9 +52,6 @@ class PostFinanceMoocher(BaseMoocher):
'language': locale.normalize(
to_locale(get_language())).split('.')[0],
'EMAIL': ... | PostFinance moocher: Fix the success/failure URL generation | py |
diff --git a/admin.py b/admin.py
index <HASH>..<HASH> 100644
--- a/admin.py
+++ b/admin.py
@@ -109,7 +109,15 @@ class IPAdmin(admin.ModelAdmin):
return render(
request,
'admin/batch_process_ips.html',
- {'form': form, 'info_text': info_text, 'ips': IP.objects.all().order_by... | fixed sorting to a natural one, refs #<I> | py |
diff --git a/ceam/framework/util.py b/ceam/framework/util.py
index <HASH>..<HASH> 100644
--- a/ceam/framework/util.py
+++ b/ceam/framework/util.py
@@ -107,7 +107,7 @@ def expand_branch_templates(templates):
expanded_branches = []
for branch in templates:
- branch = collapse_nested_dict(branch)
+ ... | Make expand_branch_templates deterministic | py |
diff --git a/imbox/imbox.py b/imbox/imbox.py
index <HASH>..<HASH> 100644
--- a/imbox/imbox.py
+++ b/imbox/imbox.py
@@ -62,6 +62,7 @@ class Imbox:
def delete(self, uid):
logger.info("Mark UID {} with \\Deleted FLAG and expunge.".format(int(uid)))
+ self.connection.uid('STORE', uid, '+FLAGS', '(\\D... | fix: readd the flag Deleted to delete a message | py |
diff --git a/google-daemon/usr/share/google/google_daemon/accounts.py b/google-daemon/usr/share/google/google_daemon/accounts.py
index <HASH>..<HASH> 100755
--- a/google-daemon/usr/share/google/google_daemon/accounts.py
+++ b/google-daemon/usr/share/google/google_daemon/accounts.py
@@ -91,8 +91,11 @@ class Accounts(obj... | Update accounts.py Add a comment explaining why /sbin/nologin accounts get skipped, and lower logging level to debug. | py |
diff --git a/src/transformers/trainer.py b/src/transformers/trainer.py
index <HASH>..<HASH> 100644
--- a/src/transformers/trainer.py
+++ b/src/transformers/trainer.py
@@ -123,6 +123,7 @@ class Trainer:
eval_dataset: Optional[Dataset] = None,
compute_metrics: Optional[Callable[[EvalPrediction], Dict]] ... | allow an already created tensorboard SummaryWriter be passed to Trainer | py |
diff --git a/openquake/calculators/tests/classical_test.py b/openquake/calculators/tests/classical_test.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/tests/classical_test.py
+++ b/openquake/calculators/tests/classical_test.py
@@ -223,7 +223,7 @@ class ClassicalTestCase(CalculatorTestCase):
def test_ca... | Relaxed tolerance in case_<I> [ci skip] | py |
diff --git a/py/testdir_single_jvm/test_GLM2_poisson_rand2.py b/py/testdir_single_jvm/test_GLM2_poisson_rand2.py
index <HASH>..<HASH> 100644
--- a/py/testdir_single_jvm/test_GLM2_poisson_rand2.py
+++ b/py/testdir_single_jvm/test_GLM2_poisson_rand2.py
@@ -11,7 +11,9 @@ def define_params():
'lambda': [1e-8, 1e-4... | only log and identity link valid for poisson | py |
diff --git a/rllib/agents/trainer.py b/rllib/agents/trainer.py
index <HASH>..<HASH> 100644
--- a/rllib/agents/trainer.py
+++ b/rllib/agents/trainer.py
@@ -1225,7 +1225,7 @@ class Trainer(Trainable):
"larger value.".format(config["evaluation_num_workers"]))
config["evaluation_interval"] = 1... | [RLlib] Evaluation parallel to training check, key-error hotfix (#<I>) | py |
diff --git a/cmd2.py b/cmd2.py
index <HASH>..<HASH> 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -1600,10 +1600,11 @@ class Cmd(cmd.Cmd):
:return: List[str] - a list of possible tab completions
"""
- # Used to complete ~ and ~user strings with a list of users that have existing home dirs
+ # ... | Added better check for whether a path is a directory | 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
@@ -1043,7 +1043,11 @@ class DynamicSampler(object):
# we are weighting each point by 1/L_i * 1/W_i to ensure
# uniform sam... | fix the summing of weigths | py |
diff --git a/pylama/config.py b/pylama/config.py
index <HASH>..<HASH> 100644
--- a/pylama/config.py
+++ b/pylama/config.py
@@ -178,10 +178,11 @@ def parse_options(args=None, config=True, rootdir=CURDIR, **overrides): # noqa
# Parse file related options
for name, opts in cfg.sections.items():
- ... | Respect tools own config without pylama: prefix This allows running each tool separately _and_ all using pylama. Currently you need to duplicate the configs, which makes it much more painful then it needs to be. | py |
diff --git a/test/test_frontend/test_modes/test_matcher.py b/test/test_frontend/test_modes/test_matcher.py
index <HASH>..<HASH> 100644
--- a/test/test_frontend/test_modes/test_matcher.py
+++ b/test/test_frontend/test_modes/test_matcher.py
@@ -34,7 +34,7 @@ def test_enabled(editor):
def test_properties(editor):
mo... | Fix test: matcher background is now a brush to avoid un-necessary casts | py |
diff --git a/salt/daemons/flo/jobber.py b/salt/daemons/flo/jobber.py
index <HASH>..<HASH> 100644
--- a/salt/daemons/flo/jobber.py
+++ b/salt/daemons/flo/jobber.py
@@ -10,12 +10,10 @@ import os
import sys
import types
import logging
-import threading
import traceback
import multiprocessing
import subprocess
impor... | pass the msg into the tracking value | py |
diff --git a/metal/label_model/label_model.py b/metal/label_model/label_model.py
index <HASH>..<HASH> 100644
--- a/metal/label_model/label_model.py
+++ b/metal/label_model/label_model.py
@@ -21,6 +21,7 @@ class LabelModel(Classifier):
k: (int) the cardinality of the classifier
"""
+ # This class vari... | Add clarifying docstring to implements_l2 in LabelModel | py |
diff --git a/allauth/socialaccount/providers/reddit/provider.py b/allauth/socialaccount/providers/reddit/provider.py
index <HASH>..<HASH> 100755
--- a/allauth/socialaccount/providers/reddit/provider.py
+++ b/allauth/socialaccount/providers/reddit/provider.py
@@ -4,7 +4,10 @@ from allauth.socialaccount.providers.oauth2.... | Use friendlier name for RedditAccount to_str method (#<I>) | py |
diff --git a/cwltool/pack.py b/cwltool/pack.py
index <HASH>..<HASH> 100644
--- a/cwltool/pack.py
+++ b/cwltool/pack.py
@@ -65,6 +65,26 @@ def replace_refs(d, rewrite, stem, newstem):
d[s] = newstem + v[len(stem):]
replace_refs(v, rewrite, stem, newstem)
+def import_embed(d, seen):
+ ... | --pack generates same-file $import to reference shared objects (#<I>) * Use same-file $import to reference shared objects (such as SchemaDefRequirement). | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -13,7 +13,8 @@ def read(fname):
def get_version():
- return "v2.0b.129"
+ import AegeanTools
+ return AegeanTools.__version__
reqs = ['numpy>=1.10', | version is now read from AegeanTools.__version__ | py |
diff --git a/examples/websockets/streamconn_on_and_off.py b/examples/websockets/streamconn_on_and_off.py
index <HASH>..<HASH> 100644
--- a/examples/websockets/streamconn_on_and_off.py
+++ b/examples/websockets/streamconn_on_and_off.py
@@ -54,7 +54,7 @@ if __name__ == '__main__':
conn.stop()
ex... | Fix typo in streamconn_on_and_off example (#<I>) | py |
diff --git a/salt/config.py b/salt/config.py
index <HASH>..<HASH> 100644
--- a/salt/config.py
+++ b/salt/config.py
@@ -25,7 +25,7 @@ def minion_config(path):
'disable_returners': [],
'open_mode': False,
'multiprocessing': False,
- 'log_file': '/var/log/salt/master',
+ ... | default logfile for minion changed to /etc/salt/minion | py |
diff --git a/pymatgen/entries/tests/test_computed_entries.py b/pymatgen/entries/tests/test_computed_entries.py
index <HASH>..<HASH> 100644
--- a/pymatgen/entries/tests/test_computed_entries.py
+++ b/pymatgen/entries/tests/test_computed_entries.py
@@ -160,14 +160,14 @@ class ComputedEntryTest(unittest.TestCase):
... | update test for inplace computed entry | py |
diff --git a/law/cli/db.py b/law/cli/db.py
index <HASH>..<HASH> 100644
--- a/law/cli/db.py
+++ b/law/cli/db.py
@@ -143,3 +143,29 @@ def execute(args):
print("")
print("written {} task(s) to db file '{}'".format(len(task_classes), db_file))
+
+
+def get_global_parameters(config_names=("core", "scheduler"... | Add get_global_parameters to cli.db, prepare for global param auto-completion. | py |
diff --git a/bdata/bdata.py b/bdata/bdata.py
index <HASH>..<HASH> 100644
--- a/bdata/bdata.py
+++ b/bdata/bdata.py
@@ -697,9 +697,9 @@ class bdata(mdata):
bias15 = getattr(epics.bias15, attr)/1000.
# get platform bias
- if self.area == 'BNMR':
+ if self.area.upper() == 'BNMR':... | bdata: fixed area case issue | py |
diff --git a/gbdxtools/idaho.py b/gbdxtools/idaho.py
index <HASH>..<HASH> 100644
--- a/gbdxtools/idaho.py
+++ b/gbdxtools/idaho.py
@@ -284,7 +284,7 @@ class Idaho():
bandstr = {
'RGBN': '0,1,2',
- 'WORLDVIEW_8_BAND': '4,3,2',
+ 'WORLDVIEW_8_B... | changed band numbers in create_leaflet_viewer | py |
diff --git a/telebot/__init__.py b/telebot/__init__.py
index <HASH>..<HASH> 100644
--- a/telebot/__init__.py
+++ b/telebot/__init__.py
@@ -44,7 +44,7 @@ class TeleBot:
getUpdates
"""
- def __init__(self, token, threaded=True, skip_pending=False):
+ def __init__(self, token, threaded=True, skip_pen... | Add more accurate control over threads count | py |
diff --git a/pronto/term.py b/pronto/term.py
index <HASH>..<HASH> 100644
--- a/pronto/term.py
+++ b/pronto/term.py
@@ -310,8 +310,8 @@ class Term(Entity):
True
Note:
- This method has a runtime of :math:`O(n)` where :math:`n` is the
- number of terms in the source ontology.... | Fix complexity disclaimer on `Term.is_leaf` | py |
diff --git a/ryu/utils.py b/ryu/utils.py
index <HASH>..<HASH> 100644
--- a/ryu/utils.py
+++ b/ryu/utils.py
@@ -14,6 +14,21 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+# Copyright 2011 OpenStack LLC.
+# All Rights Reserved.
+#
+# Licensed under the Ap... | openstack copyright notice restore openstack copyright notice for the code taken from them. > commit f2c6dfe<I>aeecb5fdf2fb1cd5ce<I>fd<I> > | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -52,7 +52,7 @@ setup(
version=__version__, # <majorVersion>.<minorVersion>.<patch> format, (see PEP440)
description="A command-line program to crop the margins of PDF files, with many options.",
keywords=["pdf",... | increase pillow version in setup.py, security fixes | py |
diff --git a/python/herald/transports/http/transport.py b/python/herald/transports/http/transport.py
index <HASH>..<HASH> 100644
--- a/python/herald/transports/http/transport.py
+++ b/python/herald/transports/http/transport.py
@@ -228,6 +228,7 @@ class HttpTransport(object):
:param peers: Peers to communicate ... | HTTPTransport : avoid stopping the fire loop if one access is missing Instead of raising an exception, log the fact we didn't know how to reached one of the required peers. | py |
diff --git a/neutronclient/shell.py b/neutronclient/shell.py
index <HASH>..<HASH> 100644
--- a/neutronclient/shell.py
+++ b/neutronclient/shell.py
@@ -847,7 +847,13 @@ class NeutronShell(app.App):
self.INFO_LEVEL: logging.INFO,
self.DEBUG_LEVEL: logging.DEBUG,
... | neutronclient shows low-level logs in console screen Neutron command lines always display some useless information. This should be avoided. This commit modifies the default level of console stream to WARNING. Closes-bug: #<I> Change-Id: I<I>dad9ce3fc3eb<I>e4e<I>b<I>d<I>fa<I>c<I> | py |
diff --git a/emma2/msm/analysis/api.py b/emma2/msm/analysis/api.py
index <HASH>..<HASH> 100644
--- a/emma2/msm/analysis/api.py
+++ b/emma2/msm/analysis/api.py
@@ -61,7 +61,7 @@ __all__=['is_transition_matrix',
# ['statdist', 'is_tmatrix', 'statdist_sensitivity']
_type_not_supported = \
- TypeError("given matrix ... | [msm/analysis] Removed unecessary if/else block in eigenvector_sensitivity | py |
diff --git a/tcex/batch/batch.py b/tcex/batch/batch.py
index <HASH>..<HASH> 100644
--- a/tcex/batch/batch.py
+++ b/tcex/batch/batch.py
@@ -844,7 +844,7 @@ class Batch:
return errors
except Exception as e:
self.tcex.handle_error(560, [e], halt_on_error)
- return None
+ ... | + update batch error method to always return an array. | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -32,7 +32,7 @@ class MockLib:
class MockBinding:
ffi = None
- _lib = MockLib()
+ lib = MockLib()
class MockOpus: | [docs] fix mock for pylibsrtp | py |
diff --git a/salt/modules/pkgng.py b/salt/modules/pkgng.py
index <HASH>..<HASH> 100644
--- a/salt/modules/pkgng.py
+++ b/salt/modules/pkgng.py
@@ -40,7 +40,7 @@ import os
# Import salt libs
import salt.utils
from salt.exceptions import CommandExecutionError, MinionError
-import six
+import salt.utils.six as six
l... | Replaced import six in file /salt/modules/pkgng.py | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,8 @@ smallest number of bins."""
setup(
name="rectpack",
version="0.2.2",
- description=long_description,
+ description="2D Rectangle packing library",
+ long_description=long_description,
url=... | fix: Correct setup.py description field error when it contains new lines | py |
diff --git a/nyaa/nyaa.py b/nyaa/nyaa.py
index <HASH>..<HASH> 100644
--- a/nyaa/nyaa.py
+++ b/nyaa/nyaa.py
@@ -38,7 +38,13 @@ def search(keyword='', offset=1, order='-date', filter='none'):
resp = _agent.get(URL_NYAA, params=params)
xml = xmltodict.parse(resp.text)
- items = xml['rss']['channel']['item']... | Fix an error where nyaa gave incomplete results | py |
diff --git a/girder/models/model_base.py b/girder/models/model_base.py
index <HASH>..<HASH> 100644
--- a/girder/models/model_base.py
+++ b/girder/models/model_base.py
@@ -45,6 +45,7 @@ class Model(ModelImporter):
db_cfg = getDbConfig()
db_connection = getDbConnection()
+ print cherrypy.config... | Print config dictionary for debugging. | py |
diff --git a/Lib/fontParts/base/normalizers.py b/Lib/fontParts/base/normalizers.py
index <HASH>..<HASH> 100644
--- a/Lib/fontParts/base/normalizers.py
+++ b/Lib/fontParts/base/normalizers.py
@@ -60,7 +60,7 @@ def normalizeLayerOrder(value, font):
if len(duplicates) != 0:
raise ValueError("Duplicate layers... | One further Py3 simplification to normalizer | py |
diff --git a/examples/httpbin/manage.py b/examples/httpbin/manage.py
index <HASH>..<HASH> 100644
--- a/examples/httpbin/manage.py
+++ b/examples/httpbin/manage.py
@@ -294,7 +294,7 @@ class HttpBin(BaseRouter):
@route('servername',
title='display the server name')
def servername(self, request):
- ... | added endpoint to test for servername, issue #<I> | py |
diff --git a/scripts/mr_unit.py b/scripts/mr_unit.py
index <HASH>..<HASH> 100644
--- a/scripts/mr_unit.py
+++ b/scripts/mr_unit.py
@@ -11,6 +11,7 @@ def add_perf_results_to_mr_unit(args):
for row in csv.reader(file(os.path.join(args[2], "perf.csv"))):
row = [r.strip() for r in row]
ro... | use TRUE and FALSE keywords for populating mr_unit bools | py |
diff --git a/trimesh/proximity.py b/trimesh/proximity.py
index <HASH>..<HASH> 100644
--- a/trimesh/proximity.py
+++ b/trimesh/proximity.py
@@ -297,6 +297,9 @@ class NearestQueryResult:
barycentric_coordinates = None
interpolated_normals = None
vertex_indices = None
+
+ def has_normals(self):
+ ... | [NRICP] Added method to NearestQueryResult to check if it contains normals or interpolated normals | py |
diff --git a/joinGame.py b/joinGame.py
index <HASH>..<HASH> 100644
--- a/joinGame.py
+++ b/joinGame.py
@@ -30,7 +30,7 @@ def playerJoin(hostCfg, config, agentCallBack=go.doNothing, debug=False):
joinReq.server_ports.game_port = gameP
joinReq.server_ports.base_port = baseP
joinReq.shared_port ... | - joinGame.py needs to be updated to match the latest refactored code | py |
diff --git a/f5/__init__.py b/f5/__init__.py
index <HASH>..<HASH> 100644
--- a/f5/__init__.py
+++ b/f5/__init__.py
@@ -12,4 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
-__version__ = '3.0.2'
+__version__ = '3.0.3' | Bumps version to <I> (#<I>) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,13 +1,17 @@
#!/usr/bin/env python
from setuptools import setup, find_packages
+long_description = (
+ open("README.rst").read() + '\n\n' + open("HISTORY.rst").read()
+)
+
setup(
name="brotlipy",
version=... | Use the changelog in the description. | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.