diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/niworkflows/viz/reports.py b/niworkflows/viz/reports.py index <HASH>..<HASH> 100644 --- a/niworkflows/viz/reports.py +++ b/niworkflows/viz/reports.py @@ -275,7 +275,7 @@ class Report(object): title = 'Reports for: %s.' % ', '.join( ['%s <span class="bids-entity...
sty(reports): remove unused variable making codacy complain [skip ci]
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -58,7 +58,6 @@ setup( 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.2', ...
Remove python <I> from setup.py.
py
diff --git a/allauth/account/utils.py b/allauth/account/utils.py index <HASH>..<HASH> 100644 --- a/allauth/account/utils.py +++ b/allauth/account/utils.py @@ -117,7 +117,8 @@ def send_email_confirmation(user, request=None): EmailConfirmation.objects.send_confirmation(email_address) except Emai...
E-mail verification sent message is now only shown if an e-mail was really sent
py
diff --git a/xml_helper.py b/xml_helper.py index <HASH>..<HASH> 100644 --- a/xml_helper.py +++ b/xml_helper.py @@ -13,6 +13,23 @@ except ImportError: import xml.etree.ElementTree as etree lxml = False +# Taken from Fredrik Lundh's effbot.org: +# http://effbot.org/zone/element-lib.htm#prettyprint +def indent(ele...
Pretty print when lxml is not available
py
diff --git a/cities/conf.py b/cities/conf.py index <HASH>..<HASH> 100644 --- a/cities/conf.py +++ b/cities/conf.py @@ -245,7 +245,7 @@ def create_settings(): if hasattr(django_settings, "CITIES_POSTAL_CODES"): res.postal_codes = set([e.upper() for e in django_settings.CITIES_POSTAL_CODES]) else: - ...
res.postal_codes = set(['ALL']) instead of empty set() Progress bar shows postal codes being imported but they are not really imported because of this. Another alternative is to be more explicit in the documentation, but I think it is better to import "all" when you run "./manage.py cities --import all"
py
diff --git a/tests/templatetags/test_syntax_color.py b/tests/templatetags/test_syntax_color.py index <HASH>..<HASH> 100644 --- a/tests/templatetags/test_syntax_color.py +++ b/tests/templatetags/test_syntax_color.py @@ -85,7 +85,7 @@ class SyntaxColorTagTests(TestCase): content = """{% load syntax_color %} {{ ...
css style change for new versions of pygments
py
diff --git a/fermipy/gtutils.py b/fermipy/gtutils.py index <HASH>..<HASH> 100644 --- a/fermipy/gtutils.py +++ b/fermipy/gtutils.py @@ -690,8 +690,8 @@ class BinnedAnalysis(BinnedAnalysis.BinnedAnalysis): return Ts_value def _isDiffuseOrNearby(self, srcName): - if (self[srcName].src.getType() == '...
Allow for composite sources in _isDiffuseOrNearby
py
diff --git a/master/buildbot/process/properties.py b/master/buildbot/process/properties.py index <HASH>..<HASH> 100644 --- a/master/buildbot/process/properties.py +++ b/master/buildbot/process/properties.py @@ -478,25 +478,7 @@ class _SecretRenderer: class Secret(_SecretRenderer): def __repr__(self): - r...
secret: Fix code duplication between Secret and _SecretRenderer
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -118,9 +118,10 @@ def main(modules, is_pypy): language = "cpp" includes = ['.', path.join(sys.prefix, 'include')] compile_args = ['-O3'] - link_args = ['-lc++'] + link_args = [] if sys.prefix == 'darw...
* Move -lc++ link arg to only be used if darwin is OS. Should actually check whether GCC is compiler
py
diff --git a/seleniumbase/core/browser_launcher.py b/seleniumbase/core/browser_launcher.py index <HASH>..<HASH> 100755 --- a/seleniumbase/core/browser_launcher.py +++ b/seleniumbase/core/browser_launcher.py @@ -217,9 +217,6 @@ def _set_chrome_options( # Headless Chrome doesn't support extensions, which are req...
Do not use "--disable-extensions" (it breaks proxy auth)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ from setuptools import setup, find_packages setup( name='pycep-correios', - version='1.1.1', + version='1.1.2', keywords='correios development cep', packages=find_packages(exclude=['*test...
[FIX] version no setup.py
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ if sys.version_info[0] == 2: import pip minor = datetime.datetime.now().strftime("%y%m%d%H%M") -version = '0.1.' + minor +version = '1.0.' + minor setup( name='datalab',
Bump up version to <I> (#<I>)
py
diff --git a/simuvex/engines/vex/engine.py b/simuvex/engines/vex/engine.py index <HASH>..<HASH> 100644 --- a/simuvex/engines/vex/engine.py +++ b/simuvex/engines/vex/engine.py @@ -273,7 +273,7 @@ class SimEngineVEX(SimEngine): ret_state = exit_state.copy() guard = ret_state.se.true if o...
Fixed stack getting misaligned because syscalls would incorrectly assume a popped return address for the FakeRet
py
diff --git a/microsoftbotframework/response.py b/microsoftbotframework/response.py index <HASH>..<HASH> 100644 --- a/microsoftbotframework/response.py +++ b/microsoftbotframework/response.py @@ -95,8 +95,10 @@ class Response: def _get_redis_auth_token(self): self.redis = redis.StrictRedis.from_url(self.re...
Caught exception for errors with additional redis fields that are not accepted.
py
diff --git a/src/python/dxpy/__init__.py b/src/python/dxpy/__init__.py index <HASH>..<HASH> 100644 --- a/src/python/dxpy/__init__.py +++ b/src/python/dxpy/__init__.py @@ -550,10 +550,10 @@ def DXHTTPRequest(resource, data, method='POST', headers=None, auth=True, if hasattr(data, 'seek') and hasattr(data, 'tell'): ...
Fix bug in a<I>a7 where "data" was used after we unset it
py
diff --git a/cherrypy/_cpdispatch.py b/cherrypy/_cpdispatch.py index <HASH>..<HASH> 100644 --- a/cherrypy/_cpdispatch.py +++ b/cherrypy/_cpdispatch.py @@ -12,6 +12,10 @@ to a hierarchical arrangement of objects, starting at request.app.root. import string import sys import types +try: + classtype = (type, types.C...
Fix for #<I> (types.ClassType gone in Python 3)
py
diff --git a/src/transformers/modeling_rag.py b/src/transformers/modeling_rag.py index <HASH>..<HASH> 100644 --- a/src/transformers/modeling_rag.py +++ b/src/transformers/modeling_rag.py @@ -537,7 +537,7 @@ class RagModel(RagPreTrainedModel): >>> input_dict = tokenizer.prepare_seq2seq_batch("How many peo...
Remove labels from the RagModel example (#<I>)
py
diff --git a/glue/pipeline.py b/glue/pipeline.py index <HASH>..<HASH> 100644 --- a/glue/pipeline.py +++ b/glue/pipeline.py @@ -1100,14 +1100,14 @@ class ScienceData: start = seg.start() stop = seg.end() id = seg.id() - if start > stop: + if start > ostop: # disconnected, so flush...
fixed a bug in segment coalesence
py
diff --git a/dwave/system/package_info.py b/dwave/system/package_info.py index <HASH>..<HASH> 100644 --- a/dwave/system/package_info.py +++ b/dwave/system/package_info.py @@ -14,7 +14,7 @@ __all__ = ['__version__', '__author__', '__authoremail__', '__description__'] -__version__ = '1.8.0' +__version__ = '1.9.0' _...
Release <I> New Features --- - Suggest using the EmbeddingComposite when the hardware graph is incompatible (<URL>
py
diff --git a/neat/activations.py b/neat/activations.py index <HASH>..<HASH> 100644 --- a/neat/activations.py +++ b/neat/activations.py @@ -31,6 +31,11 @@ def gauss_activation(z): def relu_activation(z): return z if z > 0.0 else 0.0 +def elu_activation(z): + return z if z > 0.0 else math.exp(z) - 1 + +def lel...
Added elu and leaky-relu activation functions
py
diff --git a/src/tests/documentation.py b/src/tests/documentation.py index <HASH>..<HASH> 100644 --- a/src/tests/documentation.py +++ b/src/tests/documentation.py @@ -1203,7 +1203,7 @@ to look at the [wrapt](https://wrapt.readthedocs.io/en/latest/) project by Graeme Dumpleton. Since version 5 the ``decorator`` modu...
Fixed misprint in the docs
py
diff --git a/spyderlib/widgets/externalshell/monitor.py b/spyderlib/widgets/externalshell/monitor.py index <HASH>..<HASH> 100644 --- a/spyderlib/widgets/externalshell/monitor.py +++ b/spyderlib/widgets/externalshell/monitor.py @@ -261,11 +261,11 @@ class Monitor(threading.Thread): self.ipython_shell = None ...
External console's monitor: now switching to IPython mode (if relevant) right before executing commands (instead of doing it at the next iteration) Before fixing this bug: calling monitor from IPython was working only from the second time
py
diff --git a/ptpython/repl.py b/ptpython/repl.py index <HASH>..<HASH> 100644 --- a/ptpython/repl.py +++ b/ptpython/repl.py @@ -20,6 +20,7 @@ from prompt_toolkit.utils import DummyContext from prompt_toolkit.shortcuts import set_title, clear_title from prompt_toolkit.shortcuts import print_formatted_text from prompt_...
fix patching stdout in embedded python repl
py
diff --git a/tensorboard/plugins/histogram/summary_test.py b/tensorboard/plugins/histogram/summary_test.py index <HASH>..<HASH> 100644 --- a/tensorboard/plugins/histogram/summary_test.py +++ b/tensorboard/plugins/histogram/summary_test.py @@ -122,12 +122,10 @@ class SummaryBaseTest(object): def test_with_large_cou...
remove test that causes segmentation fault (#<I>)
py
diff --git a/python_modules/libraries/dagster-dbt/dagster_dbt/version.py b/python_modules/libraries/dagster-dbt/dagster_dbt/version.py index <HASH>..<HASH> 100644 --- a/python_modules/libraries/dagster-dbt/dagster_dbt/version.py +++ b/python_modules/libraries/dagster-dbt/dagster_dbt/version.py @@ -1 +1 @@ -__version__ ...
bump dagster_dbt version to unblock release
py
diff --git a/collectionkit/contrib/work_creator/models/image.py b/collectionkit/contrib/work_creator/models/image.py index <HASH>..<HASH> 100644 --- a/collectionkit/contrib/work_creator/models/image.py +++ b/collectionkit/contrib/work_creator/models/image.py @@ -64,7 +64,7 @@ class ArtworkImageQuerySet(QuerySet): cl...
Protect Artwork from deletion if it still has images.
py
diff --git a/marshmallow/fields.py b/marshmallow/fields.py index <HASH>..<HASH> 100644 --- a/marshmallow/fields.py +++ b/marshmallow/fields.py @@ -174,7 +174,7 @@ class Marshaller(object): if many and obj is not None: self.__pending = True ret = [self.serialize(d, fields_dict, many=Fa...
Fix "many" serialization with custom accessor Make sure the 'accessor' parameter is passed on when the serialize method in Field calls itself recursively.
py
diff --git a/safe/definitions.py b/safe/definitions.py index <HASH>..<HASH> 100644 --- a/safe/definitions.py +++ b/safe/definitions.py @@ -2118,6 +2118,28 @@ post_processor_gender = { } } +post_processor_value = { + 'key': 'value', + 'name': tr('Value'), + 'description': tr( + 'Post processor to...
Add post processor value defintions
py
diff --git a/pandas/io/excel/_base.py b/pandas/io/excel/_base.py index <HASH>..<HASH> 100644 --- a/pandas/io/excel/_base.py +++ b/pandas/io/excel/_base.py @@ -871,11 +871,14 @@ class ExcelWriter(metaclass=abc.ABCMeta): """ Class for writing DataFrame objects into excel sheets. - Default is to use : - ...
[DOC] improving the ExcelWriter docstring (#<I>) improved excelwrite docstring
py
diff --git a/monascaclient/exc.py b/monascaclient/exc.py index <HASH>..<HASH> 100644 --- a/monascaclient/exc.py +++ b/monascaclient/exc.py @@ -87,9 +87,9 @@ class HTTPException(BaseException): if verbose: traceback = self.error['error'].get('traceback', '') - return 'ERROR: %s\n%s' % ...
The ERROR word was removed from the HttpException Change-Id: If<I>d<I>ff<I>d<I>ec<I>e7e<I>da<I>d2a
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 @@ -199,9 +199,9 @@ texinfo_documents = [ # Example configuration for intersphinx: refer to the Python standard library. intersphinx_mapping = { - "python": ("https://docs.python...
DOC: fix intersphinx links (#<I>)
py
diff --git a/simuvex/s_cc.py b/simuvex/s_cc.py index <HASH>..<HASH> 100644 --- a/simuvex/s_cc.py +++ b/simuvex/s_cc.py @@ -57,7 +57,7 @@ class SimCC(object): e = state.BVV(expr, state.arch.bits) elif type(expr) in (str,): e = state.BVV(expr) - elif not isinstanc...
make SimCC work with typedast
py
diff --git a/scripts/find_missing_wheels.py b/scripts/find_missing_wheels.py index <HASH>..<HASH> 100755 --- a/scripts/find_missing_wheels.py +++ b/scripts/find_missing_wheels.py @@ -25,7 +25,7 @@ def build_wheel(wheel_identifier, wheels_dir): for wheel_filename in os.listdir(wd): if wheel_filename.find(w...
find_missing_wheels.py: Remove complex expression in f-string
py
diff --git a/scapy/arch/linux.py b/scapy/arch/linux.py index <HASH>..<HASH> 100644 --- a/scapy/arch/linux.py +++ b/scapy/arch/linux.py @@ -103,7 +103,10 @@ def get_if_list(): try: f = open("/proc/net/dev", "rb") except IOError: - f.close() + try: + f.close() + except E...
Missing try/catch on file closing
py
diff --git a/holoviews/__init__.py b/holoviews/__init__.py index <HASH>..<HASH> 100644 --- a/holoviews/__init__.py +++ b/holoviews/__init__.py @@ -46,6 +46,9 @@ def help(obj, visualization=False, ansi=True): if visualization is False: print("\nTo view the visualization options applicable t...
Added missing branch to holoviews.help when visualization=True
py
diff --git a/python_modules/dagster-celery/dagster_celery/version.py b/python_modules/dagster-celery/dagster_celery/version.py index <HASH>..<HASH> 100644 --- a/python_modules/dagster-celery/dagster_celery/version.py +++ b/python_modules/dagster-celery/dagster_celery/version.py @@ -1,3 +1,3 @@ __version__ = '0.6.6' ...
Bring nightly version in lockstep Summary: Intention is to fix nightly builds. Test Plan: Nightly Reviewers: nate Reviewed By: nate Differential Revision: <URL>
py
diff --git a/bumpversion/cli.py b/bumpversion/cli.py index <HASH>..<HASH> 100644 --- a/bumpversion/cli.py +++ b/bumpversion/cli.py @@ -92,7 +92,11 @@ def main(original_args=None): ) args, file_names = _parse_arguments_phase_3(remaining_argv, positionals, defaults, parser2) new_version = _parse_new_versio...
Inline method _determine_files
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -75,7 +75,7 @@ setup( description = "bindings for Last.fm's acoustic fingerprinting (fplib)", author = 'Adrian Sampson', author_email = 'adrian@radbox.org', - url = 'http://beets.radbox.org/pylastfp/', + u...
fix homepage URL (point to github)
py
diff --git a/app/sqlite.py b/app/sqlite.py index <HASH>..<HASH> 100644 --- a/app/sqlite.py +++ b/app/sqlite.py @@ -13,14 +13,13 @@ class DatabaseConnection(object): """Creates a sqlite db file. tables is a dict with keys=table names, values=lists of cols. """ - fd, self.fn = mkstemp(pr...
No sanitation in create table since we do that ourselves.
py
diff --git a/fusesoc/fusesocconfigparser.py b/fusesoc/fusesocconfigparser.py index <HASH>..<HASH> 100644 --- a/fusesoc/fusesocconfigparser.py +++ b/fusesoc/fusesocconfigparser.py @@ -30,6 +30,8 @@ class FusesocConfigParser(configparser.SafeConfigParser): self.readfp(f) except configparser.MissingS...
fusesocconfigparser: Improved handling of syntax errors in .core files
py
diff --git a/astropy_helpers/tests/test_setup_helpers.py b/astropy_helpers/tests/test_setup_helpers.py index <HASH>..<HASH> 100644 --- a/astropy_helpers/tests/test_setup_helpers.py +++ b/astropy_helpers/tests/test_setup_helpers.py @@ -308,7 +308,7 @@ def test_build_docs(tmpdir, mode): from astropy_helpers....
Don't include inheritance diagram when building docs since this is already tested in sphinx-automodapi and adds a large overhead for installing graphviz
py
diff --git a/tornado/test/twisted_test.py b/tornado/test/twisted_test.py index <HASH>..<HASH> 100644 --- a/tornado/test/twisted_test.py +++ b/tornado/test/twisted_test.py @@ -481,6 +481,13 @@ else: # if we were running twisted's own test runner. 'test_connectToLinuxAbstractNamespace', ...
Blacklist a few more twisted tests that seem flaky
py
diff --git a/views.py b/views.py index <HASH>..<HASH> 100644 --- a/views.py +++ b/views.py @@ -225,6 +225,7 @@ def reviews(recid): @blueprint.route('/<int:recid>/report/<int:id>', methods=['GET', 'POST']) +@login_required @request_record def report(recid, id): if CommentRights(id).can_perform_action(): @@ -...
comments: login required for vote and report
py
diff --git a/molo/core/tests/test_models.py b/molo/core/tests/test_models.py index <HASH>..<HASH> 100644 --- a/molo/core/tests/test_models.py +++ b/molo/core/tests/test_models.py @@ -80,6 +80,10 @@ class TestModels(TestCase, MoloTestCaseMixin): self.yourmind_sub2 = self.mk_section( self.yourmind2,...
adding test to ensure sections() returns only children of relevant main
py
diff --git a/PBB_Core.py b/PBB_Core.py index <HASH>..<HASH> 100755 --- a/PBB_Core.py +++ b/PBB_Core.py @@ -921,7 +921,7 @@ class WDItemEngine(object): prefix = wd_standard_prefix params = { - 'query': prefix + query, + 'query': prefix + '\n#Tool: PBB_core fastrun\n' + query...
SPARQL query identification for WDQS added
py
diff --git a/tt/core/matrix.py b/tt/core/matrix.py index <HASH>..<HASH> 100644 --- a/tt/core/matrix.py +++ b/tt/core/matrix.py @@ -49,7 +49,14 @@ class matrix(object): self.m = a.m.copy() self.tt = a.tt.copy() return - + @property + def r(self): + return self.tt.r + ...
TT-Toolbox-style d and r added to tt_matrix
py
diff --git a/qds_sdk/commands.py b/qds_sdk/commands.py index <HASH>..<HASH> 100644 --- a/qds_sdk/commands.py +++ b/qds_sdk/commands.py @@ -346,6 +346,7 @@ class HadoopCommand(Command): parsed['label'] = options.label parsed['can_notify'] = options.can_notify + parsed["command_type"] = "Hadoop...
Fix bug introduced in <I> where wrong command_type was getting passed.
py
diff --git a/openquake/commonlib/source.py b/openquake/commonlib/source.py index <HASH>..<HASH> 100644 --- a/openquake/commonlib/source.py +++ b/openquake/commonlib/source.py @@ -219,7 +219,7 @@ class RlzsAssoc(collections.Mapping): (3, 'CampbellBozorgnia2008') ['#7-SM2_a3b1-CB2008'] """ def __init__(sel...
Small simplification in RlzsAssoc
py
diff --git a/messages_ui/middleware.py b/messages_ui/middleware.py index <HASH>..<HASH> 100644 --- a/messages_ui/middleware.py +++ b/messages_ui/middleware.py @@ -53,4 +53,5 @@ class AjaxMessagesMiddleware(object): response.content = json.dumps(data) response["content-type"] = "application/j...
Update middleware.py to update the content length If you don't update the content length then jQuery doesn't seem to understand the data
py
diff --git a/src/soap/http.py b/src/soap/http.py index <HASH>..<HASH> 100644 --- a/src/soap/http.py +++ b/src/soap/http.py @@ -26,10 +26,6 @@ class HttpTransport(Transport): #: Timeout for sending a SOAP call. Tuple (CONNECT_TIMEOUT, READ_TIMEOUT) send_timeout = settings.SEND_TIMEOUT - def __init__(self,...
Get rid of requests.Session usage to reduce issues with reused tcp connections
py
diff --git a/lark/grammar.py b/lark/grammar.py index <HASH>..<HASH> 100644 --- a/lark/grammar.py +++ b/lark/grammar.py @@ -51,6 +51,13 @@ class Rule(object): def __repr__(self): return 'Rule(%r, %r, %r, %r)' % (self.origin, self.expansion, self.alias, self.options) + def __hash__(self): + retu...
Implement eq/hash for Rule (Issue #<I>)
py
diff --git a/plenum/test/cli/helper.py b/plenum/test/cli/helper.py index <HASH>..<HASH> 100644 --- a/plenum/test/cli/helper.py +++ b/plenum/test/cli/helper.py @@ -352,13 +352,19 @@ def loadPlugin(cli, pluginPkgName): def assertCliTokens(matchedVars, tokens): - for key, value in tokens.items(): + for key, exp...
refactored few condition to fix failing test cases
py
diff --git a/turnstile/tools.py b/turnstile/tools.py index <HASH>..<HASH> 100644 --- a/turnstile/tools.py +++ b/turnstile/tools.py @@ -617,7 +617,7 @@ _dump_limits = dump_limits @add_argument('conf_file', - dest='config', + metavar='config', help="Name of the configuration ...
Missed a dest->metavar conversion.
py
diff --git a/release/serve_tests/workloads/single_deployment_1k_noop_replica.py b/release/serve_tests/workloads/single_deployment_1k_noop_replica.py index <HASH>..<HASH> 100644 --- a/release/serve_tests/workloads/single_deployment_1k_noop_replica.py +++ b/release/serve_tests/workloads/single_deployment_1k_noop_replica....
[Release] change replica to <I> to collect signals now (#<I>)
py
diff --git a/itools.py b/itools.py index <HASH>..<HASH> 100644 --- a/itools.py +++ b/itools.py @@ -1,3 +1,16 @@ +# -*- coding: UTF-8 -*- + +"""itools + Tools for working with iterables. Complements itertools. + +Copyright � 2004 Sandia National Laboratories +""" + +__author__ = 'Jason R. Coombs <jaraco@sand...
Added copyright notice, docstrings, and utf-8 encoding specifier.
py
diff --git a/bingo/models.py b/bingo/models.py index <HASH>..<HASH> 100644 --- a/bingo/models.py +++ b/bingo/models.py @@ -10,7 +10,7 @@ from colorful.fields import RGBColorField from random import randint -from times import is_starttime, is_after_endtime +from times import is_starttime, is_after_endtime, get_time...
methods for end_time and the hard/soft expiry time
py
diff --git a/tests/news/views.py b/tests/news/views.py index <HASH>..<HASH> 100644 --- a/tests/news/views.py +++ b/tests/news/views.py @@ -22,5 +22,8 @@ class ArticleViews(Views): return self._render( request = request, template = 'preview', + context = { + '...
Return a context from ArticleViews#preview
py
diff --git a/aegean.py b/aegean.py index <HASH>..<HASH> 100755 --- a/aegean.py +++ b/aegean.py @@ -1692,7 +1692,7 @@ def get_pixbeam(beam, x, y): ra, dec = pix2sky([x, y]) major, pa = sky2pix_vec([ra, dec], beam.a, beam.pa)[2:4] minor = abs(sky2pix_vec([ra, dec], beam.b, beam.pa + 90)[2]) - if major =...
Fixed a bug that occured when sources were being fit near the "edge of the sky"
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 @@ -121,11 +121,6 @@ html_logo = '_static/img/pytorch-logo-dark.svg' html_static_path = ['_static'] -def setup(app): - app.add_stylesheet('css/pytorch_theme.css') - app.add_s...
Remove Lato font in the doc (#<I>)
py
diff --git a/docs/shutit_module_template.py b/docs/shutit_module_template.py index <HASH>..<HASH> 100644 --- a/docs/shutit_module_template.py +++ b/docs/shutit_module_template.py @@ -24,8 +24,6 @@ import util import os class template(ShutItModule): - """TODO - """ # is_installed # @@ -34,8 +32,6 @@ class temp...
removed doc for now to get tests working again
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ except ImportError: setup( name="three", - version="0.6.6", + version="0.6.7", url="http://github.com/codeforamerica/three", author="Zach Williams", author_email="hey@zachwill.com",
Update version with @juryjola's pull request
py
diff --git a/VirtualHost/vhost.py b/VirtualHost/vhost.py index <HASH>..<HASH> 100644 --- a/VirtualHost/vhost.py +++ b/VirtualHost/vhost.py @@ -25,7 +25,7 @@ def main(domain, path): # Virtual Hosts Configuration with open(vhost_file, "a+") as vfile: vfile.write("<VirtualHost *:80>\n") - ...
Updated apache reload cmd
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from setuptools import setup, find_packages setup( name='directory_components', - version='4.0.0', + version='3.6.0', url='https://github.com/uktrade/directory-components', license='MIT', ...
New feature is off by default so this is no longer a breaking change
py
diff --git a/examples/pytorch/summarization/run_summarization_no_trainer.py b/examples/pytorch/summarization/run_summarization_no_trainer.py index <HASH>..<HASH> 100644 --- a/examples/pytorch/summarization/run_summarization_no_trainer.py +++ b/examples/pytorch/summarization/run_summarization_no_trainer.py @@ -338,7 +33...
Fix a small error in summarization example (#<I>)
py
diff --git a/pygeoip/const.py b/pygeoip/const.py index <HASH>..<HASH> 100644 --- a/pygeoip/const.py +++ b/pygeoip/const.py @@ -408,11 +408,13 @@ ISP_EDITION = 4 ASNUM_EDITION = 9 ASNUM_EDITION_V6 = 21 NETSPEED_EDITION = 10 -# Not yet supported databases -PROXY_EDITION = 8 NETSPEED_EDITION_REV1 = 32 NETSPEED_EDITIO...
add NETSPEED_Edition_* databases to "supported" Since, well, the API claims to be supporting them (and soon will!)
py
diff --git a/aiohttp_devtools/logs.py b/aiohttp_devtools/logs.py index <HASH>..<HASH> 100644 --- a/aiohttp_devtools/logs.py +++ b/aiohttp_devtools/logs.py @@ -1,6 +1,7 @@ import json import logging import logging.config +import platform import re import traceback from io import StringIO @@ -30,7 +31,7 @@ split_lo...
disable colors on windows, fix #<I> (#<I>)
py
diff --git a/alerta/models/alarms/alerta.py b/alerta/models/alarms/alerta.py index <HASH>..<HASH> 100644 --- a/alerta/models/alarms/alerta.py +++ b/alerta/models/alarms/alerta.py @@ -39,6 +39,10 @@ COLOR_MAP = { Severity.Trace: '#7554BF', # violet Severity.Unknown: 'silver' }, + 'status': { +...
feat: add colors for Ack and Shelved statuses (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -132,7 +132,7 @@ setup( license='MIT', install_requires=[ 'dargparse', - 'pymongo==2.4.1', + 'pymongo>=2.4', 'verlib==0.1']
Accept pymongo <I> or greater
py
diff --git a/tryalgo/union_rectangles.py b/tryalgo/union_rectangles.py index <HASH>..<HASH> 100755 --- a/tryalgo/union_rectangles.py +++ b/tryalgo/union_rectangles.py @@ -192,6 +192,7 @@ def union_rectangles_fastest(R): # snip} +# snip{ union_rectangles_naive def rectangles_contains_point(R, x, y): """Decide...
Add a snippet in the snippet
py
diff --git a/versionfinder/tests/test_acceptance.py b/versionfinder/tests/test_acceptance.py index <HASH>..<HASH> 100644 --- a/versionfinder/tests/test_acceptance.py +++ b/versionfinder/tests/test_acceptance.py @@ -217,6 +217,7 @@ class AcceptanceHelpers(object): def _set_git_tag(self, path, tagname): """...
set git config in created repos
py
diff --git a/src/scrapy_redis/connection.py b/src/scrapy_redis/connection.py index <HASH>..<HASH> 100644 --- a/src/scrapy_redis/connection.py +++ b/src/scrapy_redis/connection.py @@ -1,3 +1,5 @@ +import sys + import six from scrapy.utils.misc import load_object @@ -14,6 +16,9 @@ SETTINGS_PARAMS_MAP = { 'REDIS_...
Add option to decode responses in python3 (#<I>)
py
diff --git a/lib/webcomment_webinterface.py b/lib/webcomment_webinterface.py index <HASH>..<HASH> 100644 --- a/lib/webcomment_webinterface.py +++ b/lib/webcomment_webinterface.py @@ -70,7 +70,7 @@ try: except ImportError, e: fckeditor_available = False import os -from invenio import webinterface_handler_wsgi_uti...
WebStyle: new handle_file_post API * New API handle_file_post to handle direct POSTing of files. * New web testing infrastructere for HTTP (and WSGI and SSO) under /httptest/. * Cleaned unneeded definitions from webinterface_handler_wsgi_utils.py and moved constants and Exceptions into webinterface_handler_config....
py
diff --git a/host/TL/Dummy.py b/host/TL/Dummy.py index <HASH>..<HASH> 100644 --- a/host/TL/Dummy.py +++ b/host/TL/Dummy.py @@ -13,12 +13,13 @@ from TL.TransferLayer import TransferLayer import array -class Dummy (TransferLayer): - - mem = dict() +class Dummy(TransferLayer): + '''Dummy device + ''' + me...
ENH: support reading from dummy memory ENH: use super
py
diff --git a/py3status/modules/pomodoro.py b/py3status/modules/pomodoro.py index <HASH>..<HASH> 100644 --- a/py3status/modules/pomodoro.py +++ b/py3status/modules/pomodoro.py @@ -27,7 +27,21 @@ class Py3status: if event['button'] == 1: if self.status == 'stop': self.status = 'star...
Left click can now pause and resume a Pomodoro
py
diff --git a/src/SALib/sample/morris/__init__.py b/src/SALib/sample/morris/__init__.py index <HASH>..<HASH> 100644 --- a/src/SALib/sample/morris/__init__.py +++ b/src/SALib/sample/morris/__init__.py @@ -96,9 +96,10 @@ def sample(problem, N, num_levels=4, optimal_trajectories=None, problem['groups'] = problem['...
Refactored _sample_groups to _sample_morris
py
diff --git a/tests/testtimedependent.py b/tests/testtimedependent.py index <HASH>..<HASH> 100644 --- a/tests/testtimedependent.py +++ b/tests/testtimedependent.py @@ -16,7 +16,8 @@ except: gmpy = None -py26 = (sys.version_info[0] == 2) and (sys.version_info[1] == 6) +pybefore27 = (sys.version_info[0] == 2) and...
Clarified issue with Python <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,6 +4,7 @@ import sys import setuptools from os.path import join, dirname, exists from glob import glob +from os import environ if sys.version_info >= (3, 6): @@ -35,6 +36,12 @@ class get_pybind_include(object): ...
Enable build/test of pikepdf with qpdf built from source This makes it possible to test pikepdf on an unreleased version of qpdf.
py
diff --git a/src/segyviewlib/sliceviewcontext.py b/src/segyviewlib/sliceviewcontext.py index <HASH>..<HASH> 100644 --- a/src/segyviewlib/sliceviewcontext.py +++ b/src/segyviewlib/sliceviewcontext.py @@ -125,6 +125,7 @@ class SliceViewContext(QObject): def set_image_size(self, width, height = None, dpi = None): ...
uncheking plot export image size, resets the size to actual figure dimensions
py
diff --git a/jasper.py b/jasper.py index <HASH>..<HASH> 100755 --- a/jasper.py +++ b/jasper.py @@ -10,12 +10,11 @@ import yaml import argparse from client import tts, stt, jasperpath, diagnose +from client.conversation import Conversation # Add jasperpath.LIB_PATH to sys.path sys.path.append(jasperpath.LIB_PATH...
jasper.py: Move module-level import to top of file
py
diff --git a/abydos/phonetic.py b/abydos/phonetic.py index <HASH>..<HASH> 100644 --- a/abydos/phonetic.py +++ b/abydos/phonetic.py @@ -5173,6 +5173,9 @@ def davidson(lname, fname='.', omit_fname=False): Passenger Record System." Communications of the ACM. 5(3). 169--171. https://dl.acm.org/citation.cfm?id=366...
added comment based on Dolby (<I>)
py
diff --git a/formats/folia.py b/formats/folia.py index <HASH>..<HASH> 100644 --- a/formats/folia.py +++ b/formats/folia.py @@ -72,7 +72,7 @@ LXE=True #use lxml instead of built-in ElementTree (default) #The FoLiA version FOLIAVERSION = "1.4.0" -LIBVERSION = FOLIAVERSION + '.85' #== FoLiA version + library revision ...
allow underscore as first character in an NCName
py
diff --git a/django_extensions/management/commands/notes.py b/django_extensions/management/commands/notes.py index <HASH>..<HASH> 100644 --- a/django_extensions/management/commands/notes.py +++ b/django_extensions/management/commands/notes.py @@ -52,7 +52,7 @@ class Command(BaseCommand): ...
fix for python2
py
diff --git a/salt/modules/ssh_service.py b/salt/modules/ssh_service.py index <HASH>..<HASH> 100644 --- a/salt/modules/ssh_service.py +++ b/salt/modules/ssh_service.py @@ -1,16 +1,12 @@ -# -*- coding: utf-8 -*- """ Provide the service module for the proxy-minion SSH sample .. versionadded:: 2015.8.2 """ -# Import Py...
Drop Py2 and six on salt/modules/ssh_service.py
py
diff --git a/buildbot/slave/commands.py b/buildbot/slave/commands.py index <HASH>..<HASH> 100755 --- a/buildbot/slave/commands.py +++ b/buildbot/slave/commands.py @@ -308,6 +308,8 @@ class ShellCommand: self.sendRC = sendRC self.logfiles = logfiles self.workdir = workdir + if not os.pa...
(refs #<I>) automatically create workdir if it doesn't exist
py
diff --git a/openquake/commands/shell.py b/openquake/commands/shell.py index <HASH>..<HASH> 100644 --- a/openquake/commands/shell.py +++ b/openquake/commands/shell.py @@ -25,6 +25,7 @@ class OpenQuake(object): """ def __init__(self): from openquake.baselib.datastore import read + from openquak...
Added geodetic_distance to oq shell [skip CI] Former-commit-id: c8d<I>f0efa<I>d<I>ea9c<I>f8fb
py
diff --git a/ruuvitag_sensor/__main__.py b/ruuvitag_sensor/__main__.py index <HASH>..<HASH> 100644 --- a/ruuvitag_sensor/__main__.py +++ b/ruuvitag_sensor/__main__.py @@ -1,5 +1,6 @@ import sys import argparse +import logging import ruuvitag_sensor from ruuvitag_sensor.log import log @@ -31,8 +32,15 @@ if __name_...
Add ability to enable debug logging for CLI test program
py
diff --git a/spinoff/contrib/filetransfer/filetransfer.py b/spinoff/contrib/filetransfer/filetransfer.py index <HASH>..<HASH> 100644 --- a/spinoff/contrib/filetransfer/filetransfer.py +++ b/spinoff/contrib/filetransfer/filetransfer.py @@ -2,15 +2,13 @@ import datetime import errno import uuid import os -import warni...
Changed contrib.filetransfer to use Actor as base class instead of the old Process
py
diff --git a/test/test_rpc.py b/test/test_rpc.py index <HASH>..<HASH> 100644 --- a/test/test_rpc.py +++ b/test/test_rpc.py @@ -6,6 +6,7 @@ import pytest from eventlet.event import Event from eventlet.semaphore import Semaphore from greenlet import GreenletExit # pylint: disable=E0611 +from kombu import Exchange fr...
Upgrade test to work with latest kombu versions This particularly changed: celery/kombu@<I>b<I>
py
diff --git a/python_modules/dagster/dagster/core/events/__init__.py b/python_modules/dagster/dagster/core/events/__init__.py index <HASH>..<HASH> 100644 --- a/python_modules/dagster/dagster/core/events/__init__.py +++ b/python_modules/dagster/dagster/core/events/__init__.py @@ -168,6 +168,13 @@ class DagsterEvent( ...
post stack fixup (#<I>)
py
diff --git a/caravel/views.py b/caravel/views.py index <HASH>..<HASH> 100755 --- a/caravel/views.py +++ b/caravel/views.py @@ -910,7 +910,7 @@ class Caravel(BaseCaravelView): del d['action'] del d['previous_viz_type'] - as_list = ('metrics', 'groupby', 'columns', 'all_columns', 'mapbox_label'...
Added order_by_cols to as_list. Fix to issue #<I> (#<I>)
py
diff --git a/about_time/about_time.py b/about_time/about_time.py index <HASH>..<HASH> 100644 --- a/about_time/about_time.py +++ b/about_time/about_time.py @@ -80,7 +80,7 @@ def about_time(fn=None, it=None): return HandleResult(timings, result) # use as counter/throughput iterator. - if not fn or not ...
fix(*) empty iterator is detected as fn
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ if sys.version_info < (3, 4): setup( name="wordfreq", - version='1.6', + version='1.5.2', maintainer='Luminoso Technologies, Inc.', maintainer_email='info@luminoso.com', url='http://...
eh, this is still version <I>, not <I>
py
diff --git a/BDMesh/MeshUniform1D.py b/BDMesh/MeshUniform1D.py index <HASH>..<HASH> 100644 --- a/BDMesh/MeshUniform1D.py +++ b/BDMesh/MeshUniform1D.py @@ -113,7 +113,7 @@ class MeshUniform1D(Mesh1D): shift = (mesh.physical_nodes[:min_size] - self.physical_nodes[:min_size]) / min_step print(mes...
correcting check if two uniform meshes are aligned.
py
diff --git a/python/ray/dataframe/groupby.py b/python/ray/dataframe/groupby.py index <HASH>..<HASH> 100644 --- a/python/ray/dataframe/groupby.py +++ b/python/ray/dataframe/groupby.py @@ -62,6 +62,25 @@ class DataFrameGroupBy(object): else: self._grouped_partitions = [df._row_partitions] ...
fixing zero length partitions (#<I>) fixing bugs to fully handle zero len parts resolve comments renaming imports Add getattr to groupby testing
py
diff --git a/pyqode/core/api/utils.py b/pyqode/core/api/utils.py index <HASH>..<HASH> 100644 --- a/pyqode/core/api/utils.py +++ b/pyqode/core/api/utils.py @@ -334,6 +334,8 @@ class TextHelper(object): """ Removes trailing whitespaces and ensure one single blank line at the end of the QTextDoc...
Mark clean_document as deprecated
py
diff --git a/owslib/csw.py b/owslib/csw.py index <HASH>..<HASH> 100644 --- a/owslib/csw.py +++ b/owslib/csw.py @@ -559,6 +559,14 @@ class CswRecord(object): self.uris.append(uri) + self.references = [] # list of dicts + for i in record.findall(util.nspath_eval('dct:references', namespace...
add support for dct:references
py
diff --git a/flux_led/models_db.py b/flux_led/models_db.py index <HASH>..<HASH> 100755 --- a/flux_led/models_db.py +++ b/flux_led/models_db.py @@ -935,7 +935,7 @@ MODELS = [ model_num=0x33, # 'AK001-ZJ100' == v3 - WIFI370 version # 'AK001-ZJ210' == v6.37 - Seen on the outdoor string lights fr...
Add minor version to 0x<I> v7 in db (#<I>)
py
diff --git a/tests/nl/test_nl_sendmsg.py b/tests/nl/test_nl_sendmsg.py index <HASH>..<HASH> 100644 --- a/tests/nl/test_nl_sendmsg.py +++ b/tests/nl/test_nl_sendmsg.py @@ -59,9 +59,18 @@ def test_default(tcp_server): assert [iov + b'\0'] == tcp_server.data -@pytest.mark.skipif('True') def test_error_nle_bad_so...
test_error_nle_bad_sock() Testing nl_sendmsg() with a closed socket.
py
diff --git a/kodi_voice/kodi.py b/kodi_voice/kodi.py index <HASH>..<HASH> 100644 --- a/kodi_voice/kodi.py +++ b/kodi_voice/kodi.py @@ -738,7 +738,7 @@ class Kodi: def DownloadSubtitles(self): - return self.SendCommand(RPCString("GUI.ActivateWindow", {"window": "subtitlesearch"})) + return self.SendCommand(...
Don't wait for response for DownloadSubtitles. Ideally we'd do this, but it apparently never responds.
py
diff --git a/tests/unit/modules/test_mount.py b/tests/unit/modules/test_mount.py index <HASH>..<HASH> 100644 --- a/tests/unit/modules/test_mount.py +++ b/tests/unit/modules/test_mount.py @@ -117,12 +117,12 @@ class MountTestCase(TestCase, LoaderModuleMockMixin): mock_open(read_data=file_data...
Fix mount.vfstab unit test This test was calling mount.fstab() instead of mount.vfstab()
py