diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -16,11 +16,11 @@ requirements = [
'numpy>=1.10.0',
'scipy>=0.18.0',
'multipledispatch>=0.4.9',
- 'tensorflow-probability>=0.8',
+ 'tensorflow-probability>=0.9',
'tabulate',
] + ([] if is_py37 else ["... | Bump TF and TFP version (#<I>) | py |
diff --git a/keen/client.py b/keen/client.py
index <HASH>..<HASH> 100644
--- a/keen/client.py
+++ b/keen/client.py
@@ -336,7 +336,7 @@ class KeenClient(object):
interval=interval, filters=filters, group_by=group_by, target_property=target_property)
return self.api.query("selec... | Include property_names parameter in extraction Allow user to specify which properties they want returned by including the property_names parameter in extraction. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@ from glob import glob
setuptools.setup(
name="jupyter-server-proxy",
- version='1.0',
+ version='1.0.1',
url="https://github.com/jupyterhub/jupyter-server-proxy",
author="Ryan Lovett & Yuvi... | Bump to <I>. | py |
diff --git a/polyaxon_cli/cli/tensorboard.py b/polyaxon_cli/cli/tensorboard.py
index <HASH>..<HASH> 100644
--- a/polyaxon_cli/cli/tensorboard.py
+++ b/polyaxon_cli/cli/tensorboard.py
@@ -248,13 +248,12 @@ def stop(ctx, yes):
Printer.print_error('Error message `{}`.'.format(e))
sys.exit(1)
... | Fix project stop tensorboard | py |
diff --git a/pyontutils/integration_test_helper.py b/pyontutils/integration_test_helper.py
index <HASH>..<HASH> 100644
--- a/pyontutils/integration_test_helper.py
+++ b/pyontutils/integration_test_helper.py
@@ -238,8 +238,10 @@ class _TestScriptsBase(unittest.TestCase):
print(tc.ltyellow('TESTING:'... | integration test helper fix incorrect except spec it turns out that docopt.DocoptExit is a subclass of SystemExit which is why there were silent errors with commands that should have failed | py |
diff --git a/riak/tests/test_all.py b/riak/tests/test_all.py
index <HASH>..<HASH> 100644
--- a/riak/tests/test_all.py
+++ b/riak/tests/test_all.py
@@ -544,7 +544,7 @@ class BaseTestCase(object):
except Exception as e:
if "indexes_not_supported" in str(e):
return False
- ... | Fixed a typo.. raise -> return. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -25,8 +25,9 @@ qt_lib_dir = config.qt_lib_dir
qt_lib_dirs = [qt_lib_dir]
qt_libraries = ["QtCore", "QtGui"]
-if "mingw32" in sys.argv:
- # FIXME: better criterion - this should only apply to mingw32
+# TODO: is this the ri... | linking against QtFoo4 with the '4' prefix for all windows platforms (i.e. +msvc) | py |
diff --git a/tunic/__init__.py b/tunic/__init__.py
index <HASH>..<HASH> 100644
--- a/tunic/__init__.py
+++ b/tunic/__init__.py
@@ -10,4 +10,4 @@ Deployment related Fabric utilities.
:license: MIT, see LICENSE for more details.
"""
-__version__ = '0.1.0'
\ No newline at end of file
+__version__ = '0.2.0'
\ No newlin... | Version bump after first Pypi upload | py |
diff --git a/twitterscraper/query.py b/twitterscraper/query.py
index <HASH>..<HASH> 100644
--- a/twitterscraper/query.py
+++ b/twitterscraper/query.py
@@ -137,17 +137,15 @@ def eliminate_duplicates(iterable):
prev_elem = elem
yield elem
-def roundup(numerator, denominator):
- return numer... | query.py: change splitting of days and limit Changes the way the daterange, no_tweets is divided over the number of parallel processes. Should fix <URL> | py |
diff --git a/salt/utils/event.py b/salt/utils/event.py
index <HASH>..<HASH> 100644
--- a/salt/utils/event.py
+++ b/salt/utils/event.py
@@ -290,7 +290,8 @@ class SaltEvent(object):
continue
try:
- ret = self.get_event_noblock()
+ ret = self.get_event_block() ... | Do not use non_blocking mode on master event bus In my testing, using the NOBLOCK option in ZeroMQ resulted in an approx. mesasge loss of between <I>% and <I>% across 1M messages delivered at high-speed. Removing that option resulted in a slight performance hit but <I>% of messages were delivered. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,7 @@ See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
-
+import pip
from os import path
from codecs import open
from setuptools import setup, find_packages | imported pip to setup.py. | py |
diff --git a/fontbakery-check-ttf.py b/fontbakery-check-ttf.py
index <HASH>..<HASH> 100755
--- a/fontbakery-check-ttf.py
+++ b/fontbakery-check-ttf.py
@@ -855,7 +855,7 @@ def main():
assert_table_entry('post', 'isFixedPitch', IS_FIXED_WIDTH_NOT_MONOSPACED)
assert_table_entry('hhea', 'advanceWidthMax',... | fix handling of panose bProportion field for non-monospaced fonts Issue #<I> | py |
diff --git a/aionationstates/session.py b/aionationstates/session.py
index <HASH>..<HASH> 100644
--- a/aionationstates/session.py
+++ b/aionationstates/session.py
@@ -152,15 +152,16 @@ class Session:
headers['User-Agent'] = \
f'{self._USER_AGENT} ({standard_user_agent})'
- async w... | apparently i was supposed to use aiohttp like this | py |
diff --git a/jira/version.py b/jira/version.py
index <HASH>..<HASH> 100644
--- a/jira/version.py
+++ b/jira/version.py
@@ -3,4 +3,4 @@
# 1) we don't load dependencies by storing it in __init__.py
# 2) we can import it in setup.py for the same reason
# 3) we can import it into the jira module
-__version__ = '0.48'
+_... | Bumping patch version number to <I>. | py |
diff --git a/salt/states/user.py b/salt/states/user.py
index <HASH>..<HASH> 100644
--- a/salt/states/user.py
+++ b/salt/states/user.py
@@ -117,7 +117,7 @@ def _changes(name,
if _group_changes(lusr['groups'], wanted_groups, remove_groups):
change['groups'] = wanted_groups
if home:
- if lusr['ho... | Update user home event when createhome is set to False Removed cretehome from if statement since home should be updated even when createhome is set to False. Fixes #<I>. | py |
diff --git a/test/integration-test.py b/test/integration-test.py
index <HASH>..<HASH> 100644
--- a/test/integration-test.py
+++ b/test/integration-test.py
@@ -316,8 +316,15 @@ def check_slow_queries():
This depends on flags set on mysqld in docker-compose.yml.
"""
- output = run("mysql -h boulder-mysql -... | integration: allow-list a known-slow SQL query. (#<I>) We intentionally use a SLEEP in a SQL query to trigger timeout behavior. This caused integration tests failures locally (where unittests are run in the same session as integration tests). | py |
diff --git a/superset/connectors/druid/models.py b/superset/connectors/druid/models.py
index <HASH>..<HASH> 100644
--- a/superset/connectors/druid/models.py
+++ b/superset/connectors/druid/models.py
@@ -603,6 +603,9 @@ class DruidDatasource(Model, BaseDatasource):
logging.error("Failed at fetching the late... | Removed __time column from druid metadata refresh, added long and double schema support (#<I>) * Removed __time column from load, added long/double schema support * Format fix | py |
diff --git a/python/thunder/utils/__init__.py b/python/thunder/utils/__init__.py
index <HASH>..<HASH> 100644
--- a/python/thunder/utils/__init__.py
+++ b/python/thunder/utils/__init__.py
@@ -1,4 +1,4 @@
from .matrices import RowMatrix
-from .save import save
+from .save import save, pack, subset
from .load import loa... | Import pack and subset directly from utils | py |
diff --git a/hug/interface.py b/hug/interface.py
index <HASH>..<HASH> 100644
--- a/hug/interface.py
+++ b/hug/interface.py
@@ -326,6 +326,8 @@ class CLI(Interface):
self.parser.add_argument(*args, **kwargs)
+ self.api.cli.commands[route.get('name', self.interface.spec.__name__)] = self
+
de... | Register new cli's to api | py |
diff --git a/gptools/gaussian_process.py b/gptools/gaussian_process.py
index <HASH>..<HASH> 100644
--- a/gptools/gaussian_process.py
+++ b/gptools/gaussian_process.py
@@ -1104,7 +1104,9 @@ class GaussianProcess(object):
sample :math:`y_* = f_* + Lu`, where :math:`K=LL^T`. If None,
values will ... | Update documentation in draw_sample. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -6,7 +6,7 @@ from setuptools import find_packages, setup
here = path.abspath(path.dirname(__file__))
-with open(path.join(here, 'README.rst'), 'r', encoding='utf-8') as readme:
+with open(path.join(here, 'README.md'), 'r'... | Declare and use markdown format in setup.py | py |
diff --git a/test.py b/test.py
index <HASH>..<HASH> 100644
--- a/test.py
+++ b/test.py
@@ -1,6 +1,9 @@
import unittest
-import io
from json import loads
+try:
+ from StringIO import StringIO
+except ImportError:
+ from io import StringIO
from fridge import Fridge
@@ -8,7 +11,7 @@ from fridge import Fridge
... | Fix tests for python 2 | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -115,6 +115,9 @@ def get_extensions():
'nvcc': nvcc_flags,
}
+ if sys.platform == 'win32':
+ define_macros += [('torchvision_EXPORTS', None)]
+
sources = [os.path.join(extensions_dir, s) ... | Enable symbol annotations for Windows (#<I>) | py |
diff --git a/niworkflows/utils/spaces.py b/niworkflows/utils/spaces.py
index <HASH>..<HASH> 100644
--- a/niworkflows/utils/spaces.py
+++ b/niworkflows/utils/spaces.py
@@ -53,7 +53,7 @@ class Space:
>>> Space('func')
Space(name='func', cohort=None, spec={})
- Checks spaces with cohorts:
+ >>> # Checks ... | fix(docs): address incorrect indentations | py |
diff --git a/O365/event.py b/O365/event.py
index <HASH>..<HASH> 100644
--- a/O365/event.py
+++ b/O365/event.py
@@ -339,4 +339,35 @@ class Event( object ):
name = address[:address.index('@')]
self.json['Attendees'].append({'EmailAddress':{'Address':address,'Name':name}})
+ def setLocation(self,loc):
+ '''
+ ... | Added location to satisfy issue #<I>. I don't actually have an account to test this with right now, so I'm not sure if it will actually work. | py |
diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index <HASH>..<HASH> 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -63,6 +63,7 @@ from pandas._typing import (
IndexLabel,
Level,
Manager,
+ NpDtype,
PythonFuncType,
Renamer,
StorageOptions,
@@ -1325,7 +1326,9 @@... | CLN: add typing to dtype arg in core/frame.py (GH<I>) (#<I>) | py |
diff --git a/instant/management/commands/installws.py b/instant/management/commands/installws.py
index <HASH>..<HASH> 100644
--- a/instant/management/commands/installws.py
+++ b/instant/management/commands/installws.py
@@ -4,17 +4,26 @@ import subprocess
import json
from django.conf import settings
from django.core.... | Add darwin support for installws command | py |
diff --git a/vprof/base_profiler.py b/vprof/base_profiler.py
index <HASH>..<HASH> 100644
--- a/vprof/base_profiler.py
+++ b/vprof/base_profiler.py
@@ -88,10 +88,10 @@ class BaseProfiler(object):
Args:
run_object: object to be profiled.
"""
- self._run_obj_type = self.get_run_object... | Minor cleanup in BaseProfiler. | py |
diff --git a/tests/test_log.py b/tests/test_log.py
index <HASH>..<HASH> 100644
--- a/tests/test_log.py
+++ b/tests/test_log.py
@@ -2,7 +2,7 @@ import json
import logging
from unittest.mock import Mock, patch
-from jsonrpcclient.log import _trim_string, _trim_values
+from jsonrpcclient.log import _trim_string, _trim... | Add coverage to some of log.py | py |
diff --git a/spinoff/util/testing.py b/spinoff/util/testing.py
index <HASH>..<HASH> 100644
--- a/spinoff/util/testing.py
+++ b/spinoff/util/testing.py
@@ -65,6 +65,8 @@ def cancel_deferred(d):
@contextmanager
def assert_not_raises(exc_class=Exception, message=None):
+ if isinstance(exc_class, basestring):
+ ... | Allow passing of the assertion message to assert_raises and assert_not_raises as the first positional argument for convenience/intuitivity | py |
diff --git a/pmag_er_magic_dialogs.py b/pmag_er_magic_dialogs.py
index <HASH>..<HASH> 100644
--- a/pmag_er_magic_dialogs.py
+++ b/pmag_er_magic_dialogs.py
@@ -527,6 +527,8 @@ You may use the drop-down menus to add as many values as needed in these columns
previous_dia = self.InitLocCheck
self.Bind(wx.... | put correct label click binding into Age Check | py |
diff --git a/yap/Generator/Xcode/Xcode5.py b/yap/Generator/Xcode/Xcode5.py
index <HASH>..<HASH> 100644
--- a/yap/Generator/Xcode/Xcode5.py
+++ b/yap/Generator/Xcode/Xcode5.py
@@ -316,6 +316,7 @@ class Xcode5( Generator ):
PRODUCT_NAME = '"$(TARGET_NAME)"'
, HEADER_SEARCH_PATHS = hea... | dSYM generation is disabled for debug builds in Xcode | py |
diff --git a/runipy/notebook_runner.py b/runipy/notebook_runner.py
index <HASH>..<HASH> 100644
--- a/runipy/notebook_runner.py
+++ b/runipy/notebook_runner.py
@@ -16,6 +16,7 @@ try:
# IPython 3
from IPython.nbformat import NotebookNode
except ImportError:
+ # IPython 2
from IPython.nbformat.current i... | runipy/notebook_runner.py: Note that this is the iPython 2.x import solution. | py |
diff --git a/openquake/hazardlib/source/rupture.py b/openquake/hazardlib/source/rupture.py
index <HASH>..<HASH> 100644
--- a/openquake/hazardlib/source/rupture.py
+++ b/openquake/hazardlib/source/rupture.py
@@ -768,7 +768,7 @@ class RuptureProxy(object):
@property
def weight(self):
- return 1 if self... | Changed weight [skip hazardlib] | py |
diff --git a/pyemu/pst/pst_utils.py b/pyemu/pst/pst_utils.py
index <HASH>..<HASH> 100644
--- a/pyemu/pst/pst_utils.py
+++ b/pyemu/pst/pst_utils.py
@@ -1758,7 +1758,8 @@ class InstructionFile(object):
first = line[: midx[0]].strip()
tokens = []
if len(first) > 0:
- t... | fix for case where other instructions may proceed a marker on an ins file line - yuck | py |
diff --git a/salt/client/ssh/__init__.py b/salt/client/ssh/__init__.py
index <HASH>..<HASH> 100644
--- a/salt/client/ssh/__init__.py
+++ b/salt/client/ssh/__init__.py
@@ -36,6 +36,12 @@ import salt.utils.thin
import salt.utils.verify
from salt._compat import string_types
+try:
+ import zmq
+ HAS_ZMQ = True
+e... | Fix #<I> @basepi, I need to manually fix this in <I>, don't cherrypick | py |
diff --git a/konch.py b/konch.py
index <HASH>..<HASH> 100644
--- a/konch.py
+++ b/konch.py
@@ -35,6 +35,7 @@ Environment variables:
from __future__ import unicode_literals, print_function
from collections.abc import Iterable
+from pathlib import Path
import code
import codecs
import errno
@@ -834,8 +835,14 @@ de... | Make suggested command more accurate e.g. if "foo/bar.py" needs approval, suggest `konch allow foo/bar.py` | py |
diff --git a/udata/tests/api/test_user_api.py b/udata/tests/api/test_user_api.py
index <HASH>..<HASH> 100644
--- a/udata/tests/api/test_user_api.py
+++ b/udata/tests/api/test_user_api.py
@@ -161,15 +161,16 @@ class UserAPITest(APITestCase):
with self.autoindex():
users = UserFactory.create_batch(4... | Make a test more resilient to fuzzy search | py |
diff --git a/pronouncing/__init__.py b/pronouncing/__init__.py
index <HASH>..<HASH> 100755
--- a/pronouncing/__init__.py
+++ b/pronouncing/__init__.py
@@ -94,7 +94,7 @@ def phones_for_word(find):
:returns: a list of phone strings that correspond to that word.
"""
init_cmu()
- return lookup.get(find, [... | Convert to lowercase for phones_for_word and stresses_for_word | py |
diff --git a/LiSE/graph.py b/LiSE/graph.py
index <HASH>..<HASH> 100644
--- a/LiSE/graph.py
+++ b/LiSE/graph.py
@@ -7,6 +7,15 @@ from LiSE.util import path_len
class ThingPlace(GraphNodeMapping.Node):
+ def __getitem__(self, name):
+ """For when I'm the only avatar in a Character, and so you don't need
+ ... | Convenience: if you inadvertently index into a Thing or Place (for instance, because it's the only avatar one Character has in another, but you think there are more), you'll just get the same Thing or Place. | py |
diff --git a/jplephem/jplephem/__init__.py b/jplephem/jplephem/__init__.py
index <HASH>..<HASH> 100644
--- a/jplephem/jplephem/__init__.py
+++ b/jplephem/jplephem/__init__.py
@@ -96,11 +96,12 @@ more efficient by asking the ephemeris for each position only once::
High-Precision Dates
--------------------
-Since Jul... | Further improve the wording about JD precision | py |
diff --git a/pygubu/__init__.py b/pygubu/__init__.py
index <HASH>..<HASH> 100644
--- a/pygubu/__init__.py
+++ b/pygubu/__init__.py
@@ -8,7 +8,7 @@ from pygubu.builder import Builder
from pygubu.builder.builderobject import BuilderObject, register_widget
-__version__ = '0.9.7.5'
+__version__ = '0.9.7.6'
def re... | update version to sync with pypi. | py |
diff --git a/tests/test_pdfinfo.py b/tests/test_pdfinfo.py
index <HASH>..<HASH> 100644
--- a/tests/test_pdfinfo.py
+++ b/tests/test_pdfinfo.py
@@ -181,7 +181,7 @@ def test_stack_abuse():
pdfinfo.info._interpret_contents(stream)
stream = pikepdf.Stream(p, b'q ' * 135)
- with pytest.warns():
+ with ... | Fix pytest.warns() on older pytest Thanks @QuLogic | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -23,6 +23,9 @@ setup(
author_email='cito@online.de',
license='MIT license',
+ # PEP-561: https://www.python.org/dev/peps/pep-0561/
+ package_data={'graphql': ['py.typed']},
+
classifiers=[
'Deve... | Mark package as typed to support type checking | py |
diff --git a/bf/text.py b/bf/text.py
index <HASH>..<HASH> 100644
--- a/bf/text.py
+++ b/bf/text.py
@@ -2,6 +2,7 @@
import os, shutil, tempfile
from bf.file import File
from bl.log import Log
+from bl.string import String
class Text(File):
@@ -10,9 +11,9 @@ class Text(File):
if text is not None:
... | the Text object's .text property now uses the bl.string.String class rather than str. | py |
diff --git a/github/MainClass.py b/github/MainClass.py
index <HASH>..<HASH> 100644
--- a/github/MainClass.py
+++ b/github/MainClass.py
@@ -785,16 +785,6 @@ class Github(object):
"""
return self.create_from_raw_data(*pickle.load(f))
- def get_installation(self, id):
- """
-
- :param ... | Remove older MainClass.get_installation() (#<I>) There are two get_installation() methods in MainClass, with different arguments. get_installation(owner, repo) is documented and tested, and get_installation(id) is neither. Remove it to avoid confusion. | py |
diff --git a/crysp/tlsh.py b/crysp/tlsh.py
index <HASH>..<HASH> 100644
--- a/crysp/tlsh.py
+++ b/crysp/tlsh.py
@@ -151,7 +151,7 @@ class TLSH(object):
yield (71,data[-1],data[-6],data[-8])
yield (73,data[-1],data[-7],data[-8])
except IndexError:
- raise StopIteration
+ ... | fix deprecated StopIteration in generator used by tlsh | py |
diff --git a/tests/test_issues.py b/tests/test_issues.py
index <HASH>..<HASH> 100644
--- a/tests/test_issues.py
+++ b/tests/test_issues.py
@@ -82,3 +82,12 @@ def test_issue_26():
# assert no_wait == [0, 3, 6, 9]
# assert no_wait == wait_a_bit
# assert no_wait == wait_longer
+
+
+def test_issue_33():
+ ... | Assert blocking issue is fixed. Fixed Issue #<I> #<I> | py |
diff --git a/sqlalchemy_hana/requirements.py b/sqlalchemy_hana/requirements.py
index <HASH>..<HASH> 100644
--- a/sqlalchemy_hana/requirements.py
+++ b/sqlalchemy_hana/requirements.py
@@ -13,6 +13,8 @@
# language governing permissions and limitations under the License.
import sys
+
+import sqlalchemy
from sqlalchem... | Tests: Disable constraint reflection for SQLA <I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -76,6 +76,7 @@ setup(
'python-crfsuite>=0.8.3', # Conditional random fields library
'cached-property>=1.2.0', # Simple property for caching results
'lxml',
+ 'networkx',
],
class... | Added networkx dependency to setup.py | py |
diff --git a/gwpy/types/series.py b/gwpy/types/series.py
index <HASH>..<HASH> 100644
--- a/gwpy/types/series.py
+++ b/gwpy/types/series.py
@@ -572,7 +572,7 @@ class Series(Array):
% (self.dtype, other.dtype))
return True
- def append(self, other, gap='raise', inplace=True, pad=0.0, r... | Series.{ap,pre}pend: fixed dtype bug need to set dtype after multiplication, not before | py |
diff --git a/src/middle/converters.py b/src/middle/converters.py
index <HASH>..<HASH> 100644
--- a/src/middle/converters.py
+++ b/src/middle/converters.py
@@ -248,6 +248,10 @@ def _converter_union(type_):
converter_fns.append(converter(arg))
if len(converter_fns) == 1: # only possible is NoneType prese... | wip; fixed a warning given by codacy, it does makes sense | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -28,6 +28,7 @@ meta = dict(
description=_read('DESCRIPTION'),
long_description=_read('README.rst'),
platforms=('Any'),
+ zip_safe=False,
keywords='pylint pep8 pyflakes mccabe linter qa pep257'.split(),
... | Add zip_safe=False on setup config, to force does not create ".egg" file | py |
diff --git a/resolwe/flow/executors/__init__.py b/resolwe/flow/executors/__init__.py
index <HASH>..<HASH> 100644
--- a/resolwe/flow/executors/__init__.py
+++ b/resolwe/flow/executors/__init__.py
@@ -143,7 +143,8 @@ class BaseFlowExecutor(object):
elif key == 'proc.rc':
... | Don't set error status if rc is 0 | py |
diff --git a/python/ray/experimental/ui.py b/python/ray/experimental/ui.py
index <HASH>..<HASH> 100644
--- a/python/ray/experimental/ui.py
+++ b/python/ray/experimental/ui.py
@@ -315,7 +315,7 @@ def task_timeline():
breakdown_opt = widgets.Dropdown(
options=["Basic", "Task Breakdowns"],
- value="... | In the UI, display task breakdowns by default. (#<I>) | py |
diff --git a/sos/plugins/apache.py b/sos/plugins/apache.py
index <HASH>..<HASH> 100644
--- a/sos/plugins/apache.py
+++ b/sos/plugins/apache.py
@@ -20,6 +20,8 @@ class Apache(Plugin):
"""
plugin_name = "apache"
profiles = ('webserver', 'openshift')
+ packages = ('httpd',)
+ files = ('/var/www/',)
... | [apache] add missing packages and files lists | py |
diff --git a/telethon/events/__init__.py b/telethon/events/__init__.py
index <HASH>..<HASH> 100644
--- a/telethon/events/__init__.py
+++ b/telethon/events/__init__.py
@@ -1,3 +1,4 @@
+from .common import Raw
from .chataction import ChatAction
from .messagedeleted import MessageDeleted
from .messageedited import Mess... | Re-export events.Raw (removed on b7c3f<I>) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -92,7 +92,9 @@ with open(os.path.join('plugins', '.gitignore')) as builtinPluginsIgnoreStream:
# (accordingly, note the non-greedy qualifier for the match group)
builtinPluginNameRe = re.match(r'^!(.+?)/?$', ... | Ensure "builtinPlugins" in "setup.py" is accurate This does not matter for the current logic, but guards against future reuse of this variable. | py |
diff --git a/SoftLayer/managers/hardware.py b/SoftLayer/managers/hardware.py
index <HASH>..<HASH> 100644
--- a/SoftLayer/managers/hardware.py
+++ b/SoftLayer/managers/hardware.py
@@ -604,12 +604,13 @@ def _get_port_speed_price_id(items, port_speed, no_public):
"""Choose a valid price id for port speed."""
f... | Since not everything has a capacity, the check for a port speed needs to happen first | py |
diff --git a/tests/integration/modules/publish.py b/tests/integration/modules/publish.py
index <HASH>..<HASH> 100644
--- a/tests/integration/modules/publish.py
+++ b/tests/integration/modules/publish.py
@@ -38,7 +38,7 @@ class PublishModuleTest(integration.ModuleCase,
)
for name in check_true:
... | Don't use print statement without parenthesis (py3 compat) This backports a lint fix from #<I> into the tests for <I>. | py |
diff --git a/instaloader.py b/instaloader.py
index <HASH>..<HASH> 100755
--- a/instaloader.py
+++ b/instaloader.py
@@ -14,6 +14,7 @@ import string
import sys
import tempfile
import time
+import urllib.parse
from argparse import ArgumentParser
from base64 import b64decode, b64encode
from contextlib import contextm... | Fix downloading hashtags with unicode characters Non-latin characters in the referer string used in the HTTP headers are now properly quoted. | py |
diff --git a/tile_generator/opsmgr.py b/tile_generator/opsmgr.py
index <HASH>..<HASH> 100644
--- a/tile_generator/opsmgr.py
+++ b/tile_generator/opsmgr.py
@@ -206,8 +206,7 @@ def check_response(response, check=True):
print(response.text, file=sys.stderr)
sys.exit(1)
-def ssh(argv = [], working_dir='/var/tempes... | Fixed ssh with commands for the non-keyfile case | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -8,7 +8,7 @@ files = [os.path.join("templates", "*.css"),
setup(
name="junit2html",
- version="30.0.2",
+ version="30.0.3",
description="Generate HTML reports from Junit results",
author="Ian Norton",
... | bump to <I> for zero-report bugfix | py |
diff --git a/malcolm/yamlutil.py b/malcolm/yamlutil.py
index <HASH>..<HASH> 100644
--- a/malcolm/yamlutil.py
+++ b/malcolm/yamlutil.py
@@ -120,15 +120,16 @@ def creator_with_nice_signature(creator, sections, yamlname, yaml_path,
else:
args.append("%s=%r" % (anno.name, anno.default))
func = ""... | Allow yaml files to have dashes in them | py |
diff --git a/cogwheels/helpers/tests/test_helper_init.py b/cogwheels/helpers/tests/test_helper_init.py
index <HASH>..<HASH> 100644
--- a/cogwheels/helpers/tests/test_helper_init.py
+++ b/cogwheels/helpers/tests/test_helper_init.py
@@ -12,12 +12,17 @@ class TestSettingsHelper(BaseAppSettingsHelper):
class TestHelperIni... | Add a test to show that trailing underscores are always stripped when setting the internal _prefix attribute value | py |
diff --git a/cleverhans/attacks.py b/cleverhans/attacks.py
index <HASH>..<HASH> 100644
--- a/cleverhans/attacks.py
+++ b/cleverhans/attacks.py
@@ -2405,7 +2405,7 @@ def optimize_linear(grad, eps, ord=np.inf):
# Take sign of gradient
optimal_perturbation = tf.sign(grad)
# The following line should not cha... | fix outdated comment (#<I>) | py |
diff --git a/dataviews/plots.py b/dataviews/plots.py
index <HASH>..<HASH> 100644
--- a/dataviews/plots.py
+++ b/dataviews/plots.py
@@ -1140,9 +1140,9 @@ class CoordinateGridPlot(OverlayPlot):
l, b, r, t = self.grid.lbrt
xpositions = np.linspace(0, width, self.num_ticks)
- xlabels = np.linspac... | Rounding of CoordinateGridPlot tick labels | py |
diff --git a/mongo_orchestration/servers.py b/mongo_orchestration/servers.py
index <HASH>..<HASH> 100644
--- a/mongo_orchestration/servers.py
+++ b/mongo_orchestration/servers.py
@@ -81,6 +81,11 @@ class Server(BaseModel):
# fail with LockTimeout: "Unable to acquire lock {...} within 5ms".
if ... | CSHARP-<I>: Reduce periodicNoopIntervalSecs for faster driver change stream testing. (#<I>) | py |
diff --git a/src/ploneintranet/workspace/browser/roster.py b/src/ploneintranet/workspace/browser/roster.py
index <HASH>..<HASH> 100644
--- a/src/ploneintranet/workspace/browser/roster.py
+++ b/src/ploneintranet/workspace/browser/roster.py
@@ -61,7 +61,13 @@ class EditRoster(BrowserView):
if id in members:
... | Only users with the manage workspace permission can remove members | py |
diff --git a/bika/lims/browser/reports/productivity_dailysamplesreceived.py b/bika/lims/browser/reports/productivity_dailysamplesreceived.py
index <HASH>..<HASH> 100644
--- a/bika/lims/browser/reports/productivity_dailysamplesreceived.py
+++ b/bika/lims/browser/reports/productivity_dailysamplesreceived.py
@@ -67,9 +67,... | Added condition when building a dataline so that its contents are coherent with the fieldnames | py |
diff --git a/gromacs/analysis/plugins/distances.py b/gromacs/analysis/plugins/distances.py
index <HASH>..<HASH> 100644
--- a/gromacs/analysis/plugins/distances.py
+++ b/gromacs/analysis/plugins/distances.py
@@ -212,7 +212,10 @@ class _Distances(Worker):
# hack: callbacks for customization
... | protect call back with try git-svn-id: svn+ssh://gonzo.med.jhmi.edu/scratch/svn/woolf_repository/users/oliver/Library/GromacsWrapper@<I> df5ba8eb-4b0b-<I>-8c<I>-c<I>f<I>b<I>c | py |
diff --git a/cms_lab_publications/models.py b/cms_lab_publications/models.py
index <HASH>..<HASH> 100644
--- a/cms_lab_publications/models.py
+++ b/cms_lab_publications/models.py
@@ -144,7 +144,7 @@ class Publication(models.Model):
self.mini_citation = publication.cite_mini()
self.abstract = p... | Switch to new-school super().save(*args, **kwargs) | py |
diff --git a/mutagen/id3/__init__.py b/mutagen/id3/__init__.py
index <HASH>..<HASH> 100644
--- a/mutagen/id3/__init__.py
+++ b/mutagen/id3/__init__.py
@@ -1018,8 +1018,9 @@ class ID3FileType(mutagen.FileType):
self.filename = filename
try:
self.tags = ID3(filename, **kwargs)
- exce... | id3: don't hide id3 loading errors with ID3FileType. | py |
diff --git a/lib/access_control_config.py b/lib/access_control_config.py
index <HASH>..<HASH> 100644
--- a/lib/access_control_config.py
+++ b/lib/access_control_config.py
@@ -118,7 +118,8 @@ DEF_DEMO_ROLES = (('photoadmin', 'Photo collection administrator', 'deny any'),
DEF_DEMO_USER_ROLES = (('jekyll@cds.cern.ch', ... | Added Romeo & Juliet characters in demo site. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -14,6 +14,7 @@ setup(name="PyTMX",
description='Map loader for TMX Files',
author='bitcraft',
packages=['pytmx',],
+ install_requires=['pygame'],
license = "LGPLv3",
long_des... | Update setup.py to include install requirement of pygame | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -24,7 +24,7 @@ setup(
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_ver... | bump the version up to <I> | py |
diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py
index <HASH>..<HASH> 100644
--- a/pyrogram/client/client.py
+++ b/pyrogram/client/client.py
@@ -437,6 +437,8 @@ class Client(Methods, BaseClient):
else:
self.user_id = r.user.id
+ print("Logged in successfully as @{}".... | Print account name when logging in the first time | py |
diff --git a/psqlextra/manager/manager.py b/psqlextra/manager/manager.py
index <HASH>..<HASH> 100644
--- a/psqlextra/manager/manager.py
+++ b/psqlextra/manager/manager.py
@@ -297,7 +297,7 @@ class PostgresQuerySet(models.QuerySet):
"""
if not rows or len(rows) <= 0:
- return
+ ... | Ensure bulk_upsert always returns an iterable | py |
diff --git a/huey/contrib/simple_storage.py b/huey/contrib/simple_storage.py
index <HASH>..<HASH> 100644
--- a/huey/contrib/simple_storage.py
+++ b/huey/contrib/simple_storage.py
@@ -10,7 +10,6 @@ class SimpleStorage(BaseStorage):
**storage_kwargs):
super(SimpleStorage, self).__init__(name=na... | Remove connect() call as it is no longer needed. | py |
diff --git a/src/discoursegraphs/util.py b/src/discoursegraphs/util.py
index <HASH>..<HASH> 100644
--- a/src/discoursegraphs/util.py
+++ b/src/discoursegraphs/util.py
@@ -222,14 +222,18 @@ def create_dir(path):
raise
-def find_files(directory, pattern):
+def find_files(directory, pattern='*'):
"""... | made find_files more eror-prone - expand ~/ - abspath - default pattern: * - inlined imports (for copy&paste-ability) | py |
diff --git a/sgp4/propagation.py b/sgp4/propagation.py
index <HASH>..<HASH> 100644
--- a/sgp4/propagation.py
+++ b/sgp4/propagation.py
@@ -1948,7 +1948,7 @@ def sgp4(satrec, tsince, whichconst=None):
* --------------------------------------------------------------------------- */
"""
-def _gstime(jdut1):
+def gstim... | Make the name of `gstime()` public It was unwarranted for me to mark `gstime()` private, because it’s one of the routines officially documented in the paper on SGP4, and so should be available in Python under exactly the same name. This helps with the software project described in pull request #<I>. | py |
diff --git a/gspread/auth.py b/gspread/auth.py
index <HASH>..<HASH> 100644
--- a/gspread/auth.py
+++ b/gspread/auth.py
@@ -163,7 +163,7 @@ def oauth(
if not creds:
creds = flow(scopes=scopes)
- store_credentials(creds)
+ store_credentials(creds, filename=authorized_user_filename)
cl... | fix store_credentials fix store_credentials to store creds correctly when authorized_user_filename is passed. | py |
diff --git a/abydos/tests/test_distance.py b/abydos/tests/test_distance.py
index <HASH>..<HASH> 100644
--- a/abydos/tests/test_distance.py
+++ b/abydos/tests/test_distance.py
@@ -1,6 +1,7 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
+from __future__ import division
import unittest
from abydo... | additional (non-trivial) tests for normalized Levenshtein | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -36,6 +36,7 @@ setuptools.setup(
},
python_requires=">=3.6, <3.9",
install_requires=[
+ "asgiref==3.2.7",
"asteval~=0.9.12",
"async-timeout~=3.0.0",
"channels~=2.4.0", | Fix asgiref version with never version tests for Python<I> and Python<I> will fail with timeout error. | py |
diff --git a/phypno/attr/anat.py b/phypno/attr/anat.py
index <HASH>..<HASH> 100644
--- a/phypno/attr/anat.py
+++ b/phypno/attr/anat.py
@@ -319,7 +319,7 @@ class Freesurfer:
seg_mri = load(seg_file)
except NameError:
raise ImportError('nibabel needs to be installed for this function')
... | use property instead of methods (based on nibabel deprecation warning) | py |
diff --git a/salt/master.py b/salt/master.py
index <HASH>..<HASH> 100644
--- a/salt/master.py
+++ b/salt/master.py
@@ -857,6 +857,7 @@ class ClearFuncs(object):
if 'user' in clear_load:
log.info(('User {0[user]} Published command {0[fun]} with jid'
' {0[jid]}').format(clear_... | Pass the user in the load Forgot to add the actual user in the payload so the minion can read it out for logging. | py |
diff --git a/metpy/calc/basic.py b/metpy/calc/basic.py
index <HASH>..<HASH> 100644
--- a/metpy/calc/basic.py
+++ b/metpy/calc/basic.py
@@ -349,7 +349,7 @@ def apparent_temperature(temperature, rh, speed, face_level_winds=False):
else:
if app_temperature.mask:
app_temperature = temperature.m
-... | workaround numpy=<I> issue? | py |
diff --git a/rebound/horizons.py b/rebound/horizons.py
index <HASH>..<HASH> 100644
--- a/rebound/horizons.py
+++ b/rebound/horizons.py
@@ -111,6 +111,20 @@ def getParticle(particle=None, m=None, x=None, y=None, z=None, vx=None, vy=None,
made_choice = True
body = api_request(idn, datestart, dateend, ... | fix fetching minor bodies from Horizons | py |
diff --git a/remi/gui.py b/remi/gui.py
index <HASH>..<HASH> 100644
--- a/remi/gui.py
+++ b/remi/gui.py
@@ -197,8 +197,8 @@ class Tag(object):
To retrieve the child call get_child or access to the Tag.children[key] dictionary.
Args:
- key (str, Tag): Unique child's identifier
- ... | gui: doc tweaks to quiet errors | py |
diff --git a/gyr/matrix_objects.py b/gyr/matrix_objects.py
index <HASH>..<HASH> 100644
--- a/gyr/matrix_objects.py
+++ b/gyr/matrix_objects.py
@@ -45,3 +45,27 @@ class MatrixUser:
self.api.send_event(room, "m.room.message", utils.new_txn_id(),
content=content,
... | Add some method skeletons to the user class. | py |
diff --git a/twitterbot/twitter_bot.py b/twitterbot/twitter_bot.py
index <HASH>..<HASH> 100644
--- a/twitterbot/twitter_bot.py
+++ b/twitterbot/twitter_bot.py
@@ -51,6 +51,7 @@ class TwitterBot(object):
sentence = self.mongo.sentences.find().limit(1).skip(index)[0]
message = sentence['sentence']
... | Use different indexes for sentence and word. | py |
diff --git a/py/test/selenium/webdriver/common/api_example_tests.py b/py/test/selenium/webdriver/common/api_example_tests.py
index <HASH>..<HASH> 100644
--- a/py/test/selenium/webdriver/common/api_example_tests.py
+++ b/py/test/selenium/webdriver/common/api_example_tests.py
@@ -1,20 +1,3 @@
-# Licensed to the Software ... | [py] Correct licence in test | py |
diff --git a/examples/HIV1C/main.py b/examples/HIV1C/main.py
index <HASH>..<HASH> 100644
--- a/examples/HIV1C/main.py
+++ b/examples/HIV1C/main.py
@@ -4,8 +4,8 @@ import os
from pastml.acr import pastml_pipeline
DATA_DIR = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'data')
-TREE_NWK = os.path.join(DAT... | back to original pipeline (i.e. like in biorxiv but with singularity) | py |
diff --git a/salt/utils/win_runas.py b/salt/utils/win_runas.py
index <HASH>..<HASH> 100644
--- a/salt/utils/win_runas.py
+++ b/salt/utils/win_runas.py
@@ -292,13 +292,16 @@ def runas_system(cmd, username, password):
if '\\' in username:
domain, username = username.split('\\')
- # Get User Token
+ ... | Load UserProfile on RunAs | py |
diff --git a/turbolift/utils/basic_utils.py b/turbolift/utils/basic_utils.py
index <HASH>..<HASH> 100644
--- a/turbolift/utils/basic_utils.py
+++ b/turbolift/utils/basic_utils.py
@@ -194,11 +194,10 @@ def set_unique_dirs(object_list, root_dir):
unique_dirs = []
for obj in object_list:
- full_path = j... | This change should resolve Issue #<I> The change will test that the found object reported from swift is not None or an empty string, then it will build the full download path storing only the directory name. | py |
diff --git a/src/quart/flask_patch/app.py b/src/quart/flask_patch/app.py
index <HASH>..<HASH> 100644
--- a/src/quart/flask_patch/app.py
+++ b/src/quart/flask_patch/app.py
@@ -14,6 +14,7 @@ from quart import Response
from quart.app import Quart
from quart.ctx import _request_ctx_stack, RequestContext
from quart.utils... | Add an ensure_sync to the Flask patch system This will allow compatibility with Flask extensions that use this method. | py |
diff --git a/flask_philo/__init__.py b/flask_philo/__init__.py
index <HASH>..<HASH> 100644
--- a/flask_philo/__init__.py
+++ b/flask_philo/__init__.py
@@ -86,7 +86,18 @@ def init_app(module, BASE_DIR, **kwargs):
"""
if 'CORS' in app.config:
- CORS(app, resources=app.config['CO... | Set the specific headers to be able respond cors issues between the apps and api gateway | py |
diff --git a/flask_journey/__init__.py b/flask_journey/__init__.py
index <HASH>..<HASH> 100644
--- a/flask_journey/__init__.py
+++ b/flask_journey/__init__.py
@@ -8,7 +8,7 @@
"""
__author__ = "Robert Wikman <rbw@vault13.org>"
-__version__ = "0.1.3"
+__version__ = "0.1.4"
from .exceptions import (
Incompatib... | Bumpitybump to <I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -227,7 +227,6 @@ setup(
os.path.join('bin','gracedb'),
os.path.join('bin','LSCdataFind'),
os.path.join('bin','ligo_data_find'),
- os.path.join('bin','ligo_channel_query'),
os.path.join('bin','lars'),
... | Moved ligo_channel_query from glue/setup.py to pylal/setup.py | py |
diff --git a/sem/cli.py b/sem/cli.py
index <HASH>..<HASH> 100644
--- a/sem/cli.py
+++ b/sem/cli.py
@@ -92,8 +92,13 @@ def build(ns_3_path, results_dir, script, no_optimization):
default="Auto",
show_default=False,
help="The Runner class to employ for this simulation")
+@clic... | Add switch to avoid checking the repository status from command line With this commit, users can now skip the repository cleanliness check by using the --skip-repo-check flag in the sem run command. This should be used with caution: SEM will not lock onto a single git revision and make sure every run is on the same ve... | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.