diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/aiida_cp2k/calculations/__init__.py b/aiida_cp2k/calculations/__init__.py
index <HASH>..<HASH> 100644
--- a/aiida_cp2k/calculations/__init__.py
+++ b/aiida_cp2k/calculations/__init__.py
@@ -120,9 +120,10 @@ class Cp2kCalculation(JobCalculation):
# create code info
codeinfo = CodeInfo()
... | Fix writting of CP2K output | py |
diff --git a/tests/tools/pep8/testpath/test_space_tab.py b/tests/tools/pep8/testpath/test_space_tab.py
index <HASH>..<HASH> 100644
--- a/tests/tools/pep8/testpath/test_space_tab.py
+++ b/tests/tools/pep8/testpath/test_space_tab.py
@@ -1,4 +1,6 @@
# -*- coding: utf-8 -*-
+# fmt: off
+# flake8: noqa
for a in "abc":
... | Disable black to be run on test that depends on space and tabs configuration | py |
diff --git a/juju/model.py b/juju/model.py
index <HASH>..<HASH> 100644
--- a/juju/model.py
+++ b/juju/model.py
@@ -1741,8 +1741,12 @@ class Model:
resources=[client.CharmResource(**resource) for resource in resources],
)
- resource_map = {resource['name']: resource['pending_id']
- ... | fixing model _add_charmhub_resources | py |
diff --git a/datetime_tz/detect_windows.py b/datetime_tz/detect_windows.py
index <HASH>..<HASH> 100644
--- a/datetime_tz/detect_windows.py
+++ b/datetime_tz/detect_windows.py
@@ -23,6 +23,7 @@ __author__ = "davidm"
import ctypes
import warnings
+import locale
import pytz
@@ -115,7 +116,8 @@ def _detect_timezon... | Get the territory from the windows locale Look first for a match on windows timezone name and territory, and if that doesn't exist, fall back to just windows timezone | py |
diff --git a/tensorboard/embedding.py b/tensorboard/embedding.py
index <HASH>..<HASH> 100644
--- a/tensorboard/embedding.py
+++ b/tensorboard/embedding.py
@@ -1,5 +1,4 @@
import torch
-import torchvision
import os
def make_tsv(metadata, save_path):
@@ -12,6 +11,7 @@ def make_tsv(metadata, save_path):
# https://gi... | Import module only necessary A simple embedding that doesn't require image label won't depend on torch-vision. | py |
diff --git a/tabulator/writers/sql.py b/tabulator/writers/sql.py
index <HASH>..<HASH> 100644
--- a/tabulator/writers/sql.py
+++ b/tabulator/writers/sql.py
@@ -32,12 +32,19 @@ class SQLWriter(Writer):
def write(self, source, target, headers, encoding=None):
engine = create_engine(target)
count = 0... | Added buffering for the SQL writer (#<I>) | py |
diff --git a/salt/modules/zypper.py b/salt/modules/zypper.py
index <HASH>..<HASH> 100644
--- a/salt/modules/zypper.py
+++ b/salt/modules/zypper.py
@@ -992,7 +992,12 @@ def install(name=None,
refresh_db()
try:
- pkg_params, pkg_type = __salt__['pkg_resource.parse_targets'](name, pkgs, sources, **k... | Adding support for installing patches in Zypper module | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -27,6 +27,6 @@ if __name__ == "__main__":
packages=find_packages(exclude=["test"]),
package_data={"pycanlib": ["version.txt"]},
scripts=["./bin/can_logger.py", "./bin/xml2tdv.py",
- "./bi... | setup.py script now installs dat2tdv.py script along with the other pycanlib scripts | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -46,7 +46,7 @@ docs_require = []
tests_require = [
'mock~=2.0,>=2.0.0',
'pytest-cov~=2.0,>=2.5.1',
- 'pytest-flake8~=0.0,>=0.8.1',
+ 'pytest-flake8~=0.0,>=0.9',
'pytest~=3.0,>=3.2.2',
] | setup: bump pytest-flake8 The previous version of ``pytest-flake8`` was incompatible with the latest version of ``flake8``, so we bump the former. | py |
diff --git a/coursera/coursera_dl.py b/coursera/coursera_dl.py
index <HASH>..<HASH> 100755
--- a/coursera/coursera_dl.py
+++ b/coursera/coursera_dl.py
@@ -997,6 +997,8 @@ def main():
logging.info('Downloading class: %s', class_name)
if download_class(args, class_name):
complet... | Don't abort downloads when a single course causes an error. If you try to download things after being authenticated, the Coursera servers sometimes give you an HTTP error <I> (that's internal server error), which interrupts our downloads. Catching an exception thrown by the urllib2 code makes our code robust to those... | py |
diff --git a/superset/connectors/base/models.py b/superset/connectors/base/models.py
index <HASH>..<HASH> 100644
--- a/superset/connectors/base/models.py
+++ b/superset/connectors/base/models.py
@@ -410,7 +410,7 @@ class BaseDatasource(
fkmany: List[Column],
fkmany_class: Type[Union["BaseColumn", "Bas... | fix: removed disabled lint rule `too-many-locals` in connectors/base/models.py (#<I>) | py |
diff --git a/km3pipe/pumps/ch.py b/km3pipe/pumps/ch.py
index <HASH>..<HASH> 100644
--- a/km3pipe/pumps/ch.py
+++ b/km3pipe/pumps/ch.py
@@ -12,6 +12,7 @@ from km3pipe import Pump
from km3pipe.logger import logging
import threading
import struct
+import socket
from time import sleep
try:
from Queue import Queue... | Restore connection after controlhost socket error | py |
diff --git a/openquake/baselib/parallel.py b/openquake/baselib/parallel.py
index <HASH>..<HASH> 100644
--- a/openquake/baselib/parallel.py
+++ b/openquake/baselib/parallel.py
@@ -340,14 +340,13 @@ def safely_call(func, args, backurl=None):
zsocket = Socket(backurl, zmq.PUSH, 'connect')
else:
... | Wrapped also pickle errors [demos] | py |
diff --git a/jobtastic/task.py b/jobtastic/task.py
index <HASH>..<HASH> 100644
--- a/jobtastic/task.py
+++ b/jobtastic/task.py
@@ -16,10 +16,10 @@ from hashlib import md5
import psutil
from billiard.einfo import ExceptionInfo
-try: # Celery 3
- from celery.five import class_property
-except ImportError: # Cele... | Flip flopped ImportError order. | py |
diff --git a/FlowCal/io.py b/FlowCal/io.py
index <HASH>..<HASH> 100644
--- a/FlowCal/io.py
+++ b/FlowCal/io.py
@@ -1178,7 +1178,10 @@ class FCSData(np.ndarray):
These cover the range specified in ``FCSData.range(channels)`` with
a number of bins `nbins`, either linearly or logarithmically
- s... | Added handling of range[0]=0 inside FCSData.hist_bins. | py |
diff --git a/lib/webcomment_regression_tests.py b/lib/webcomment_regression_tests.py
index <HASH>..<HASH> 100644
--- a/lib/webcomment_regression_tests.py
+++ b/lib/webcomment_regression_tests.py
@@ -69,7 +69,7 @@ class WebCommentWebPagesAvailabilityTest(unittest.TestCase):
def test_webcomment_admin_guide_availab... | Fixed <I> cases of bad code indentation throughout the codebase. (Please set up your editors properly: spaces instead of tabs, tab width set to 4, no trailing whitespace.) | py |
diff --git a/feature_extractor/dependency.py b/feature_extractor/dependency.py
index <HASH>..<HASH> 100644
--- a/feature_extractor/dependency.py
+++ b/feature_extractor/dependency.py
@@ -351,6 +351,23 @@ class Cdependency_extractor:
shortest_path = this_path
return shortest_path
+ ... | Added function that gives full dependency graph from given term | py |
diff --git a/usb1/testUSB1.py b/usb1/testUSB1.py
index <HASH>..<HASH> 100644
--- a/usb1/testUSB1.py
+++ b/usb1/testUSB1.py
@@ -44,7 +44,7 @@ class USBTransferTests(unittest.TestCase):
# Dummy handle
return usb1.USBTransfer(
context=None,
- handle=pointer(libusb1.libusb_device_h... | usb1.testUSB1: Use a NULL-pointer instead as dummy device handle. Cleaner than providing a valid-looking pointer libusb did not provide. | py |
diff --git a/code/macroeco/form_func.py b/code/macroeco/form_func.py
index <HASH>..<HASH> 100644
--- a/code/macroeco/form_func.py
+++ b/code/macroeco/form_func.py
@@ -102,7 +102,7 @@ def make_spec_dict(spp_array):
unq_specs = np.unique(spp_array)
unq_ints = np.linspace(0, len(unq_specs) - 1, num=len(unq_specs... | Checked in KORU dataset This data set still needs metadata. | py |
diff --git a/gtabview/viewer.py b/gtabview/viewer.py
index <HASH>..<HASH> 100644
--- a/gtabview/viewer.py
+++ b/gtabview/viewer.py
@@ -5,6 +5,8 @@ from . import models
import math
AUTOSIZE_LIMIT = models.DEFAULT_CHUNK_SIZE
+MIN_TRUNC_CHARS = 8
+MAX_WIDTH_CHARS = 64
# Support PyQt4/PySide with either Python 2/3... | Move some constants in the beginning. | py |
diff --git a/zipline/utils/calendars/exchange_calendar_cme.py b/zipline/utils/calendars/exchange_calendar_cme.py
index <HASH>..<HASH> 100644
--- a/zipline/utils/calendars/exchange_calendar_cme.py
+++ b/zipline/utils/calendars/exchange_calendar_cme.py
@@ -154,12 +154,6 @@ ChristmasEveInOrAfter1993 = Holiday(
# http://e... | BUG: Removes Hurricane Sandy closings from CME exchange calendar Since the CME calendar was based off of the NYSE calendar, closings for Hurricane Sandy were included, but shouldn't have been for CME. This is the explanation we had included prior to the new exchange calendars: <URL> | py |
diff --git a/abilian/app.py b/abilian/app.py
index <HASH>..<HASH> 100644
--- a/abilian/app.py
+++ b/abilian/app.py
@@ -121,6 +121,7 @@ default_config.update(
SENTRY_JS_VERSION='1.1.16',
SENTRY_JS_PLUGINS=('jquery', 'native', 'require'),
SESSION_COOKIE_NAME=None,
+ SQLALCHEMY_POOL_RECYCLE=1800, # 30min... | set default SQLALCHEMY_POOL_RECYCLE to <I>min. in particular this should prevent problems in celery workers not used for a few hours | py |
diff --git a/sc2maptool/functions.py b/sc2maptool/functions.py
index <HASH>..<HASH> 100644
--- a/sc2maptool/functions.py
+++ b/sc2maptool/functions.py
@@ -20,7 +20,9 @@ def selectMap(name=None, excludeName=False, closestMatch=True, **tags):
elif matches: return matches
except IndexError: pass # matc... | - updated the path from the package's map library to the copied library in the SC2\Maps folder - added instruction to error message to upload missing maps/versions should it not be found. | py |
diff --git a/airflow/task_runner/base_task_runner.py b/airflow/task_runner/base_task_runner.py
index <HASH>..<HASH> 100644
--- a/airflow/task_runner/base_task_runner.py
+++ b/airflow/task_runner/base_task_runner.py
@@ -89,7 +89,9 @@ class BaseTaskRunner(LoggingMixin):
def _read_task_logs(self, stream):
... | [AIRFLOW-<I>] Fix text encoding bug when reading logs for Python <I> Closes #<I> from anselmwang/master | py |
diff --git a/astrocats/catalog/spectrum.py b/astrocats/catalog/spectrum.py
index <HASH>..<HASH> 100644
--- a/astrocats/catalog/spectrum.py
+++ b/astrocats/catalog/spectrum.py
@@ -91,6 +91,8 @@ class Spectrum(CatDict):
del self[SPECTRUM.WAVELENGTHS]
if SPECTRUM.FLUXES in self:
... | MAINT: delete 'errors' in final spectra objects | py |
diff --git a/wandb/util.py b/wandb/util.py
index <HASH>..<HASH> 100644
--- a/wandb/util.py
+++ b/wandb/util.py
@@ -468,6 +468,8 @@ class JSONEncoderUncompressed(json.JSONEncoder):
def default(self, obj):
if is_numpy_array(obj):
return obj.tolist()
+ elif np and isinstance(obj, np.gener... | [Bugfix] Add encoding for numpy types in json uncompressed (#<I>) | py |
diff --git a/masonite/providers/StartResponseProvider.py b/masonite/providers/StartResponseProvider.py
index <HASH>..<HASH> 100644
--- a/masonite/providers/StartResponseProvider.py
+++ b/masonite/providers/StartResponseProvider.py
@@ -29,3 +29,4 @@ class StartResponseProvider(ServiceProvider):
self.app.bin... | setting cookies are now reset at the end of every request | py |
diff --git a/schema/brain/jobs.py b/schema/brain/jobs.py
index <HASH>..<HASH> 100644
--- a/schema/brain/jobs.py
+++ b/schema/brain/jobs.py
@@ -212,12 +212,13 @@ def apply_args(job, inputs, optional_inputs=None):
:param optional_inputs: optional for OptionalInputs
:return: job
"""
+ def _for_loop_func(... | pcp-<I> added a couple more test and code climate is a pain on the bum bum | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,15 +1,15 @@
from setuptools import setup
setup(
- name='py_msm',
- version='0.3.9',
+ name='py-msm',
+ version='0.4.0',
packages=['py_msm'],
install_requires=['GitPython'],
- url='https://github... | Incremement version to <I> and update setup.py | py |
diff --git a/pycdlib/dr.py b/pycdlib/dr.py
index <HASH>..<HASH> 100644
--- a/pycdlib/dr.py
+++ b/pycdlib/dr.py
@@ -994,10 +994,9 @@ class DROpenData(object):
A class to be a contextmanager for opening data on a DirectoryRecord object.
'''
def __init__(self, drobj, logical_block_size):
- if drobj.t... | Follow links all the way to the end. | py |
diff --git a/test_project/settings.py b/test_project/settings.py
index <HASH>..<HASH> 100644
--- a/test_project/settings.py
+++ b/test_project/settings.py
@@ -46,10 +46,16 @@ INSTALLED_APPS = (
LOGGING = {
'version': 1,
'disable_existing_loggers': False,
+ 'filters': {
+ 'require_debug_false': {
+ ... | improve settings.py a bit | py |
diff --git a/tests/remotes.py b/tests/remotes.py
index <HASH>..<HASH> 100644
--- a/tests/remotes.py
+++ b/tests/remotes.py
@@ -22,7 +22,7 @@ TEST_CONFIG = {
"remote": {TEST_REMOTE: {"url": ""}},
}
-TEST_AWS_REPO_BUCKET = os.environ.get("DVC_TEST_AWS_REPO_BUCKET", "dvc-test")
+TEST_AWS_REPO_BUCKET = os.environ.g... | test: s3: move to dvc-temp bucket | py |
diff --git a/tests/forms/convs.py b/tests/forms/convs.py
index <HASH>..<HASH> 100644
--- a/tests/forms/convs.py
+++ b/tests/forms/convs.py
@@ -158,6 +158,12 @@ class CharConverterTests(unittest.TestCase):
value = conv.to_python('')
self.assertEqual(value, None)
+ def test_regex_error(self):
+ ... | Test that regexp is checked and error message contains checked regexp | py |
diff --git a/contrib/haskell/src/python/pants/contrib/haskell/tasks/stack_build.py b/contrib/haskell/src/python/pants/contrib/haskell/tasks/stack_build.py
index <HASH>..<HASH> 100644
--- a/contrib/haskell/src/python/pants/contrib/haskell/tasks/stack_build.py
+++ b/contrib/haskell/src/python/pants/contrib/haskell/tasks/... | Only invalidate haskell-project targets. Currently, the haskell contrib plugin inspects all targets in the closure multiple times, but only needs to inspect `haskell_project` targets and their closures. Testing Done: ./pants test contrib/haskell:: <URL> | py |
diff --git a/src/infi/docopt_completion/bash.py b/src/infi/docopt_completion/bash.py
index <HASH>..<HASH> 100644
--- a/src/infi/docopt_completion/bash.py
+++ b/src/infi/docopt_completion/bash.py
@@ -48,8 +48,8 @@ class BashCompletion(CompletionGenerator):
return SUBCOMMAND_SWITCH_TEMPLATE.format(level_num=leve... | fix bad bash reply (reported in issue #2) | py |
diff --git a/h2o-py/h2o/model/autoencoder.py b/h2o-py/h2o/model/autoencoder.py
index <HASH>..<HASH> 100644
--- a/h2o-py/h2o/model/autoencoder.py
+++ b/h2o-py/h2o/model/autoencoder.py
@@ -33,6 +33,6 @@ class H2OAutoEncoderModel(ModelBase):
cols = [col["label"] for col in anomaly_frame_meta["columns"]]
vecs = H... | replace h2o.delete call with h2o.removeFrameShallow | py |
diff --git a/eqcorrscan/core/lag_calc.py b/eqcorrscan/core/lag_calc.py
index <HASH>..<HASH> 100644
--- a/eqcorrscan/core/lag_calc.py
+++ b/eqcorrscan/core/lag_calc.py
@@ -246,8 +246,7 @@ def _channel_loop(detection, template, min_cc, detection_id, interpolate, i,
checksum - pre_lag_ccsum < -(0.3 * pre_lag_c... | Revert to error for lag-calc reducing sum | py |
diff --git a/karaage/people/views/admin.py b/karaage/people/views/admin.py
index <HASH>..<HASH> 100644
--- a/karaage/people/views/admin.py
+++ b/karaage/people/views/admin.py
@@ -101,6 +101,7 @@ def user_list(request, queryset=Person.objects.all()):
query = query & q
user_list = user_lis... | Fix issue of not being able to search from page 2+ in userlist, Fixes #<I> | py |
diff --git a/dottorrent/__init__.py b/dottorrent/__init__.py
index <HASH>..<HASH> 100644
--- a/dottorrent/__init__.py
+++ b/dottorrent/__init__.py
@@ -90,7 +90,7 @@ class Torrent(object):
self.piece_size = piece_size
self.private = private
self.source = source
- self.exclude = exclude
... | Make sure exclude is always a list | py |
diff --git a/src/anyconfig/cli.py b/src/anyconfig/cli.py
index <HASH>..<HASH> 100644
--- a/src/anyconfig/cli.py
+++ b/src/anyconfig/cli.py
@@ -177,7 +177,7 @@ def _show_psrs():
_exit_with_output(sep.join([types, exts, cids]))
-def _parse_args(argv):
+def try_parse_args(argv):
"""
Show supported confi... | refactor: rename .cli._parse_args to try_parse_args Rename .cli._parse_args to try_parse_args to make its purpose and behavior clearer. | py |
diff --git a/superset/views/core.py b/superset/views/core.py
index <HASH>..<HASH> 100755
--- a/superset/views/core.py
+++ b/superset/views/core.py
@@ -2447,10 +2447,7 @@ class Superset(BaseSupersetView):
)
if rejected_tables:
return json_error_response(
- security_manager.g... | Update core.py (#<I>) | py |
diff --git a/PyBundle/PyBundle.py b/PyBundle/PyBundle.py
index <HASH>..<HASH> 100644
--- a/PyBundle/PyBundle.py
+++ b/PyBundle/PyBundle.py
@@ -7,6 +7,8 @@ from inspect import stack
def frozen_bundle():
"""Legacy wrapper for frozen"""
print('frozen_bundle() function is depreciated, replace with frozen()')
+ ... | Added stack trace to depreciation print message in froze_bundle function | py |
diff --git a/virtualchain/lib/blockchain/transactions.py b/virtualchain/lib/blockchain/transactions.py
index <HASH>..<HASH> 100644
--- a/virtualchain/lib/blockchain/transactions.py
+++ b/virtualchain/lib/blockchain/transactions.py
@@ -501,6 +501,7 @@ def get_nulldata_txs_in_blocks( workpool, bitcoind_opts, blocks_ids )... | Warn when we have a zero-length slice to process | py |
diff --git a/tensorflow_probability/python/distributions/ordered_logistic_test.py b/tensorflow_probability/python/distributions/ordered_logistic_test.py
index <HASH>..<HASH> 100644
--- a/tensorflow_probability/python/distributions/ordered_logistic_test.py
+++ b/tensorflow_probability/python/distributions/ordered_logist... | add test reflecting latent logistic distribution interpretation | py |
diff --git a/spyder/utils/syntaxhighlighters.py b/spyder/utils/syntaxhighlighters.py
index <HASH>..<HASH> 100644
--- a/spyder/utils/syntaxhighlighters.py
+++ b/spyder/utils/syntaxhighlighters.py
@@ -1196,16 +1196,18 @@ def guess_pygments_highlighter(filename):
"""
try:
from pygments.lexers import g... | Avoid errors when using Pygments to detect the lexer used to highlight a file | py |
diff --git a/pronto/parsers/rdfxml.py b/pronto/parsers/rdfxml.py
index <HASH>..<HASH> 100644
--- a/pronto/parsers/rdfxml.py
+++ b/pronto/parsers/rdfxml.py
@@ -309,7 +309,7 @@ class RdfXMLParser(BaseParser):
id_ = curies[iri]
# get or create the term
- term = (self.ont.get_term if id_ in self.... | Fix _extract_term failing on IDs already in use for an ObjectProperty (#<I>) | py |
diff --git a/aiger/aig.py b/aiger/aig.py
index <HASH>..<HASH> 100644
--- a/aiger/aig.py
+++ b/aiger/aig.py
@@ -232,7 +232,7 @@ class AIG:
if only_last_outputs:
odrop = fn.lfilter(
- lambda o: int(o.split('##time_')[1]) < 3,
+ lambda o: int(o.split('##time_')[1]) < h... | hardcoded horizon=3 on accident in unrolling! | py |
diff --git a/etk/core.py b/etk/core.py
index <HASH>..<HASH> 100644
--- a/etk/core.py
+++ b/etk/core.py
@@ -160,6 +160,7 @@ class Core(object):
def process(self, doc, create_knowledge_graph=False):
try:
+ print 'Now Processing url: {}, doc_id: {}'.format(doc['url'], doc['doc_id'])
... | records processing url and doc id | py |
diff --git a/salt/modules/freebsdpkg.py b/salt/modules/freebsdpkg.py
index <HASH>..<HASH> 100644
--- a/salt/modules/freebsdpkg.py
+++ b/salt/modules/freebsdpkg.py
@@ -20,6 +20,19 @@ def pkgng_update():
__salt__['cmd.run']('pkg update')
return ""
+
+def pkgng_search(pkg_name):
+ '''
+ Use `pkg sear... | Adding pkgng search function to check remote repos | py |
diff --git a/deluge_client/client.py b/deluge_client/client.py
index <HASH>..<HASH> 100644
--- a/deluge_client/client.py
+++ b/deluge_client/client.py
@@ -59,7 +59,9 @@ class DelugeRPCClient(object):
try:
self._socket.connect((self.host, self.port))
except ssl.SSLError as e:
- ... | Also check errno when 'reason' is not available on SSLError | py |
diff --git a/ptest/decorator.py b/ptest/decorator.py
index <HASH>..<HASH> 100644
--- a/ptest/decorator.py
+++ b/ptest/decorator.py
@@ -229,6 +229,8 @@ def Test(enabled=True, tags=[], expected_exceptions=None, data_provider=None, da
func.__data_provider__ = data_provider
func.__funcs__ = []
... | Data name function must be decalred with 2 parameters. | py |
diff --git a/samples/MultipleReadPropertyThreaded.py b/samples/MultipleReadPropertyThreaded.py
index <HASH>..<HASH> 100755
--- a/samples/MultipleReadPropertyThreaded.py
+++ b/samples/MultipleReadPropertyThreaded.py
@@ -20,7 +20,7 @@ from bacpypes.pdu import Address
from bacpypes.object import get_datatype
from bacp... | Fix typos in MultipleReadPropertyThreaded (#<I>) | py |
diff --git a/backtrader/stores/oandastore.py b/backtrader/stores/oandastore.py
index <HASH>..<HASH> 100644
--- a/backtrader/stores/oandastore.py
+++ b/backtrader/stores/oandastore.py
@@ -545,7 +545,7 @@ class OandaStore(with_metaclass(MetaSingleton, object)):
def _t_order_cancel(self):
while True:
... | Typo oref vs order in cancel | py |
diff --git a/spyderlib/widgets/shell.py b/spyderlib/widgets/shell.py
index <HASH>..<HASH> 100644
--- a/spyderlib/widgets/shell.py
+++ b/spyderlib/widgets/shell.py
@@ -734,7 +734,7 @@ class PythonShellWidget(ShellBaseWidget):
icon=get_icon('copywop.png'),
... | (Fixes Issue <I>) Shell/"Clear line" shortcut was not correct: this is actually "Shift+Escape" (not "Escape") | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -10,6 +10,6 @@ setup(
url = 'https://github.com/joferkington/mplstereonet/',
packages = ['mplstereonet'],
install_requires = [
- 'matplotlib >= 0.98',
+ 'matplotlib >= 1.1',
'numpy >= 1.1'... | Corrected wrong matplotlib requirements in setup.py | py |
diff --git a/ding0/examples/example_analyze_multiple_grid_districts.py b/ding0/examples/example_analyze_multiple_grid_districts.py
index <HASH>..<HASH> 100644
--- a/ding0/examples/example_analyze_multiple_grid_districts.py
+++ b/ding0/examples/example_analyze_multiple_grid_districts.py
@@ -103,7 +103,7 @@ def nd_load_a... | Changed list to mv_grids to analyse to the same range listed during example_multiple_grid_districts.py | py |
diff --git a/metrique/client/cubes/basecube.py b/metrique/client/cubes/basecube.py
index <HASH>..<HASH> 100644
--- a/metrique/client/cubes/basecube.py
+++ b/metrique/client/cubes/basecube.py
@@ -12,5 +12,5 @@ class BaseCube(pyclient):
self.query.find = self._find
def _find(self, query, fields='', date=N... | update calling api to not send in cube (redudently) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -25,15 +25,18 @@ import os
import setuptools
import sys
-if any('dist' in x for x in sys.argv[1:]):
- import setuptools_readme
- setuptools_readme.convert('README.md', encoding='utf8')
-if os.path.isfile('README.rst'):
-... | fix setup.py when installing from PyPI | py |
diff --git a/sqlalchemyutils.py b/sqlalchemyutils.py
index <HASH>..<HASH> 100644
--- a/sqlalchemyutils.py
+++ b/sqlalchemyutils.py
@@ -19,15 +19,10 @@
import sqlalchemy
import sqlalchemy.orm
-from sqlalchemy import create_engine
-from sqlalchemy.types import TypeDecorator
-from sqlalchemy.orm import scoped_session,... | WebStyle: SimulatedModPythonRequest port * SimulatedModPythonRequest now uses ResponseStreamMixin from Werkzeug to simulate correct behavior of methods `write` and `flush`. * This fixes problems with file streaming in bibdocfile. * This also allows developers to debug legacy Invenio applications with Werkzeug de... | py |
diff --git a/hamlpy/elements.py b/hamlpy/elements.py
index <HASH>..<HASH> 100644
--- a/hamlpy/elements.py
+++ b/hamlpy/elements.py
@@ -10,7 +10,7 @@ MULTILINE_ATTR_ELEMENT_REGEX = re.compile(r"""
class Element(object):
"""contains the pieces of an element and can populate itself from haml element text"""
- ... | Add support for pseudo-self-closing HTML5 <source> and <track> tags | py |
diff --git a/pythran/backend.py b/pythran/backend.py
index <HASH>..<HASH> 100644
--- a/pythran/backend.py
+++ b/pythran/backend.py
@@ -132,11 +132,11 @@ class Cxx(Backend):
no jump are requiered.
(else in loop means : don't execute if loop is terminated with a break)
- >>> import ast, passmanager... | generated path for includes are os specific | py |
diff --git a/OpenPNM/Utilities/misc.py b/OpenPNM/Utilities/misc.py
index <HASH>..<HASH> 100644
--- a/OpenPNM/Utilities/misc.py
+++ b/OpenPNM/Utilities/misc.py
@@ -299,10 +299,7 @@ def clone_simulation(network,name=None):
'''
#Clone Network
cls = network.__class__.__mro__[0]
- if name is None:
- ... | - Major updates to subset. It now maps correctly within itself - Updates to clone_object to support the above changes to subset | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -37,6 +37,7 @@ setup(
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
+ "Topic :: System :: Filesystems"... | Add "Topic :: System :: Filesystems" as classifier in setup.py | py |
diff --git a/requests_unixsocket/adapters.py b/requests_unixsocket/adapters.py
index <HASH>..<HASH> 100644
--- a/requests_unixsocket/adapters.py
+++ b/requests_unixsocket/adapters.py
@@ -2,8 +2,12 @@ import socket
from requests.adapters import HTTPAdapter
from requests.compat import urlparse, unquote
-from requests... | GH-7: Fallback to import from urllib3 if can't import from requests.packages.urllib3 | py |
diff --git a/tests/utils.py b/tests/utils.py
index <HASH>..<HASH> 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -95,7 +95,7 @@ def open_legacy_httpbin(browser, httpbin):
try:
response = browser.open(httpbin + "/legacy")
if response.status_code == 404:
- # The line above may or ma... | Fix simple typo: expection -> exception | py |
diff --git a/QUANTAXIS/QAFactor/featureAnalysis.py b/QUANTAXIS/QAFactor/featureAnalysis.py
index <HASH>..<HASH> 100644
--- a/QUANTAXIS/QAFactor/featureAnalysis.py
+++ b/QUANTAXIS/QAFactor/featureAnalysis.py
@@ -68,7 +68,7 @@ class QAFeatureAnalysis():
"""
if model == 'next_open':
r = data... | #fix bug for ret in open model | py |
diff --git a/discord/ext/commands/errors.py b/discord/ext/commands/errors.py
index <HASH>..<HASH> 100644
--- a/discord/ext/commands/errors.py
+++ b/discord/ext/commands/errors.py
@@ -39,7 +39,10 @@ class CommandError(DiscordException):
in a special way as they are caught and passed into a special event
from :... | [commands] Make it so CommandError does not contain @everyone mentions. Mitigates some permission elevation issues. | py |
diff --git a/utils/EQcorrscan_plotting.py b/utils/EQcorrscan_plotting.py
index <HASH>..<HASH> 100644
--- a/utils/EQcorrscan_plotting.py
+++ b/utils/EQcorrscan_plotting.py
@@ -206,7 +206,7 @@ def multi_event_singlechan(streams, picks, clip=10.0, pre_pick=2.0):
channel='*'+picks[i].channel[-1])[0]
... | Added multi-channel single channel plotting routine Former-commit-id: <I>dc<I>d4c2ae9c5cc<I>ba<I>ea<I>e<I>f2e<I>e3 | py |
diff --git a/mtools/mloginfo/sections/query_section.py b/mtools/mloginfo/sections/query_section.py
index <HASH>..<HASH> 100644
--- a/mtools/mloginfo/sections/query_section.py
+++ b/mtools/mloginfo/sections/query_section.py
@@ -56,8 +56,13 @@ class QuerySection(BaseSection):
if self.mloginfo.progress_bar_enable... | Fix mloginfo --queries but no queries in log file | py |
diff --git a/luigi/hadoop_jar.py b/luigi/hadoop_jar.py
index <HASH>..<HASH> 100644
--- a/luigi/hadoop_jar.py
+++ b/luigi/hadoop_jar.py
@@ -21,7 +21,8 @@ def fix_paths(job):
if x.exists() or not job.atomic_output(): # input
args.append(x.path)
else: # output
- ... | Made hadoop_jar fix_paths able to handle trailing slashes | py |
diff --git a/src/cltk/lexicon/lat.py b/src/cltk/lexicon/lat.py
index <HASH>..<HASH> 100644
--- a/src/cltk/lexicon/lat.py
+++ b/src/cltk/lexicon/lat.py
@@ -47,6 +47,8 @@ class LatinLewisLexicon:
>>> lll = LatinLewisLexicon()
>>> lll.lookup("clemens")[:50]
'clēmēns entis (abl. -tī; rarely -te, ... | Escape lemma before lookup; add doctests (#<I>) | py |
diff --git a/glances/plugins/glances_quicklook.py b/glances/plugins/glances_quicklook.py
index <HASH>..<HASH> 100644
--- a/glances/plugins/glances_quicklook.py
+++ b/glances/plugins/glances_quicklook.py
@@ -99,8 +99,12 @@ class Plugin(GlancesPlugin):
stats['cpu_name'] = cpu_info.get('brand', 'CPU')... | Add compatibility for Py-cpuinfo <I> or higher | py |
diff --git a/pyvista/plotting/plotting.py b/pyvista/plotting/plotting.py
index <HASH>..<HASH> 100644
--- a/pyvista/plotting/plotting.py
+++ b/pyvista/plotting/plotting.py
@@ -473,6 +473,14 @@ class BasePlotter(PickingHelper, WidgetHelper):
return self.renderer.get_default_cam_pos(*args, **kwargs)
+ @wra... | [MNT] Move remove_actor (#<I>) | py |
diff --git a/tests/test_pipenv.py b/tests/test_pipenv.py
index <HASH>..<HASH> 100644
--- a/tests/test_pipenv.py
+++ b/tests/test_pipenv.py
@@ -461,7 +461,7 @@ idna = "==2.6.0"
c = p.pipenv('install')
assert c.return_code == 1
assert "Your dependencies could not be resolved" in c.e... | Allow tests with PermissionErrors to pass | py |
diff --git a/tests/test_web_runner.py b/tests/test_web_runner.py
index <HASH>..<HASH> 100644
--- a/tests/test_web_runner.py
+++ b/tests/test_web_runner.py
@@ -55,9 +55,10 @@ async def test_runner_setup_without_signal_handling(make_runner) -> None:
async def test_site_double_added(make_runner) -> None:
+ _sock =... | Fix test_site_double_added to use ephemeral port | py |
diff --git a/allennlp/commands/evaluate.py b/allennlp/commands/evaluate.py
index <HASH>..<HASH> 100644
--- a/allennlp/commands/evaluate.py
+++ b/allennlp/commands/evaluate.py
@@ -94,7 +94,7 @@ def evaluate(model: Model,
description = ', '.join(["%s: %.2f" % (name, value) for name, value in metrics.items()]) + ... | reset meteric when done evaluation (#<I>) | py |
diff --git a/src/wa_kat/templates/static/js/Lib/site-packages/components/output_picker.py b/src/wa_kat/templates/static/js/Lib/site-packages/components/output_picker.py
index <HASH>..<HASH> 100755
--- a/src/wa_kat/templates/static/js/Lib/site-packages/components/output_picker.py
+++ b/src/wa_kat/templates/static/js/Lib... | Removed unused import from output_picker.py. This import actually slowed down whole loading process for 6 seconds.. | py |
diff --git a/datadog_checks_dev/datadog_checks/dev/tooling/commands/release/changelog.py b/datadog_checks_dev/datadog_checks/dev/tooling/commands/release/changelog.py
index <HASH>..<HASH> 100644
--- a/datadog_checks_dev/datadog_checks/dev/tooling/commands/release/changelog.py
+++ b/datadog_checks_dev/datadog_checks/dev... | Avoid double periods at the end of PR titles (#<I>) | py |
diff --git a/advanced_tests/regressors.py b/advanced_tests/regressors.py
index <HASH>..<HASH> 100644
--- a/advanced_tests/regressors.py
+++ b/advanced_tests/regressors.py
@@ -42,7 +42,7 @@ def optimize_final_model_regression(model_name=None):
if model_name == 'DeepLearningRegressor':
lower_bound = -24
... | adjusts test bound for lgbm | py |
diff --git a/raven/conf/__init__.py b/raven/conf/__init__.py
index <HASH>..<HASH> 100644
--- a/raven/conf/__init__.py
+++ b/raven/conf/__init__.py
@@ -50,7 +50,7 @@ def load(dsn, scope=None):
return scope
-def setup_logging(handler, exclude=['raven', 'gunicorn', 'sentry.errors']):
+def setup_logging(handler, e... | Include south in the default disabled loggers (fixes GH-<I>) | py |
diff --git a/pkg_resources/__init__.py b/pkg_resources/__init__.py
index <HASH>..<HASH> 100644
--- a/pkg_resources/__init__.py
+++ b/pkg_resources/__init__.py
@@ -377,11 +377,7 @@ def get_build_platform():
XXX Currently this is the same as ``distutils.util.get_platform()``, but it
needs some hacks for Linux a... | Remove compatibility branch for Python <I>-<I>. | py |
diff --git a/vtki/plotting.py b/vtki/plotting.py
index <HASH>..<HASH> 100644
--- a/vtki/plotting.py
+++ b/vtki/plotting.py
@@ -1041,6 +1041,9 @@ class BasePlotter(object):
>>> _ = plotter.add_bounds_axes(grid='front', location='outer', all_edges=True)
>>> plotter.show() # doctest:+SKIP
"""
+ ... | Fix issue when trying to update cube_axes_actor | py |
diff --git a/pyshtools/shio/convert.py b/pyshtools/shio/convert.py
index <HASH>..<HASH> 100644
--- a/pyshtools/shio/convert.py
+++ b/pyshtools/shio/convert.py
@@ -114,22 +114,23 @@ def convert(coeffs_in, normalization_in=None, normalization_out=None,
lmaxin = coeffs_in.shape[1] - 1
+ if lmax is None... | Reorder the tests before issuing a warning in convert() | py |
diff --git a/src/azure-firewall/azext_firewall/_help.py b/src/azure-firewall/azext_firewall/_help.py
index <HASH>..<HASH> 100644
--- a/src/azure-firewall/azext_firewall/_help.py
+++ b/src/azure-firewall/azext_firewall/_help.py
@@ -18,6 +18,9 @@ helps['network firewall create'] = """
- name: Create a Azure firewall... | Added 2nd example moved from azure-docs-cli PR <I> (#<I>) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,8 +1,12 @@
+import io
from setuptools import setup
versionfile = 'ijroi/version.py'
exec(compile(open(versionfile, 'rb').read(), versionfile, 'exec'))
+with io.open("README.rst", "r", encoding="utf-8") as f:
+ lon... | Add manual long_description dstufft says this doesn't happen automatically anymore. | py |
diff --git a/webdriverwrapper/wrapper.py b/webdriverwrapper/wrapper.py
index <HASH>..<HASH> 100644
--- a/webdriverwrapper/wrapper.py
+++ b/webdriverwrapper/wrapper.py
@@ -493,6 +493,26 @@ class _WebdriverWrapper(WebdriverWrapperErrorMixin, WebdriverWrapperInfoMixin, _
"""
return Alert(self)
+ def... | wait_for_alert added | py |
diff --git a/satpy/enhancements/__init__.py b/satpy/enhancements/__init__.py
index <HASH>..<HASH> 100644
--- a/satpy/enhancements/__init__.py
+++ b/satpy/enhancements/__init__.py
@@ -104,7 +104,7 @@ def apply_enhancement(data, func, exclude=None, separate=False,
# combine the new data with the excluded data
... | Add enhancement file with actual fix for numpy arrays being returned | py |
diff --git a/multidict/__init__.py b/multidict/__init__.py
index <HASH>..<HASH> 100644
--- a/multidict/__init__.py
+++ b/multidict/__init__.py
@@ -10,7 +10,7 @@ import os
__all__ = ('MultiDictProxy', 'CIMultiDictProxy',
'MultiDict', 'CIMultiDict', 'upstr', 'istr')
-__version__ = '3.1.4a2'
+__version__ = ... | Bump to <I>a3 | py |
diff --git a/pyvim/io/backends.py b/pyvim/io/backends.py
index <HASH>..<HASH> 100644
--- a/pyvim/io/backends.py
+++ b/pyvim/io/backends.py
@@ -4,7 +4,7 @@ import codecs
import gzip
import os
import six
-import urllib2
+from six.moves import urllib
from .base import EditorIO
@@ -142,8 +142,7 @@ class HttpIO(Edit... | Fix python 3/2 compatibility for urllib. Under python3 the urllib2 package doesn't exist anymore. Used the six alias for it which mimic the python3 api. | py |
diff --git a/tests/test_settings.py b/tests/test_settings.py
index <HASH>..<HASH> 100644
--- a/tests/test_settings.py
+++ b/tests/test_settings.py
@@ -9,3 +9,7 @@ DATABASES = {
'ENGINE': 'django.db.backends.sqlite3',
}
}
+
+PASSWORD_HASHERS = (
+ 'django.contrib.auth.hashers.MD5PasswordHasher',
+) | use md5 password hasher to speed up the tests | py |
diff --git a/conf.py b/conf.py
index <HASH>..<HASH> 100644
--- a/conf.py
+++ b/conf.py
@@ -47,7 +47,7 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
-project = u'QIIME-Tools'
+project = u'qiime-tools'
copyright = u'2013, Shareef Dabdoub'
# The version info for the projec... | Changes capitalization of project title, theme to sphinxdoc. | py |
diff --git a/rootpy/tree/tests/test_tree.py b/rootpy/tree/tests/test_tree.py
index <HASH>..<HASH> 100644
--- a/rootpy/tree/tests/test_tree.py
+++ b/rootpy/tree/tests/test_tree.py
@@ -3,8 +3,8 @@ from rootpy.math.physics.vector import LorentzVector
from rootpy.tree import Tree, TreeModel, TreeChain
from rootpy.io impo... | use floats in attr test | py |
diff --git a/workshift/models.py b/workshift/models.py
index <HASH>..<HASH> 100644
--- a/workshift/models.py
+++ b/workshift/models.py
@@ -382,6 +382,10 @@ class RegularWorkshift(models.Model):
days = WeekdayField(
help_text="The days of the week when this workshift takes place.",
)
+ count = models.PositiveSma... | Added "count" to RegularWorkshift | py |
diff --git a/icekit_events/event_types/simple/event_type_plugins.py b/icekit_events/event_types/simple/event_type_plugins.py
index <HASH>..<HASH> 100644
--- a/icekit_events/event_types/simple/event_type_plugins.py
+++ b/icekit_events/event_types/simple/event_type_plugins.py
@@ -5,3 +5,4 @@ from icekit_events.admin impo... | Give default events plugin a sort priority | py |
diff --git a/openxc/generator/structures.py b/openxc/generator/structures.py
index <HASH>..<HASH> 100644
--- a/openxc/generator/structures.py
+++ b/openxc/generator/structures.py
@@ -205,7 +205,10 @@ class Signal(object):
self.offset = data.get('offset', self.offset)
self.min_value = data.get('min_val... | Allow using the 'ignore' flag in mappings along with states. | py |
diff --git a/src/transformers/modeling_utils.py b/src/transformers/modeling_utils.py
index <HASH>..<HASH> 100644
--- a/src/transformers/modeling_utils.py
+++ b/src/transformers/modeling_utils.py
@@ -704,14 +704,15 @@ class PreTrainedModel(nn.Module, ModuleUtilsMixin, GenerationMixin, PushToHubMix
main_input_name =... | [modeling_utils] better explanation of ignore keys (#<I>) | py |
diff --git a/tests/integration/test_new.py b/tests/integration/test_new.py
index <HASH>..<HASH> 100644
--- a/tests/integration/test_new.py
+++ b/tests/integration/test_new.py
@@ -1356,6 +1356,8 @@ def test_new_add_fp_no_rr_name():
iso.add_fp(BytesIO(foostr), len(foostr), '/FOO.;1')
assert(str(excinfo.valu... | Add in missing iso.close() on a couple of tests. | py |
diff --git a/python/ray/memory_monitor.py b/python/ray/memory_monitor.py
index <HASH>..<HASH> 100644
--- a/python/ray/memory_monitor.py
+++ b/python/ray/memory_monitor.py
@@ -54,7 +54,9 @@ class RayOutOfMemoryError(Exception):
round(get_shared(psutil.virtual_memory()) / (1024**3), 2))
... | Add tip on how to disable Ray OOM handler (#<I>) | py |
diff --git a/charmhelpers/fetch/__init__.py b/charmhelpers/fetch/__init__.py
index <HASH>..<HASH> 100644
--- a/charmhelpers/fetch/__init__.py
+++ b/charmhelpers/fetch/__init__.py
@@ -96,7 +96,8 @@ def apt_hold(packages, fatal=False):
def add_source(source, key=None):
if (source.startswith('ppa:') or
sour... | make 'cloud-archive' recognized as a 'apt-add-repository' source now if 'add_source' is called with 'cloud-archive:FOO' then it will use add-apt-repository. | py |
diff --git a/microsoftbotframework/msbot.py b/microsoftbotframework/msbot.py
index <HASH>..<HASH> 100644
--- a/microsoftbotframework/msbot.py
+++ b/microsoftbotframework/msbot.py
@@ -25,7 +25,7 @@ class MsBot:
if valid_token:
json_message = request.get_json()
- self.app.lo... | Placed headers in a dict | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.