diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/xdis/version.py b/xdis/version.py
index <HASH>..<HASH> 100644
--- a/xdis/version.py
+++ b/xdis/version.py
@@ -1,3 +1,3 @@
# This file is suitable for sourcing inside bash as
# well as importing into Python
-VERSION='2.2.3'
+VERSION='2.3.0' | Get ready for release <I> | py |
diff --git a/aikif/bias.py b/aikif/bias.py
index <HASH>..<HASH> 100644
--- a/aikif/bias.py
+++ b/aikif/bias.py
@@ -109,4 +109,37 @@ class Bias(object):
def get_bias_rating(self):
return self.bias_rating
-
+class Contraversy(object):
+ """
+ class to handle and report on controversial topics so... | Contraversy class to indicate noise and disputes on facts | py |
diff --git a/sftpman/model.py b/sftpman/model.py
index <HASH>..<HASH> 100644
--- a/sftpman/model.py
+++ b/sftpman/model.py
@@ -88,12 +88,16 @@ class SystemModel(object):
AUTH_METHOD_PUBLIC_KEY = 'publickey'
AUTH_METHOD_PASSWORD = 'password'
+ # libfuse (>=3.0.0) dropped support for big_writes
+ UNSUPP... | Ignore big_writes mount option (for libfuse>=<I> compat) | py |
diff --git a/pycoin/tx/Tx.py b/pycoin/tx/Tx.py
index <HASH>..<HASH> 100644
--- a/pycoin/tx/Tx.py
+++ b/pycoin/tx/Tx.py
@@ -95,18 +95,23 @@ class Tx(object):
txs_in = []
txs_out = []
version, = parse_struct("L", f)
- v = ord(f.read(1))
- is_segwit = allow_segwit and (v == 0)
+ ... | Deal with more obscure cases that conflict with segwit. | py |
diff --git a/RAPIDpy/inflow/CreateInflowFileFromLDASRunoff.py b/RAPIDpy/inflow/CreateInflowFileFromLDASRunoff.py
index <HASH>..<HASH> 100644
--- a/RAPIDpy/inflow/CreateInflowFileFromLDASRunoff.py
+++ b/RAPIDpy/inflow/CreateInflowFileFromLDASRunoff.py
@@ -155,9 +155,12 @@ class CreateInflowFileFromLDASRunoff(CreateInflo... | Added try catch for filling no data | py |
diff --git a/backtrader/mathsupport.py b/backtrader/mathsupport.py
index <HASH>..<HASH> 100644
--- a/backtrader/mathsupport.py
+++ b/backtrader/mathsupport.py
@@ -28,12 +28,34 @@ from .utils.py3 import map
def average(x):
+ '''
+ Args:
+ x: iterable with len
+
+ Returns:
+ A float with the avera... | Add documentation to the small mathsupport functions | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -19,12 +19,12 @@ from setuptools import setup
setup(
name = "pyquil",
- version = "0.1.0",
+ version = "1.0.0",
author = "Rigetti Computing",
author_email = "softapps@rigetti.com",
description = "A... | tick setup.py version to <I> | py |
diff --git a/benchexec/outputhandler.py b/benchexec/outputhandler.py
index <HASH>..<HASH> 100644
--- a/benchexec/outputhandler.py
+++ b/benchexec/outputhandler.py
@@ -284,7 +284,7 @@ class OutputHandler(object):
"""
xml_file_name = self.get_filename(runSet.name, "xml")
- identifier_names = [u... | For stdout output, don't use relative paths. | py |
diff --git a/loompy/layer_manager.py b/loompy/layer_manager.py
index <HASH>..<HASH> 100644
--- a/loompy/layer_manager.py
+++ b/loompy/layer_manager.py
@@ -147,7 +147,7 @@ class LayerManager:
# Fill the matrix with sparse data
if sparse.issparse(val):
m = val.tocsc()
- window = 6400
+ window = ma... | determine window size dynamically, fixes #<I> The window size is chosen such that blocks of at most 1 Gb are unpacked from the sparse matrix. | py |
diff --git a/tests/test_dynamic_routers.py b/tests/test_dynamic_routers.py
index <HASH>..<HASH> 100644
--- a/tests/test_dynamic_routers.py
+++ b/tests/test_dynamic_routers.py
@@ -14,6 +14,8 @@ QS = namedtuple('Queryset', ['model'])
class BasicModel(models.Model):
name=models.CharField(max_length=255)
+ class... | Django >= <I> needs it. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@ use_setuptools()
from setuptools import setup, find_packages
setup(name = 'Adafruit_MAX31855',
- version = '1.5.1',
+ version = '1.6.0',
author = 'T... | Bump to <I> with latest pull request for linearized temperature function. | py |
diff --git a/src/mork/__init__.py b/src/mork/__init__.py
index <HASH>..<HASH> 100644
--- a/src/mork/__init__.py
+++ b/src/mork/__init__.py
@@ -3,6 +3,6 @@
from __future__ import absolute_import, unicode_literals
from .virtualenv import VirtualEnv
-__version__ = '0.1.1'
+__version__ = '0.1.2.dev0'
__all__ = ["Vir... | Prebump to <I>.dev0 | py |
diff --git a/tpot/gp_deap.py b/tpot/gp_deap.py
index <HASH>..<HASH> 100644
--- a/tpot/gp_deap.py
+++ b/tpot/gp_deap.py
@@ -59,6 +59,7 @@ def pick_two_individuals_eligible_for_crossover(population):
if not ind1_prims.isdisjoint(ind2_prims) and
pop_as... | Added comment to clarify why the mirrored pairs were added | py |
diff --git a/tools/pre_execute.py b/tools/pre_execute.py
index <HASH>..<HASH> 100755
--- a/tools/pre_execute.py
+++ b/tools/pre_execute.py
@@ -1,4 +1,23 @@
#!/usr/bin/env python
+
+# -*- coding: utf-8 -*-
+# vim: tabstop=4 shiftwidth=4 softtabstop=4
+
+# Copyright (c) 2014, GEM Foundation
+
+# OpenQuake is free so... | Added a docstring to the pre_execute tool Former-commit-id: <I>e8bb<I>f5f<I>b<I>bf<I>c8e9f0f<I>b6dc | py |
diff --git a/galpy/potential_src/CosmphiDiskPotential.py b/galpy/potential_src/CosmphiDiskPotential.py
index <HASH>..<HASH> 100644
--- a/galpy/potential_src/CosmphiDiskPotential.py
+++ b/galpy/potential_src/CosmphiDiskPotential.py
@@ -253,7 +253,7 @@ class LopsidedDiskPotential(CosmphiDiskPotential):
See do... | more interesting default p for Lopsided disk for tests | py |
diff --git a/bio/alignment.py b/bio/alignment.py
index <HASH>..<HASH> 100644
--- a/bio/alignment.py
+++ b/bio/alignment.py
@@ -714,7 +714,7 @@ class PipelinePDBChainMapper(BasePDBChainMapper):
pdb_list = self.pdb_names
assert(len(set(pdb_list)) == len(pdb_list) and (len(pdb_list) > 1))
- ... | Order may matter when comparing sets. | py |
diff --git a/grove/alpha/phaseestimation/phase_estimation.py b/grove/alpha/phaseestimation/phase_estimation.py
index <HASH>..<HASH> 100644
--- a/grove/alpha/phaseestimation/phase_estimation.py
+++ b/grove/alpha/phaseestimation/phase_estimation.py
@@ -18,7 +18,7 @@ import pyquil.quil as pq
from pyquil.gates import H
i... | set sign convention to align with qtf | py |
diff --git a/riak/transports/pbc/codec.py b/riak/transports/pbc/codec.py
index <HASH>..<HASH> 100644
--- a/riak/transports/pbc/codec.py
+++ b/riak/transports/pbc/codec.py
@@ -295,7 +295,7 @@ class RiakPbcCodec(object):
else:
setattr(msg.props, prop, value)
if 'repl... | Fix for riak per bucket replication settings encoding in protocol buffers. Codec tried to convert to python notation instead of protobuffers | py |
diff --git a/convert-markdown-to-rst.py b/convert-markdown-to-rst.py
index <HASH>..<HASH> 100755
--- a/convert-markdown-to-rst.py
+++ b/convert-markdown-to-rst.py
@@ -6,7 +6,6 @@ import re
out = subprocess.check_output(['git', 'diff', '--cached', '--name-only'])
if 'README.md' in out:
- print('calling pandoc')
... | Print when pre-commit hooks ran succesfully | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -19,8 +19,10 @@ scripts = [
'bin/dna-to-aa.py',
'bin/e-value-to-bit-score.py',
'bin/extract-ORFs.py',
+ 'bin/fasta-lengths.py',
'bin/fasta-subset.py',
'bin/fasta-subtraction.py',
+ 'bin/fasta-to-... | Added bin scripts to setup. | py |
diff --git a/blockstack_client/backend/queue.py b/blockstack_client/backend/queue.py
index <HASH>..<HASH> 100644
--- a/blockstack_client/backend/queue.py
+++ b/blockstack_client/backend/queue.py
@@ -379,7 +379,7 @@ def is_revoke_expired( entry, config_path=CONFIG_PATH ):
"""
Is a revoke expired?
"""
- ... | fix segfault from infinite recursive loop | py |
diff --git a/tests/test_config_parser.py b/tests/test_config_parser.py
index <HASH>..<HASH> 100644
--- a/tests/test_config_parser.py
+++ b/tests/test_config_parser.py
@@ -932,6 +932,15 @@ class TestConfigParser(object):
)
assert config.get("x") == {'a': 1, 'b': 2, 'c': 3, 'z': 0, 'y': -1, 'd': 4}
+ ... | add tests for self-ref in child; tests for #<I> | py |
diff --git a/salt/states/git.py b/salt/states/git.py
index <HASH>..<HASH> 100644
--- a/salt/states/git.py
+++ b/salt/states/git.py
@@ -231,7 +231,7 @@ def latest(name,
user=user)
# check if we are on a branch to merge changes
- cmd = "git s... | git state: more cross-platform paths use os.path.join instead of string building | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,10 +1,12 @@
+from __future__ import print_function
+
import sys
import os.path
from setuptools import setup, find_packages
single_version = '--single-version-externally-managed'
if single_version in sys.argv:
- pr... | Made setup.py at least have a python3 compatible syntax | py |
diff --git a/geomdl/utilities.py b/geomdl/utilities.py
index <HASH>..<HASH> 100644
--- a/geomdl/utilities.py
+++ b/geomdl/utilities.py
@@ -489,7 +489,11 @@ def lu_decomposition(matrix_in, q=0):
matrix_l[i][i] = 1.0
else:
matrix_l[k][i] = float(matrix_a[k][i] - sum([matrix_... | Handle zero-division errors in LU-decomposition | py |
diff --git a/pysat/_meta.py b/pysat/_meta.py
index <HASH>..<HASH> 100644
--- a/pysat/_meta.py
+++ b/pysat/_meta.py
@@ -989,7 +989,8 @@ class Meta(object):
Returns
-------
has_name : bool
- True if the case-insensitive check for attribute name is successful, False if no attribute na... | MAINT: fixed line length Fixed a line that was too long. | py |
diff --git a/openquake/engine/export/hazard.py b/openquake/engine/export/hazard.py
index <HASH>..<HASH> 100644
--- a/openquake/engine/export/hazard.py
+++ b/openquake/engine/export/hazard.py
@@ -161,8 +161,8 @@ def _get_result_export_dest(calc_id, target, result, file_ext='xml'):
)
elif output_type ==... | Fixed the name of the SES file | py |
diff --git a/application/briefkasten/dropbox.py b/application/briefkasten/dropbox.py
index <HASH>..<HASH> 100644
--- a/application/briefkasten/dropbox.py
+++ b/application/briefkasten/dropbox.py
@@ -212,7 +212,7 @@ class Dropbox(object):
file_out.getvalue(),
backup_recipients,
... | Implement sanitize and wipe | py |
diff --git a/salt/state.py b/salt/state.py
index <HASH>..<HASH> 100644
--- a/salt/state.py
+++ b/salt/state.py
@@ -2065,7 +2065,7 @@ class State(object):
while True:
if self.reconcile_procs(running):
break
- time.sleep(0.0001)
+ time.sleep(0.01)
ret ... | Revert job chunk wait time change Reverting the sleep time from <I> back to <I>, sleeping such a short amount of time eats up CPU resources needlessly. | py |
diff --git a/openquake/java.py b/openquake/java.py
index <HASH>..<HASH> 100644
--- a/openquake/java.py
+++ b/openquake/java.py
@@ -162,9 +162,11 @@ class JavaLoggingBridge(object):
logger.handle(record)
-def init_logs():
+def _init_logs():
"""
Initialize Java logging.
+
+ Is called by :func:`j... | made init_logs() from java.py private for module | py |
diff --git a/c7n/resources/route53.py b/c7n/resources/route53.py
index <HASH>..<HASH> 100644
--- a/c7n/resources/route53.py
+++ b/c7n/resources/route53.py
@@ -332,7 +332,7 @@ class SetQueryLogging(BaseAction):
if log_manager.get_resources(list(group_names), augment=False):
groups = [{'logG... | aws.route<I> - set query logging bug fix (#<I>) | py |
diff --git a/nolds/measures.py b/nolds/measures.py
index <HASH>..<HASH> 100644
--- a/nolds/measures.py
+++ b/nolds/measures.py
@@ -66,7 +66,7 @@ def poly_fit(x, y, degree):
RuntimeWarning)
coef = np.polyfit(x, y, degree)
else:
- coef = model.estimator_.coef_
+ coef = model.estimator_.coef... | reverses order of coefficients to be consistent with np.polyfit | py |
diff --git a/jax/linear_util.py b/jax/linear_util.py
index <HASH>..<HASH> 100644
--- a/jax/linear_util.py
+++ b/jax/linear_util.py
@@ -26,7 +26,7 @@ from jax import linear_util as lu
@lu.transformation
def scale_transformer(scale, x):
ans = yield (x / scale,)
- yield (x * scale,)
+ yield x * scale
def f(x):
... | Remove unnecessary output tupling. | py |
diff --git a/pythainlp/__init__.py b/pythainlp/__init__.py
index <HASH>..<HASH> 100644
--- a/pythainlp/__init__.py
+++ b/pythainlp/__init__.py
@@ -27,6 +27,6 @@ thai_characters = "".join([thai_letters, thai_punctuations, thai_digits, thai_sy
from pythainlp.soundex import soundex
from pythainlp.spell import spell
fro... | Add Tokenizer from pythainlp.tokenize.Tokenizer | py |
diff --git a/airflow/hooks/druid_hook.py b/airflow/hooks/druid_hook.py
index <HASH>..<HASH> 100644
--- a/airflow/hooks/druid_hook.py
+++ b/airflow/hooks/druid_hook.py
@@ -72,7 +72,7 @@ class DruidHook(BaseHook):
"queryGranularity": "NONE",
"intervals": intervals,
... | Druid conf tweaks | py |
diff --git a/packages/vaex-core/setup.py b/packages/vaex-core/setup.py
index <HASH>..<HASH> 100644
--- a/packages/vaex-core/setup.py
+++ b/packages/vaex-core/setup.py
@@ -49,6 +49,7 @@ setup(name=name+'-core',
setup_requires=['numpy'],
install_requires=install_requires_core,
license=license,
- package... | fix: core: include unittest and files for testing | py |
diff --git a/salt/grains/core.py b/salt/grains/core.py
index <HASH>..<HASH> 100644
--- a/salt/grains/core.py
+++ b/salt/grains/core.py
@@ -1047,6 +1047,7 @@ _OS_NAME_MAP = {
'manjaro': 'Manjaro',
'antergos': 'Antergos',
'sles': 'SUSE',
+ 'slesexpand': "RES",
'void': 'Void',
'linuxmint': 'Min... | Setting up OS grains for SLES Expanded Support (SUSE's Red Hat compatible platform) | py |
diff --git a/johnny/transaction.py b/johnny/transaction.py
index <HASH>..<HASH> 100755
--- a/johnny/transaction.py
+++ b/johnny/transaction.py
@@ -63,8 +63,8 @@ class TransactionManager(object):
return True
return False
- def is_managed(self):
- return django_transaction.is_managed()
+... | Modifying TransactionManager's is_managed check to take db (using) into account, implementing in TransactionManager.set to avoid transaction management confusion when multi-db is being used. | py |
diff --git a/tests/test.py b/tests/test.py
index <HASH>..<HASH> 100644
--- a/tests/test.py
+++ b/tests/test.py
@@ -28,11 +28,6 @@ class YouGetTests(unittest.TestCase):
"http://vimeo.com/56810854",
])
- def test_xiami(self):
- test_urls([
- "http://www.xiami.com/song/... | remove test_xiami because it fails CI build too often | py |
diff --git a/videointelligence/tests/unit/gapic/v1p1beta1/test_video_intelligence_service_client_v1p1beta1.py b/videointelligence/tests/unit/gapic/v1p1beta1/test_video_intelligence_service_client_v1p1beta1.py
index <HASH>..<HASH> 100644
--- a/videointelligence/tests/unit/gapic/v1p1beta1/test_video_intelligence_service_... | Fix v1p1beta1 unit tests (#<I>) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -25,7 +25,7 @@ def get_version():
REQUIRES = [
'appdirs>=1.4.3,<2.0',
- 'carto @ git+https://github.com/CartoDB/carto-python.git#egg=carto',
+ 'carto>=1.8.2,<2.0',
'jinja2>=2.10.1,<3.0',
'geopandas>=0.6... | carto-python version | py |
diff --git a/src/homophony/__init__.py b/src/homophony/__init__.py
index <HASH>..<HASH> 100644
--- a/src/homophony/__init__.py
+++ b/src/homophony/__init__.py
@@ -46,7 +46,7 @@ class LoudWSGIHandler(WSGIHandler):
return super(LoudWSGIHandler, self).__call__(environ, start_response)
finally:
... | Retain the original traceback when reraising an exception. | py |
diff --git a/tests.py b/tests.py
index <HASH>..<HASH> 100644
--- a/tests.py
+++ b/tests.py
@@ -706,6 +706,9 @@ class TestZestIntegration(unittest.TestCase):
class VCSHelper(object):
def _run(self, *command):
+ # Windows doesn't like Unicode arguments to subprocess.Popen():
+ # https://github.com/m... | Windows doesn't like Unicode arguments to subprocess.Popen() I'm actually surprised -- don't all the Win<I> APIs have Unicode versions? Eh, Python. Related to issue #<I>. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -102,12 +102,14 @@ setup(
wb-manager = pywb.manager.manager:main_wrap_exc
""",
classifiers=[
- 'Development Status :: 4 - Beta',
+ 'Development Status :: 5 - Production/Stable',
'E... | setup: further update trove classifiers, add python 2 and 3, switch to production stable, closes #<I> | py |
diff --git a/isambard_dev/ampal/non_canonical.py b/isambard_dev/ampal/non_canonical.py
index <HASH>..<HASH> 100644
--- a/isambard_dev/ampal/non_canonical.py
+++ b/isambard_dev/ampal/non_canonical.py
@@ -8,7 +8,8 @@ import numpy
from tools.geometry import dihedral, find_transformations
-REF_PATH = pathlib.Path('ref... | Fixes paths for reference files. | py |
diff --git a/qiskit/pulse/timeslots.py b/qiskit/pulse/timeslots.py
index <HASH>..<HASH> 100644
--- a/qiskit/pulse/timeslots.py
+++ b/qiskit/pulse/timeslots.py
@@ -98,6 +98,10 @@ class Interval:
return True
return False
+ def __repr__(self):
+ """Return a readable representation of Inte... | Add informative representation for Interval, Timeslot, and TimeslotCollection (#<I>) * Add more informative representation * Remove unnecessary variables; Reformat repr return calls | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@
from setuptools import setup
from release_utils import utils
-version = utils.find_version("pygccxml/__init__.py")
+version = utils.find_version("../pygccxml/__init__.py")
setup(name="pygccxml",
vers... | Fix path in setup.py for version detection | py |
diff --git a/pyblish_lite/window.py b/pyblish_lite/window.py
index <HASH>..<HASH> 100644
--- a/pyblish_lite/window.py
+++ b/pyblish_lite/window.py
@@ -1069,11 +1069,12 @@ class Window(QtWidgets.QDialog):
self.info(message)
def paintEvent(self, event):
+ scale = 1.0
if Qt.__qt_version__.s... | check if window is a native system window | py |
diff --git a/umap/admin.py b/umap/admin.py
index <HASH>..<HASH> 100644
--- a/umap/admin.py
+++ b/umap/admin.py
@@ -9,6 +9,7 @@ class TileLayerAdmin(admin.ModelAdmin):
class MapAdmin(admin.OSMGeoAdmin):
search_fields = ("name",)
+ autocomplete_fields = ("owner", "editors")
admin.site.register(Map, MapAdm... | Use autocompletefields for owner and editors in admin | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -11,7 +11,7 @@ SETUPTOOLS_VER = "30.5.0" # Minimum version that supports pyproject.toml
try:
require("setuptools>=" + SETUPTOOLS_VER)
except VersionConflict:
- sys.exit(f"Error: version of setuptools is too old (<{S... | fix: compatibility with python<I> | py |
diff --git a/pyxmpp/roster.py b/pyxmpp/roster.py
index <HASH>..<HASH> 100644
--- a/pyxmpp/roster.py
+++ b/pyxmpp/roster.py
@@ -234,6 +234,9 @@ class Roster(StanzaPayloadObject):
def __contains__(self, jid):
return jid in self.items_dict
+ def __getitem__(self, jid):
+ return self.items_dict[ji... | - mapping interface for Roster object (__getitem__ gets item by jid) | py |
diff --git a/openstack_dashboard/dashboards/project/dashboard.py b/openstack_dashboard/dashboards/project/dashboard.py
index <HASH>..<HASH> 100644
--- a/openstack_dashboard/dashboards/project/dashboard.py
+++ b/openstack_dashboard/dashboards/project/dashboard.py
@@ -51,7 +51,7 @@ class OrchestrationPanels(horizon.Panel... | Trove navigation panel should not be plural To be consistent with all other groups in the dashboard navigation panel e.g. compute, Orchestration etc rename Trove to be Database instead of Databases Change-Id: Ib<I>e<I>fad1f<I>a9eba<I>e5f<I>f1 Closes-Bug: #<I> | py |
diff --git a/socialregistration/forms.py b/socialregistration/forms.py
index <HASH>..<HASH> 100644
--- a/socialregistration/forms.py
+++ b/socialregistration/forms.py
@@ -23,6 +23,7 @@ class UserForm(forms.Form):
def save(self, request, user, profile, client):
user.username = self.cleaned_data.get('userna... | Update socialregistration/forms.py | py |
diff --git a/dataviews/sheetviews.py b/dataviews/sheetviews.py
index <HASH>..<HASH> 100644
--- a/dataviews/sheetviews.py
+++ b/dataviews/sheetviews.py
@@ -406,13 +406,11 @@ class SheetStack(Stack):
for key, data in data_stack.items():
xy_values = [(x, d[idx]) for x, d in data.items... | Removed x/y-lim calculation from sample method (now dynamically calculated) | py |
diff --git a/discord/client.py b/discord/client.py
index <HASH>..<HASH> 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -833,7 +833,7 @@ class Client:
Returns
--------
Optional[:class:`.StageInstance`]
- The returns stage instance of ``None`` if not found.
+ Th... | Fix typo in Client.get_stage_instance | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -42,7 +42,7 @@ setup(
author_email='colin.duquesnoy@gmail.com',
description='Python/Qt Code Editor widget',
long_description=readme(),
- install_requires=['pygments', 'pyqode.qt', 'future'],
+ install_requ... | Fix pygments version to be < <I> Why do they release a testing release on PyPi???!!! | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@ Build and install the project.
Uses versioneer to manage version numbers using git tags.
"""
-from pathlib import Path
+import os
from setuptools import setup, find_packages
import versioneer
@@ -45,9 +45,... | Don't use pathlib on setup.py (#<I>) It's not in the standard library on Python <I> so the pip install fails to even detect that pathlib should be installed. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -53,6 +53,7 @@ setuptools.setup(
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
+... | chore: advertise typing status in classifier (#<I>) | py |
diff --git a/scripts/experiments/run_dp.py b/scripts/experiments/run_dp.py
index <HASH>..<HASH> 100755
--- a/scripts/experiments/run_dp.py
+++ b/scripts/experiments/run_dp.py
@@ -158,7 +158,7 @@ class SrlExpParamsRunner(ExpParamsRunner):
g.mst_car_feats = SrlExpParams(feature_set="mst-car", useMstFeats=True, u... | Switching to MST and Carerras features. | py |
diff --git a/dataclasses.py b/dataclasses.py
index <HASH>..<HASH> 100644
--- a/dataclasses.py
+++ b/dataclasses.py
@@ -72,13 +72,8 @@ class Field:
# This function is used instead of exposing Field directly, so that a
# type checker can be told (via overloads) that this is a function
# whose type depends on its par... | Change the default for default_factory back to _MISSING. To do otherwise makes documenting the Field class difficult. The params to field() and the fields in Field need to be the same (with the note that Field has 2 extra members, name and type). | py |
diff --git a/esridump/dumper.py b/esridump/dumper.py
index <HASH>..<HASH> 100644
--- a/esridump/dumper.py
+++ b/esridump/dumper.py
@@ -281,10 +281,6 @@ class EsriDumper(object):
if metadata.get('supportsStatistics'):
# If the layer supports statistics, we can request maximum and minimum ob... | duplicate check for oid_field_name | py |
diff --git a/lib/svtplay_dl/service/dr.py b/lib/svtplay_dl/service/dr.py
index <HASH>..<HASH> 100644
--- a/lib/svtplay_dl/service/dr.py
+++ b/lib/svtplay_dl/service/dr.py
@@ -22,7 +22,22 @@ class Dr(Service):
# To find the VideoResource, they have Images as well
for resources in tempresource:
... | dr.dk: Support for more qualities | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,12 @@ import pagination_bootstrap
import os
import codecs
import uuid
-from pip.req import parse_requirements
+
+try: # for pip >= 10
+ from pip._internal.req import parse_requirements
+except ImportError: # for ... | setup ajusted to be Django <I> compatible | py |
diff --git a/pcef/core/panel.py b/pcef/core/panel.py
index <HASH>..<HASH> 100644
--- a/pcef/core/panel.py
+++ b/pcef/core/panel.py
@@ -99,3 +99,6 @@ class Panel(QtGui.QWidget, Mode):
# fill background
painter = QtGui.QPainter(self)
painter.fillRect(event.rect(), self.backgroundBru... | Refresh editor panels on showEvent | py |
diff --git a/cleverhans_tutorials/mnist_tutorial_picklable.py b/cleverhans_tutorials/mnist_tutorial_picklable.py
index <HASH>..<HASH> 100644
--- a/cleverhans_tutorials/mnist_tutorial_picklable.py
+++ b/cleverhans_tutorials/mnist_tutorial_picklable.py
@@ -7,10 +7,11 @@ from __future__ import division
from __future__ im... | fix import order for mnist_tutorial_picklable.py | py |
diff --git a/awssig/__init__.py b/awssig/__init__.py
index <HASH>..<HASH> 100644
--- a/awssig/__init__.py
+++ b/awssig/__init__.py
@@ -4,7 +4,7 @@ AWS signature verification.
"""
from __future__ import absolute_import
-from .sigv4 import AWSSigV4Verifier, InvalidSignatureError
+from .sigv4 import AWSSigV4Verifier, ... | Add AWSSigV4S3Verifier to exports. | py |
diff --git a/docs/source/conf.py b/docs/source/conf.py
index <HASH>..<HASH> 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -58,9 +58,9 @@ author = u'Lennart Regebro'
# built documents.
#
# The short X.Y version.
-version = u'2.0'
+#version = u'2.0'
# The full version, including alpha/beta/rc tags.
-r... | The HTML title used the wrong version The trick seems to be to not include the version, full stop. | py |
diff --git a/lib/svtplay_dl/__main__.py b/lib/svtplay_dl/__main__.py
index <HASH>..<HASH> 100644
--- a/lib/svtplay_dl/__main__.py
+++ b/lib/svtplay_dl/__main__.py
@@ -10,6 +10,6 @@ try:
import svtplay_dl
if __name__ == '__main__':
- svtplay_dl.main()
+ svtplay_dl.main()
except KeyboardInterrupt:
... | __main__: remove leftover tab from previous commit | py |
diff --git a/lib/svtplay_dl/service/viaplay.py b/lib/svtplay_dl/service/viaplay.py
index <HASH>..<HASH> 100644
--- a/lib/svtplay_dl/service/viaplay.py
+++ b/lib/svtplay_dl/service/viaplay.py
@@ -111,8 +111,9 @@ class Viaplay(Service, OpenGraphThumbMixin):
if streamj["streams"]["hls"]:
streams = ... | viaplay: don’t try to yield empty streams | py |
diff --git a/bcbio/variation/multi.py b/bcbio/variation/multi.py
index <HASH>..<HASH> 100644
--- a/bcbio/variation/multi.py
+++ b/bcbio/variation/multi.py
@@ -23,7 +23,7 @@ def group_batches(xs):
batch_groups = collections.defaultdict(list)
for data, region, out_fname in xs:
batch = data.get("metadat... | Default to gatk for the variant caller. | py |
diff --git a/nsq/reader.py b/nsq/reader.py
index <HASH>..<HASH> 100644
--- a/nsq/reader.py
+++ b/nsq/reader.py
@@ -442,9 +442,6 @@ class Reader(Client):
value = conn.max_rdy_count
new_rdy = max(self.total_rdy - conn.rdy + value, 0)
- if new_rdy > self.max_in_flight:
- return
-
... | reader: in send_rdy(), don't enforce the invariant total_rdy <= max_in_flight Naively enforcing that invariant prevents us from correctly updating each conn's rdy after reducing max_in_flight. Additionally, there's no need for this check in _send_rdy(), as all callers have logic that's supposed to determine an approp... | py |
diff --git a/django_gravatar/__init__.py b/django_gravatar/__init__.py
index <HASH>..<HASH> 100644
--- a/django_gravatar/__init__.py
+++ b/django_gravatar/__init__.py
@@ -1,2 +1,2 @@
-__version__ = '1.0.0'
\ No newline at end of file
+__version__ = '1.0.1'
\ No newline at end of file | change version in __init__.py file | py |
diff --git a/lilypond/interp.py b/lilypond/interp.py
index <HASH>..<HASH> 100644
--- a/lilypond/interp.py
+++ b/lilypond/interp.py
@@ -79,9 +79,10 @@ def parse_block(token_generator):
if command:
pass # @@@ NYI
elif open_brace:
- pass # @@@ NYI
+ for obj in parse_blo... | experimental recursive parsing | py |
diff --git a/tests/test_entities.py b/tests/test_entities.py
index <HASH>..<HASH> 100644
--- a/tests/test_entities.py
+++ b/tests/test_entities.py
@@ -2090,19 +2090,6 @@ class UpdatePayloadTestCase(TestCase):
self.assertNotIn('path_', payload['medium'])
self.assertIn('path', payload['medium'])
- ... | Renaming system_ids to system_uuids is obsolete - there are no such parameters mentioned in <I>'s apidoc | py |
diff --git a/test.py b/test.py
index <HASH>..<HASH> 100755
--- a/test.py
+++ b/test.py
@@ -1,6 +1,4 @@
#!/usr/bin/env python
-import matplotlib
-matplotlib.use('Agg') #so Travis doesn't try to plot
from numpy import array,nan,uint16,int64
from numpy.testing import assert_allclose
from datetime import datetime | don't use matplotlib in selftest | py |
diff --git a/spyder/plugins/statusbar/plugin.py b/spyder/plugins/statusbar/plugin.py
index <HASH>..<HASH> 100644
--- a/spyder/plugins/statusbar/plugin.py
+++ b/spyder/plugins/statusbar/plugin.py
@@ -41,7 +41,6 @@ class StatusBar(SpyderPluginV2):
CONF_SECTION = NAME
CONF_FILE = False
CONF_WIDGET_CLASS =... | Enable the statusbar to be disabled | py |
diff --git a/pulsar/async/links.py b/pulsar/async/links.py
index <HASH>..<HASH> 100644
--- a/pulsar/async/links.py
+++ b/pulsar/async/links.py
@@ -20,13 +20,22 @@ class ActorLinkCallback(LocalData):
self.args = args
self.kwargs = kwargs
- def __call__(self, **kwargs):
+ def __call_... | added result function to ActorLinkCallback | py |
diff --git a/P4J/base_periodogram.py b/P4J/base_periodogram.py
index <HASH>..<HASH> 100644
--- a/P4J/base_periodogram.py
+++ b/P4J/base_periodogram.py
@@ -6,7 +6,7 @@ class BasePeriodogram:
if fid is None:
best_idx = np.argmax(self.per)
else:
- best_idx = np.argmax(self.per[fid... | get_best_frequency and get_periodogram can return single band results | py |
diff --git a/examples/hacker_news/hacker_news/repo.py b/examples/hacker_news/hacker_news/repo.py
index <HASH>..<HASH> 100644
--- a/examples/hacker_news/hacker_news/repo.py
+++ b/examples/hacker_news/hacker_news/repo.py
@@ -1,9 +1,12 @@
from dagster import repository
-from hacker_news.pipelines.story_recommender import... | Add missing imports to hacker_news example repo.py Summary: Realized that these were added to the subdirectory but not to the repo Test Plan: bk Reviewers: yuhan Reviewed By: yuhan Differential Revision: <URL> | py |
diff --git a/homu/server.py b/homu/server.py
index <HASH>..<HASH> 100644
--- a/homu/server.py
+++ b/homu/server.py
@@ -14,6 +14,7 @@ from threading import Thread
import time
import sys
import os
+import traceback
import bottle; bottle.BaseRequest.MEMFILE_MAX = 1024 * 1024 * 10
@@ -626,6 +627,20 @@ def admin():
... | Add the `sync_all` command to the admin interface | py |
diff --git a/gns3server/compute/builtin/nodes/cloud.py b/gns3server/compute/builtin/nodes/cloud.py
index <HASH>..<HASH> 100644
--- a/gns3server/compute/builtin/nodes/cloud.py
+++ b/gns3server/compute/builtin/nodes/cloud.py
@@ -164,6 +164,8 @@ class Cloud(BaseNode):
yield from self._ubridge_send... | Prevent users to connect the cloud to Wireless adapters on OSX. Fixes #<I>. | py |
diff --git a/reana_commons/utils.py b/reana_commons/utils.py
index <HASH>..<HASH> 100644
--- a/reana_commons/utils.py
+++ b/reana_commons/utils.py
@@ -213,6 +213,9 @@ def get_disk_usage(directory, summarize=False, to_human_readable_units=None):
command.append("-s")
else:
command.append("-a")
+ ... | utils: fix get disk usage GNU `du` default block size is KB so we have to pass `-b`. closes reanahub/reana#<I> | py |
diff --git a/typet/__init__.py b/typet/__init__.py
index <HASH>..<HASH> 100644
--- a/typet/__init__.py
+++ b/typet/__init__.py
@@ -639,7 +639,8 @@ def _create_typed_object_meta(get_fset):
names, attrs, annotations, attr)]
typed_attrs['_tp__typed_properties'] = properties
... | Allow required types in objects using type hint comments. | py |
diff --git a/src/parsy/__init__.py b/src/parsy/__init__.py
index <HASH>..<HASH> 100644
--- a/src/parsy/__init__.py
+++ b/src/parsy/__init__.py
@@ -138,6 +138,14 @@ class Parser(object):
def desc(self, description):
return self | fail(description)
+ def mark(self):
+ @generate
+ def mark... | add mark and index to get index info | py |
diff --git a/pypika/__init__.py b/pypika/__init__.py
index <HASH>..<HASH> 100644
--- a/pypika/__init__.py
+++ b/pypika/__init__.py
@@ -38,4 +38,4 @@ from .utils import JoinException, GroupingException, CaseException, UnionExcepti
__author__ = "Timothy Heys"
__email__ = "theys@kayak.com"
-__version__ = "0.2.6"
+__ve... | bumped to <I> | py |
diff --git a/WazeRouteCalculator/WazeRouteCalculator.py b/WazeRouteCalculator/WazeRouteCalculator.py
index <HASH>..<HASH> 100644
--- a/WazeRouteCalculator/WazeRouteCalculator.py
+++ b/WazeRouteCalculator/WazeRouteCalculator.py
@@ -136,7 +136,12 @@ class WazeRouteCalculator(object):
}
if self.vehicle_t... | Added subscription url_option for vignette system in Europe Added subscription url_option for vignette system in Europe When avoid_toll_roads is set, we don't need anything, but if it isn't, we need to add a url_option which specifies we have all vignettes (or toll-pass stickers). The possibility to replace subscrip... | py |
diff --git a/scot/varbase.py b/scot/varbase.py
index <HASH>..<HASH> 100644
--- a/scot/varbase.py
+++ b/scot/varbase.py
@@ -231,7 +231,7 @@ class VARBase(object):
for k in range(1, p + 1):
bp = self.coef[:, (k - 1)::p]
for n in range(p, l):
- y[:, :, n] +... | Fixed bug that caused wrong VAR prediction for large numbers of trials | py |
diff --git a/fireplace/game.py b/fireplace/game.py
index <HASH>..<HASH> 100644
--- a/fireplace/game.py
+++ b/fireplace/game.py
@@ -192,9 +192,12 @@ class BaseGame(Entity):
for entity, action in refresh_queue:
action.trigger(entity)
- for buff in self.active_aura_buffs[:]:
+ buffs_to_destroy = []
+ for buff ... | Avoid creating a list copy when destroying buffs | py |
diff --git a/gentleman/async.py b/gentleman/async.py
index <HASH>..<HASH> 100644
--- a/gentleman/async.py
+++ b/gentleman/async.py
@@ -13,7 +13,7 @@ from twisted.internet.defer import Deferred, inlineCallbacks, succeed
from twisted.internet.error import ConnectionRefusedError
from twisted.internet.protocol import Pro... | async: Use keepalive pool. | py |
diff --git a/afsk/ax25.py b/afsk/ax25.py
index <HASH>..<HASH> 100644
--- a/afsk/ax25.py
+++ b/afsk/ax25.py
@@ -225,8 +225,9 @@ def main(arguments=None):
parser.add_argument(
'-d',
'--digipeaters',
+ '--path',
default=b'WIDE1-1,WIDE2-1',
- help='Comma separated list of digipeaters to address.'
+ help='Digi... | Add --path synonym for --digipeaters. Add docs. Update documentation for the --digitpeaters CLI flag to clarify that this is how to set the APRS "path," and that it defaults to a mobile-appropriate WIDE1-1,WIDE2-1. Add a --path synonym for this --digipeaters flag. | py |
diff --git a/remi/gui.py b/remi/gui.py
index <HASH>..<HASH> 100644
--- a/remi/gui.py
+++ b/remi/gui.py
@@ -1395,7 +1395,7 @@ class SvgPolyline(Widget):
if self.max_len > 0:
if len(self.coordsX) > self.max_len:
#we assume that if there is some chars, there is a space
- ... | SvgPolyline fixed mistake. | py |
diff --git a/spacy/about.py b/spacy/about.py
index <HASH>..<HASH> 100644
--- a/spacy/about.py
+++ b/spacy/about.py
@@ -1,6 +1,6 @@
# fmt: off
__title__ = "spacy-nightly"
-__version__ = "3.0.0a34"
+__version__ = "3.0.0a35"
__download_url__ = "https://github.com/explosion/spacy-models/releases/download"
__compatibili... | Set version to <I>a<I> | py |
diff --git a/minimongo/model.py b/minimongo/model.py
index <HASH>..<HASH> 100644
--- a/minimongo/model.py
+++ b/minimongo/model.py
@@ -89,7 +89,7 @@ class ModelBase(type):
index.ensure(mcs.collection)
class AttrDict(dict):
- def __init__(self, initial=None):
+ def __init__(self, initial=None, **kw... | Make AttrDict (and therefore Model) accept initial values by name, like in the doc string: >>> class Foo(Model): ... class Meta: ... database = 'somewhere' ... indices = ( ... Index('bar', unique=True), ... ) ... >>> foo = Foo(bar=<I>) >>> foo... | py |
diff --git a/discord/ext/commands/converter.py b/discord/ext/commands/converter.py
index <HASH>..<HASH> 100644
--- a/discord/ext/commands/converter.py
+++ b/discord/ext/commands/converter.py
@@ -113,7 +113,7 @@ class UserConverter(IDConverter):
if match is not None:
user_id = int(match.group(1))... | [commands] Fix User converter not working with IDs. | py |
diff --git a/ca/django_ca/utils.py b/ca/django_ca/utils.py
index <HASH>..<HASH> 100644
--- a/ca/django_ca/utils.py
+++ b/ca/django_ca/utils.py
@@ -151,7 +151,8 @@ HASH_ALGORITHM_NAMES: typing.Dict[str, typing.Type[hashes.HashAlgorithm]] = {
hashes.MD5.name: hashes.MD5,
# hashes.BLAKE2b.name: hashes.BLAKE2b,
... | disable SM3, as it's only added in cryptography>=<I> | py |
diff --git a/choix/utils.py b/choix/utils.py
index <HASH>..<HASH> 100644
--- a/choix/utils.py
+++ b/choix/utils.py
@@ -138,7 +138,7 @@ def statdist(generator):
except:
# Ideally we would like to catch `spl.LinAlgError` only, but there seems
# to be a bug in scipy, in the code that raises the LinA... | Added missing space in exception message. There was a space missing in the message of an exception, which resulted in poor legibility. | py |
diff --git a/holoviews/plotting/comms.py b/holoviews/plotting/comms.py
index <HASH>..<HASH> 100644
--- a/holoviews/plotting/comms.py
+++ b/holoviews/plotting/comms.py
@@ -98,6 +98,8 @@ class Comm(object):
stdout = []
msg = self.decode(msg)
if self._on_msg:
+ # Comm ... | Added comment to explain why stdout is captured in comms | py |
diff --git a/pymc3/backends/ndarray.py b/pymc3/backends/ndarray.py
index <HASH>..<HASH> 100644
--- a/pymc3/backends/ndarray.py
+++ b/pymc3/backends/ndarray.py
@@ -43,9 +43,11 @@ class NDArray(base.BaseTrace):
self.draws = old_draws + draws
self.draws_idx = old_draws
for varname, s... | NDArray: Rename variable Rename variable to make it clear that it refers to values for a single model variable rather than a trace object. <URL> | py |
diff --git a/test/test_query.py b/test/test_query.py
index <HASH>..<HASH> 100644
--- a/test/test_query.py
+++ b/test/test_query.py
@@ -207,7 +207,7 @@ def test_get_query_tables():
)
-def test_get_query_tables_case_insensitive():
+def test_case_insensitive():
# case-insensitive handling
# https://gith... | Make sure get_query_columns is case insensitive too | py |
diff --git a/lib/pyBamTools/genotyping/naive.py b/lib/pyBamTools/genotyping/naive.py
index <HASH>..<HASH> 100644
--- a/lib/pyBamTools/genotyping/naive.py
+++ b/lib/pyBamTools/genotyping/naive.py
@@ -121,7 +121,9 @@ class ReadGroupGenotyper( object ):
if read.get_reference_name() == seq_name:
posit... | Fix for handling reads with 0 length, most likely due to not having a cigar available (*) | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.