diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/pygmsh/built_in/geometry.py b/pygmsh/built_in/geometry.py index <HASH>..<HASH> 100644 --- a/pygmsh/built_in/geometry.py +++ b/pygmsh/built_in/geometry.py @@ -1026,6 +1026,21 @@ class Geometry: ) return + def rotate(self, input_entity, point, angle, axis): + """Translates input...
Added rotation to built-in geom
py
diff --git a/tornado/iostream.py b/tornado/iostream.py index <HASH>..<HASH> 100644 --- a/tornado/iostream.py +++ b/tornado/iostream.py @@ -1402,7 +1402,13 @@ class SSLIOStream(IOStream): # to cause do_handshake to raise EBADF and ENOTCONN, so make # those errors quiet as well. # h...
iostream: Add errno 0 to the list of silent errors in TLS handshakes This error is possible for some connections that don't follow through with the TLS handshake. Fixes #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,8 @@ +import sys from distutils.core import setup + for cmd in ('egg_info', 'develop'): - import sys if cmd in sys.argv: from setuptools import setup
Don't import sys twice
py
diff --git a/tools/interop_matrix/client_matrix.py b/tools/interop_matrix/client_matrix.py index <HASH>..<HASH> 100644 --- a/tools/interop_matrix/client_matrix.py +++ b/tools/interop_matrix/client_matrix.py @@ -93,6 +93,9 @@ LANG_RELEASE_MATRIX = { { 'v1.12.0': None }, + { + ...
Add version <I> to interop matrix
py
diff --git a/baron/grammator_operators.py b/baron/grammator_operators.py index <HASH>..<HASH> 100644 --- a/baron/grammator_operators.py +++ b/baron/grammator_operators.py @@ -77,7 +77,12 @@ def include_operators(pg): @pg.production("not_test : NOT not_test") def not_node((not_, comparison)): - return...
[mod] continue refactoring
py
diff --git a/bin/permutation_test.py b/bin/permutation_test.py index <HASH>..<HASH> 100755 --- a/bin/permutation_test.py +++ b/bin/permutation_test.py @@ -582,9 +582,9 @@ def parse_arguments(): type=int, default=2, help=help_str) help_str = ('Perform tsg permutatio...
Increased the minimum number of deleterious mutations for a gene to be tested in the tsg permutation test
py
diff --git a/util/batch/universal/system.py b/util/batch/universal/system.py index <HASH>..<HASH> 100644 --- a/util/batch/universal/system.py +++ b/util/batch/universal/system.py @@ -21,7 +21,8 @@ elif IS_NEC: util.logging.debug('Choosing batch system {}.'.format(BATCH_SYSTEM_STR)) from util.batch.nec.system ...
MAINT: util.batch.universal.system: choose general batch system if wanted batch system is unkown.
py
diff --git a/pysat/_instrument.py b/pysat/_instrument.py index <HASH>..<HASH> 100644 --- a/pysat/_instrument.py +++ b/pysat/_instrument.py @@ -208,7 +208,7 @@ class Instrument(object): setattr(self, iattr, getattr(inst_module, iattr).lower()) else: raise Attrib...
BUG: module repr and iterator name Fixed bugs in printing the instrument module representation and a typo in an iterator variable name.
py
diff --git a/formly/views/results.py b/formly/views/results.py index <HASH>..<HASH> 100644 --- a/formly/views/results.py +++ b/formly/views/results.py @@ -44,9 +44,12 @@ class RemapView(LoginRequiredMixin, DetailView): answer_string = self.kwargs.get('answer_string') question = self.get_object() ...
Fix for bug when removing stale answers
py
diff --git a/dynamic_rest/filters.py b/dynamic_rest/filters.py index <HASH>..<HASH> 100644 --- a/dynamic_rest/filters.py +++ b/dynamic_rest/filters.py @@ -194,6 +194,13 @@ class DynamicFilterBackend(BaseFilterBackend): self.DEBUG = settings.DEBUG return self._build_queryset(queryset=queryset) + "...
Proxy renamed field for downstream dependencies
py
diff --git a/pymatbridge/version.py b/pymatbridge/version.py index <HASH>..<HASH> 100644 --- a/pymatbridge/version.py +++ b/pymatbridge/version.py @@ -4,7 +4,7 @@ _version_major = 0 _version_minor = 1 _version_micro = '' # use '' for first of series, number for 1 and above -_version_extra = 'dev' +_version_extra = ...
Increment version to tag + release.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ long_description = ('Ariane CLIP3 (client python 3) is the python implementation ' + IRC on freenode #ariane.echinopsii') setup(name='ariane_clip3', - version='0.1.3-b01', + v...
[ACC-<I>] new beta version
py
diff --git a/cmdhelper.py b/cmdhelper.py index <HASH>..<HASH> 100755 --- a/cmdhelper.py +++ b/cmdhelper.py @@ -137,11 +137,17 @@ class MyStreamHandler(logging.StreamHandler): newline will be written to the output stream.""" try: msg = self.format(record) - terminator = getat...
Improve UnicodeEncodeError fix so it is also working on Python <I>
py
diff --git a/pre_commit/languages/python.py b/pre_commit/languages/python.py index <HASH>..<HASH> 100644 --- a/pre_commit/languages/python.py +++ b/pre_commit/languages/python.py @@ -140,6 +140,7 @@ def py_interface(_dir, _make_venv): 'python', '-c', 'import ctypes, datetime, io, os, s...
Don't attempt to decode the healthy response
py
diff --git a/src/yamlinclude/constructor.py b/src/yamlinclude/constructor.py index <HASH>..<HASH> 100644 --- a/src/yamlinclude/constructor.py +++ b/src/yamlinclude/constructor.py @@ -7,9 +7,8 @@ Include YAML files within YAML import os.path import re from glob import iglob -from re import Pattern from sys import ve...
fixing: A `re.Pattern` typing problem
py
diff --git a/insights/client/__init__.py b/insights/client/__init__.py index <HASH>..<HASH> 100644 --- a/insights/client/__init__.py +++ b/insights/client/__init__.py @@ -252,11 +252,10 @@ class InsightsClient(object): def update(self): egg_path = self.fetch() - if (egg_path and - ...
Need to ensure a boolean is returned from InsightsClient.update() This is so that the calling code can know if handle_startup() returned early.
py
diff --git a/paramz/optimization/optimization.py b/paramz/optimization/optimization.py index <HASH>..<HASH> 100644 --- a/paramz/optimization/optimization.py +++ b/paramz/optimization/optimization.py @@ -324,7 +324,7 @@ def get_optimizer(f_min): #if rasm_available: # optimizers['rasmussen'] = opt_rasm - ...
FIX: Prevent selecting optimizer dependcy on iteration order of dictionary keys.
py
diff --git a/consoleprinter/__init__.py b/consoleprinter/__init__.py index <HASH>..<HASH> 100644 --- a/consoleprinter/__init__.py +++ b/consoleprinter/__init__.py @@ -2928,7 +2928,7 @@ def remove_escapecodes(escapedstring): remove_color = remove_escapecodes remove_colors = remove_escapecodes - +strip_colors = remov...
Monday <I> November <I> (week:<I> day:<I>), <I>:<I>:<I>
py
diff --git a/libstempo/toasim.py b/libstempo/toasim.py index <HASH>..<HASH> 100644 --- a/libstempo/toasim.py +++ b/libstempo/toasim.py @@ -690,6 +690,7 @@ def createGWB(psr, Amp, gam, noCorr=False, seed=None, turnover=False, :param f0: Frequency of spectrum turnover :param beta: Spectral index of power spectr...
added option in createGWB to supply custom strain spectrum
py
diff --git a/tests/test_orbit.py b/tests/test_orbit.py index <HASH>..<HASH> 100644 --- a/tests/test_orbit.py +++ b/tests/test_orbit.py @@ -4823,9 +4823,9 @@ def test_from_name_values(): "DEC of [BGK2006] HV 5 does not match SIMBAD value" assert numpy.isclose(o.dist(), 55.), \ "Parallax of [BGK200...
Update proper motion of hypervelocity star [BGK<I>] HV 5 used in tests to Gaia EDR3 value
py
diff --git a/marshmallow/fields.py b/marshmallow/fields.py index <HASH>..<HASH> 100644 --- a/marshmallow/fields.py +++ b/marshmallow/fields.py @@ -695,7 +695,7 @@ class Number(Field): try: ret = self._format_num(value) if self.as_string: - return text_type(ret) + ...
Fix as string behavior on py2
py
diff --git a/tests/linalg_test.py b/tests/linalg_test.py index <HASH>..<HASH> 100644 --- a/tests/linalg_test.py +++ b/tests/linalg_test.py @@ -719,7 +719,7 @@ class NumpyLinalgTest(jtu.JaxTestCase): # TODO(phawkins): 1e-1 seems like a very loose tolerance. jtu.check_grads(np.linalg.pinv, args_maker(), 2, rtol...
skip pinv test on tpu because no svd
py
diff --git a/coaster/utils/misc.py b/coaster/utils/misc.py index <HASH>..<HASH> 100644 --- a/coaster/utils/misc.py +++ b/coaster/utils/misc.py @@ -254,15 +254,21 @@ def make_name(text, delim=u'-', maxlength=50, checkused=None, counter=2): 'lankaran' >>> make_name(u'example@example.com') 'example-example-...
Avoid a trailing delimiter in make_name Resolves hasgeek/funnel#<I>
py
diff --git a/src/hamster/storage/db.py b/src/hamster/storage/db.py index <HASH>..<HASH> 100644 --- a/src/hamster/storage/db.py +++ b/src/hamster/storage/db.py @@ -134,7 +134,8 @@ class Storage(storage.Storage): # running as flask app. XXX - detangle data_dir = os.path.join(modu...
look for ../../../data/ instead of ../../data/ (#<I>) Fix issue <I>: src/hamster-service & ... FileNotFoundError: [Errno 2] No such file or directory when there is no hamster.db.
py
diff --git a/ga4gh/datarepo.py b/ga4gh/datarepo.py index <HASH>..<HASH> 100644 --- a/ga4gh/datarepo.py +++ b/ga4gh/datarepo.py @@ -245,6 +245,17 @@ class AbstractDataRepository(object): phenotypeAssociationSet.getParentContainer().getId(), sep="\t") # TODO - p...
Adds prints of rna information to the list command
py
diff --git a/txkoji/multicall.py b/txkoji/multicall.py index <HASH>..<HASH> 100644 --- a/txkoji/multicall.py +++ b/txkoji/multicall.py @@ -118,6 +118,6 @@ class KojiMultiCallIterator(MultiCallIterator): return item if isinstance(value, list): # Do this same rich item conversio...
multicall: rename list element variable Some versions of flake8 have a problem with re-using the "item" variable name here: F<I> list comprehension redefines 'item' from line <I> Change it to something else to satisfy flake8.
py
diff --git a/src/armet/resources/base.py b/src/armet/resources/base.py index <HASH>..<HASH> 100644 --- a/src/armet/resources/base.py +++ b/src/armet/resources/base.py @@ -860,11 +860,19 @@ class BaseResource(object): # slice off the site prefix if one exists. # Will replace "/" with "/" if that's the ...
Resolver raises value error if it can't find a match.
py
diff --git a/astrodbkit/astrodb.py b/astrodbkit/astrodb.py index <HASH>..<HASH> 100755 --- a/astrodbkit/astrodb.py +++ b/astrodbkit/astrodb.py @@ -142,7 +142,7 @@ class Database: try: temp = data[col].astype(new_records[col].dtype) data.replace_column(col, temp...
Added AttributeError to try/except statement in db.add_data() method
py
diff --git a/synapse/tests/test_model_inet.py b/synapse/tests/test_model_inet.py index <HASH>..<HASH> 100644 --- a/synapse/tests/test_model_inet.py +++ b/synapse/tests/test_model_inet.py @@ -1487,7 +1487,13 @@ class InetModelTest(SynTest): self.eq(valu, '::ffff:1.2.3.4') self.eq(subs.get('ipv4...
Add test to ensure that if we re-norm a value we get the same subs and valu.
py
diff --git a/cirq/study/result.py b/cirq/study/result.py index <HASH>..<HASH> 100644 --- a/cirq/study/result.py +++ b/cirq/study/result.py @@ -150,7 +150,8 @@ class Result: @property def repetitions(self) -> int: - return self.data.shape[0] + # Get the length quickly from one of the keyed resu...
Fix Result constructing a pandas dataframe to compute repetitions (#<I>) - This is really really expensive compared to looking up the value more directly like this
py
diff --git a/netjsonconfig/schema.py b/netjsonconfig/schema.py index <HASH>..<HASH> 100644 --- a/netjsonconfig/schema.py +++ b/netjsonconfig/schema.py @@ -286,6 +286,8 @@ schema = { "properties": { "hostname": { "type": "string", + "maxLength": 63, +...
[schema] Added minlength and maxlength to hostname
py
diff --git a/lib/svtplay_dl/service/nrk.py b/lib/svtplay_dl/service/nrk.py index <HASH>..<HASH> 100644 --- a/lib/svtplay_dl/service/nrk.py +++ b/lib/svtplay_dl/service/nrk.py @@ -13,7 +13,7 @@ from svtplay_dl.subtitle import subtitle from svtplay_dl.log import log class Nrk(Service, OpenGraphThumbMixin): - suppo...
nrk: support for p3.no
py
diff --git a/releases/__init__.py b/releases/__init__.py index <HASH>..<HASH> 100644 --- a/releases/__init__.py +++ b/releases/__init__.py @@ -641,15 +641,6 @@ def setup(app): app.add_config_value( name="releases_{}".format(key), default=default, rebuild="html" ) - # if a string is giv...
Never actually nixed this when moving to using six
py
diff --git a/synapse/axon.py b/synapse/axon.py index <HASH>..<HASH> 100644 --- a/synapse/axon.py +++ b/synapse/axon.py @@ -186,7 +186,7 @@ class BlobCell(s_neuron.Cell): def postCell(self): if self.neuraddr is None: - raise Exception('BlobCell requires a neuron') + raise s_common.B...
Replace raise Exceptions with raising a specific exception
py
diff --git a/pysoa/server/schemas.py b/pysoa/server/schemas.py index <HASH>..<HASH> 100644 --- a/pysoa/server/schemas.py +++ b/pysoa/server/schemas.py @@ -30,5 +30,6 @@ JobRequestSchema = Dictionary( 'control': ControlHeaderSchema, 'context': SchemalessDictionary(key_type=UnicodeString()), 'a...
Make context optional Summary: It was being required before. Test Plan: Manually tested Reviewers: #foundry, seth Reviewed By: #foundry, seth Subscribers: seth, michaelmanganiello Differential Revision: <URL>
py
diff --git a/h2o-py/tests/testdir_misc/pyunit_check_strict.py b/h2o-py/tests/testdir_misc/pyunit_check_strict.py index <HASH>..<HASH> 100644 --- a/h2o-py/tests/testdir_misc/pyunit_check_strict.py +++ b/h2o-py/tests/testdir_misc/pyunit_check_strict.py @@ -6,7 +6,14 @@ from tests import pyunit_utils def check_strict...
Fixing test pyunit_check_strict, which wasn't able to run in an environment where the location of the h2o.jar executable is not known to the script
py
diff --git a/rollbar/__init__.py b/rollbar/__init__.py index <HASH>..<HASH> 100644 --- a/rollbar/__init__.py +++ b/rollbar/__init__.py @@ -935,7 +935,7 @@ def _build_person_data(request): if StarletteRequest: from rollbar.contrib.starlette.requests import hasuser else: - hasuser = lambda reque...
fix #<I> breaking collecting users information on *not* starlette The change fixes the check to match the previous code: `if not StarletteRequest and hasattr(request, 'user'):`
py
diff --git a/symbols/call.py b/symbols/call.py index <HASH>..<HASH> 100644 --- a/symbols/call.py +++ b/symbols/call.py @@ -33,7 +33,7 @@ class SymbolCALL(Symbol): lineno: source code line where this call was made """ - def __init__(self, entry, arglist, lineno): + def __init__(self, entry: SymbolF...
Recalculate bound dependency upon instantiation When instancing the CALL class, it will also add the params of the function as `required`, which will allow us, later, to update the LBound / UBound dependency.
py
diff --git a/fermipy/tests/test_gtanalysis.py b/fermipy/tests/test_gtanalysis.py index <HASH>..<HASH> 100644 --- a/fermipy/tests/test_gtanalysis.py +++ b/fermipy/tests/test_gtanalysis.py @@ -169,6 +169,7 @@ def test_gtanalysis_residmap(create_draco_analysis): gta.residmap(model={}, make_plots=True) +@requires_...
Skip two failed tests for now to switch to new test system
py
diff --git a/docs/source/conf.py b/docs/source/conf.py index <HASH>..<HASH> 100755 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -57,7 +57,7 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'aiida_nwchem' +project = u'aiida-nwchem' copyright_first_year = ...
small change in conf.py
py
diff --git a/troposphere/elasticsearch.py b/troposphere/elasticsearch.py index <HASH>..<HASH> 100644 --- a/troposphere/elasticsearch.py +++ b/troposphere/elasticsearch.py @@ -61,7 +61,7 @@ class ElasticsearchDomain(AWSObject): props = { 'AccessPolicies': (policytypes, False), 'AdvancedOptions': (...
DomainName isn't a required parameter (#<I>)
py
diff --git a/maintenancemode/views.py b/maintenancemode/views.py index <HASH>..<HASH> 100644 --- a/maintenancemode/views.py +++ b/maintenancemode/views.py @@ -1,6 +1,15 @@ # -*- coding: utf-8 -*- -from django.template import RequestContext, loader +import django + +if django.get_version() >= '1.8': + from django....
fixed "RemovedInDjango<I>Warning: render() must be called with a dict, not a RequestContext..."
py
diff --git a/analysis/old_isochrone.py b/analysis/old_isochrone.py index <HASH>..<HASH> 100644 --- a/analysis/old_isochrone.py +++ b/analysis/old_isochrone.py @@ -46,6 +46,13 @@ from ugali.utils.config import Config from ugali.utils.logger import logger ############################################################ +...
Added deprecation warning to 'old_isochrone.py'
py
diff --git a/zhaquirks/tuya/ts0044.py b/zhaquirks/tuya/ts0044.py index <HASH>..<HASH> 100644 --- a/zhaquirks/tuya/ts0044.py +++ b/zhaquirks/tuya/ts0044.py @@ -145,7 +145,7 @@ class ZemiSmartRemote0044(CustomDevice, Tuya4ButtonTriggers): # SizePrefixedSimpleDescriptor(endpoint=2, profile=260, device_type=0, dev...
Update of Tuya Wireless Scene Remote TS<I> for _TZ<I>_abci1hiu (#<I>) Update ts<I>.py
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -20,6 +20,7 @@ from pyfakefs.fake_filesystem import __version__ import os +import setuptools NAME = 'pyfakefs' @@ -76,7 +77,7 @@ touching the real disk. The software under test requires no modification to work with p...
Correct categories arg in setup.py
py
diff --git a/yabt/dot_test.py b/yabt/dot_test.py index <HASH>..<HASH> 100644 --- a/yabt/dot_test.py +++ b/yabt/dot_test.py @@ -82,9 +82,8 @@ def test_no_buildenv_deps_in_dot(basic_conf): build_context = BuildContext(basic_conf) basic_conf.targets = ['hello:hello-app'] populate_targets_graph(build_context...
Since we now show deps the not only buildenv depends on, ubuntu should be in the test case.
py
diff --git a/galpy/potential_src/TwoPowerSphericalPotential.py b/galpy/potential_src/TwoPowerSphericalPotential.py index <HASH>..<HASH> 100644 --- a/galpy/potential_src/TwoPowerSphericalPotential.py +++ b/galpy/potential_src/TwoPowerSphericalPotential.py @@ -15,7 +15,7 @@ class TwoPowerSphericalPotential(Potential): ...
Update comments on TwoPowerSphericalPotential, fixes #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,8 +2,8 @@ from setuptools import setup, find_packages setup( name='flask_nemo', - version="0.0.2", - packages = find_packages(exclude=["examples"]), + version="0.0.3", + packages=find_packages(exclude=["...
Release <I> : accept MyCapytain based endpoint object as api for calls
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ requirements = ["IBMQuantumExperience>=1.8", setup( name="qiskit", - version="0.3.7", + version="0.3.8", description="Software for developing quantum computing programs", long_description...
pip release: <I>
py
diff --git a/src/rituals/invoke_tasks.py b/src/rituals/invoke_tasks.py index <HASH>..<HASH> 100644 --- a/src/rituals/invoke_tasks.py +++ b/src/rituals/invoke_tasks.py @@ -264,7 +264,7 @@ def release_prep(commit=True): handle.write(''.join(data)) scm.add_file('setup.cfg') elif chan...
:zzz: mention --no-commit in warning
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -49,7 +49,9 @@ else: def version_to_int(version): version = re.search(r'((?:\d+\.)+\d+)', version).group() - return int(''.join(version.split('.')), 16) + # Split the groups on ".", take only the first one, and p...
Fix version handling for new versioning scheme of tesseract
py
diff --git a/kconfiglib.py b/kconfiglib.py index <HASH>..<HASH> 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -1033,6 +1033,9 @@ class Kconfig(object): self._load_old_vals() for sym in self.defined_syms: + # Note: _write_to_conf is determined when the value is + # calculate...
Simplify sync_deps() value tests Use the result from the initial str_value call in more places. Also add a comment to make it clear how _write_to_conf is calculated, mirroring the ones in write_config() and write_autoconf().
py
diff --git a/flask_appbuilder/models/base.py b/flask_appbuilder/models/base.py index <HASH>..<HASH> 100644 --- a/flask_appbuilder/models/base.py +++ b/flask_appbuilder/models/base.py @@ -35,12 +35,15 @@ class BaseInterface(object): def _get_attr_value(self, item, col): if not hasattr(item, col): ...
Fixes unhandled exception when related fields on list are null (removed from the DB, sqlite no constraints)
py
diff --git a/insights/combiners/dmesg.py b/insights/combiners/dmesg.py index <HASH>..<HASH> 100644 --- a/insights/combiners/dmesg.py +++ b/insights/combiners/dmesg.py @@ -43,9 +43,13 @@ Examples: False """ +from insights.core.filters import add_filter from insights.core.plugins import combiner from insights.p...
Add filter for dmesg combiner (#<I>)
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 import os -version = '0.10' +version = '2.0dev1' here = os.path.abspath(os.path.dirname(__file__)) README = open(os.path.join(here, 'README.rst')).read()
Change version to <I>dev1
py
diff --git a/pythran/analyses/lazyness_analysis.py b/pythran/analyses/lazyness_analysis.py index <HASH>..<HASH> 100644 --- a/pythran/analyses/lazyness_analysis.py +++ b/pythran/analyses/lazyness_analysis.py @@ -325,7 +325,7 @@ class LazynessAnalysis(FunctionAnalysis): if isinstance(fun, ast.Call): # call ...
Avoid raising in uncofortable situation during lazyness analysis Better make a conservative choice instead!
py
diff --git a/pymc/tests/test_missing.py b/pymc/tests/test_missing.py index <HASH>..<HASH> 100644 --- a/pymc/tests/test_missing.py +++ b/pymc/tests/test_missing.py @@ -16,6 +16,7 @@ import aesara import numpy as np import pandas as pd import pytest +import scipy.stats from numpy import array, ma @@ -188,3 +189,2...
Test that missing values work as expected in distribution with vector parameters
py
diff --git a/fusesoc/coremanager.py b/fusesoc/coremanager.py index <HASH>..<HASH> 100644 --- a/fusesoc/coremanager.py +++ b/fusesoc/coremanager.py @@ -59,12 +59,12 @@ class CoreManager(object): abspath = os.path.abspath(p) if not abspath in self._cores_root: self._...
coremanager.py: Allow ~ in cores_root in fusesoc.conf
py
diff --git a/spyder/plugins/variableexplorer.py b/spyder/plugins/variableexplorer.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/variableexplorer.py +++ b/spyder/plugins/variableexplorer.py @@ -60,8 +60,8 @@ class VariableExplorer(QWidget, SpyderPluginMixin): """ CONF_SECTION = 'variable_explorer' ...
Change time format and value for the timers.
py
diff --git a/lib/config.py b/lib/config.py index <HASH>..<HASH> 100644 --- a/lib/config.py +++ b/lib/config.py @@ -28,7 +28,13 @@ import numpy as np import matplotlib from matplotlib.font_manager import FontProperties from matplotlib import rcParams -from cycler import cycler +HAS_CYCLER = False +try: + from cycl...
test import and matplotlib version for cycler
py
diff --git a/openquake/risklib/asset.py b/openquake/risklib/asset.py index <HASH>..<HASH> 100644 --- a/openquake/risklib/asset.py +++ b/openquake/risklib/asset.py @@ -808,13 +808,13 @@ class Exposure(object): if self.occupancy_periods: fields.extend(self.occupancy_periods.split()) fields....
Cleanup [skip CI]
py
diff --git a/spadespipeline/typingclasses.py b/spadespipeline/typingclasses.py index <HASH>..<HASH> 100644 --- a/spadespipeline/typingclasses.py +++ b/spadespipeline/typingclasses.py @@ -750,6 +750,11 @@ class ResFinder(GeneSeekr): data.append(result['query_id']) data.append('....
Ensured that the pipelineresults attribute for resfinder_assembled was being populated
py
diff --git a/fontbakery-check-ttf.py b/fontbakery-check-ttf.py index <HASH>..<HASH> 100755 --- a/fontbakery-check-ttf.py +++ b/fontbakery-check-ttf.py @@ -1146,7 +1146,8 @@ def main(): check_bit_entry(font, "OS/2", "fsSelection", "Regular" in style or \ (style in STYLE_NAM...
Italics should never have fsSelection REGULAR bit set to 1 (fixes issue #<I>)
py
diff --git a/gspread/models.py b/gspread/models.py index <HASH>..<HASH> 100644 --- a/gspread/models.py +++ b/gspread/models.py @@ -414,6 +414,26 @@ class Worksheet(object): """ self.resize(cols=self.col_count + cols) + def append_row(self, values): + """"Adds a row to the worksheet and pop...
fixes issue #<I> Feature Request: append_row( [list] )
py
diff --git a/auth_backends/__init__.py b/auth_backends/__init__.py index <HASH>..<HASH> 100644 --- a/auth_backends/__init__.py +++ b/auth_backends/__init__.py @@ -3,4 +3,4 @@ These package is designed to be used primarily with Open edX Django projects, but should be compatible with non-edX projects as well. """ -_...
Updated version to <I> This package has been production-ready for quite some time. It's time to make it official!
py
diff --git a/command/bdist_msi.py b/command/bdist_msi.py index <HASH>..<HASH> 100644 --- a/command/bdist_msi.py +++ b/command/bdist_msi.py @@ -141,6 +141,8 @@ class bdist_msi (Command): bdist_base = self.get_finalized_command('bdist').bdist_base self.bdist_dir = os.path.join(bdist_base, 'msi')...
Issue #<I>: Do not try to build a version-independent installer if the package has extension modules. Also add NEWS entry for #<I>.
py
diff --git a/zubbi/scraper/connections/gerrit.py b/zubbi/scraper/connections/gerrit.py index <HASH>..<HASH> 100644 --- a/zubbi/scraper/connections/gerrit.py +++ b/zubbi/scraper/connections/gerrit.py @@ -67,8 +67,8 @@ class GerritConnection(GitConnection): def __init__( self, url, - user, -...
Make Gerrit credentials really optional So far, the credentials were optional in the underlying GitConnection, but had to be set in the GerritConnection. This change makes them now really optional.
py
diff --git a/koordinates/tokens.py b/koordinates/tokens.py index <HASH>..<HASH> 100644 --- a/koordinates/tokens.py +++ b/koordinates/tokens.py @@ -68,8 +68,8 @@ class Token(base.Model): @is_bound def save(self): - target_url = self._connection.get_url('TOKEN', 'PUT', 'update', {'id': self.id}) - ...
Token catching up with Connection rename
py
diff --git a/salt/modules/saltutil.py b/salt/modules/saltutil.py index <HASH>..<HASH> 100644 --- a/salt/modules/saltutil.py +++ b/salt/modules/saltutil.py @@ -448,7 +448,7 @@ def sync_all(saltenv=None, refresh=True): environment refresh : True - Also refresh the execution modules available to the min...
perform `refresh_pillar` as part of `sync_all` when `refresh=True`
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,14 +1,16 @@ from distutils.core import setup setup( name = 'libpagure', - packages = ['libpagure'], # this must be the same as the name above + packages = ['libpagure'], version = '0.21', description ...
Remove comments in the setup.py
py
diff --git a/mythril/laser/ethereum/natives.py b/mythril/laser/ethereum/natives.py index <HASH>..<HASH> 100644 --- a/mythril/laser/ethereum/natives.py +++ b/mythril/laser/ethereum/natives.py @@ -41,8 +41,10 @@ def ecrecover(data): s = extract32(data, 96) if r >= secp256k1n or s >= secp256k1n or v < 27 or v > ...
Catch Value error from pyethereum
py
diff --git a/rllib/agents/a3c/a3c_torch_policy.py b/rllib/agents/a3c/a3c_torch_policy.py index <HASH>..<HASH> 100644 --- a/rllib/agents/a3c/a3c_torch_policy.py +++ b/rllib/agents/a3c/a3c_torch_policy.py @@ -64,8 +64,11 @@ def apply_grad_clipping(policy, optimizer, loss): params = list( fil...
[rllib] Do not store torch tensors when using grad clipping (#<I>)
py
diff --git a/sos/jupyter/kernel.py b/sos/jupyter/kernel.py index <HASH>..<HASH> 100644 --- a/sos/jupyter/kernel.py +++ b/sos/jupyter/kernel.py @@ -473,6 +473,8 @@ class SoS_Kernel(IPythonKernel): for idx,x in enumerate(self._kernel_list): if x[1] == name: # if exist language or no...
Fix a number of small bugs related to #<I>
py
diff --git a/lmnotify/models.py b/lmnotify/models.py index <HASH>..<HASH> 100644 --- a/lmnotify/models.py +++ b/lmnotify/models.py @@ -94,7 +94,7 @@ class Sound(object): """ def __init__(self, category, sound_id, repeat=1): assert( - (category == "notification" and (sound_id in SOUND_IDS))...
Assert had typo Prevented the use of notification sounds
py
diff --git a/plaso/parsers/docker.py b/plaso/parsers/docker.py index <HASH>..<HASH> 100644 --- a/plaso/parsers/docker.py +++ b/plaso/parsers/docker.py @@ -293,7 +293,9 @@ class DockerJSONParser(interface.FileObjectParser): split_path = file_system.SplitPath(json_file_path) try: if 'containers' in split...
Changed filter for config.json for possibility to view config.v2.json (#<I>)
py
diff --git a/asciimatics/widgets.py b/asciimatics/widgets.py index <HASH>..<HASH> 100644 --- a/asciimatics/widgets.py +++ b/asciimatics/widgets.py @@ -167,7 +167,8 @@ class Frame(Effect): within your Frame. """ - # Colour palette for the widgets within the Frame. + #: Colour palette for the widgets wi...
Add palette to auto-generated docs
py
diff --git a/server/app.py b/server/app.py index <HASH>..<HASH> 100644 --- a/server/app.py +++ b/server/app.py @@ -73,7 +73,7 @@ class AdminOnlyCrypt(BasicAuth): acl = { 'partner': { 'remotecis': ['GET'], - 'jobs': ['GET'], + 'jobs': ['GET', 'POST'], ...
partner need to be able to create new job Change-Id: I8c2c<I>be1b<I>f<I>f<I>f<I>cf<I>a
py
diff --git a/models.py b/models.py index <HASH>..<HASH> 100644 --- a/models.py +++ b/models.py @@ -11,7 +11,7 @@ from abstractions import ModelGibbsSampling, ModelMeanField, ModelEM from abstractions import Distribution, GibbsSampling, MeanField, Collapsed, MaxLikelihood from distributions import Categorical, Categor...
removed bad pyhsmm import
py
diff --git a/hgvs/variantmapper.py b/hgvs/variantmapper.py index <HASH>..<HASH> 100644 --- a/hgvs/variantmapper.py +++ b/hgvs/variantmapper.py @@ -8,7 +8,7 @@ from Bio.Seq import Seq from bioutils.sequences import reverse_complement import recordtype -from hgvs.exceptions import HGVSDataNotAvailableError, HGVSUnsup...
Fix the import of HGVSError in variantmapper
py
diff --git a/plenum/common/messages/fields.py b/plenum/common/messages/fields.py index <HASH>..<HASH> 100644 --- a/plenum/common/messages/fields.py +++ b/plenum/common/messages/fields.py @@ -247,10 +247,13 @@ class MerkleRootField(FieldBase): class TimestampField(FieldBase): _base_types = (float, int) + time...
limit timestamp field by <I>
py
diff --git a/salt/config.py b/salt/config.py index <HASH>..<HASH> 100644 --- a/salt/config.py +++ b/salt/config.py @@ -288,6 +288,7 @@ def master_config(path): 'renderer': 'yaml_jinja', 'failhard': False, 'state_top': 'top.sls', + 'master_tops': {}, 'extern...
Add master_tops to config.py
py
diff --git a/python_modules/libraries/dagster-fivetran/dagster_fivetran/asset_defs.py b/python_modules/libraries/dagster-fivetran/dagster_fivetran/asset_defs.py index <HASH>..<HASH> 100644 --- a/python_modules/libraries/dagster-fivetran/dagster_fivetran/asset_defs.py +++ b/python_modules/libraries/dagster-fivetran/dags...
update build_fivetran_assets snippet to avoid build_assets_job (#<I>)
py
diff --git a/rows/utils/__init__.py b/rows/utils/__init__.py index <HASH>..<HASH> 100644 --- a/rows/utils/__init__.py +++ b/rows/utils/__init__.py @@ -791,8 +791,6 @@ class CsvLazyDictWriter: self._fobj = None self.writer_args = args self.writer_kwargs = kwargs - self.writer_kwargs["li...
Do not force lineterminator on CsvLazyDictWriter The CSV RFC defines it should be a CRLF, not LF
py
diff --git a/docker/utils/build.py b/docker/utils/build.py index <HASH>..<HASH> 100644 --- a/docker/utils/build.py +++ b/docker/utils/build.py @@ -91,6 +91,10 @@ def walk(root, patterns, default=True): matched = default if hit is None else hit sub = list(filter(lambda p: p[1], sub)) if os.pat...
Skip entirely excluded directories when handling dockerignore. This is pure optimization to not recurse into directories when there are no chances any file will be included.
py
diff --git a/fulfil_client/client.py b/fulfil_client/client.py index <HASH>..<HASH> 100755 --- a/fulfil_client/client.py +++ b/fulfil_client/client.py @@ -19,6 +19,7 @@ loads = partial(json.loads, object_hook=JSONDecoder()) class Error(Exception): def __init__(self, message, code): super(Exception, self)...
Add message attribute on ClientError Python3 doesn't have message attr on Base Exception
py
diff --git a/src/peltak/commands/impl/lint.py b/src/peltak/commands/impl/lint.py index <HASH>..<HASH> 100644 --- a/src/peltak/commands/impl/lint.py +++ b/src/peltak/commands/impl/lint.py @@ -21,6 +21,7 @@ def _lint_files(paths, include=None, exclude=None, pretend=False): :param paths: Iterable with each item bei...
Do not run linter when there are no files to lint
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,11 +2,14 @@ from metaknowledge.journalAbbreviations import abrevDBname from setuptools import setup, find_packages setup(name='metaknowledge', - version='0.2.0', - author="Reid McIlroy-Young", + version='0.3.0'...
Chnged stuff for PyPi test
py
diff --git a/numina/core/dataframe.py b/numina/core/dataframe.py index <HASH>..<HASH> 100644 --- a/numina/core/dataframe.py +++ b/numina/core/dataframe.py @@ -23,6 +23,8 @@ Basic Data Products import warnings +import pyfits + class DataFrame(object): def __init__(self, frame=None, filename=None, itype='UNKNO...
Allow open method in DataFrame, either returns the HDUList or opens it
py
diff --git a/theanets/layers.py b/theanets/layers.py index <HASH>..<HASH> 100644 --- a/theanets/layers.py +++ b/theanets/layers.py @@ -426,7 +426,7 @@ class Layer(Base): value = call(expr) if isinstance(level, (int, float)): key = '<{}'.format(level) - ...
Return threshold monitors as ratios, not percents.
py
diff --git a/tornado/ioloop.py b/tornado/ioloop.py index <HASH>..<HASH> 100644 --- a/tornado/ioloop.py +++ b/tornado/ioloop.py @@ -197,7 +197,7 @@ class IOLoop(object): try: event_pairs = self._impl.poll(poll_timeout) except Exception, e: - if e.errno == errno.E...
When using the select based IOLoop, select can throw an error if based to many socket. This does not have an errno
py
diff --git a/summary/__init__.py b/summary/__init__.py index <HASH>..<HASH> 100644 --- a/summary/__init__.py +++ b/summary/__init__.py @@ -205,14 +205,16 @@ class Summary(object): stream = response.iter_content(config.CHUNK_SIZE) # , decode_unicode=True response.stream = stream ...
Properly iterate stream response content.
py
diff --git a/stanfordnlp/models/common/hlstm.py b/stanfordnlp/models/common/hlstm.py index <HASH>..<HASH> 100644 --- a/stanfordnlp/models/common/hlstm.py +++ b/stanfordnlp/models/common/hlstm.py @@ -36,9 +36,9 @@ class HLSTMCell(nn.modules.rnn.RNNCellBase): # vanilla LSTM computation rec_input = torch...
Fix the alternative Highway LSTM implementation
py
diff --git a/oauthlib/common.py b/oauthlib/common.py index <HASH>..<HASH> 100644 --- a/oauthlib/common.py +++ b/oauthlib/common.py @@ -85,6 +85,7 @@ def urldecode(query): if len(re.findall(invalid_hex, query)): raise ValueError('Invalid hex encoding in query string.') + query = query.decode('utf-8') ...
Decode query to unicode in urldecode For completeness' sake.
py
diff --git a/tests/test_cls_log.py b/tests/test_cls_log.py index <HASH>..<HASH> 100644 --- a/tests/test_cls_log.py +++ b/tests/test_cls_log.py @@ -137,7 +137,10 @@ class LogTest(unittest.TestCase): self.mylog.record_command( 'logging a string') self.mylog.record_command( ['logging a list', 'mo...
test with unicode for cls_log
py
diff --git a/pushbullet_cli/app.py b/pushbullet_cli/app.py index <HASH>..<HASH> 100755 --- a/pushbullet_cli/app.py +++ b/pushbullet_cli/app.py @@ -83,6 +83,13 @@ def purge(): pb.delete_push(current_push['iden']) +@main.command("list-devices", help="List your devices") +def purge(): + pb = _get_pb() ...
Implemented list-devices
py
diff --git a/docker/client.py b/docker/client.py index <HASH>..<HASH> 100644 --- a/docker/client.py +++ b/docker/client.py @@ -66,8 +66,8 @@ class Client(requests.Session): if version is None: self._version = DEFAULT_DOCKER_API_VERSION elif isinstance(version, six.string_types): - ...
Streamline exceptions for auto version ; retrieve_server_version into protected method
py
diff --git a/filer/admin/folderadmin.py b/filer/admin/folderadmin.py index <HASH>..<HASH> 100644 --- a/filer/admin/folderadmin.py +++ b/filer/admin/folderadmin.py @@ -44,6 +44,7 @@ from filer.utils.filer_easy_thumbnails import FilerActionThumbnailer from filer.thumbnail_processors import normalize_subject_location fr...
Check if order_by field is in whitelist with regexp
py
diff --git a/doberman/utils/auth.py b/doberman/utils/auth.py index <HASH>..<HASH> 100644 --- a/doberman/utils/auth.py +++ b/doberman/utils/auth.py @@ -110,6 +110,7 @@ class AccessAttempt(AccessIPAddress): return render_to_response( self.template_name, {'user_attempts': self.last_attem...
adding ip_address to context of lockout template
py
diff --git a/tests/acceptance/test_dcos_package.py b/tests/acceptance/test_dcos_package.py index <HASH>..<HASH> 100644 --- a/tests/acceptance/test_dcos_package.py +++ b/tests/acceptance/test_dcos_package.py @@ -13,9 +13,18 @@ def test_uninstall_package_and_wait(): uninstall_package_and_wait('chronos') assert ...
adding new check for cpu to be in place before we continue testing.
py
diff --git a/great_expectations/data_context/datasource/databricks_generator.py b/great_expectations/data_context/datasource/databricks_generator.py index <HASH>..<HASH> 100644 --- a/great_expectations/data_context/datasource/databricks_generator.py +++ b/great_expectations/data_context/datasource/databricks_generator....
Update timestamp generation for databricks_generator
py