diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,6 +8,7 @@ setup( name = "PyLEMS", version = '0.3.5', packages = ['lems','lems.base','lems.model','lems.parser','lems.sim', 'lems.dlems'], + scripts=['pylems'], author = "PyLEMS authors and contributor...
Added scripts=['pylems'] to setup.py, so that the pylems executable scripts gets installed
py
diff --git a/rest_framework_jwt/authentication.py b/rest_framework_jwt/authentication.py index <HASH>..<HASH> 100644 --- a/rest_framework_jwt/authentication.py +++ b/rest_framework_jwt/authentication.py @@ -54,17 +54,17 @@ class JSONWebTokenAuthentication(BaseAuthentication): msg = 'Error decoding signatur...
Send complete payload to authenticate_credentials
py
diff --git a/dbmigrator/cli.py b/dbmigrator/cli.py index <HASH>..<HASH> 100644 --- a/dbmigrator/cli.py +++ b/dbmigrator/cli.py @@ -57,7 +57,7 @@ def main(argv=sys.argv[1:]): ], args) if not args.get('context') and not args.get('migrations_directory'): - args['context'] = os.path.basename(os.p...
Fix default context (working directory) being a string instead of a list utils.get_settings_from_entry_points expects a list.
py
diff --git a/sammy/__init__.py b/sammy/__init__.py index <HASH>..<HASH> 100644 --- a/sammy/__init__.py +++ b/sammy/__init__.py @@ -258,6 +258,16 @@ class SNS(Resource): class SQS(Resource): _resource_type = 'AWS::SQS::Queue' + + ContentBasedDeduplication = BooleanProperty() + DelaySeconds = IntForeignProp...
added all of the attributes for the SQS resource
py
diff --git a/bonsai/py/builder.py b/bonsai/py/builder.py index <HASH>..<HASH> 100644 --- a/bonsai/py/builder.py +++ b/bonsai/py/builder.py @@ -222,10 +222,12 @@ class PyBonsaiBuilder(object): return bonsai_node def finalize_PyFunctionCall(self, bonsai_node): - function_name = self.children[0] - ...
Fixing function calls not always being code references
py
diff --git a/angr/state_plugins/unicorn_engine.py b/angr/state_plugins/unicorn_engine.py index <HASH>..<HASH> 100644 --- a/angr/state_plugins/unicorn_engine.py +++ b/angr/state_plugins/unicorn_engine.py @@ -510,7 +510,7 @@ class Unicorn(SimStatePlugin): #l.debug('adding native hooks') _UC_NATIVE.hook(...
Fix type error in passing null pointer
py
diff --git a/axes/handlers/database.py b/axes/handlers/database.py index <HASH>..<HASH> 100644 --- a/axes/handlers/database.py +++ b/axes/handlers/database.py @@ -125,6 +125,7 @@ class AxesDatabaseHandler(AbstractAxesHandler, AxesBaseHandler): username=username, ip_address=request.axes...
Initiallize failures since start correctly
py
diff --git a/perseuspy/__init__.py b/perseuspy/__init__.py index <HASH>..<HASH> 100644 --- a/perseuspy/__init__.py +++ b/perseuspy/__init__.py @@ -8,6 +8,7 @@ Currently there is no support for the following Perseus matrix features: import perseuspy.dependent_peptides import perseuspy.io from perseuspy.io.perseus i...
import read/write from perseusNetwork
py
diff --git a/monstro/db/fields.py b/monstro/db/fields.py index <HASH>..<HASH> 100644 --- a/monstro/db/fields.py +++ b/monstro/db/fields.py @@ -19,6 +19,7 @@ __all__ = ( 'Array', 'MultipleChoice', 'URL', + 'RegexMatch', 'Host', 'Slug', 'Map', @@ -96,6 +97,11 @@ class URL(ModelField, fiel...
Added field RegexMatch to 'db' module.
py
diff --git a/blinkpy/api.py b/blinkpy/api.py index <HASH>..<HASH> 100644 --- a/blinkpy/api.py +++ b/blinkpy/api.py @@ -27,12 +27,12 @@ def request_login( "password": login_data["password"], "notification_key": login_data["notification_key"], "unique_id": login_data["uid"], - ...
Update app version and set reauth to True...should fix login problems
py
diff --git a/commands.py b/commands.py index <HASH>..<HASH> 100755 --- a/commands.py +++ b/commands.py @@ -84,6 +84,8 @@ def install_completion( @command def test(tests=(), fail_fast=False, with_coverage=True, with_lint=True): + original_working_directory = os.getcwd() + if tests: num_tests = len(t...
Restore original CWD after running tests in test command `unittest.TextTestRunner.run()` apparently changes CWD but doesn't revert it when it's done. This was causing the `lint()` command to report no errors even though there are some.
py
diff --git a/unleash/plugins/pypi.py b/unleash/plugins/pypi.py index <HASH>..<HASH> 100644 --- a/unleash/plugins/pypi.py +++ b/unleash/plugins/pypi.py @@ -20,14 +20,6 @@ def setup(cli): ['--identity', '-i'], help='Identity to use when signing.' )) - cli.commands['publish'].params.append(Option...
Removed unused gpg options.
py
diff --git a/redis/client.py b/redis/client.py index <HASH>..<HASH> 100755 --- a/redis/client.py +++ b/redis/client.py @@ -950,6 +950,7 @@ class Redis(RedisModuleCommands, CoreCommands, SentinelCommands): "ssl_ca_certs": ssl_ca_certs, "ssl_check_hostname": ssl_c...
Allow ssl_ca_path with rediss:// urls (#<I>)
py
diff --git a/loguru/_handler.py b/loguru/_handler.py index <HASH>..<HASH> 100644 --- a/loguru/_handler.py +++ b/loguru/_handler.py @@ -265,12 +265,11 @@ class Handler: try: sys.stderr.write("--- Logging error in Loguru Handler #%d ---\n" % self._id) - sys.stderr.write("Record was: ") ...
Refactor exception reporting in handlers
py
diff --git a/src/ploneintranet/workspace/tests/test_workspace_workflow.py b/src/ploneintranet/workspace/tests/test_workspace_workflow.py index <HASH>..<HASH> 100644 --- a/src/ploneintranet/workspace/tests/test_workspace_workflow.py +++ b/src/ploneintranet/workspace/tests/test_workspace_workflow.py @@ -1,3 +1,4 @@ +from...
Clear annotations cache to update workspace membership in tests
py
diff --git a/pyswagger/tests/v2_0/test_io.py b/pyswagger/tests/v2_0/test_io.py index <HASH>..<HASH> 100644 --- a/pyswagger/tests/v2_0/test_io.py +++ b/pyswagger/tests/v2_0/test_io.py @@ -5,6 +5,7 @@ from ..utils import get_test_data_folder import unittest import os import six +import json class RequestTestCase(...
fix build failure do not check by string, the key order is not consistent between python versions.
py
diff --git a/i3pystatus/core/util.py b/i3pystatus/core/util.py index <HASH>..<HASH> 100644 --- a/i3pystatus/core/util.py +++ b/i3pystatus/core/util.py @@ -375,19 +375,14 @@ def make_graph(values, upper_limit=100.0): """ values = [float(n) for n in values] - # Add the upper limit to the end of the array s...
simplify util::make_graph rather than appending the upper limit, use it as the maximum. In the process fixes a display bug when extent == 0, and simplifies the addition of other drawing styles (which need not also work around this values logic).
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -120,7 +120,7 @@ html_theme = 'default' # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file...
docs: Comment out html_static_path setting. There are no static elements, so this just silences a warning.
py
diff --git a/razorpay/client.py b/razorpay/client.py index <HASH>..<HASH> 100644 --- a/razorpay/client.py +++ b/razorpay/client.py @@ -44,7 +44,10 @@ class Client: # intializes each resource # injecting this client object into the constructor - for name, Klass in RESOURCE_CLASSES.items() + UT...
[razorpay-python] fixed test cases for python 3 and above
py
diff --git a/pymysql/connections.py b/pymysql/connections.py index <HASH>..<HASH> 100644 --- a/pymysql/connections.py +++ b/pymysql/connections.py @@ -739,7 +739,7 @@ class Connection(object): :raise ValueError: If no username was specified. """ if not self._sock: - raise err.Inter...
Fix InterfaceError response when connection lost (#<I>)
py
diff --git a/ddmrp_packaging/__manifest__.py b/ddmrp_packaging/__manifest__.py index <HASH>..<HASH> 100644 --- a/ddmrp_packaging/__manifest__.py +++ b/ddmrp_packaging/__manifest__.py @@ -4,7 +4,7 @@ { "name": "DDMRP Packaging", "summary": "DDMRP integration with packaging", - "version": "13.0.1.6.0", + ...
[MIG] ddmrp_packaging: Migration to <I>
py
diff --git a/tornado/test/tcpserver_test.py b/tornado/test/tcpserver_test.py index <HASH>..<HASH> 100644 --- a/tornado/test/tcpserver_test.py +++ b/tornado/test/tcpserver_test.py @@ -1,10 +1,9 @@ from __future__ import absolute_import, division, print_function -#from functools import partial import socket from t...
Relax test failure when failing to reproduce the race condition
py
diff --git a/pyxmpp/jid.py b/pyxmpp/jid.py index <HASH>..<HASH> 100644 --- a/pyxmpp/jid.py +++ b/pyxmpp/jid.py @@ -128,9 +128,13 @@ class JID: def __repr__(self): return "<JID: %r>" % (self.as_string()) - def as_string(self): + def as_utf8(self): "Returns UTF-8 encoded JID representation" return self.as_u...
- as_utf8() method - does the same what as_string() bu has a better name
py
diff --git a/src/rinoh/frontend/rst/nodes.py b/src/rinoh/frontend/rst/nodes.py index <HASH>..<HASH> 100644 --- a/src/rinoh/frontend/rst/nodes.py +++ b/src/rinoh/frontend/rst/nodes.py @@ -48,7 +48,7 @@ class Inline(DocutilsInlineNode): return self.style def build_styled_text(self): - return rt.Sin...
docutils frontend: support nested inline nodes The Sphinx guilabel and samp roles can produce nested inline nodes.
py
diff --git a/test/jupyter/test_sos_completer.py b/test/jupyter/test_sos_completer.py index <HASH>..<HASH> 100644 --- a/test/jupyter/test_sos_completer.py +++ b/test/jupyter/test_sos_completer.py @@ -20,14 +20,6 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # -# -# NOTE: for some namespac...
Try to fix path test for completer
py
diff --git a/pcef/core/syntax_highlighter.py b/pcef/core/syntax_highlighter.py index <HASH>..<HASH> 100644 --- a/pcef/core/syntax_highlighter.py +++ b/pcef/core/syntax_highlighter.py @@ -117,7 +117,7 @@ class SyntaxHighlighter(QtGui.QSyntaxHighlighter, Mode): def __del__(self): self.__blocks.clear() - ...
Rename addFolder into addFoldDetector
py
diff --git a/subconvert/parsing/FrameTime.py b/subconvert/parsing/FrameTime.py index <HASH>..<HASH> 100644 --- a/subconvert/parsing/FrameTime.py +++ b/subconvert/parsing/FrameTime.py @@ -90,12 +90,15 @@ class FrameTime(object): raise AttributeError(_("Incorrect string type: '%s'") % strType) def __s...
FrameTime allows time strings without milliseconds When it exists, millisecond's part length may vary from 1-3 characters. For less than 3 characters an appropriate number of zeroes is appended at the end, e.g: 1:<I>:<I> -> 1:<I>:<I>
py
diff --git a/tests/explainers/test_deep.py b/tests/explainers/test_deep.py index <HASH>..<HASH> 100644 --- a/tests/explainers/test_deep.py +++ b/tests/explainers/test_deep.py @@ -134,6 +134,7 @@ def test_keras_imdb_lstm(): # explain a prediction and make sure it sums to the difference between the average output ...
Added missing global_variables_initializer to test.
py
diff --git a/seleniumbase/fixtures/base_case.py b/seleniumbase/fixtures/base_case.py index <HASH>..<HASH> 100755 --- a/seleniumbase/fixtures/base_case.py +++ b/seleniumbase/fixtures/base_case.py @@ -2259,6 +2259,15 @@ class BaseCase(unittest.TestCase): self._drivers_list.append(new_driver) if switch_t...
Make sure headless browser windows are big enough
py
diff --git a/datacatalog/synth.py b/datacatalog/synth.py index <HASH>..<HASH> 100644 --- a/datacatalog/synth.py +++ b/datacatalog/synth.py @@ -30,6 +30,7 @@ library = gapic.py_library( config_path='/google/cloud/datacatalog/artman_datacatalog_v1beta1.yaml', artman_output_name='datacatalog-v1beta1', inclu...
Enable Sample Generator Tool for Data Catalog (#<I>)
py
diff --git a/octohat/__init__.py b/octohat/__init__.py index <HASH>..<HASH> 100755 --- a/octohat/__init__.py +++ b/octohat/__init__.py @@ -32,9 +32,13 @@ def main(): if args.show_contributors: for user in code_contributors: print(user["user_name"]) + print("Non-code contributions: %d" % len(non...
Always output the non-code contributors, even when generating html
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ import sys kernel_json = { "argv": [sys.executable, "-m", "postgres_kernel", "-f", "{connection_file}"], "display_name": "PostgreSQL", - "language": "postgresql", + "language": "sql", "codemi...
Fixes the missing highlighting starting the 2nd cell.
py
diff --git a/ggplot/scales/scale_x_date.py b/ggplot/scales/scale_x_date.py index <HASH>..<HASH> 100644 --- a/ggplot/scales/scale_x_date.py +++ b/ggplot/scales/scale_x_date.py @@ -34,13 +34,21 @@ class scale_x_date(scale): if self.name: gg.xlab = self.name.title() if self.labels: - ...
Python3 compatibility work for basestring type This is the method described at <URL>
py
diff --git a/trezorlib/client.py b/trezorlib/client.py index <HASH>..<HASH> 100644 --- a/trezorlib/client.py +++ b/trezorlib/client.py @@ -833,8 +833,10 @@ class ProtocolMixin(object): return False data = fp.read() - fingerprint = hashlib.sha256(data[256:]).hexdigest() - log("Firmw...
Added a fingerprint calculation for the entire firmware image.
py
diff --git a/ietfparse/compat/parse.py b/ietfparse/compat/parse.py index <HASH>..<HASH> 100644 --- a/ietfparse/compat/parse.py +++ b/ietfparse/compat/parse.py @@ -41,7 +41,17 @@ except ImportError: urlencode as _urlencode, ) from urlparse import urlsplit, urlunsplit - unquote_to_bytes = unquote + ...
compat.parse: Fix unquote_to_bytes. unquote_to_bytes was broken when it was given a percent-encoded, UTF-8 byte string. It would return a UNICODE string containing the bytes instead of a byte string.
py
diff --git a/holoviews/element/path.py b/holoviews/element/path.py index <HASH>..<HASH> 100644 --- a/holoviews/element/path.py +++ b/holoviews/element/path.py @@ -103,6 +103,8 @@ class Box(Path): the specified aspect ratio (if any). """ + group = param.String(default='Box') + def __init__(self, x, y...
Added default group to Box, Ellipse and Bounds
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,6 +8,7 @@ setup(name='GraphGit', description='Git repository graph generator', author='Ashish Prasad (codemaniac)', author_email='ashish.ap.rao@gmail.com', + url = "https://github.com/codemaniac/gr...
added url to setup.py
py
diff --git a/dvc/runtime.py b/dvc/runtime.py index <HASH>..<HASH> 100644 --- a/dvc/runtime.py +++ b/dvc/runtime.py @@ -14,6 +14,7 @@ from dvc.settings import Settings class Runtime(object): CONFIG = 'dvc.conf' SYMLINC_OVERRIDE = None + REALPATH_NATIVE = None @staticmethod def ls_command_name()...
Windows symlink: os.path.realpath - get rid of recursion
py
diff --git a/discord/stage_instance.py b/discord/stage_instance.py index <HASH>..<HASH> 100644 --- a/discord/stage_instance.py +++ b/discord/stage_instance.py @@ -106,7 +106,8 @@ class StageInstance(Hashable): @cached_slot_property('_cs_channel') def channel(self) -> Optional[StageChannel]: """Option...
Add type: ignore for StageInstance.channel
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -57,10 +57,6 @@ class version(Command): print(get_version()) -class clean(_clean): - pass - - class test(Command): description = 'Run test suite.' user_options = [ @@ -103,7 +99,6 @@ information and ...
remove the custom clean target, we don't need it
py
diff --git a/Lib/fontbakery/fonts_spec.py b/Lib/fontbakery/fonts_spec.py index <HASH>..<HASH> 100644 --- a/Lib/fontbakery/fonts_spec.py +++ b/Lib/fontbakery/fonts_spec.py @@ -24,11 +24,11 @@ class FontsSpec(Spec): # use glob.glob to accept *.ttf for fullpath in glob.glob(pattern): - if fullpath.l...
Load otf and ttf files
py
diff --git a/pulsar/utils/httpurl.py b/pulsar/utils/httpurl.py index <HASH>..<HASH> 100644 --- a/pulsar/utils/httpurl.py +++ b/pulsar/utils/httpurl.py @@ -80,7 +80,7 @@ def http_parser(**kwargs): return _Http_Parser(**kwargs) from .structures import mapping_iterator, OrderedDict -from .pep import ispy3k, isp...
removed duplicate functions in utils.httpurl
py
diff --git a/currencies/management/commands/initcurrencies.py b/currencies/management/commands/initcurrencies.py index <HASH>..<HASH> 100644 --- a/currencies/management/commands/initcurrencies.py +++ b/currencies/management/commands/initcurrencies.py @@ -21,6 +21,7 @@ class Command(NoArgsCommand): if not Currency.o...
Update currencies/management/commands/initcurrencies.py Counter variable "i" not add
py
diff --git a/smartfile/__init__.py b/smartfile/__init__.py index <HASH>..<HASH> 100644 --- a/smartfile/__init__.py +++ b/smartfile/__init__.py @@ -139,9 +139,13 @@ try: class OAuthToken(object): "Internal representation of an OAuth (token, secret) tuple." - def __init__(self, token, secret): - ...
Tests _should_ fail, was using u'None' as access token and secret. Now None is correctly identified as invalid.
py
diff --git a/cluster/juju/return-node-ips.py b/cluster/juju/return-node-ips.py index <HASH>..<HASH> 100755 --- a/cluster/juju/return-node-ips.py +++ b/cluster/juju/return-node-ips.py @@ -5,7 +5,6 @@ import sys # `juju run` command's JSON object, see cluster/juju/util.sh if len(sys.argv) > 1: - print(sys.argv[1])...
Removing debug statements from the python code.
py
diff --git a/montblanc/impl/biro/v5/gpu/RimeSumCoherencies.py b/montblanc/impl/biro/v5/gpu/RimeSumCoherencies.py index <HASH>..<HASH> 100644 --- a/montblanc/impl/biro/v5/gpu/RimeSumCoherencies.py +++ b/montblanc/impl/biro/v5/gpu/RimeSumCoherencies.py @@ -61,7 +61,7 @@ class RimeSumCoherencies(montblanc.impl.biro.v4.gpu...
Pass flag vector into v5 coherency sum kernel.
py
diff --git a/tests/plugins/test_gather_builds_metadata.py b/tests/plugins/test_gather_builds_metadata.py index <HASH>..<HASH> 100644 --- a/tests/plugins/test_gather_builds_metadata.py +++ b/tests/plugins/test_gather_builds_metadata.py @@ -1,5 +1,5 @@ """ -Copyright (c) 2017 Red Hat, Inc +Copyright (c) 2017-2022 Red Ha...
Update license declaration year * CLOUDBLD-<I>
py
diff --git a/pyads/testserver.py b/pyads/testserver.py index <HASH>..<HASH> 100644 --- a/pyads/testserver.py +++ b/pyads/testserver.py @@ -37,20 +37,15 @@ from pyads import constants logger = logging.getLogger(__name__) formatter = logging.Formatter("%(levelname)s:%(message)s") stdout_handler = logging.StreamHandler...
Set log levels back to DEBUG in testserver.py
py
diff --git a/generic_positions/tests/urls.py b/generic_positions/tests/urls.py index <HASH>..<HASH> 100644 --- a/generic_positions/tests/urls.py +++ b/generic_positions/tests/urls.py @@ -16,7 +16,7 @@ admin.autodiscover() urlpatterns = patterns( '', - url(r'^admin', include(admin.site.urls)), + url(r'^adm...
Fixed admin url in test urls.py
py
diff --git a/bika/lims/browser/bika_listing.py b/bika/lims/browser/bika_listing.py index <HASH>..<HASH> 100644 --- a/bika/lims/browser/bika_listing.py +++ b/bika/lims/browser/bika_listing.py @@ -107,8 +107,10 @@ class WorkflowAction: return selected_items def workflow_action_default(self, action, came_f...
LIMS-<I>: Transitions invoked from object edit (Plone UI) have no effect
py
diff --git a/jardin/model.py b/jardin/model.py index <HASH>..<HASH> 100644 --- a/jardin/model.py +++ b/jardin/model.py @@ -188,9 +188,9 @@ class Model(object): return self.attributes.get(self.primary_key) is not None def init_relationships(self): - this_table_name = self.model_metadata()['table_n...
Do not generate entire metadata to build relationships
py
diff --git a/demag_gui.py b/demag_gui.py index <HASH>..<HASH> 100755 --- a/demag_gui.py +++ b/demag_gui.py @@ -1578,14 +1578,15 @@ class Zeq_GUI(wx.Frame): def get_DIR(self, WD=None): - """ Choose a working directory dialog + """ + Choose a working directory dialog """ - i...
fix an error with choosing directory for demag_gui
py
diff --git a/tools/scruffy/checkers/bills.py b/tools/scruffy/checkers/bills.py index <HASH>..<HASH> 100644 --- a/tools/scruffy/checkers/bills.py +++ b/tools/scruffy/checkers/bills.py @@ -10,21 +10,21 @@ def check(db): for action in bill['actions']: for entity in action['related_entities']: ...
Don't attempt to look up `null` entries.
py
diff --git a/cms_lab_carousel/models.py b/cms_lab_carousel/models.py index <HASH>..<HASH> 100644 --- a/cms_lab_carousel/models.py +++ b/cms_lab_carousel/models.py @@ -81,7 +81,10 @@ class Slide(models.Model): ) carousel = models.ForeignKey('cms_lab_carousel.Carousel', + blank=True, + null=True...
On carousel deletion, set slide's carousel field to null
py
diff --git a/vcspull/cli.py b/vcspull/cli.py index <HASH>..<HASH> 100644 --- a/vcspull/cli.py +++ b/vcspull/cli.py @@ -127,6 +127,25 @@ def update_repo(repo_dict): r = create_repo_from_pip_url(**repo_dict) + remote_settings = repo_dict.get('remotes', []) + if not any(rs for rs in remote_settings if rs['r...
Overwrite remote URLs with state set in config
py
diff --git a/huey/backends/sqlite_backend.py b/huey/backends/sqlite_backend.py index <HASH>..<HASH> 100644 --- a/huey/backends/sqlite_backend.py +++ b/huey/backends/sqlite_backend.py @@ -27,6 +27,13 @@ class _SqliteDatabase(object): "in-memory databases are not supported.") self.l...
SQLite backend performance optimizations
py
diff --git a/module/__init__.py b/module/__init__.py index <HASH>..<HASH> 100644 --- a/module/__init__.py +++ b/module/__init__.py @@ -760,13 +760,13 @@ def pack_list(from_, pack_type): if isinstance(pack_type, six.string_types): return struct.pack("=" + pack_type * len(from_), *from_) - elif hasattr...
Don't wrongly try to pack list elements I think this code is basically just wrong: we should pack each member of a list separately, instead of trying to pack the stuff in a list into the member type. Closes #<I>
py
diff --git a/nota/notaclass.py b/nota/notaclass.py index <HASH>..<HASH> 100644 --- a/nota/notaclass.py +++ b/nota/notaclass.py @@ -462,6 +462,7 @@ class Nota: self.con.execute("INSERT INTO notekeyword(noteId, keywordID) VALUES(?, ?)", [noteId, keywordId]) # Handle attachments, which must be existi...
was bad if no attachment (now bad *if*)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -5,9 +5,9 @@ from setuptools import setup setup( name='ntlm-auth', - version='1.0.1', + version='1.0.2', packages=[ 'ntlm_auth' ], - install_requires=[ 'six' ], + install_requires=[ 'six', 'ordereddict...
Added dependency for ordereddict when using python versions that don't have ordered dict by default. Bumped version for this as well (#4)
py
diff --git a/tensorflow_probability/python/experimental/sequential/iterated_filter.py b/tensorflow_probability/python/experimental/sequential/iterated_filter.py index <HASH>..<HASH> 100644 --- a/tensorflow_probability/python/experimental/sequential/iterated_filter.py +++ b/tensorflow_probability/python/experimental/seq...
Correctly rendering iterated_filter by correcting backticks Backtics are not formatted well which is resulting in rendering issues. This PR updates those backticks.
py
diff --git a/indra/sources/indra_db_rest/client_api.py b/indra/sources/indra_db_rest/client_api.py index <HASH>..<HASH> 100644 --- a/indra/sources/indra_db_rest/client_api.py +++ b/indra/sources/indra_db_rest/client_api.py @@ -349,9 +349,14 @@ def _submit_request(meth, end_point, query_str='', data=None, ev_limit=50, ...
Implement rapid retry for timed out queries.
py
diff --git a/eth_abi/encoding.py b/eth_abi/encoding.py index <HASH>..<HASH> 100644 --- a/eth_abi/encoding.py +++ b/eth_abi/encoding.py @@ -1,7 +1,10 @@ +from itertools import ( + accumulate, + chain, +) import abc import codecs import decimal -import itertools from eth_utils import ( int_to_big_endian,...
Some efficiency gains in MultiEncoder.encode
py
diff --git a/adafruit_bme280.py b/adafruit_bme280.py index <HASH>..<HASH> 100644 --- a/adafruit_bme280.py +++ b/adafruit_bme280.py @@ -198,8 +198,6 @@ class Adafruit_BME280: def mode(self, value): if not value in _BME280_MODES: raise ValueError('Mode \'%s\' not supported' % (value)) - ...
Always write the new mode to the sensor In FORCE mode, the sensor changes back to SLEEP after completeing a single measurement, but we are not updating the mode internally. It's better to always write the mode to the sensor, and trust the caller not to change it needlessly.
py
diff --git a/peri/states.py b/peri/states.py index <HASH>..<HASH> 100644 --- a/peri/states.py +++ b/peri/states.py @@ -161,7 +161,7 @@ class State(comp.ParameterGroup): \\left(\\frac{D_i - M_i(\\theta)}{\sigma}\\right)^2 + \\log{(2\pi \sigma^2)} \\right]` """ - sig = self.hyper_paramet...
ImageState-only updating of sigma; should be modified to be in State
py
diff --git a/angr/engines/successors.py b/angr/engines/successors.py index <HASH>..<HASH> 100644 --- a/angr/engines/successors.py +++ b/angr/engines/successors.py @@ -74,6 +74,12 @@ class SimSuccessors(object): return not self.all_successors and not self.flat_successors and not self.unsat_successors and \ ...
Add ability to treat SimSuccessors like list of flat_successors
py
diff --git a/carbonate/cli.py b/carbonate/cli.py index <HASH>..<HASH> 100644 --- a/carbonate/cli.py +++ b/carbonate/cli.py @@ -4,6 +4,7 @@ import logging import os import sys +from functools import partial from time import time from .aggregation import setAggregation, AGGREGATION @@ -225,9 +226,23 @@ def carbon...
Add prepending functionality to carbon-path
py
diff --git a/pandas/core/base.py b/pandas/core/base.py index <HASH>..<HASH> 100644 --- a/pandas/core/base.py +++ b/pandas/core/base.py @@ -113,9 +113,9 @@ class PandasObject(DirNamesMixin): Generates the total memory usage for an object that returns either a value or Series of values """ - ...
TYP: remove ignore from PandasObject.__sizeof__ (#<I>)
py
diff --git a/openid/test/test_etxrd.py b/openid/test/test_etxrd.py index <HASH>..<HASH> 100644 --- a/openid/test/test_etxrd.py +++ b/openid/test/test_etxrd.py @@ -2,16 +2,9 @@ import unittest from openid.yadis import services, etxrd, xri import os.path -def sibpath(one, other, make_absolute=True): - if os.path.i...
[project @ Remove crufty verbose data-path manipulation stuff from test_etxrd] Looks like I introduced it!
py
diff --git a/modules/sysdata.py b/modules/sysdata.py index <HASH>..<HASH> 100644 --- a/modules/sysdata.py +++ b/modules/sysdata.py @@ -109,8 +109,11 @@ class Py3status: response['color'] = i3status_config['color_degraded'] else: response['color'] = i3status_config['color_bad'] + ...
Add CPU Temperature Needs lm_sensors!
py
diff --git a/safe_qgis/utilities/impact_calculator.py b/safe_qgis/utilities/impact_calculator.py index <HASH>..<HASH> 100644 --- a/safe_qgis/utilities/impact_calculator.py +++ b/safe_qgis/utilities/impact_calculator.py @@ -19,6 +19,7 @@ __date__ = '11/01/2011' __copyright__ = ('Copyright 2012, Australia Indonesia Faci...
Coding Standard on impact_calculator.py
py
diff --git a/tests/test_emr/test_emr.py b/tests/test_emr/test_emr.py index <HASH>..<HASH> 100644 --- a/tests/test_emr/test_emr.py +++ b/tests/test_emr/test_emr.py @@ -4,6 +4,7 @@ from boto.emr.step import StreamingStep import sure # noqa from moto import mock_emr +from tests.helpers import requires_boto_gte @...
job_flow_role is not available in boto <I>
py
diff --git a/trie/hexary.py b/trie/hexary.py index <HASH>..<HASH> 100644 --- a/trie/hexary.py +++ b/trie/hexary.py @@ -167,12 +167,10 @@ class HexaryTrie: node_type = get_node_type(node) if node_type == NODE_TYPE_BLANK: return False - - if node_type == NODE_TYPE_LEAF: + elif...
Improve readability of `_get_proof`
py
diff --git a/devassistant/assistants/commands.py b/devassistant/assistants/commands.py index <HASH>..<HASH> 100644 --- a/devassistant/assistants/commands.py +++ b/devassistant/assistants/commands.py @@ -6,7 +6,6 @@ import github import plumbum from devassistant import exceptions -from devassistant.assistants.comman...
Don't format already formatted command
py
diff --git a/ethereum/slogging.py b/ethereum/slogging.py index <HASH>..<HASH> 100644 --- a/ethereum/slogging.py +++ b/ethereum/slogging.py @@ -312,12 +312,16 @@ def configure(config_string=None, log_json=False, log_file=None): if hasattr(logger, 'setLevel'): # Guard against `logging.PlaceHolder` i...
Only propagate logs included in config
py
diff --git a/holoviews/operation/channel.py b/holoviews/operation/channel.py index <HASH>..<HASH> 100644 --- a/holoviews/operation/channel.py +++ b/holoviews/operation/channel.py @@ -192,10 +192,7 @@ ChannelOperation.operations.append(toRGBA) ChannelOperation.operations.append(toHCS) ChannelOperation.operations.appen...
Fixed outdated option definitions for RGB Matrices
py
diff --git a/aegean.py b/aegean.py index <HASH>..<HASH> 100644 --- a/aegean.py +++ b/aegean.py @@ -893,8 +893,8 @@ def find_sources_in_image(filename, hdu_index=0, outfile=None,rms=None, max_summ # flux values #the background is taken from background map - source.background=bkgimg...
Fixed ra/dec error present in previous commit
py
diff --git a/diff_cover/diff_reporter.py b/diff_cover/diff_reporter.py index <HASH>..<HASH> 100644 --- a/diff_cover/diff_reporter.py +++ b/diff_cover/diff_reporter.py @@ -114,7 +114,7 @@ class GitDiffReporter(BaseDiffReporter): output, err = process.communicate() # If an error with git diff, raise a...
Fixed an issue with empty string comparison on git diff errors.
py
diff --git a/MarkdownPP/Modules/TableOfContents.py b/MarkdownPP/Modules/TableOfContents.py index <HASH>..<HASH> 100644 --- a/MarkdownPP/Modules/TableOfContents.py +++ b/MarkdownPP/Modules/TableOfContents.py @@ -25,6 +25,19 @@ class TableOfContents(Module): """ @staticmethod + def clean_html_string(string...
Escape bad chars in TOC links and titles
py
diff --git a/py/selenium/webdriver/remote/remote_connection.py b/py/selenium/webdriver/remote/remote_connection.py index <HASH>..<HASH> 100644 --- a/py/selenium/webdriver/remote/remote_connection.py +++ b/py/selenium/webdriver/remote/remote_connection.py @@ -229,7 +229,8 @@ class RemoteConnection(object): ...
SimonStewart: a content type is not included in empty responses, so cannot always be counted upon as being there r<I>
py
diff --git a/powerline-shell.py b/powerline-shell.py index <HASH>..<HASH> 100755 --- a/powerline-shell.py +++ b/powerline-shell.py @@ -62,6 +62,16 @@ class Powerline: 'bare': ' $ ', } + user_prompt = { + 'bash': ' \\u', + 'zsh': ' %n' + } + + host_prompt = { + 'bash': ' \\h...
Making user, host work in zsh
py
diff --git a/vyper/ast/nodes.py b/vyper/ast/nodes.py index <HASH>..<HASH> 100644 --- a/vyper/ast/nodes.py +++ b/vyper/ast/nodes.py @@ -1,4 +1,5 @@ import ast as python_ast +import copy import decimal import operator import sys @@ -55,6 +56,13 @@ def get_node( if not isinstance(ast_struct, dict): ast_s...
fix: ast.AST node corruption (#<I>) in IPython, if an exception is thrown, apparently certain AST nodes can get annotated with a `.parent` member. this later collides with the `parent=` kwargs when constructing vyper nodes.
py
diff --git a/luigi/format.py b/luigi/format.py index <HASH>..<HASH> 100644 --- a/luigi/format.py +++ b/luigi/format.py @@ -11,6 +11,9 @@ class InputPipeProcessWrapper(object): self._process = subprocess.Popen(command, stdin=input_pipe, stdout=subprocess.PIPE) + # we want to kee...
Changed InputPipeProcessWrapper to not to garbage collection when a read() is called directly on the file. This should solve some problems when not kepping a reference to the input object. Change-Id: I<I>d<I>e3ab<I>e<I>c<I>aab4ce0fb<I>cb8e Reviewed-on: <URL>
py
diff --git a/axiom/batch.py b/axiom/batch.py index <HASH>..<HASH> 100644 --- a/axiom/batch.py +++ b/axiom/batch.py @@ -22,9 +22,7 @@ except ImportError: manhole_ssh = None from twisted.conch import interfaces as iconch -from epsilon import extime, process, cooperator, modal - -from vertex import juice +from eps...
Re-merge vertex=>epsilon juice move. Fixes #<I> (again) Author: glyph Reviewer: mithrandi Hope that it doesn't break anything significant this time...
py
diff --git a/msvccompiler.py b/msvccompiler.py index <HASH>..<HASH> 100644 --- a/msvccompiler.py +++ b/msvccompiler.py @@ -187,6 +187,19 @@ def get_build_architecture(): j = string.find(sys.version, ")", i) return sys.version[i+len(prefix):j] +def normalize_and_reduce_paths(paths): + """Return a list of ...
SF #<I>, MSVCCompiler creates redundant and long PATH strings If MSVCCompiler.initialize() was called multiple times, the path would get duplicated. On Windows, this is a problem because the path is limited to 4k. There's no benefit in adding a path multiple times, so prevent that from occuring. We also normalize t...
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 @@ -59,7 +59,7 @@ master_doc = 'index' # General information about the project. project = 'panflute' -copyright = '2020, Sergio Correia' +copyright = ' 2020, Sergio Correia' author...
bug workaround - disable copyright line Otherwise the &copy; html entity (which apparently is not allowed on the current doctype/xmlns/??) causes browser errors.
py
diff --git a/tinytag/tinytag.py b/tinytag/tinytag.py index <HASH>..<HASH> 100644 --- a/tinytag/tinytag.py +++ b/tinytag/tinytag.py @@ -58,7 +58,7 @@ def _read(fh, nbytes): # helper function to check if we haven't reached EOF def stderr(*args): - sys.stderr.write('%s\n' % ' '.join(str(arg) for arg in args)) + ...
fixed tests failing under python2 and pypy due to unicode problems
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -36,7 +36,7 @@ class EggInfo(egg_info): pass -with open("README.rst") as readme_file: +with open("README.md") as readme_file: readme = readme_file.read()
Rename README.rst to README.md in setup.py
py
diff --git a/tests/test_pre_commit.py b/tests/test_pre_commit.py index <HASH>..<HASH> 100644 --- a/tests/test_pre_commit.py +++ b/tests/test_pre_commit.py @@ -301,7 +301,7 @@ def test_pre_commit_hook_with_subfolders_issue_506(tmpdir): cells=[new_markdown_cell("A Markdown cell")], metadata={"ju...
Commit .py file only - and reproduce #<I>
py
diff --git a/minion/http.py b/minion/http.py index <HASH>..<HASH> 100644 --- a/minion/http.py +++ b/minion/http.py @@ -7,7 +7,7 @@ from bisect import insort from characteristic import Attribute, attributes -from minion.compat import iteritems +from minion.compat import iteritems, viewkeys _CANONICAL_NAMES = {...
dicts aren't orderable on py3...
py
diff --git a/ml-agents/setup.py b/ml-agents/setup.py index <HASH>..<HASH> 100644 --- a/ml-agents/setup.py +++ b/ml-agents/setup.py @@ -10,7 +10,7 @@ with open(path.join(here, 'README.md'), encoding='utf-8') as f: setup( name='mlagents', - version='0.4.0', + version='0.5.0', description='Unity Machine...
Python version is now restricted to <I> or <I>. (#<I>) * Only Python <I>, bumping package version.
py
diff --git a/backdrop/collector/write.py b/backdrop/collector/write.py index <HASH>..<HASH> 100644 --- a/backdrop/collector/write.py +++ b/backdrop/collector/write.py @@ -33,6 +33,10 @@ class Bucket(object): data=json.dumps(records, cls=JsonEncoder) ) - logging.debug("[Backdrop] " + respo...
Include URL and response body on HTTP failure It's quite awkward to diagnose exceptions caused by HTTP errors when you don't have the URL and response body, so this should help.
py
diff --git a/amplpy/dataframe.py b/amplpy/dataframe.py index <HASH>..<HASH> 100644 --- a/amplpy/dataframe.py +++ b/amplpy/dataframe.py @@ -221,14 +221,6 @@ class DataFrame(BaseClass): values: The values to set. """ self._impl.setColumnPyList(header, list(values)) - # if any(isinsta...
Delete old implementation of set_column
py
diff --git a/livetests.py b/livetests.py index <HASH>..<HASH> 100755 --- a/livetests.py +++ b/livetests.py @@ -53,7 +53,7 @@ def _initialize(api): @pytest.fixture(scope="module", - params=["2.13.11", "2.14.16", "2.15.6", "2.16-rc1"]) + params=["2.13.11", "2.14.16", "2.15.6", "2.16-rc3...
Run livetests against <I>-rc3 Change-Id: I8e<I>e6cf3e<I>fae<I>bf<I>ff<I>e<I>ac1
py
diff --git a/netpyne/tests/checks.py b/netpyne/tests/checks.py index <HASH>..<HASH> 100644 --- a/netpyne/tests/checks.py +++ b/netpyne/tests/checks.py @@ -94,6 +94,11 @@ def checkOutput(modelName, verbose=False): expectedAll['numSyns']['saving'] = 1538 expectedAll['numSpikes']['saving'] = 3699 + ...
temporarily silenced failing unit tests (due to NEURON versions discrepancy)
py
diff --git a/tcconfig/_iptables.py b/tcconfig/_iptables.py index <HASH>..<HASH> 100644 --- a/tcconfig/_iptables.py +++ b/tcconfig/_iptables.py @@ -82,6 +82,11 @@ class IptablesMangleMark(object): return " ".join(command_item_list) + def to_delete_command(self): + IntegerTypeChecker(self.line_numb...
Add to_delete_command method
py
diff --git a/safe/storage/utilities.py b/safe/storage/utilities.py index <HASH>..<HASH> 100644 --- a/safe/storage/utilities.py +++ b/safe/storage/utilities.py @@ -152,7 +152,7 @@ def read_keywords(filename): Input filename: Name of keywords file. Extension expected to be .keywords The f...
Allow keywords that do not contain colons, needed for compatiblity with GeoNode
py
diff --git a/flask_assistant/core.py b/flask_assistant/core.py index <HASH>..<HASH> 100644 --- a/flask_assistant/core.py +++ b/flask_assistant/core.py @@ -102,9 +102,13 @@ class Assistant(object): if app is not None: self.init_app(app) + elif blueprint is not None: self.ini...
only get aog client id from app config if app is set
py
diff --git a/test_fuzzywuzzy.py b/test_fuzzywuzzy.py index <HASH>..<HASH> 100644 --- a/test_fuzzywuzzy.py +++ b/test_fuzzywuzzy.py @@ -498,6 +498,16 @@ class ProcessTest(unittest.TestCase): result = process.dedupe(contains_dupes) self.assertEqual(result, deduped_list) + def test_simplematch(self)...
Added test for simple 'a, b' string on process.extractOne.
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.16.3' +__version__ = '2.17.0' __author__ = 'Rick van Hattem' __author_email__ = 'Wolph@Wol.ph' __descri...
Incrementing version to <I>
py
diff --git a/eventsourcing/tests/test_transcoding.py b/eventsourcing/tests/test_transcoding.py index <HASH>..<HASH> 100644 --- a/eventsourcing/tests/test_transcoding.py +++ b/eventsourcing/tests/test_transcoding.py @@ -2,6 +2,8 @@ import datetime from unittest import TestCase from uuid import NAMESPACE_URL +from de...
Finished JSON encoder test, to check call to raise TypeError.
py