diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/scout/server/links.py b/scout/server/links.py
index <HASH>..<HASH> 100644
--- a/scout/server/links.py
+++ b/scout/server/links.py
@@ -372,7 +372,7 @@ def cosmic_link(variant_obj):
else:
cosmic_id = cosmic_ids[0]
- if cosmic_id.startswith("COSM") or cosmic_id.startswith("COSV") or cosmic_... | merge all cosv, cosm, and cosn into cos | py |
diff --git a/tests/soak_test/map_soak_test.py b/tests/soak_test/map_soak_test.py
index <HASH>..<HASH> 100644
--- a/tests/soak_test/map_soak_test.py
+++ b/tests/soak_test/map_soak_test.py
@@ -13,7 +13,12 @@ import random
from hazelcast.client import HazelcastClient
from hazelcast.serialization.api import IdentifiedDat... | Fix SOAK test script (#<I>) The Python script we are using were trying to import something from the test package. That was not good because inside the `__init__` file of the test package, we define a global logger config that we want to use in tests. But, in the SOAK test, we are using some other logger config. ... | py |
diff --git a/pysat/instruments/methods/testing.py b/pysat/instruments/methods/testing.py
index <HASH>..<HASH> 100644
--- a/pysat/instruments/methods/testing.py
+++ b/pysat/instruments/methods/testing.py
@@ -312,8 +312,15 @@ def define_range():
def modify_file_list_support(self):
- """Support modifying file list... | STY: Tweak docstring | py |
diff --git a/src/tests/conftest.py b/src/tests/conftest.py
index <HASH>..<HASH> 100644
--- a/src/tests/conftest.py
+++ b/src/tests/conftest.py
@@ -30,8 +30,8 @@ import pytest
# Globally available fixtures
-@pytest.fixture
-def logger(scope='session'):
+@pytest.fixture(scope='session')
+def logger():
"""Test l... | :bug: moved fixture scope to the decorator, where it belongs | py |
diff --git a/indra/pipeline/pipeline.py b/indra/pipeline/pipeline.py
index <HASH>..<HASH> 100644
--- a/indra/pipeline/pipeline.py
+++ b/indra/pipeline/pipeline.py
@@ -15,6 +15,14 @@ class AssemblyPipeline():
Ways to initialize and run the pipeline (examples assume you have a list
of INDRA Statements stored in... | Provide stmts for examples | py |
diff --git a/django_elasticache/cluster_utils.py b/django_elasticache/cluster_utils.py
index <HASH>..<HASH> 100644
--- a/django_elasticache/cluster_utils.py
+++ b/django_elasticache/cluster_utils.py
@@ -27,7 +27,7 @@ def get_cluster_info(host, port):
'version': '1.4.4'
}
"""
- client = Telnet(host... | add port convertion to int | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -11,10 +11,14 @@
# All configuration values have a default; values that are commented out
# serve to show the default.
-import sys, os
-import zinnia
+import os
+import sys
from datetime import date
+sys... | fixing import of zinnia in sphinx | py |
diff --git a/examples/wordcount/new_api/wordcount_full.py b/examples/wordcount/new_api/wordcount_full.py
index <HASH>..<HASH> 100755
--- a/examples/wordcount/new_api/wordcount_full.py
+++ b/examples/wordcount/new_api/wordcount_full.py
@@ -151,12 +151,14 @@ factory = pp.Factory(mapper_class=Mapper, reducer_class=Reducer... | wordcount_full: flycheck | py |
diff --git a/tests/test_mturk.py b/tests/test_mturk.py
index <HASH>..<HASH> 100644
--- a/tests/test_mturk.py
+++ b/tests/test_mturk.py
@@ -409,6 +409,7 @@ class TestMTurkServiceIntegrationSmokeTest(object):
calls. For comprehensive system tests, run with the --mturkfull option.
"""
+ @pytest.mark.flaky(r... | Re-run the MTurk integration smoke test up to 3 times | py |
diff --git a/keras_text/data.py b/keras_text/data.py
index <HASH>..<HASH> 100644
--- a/keras_text/data.py
+++ b/keras_text/data.py
@@ -17,7 +17,7 @@ class Dataset(object):
def __init__(self, inputs, labels, test_indices=None, **kwargs):
"""Encapsulates all pieces of data to run an experiment. This is ba... | Placate flake8 by removing a trailing space character | py |
diff --git a/container/docker/engine.py b/container/docker/engine.py
index <HASH>..<HASH> 100644
--- a/container/docker/engine.py
+++ b/container/docker/engine.py
@@ -588,7 +588,7 @@ class Engine(BaseEngine):
# To ensure version compatibility, we have to generate the kwargs ourselves
client_kw... | Repetitous redundancy repeated. | py |
diff --git a/ELiDE/ELiDE/board/board.py b/ELiDE/ELiDE/board/board.py
index <HASH>..<HASH> 100644
--- a/ELiDE/ELiDE/board/board.py
+++ b/ELiDE/ELiDE/board/board.py
@@ -690,7 +690,8 @@ class Board(RelativeLayout):
patch['_offys'] = zeroes
if '_stackhs' not in thing:
... | Keep add_new_pawns from submitting a nodes_patch needlessly | py |
diff --git a/bin/pip_constraint_helpers.py b/bin/pip_constraint_helpers.py
index <HASH>..<HASH> 100644
--- a/bin/pip_constraint_helpers.py
+++ b/bin/pip_constraint_helpers.py
@@ -9,6 +9,8 @@ import sys
PYTHON_IMPLEMENTATION_MAP = {
'cpython': 'cp',
+ 'ironpython': 'ip',
+ 'jython': 'jy',
'python': 'p... | Add IronPython and Jython to implementation map | py |
diff --git a/calloway/apps/custom_registration/backends/email/__init__.py b/calloway/apps/custom_registration/backends/email/__init__.py
index <HASH>..<HASH> 100644
--- a/calloway/apps/custom_registration/backends/email/__init__.py
+++ b/calloway/apps/custom_registration/backends/email/__init__.py
@@ -193,6 +193,7 @@ c... | Fixes to the post registration redirect for the custom registration | py |
diff --git a/TeamComp/main.py b/TeamComp/main.py
index <HASH>..<HASH> 100644
--- a/TeamComp/main.py
+++ b/TeamComp/main.py
@@ -99,7 +99,7 @@ def download_matches(json_conf, configuration_file_path, do_store_state=True):
store.store(match.to_json(sort_keys=False,indent=None), match_min_tier)
... | Fixed a misuse of operators for set. Using += instead of update | py |
diff --git a/parsl/executors/high_throughput/executor.py b/parsl/executors/high_throughput/executor.py
index <HASH>..<HASH> 100644
--- a/parsl/executors/high_throughput/executor.py
+++ b/parsl/executors/high_throughput/executor.py
@@ -128,7 +128,7 @@ class HighThroughputExecutor(ParslExecutor, RepresentationMixin):
... | Change 'engines' to 'blocks' Fixes #<I>. | py |
diff --git a/toml/decoder.py b/toml/decoder.py
index <HASH>..<HASH> 100644
--- a/toml/decoder.py
+++ b/toml/decoder.py
@@ -78,8 +78,12 @@ def _strictly_valid_num(n):
return False
if len(n) == 1:
return True
- if n[0] == '0' and n[1] != '.':
- return False
+ if n[0] == '0':
+ i... | added support for hexadecimal, octal and binary numbers solving issue #<I> | py |
diff --git a/pyinter/interval_set.py b/pyinter/interval_set.py
index <HASH>..<HASH> 100644
--- a/pyinter/interval_set.py
+++ b/pyinter/interval_set.py
@@ -91,13 +91,7 @@ class IntervalSet(object):
"""
if other.empty():
return
- # If the other is a collection of intervals add them o... | simplyfy implementation slightly and change to add() so that we do not use exceptions for control flow (it will only add intervals to the interval set and can not add interval sets) | py |
diff --git a/blimpy/file_wrapper.py b/blimpy/file_wrapper.py
index <HASH>..<HASH> 100644
--- a/blimpy/file_wrapper.py
+++ b/blimpy/file_wrapper.py
@@ -217,15 +217,17 @@ class Reader(object):
# or actually as is currently
# if self.header['telescope_id'] == 6:
- # For 3 Hz channels we are usin... | Pushing back new implementation. Since not all 3Hz data has 2^<I> FFT lengths. | py |
diff --git a/mistletoe/block_token.py b/mistletoe/block_token.py
index <HASH>..<HASH> 100644
--- a/mistletoe/block_token.py
+++ b/mistletoe/block_token.py
@@ -256,7 +256,7 @@ class CodeFence(BlockToken):
if not match_obj:
return False
prepend, leader, lang = match_obj.groups()
- if... | fully compliant CodeFence (#<I>) | py |
diff --git a/openag/var_types.py b/openag/var_types.py
index <HASH>..<HASH> 100644
--- a/openag/var_types.py
+++ b/openag/var_types.py
@@ -1,13 +1,13 @@
__all__ = ["EnvVars"]
class EnvVar:
- items = set()
+ items = {}
def __init__(self, name, description, units=None):
self.name = name
... | EnvVar.items is now a dict instead of a set | py |
diff --git a/spacy/pt/stop_words.py b/spacy/pt/stop_words.py
index <HASH>..<HASH> 100644
--- a/spacy/pt/stop_words.py
+++ b/spacy/pt/stop_words.py
@@ -27,7 +27,7 @@ geral grande grandes grupo
hoje horas há
-iniciar inicio ir irá isso ista isto já
+iniciar inicio ir irá isso isto já
lado ligado local logo longe ... | Remove "ista" from portuguese stop words | py |
diff --git a/test/test_mdf.py b/test/test_mdf.py
index <HASH>..<HASH> 100644
--- a/test/test_mdf.py
+++ b/test/test_mdf.py
@@ -3,6 +3,7 @@ import os
import unittest
from asammdf import MDF
+from vectors import signals
class TestMDF(unittest.TestCase): | add back the signals - too much clean will kill you | py |
diff --git a/graphite_api/functions.py b/graphite_api/functions.py
index <HASH>..<HASH> 100644
--- a/graphite_api/functions.py
+++ b/graphite_api/functions.py
@@ -396,7 +396,7 @@ def percentileOfSeries(requestContext, seriesList, n, interpolate=False):
if not seriesList:
return []
- name = 'percentil... | Fix percentileOfSeries naming inconsistency | py |
diff --git a/numina/array/wavecalib/check_wlcalib.py b/numina/array/wavecalib/check_wlcalib.py
index <HASH>..<HASH> 100644
--- a/numina/array/wavecalib/check_wlcalib.py
+++ b/numina/array/wavecalib/check_wlcalib.py
@@ -461,13 +461,18 @@ def check_wlcalib_sp(sp, crpix1, crval1, cdelt1, wv_master,
if debugpl... | Refit polynomial calibration correction automatically | py |
diff --git a/kerncraft/cacheprediction.py b/kerncraft/cacheprediction.py
index <HASH>..<HASH> 100755
--- a/kerncraft/cacheprediction.py
+++ b/kerncraft/cacheprediction.py
@@ -206,7 +206,7 @@ def canonical_relational(rel):
lhs /= max(gcd, -gcd)
rhs /= max(gcd, -gcd)
- rel = sympy.relational.Relati... | removed depricated sympy api | py |
diff --git a/buildbot/schedulers/timed.py b/buildbot/schedulers/timed.py
index <HASH>..<HASH> 100644
--- a/buildbot/schedulers/timed.py
+++ b/buildbot/schedulers/timed.py
@@ -258,6 +258,11 @@ class Nightly(base.BaseScheduler, base.ClassifierMixin, TimedBuildMixin):
return
relevant_changes ... | Don't fire Nightly scheduler when onlyIfChanged is set and no changes on branch | py |
diff --git a/globus_cli/parser/command_tree.py b/globus_cli/parser/command_tree.py
index <HASH>..<HASH> 100644
--- a/globus_cli/parser/command_tree.py
+++ b/globus_cli/parser/command_tree.py
@@ -182,7 +182,7 @@ def _add_subcommands(parser, commandset):
# we start with a subparser collection named "Commands"
s... | Fix error output on partial commands Empty metavar and missing dest results in bad output on some pythons when given a partial command. | py |
diff --git a/flask_pusher.py b/flask_pusher.py
index <HASH>..<HASH> 100644
--- a/flask_pusher.py
+++ b/flask_pusher.py
@@ -53,6 +53,7 @@ class Pusher(object):
app.config.setdefault("PUSHER_HOST", '')
app.config.setdefault("PUSHER_PORT", '')
app.config.setdefault("PUSHER_AUTH", '/auth')
+ ... | Update flask_pusher.py Added SSL config option. | py |
diff --git a/SpiffWorkflow/workflow.py b/SpiffWorkflow/workflow.py
index <HASH>..<HASH> 100644
--- a/SpiffWorkflow/workflow.py
+++ b/SpiffWorkflow/workflow.py
@@ -226,11 +226,6 @@ class Workflow(object):
self.task_tree.internal_data['messages'][message_name] = (payload,resultVar)
self.refresh_wait... | The code I had to make a signal or message fire multiple times causes problems on some tests. I believe that we wanted to catch the event ANY time that the task was active - I think we need to look at this again. | py |
diff --git a/Lib/fontParts/base/contour.py b/Lib/fontParts/base/contour.py
index <HASH>..<HASH> 100644
--- a/Lib/fontParts/base/contour.py
+++ b/Lib/fontParts/base/contour.py
@@ -170,11 +170,11 @@ class BaseContour(BaseObject, TransformationMixin, InterpolationMixin,
# Pens
# ----
- def draw(self, pen, *... | Remove **kwargs from public pen methods. | py |
diff --git a/pyqode/cobol/modes/goto.py b/pyqode/cobol/modes/goto.py
index <HASH>..<HASH> 100644
--- a/pyqode/cobol/modes/goto.py
+++ b/pyqode/cobol/modes/goto.py
@@ -73,7 +73,7 @@ class GoToDefinitionMode(Mode, QObject):
self._timer.request_job(self.word_clicked.emit, cursor)
def find_definitio... | Fix pyQode/pyQode#<I> Click on word is now case insensitive | py |
diff --git a/looper/models.py b/looper/models.py
index <HASH>..<HASH> 100644
--- a/looper/models.py
+++ b/looper/models.py
@@ -329,6 +329,7 @@ class Project(AttributeDict):
self.config, self.paths = None, None # Set by config parsing call.
self.parse_config_file(subproject)
+ # DEBUG dupli... | when is make_project_dirs being called | py |
diff --git a/spyder/plugins/completion/languageserver/plugin.py b/spyder/plugins/completion/languageserver/plugin.py
index <HASH>..<HASH> 100644
--- a/spyder/plugins/completion/languageserver/plugin.py
+++ b/spyder/plugins/completion/languageserver/plugin.py
@@ -88,7 +88,7 @@ class LanguageServerPlugin(SpyderCompletion... | LSP: Uncomment line that was commented by mistake | py |
diff --git a/command/bdist_wininst.py b/command/bdist_wininst.py
index <HASH>..<HASH> 100644
--- a/command/bdist_wininst.py
+++ b/command/bdist_wininst.py
@@ -283,6 +283,7 @@ class bdist_wininst (Command):
else:
installer_name = os.path.join(self.dist_dir,
... | The get_installer_filename() method forgot to return the name it calculates. Spotted by Cort Danger Stratton. | py |
diff --git a/atomic_reactor/utils/koji.py b/atomic_reactor/utils/koji.py
index <HASH>..<HASH> 100644
--- a/atomic_reactor/utils/koji.py
+++ b/atomic_reactor/utils/koji.py
@@ -388,7 +388,7 @@ def get_remote_sources_json_output(workflow):
remote_source_json_filename = remote_source_json['filename']
file... | Fix reference to raw json for remote-source.json file A bug introduced in <URL> | py |
diff --git a/ibis/impala/kudu_support.py b/ibis/impala/kudu_support.py
index <HASH>..<HASH> 100644
--- a/ibis/impala/kudu_support.py
+++ b/ibis/impala/kudu_support.py
@@ -55,7 +55,8 @@ class KuduImpalaInterface(object):
def table_exists(self, name):
return self.client.table_exists(name)
- def connect... | BUG: kudu.connect API usage is incorrect in kudu_support.py relates to the issue i created closes #<I> | py |
diff --git a/salt/modules/textfsm_mod.py b/salt/modules/textfsm_mod.py
index <HASH>..<HASH> 100644
--- a/salt/modules/textfsm_mod.py
+++ b/salt/modules/textfsm_mod.py
@@ -14,7 +14,7 @@ inside the renderer (Jinja, Mako, Genshi, etc.).
.. note::
For Python 2/3 compatibility, it is more recommended to
- install... | Clitable is now part of the textfsm library | py |
diff --git a/salt/config.py b/salt/config.py
index <HASH>..<HASH> 100644
--- a/salt/config.py
+++ b/salt/config.py
@@ -297,7 +297,7 @@ DEFAULT_MINION_OPTS = {
'retry_dns': 30,
'recon_max': 5000,
'recon_default': 100,
- 'recon_randomize': False,
+ 'recon_randomize': True,
'win_repo_cachefile': ... | Randomize minion reconnects by default | py |
diff --git a/graypy/__init__.py b/graypy/__init__.py
index <HASH>..<HASH> 100644
--- a/graypy/__init__.py
+++ b/graypy/__init__.py
@@ -26,4 +26,4 @@ except ImportError:
pass # amqplib is probably not installed
-__version__ = (2, 0, 0)
+__version__ = (2, 1, 0) | bumping to version `<I>` | py |
diff --git a/argonauts/testutils.py b/argonauts/testutils.py
index <HASH>..<HASH> 100644
--- a/argonauts/testutils.py
+++ b/argonauts/testutils.py
@@ -4,7 +4,7 @@ import functools
from django.conf import settings
from django.test import Client, TestCase
-__all__ = ['JsonTestClient', 'JsonTestCase']
+__all__ = ['Jso... | Make the TestCase a mixin | py |
diff --git a/simuvex/s_irsb.py b/simuvex/s_irsb.py
index <HASH>..<HASH> 100644
--- a/simuvex/s_irsb.py
+++ b/simuvex/s_irsb.py
@@ -42,6 +42,7 @@ class SimIRSB(SimRun):
self.last_imark = self.first_imark
self.addr = self.first_imark.addr
self.state.bbl_addr = self.addr
+ self.state.sim_... | reset sim_procedure on SimIRSB start | py |
diff --git a/test/test_execute.py b/test/test_execute.py
index <HASH>..<HASH> 100644
--- a/test/test_execute.py
+++ b/test/test_execute.py
@@ -130,6 +130,25 @@ counter = counter + 1
self.assertEqual(env.locals['counter'], 6)
self.assertEqual(env.locals['all_names'], "a b c a b c ")
self.asser... | test two-var for_each with variable as nested list | py |
diff --git a/src/pymola/backends/casadi/api.py b/src/pymola/backends/casadi/api.py
index <HASH>..<HASH> 100644
--- a/src/pymola/backends/casadi/api.py
+++ b/src/pymola/backends/casadi/api.py
@@ -260,7 +260,8 @@ def _load_model(model_folder: str, model_name: str, compiler_options: Dict[str,
variable = ... | Fix reading metadata of type DM Calling depends_on on a DM type variable will fail. Because a DM can never depend on any other variables, we can skip them. | py |
diff --git a/whoswho/utils.py b/whoswho/utils.py
index <HASH>..<HASH> 100644
--- a/whoswho/utils.py
+++ b/whoswho/utils.py
@@ -103,7 +103,7 @@ def make_ascii(word):
if sys.version_info < (3,0,0):
word = unicode(word)
else:
- word = word.decode('utf-8')
+ word = str(word)
normaliz... | Fix python 3 compatibility issue. | py |
diff --git a/cub/models.py b/cub/models.py
index <HASH>..<HASH> 100644
--- a/cub/models.py
+++ b/cub/models.py
@@ -3,10 +3,11 @@ from .transport import API, json, json_datetime_hook
def objects_from_json(json_content, api_key=None):
if isinstance(json_content, basestring):
- return objects_from_json(
- ... | objects_from_json should return original content in case of ValueError | py |
diff --git a/spiff/local/views.py b/spiff/local/views.py
index <HASH>..<HASH> 100644
--- a/spiff/local/views.py
+++ b/spiff/local/views.py
@@ -49,7 +49,9 @@ def register(request):
oldUser = User.objects.get(username__exact=userForm.cleaned_data['username'])
except ObjectDoesNotExist, e:
pass
- if ... | Show message when a username is taken during registration | py |
diff --git a/pefile.py b/pefile.py
index <HASH>..<HASH> 100644
--- a/pefile.py
+++ b/pefile.py
@@ -3074,7 +3074,7 @@ class PE:
varfileinfo_struct = stringfileinfo_struct
varfileinfo_struct.name = 'VarFileInfo'
- if varfileinfo_struct.Type == 1 and varfi... | -Extended the fix for Issue <I> and Issue <I> to also handle the VarFileInfo structure | py |
diff --git a/tests/test_tree_sequences.py b/tests/test_tree_sequences.py
index <HASH>..<HASH> 100644
--- a/tests/test_tree_sequences.py
+++ b/tests/test_tree_sequences.py
@@ -227,6 +227,13 @@ class testSamplePreservation(unittest.TestCase):
def test_Simulation(self):
self.assertEqual(self.pop.generation, ... | Add test of count_mutations with respect to ancient samples. | py |
diff --git a/yap/Target/Project.py b/yap/Target/Project.py
index <HASH>..<HASH> 100644
--- a/yap/Target/Project.py
+++ b/yap/Target/Project.py
@@ -61,10 +61,14 @@ class Project( Target ):
# target
def target( self, *list ):
for item in list:
- scope = PathScope.current
+ scope = PathScope.current
+ make... | Include checks for existence of Makefile.py | py |
diff --git a/pywal/set_colors.py b/pywal/set_colors.py
index <HASH>..<HASH> 100755
--- a/pywal/set_colors.py
+++ b/pywal/set_colors.py
@@ -43,13 +43,13 @@ def send_sequences(colors, vte):
for num, color in enumerate(colors["colors"].values())]
# Special colors.
+ # http://pod.tst.eu/http://c... | colors: Figured out what the escape sequences do. | py |
diff --git a/helium/__init__.py b/helium/__init__.py
index <HASH>..<HASH> 100644
--- a/helium/__init__.py
+++ b/helium/__init__.py
@@ -16,7 +16,7 @@ from .live_session import LiveSession
from .session import Session
from .metadata import Metadata, metadata
from .user import User
-from .timeseries import Timeseries, ... | Expose AggregateValue | py |
diff --git a/requests_ntlm/requests_ntlm.py b/requests_ntlm/requests_ntlm.py
index <HASH>..<HASH> 100644
--- a/requests_ntlm/requests_ntlm.py
+++ b/requests_ntlm/requests_ntlm.py
@@ -12,7 +12,7 @@ class HttpNtlmAuth(AuthBase):
:password - Password or hash in "ABCDABCDABCDABCD:ABCDABCDABCDABCD" format.
... | FIX: should set headers for current request Sometimes an error occurs about the headers global not existing, I believe that the headers dict in question belongs to the request object | py |
diff --git a/thermohw/convert_thermo_hw.py b/thermohw/convert_thermo_hw.py
index <HASH>..<HASH> 100644
--- a/thermohw/convert_thermo_hw.py
+++ b/thermohw/convert_thermo_hw.py
@@ -174,6 +174,7 @@ assignment_pdf_exp = PDFExporter(
ExtractOutputPreprocessor(config=c)],
config=c,
)
+assignment_pdf... | Set the build_directory of the writer for the PDF exporter This change causes the PDF exporter to write any temporary files (including images and the TeX file) into a temp directory, rather than in the working directory | py |
diff --git a/three/three.py b/three/three.py
index <HASH>..<HASH> 100644
--- a/three/three.py
+++ b/three/three.py
@@ -147,8 +147,9 @@ class Three(object):
"""
Post a new Open311 request.
- >>> Three('api.city.gov').post('123', address='123 Any St',
- ... nam... | It now works with SeeClickFix | py |
diff --git a/salt/modules/kubernetes.py b/salt/modules/kubernetes.py
index <HASH>..<HASH> 100644
--- a/salt/modules/kubernetes.py
+++ b/salt/modules/kubernetes.py
@@ -121,8 +121,12 @@ def _setup_conn(**kwargs):
def _cleanup(**kwargs):
if 'kubeconfig' in kwargs:
kubeconfig = kwargs.get('kubeconfig')
- ... | log error when removing of kubeconfig file failed | py |
diff --git a/tohu/__init__.py b/tohu/__init__.py
index <HASH>..<HASH> 100644
--- a/tohu/__init__.py
+++ b/tohu/__init__.py
@@ -1,9 +1,8 @@
-import logging
-
from .base import *
from .generators import *
from .derived_generators import *
from .custom_generator import CustomGenerator
+from .v4.logging import logger
... | Avoid creating two loggers with the same name (to avoid duplicate messages) | py |
diff --git a/delphin/__about__.py b/delphin/__about__.py
index <HASH>..<HASH> 100644
--- a/delphin/__about__.py
+++ b/delphin/__about__.py
@@ -3,7 +3,7 @@
# the warehouse project:
# https://github.com/pypa/warehouse/blob/master/warehouse/__about__.py
-__version__ = '0.9.2'
+__version__ = '1.0.0-beta1'
__version_... | Add <I>-beta1 version (not a symbolic commit, just thought I should do this sooner than later) | py |
diff --git a/runcommands/command.py b/runcommands/command.py
index <HASH>..<HASH> 100644
--- a/runcommands/command.py
+++ b/runcommands/command.py
@@ -556,9 +556,7 @@ class Command:
def parameters(self):
implementation = self.implementation
signature = inspect.signature(implementation)
- p... | Simplify Command.parameters The result of `inspect.signature()` is already an ordered dict, so there's no need to create a new ordered dict from it. | py |
diff --git a/tests/result_storages/test_no_storage.py b/tests/result_storages/test_no_storage.py
index <HASH>..<HASH> 100644
--- a/tests/result_storages/test_no_storage.py
+++ b/tests/result_storages/test_no_storage.py
@@ -16,7 +16,7 @@ from thumbor.result_storages.no_storage import Storage as NoStorage
from tests.bas... | RestultStorageTestCase is not a FilterTestCase | py |
diff --git a/fatbotslim/log.py b/fatbotslim/log.py
index <HASH>..<HASH> 100644
--- a/fatbotslim/log.py
+++ b/fatbotslim/log.py
@@ -19,15 +19,16 @@
import logging
-def create_logger(name):
+def create_logger(name, level='INFO'):
formatter = logging.Formatter(
- '%(asctime)s [%(name)s] %(levelname)s - %(... | allow to pass desired log level to the logger factory function | py |
diff --git a/omrdatasettools/converters/ImageInverter.py b/omrdatasettools/converters/ImageInverter.py
index <HASH>..<HASH> 100644
--- a/omrdatasettools/converters/ImageInverter.py
+++ b/omrdatasettools/converters/ImageInverter.py
@@ -19,10 +19,10 @@ class ImageInverter:
:param image_directory: The directory, ... | Using better description for image inversion | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,7 @@ except ImportError:
setup(
name="WebDispatch",
- version="0.0",
+ version="1.0a2",
test_suite="webdispatch",
license="MIT",
install_requires=requires, | prep for <I>a2 | py |
diff --git a/phono3py/file_IO.py b/phono3py/file_IO.py
index <HASH>..<HASH> 100644
--- a/phono3py/file_IO.py
+++ b/phono3py/file_IO.py
@@ -47,8 +47,7 @@ def write_disp_fc3_yaml(dataset, supercell, filename='disp_fc3.yaml'):
if 'duplicates' in dataset:
w.write("duplicates:\n")
for i in dataset['du... | Minor fix following previous change of displacement_id in dataset | py |
diff --git a/discord/gateway.py b/discord/gateway.py
index <HASH>..<HASH> 100644
--- a/discord/gateway.py
+++ b/discord/gateway.py
@@ -721,9 +721,7 @@ class DiscordVoiceWebSocket(websockets.client.WebSocketClientProtocol):
ip_end = recv.index(0, ip_start)
state.ip = recv[ip_start:ip_end].decode('ascii... | The port is a big endian unsigned short. See <URL> | py |
diff --git a/cltk/lemmatize/old_english/lemma.py b/cltk/lemmatize/old_english/lemma.py
index <HASH>..<HASH> 100644
--- a/cltk/lemmatize/old_english/lemma.py
+++ b/cltk/lemmatize/old_english/lemma.py
@@ -65,7 +65,7 @@ class OldEnglishDictioraryLemmatizer(object):
self.type_counts[word] = count
- def lemmatiz... | pseudo-hid a method to hopefully zero coverage drop | py |
diff --git a/pythonforandroid/__init__.py b/pythonforandroid/__init__.py
index <HASH>..<HASH> 100644
--- a/pythonforandroid/__init__.py
+++ b/pythonforandroid/__init__.py
@@ -1,2 +1,2 @@
-__version__ = '0.7.0'
+__version__ = '0.7.1' | Updated version to <I> | py |
diff --git a/gitenberg/push.py b/gitenberg/push.py
index <HASH>..<HASH> 100644
--- a/gitenberg/push.py
+++ b/gitenberg/push.py
@@ -7,6 +7,7 @@ Syncs a local git book repo to a remote git repo (by default, github)
import base64
import datetime
import logging
+import re
from cryptography.hazmat.backends import defa... | github descriptions can't be multiline | py |
diff --git a/indra/db/content_manager.py b/indra/db/content_manager.py
index <HASH>..<HASH> 100644
--- a/indra/db/content_manager.py
+++ b/indra/db/content_manager.py
@@ -219,7 +219,8 @@ class NihFtpClient(object):
if not self.is_local:
with self.get_ftp_connection(ftp_path) as ftp:
... | Ignore hidden files in timestamp ftp ls. | py |
diff --git a/dateparser/parser.py b/dateparser/parser.py
index <HASH>..<HASH> 100644
--- a/dateparser/parser.py
+++ b/dateparser/parser.py
@@ -271,7 +271,6 @@ class _parser(object):
for token, type, _ in self.unset_tokens:
if type == 0:
params.update({attr: int(token)}... | Remove parser.py line of unknown purpose causing TypeError (#<I>) | py |
diff --git a/uproot/interp/auto.py b/uproot/interp/auto.py
index <HASH>..<HASH> 100644
--- a/uproot/interp/auto.py
+++ b/uproot/interp/auto.py
@@ -193,6 +193,9 @@ def interpret(branch, swapbytes=True):
if len(branch.fBranches) > 0 and all(len(x.fLeaves) == 1 and x.fLeaves[0].fLeafCount is branch.fLeaves[0]... | Detects as TStreamerObject. Need to change that to actual object | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -101,7 +101,7 @@ setuptools.setup(
},
classifiers=[
- "Development Status :: 3 - Alpha",
+ "Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: ... | Change development status from alpha to beta | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,7 +1,7 @@
from setuptools import setup, find_packages
setup(name="django-smart-selects",
- version="1.2.0",
+ version="1.2.1",
description="Django application to handle chained model fields.",
au... | [feature] revise version number | py |
diff --git a/flask_oidc/__init__.py b/flask_oidc/__init__.py
index <HASH>..<HASH> 100644
--- a/flask_oidc/__init__.py
+++ b/flask_oidc/__init__.py
@@ -270,7 +270,8 @@ class OpenIDConnect(object):
# step 12-13: not requested acr or auth_time, so not needed to test
# additional steps specific to our u... | If no Google Apps domain was specified, allow any Previously, if no Google Apps domain was specified, we only allowed accounts that are not in any. | py |
diff --git a/src/libfuturize/main.py b/src/libfuturize/main.py
index <HASH>..<HASH> 100644
--- a/src/libfuturize/main.py
+++ b/src/libfuturize/main.py
@@ -70,7 +70,7 @@ import logging
import optparse
import os
-from lib2to3.main import main, warn, StdoutRefactoringTool
+from lib2to3.main import warn, StdoutRefactor... | Remove an unnecessary 'main' import We don't use lib2to3.main.main, and we define our own main() which was shadowing this import. | py |
diff --git a/tests/test_models.py b/tests/test_models.py
index <HASH>..<HASH> 100644
--- a/tests/test_models.py
+++ b/tests/test_models.py
@@ -277,8 +277,8 @@ class TestModels(object):
assert info1.origin_uuid == info2.origin_uuid
assert info1.creation_time != info2.creation_time
assert info1... | Info: tests, replace .transmissions with transmissions() | py |
diff --git a/h2o-py/h2o/estimators/xgboost.py b/h2o-py/h2o/estimators/xgboost.py
index <HASH>..<HASH> 100644
--- a/h2o-py/h2o/estimators/xgboost.py
+++ b/h2o-py/h2o/estimators/xgboost.py
@@ -1290,6 +1290,20 @@ class H2OXGBoostEstimator(H2OEstimator):
decreasing constraint.
Type: ``dict``.
+
+ ... | PUBDEV-<I>: added example | py |
diff --git a/lib/webinterface_layout.py b/lib/webinterface_layout.py
index <HASH>..<HASH> 100644
--- a/lib/webinterface_layout.py
+++ b/lib/webinterface_layout.py
@@ -30,7 +30,8 @@ __revision__ = \
from invenio.webinterface_handler import create_handler
from invenio.websearch_webinterface import WebInterfaceSearchI... | First release of unAPI. New unAPI handler (to support Zotero Firefox plugin). New MODS exporter. | py |
diff --git a/ipyvolume/pylab.py b/ipyvolume/pylab.py
index <HASH>..<HASH> 100644
--- a/ipyvolume/pylab.py
+++ b/ipyvolume/pylab.py
@@ -153,7 +153,7 @@ def quiver(x, y, z, u, v, w, size=default_size*10, size_selected=default_size_se
"""
fig = gcf()
_grow_limits(x, y, z)
- scatter = volume.Scatter(x=x.flatten(), y=... | change: quiver shouldn't flatten anymore, it will not work with sequences | py |
diff --git a/cartouche/sphinxext.py b/cartouche/sphinxext.py
index <HASH>..<HASH> 100644
--- a/cartouche/sphinxext.py
+++ b/cartouche/sphinxext.py
@@ -3,6 +3,8 @@ from .parser import (rewrite_autodoc, builder_inited)
__author__ = 'Robert Smallshire'
def setup(app):
+ if not hasattr(app, 'add_config_value'):
... | Fix for issue #<I>: bail out of setup function if called by nose | py |
diff --git a/src/clldutils/_compat.py b/src/clldutils/_compat.py
index <HASH>..<HASH> 100644
--- a/src/clldutils/_compat.py
+++ b/src/clldutils/_compat.py
@@ -6,4 +6,4 @@ except ModuleNotFoundError: # pragma: no cover
def get_entrypoints(group):
eps = entry_points()
- return eps.select(group=group) if hasat... | fix potential bug where non-existing entry point groups are queried | py |
diff --git a/tests/test_flask_kvsession.py b/tests/test_flask_kvsession.py
index <HASH>..<HASH> 100644
--- a/tests/test_flask_kvsession.py
+++ b/tests/test_flask_kvsession.py
@@ -15,7 +15,12 @@ import time
from simplekv.memory import DictStore
from flask import Flask, session
-from flaskext.kvsession import generat... | Partial SessionID test. | py |
diff --git a/dosagelib/plugins/d.py b/dosagelib/plugins/d.py
index <HASH>..<HASH> 100644
--- a/dosagelib/plugins/d.py
+++ b/dosagelib/plugins/d.py
@@ -275,6 +275,7 @@ class DrFun(_BasicScraper):
prevSearch = compile(tagre("a", "href", r'([^"]+)') + 'Previous Week,')
help = 'Index format: nnnnn'
descripti... | DrFun is end-of-life. | py |
diff --git a/patchwork/connection.py b/patchwork/connection.py
index <HASH>..<HASH> 100644
--- a/patchwork/connection.py
+++ b/patchwork/connection.py
@@ -69,6 +69,12 @@ class Connection():
self.cli = paramiko.SSHClient()
self.cli.set_missing_host_key_policy(paramiko.AutoAddPolicy())
self.dis... | add debugging buffers: last_stdout, last_stderr, last_command | py |
diff --git a/athenacli/__init__.py b/athenacli/__init__.py
index <HASH>..<HASH> 100644
--- a/athenacli/__init__.py
+++ b/athenacli/__init__.py
@@ -1,2 +1,2 @@
-__version__ = '0.1.2'
+__version__ = '0.1.3' | Releasing version <I> | py |
diff --git a/pandas/tests/test_indexing.py b/pandas/tests/test_indexing.py
index <HASH>..<HASH> 100644
--- a/pandas/tests/test_indexing.py
+++ b/pandas/tests/test_indexing.py
@@ -1532,7 +1532,7 @@ class TestIndexing(unittest.TestCase):
# related 236
# scalar/slicing of a float index
- s = Ser... | TST: fix indexing test for windows failure | py |
diff --git a/project_generator/tools/gccarm.py b/project_generator/tools/gccarm.py
index <HASH>..<HASH> 100644
--- a/project_generator/tools/gccarm.py
+++ b/project_generator/tools/gccarm.py
@@ -131,10 +131,6 @@ class MakefileGccArm(Tool, Exporter):
if project_data['core'] == 'cortex-m0+':
project... | GCC ARM - optimization level removal - use common flags | py |
diff --git a/openquake/calculators/event_based.py b/openquake/calculators/event_based.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/event_based.py
+++ b/openquake/calculators/event_based.py
@@ -143,13 +143,10 @@ def compute_gmfs(ruptures, sitecol, rlzs_by_gsim, param, monitor):
"""
Compute GMFs a... | Changed compute_gmfs to not return the useless ruptures [skip hazardlib] | py |
diff --git a/tests/examples/collect_examples.py b/tests/examples/collect_examples.py
index <HASH>..<HASH> 100644
--- a/tests/examples/collect_examples.py
+++ b/tests/examples/collect_examples.py
@@ -200,16 +200,17 @@ def add_examples(list_of_examples, path, examples_dir, example_type=None, slow=N
elif name.end... | Refactor add_examples to collect app examples | py |
diff --git a/polymodels/__init__.py b/polymodels/__init__.py
index <HASH>..<HASH> 100644
--- a/polymodels/__init__.py
+++ b/polymodels/__init__.py
@@ -2,6 +2,6 @@ from __future__ import unicode_literals
from django.utils.version import get_version
-VERSION = (1, 4, 5, 'final', 0)
+VERSION = (1, 4, 6, 'alpha', 0)
... | Started <I> alpha development. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -70,15 +70,19 @@ if len(sys.argv) > 1 and sys.argv[1] == 'bdist_wininst':
for file_info in data_files:
file_info[0] = '\\PURELIB\\%s' % file_info[0]
-setup(name='django-bakery',
- version='0.2.2',
- d... | Updated to version <I> | py |
diff --git a/alignak/load.py b/alignak/load.py
index <HASH>..<HASH> 100644
--- a/alignak/load.py
+++ b/alignak/load.py
@@ -56,14 +56,14 @@ class Load:
without having to send value at regular interval
(but it's more efficient if you do this :) ) and without
having a list or other stuff. It's just an objec... | Enh: Pylint - C<I> in load.py | py |
diff --git a/stellar_base/transaction.py b/stellar_base/transaction.py
index <HASH>..<HASH> 100644
--- a/stellar_base/transaction.py
+++ b/stellar_base/transaction.py
@@ -132,7 +132,7 @@ class Transaction(object):
memo_type = tx_xdr_object.memo.type
memo_switch = tx_xdr_object.memo.switch
if ... | fix: import from xdr error(with text memo) | py |
diff --git a/insanities/web/url.py b/insanities/web/url.py
index <HASH>..<HASH> 100644
--- a/insanities/web/url.py
+++ b/insanities/web/url.py
@@ -85,30 +85,6 @@ class Integer(Converter):
return str(value)
-class Boolean(Converter):
- '''
- Translates on/off, true/false, True/False, yes/no strings to... | Impractical Boolean URL converter is removed | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -253,16 +253,16 @@ htmlhelp_basename = 'allantoolsdoc'
latex_elements = {
# The paper size ('letterpaper' or 'a4paper').
- #'papersize': 'letterpaper',
+ # 'papersize': 'letterpaper',
# The... | autopep8 doesn't help much? | py |
diff --git a/tools/profiling/microbenchmarks/bm_diff/bm_diff.py b/tools/profiling/microbenchmarks/bm_diff/bm_diff.py
index <HASH>..<HASH> 100755
--- a/tools/profiling/microbenchmarks/bm_diff/bm_diff.py
+++ b/tools/profiling/microbenchmarks/bm_diff/bm_diff.py
@@ -217,7 +217,7 @@ def diff(bms, loops, regex, track, old, n... | Fix typo (#<I>) | py |
diff --git a/stl/__about__.py b/stl/__about__.py
index <HASH>..<HASH> 100644
--- a/stl/__about__.py
+++ b/stl/__about__.py
@@ -1,6 +1,6 @@
__package_name__ = 'numpy-stl'
__import_name__ = 'stl'
-__version__ = '2.11.1'
+__version__ = '2.11.2'
__author__ = 'Rick van Hattem'
__author_email__ = 'Wolph@Wol.ph'
__descri... | Incrementing version to <I> | py |
diff --git a/openquake/hazardlib/imt.py b/openquake/hazardlib/imt.py
index <HASH>..<HASH> 100644
--- a/openquake/hazardlib/imt.py
+++ b/openquake/hazardlib/imt.py
@@ -82,6 +82,7 @@ IMT.__gt__ = lambda self, other: self[1] > other[1]
IMT.__le__ = lambda self, other: self[1] <= other[1]
IMT.__ge__ = lambda self, other:... | Added an IMT.frequency property [ci skip] | py |
diff --git a/mopidy_musicbox_webclient/web.py b/mopidy_musicbox_webclient/web.py
index <HASH>..<HASH> 100644
--- a/mopidy_musicbox_webclient/web.py
+++ b/mopidy_musicbox_webclient/web.py
@@ -41,17 +41,11 @@ class IndexHandler(tornado.web.RequestHandler):
'using %s', port)
ws... | Link to Alarm Clock: remove try/except from Alarm Clock detection hope this won't cause any issues with broken config | py |
diff --git a/heron/tools/explorer/src/python/logicalplan.py b/heron/tools/explorer/src/python/logicalplan.py
index <HASH>..<HASH> 100644
--- a/heron/tools/explorer/src/python/logicalplan.py
+++ b/heron/tools/explorer/src/python/logicalplan.py
@@ -69,6 +69,9 @@ def to_table(components, topo_info):
spouts_instance = t... | Fix heron-explorer components command. (#<I>) | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.