diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/spyder/widgets/dock.py b/spyder/widgets/dock.py
index <HASH>..<HASH> 100644
--- a/spyder/widgets/dock.py
+++ b/spyder/widgets/dock.py
@@ -49,11 +49,16 @@ class TabFilter(QObject):
self.from_index = self.dock_tabbar.tabAt(event.pos())
self.dock_tabbar.setCurrentIndex(self.from_index)
- ... | Widgets: Handle AttributeError for tab-press events | py |
diff --git a/jumeaux/executor.py b/jumeaux/executor.py
index <HASH>..<HASH> 100644
--- a/jumeaux/executor.py
+++ b/jumeaux/executor.py
@@ -537,7 +537,7 @@ def main():
# TODO: refactoring
if args.retry:
- report: Report = Report.from_jsonf(args.report.get())
+ report: Report = Report.from_jsonf... | :skull: Fail to retry in case response_sec is int in report #<I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,9 +1,24 @@
from setuptools import find_packages, setup
+import re
+
+version = None
+with open('tchannel/__init__.py', 'r') as f:
+ for line in f:
+ m = re.match(r'^__version__\s*=\s*(["\'])([^"\']+)\1', line)
... | Remove requirement to have version number in two places | py |
diff --git a/pygmsh/built_in/ellipse_arc.py b/pygmsh/built_in/ellipse_arc.py
index <HASH>..<HASH> 100644
--- a/pygmsh/built_in/ellipse_arc.py
+++ b/pygmsh/built_in/ellipse_arc.py
@@ -11,13 +11,13 @@ class EllipseArc(LineBase):
Parameters
----------
start : Point
- Coordinates of start point needed... | DOC: the arc is elliptic not circle | py |
diff --git a/darcs/darcs-fast-export.py b/darcs/darcs-fast-export.py
index <HASH>..<HASH> 100755
--- a/darcs/darcs-fast-export.py
+++ b/darcs/darcs-fast-export.py
@@ -116,6 +116,7 @@ patches = xmldoc.getElementsByTagName('patch')
patchnum = len(patches)
count = 0
+paths = []
for i in patches:
# apply the patch
... | avoid deleteall - upstream bzr fast-import and hg fastimport does not support it yet | py |
diff --git a/cypher/syntax.py b/cypher/syntax.py
index <HASH>..<HASH> 100644
--- a/cypher/syntax.py
+++ b/cypher/syntax.py
@@ -133,6 +133,9 @@ class MapPair(Token):
class Map(Token):
def __init__(self, props, identifier=None):
+ if identifier is None and hasattr(props, 'identifier'):
+ identif... | Reference identifier from passed value if available This provides transparency for passing Node and Rel instances. If the identifier should not be passed, `False` can be passed to prevent the implicit reference. | py |
diff --git a/pcap_info.py b/pcap_info.py
index <HASH>..<HASH> 100755
--- a/pcap_info.py
+++ b/pcap_info.py
@@ -8,11 +8,7 @@ def pcap_info(pcap_file):
sf = savefile.load_savefile(pcap_file)
if sf.valid:
- print 'Packet capture file with format %u.%u:' % (sf.header.major,
- ... | pcap_info.py uses built-in repr now | py |
diff --git a/pythonforandroid/toolchain.py b/pythonforandroid/toolchain.py
index <HASH>..<HASH> 100755
--- a/pythonforandroid/toolchain.py
+++ b/pythonforandroid/toolchain.py
@@ -27,7 +27,6 @@ import argparse
import sh
-from pythonforandroid.archs import ArchARM, ArchARMv7_a, Archx86, Archx86_64
from pythonforand... | Removed unnecessary arch import in toolchain | py |
diff --git a/pytest-server-fixtures/tests/unit/test_server_unit.py b/pytest-server-fixtures/tests/unit/test_server_unit.py
index <HASH>..<HASH> 100644
--- a/pytest-server-fixtures/tests/unit/test_server_unit.py
+++ b/pytest-server-fixtures/tests/unit/test_server_unit.py
@@ -29,7 +29,7 @@ def test_kill():
self.run.... | Working on fixing httpd server kill, now uses server pidfile | py |
diff --git a/xhtml2pdf/parser.py b/xhtml2pdf/parser.py
index <HASH>..<HASH> 100644
--- a/xhtml2pdf/parser.py
+++ b/xhtml2pdf/parser.py
@@ -717,12 +717,16 @@ def pisaParser(src, context, default_css="", xhtml=False, encoding=None, xml_out
else:
parser = html5lib.HTMLParser(tree=treebuilders.getTreeBuilder(... | Update parser.py (#<I>) * Update parser.py Fixed #<I> * Fixed issue with test cases not passing | py |
diff --git a/discord/message.py b/discord/message.py
index <HASH>..<HASH> 100644
--- a/discord/message.py
+++ b/discord/message.py
@@ -94,8 +94,7 @@ class Message(object):
self.channel = kwargs.get('channel')
self.author = User(**kwargs.get('author', {}))
self.attachments = kwargs.get('attach... | Fix ordering issue with Message.server | py |
diff --git a/Documentation/conf.py b/Documentation/conf.py
index <HASH>..<HASH> 100644
--- a/Documentation/conf.py
+++ b/Documentation/conf.py
@@ -41,7 +41,7 @@ extensions = [
'sphinx.ext.autosummary',
'numpydoc',
'nbsphinx',
- 'recommonmark',
+ #'recommonmark',
]
# This is currently not workin... | recommonmark is causing an error in parsing the HARKManual with sphinx. #<I> | py |
diff --git a/lib/stsci/tools/teal.py b/lib/stsci/tools/teal.py
index <HASH>..<HASH> 100644
--- a/lib/stsci/tools/teal.py
+++ b/lib/stsci/tools/teal.py
@@ -864,7 +864,7 @@ class ConfigObjEparDialog(editpar.EditParDialog):
badList = self.checkSetSaveEntries(doSave=False)
if badList:
self.pr... | Refines the value returned from the new 'getDict()' method to only being a dict object, rather than a more complicated ConfigObj-based or EPAR-based object. git-svn-id: <URL> | py |
diff --git a/numina/user/cli.py b/numina/user/cli.py
index <HASH>..<HASH> 100644
--- a/numina/user/cli.py
+++ b/numina/user/cli.py
@@ -17,14 +17,16 @@
# along with Numina. If not, see <http://www.gnu.org/licenses/>.
#
-'''User command line interface of Numina.'''
+"""User command line interface of Numina."""
+im... | Use pkg_resources to load plugin commands * Other minor fixes (doctest, imports) | py |
diff --git a/dfvfs/file_io/tsk_file_io.py b/dfvfs/file_io/tsk_file_io.py
index <HASH>..<HASH> 100644
--- a/dfvfs/file_io/tsk_file_io.py
+++ b/dfvfs/file_io/tsk_file_io.py
@@ -169,7 +169,9 @@ class TSKFile(file_io.FileIO):
if self._current_offset < 0:
raise IOError(u'Invalid current offset value less than ze... | Code review: <I>: Bug fix in TSK file IO. | py |
diff --git a/nhe/surface/planar.py b/nhe/surface/planar.py
index <HASH>..<HASH> 100644
--- a/nhe/surface/planar.py
+++ b/nhe/surface/planar.py
@@ -42,6 +42,7 @@ class PlanarSurface(BaseSurface):
Implements a numerical approach to :meth:`distance calculation
<nhe.surface.base.BaseSurface.get_min_distan... | surface/planar: added a TODO notice about testing get_min_distance() | py |
diff --git a/app/preparation/mzidtsv/proteingrouping.py b/app/preparation/mzidtsv/proteingrouping.py
index <HASH>..<HASH> 100644
--- a/app/preparation/mzidtsv/proteingrouping.py
+++ b/app/preparation/mzidtsv/proteingrouping.py
@@ -127,7 +127,7 @@ def sort_amounts(proteins, ppgraph, innerlookup=False):
def sort_pgroup_... | Score needed to be completely rolled out since it was a list of lists. Also made into integer. Assuming we dont need floats since msgfscore is int | py |
diff --git a/arctic/multi_index.py b/arctic/multi_index.py
index <HASH>..<HASH> 100644
--- a/arctic/multi_index.py
+++ b/arctic/multi_index.py
@@ -65,7 +65,7 @@ def fancy_group_by(df, grouping_level=0, aggregate_level=1, method='last', max_=
# to work properly. We can check the sortdepth to see if this is in fact ... | Pandas: use sort_index instead of sortlevel As it's removed from versions <I> and sort_index is supported and recommended in previous versions | py |
diff --git a/openquake/server/db/upgrade_manager.py b/openquake/server/db/upgrade_manager.py
index <HASH>..<HASH> 100644
--- a/openquake/server/db/upgrade_manager.py
+++ b/openquake/server/db/upgrade_manager.py
@@ -419,5 +419,6 @@ def what_if_I_upgrade(conn, pkg_name='openquake.server.db.schema.upgrades',
if __name__ ... | Configured the logging in the upgrade_manager Former-commit-id: ea<I>aac<I>ae<I>fe<I>c<I>c<I>e<I>ffb<I> [formerly 2f<I>fcdf<I>c<I>c<I>f<I>fd<I>] Former-commit-id: <I>b<I>e<I>f5c<I>fb2bdf8cff3f | py |
diff --git a/tests/test_serving.py b/tests/test_serving.py
index <HASH>..<HASH> 100644
--- a/tests/test_serving.py
+++ b/tests/test_serving.py
@@ -210,8 +210,9 @@ def test_reloader_nested_broken_imports(tmpdir, dev_server):
def test_windows_get_args_for_reloading(monkeypatch, tmpdir):
+ test_py_exe = 'C:\\Users... | Issue <I> correcting failing flake8 style check | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -21,7 +21,7 @@ setup(name='eatiht',
author_email='rodrigopala91@gmail.com',
license='MIT',
packages=['eatiht'],
- install_requires=['lxml'],
+ install_requires=['lxml', 'chardet'],
sc... | Added chardet to the required packages | py |
diff --git a/cirq/google/sim/mem_manager.py b/cirq/google/sim/mem_manager.py
index <HASH>..<HASH> 100644
--- a/cirq/google/sim/mem_manager.py
+++ b/cirq/google/sim/mem_manager.py
@@ -67,7 +67,6 @@ class SharedMemManager(object):
'Array has unsupported dtype {}.'.format(arr.dtype))
with self.... | Use loop counter for bad case in mem_manager | py |
diff --git a/django_transfer/tests.py b/django_transfer/tests.py
index <HASH>..<HASH> 100644
--- a/django_transfer/tests.py
+++ b/django_transfer/tests.py
@@ -66,6 +66,10 @@ class ServerTestCase(TestCase):
super(ServerTestCase, self).setUp()
self.header_name = SERVER_HEADERS.get(self.transfer_server)
... | Added assertIn to make Python <I> happy (unittest lacks this method). | py |
diff --git a/sportsref/decorators.py b/sportsref/decorators.py
index <HASH>..<HASH> 100644
--- a/sportsref/decorators.py
+++ b/sportsref/decorators.py
@@ -128,6 +128,7 @@ def cache_html(func):
if parsed.query:
relURL += '?' + parsed.query
noPathFN = re.sub(r'\.html?', '', sport + relURL.r... | cache_html: added TODO about hashing | py |
diff --git a/python/thunder/factorization/ica.py b/python/thunder/factorization/ica.py
index <HASH>..<HASH> 100755
--- a/python/thunder/factorization/ica.py
+++ b/python/thunder/factorization/ica.py
@@ -6,7 +6,7 @@ import os
import argparse
import glob
from numpy import random, sqrt, zeros, real, dot, outer, diag, t... | Return mixing and unmixing matrices | py |
diff --git a/test_settings.py b/test_settings.py
index <HASH>..<HASH> 100644
--- a/test_settings.py
+++ b/test_settings.py
@@ -28,8 +28,6 @@ DATABASES = {
}
}
-TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'
-
EDX_DRF_EXTENSIONS = {}
# USER_SETTINGS overrides for djangorestframework-jwt APISettings class | Remove unused TEST_RUNNER setting Should have been removed in d<I>f, which removed nose. | py |
diff --git a/yoke/templates.py b/yoke/templates.py
index <HASH>..<HASH> 100644
--- a/yoke/templates.py
+++ b/yoke/templates.py
@@ -212,6 +212,9 @@ fi
PYBIN="/opt/python/${PY_VERSION}/bin"
+# Make sure we're using the latest version of setuptools
+${PYBIN}/pip install -U setuptools
+
${PYBIN}/pip wheel --no-binary... | Ensure latest setuptools is installed Some packages dependencies might require a recent version of setuptools (>=<I>), but the manylinux Docker image ships with <I> out of the box. | py |
diff --git a/tests/shell/test_remote.py b/tests/shell/test_remote.py
index <HASH>..<HASH> 100644
--- a/tests/shell/test_remote.py
+++ b/tests/shell/test_remote.py
@@ -146,7 +146,8 @@ else:
process = subprocess.Popen(
[sys.executable, '-m', 'coverage', 'run', '-m',
'pelix.... | Shell Test: avoid printing output of subprocess | py |
diff --git a/tests/settings.py b/tests/settings.py
index <HASH>..<HASH> 100644
--- a/tests/settings.py
+++ b/tests/settings.py
@@ -20,7 +20,7 @@ INSTALLED_APPS = (
PROJECT_NAME,
)
ROOT_URLCONF = PROJECT_NAME + '.urls'
-SECRET_KEY = 'secret'
+SECRET_KEY = os.getenv('ENDLESS_PAGINATION_SECRET_KEY', 'secret')
SITE... | Support providing SECRET_KEY as environment variable. | py |
diff --git a/librosa/feature/spectral.py b/librosa/feature/spectral.py
index <HASH>..<HASH> 100644
--- a/librosa/feature/spectral.py
+++ b/librosa/feature/spectral.py
@@ -559,7 +559,7 @@ def rmse(y=None, S=None, frame_length=2048, hop_length=512,
Use a STFT window of constant ones and no frame centering to get con... | fixed rmse docstring | py |
diff --git a/steam/tf2.py b/steam/tf2.py
index <HASH>..<HASH> 100644
--- a/steam/tf2.py
+++ b/steam/tf2.py
@@ -257,6 +257,12 @@ class backpack:
pass
return ilist
+ def get_total_cells():
+ """ Returns the total number of cells in the backpack.
+ This can be used to determine... | Add total cells/item contents getters | py |
diff --git a/oemof/db/feedin_pg.py b/oemof/db/feedin_pg.py
index <HASH>..<HASH> 100644
--- a/oemof/db/feedin_pg.py
+++ b/oemof/db/feedin_pg.py
@@ -18,7 +18,7 @@ class Feedin:
''
pass
- def create_fixed_source(self, conn, **kwargs):
+ def aggregate_cap_val(self, conn, **kwargs):
''
... | Rename definition create_fixed_source to aggregate_cap_val | py |
diff --git a/grimoire_elk/elk.py b/grimoire_elk/elk.py
index <HASH>..<HASH> 100755
--- a/grimoire_elk/elk.py
+++ b/grimoire_elk/elk.py
@@ -473,7 +473,7 @@ def do_studies(enrich_backend, no_incremental=False):
study(enrich_backend, no_incremental)
except Exception as e:
logger.error("Problem e... | [elk] raise exception in do_studies This patch enables to raise an exception when a study fails, instead of printing the traceback. Thus, it allows Mordred to be aware that a thread has failed. | py |
diff --git a/dougrain/builder.py b/dougrain/builder.py
index <HASH>..<HASH> 100644
--- a/dougrain/builder.py
+++ b/dougrain/builder.py
@@ -33,19 +33,19 @@ class Builder(object):
else:
new_link = dict(href=target.url(), **kwargs)
- self.add_rel('_links', rel, new_link, wrap)
+ self.... | Make add_rel method look more private. | py |
diff --git a/src/ocrmypdf/pipeline.py b/src/ocrmypdf/pipeline.py
index <HASH>..<HASH> 100644
--- a/src/ocrmypdf/pipeline.py
+++ b/src/ocrmypdf/pipeline.py
@@ -1045,6 +1045,7 @@ def metadata_fixup(
_do_merge_ghostscript([layers_file, ps], output_file, log, context)
elif fitz:
_do_merge_mupdf([laye... | PyMuPDF tweaks: don't clean In MuPDF <I> clean might be unreliable, so explicitly don't do it, even though it doesn't cause trouble in <I>. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,7 +1,7 @@
import importlib
import subprocess
-from setuptools import setup
+from setuptools import setup, find_packages
# build_requires is not a setuptools keyword. These packages are
# required just to process thi... | bug fix: revert to using find_packages | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -77,7 +77,7 @@ def setup_package():
platforms = ["Windows", "Linux", "Mac OS-X"],
test_suite = 'nose.collector',
python_requires = '>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
- install_requires=[... | Removing cython from install_requires | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -28,7 +28,7 @@ REQUIRES = [
'pyarrow>=0.14.1,<1.0',
'google-cloud-bigquery>=1.19.0,<2.0',
'geojson>=2.5.0,<3.0',
- 'Rtree>=0.8.3,<1.0'
+ # 'Rtree>=0.8.3,<1.0'
]
PACKAGE_DATA = { | Temporary remove RTree dependency | py |
diff --git a/tests/readwrite/test_rs3tree.py b/tests/readwrite/test_rs3tree.py
index <HASH>..<HASH> 100644
--- a/tests/readwrite/test_rs3tree.py
+++ b/tests/readwrite/test_rs3tree.py
@@ -243,6 +243,31 @@ def test_single_sns_schema_topspan():
assert expected == produced1.tree == produced2.tree
+def test_nested_... | rs3tree: added test for nested two-sided schema | py |
diff --git a/yandextank/plugins/Console/screen.py b/yandextank/plugins/Console/screen.py
index <HASH>..<HASH> 100644
--- a/yandextank/plugins/Console/screen.py
+++ b/yandextank/plugins/Console/screen.py
@@ -505,7 +505,7 @@ class AnswSizesBlock(AbstractBlock):
def add_second(self, data):
- self.cur_in = ... | plugins/Console: fix average response size | py |
diff --git a/src/pyvesync/vesyncfan.py b/src/pyvesync/vesyncfan.py
index <HASH>..<HASH> 100644
--- a/src/pyvesync/vesyncfan.py
+++ b/src/pyvesync/vesyncfan.py
@@ -115,13 +115,13 @@ class VeSyncAir200S(VeSyncBaseDevice):
@property
def fan_level(self) -> int:
"""Get current fan level (1-3)."""
- ... | Trying to make tox happy. | py |
diff --git a/eqcorrscan/doc/conf.py b/eqcorrscan/doc/conf.py
index <HASH>..<HASH> 100644
--- a/eqcorrscan/doc/conf.py
+++ b/eqcorrscan/doc/conf.py
@@ -26,8 +26,7 @@ if not READ_THE_DOCS:
# Use mock to allow for autodoc compilation without needing C based modules
import mock
import glob
-MOCK_MODULES = ['scipy', 'sci... | Update conf for rtd | py |
diff --git a/plenum/cli/cli.py b/plenum/cli/cli.py
index <HASH>..<HASH> 100644
--- a/plenum/cli/cli.py
+++ b/plenum/cli/cli.py
@@ -707,10 +707,12 @@ class Cli:
mPrimary = node.replicas[node.instances.masterId].primaryName
bPrimary = node.replicas[node.instances.backupIds[0]].primaryName
... | handling crash as reported in github issue #<I> | py |
diff --git a/openpnm/core/Simulation.py b/openpnm/core/Simulation.py
index <HASH>..<HASH> 100644
--- a/openpnm/core/Simulation.py
+++ b/openpnm/core/Simulation.py
@@ -200,7 +200,7 @@ class Grid(dict):
network = property(fget=_get_net)
- def __repr__(self):
+ def __str__(self):
s = []
hr... | Changing the way __str__ and __repr__ on grid work | py |
diff --git a/cartoframes/data/observatory/repository/repo_client.py b/cartoframes/data/observatory/repository/repo_client.py
index <HASH>..<HASH> 100644
--- a/cartoframes/data/observatory/repository/repo_client.py
+++ b/cartoframes/data/observatory/repository/repo_client.py
@@ -72,7 +72,7 @@ class RepoClient(object):
... | Sort dict iteration to pass tests in all python versions | py |
diff --git a/tests/asserts.py b/tests/asserts.py
index <HASH>..<HASH> 100644
--- a/tests/asserts.py
+++ b/tests/asserts.py
@@ -230,7 +230,15 @@ def assert_equal_none_format(a, b, options=None):
warnings.simplefilter('ignore', RuntimeWarning)
npt.assert_equal(c, b)
else... | Fixed assertion in tests when no metadata is used for data written like a struct where the fields could get re-ordered (bug was relying on a now changed feature of numpy where the dtype would be equal even if re-ordered). see commit b2f<I>d<I>df<I>cb<I>c<I>f<I>a | py |
diff --git a/salt/modules/aptpkg.py b/salt/modules/aptpkg.py
index <HASH>..<HASH> 100644
--- a/salt/modules/aptpkg.py
+++ b/salt/modules/aptpkg.py
@@ -2558,8 +2558,8 @@ def expand_repo_def(**kwargs):
type=source_entry.type,
uri=source_entry.uri,
dist=source_entry.dist,
- orig_comps=kwa... | Pull comps and architecture from the first generated source_entry object instead of kwargs. | py |
diff --git a/zipline/data/loader.py b/zipline/data/loader.py
index <HASH>..<HASH> 100644
--- a/zipline/data/loader.py
+++ b/zipline/data/loader.py
@@ -295,14 +295,15 @@ def ensure_treasury_data(symbol, first_date, last_date, now, environ=None):
def _load_cached_data(filename, first_date, last_date, now, resource_name,... | MAINT: Use squeeze instead of slicing. | py |
diff --git a/tests/test_bitbucket.py b/tests/test_bitbucket.py
index <HASH>..<HASH> 100644
--- a/tests/test_bitbucket.py
+++ b/tests/test_bitbucket.py
@@ -124,7 +124,6 @@ class TestBitbucketIssue(AbstractServiceTest, ServiceTest):
}
self.assertIsNone(self.service.get_owner(('foo', issue)))
- @uni... | bitbucket: Enable test_fetch_issues_pagination The underlying bug in the responses library has long since been fixed. | py |
diff --git a/api/symboltable.py b/api/symboltable.py
index <HASH>..<HASH> 100644
--- a/api/symboltable.py
+++ b/api/symboltable.py
@@ -413,6 +413,8 @@ class SymbolTable(object):
'''
result = self.get_entry(id_, scope)
if result is None:
+ if default_type is None:
+ d... | Default var type for undeclared ones converted to TYPEREF. | py |
diff --git a/scss/__init__.py b/scss/__init__.py
index <HASH>..<HASH> 100644
--- a/scss/__init__.py
+++ b/scss/__init__.py
@@ -857,7 +857,7 @@ class Scss(object):
name = dequote(name.strip())
source_file = None
- full_filename, seen_paths = self._find_import(rule, name)
+ ... | Allow imported files to import "itself" Only this import will import the next available file with the same name, instead of importing itself. | py |
diff --git a/src/discoursegraphs/readwrite/tiger.py b/src/discoursegraphs/readwrite/tiger.py
index <HASH>..<HASH> 100755
--- a/src/discoursegraphs/readwrite/tiger.py
+++ b/src/discoursegraphs/readwrite/tiger.py
@@ -154,6 +154,7 @@ class TigerSentenceGraph(DiscourseDocumentGraph):
graph_element = sentence.fin... | fixed TigerSentenceGraph: use virtual root nodes to avoid self-loops | py |
diff --git a/validator/testcases/javascript/traverser.py b/validator/testcases/javascript/traverser.py
index <HASH>..<HASH> 100644
--- a/validator/testcases/javascript/traverser.py
+++ b/validator/testcases/javascript/traverser.py
@@ -4,7 +4,7 @@ import types
from validator.testcases.javascript.nodedefinitions import ... | Merged bug fixes from master; enabled debugging | py |
diff --git a/salt/runners/jobs.py b/salt/runners/jobs.py
index <HASH>..<HASH> 100644
--- a/salt/runners/jobs.py
+++ b/salt/runners/jobs.py
@@ -17,7 +17,7 @@ import salt.payload
import salt.utils
import salt.minion
-from six import string_types
+from salt.utils.six import string_types
import logging
log = loggin... | Replaced module six in file /salt/runners/jobs.py | py |
diff --git a/examples/plots/Hodograph_Inset.py b/examples/plots/Hodograph_Inset.py
index <HASH>..<HASH> 100644
--- a/examples/plots/Hodograph_Inset.py
+++ b/examples/plots/Hodograph_Inset.py
@@ -38,6 +38,7 @@ df = df.dropna(subset=('temperature', 'dewpoint', 'direction', 'speed',
# We will pull the data out of the exa... | Update hodograph_inset example for plot the colormap by height. | py |
diff --git a/pyani/scripts/parsers/report_parser.py b/pyani/scripts/parsers/report_parser.py
index <HASH>..<HASH> 100644
--- a/pyani/scripts/parsers/report_parser.py
+++ b/pyani/scripts/parsers/report_parser.py
@@ -95,29 +95,30 @@ def build(
action="store_true",
dest="show_runs_genomes",
defa... | Set metavar for --run_results & --run_matrices Now matches pyani plot --run_id behaviour. Also document that these can be comma separated lists. And fix some redundant string addition. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -6,7 +6,8 @@ install_requires = [
'numpy',
'matplotlib',
'pandas',
- 'folium'
+ 'folium',
+ 'IPython'
]
tests_requires = [ | added IPython req | py |
diff --git a/bigquery/setup.py b/bigquery/setup.py
index <HASH>..<HASH> 100644
--- a/bigquery/setup.py
+++ b/bigquery/setup.py
@@ -51,12 +51,12 @@ SETUP_BASE = {
REQUIREMENTS = [
- 'google-cloud-core >= 0.24.0, < 0.25dev',
+ 'google-cloud-core >= 0.25.0, < 0.26dev',
]
setup(
name='google-cloud-bigqu... | Prep bigquery-<I> release. (#<I>) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -12,7 +12,7 @@ except ImportError:
long_description = 'Tool for parsing Variant Call Format (VCF) files. Works like a lightweight version of PyVCF.'
setup(name='vcf_parser',
- version='1.5.6',
+ version='1.5.7',
... | Bumps version to <I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -19,7 +19,7 @@ CLASSIFIERS = [
"Topic :: Games/Entertainment :: Simulation",
]
-tests_require = ["pytest"]
+tests_require = ["pytest", "pytest-benchmark"]
setup(
name="fireplace", | Depend on pytest-benchmark for tests. | py |
diff --git a/aiovk/__init__.py b/aiovk/__init__.py
index <HASH>..<HASH> 100644
--- a/aiovk/__init__.py
+++ b/aiovk/__init__.py
@@ -2,3 +2,4 @@ __version__ = '1.3.0'
from aiovk.sessions import ImplicitSession, TokenSession, AuthorizationCodeSession
from aiovk.api import API
+from aiovk.longpoll import LongPoll | Update __init__.py No way to access `LongPoll` class at the current state — looks like it needs to be added to `__init__.py`. | py |
diff --git a/socialregistration/utils.py b/socialregistration/utils.py
index <HASH>..<HASH> 100644
--- a/socialregistration/utils.py
+++ b/socialregistration/utils.py
@@ -11,7 +11,14 @@ import time
import base64
import urllib
import urllib2
-from urlparse import parse_qsl
+
+# parse_qsl was moved from the cgi namesp... | Enable non-Python<I> compatibility. | py |
diff --git a/aiohttp_cors/__init__.py b/aiohttp_cors/__init__.py
index <HASH>..<HASH> 100644
--- a/aiohttp_cors/__init__.py
+++ b/aiohttp_cors/__init__.py
@@ -146,7 +146,7 @@ class CorsConfig:
self._route_config = {}
self._preflight_route_settings = {}
- self._app.on_response_prepare.append(s... | make on_response_prepare handler private | py |
diff --git a/isotopic_logging/proxy.py b/isotopic_logging/proxy.py
index <HASH>..<HASH> 100644
--- a/isotopic_logging/proxy.py
+++ b/isotopic_logging/proxy.py
@@ -7,18 +7,14 @@ from functools import wraps
from ._compat import PY3, string_types
-if PY3:
- _wrapped_method_names = {
- name.lower()
- ... | define wrapped method names for logger proxy in onle line (#4) | py |
diff --git a/nago/__init__.py b/nago/__init__.py
index <HASH>..<HASH> 100644
--- a/nago/__init__.py
+++ b/nago/__init__.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-__version__ = 0.3
+__version__ = 0.4
def get_version(): | Bumped version number to <I> | py |
diff --git a/alot/widgets.py b/alot/widgets.py
index <HASH>..<HASH> 100644
--- a/alot/widgets.py
+++ b/alot/widgets.py
@@ -610,10 +610,9 @@ class MessageSummaryWidget(urwid.WidgetWrap):
def __str__(self):
author, address = self.message.get_author()
date = self.message.get_datestring()
- if... | show address in message summary if author is unset closes #<I> | py |
diff --git a/pyxel/image.py b/pyxel/image.py
index <HASH>..<HASH> 100644
--- a/pyxel/image.py
+++ b/pyxel/image.py
@@ -27,7 +27,15 @@ class Image:
self._tex.update()
return self._data
+ def get(self, x, y):
+ return self._data[y, x]
+
def set(self, x, y, data):
+ if type(data) ... | Added the get method and modified the set method | py |
diff --git a/salt/output/json_out.py b/salt/output/json_out.py
index <HASH>..<HASH> 100644
--- a/salt/output/json_out.py
+++ b/salt/output/json_out.py
@@ -55,7 +55,11 @@ def output(data, **kwargs): # pylint: disable=unused-argument
'''
Print the output data in JSON
'''
- data.update(_get_log_stream_a... | fixed issue with salt-ssh communication | py |
diff --git a/tests/tests.py b/tests/tests.py
index <HASH>..<HASH> 100644
--- a/tests/tests.py
+++ b/tests/tests.py
@@ -8,6 +8,7 @@ except ImportError: # py < 3.3
from mock import patch
from django import forms
+from django.apps.registry import Apps
from django.core.checks import Error
from django.core.except... | Avoided polluting the global apps registry with test models. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -28,7 +28,8 @@ requirements = [
'binaryornot>=0.2.0',
'jinja2>=2.7',
'click>=5.0',
- 'whichcraft>=0.1.1'
+ 'whichcraft>=0.1.1',
+ 'poyo>=0.1.0'
]
long_description = readme + '\n\n' + history
@@ -59,... | Update setup.py to install poyo instead of ruamel.yaml and PyYAML | py |
diff --git a/angr/procedures/libc/snprintf.py b/angr/procedures/libc/snprintf.py
index <HASH>..<HASH> 100644
--- a/angr/procedures/libc/snprintf.py
+++ b/angr/procedures/libc/snprintf.py
@@ -30,7 +30,7 @@ class snprintf(FormatParser):
class __snprintf_chk(FormatParser):
- def run(self, dst_ptr, maxlen, size, fm... | Fix snrintf_chk (#<I>) | py |
diff --git a/osmnx/graph.py b/osmnx/graph.py
index <HASH>..<HASH> 100644
--- a/osmnx/graph.py
+++ b/osmnx/graph.py
@@ -75,6 +75,13 @@ def graph_from_bbox(
-----
You can configure the Overpass server timeout, memory allocation, and
other custom settings via ox.config().
+
+
+ When downloading large are... | Added note to warn against #<I> | py |
diff --git a/separated/__init__.py b/separated/__init__.py
index <HASH>..<HASH> 100644
--- a/separated/__init__.py
+++ b/separated/__init__.py
@@ -4,7 +4,7 @@
# (major, minor, bugfix, phase): (1, 1, 5, 'alpha') -> 1.0.5alpha
# (major, minor, bugfix, phase, phaseversion): (1, 1, 0, 'rc', 5) -> 1.1.0rc5
-VERSION = (0... | Bumped version up to <I>alpha | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -28,7 +28,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_version.h... | Better tests, fix gujarAti | py |
diff --git a/anytemplate/engines/tests/base.py b/anytemplate/engines/tests/base.py
index <HASH>..<HASH> 100644
--- a/anytemplate/engines/tests/base.py
+++ b/anytemplate/engines/tests/base.py
@@ -9,12 +9,12 @@ import anytemplate.engines.base as TT # stands for test target
class Test(unittest.TestCase):
- def te... | refactor: shorten names of test methods in .engines.tests.base | py |
diff --git a/httpwatcher/__init__.py b/httpwatcher/__init__.py
index <HASH>..<HASH> 100644
--- a/httpwatcher/__init__.py
+++ b/httpwatcher/__init__.py
@@ -5,4 +5,4 @@ from httpwatcher.server import *
from httpwatcher.filesystem import *
from httpwatcher.errors import *
-__version__ = "0.3.0"
+__version__ = "0.4.0" | bumping version to <I> | py |
diff --git a/pyblish_qml/util.py b/pyblish_qml/util.py
index <HASH>..<HASH> 100644
--- a/pyblish_qml/util.py
+++ b/pyblish_qml/util.py
@@ -146,7 +146,18 @@ def defer(target, args=None, kwargs=None, callback=None):
class _defer(QtCore.QThread):
- done = QtCore.Signal(QtCore.QVariant, arguments=["result"])
+ d... | Fix var type changed in PySide signal | py |
diff --git a/pelix/misc/xmpp.py b/pelix/misc/xmpp.py
index <HASH>..<HASH> 100644
--- a/pelix/misc/xmpp.py
+++ b/pelix/misc/xmpp.py
@@ -139,15 +139,15 @@ class InviteMixIn(object):
self.register_plugin('xep_0045')
# Activate the plug-in
- self.start()
+ self.invite_start()
- def st... | Corrected the InviteMixIn Also, prefixed the start and stop methods with invite_, to avoid collisions. | py |
diff --git a/pycanlib/CAN.py b/pycanlib/CAN.py
index <HASH>..<HASH> 100644
--- a/pycanlib/CAN.py
+++ b/pycanlib/CAN.py
@@ -1009,13 +1009,15 @@ class MachineInfo(XMLObject):
self.machine_name = machine_name
self.python_version = python_version
self.os_type = os_type
+ self.canlib_ver... | CAN.MachineInfo now reports the installed CANLIB and pycanlib versions in its XML representation | py |
diff --git a/rash/database.py b/rash/database.py
index <HASH>..<HASH> 100644
--- a/rash/database.py
+++ b/rash/database.py
@@ -468,10 +468,12 @@ class DataBase(object):
sc = SQLConstructor(source, columns, keys, limit=limit)
if sort_by_cwd_distance:
- sc.add_column('PATHDIST(DL.directory,... | Choose minimum cwd_distance within group when unique=True | py |
diff --git a/click_repl/__init__.py b/click_repl/__init__.py
index <HASH>..<HASH> 100644
--- a/click_repl/__init__.py
+++ b/click_repl/__init__.py
@@ -66,7 +66,11 @@ def register_repl(group, name='repl'):
get_command = sys.stdin.readline
while True:
- command = get_command()
+ ... | Ctrl-C shouldn't kill console | py |
diff --git a/spyderlib/plugins/editor.py b/spyderlib/plugins/editor.py
index <HASH>..<HASH> 100644
--- a/spyderlib/plugins/editor.py
+++ b/spyderlib/plugins/editor.py
@@ -137,7 +137,7 @@ class EditorTabWidget(Tabs):
def has_filename(self, filename):
for index, finfo in enumerate(self.data):
-... | Editor/bugfix/Linux-only: if path was containing symbolic links, the editor plugin could open the same file at least two times (which is not supported) | py |
diff --git a/src/meerkat/logs/models.py b/src/meerkat/logs/models.py
index <HASH>..<HASH> 100644
--- a/src/meerkat/logs/models.py
+++ b/src/meerkat/logs/models.py
@@ -380,7 +380,7 @@ class RequestLog(models.Model):
force_verb=False,
force_protocol=False,
... | Use strict_url False (maybe not pertinent) | py |
diff --git a/astrocats/catalog/catdict.py b/astrocats/catalog/catdict.py
index <HASH>..<HASH> 100644
--- a/astrocats/catalog/catdict.py
+++ b/astrocats/catalog/catdict.py
@@ -49,7 +49,10 @@ class CatDict(OrderedDict):
# ----------------------
# Remove key-value pair from `kwargs` dicti... | ENH: add additional sanitization when adding values. Strip any leading/trailing whitespace of strings, and dont store key-values when they are empty (after cleaning). | py |
diff --git a/abilian/services/security/service.py b/abilian/services/security/service.py
index <HASH>..<HASH> 100644
--- a/abilian/services/security/service.py
+++ b/abilian/services/security/service.py
@@ -581,7 +581,7 @@ class SecurityService(Service):
principal_filter = (RA.anonymous == True) | \
... | fix filtering on roleassignment.group | py |
diff --git a/superset/security.py b/superset/security.py
index <HASH>..<HASH> 100644
--- a/superset/security.py
+++ b/superset/security.py
@@ -94,7 +94,6 @@ def get_or_create_main_db():
)
if not dbobj:
dbobj = models.Database(database_name="main")
- logging.info(conf.get("SQLALCHEMY_DATABASE_URI")... | Fixing out-of-sync security (#<I>) | py |
diff --git a/astromodels/functions/functions.py b/astromodels/functions/functions.py
index <HASH>..<HASH> 100644
--- a/astromodels/functions/functions.py
+++ b/astromodels/functions/functions.py
@@ -369,7 +369,7 @@ class Inverse_cutoff_powerlaw(Function1D):
def _set_units(self, x_unit, y_unit):
# The in... | fixed bug in inverse CO power law where units was called incorrectly | py |
diff --git a/imgaug/random.py b/imgaug/random.py
index <HASH>..<HASH> 100644
--- a/imgaug/random.py
+++ b/imgaug/random.py
@@ -8,10 +8,14 @@ import six.moves as sm
# Check if numpy is version 1.17 or later. In that version, the new random
# number interface was added.
+# Note that a valid version number can also be... | Fix sometimes failing NP <I> check | py |
diff --git a/specter/spec.py b/specter/spec.py
index <HASH>..<HASH> 100644
--- a/specter/spec.py
+++ b/specter/spec.py
@@ -1,3 +1,4 @@
+import sys
from random import shuffle
from time import time
from types import FunctionType
@@ -75,7 +76,12 @@ class Describe(EventDispatcher):
@property
def __members__(... | Adding back-compatibility for dict comprehension | py |
diff --git a/isovar/isovar_result.py b/isovar/isovar_result.py
index <HASH>..<HASH> 100644
--- a/isovar/isovar_result.py
+++ b/isovar/isovar_result.py
@@ -196,7 +196,7 @@ class IsovarResult(object):
########################################################################
for filter_name, filter_value ... | added 'pass' back to DF | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -108,7 +108,7 @@ todo_include_todos = False
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
-html_theme = 'alabaster'
+#html_theme = 'alabaster'
# ... | Supressed alabaster theme so we can use the readthedocs one. | py |
diff --git a/psdconvert/_version.py b/psdconvert/_version.py
index <HASH>..<HASH> 100644
--- a/psdconvert/_version.py
+++ b/psdconvert/_version.py
@@ -1 +1 @@
-__version__ = '0.1.6'
+__version__ = '0.1.7' | Updated to version <I> | py |
diff --git a/gridtk/sge.py b/gridtk/sge.py
index <HASH>..<HASH> 100644
--- a/gridtk/sge.py
+++ b/gridtk/sge.py
@@ -11,7 +11,7 @@ from __future__ import print_function
from .manager import JobManager
from .setshell import environ
from .models import add_job, Job
-from .tools import logger, qsub, qstat, qdel, make_she... | make sure log_dir is directory is a directory | py |
diff --git a/fabulous/xterm256.py b/fabulous/xterm256.py
index <HASH>..<HASH> 100644
--- a/fabulous/xterm256.py
+++ b/fabulous/xterm256.py
@@ -85,8 +85,9 @@ def compile_speedup():
"""
import os
import ctypes
- from os.path import join, dirname, getmtime, exists
- library = join(dirname(__file__), '... | compile shared object to home dir so its more likely to work | py |
diff --git a/neovim/tabpage.py b/neovim/tabpage.py
index <HASH>..<HASH> 100644
--- a/neovim/tabpage.py
+++ b/neovim/tabpage.py
@@ -1,11 +1,11 @@
-from util import RemoteMap
+from util import RemoteMap, RemoteSequence
class Tabpage(object):
@property
def windows(self):
if not hasattr(self, '_window... | Fix 'windows' property of Tabpage objects | py |
diff --git a/farnsworth/settings.py b/farnsworth/settings.py
index <HASH>..<HASH> 100755
--- a/farnsworth/settings.py
+++ b/farnsworth/settings.py
@@ -176,7 +176,7 @@ MEDIA_ROOT = os.path.join(os.path.dirname(os.path.dirname(__file__)), 'media/').
# URL that handles the media served from MEDIA_ROOT. Make sure to use a... | Make static and media urls fall below the base url | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -20,8 +20,7 @@ setup(name='remind',
],
setup_requires=['nose>=1.3', 'coverage'],
- install_requires=['python-dateutil<2.4', # vobject is not compatible with dateutil 2.4
- 'vobje... | Relax dependency on python-dateutil Bug seems to be fixed in <I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -24,7 +24,7 @@ setup(
zip_safe=False,
install_requires=[],
tests_require=[
- 'django>=1',
+ 'django>=1.5',
'mock>=0.8.0',
'nose>=1.1.2'
], | Update setup.py to reflect Django version support | py |
diff --git a/src/polyglot/data.py b/src/polyglot/data.py
index <HASH>..<HASH> 100644
--- a/src/polyglot/data.py
+++ b/src/polyglot/data.py
@@ -438,12 +438,11 @@ class Dataset(object):
def coordinates(self):
# A coordinate variable is a 1-dimensional variable with the
# same name as its dimension
... | Switch dataset.coordinates values to variables This makes it consistent with dataset.noncoordinates. If you want the old behavior (values as dimension lengths), then you can just use dataset.dimensions instead. | py |
diff --git a/pyfactor/utils.py b/pyfactor/utils.py
index <HASH>..<HASH> 100644
--- a/pyfactor/utils.py
+++ b/pyfactor/utils.py
@@ -23,7 +23,7 @@ def compute_forward_returns(prices, days=(1, 5, 10)):
[prices.index, prices.columns], names=['date', 'equity']))
for day in days:
delta = prices.pct_cha... | normalize forward returns to be mean daily return for window | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.