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> 100755 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ from setuptools import setup package = 'ipware' -python_requires = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*" +python_requires = ">=3.6" here = os.path.abspath(os.path.dirname(__file__)) ...
Update python_requires to require <I>+ (#<I>) This matches what's defined in the classifiers.
py
diff --git a/andes/routines/pflow.py b/andes/routines/pflow.py index <HASH>..<HASH> 100644 --- a/andes/routines/pflow.py +++ b/andes/routines/pflow.py @@ -120,8 +120,18 @@ class PFlow(BaseRoutine): system.dae.x += np.ravel(np.array(self.inc[:system.dae.n])) system.dae.y += np.ravel(np.array(self.inc[s...
Output debug info for power flow iterations.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -37,7 +37,9 @@ setup_params = dict( author_email = 'jaraco@jaraco.com', url = 'http://pypi.python.org/pypi/' + name, packages = find_packages(exclude=['tests']), - namespace_packages = ['jaraco'], + # convert to byte...
Workaround for PIP issue <I>
py
diff --git a/panc/src/main/scripts/panlint.py b/panc/src/main/scripts/panlint.py index <HASH>..<HASH> 100755 --- a/panc/src/main/scripts/panlint.py +++ b/panc/src/main/scripts/panlint.py @@ -44,7 +44,7 @@ LINE_PATTERNS = { "Spaces should be used instead of tabs" : re.compile(r'(?P<error>\t+)'), "Trailing whit...
Curly braces are not necessary for simple includes We can detect most simple includes (i.e. non-DML) by a pair of curly braces without any semicolons between.
py
diff --git a/openquake/engine/db/models.py b/openquake/engine/db/models.py index <HASH>..<HASH> 100644 --- a/openquake/engine/db/models.py +++ b/openquake/engine/db/models.py @@ -303,6 +303,7 @@ class ParsedSource(djm.Model): (u'point', u'Point'), (u'complex', u'Complex'), (u'simple', u'Simpl...
db/models: Added `characteristic` to `source_type` choices of ParsedSource. Former-commit-id: ae<I>ef<I>d<I>e<I>edef<I>f<I>ac<I>dffe2cf
py
diff --git a/gcloud/datastore/query.py b/gcloud/datastore/query.py index <HASH>..<HASH> 100644 --- a/gcloud/datastore/query.py +++ b/gcloud/datastore/query.py @@ -207,7 +207,7 @@ class Query(object): :type value: :class:`int`, :class:`str`, :class:`bool`, :class:`float`, :class:`NoneTyp...
Documentation: Filtering Query by key is also possible. Update the documentation for `add_filter` to make it clear that filtering by key is also possible.
py
diff --git a/tests/AlignmentFile_test.py b/tests/AlignmentFile_test.py index <HASH>..<HASH> 100644 --- a/tests/AlignmentFile_test.py +++ b/tests/AlignmentFile_test.py @@ -2085,8 +2085,11 @@ class TestCountCoverage(unittest.TestCase): count_c = array.array('L', [0] * l) count_g = array.array('L', [0] *...
{AH} parameterize count_coverage tests with new pileup API
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,18 +4,22 @@ import re from setuptools import setup + _version_re = re.compile(r'VERSION\s+=\s+(.*)') with open('graphene_django_extras/__init__.py', 'rb') as f: version = ast.literal_eval(_version_re.search( ...
Fix problem with setup and final versions str
py
diff --git a/salt/modules/state.py b/salt/modules/state.py index <HASH>..<HASH> 100644 --- a/salt/modules/state.py +++ b/salt/modules/state.py @@ -535,7 +535,7 @@ def clear_cache(): return ret -def pkg(pkg_path): +def pkg(pkg_path, test=False, **kwargs): ''' Execute a packaged state run, the packaged...
clean up and add test=True capability to state.pkg
py
diff --git a/holoviews/plotting/element.py b/holoviews/plotting/element.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/element.py +++ b/holoviews/plotting/element.py @@ -108,7 +108,7 @@ class ElementPlot(Plot): dimensions = [d.name for d in self.dimensions] key_dimensions = [d.name fo...
Fixed bug placing single frames next to HoloMaps in a Layout
py
diff --git a/dodo.py b/dodo.py index <HASH>..<HASH> 100644 --- a/dodo.py +++ b/dodo.py @@ -3,7 +3,7 @@ import glob from doit.action import CmdAction PACKAGE = "ehforwarderbot" -DEFAULT_BUMP_MODE = "beta" +DEFAULT_BUMP_MODE = "minor" # major, minor, patch, alpha, beta, dev, post DOIT_CONFIG = { "default_tasks...
ci: build script update for stable releases
py
diff --git a/hydra_base/lib/attributes.py b/hydra_base/lib/attributes.py index <HASH>..<HASH> 100644 --- a/hydra_base/lib/attributes.py +++ b/hydra_base/lib/attributes.py @@ -681,6 +681,7 @@ def add_attribute_group(attributegroup, **kwargs): 'exclusive' : 'N' (or 'Y' ) (optional, default to '...
logs (cherry picked from commit 3beb<I>a<I>e3a<I>ef2d<I>a<I>b<I>b7d<I>b<I>f7d)
py
diff --git a/moto/ec2/models.py b/moto/ec2/models.py index <HASH>..<HASH> 100644 --- a/moto/ec2/models.py +++ b/moto/ec2/models.py @@ -219,14 +219,14 @@ class AmiBackend(object): self.amis[ami_id] = ami return ami - def describe_images(self, ami_ids=None): - if ami_ids: - images...
Refactor AmiBackend.describe_images: make logic of missing image simpler
py
diff --git a/wanikani/core.py b/wanikani/core.py index <HASH>..<HASH> 100644 --- a/wanikani/core.py +++ b/wanikani/core.py @@ -68,16 +68,17 @@ class Vocabulary(BaseObject): class WaniKani(object): def __init__(self, api_key): self.api_key = api_key + self.session = requests.Session() def pr...
Use requests.Session() as a minor optimization
py
diff --git a/scanpy/neighbors/__init__.py b/scanpy/neighbors/__init__.py index <HASH>..<HASH> 100644 --- a/scanpy/neighbors/__init__.py +++ b/scanpy/neighbors/__init__.py @@ -35,7 +35,7 @@ def neighbors( The neighbor search efficiency of this heavily relies on UMAP [McInnes18]_, which also provides a method...
fix docstring neighbors (#<I>) the docstring mentioned ``method=='gauss'``, which is not a valid option.
py
diff --git a/datasette/app.py b/datasette/app.py index <HASH>..<HASH> 100644 --- a/datasette/app.py +++ b/datasette/app.py @@ -250,7 +250,7 @@ class DatabaseView(BaseView): for table_name, table_rows in table_metadata.items(): rows = await self.execute( name, - 'PRA...
Fixed bug with tables with spaces in their name The new database index page was erroring.
py
diff --git a/renku/core/management/migrations/m_0009__new_metadata_storage.py b/renku/core/management/migrations/m_0009__new_metadata_storage.py index <HASH>..<HASH> 100644 --- a/renku/core/management/migrations/m_0009__new_metadata_storage.py +++ b/renku/core/management/migrations/m_0009__new_metadata_storage.py @@ -6...
fix(core): fix migration of deleted datasets (#<I>)
py
diff --git a/icrawler/version.py b/icrawler/version.py index <HASH>..<HASH> 100644 --- a/icrawler/version.py +++ b/icrawler/version.py @@ -1 +1 @@ -__version__ = '0.6.4' +__version__ = '0.6.5'
bump to <I>, fix bug in google crawler
py
diff --git a/varify/assessments/migrations/0001_initial.py b/varify/assessments/migrations/0001_initial.py index <HASH>..<HASH> 100644 --- a/varify/assessments/migrations/0001_initial.py +++ b/varify/assessments/migrations/0001_initial.py @@ -7,6 +7,10 @@ from django.db import models class Migration(SchemaMigration)...
Adds initial samples migration as a dependency for assesments migration The initial assessments migration depends on the existance of sample_result
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -56,6 +56,7 @@ setup( 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', ...
added python <I> trove classifier to setup.py
py
diff --git a/Test/FunctionalTests.py b/Test/FunctionalTests.py index <HASH>..<HASH> 100644 --- a/Test/FunctionalTests.py +++ b/Test/FunctionalTests.py @@ -76,7 +76,7 @@ class FunctionalTests(unittest.TestCase): # communicate with the remote application # First John imports the slip package - ...
Changed 'from slip import slip' to 'import slip' in functional tests
py
diff --git a/benchexec/tools/map2check.py b/benchexec/tools/map2check.py index <HASH>..<HASH> 100644 --- a/benchexec/tools/map2check.py +++ b/benchexec/tools/map2check.py @@ -35,11 +35,12 @@ class Tool(benchexec.tools.template.BaseTool): "modules" ] - REQUIRED_PATHS_7_1 = [ - ...
Update REQUIRED_PATHS variable Update tool-info module that requires new folders.
py
diff --git a/source/rafcon/core/storage/storage.py b/source/rafcon/core/storage/storage.py index <HASH>..<HASH> 100644 --- a/source/rafcon/core/storage/storage.py +++ b/source/rafcon/core/storage/storage.py @@ -459,7 +459,7 @@ def clean_path_element(text, max_length=None, separator='_'): for elem, replace_with in ...
storage: fix string/text lenght limitation caused bad by refactoring
py
diff --git a/tests/unit/io/GenericIOTest.py b/tests/unit/io/GenericIOTest.py index <HASH>..<HASH> 100644 --- a/tests/unit/io/GenericIOTest.py +++ b/tests/unit/io/GenericIOTest.py @@ -88,14 +88,6 @@ class GenericIOTest: assert net1 == net2 assert phases1 == phases2 - def test_save(self): - ...
removing save/load tests from GenericIO [ci min]
py
diff --git a/examples/data_feed/feeder.py b/examples/data_feed/feeder.py index <HASH>..<HASH> 100644 --- a/examples/data_feed/feeder.py +++ b/examples/data_feed/feeder.py @@ -34,7 +34,7 @@ class ExceptionDataFeedListener(feed.DataFeedListener): cache = self._cache[key] subentity = cache.get(entity[key...
Removed old references to deprecated api.search() method
py
diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py index <HASH>..<HASH> 100644 --- a/gitlab/v4/objects.py +++ b/gitlab/v4/objects.py @@ -2624,7 +2624,8 @@ class Project(SaveMixin, ObjectDeleteMixin, RESTObject): """ path = '/projects/%s/trigger/pipeline' % self.get_id() post_data = {'re...
make trigger_pipeline return the pipeline Trigger_pipeline returns nothing, which makes it difficult to track the pipeline being trigger. Next PR will be about updating a pipeline object to get latest status (not sure yet the best way to do it)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ long_description = re_sub(r"\n## License\n.*LICENSE.*\n", "", long_description) setup( name='isso', - version='0.12.6', + version='0.13.0-dev', author='Martin Zimmermann', author_email='i...
setup.py: Bump to <I>-dev
py
diff --git a/datadog_checks_dev/datadog_checks/dev/_env.py b/datadog_checks_dev/datadog_checks/dev/_env.py index <HASH>..<HASH> 100644 --- a/datadog_checks_dev/datadog_checks/dev/_env.py +++ b/datadog_checks_dev/datadog_checks/dev/_env.py @@ -35,7 +35,12 @@ JMX_TO_INAPP_TYPES = { def e2e_active(): - return any(...
Fix detection of E2E environments (#<I>)
py
diff --git a/zipline/errors.py b/zipline/errors.py index <HASH>..<HASH> 100644 --- a/zipline/errors.py +++ b/zipline/errors.py @@ -396,7 +396,7 @@ class DTypeNotSpecified(ZiplineError): ) -class InvalidDType(ZiplineError): +class NotDType(ZiplineError): """ Raised when a pipeline Term is constructed ...
MAINT: Fail fast on unsupported dtypes.
py
diff --git a/fabfile.py b/fabfile.py index <HASH>..<HASH> 100644 --- a/fabfile.py +++ b/fabfile.py @@ -158,8 +158,7 @@ def update_code(): return if not exists(REPO_PATH): - run('git clone {} {}'.format(REPO_URL, REPO_PATH)) - run('git checkout {}'.format(REPO_BRANCH)) + run('git clo...
Changed fabfile git clone command
py
diff --git a/ccmlib/cmds/node_cmds.py b/ccmlib/cmds/node_cmds.py index <HASH>..<HASH> 100644 --- a/ccmlib/cmds/node_cmds.py +++ b/ccmlib/cmds/node_cmds.py @@ -380,7 +380,12 @@ class NodeCliCmd(Cmd): self.cli_options = parser.get_ignored() + args[1:] def run(self): - self.node.run_cli(self.options...
allow for verbose cli. pep8 clean (#<I>) * allow for verbose cli. pep8 clean * output bikeshedding * use correct print_() function
py
diff --git a/excel_helper/__init__.py b/excel_helper/__init__.py index <HASH>..<HASH> 100644 --- a/excel_helper/__init__.py +++ b/excel_helper/__init__.py @@ -272,8 +272,7 @@ class GrowthTimeSeriesGenerator(DistributionFunctionGenerator): variability_ = intial_value * self.kwargs['initial_value_proportio...
big refactoring - moved framework files from teapot to ngmodel
py
diff --git a/indra/tools/reading/submit_reading_pipeline.py b/indra/tools/reading/submit_reading_pipeline.py index <HASH>..<HASH> 100644 --- a/indra/tools/reading/submit_reading_pipeline.py +++ b/indra/tools/reading/submit_reading_pipeline.py @@ -82,7 +82,7 @@ def wait_for_complete(queue_name, job_list=None, job_name_p...
Only print the len of job_id_filter
py
diff --git a/openquake/engine/calculators/risk/hazard_getters.py b/openquake/engine/calculators/risk/hazard_getters.py index <HASH>..<HASH> 100644 --- a/openquake/engine/calculators/risk/hazard_getters.py +++ b/openquake/engine/calculators/risk/hazard_getters.py @@ -190,7 +190,8 @@ class HazardCurveGetterPerAsset(Hazar...
cast geometry to geography in hazard curve getter Former-commit-id: <I>c7af<I>c3c6ddd<I>dac<I>a2e2d2bdcb<I>
py
diff --git a/scriptworker/constants.py b/scriptworker/constants.py index <HASH>..<HASH> 100644 --- a/scriptworker/constants.py +++ b/scriptworker/constants.py @@ -240,10 +240,8 @@ DEFAULT_CONFIG = frozendict({ 'project:releng:snapcraft:firefox:beta': 'beta', 'project:releng:snapcraft...
Bug <I>: Allow try to talk to staging ship-it and snap workers.
py
diff --git a/aiida/orm/calculation/job/cp2k.py b/aiida/orm/calculation/job/cp2k.py index <HASH>..<HASH> 100644 --- a/aiida/orm/calculation/job/cp2k.py +++ b/aiida/orm/calculation/job/cp2k.py @@ -73,6 +73,7 @@ class CP2KCalculation(JobCalculation): 'COORD', 'KIND', 'TOPOLOGY', + ...
job/cp2k: also blacklist PROJECT/PROJECT_NAME
py
diff --git a/cnxarchive/tests.py b/cnxarchive/tests.py index <HASH>..<HASH> 100644 --- a/cnxarchive/tests.py +++ b/cnxarchive/tests.py @@ -1255,6 +1255,10 @@ class ModulePublishTriggerTestCase(unittest.TestCase): 'FROM module_files WHERE module_ident = 1') old_files = cursor.fetchall() + ...
Assert the number of modules before and after republishing a module
py
diff --git a/runcommands/command.py b/runcommands/command.py index <HASH>..<HASH> 100644 --- a/runcommands/command.py +++ b/runcommands/command.py @@ -283,14 +283,15 @@ class Command: has_multi_short_options = False printer.debug('Expanding short options:') new_argv = [] - for ...
Stop parsing short options when -- is encountered Example: run local -- ls -lh Previously, `-lh` would be parsed into `-l -h`, but multi-short-option parsing should only apply to RunCommands command args. Args after `--` should be left alone and passed along verbatim.
py
diff --git a/salt/modules/mysql.py b/salt/modules/mysql.py index <HASH>..<HASH> 100644 --- a/salt/modules/mysql.py +++ b/salt/modules/mysql.py @@ -173,7 +173,13 @@ def query(database, query): else: elapsed_h = str(round(elapsed, 2)) + 's' ret['query time'] = {'human': elapsed_h, 'raw': str(round(elap...
Initial changes to mysql module to allow us to get useful output from SHOW and DESC queries to the server
py
diff --git a/test/test_zgitignore.py b/test/test_zgitignore.py index <HASH>..<HASH> 100644 --- a/test/test_zgitignore.py +++ b/test/test_zgitignore.py @@ -35,7 +35,7 @@ class ZgitIgnoreTest(unittest.TestCase): def test_convert_escapes(self): pat, dir, negate = zgitignore.convert_pattern('\\!important') - s...
Don't rely on re.escape escaping too much. This makes tests pass in Python <I>.
py
diff --git a/ReText/editor.py b/ReText/editor.py index <HASH>..<HASH> 100644 --- a/ReText/editor.py +++ b/ReText/editor.py @@ -519,7 +519,10 @@ class LineInfoArea(InfoArea): def getAreaPosition(self, width, height): viewport = self.editor.viewport() rightSide = viewport.width() + self.editor.lineNumberAreaWidth...
Move the statistics aerea to the right side of the editor Fixes #<I>
py
diff --git a/cascadenik/__init__.py b/cascadenik/__init__.py index <HASH>..<HASH> 100644 --- a/cascadenik/__init__.py +++ b/cascadenik/__init__.py @@ -17,7 +17,7 @@ from compile import compile, Directories from style import stylesheet_declarations # define Cascadenik version -VERSION = '0.2.0' +VERSION = '1.0.0' C...
Forgot to bump this version number before
py
diff --git a/test/test_callback.py b/test/test_callback.py index <HASH>..<HASH> 100644 --- a/test/test_callback.py +++ b/test/test_callback.py @@ -28,6 +28,18 @@ import txaio from util import run_once +def test_default_resolve(): + f = txaio.create_future() + results = [] + def cb(f): + results.app...
unit-test for resolve() with no arg
py
diff --git a/dingo/core/network/__init__.py b/dingo/core/network/__init__.py index <HASH>..<HASH> 100644 --- a/dingo/core/network/__init__.py +++ b/dingo/core/network/__init__.py @@ -153,6 +153,7 @@ class StationDingo(): self._transformers.append(transformer) # TODO: what if it exists? -> error me...
add some empty lines to comply with PEP8
py
diff --git a/allennlp/tests/modules/drop_connect_test.py b/allennlp/tests/modules/drop_connect_test.py index <HASH>..<HASH> 100644 --- a/allennlp/tests/modules/drop_connect_test.py +++ b/allennlp/tests/modules/drop_connect_test.py @@ -6,10 +6,9 @@ from allennlp.modules.drop_connect import DropConnect class DropCon...
fix flake8 from #<I> (#<I>) * fix flake8 from #<I> * we don't need pylint anymore
py
diff --git a/tests/__main__.py b/tests/__main__.py index <HASH>..<HASH> 100644 --- a/tests/__main__.py +++ b/tests/__main__.py @@ -7,4 +7,4 @@ os.chdir(REPO_ROOT) os.putenv('PATH', '{}:{}'.format(os.path.join(REPO_ROOT, 'bin'), os.getenv('PATH'))) os.putenv('DVC_HOME', REPO_ROOT) -check_call('nosetests --processes...
Make tests more verbose This helps verify in the CI that the environment variables for the integration tests are set up correctly since we can see exactly which tests are being executed and which ones are being skipped.
py
diff --git a/lokingyql/lokingyql.py b/lokingyql/lokingyql.py index <HASH>..<HASH> 100644 --- a/lokingyql/lokingyql.py +++ b/lokingyql/lokingyql.py @@ -13,7 +13,7 @@ class LokingYQL(object): self.table = table self.format = format self._query = None # used to build query when using methods such as <select...
fix #<I>: Off by default
py
diff --git a/pysoundfile.py b/pysoundfile.py index <HASH>..<HASH> 100644 --- a/pysoundfile.py +++ b/pysoundfile.py @@ -542,7 +542,7 @@ class SoundFile(object): } if format not in formats: raise ValueError("Can only read int16, int32, float32 and float64") - if frames == -1: + ...
Read whole file if frames is negative ... in contrast to if frames == -1 This corresponds to the behaviour of standard Python file objects.
py
diff --git a/cherrypy/_cperror.py b/cherrypy/_cperror.py index <HASH>..<HASH> 100644 --- a/cherrypy/_cperror.py +++ b/cherrypy/_cperror.py @@ -176,7 +176,7 @@ class HTTPError(Error): """ Exception used to return an HTTP error code to the client. This exception will automatically set the response status an...
Bah. Newline badness again.
py
diff --git a/canvasapi/course.py b/canvasapi/course.py index <HASH>..<HASH> 100644 --- a/canvasapi/course.py +++ b/canvasapi/course.py @@ -597,7 +597,8 @@ class Course(CanvasObject): self._requester, 'GET', 'courses/%s/pages' % (self.id), - {'course_id': self.id} + ...
Fixed an issue where kwargs weren't passed along in the get_pages method
py
diff --git a/pycbc/catalog/__init__.py b/pycbc/catalog/__init__.py index <HASH>..<HASH> 100644 --- a/pycbc/catalog/__init__.py +++ b/pycbc/catalog/__init__.py @@ -123,20 +123,21 @@ class Merger(object): from pycbc.io import get_file from pycbc.frame import read_frame - if sample_rate == 4096:...
Improve error when strain data is not available (#<I>)
py
diff --git a/allegedb/allegedb/cache.py b/allegedb/allegedb/cache.py index <HASH>..<HASH> 100644 --- a/allegedb/allegedb/cache.py +++ b/allegedb/allegedb/cache.py @@ -471,7 +471,10 @@ class Cache(object): # We had valid keys a turn ago. Reuse those. old_turn_kc = kc[tur...
Fix another subtle thing that might not matter in _forward_keycachelike
py
diff --git a/salt/states/pkg.py b/salt/states/pkg.py index <HASH>..<HASH> 100644 --- a/salt/states/pkg.py +++ b/salt/states/pkg.py @@ -651,7 +651,7 @@ def installed( appear in the output of the ``pkg.version`` or ``pkg.list_pkgs`` salt CLI commands. - Usage:: + .. code-block:: yaml ...
Don't show SLS YAML code as 'Python' code in the docs.
py
diff --git a/python-package/setup.py b/python-package/setup.py index <HASH>..<HASH> 100644 --- a/python-package/setup.py +++ b/python-package/setup.py @@ -171,6 +171,8 @@ class BuildExt(build_ext.build_ext): # pylint: disable=too-many-ancestors build_tool = 'ninja' else: build_tool =...
Use make on i system (#<I>)
py
diff --git a/SQL.py b/SQL.py index <HASH>..<HASH> 100644 --- a/SQL.py +++ b/SQL.py @@ -22,6 +22,11 @@ class Time: return time.strftime( '#%Y/%m/%d %H:%M:%S#', self.time ) class Database: + def __init__( self, ODBCName ): + self.ODBCName = ODBCName + self.db = odbc( self.ODBCName ) + self.cur = self.db.cu...
Moved __init__ functionality from EnvMon.DataTools.Database to SQL.Database.
py
diff --git a/sllurp/llrp_proto.py b/sllurp/llrp_proto.py index <HASH>..<HASH> 100644 --- a/sllurp/llrp_proto.py +++ b/sllurp/llrp_proto.py @@ -351,12 +351,12 @@ def decode_param(data): <decoded data>} and bytes is the remaining bytes trailing the bytes we could decode. """ - logger.info('decod...
demote log level of some debug messages
py
diff --git a/egoio/db_tables/model_draft.py b/egoio/db_tables/model_draft.py index <HASH>..<HASH> 100644 --- a/egoio/db_tables/model_draft.py +++ b/egoio/db_tables/model_draft.py @@ -1300,6 +1300,17 @@ class EgoGridMvlvReferenceont(Base): id = Column(Integer, primary_key=True, unique=True, server_default=text("nex...
add def for mvlv substation
py
diff --git a/raiden/ui/app.py b/raiden/ui/app.py index <HASH>..<HASH> 100644 --- a/raiden/ui/app.py +++ b/raiden/ui/app.py @@ -320,6 +320,18 @@ def run_app( fg="yellow", ) + monitoring_contract_required = ( + enable_monitoring and CONTRACT_MONITORING_SERVICE not in contracts + ) + ...
Add a check to notify about the monitoring contract requirement This case is triggers when trying to use --enable monitoring on a private ethereum network
py
diff --git a/exchangelib/items.py b/exchangelib/items.py index <HASH>..<HASH> 100644 --- a/exchangelib/items.py +++ b/exchangelib/items.py @@ -637,7 +637,7 @@ class Contact(Item): ] -class PostItem(Message): +class PostItem(Item): # Supported attrs: https://msdn.microsoft.com/en-us/library/office/bb891851...
Let PostItem inherit from Item, not Message
py
diff --git a/pythran/interface.py b/pythran/interface.py index <HASH>..<HASH> 100644 --- a/pythran/interface.py +++ b/pythran/interface.py @@ -120,10 +120,11 @@ class ToolChain(object): return module_so def check_compile(self, msg, code): try: + tmperr=TemporaryFile() tmpf...
[tcmalloc] fix hooks for tcmalloc
py
diff --git a/tests/handlers/tests.py b/tests/handlers/tests.py index <HASH>..<HASH> 100644 --- a/tests/handlers/tests.py +++ b/tests/handlers/tests.py @@ -2,6 +2,7 @@ import logging from unittest2 import TestCase from raven.base import Client from raven.handlers.logging import SentryHandler +from raven.utils.stacks ...
Basic test to ensure stacks=[list] works
py
diff --git a/nodeconductor/structure/views.py b/nodeconductor/structure/views.py index <HASH>..<HASH> 100644 --- a/nodeconductor/structure/views.py +++ b/nodeconductor/structure/views.py @@ -1115,7 +1115,7 @@ class ResourceViewMetaclass(type): def __new__(cls, name, bases, args): resource_view = super(Res...
More robust check in resource view metaclass
py
diff --git a/exchangelib/winzone.py b/exchangelib/winzone.py index <HASH>..<HASH> 100644 --- a/exchangelib/winzone.py +++ b/exchangelib/winzone.py @@ -483,3 +483,8 @@ PYTZ_TO_MS_TIMEZONE_MAP = { 'Pacific/Wallis': 'UTC+12', 'UTC': 'UTC', } + +# Add some timezone names used by pytz but not found in the CLDR +P...
Add Asia/Kolkata timezone (#<I>) Pytz does not have Asia/Calcutta, it has Asia/Kolkata ; Kept Asia/Calcutta for backward compatibility
py
diff --git a/extract.py b/extract.py index <HASH>..<HASH> 100755 --- a/extract.py +++ b/extract.py @@ -14,8 +14,7 @@ class FSBExtractor: def init_parser(self): parser = argparse.ArgumentParser(description=self.description) - parser.add_argument('fsb_file', - nargs='*', type=argparse.FileType('rb'), default=[s...
Drop argparse.FileType usage in the extractor argparse opens all the files at once which leaks handles like crazy.
py
diff --git a/lib/emir/recipes/directimaging.py b/lib/emir/recipes/directimaging.py index <HASH>..<HASH> 100644 --- a/lib/emir/recipes/directimaging.py +++ b/lib/emir/recipes/directimaging.py @@ -448,7 +448,7 @@ class Recipe(RecipeBase, EmirRecipeMixin): self._figure.savefig('figure-check-combination_i%01d.png'...
Removing pickling of intermediate data
py
diff --git a/linkcheck/director/__init__.py b/linkcheck/director/__init__.py index <HASH>..<HASH> 100644 --- a/linkcheck/director/__init__.py +++ b/linkcheck/director/__init__.py @@ -18,7 +18,6 @@ Management of checking a queue of links with several threads. """ import time -import signal import linkcheck import l...
wait until status thread is finished git-svn-id: <URL>
py
diff --git a/eli5/sklearn/text.py b/eli5/sklearn/text.py index <HASH>..<HASH> 100644 --- a/eli5/sklearn/text.py +++ b/eli5/sklearn/text.py @@ -13,11 +13,10 @@ from eli5.sklearn._span_analyzers import build_span_analyzer def get_weighted_spans(doc, vec, feature_weights): - # type: (Any, Any, Union[FeatureWeights...
Move check that feature_weights is not None to caller
py
diff --git a/examples/settings.py b/examples/settings.py index <HASH>..<HASH> 100644 --- a/examples/settings.py +++ b/examples/settings.py @@ -9,7 +9,7 @@ OPENGL = { WINDOW = { "class": "demosys.context.pyqt.Window", - "size": (1280, 720), + "size": (1920, 1080), "aspect_ratio": 16 / 9, "fullscr...
Use <I>p as default window size
py
diff --git a/sanic_jwt/authentication.py b/sanic_jwt/authentication.py index <HASH>..<HASH> 100644 --- a/sanic_jwt/authentication.py +++ b/sanic_jwt/authentication.py @@ -48,7 +48,7 @@ class BaseAuthentication: for option in ["iss", "iat", "nbf", "aud"]: setting = "claim_{}".format(option.lower())...
some tweaks to increase code readability
py
diff --git a/src/satosa/consent.py b/src/satosa/consent.py index <HASH>..<HASH> 100644 --- a/src/satosa/consent.py +++ b/src/satosa/consent.py @@ -222,11 +222,8 @@ class ConsentModule(object): :param jws: A jws containing id, redirect_endpoint and attr :return: Ticket received from the consent service...
Remove redundant raise in consent.py.
py
diff --git a/multihash/funcs.py b/multihash/funcs.py index <HASH>..<HASH> 100644 --- a/multihash/funcs.py +++ b/multihash/funcs.py @@ -76,7 +76,7 @@ class _FuncRegMeta(type): class FuncReg(metaclass=_FuncRegMeta): - """Registry of hash supported functions.""" + """Registry of supported hash functions.""" ...
fix word order in ``FuncReg`` docstring
py
diff --git a/py2/h2o_sandbox.py b/py2/h2o_sandbox.py index <HASH>..<HASH> 100755 --- a/py2/h2o_sandbox.py +++ b/py2/h2o_sandbox.py @@ -225,7 +225,8 @@ def check_sandbox_for_errors(LOG_DIR=None, python_test_name='', errLines.append(line) sys.stdout.write(line) - if (printSi...
don't double print WARN lines (why are java exceptions considered WARN?)
py
diff --git a/renku/api/repository.py b/renku/api/repository.py index <HASH>..<HASH> 100644 --- a/renku/api/repository.py +++ b/renku/api/repository.py @@ -139,16 +139,23 @@ class RepositoryApiMixin(object): try: url = GitURL.parse(self.git.remotes[remote_name].url) + + # Remove gitlab...
models: unified Project id
py
diff --git a/tt/distutils.py b/tt/distutils.py index <HASH>..<HASH> 100644 --- a/tt/distutils.py +++ b/tt/distutils.py @@ -5,6 +5,6 @@ def get_extra_fflags(): fflags = [] fcompiler = customized_fcompiler() if fcompiler.compiler_type in ('g95', 'gnu', 'gnu95'): - if fcompiler.get_version() >= '11.0...
change version to '<I>' from '<I>' Here is an illustration of the issue: ``` >>> from numpy.distutils import customized_fcompiler >>> v=fcompiler.get_version(); v LooseVersion ('<I>') >>> v>="<I>" False >>> v>="<I>" True ```
py
diff --git a/pymbar/mbar_solvers.py b/pymbar/mbar_solvers.py index <HASH>..<HASH> 100644 --- a/pymbar/mbar_solvers.py +++ b/pymbar/mbar_solvers.py @@ -331,7 +331,7 @@ def solve_mbar_once(u_kn_nonzero, N_k_nonzero, f_k_nonzero, method="hybr", tol=1 #Ensure MBAR solved correctly W_nk_check = mbar_W_nk(u...
Fixed the print statement for Python 3.x
py
diff --git a/forms_builder/forms/models.py b/forms_builder/forms/models.py index <HASH>..<HASH> 100644 --- a/forms_builder/forms/models.py +++ b/forms_builder/forms/models.py @@ -21,7 +21,12 @@ STATUS_CHOICES = ( sites_field = None if USE_SITES: - sites_field = models.ManyToManyField("sites.Site") + from dja...
Add default value for sites field when only one site exists.
py
diff --git a/pyswip/prolog.py b/pyswip/prolog.py index <HASH>..<HASH> 100644 --- a/pyswip/prolog.py +++ b/pyswip/prolog.py @@ -191,7 +191,7 @@ def normalize_values(values): if isinstance(values, Atom): return values.value if isinstance(values, Functor): - normalized = values.name.value + ...
Fix unittest problem by mixing str objects and unicode
py
diff --git a/indra/tests/make_mock_ontology.py b/indra/tests/make_mock_ontology.py index <HASH>..<HASH> 100644 --- a/indra/tests/make_mock_ontology.py +++ b/indra/tests/make_mock_ontology.py @@ -37,7 +37,8 @@ always_include = { 'UP:Q02750', 'UP:P01112', 'UP:P01019', 'UP:Q9MZT7', 'UP:Q13422', 'HMDB:HMDB0000122...
Add omnipath test UP ids
py
diff --git a/authorization_django/middleware.py b/authorization_django/middleware.py index <HASH>..<HASH> 100644 --- a/authorization_django/middleware.py +++ b/authorization_django/middleware.py @@ -208,7 +208,7 @@ def authorization_middleware(get_response): x_unique_id = request.META.get('HTTP_X_UNIQUE_ID...
Do not convert scope string to list of characters
py
diff --git a/tensor/tests/test_tensor.py b/tensor/tests/test_tensor.py index <HASH>..<HASH> 100644 --- a/tensor/tests/test_tensor.py +++ b/tensor/tests/test_tensor.py @@ -25,6 +25,15 @@ class Tests(unittest.TestCase): # Well, I guess we'll just assume this is right message = proto.encodeMessage([event...
adding a test case to "test" attributes
py
diff --git a/wordfreq_builder/wordfreq_builder/tokenizers.py b/wordfreq_builder/wordfreq_builder/tokenizers.py index <HASH>..<HASH> 100644 --- a/wordfreq_builder/wordfreq_builder/tokenizers.py +++ b/wordfreq_builder/wordfreq_builder/tokenizers.py @@ -48,8 +48,8 @@ def cld2_surface_tokenizer(text): # Low-frequency lang...
forgot about Italian Former-commit-id: 8f6cd0e<I>bf3c<I>e5f<I>dcf<I>acb<I>
py
diff --git a/agentarchives/archivesspace/client.py b/agentarchives/archivesspace/client.py index <HASH>..<HASH> 100644 --- a/agentarchives/archivesspace/client.py +++ b/agentarchives/archivesspace/client.py @@ -311,10 +311,11 @@ class ArchivesSpaceClient(object): if not dates: try: ...
ArchivesSpace: Dates falls back to date expression If a date expression is found, return that instead of returning None. This is consistent with previous behaviour.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -40,7 +40,9 @@ setup( description='A Django blog app implemented in Wagtail.', long_description=codecs.open(os.path.join(os.path.dirname(__file__), 'README.rst'), encoding='utf-8').read(), install_requires=[ - ...
Don't install Django==<I>a This version isn't compatible with Wagtail yet.
py
diff --git a/src/pyctools/components/photo/vignettecorrector.py b/src/pyctools/components/photo/vignettecorrector.py index <HASH>..<HASH> 100644 --- a/src/pyctools/components/photo/vignettecorrector.py +++ b/src/pyctools/components/photo/vignettecorrector.py @@ -31,6 +31,7 @@ from pyctools.core.config import ConfigEnum...
Use float<I> to ensure mean is not too inaccurate
py
diff --git a/renku/core/management/workflow/plan_factory.py b/renku/core/management/workflow/plan_factory.py index <HASH>..<HASH> 100644 --- a/renku/core/management/workflow/plan_factory.py +++ b/renku/core/management/workflow/plan_factory.py @@ -113,6 +113,8 @@ class PlanFactory: self.add_inputs_and_paramet...
fix(core): fix creation of output folders on rerun/update (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -29,12 +29,28 @@ suggestions and criticisms from the community are always very welcome. Copyright (C) 2012-2013 GEM Foundation. """ +import re from setuptools import setup, find_packages, Extension import numpy -ve...
setup.py: Scrape the __version__ from the package init (so the version number is only defined in one place).
py
diff --git a/salt/utils/roster_matcher.py b/salt/utils/roster_matcher.py index <HASH>..<HASH> 100644 --- a/salt/utils/roster_matcher.py +++ b/salt/utils/roster_matcher.py @@ -25,7 +25,6 @@ import salt.config from salt.ext import six -__opts__ = salt.config.minion_config('/etc/salt/minion') log = logging.getLogger...
Remove unneeded __opts__ added during development to debug
py
diff --git a/raiden/tests/integration/long_running/test_token_networks.py b/raiden/tests/integration/long_running/test_token_networks.py index <HASH>..<HASH> 100644 --- a/raiden/tests/integration/long_running/test_token_networks.py +++ b/raiden/tests/integration/long_running/test_token_networks.py @@ -10,6 +10,7 @@ fro...
fix test_transfer_after_connect_works
py
diff --git a/chirptext/texttaglib.py b/chirptext/texttaglib.py index <HASH>..<HASH> 100755 --- a/chirptext/texttaglib.py +++ b/chirptext/texttaglib.py @@ -20,6 +20,7 @@ from collections import OrderedDict from .anhxa import IDGenerator from .leutile import FileHelper from .anhxa import DataObject +from . import io a...
Use chio.open() to read json file
py
diff --git a/drivers/python/rethinkdb/__init__.py b/drivers/python/rethinkdb/__init__.py index <HASH>..<HASH> 100644 --- a/drivers/python/rethinkdb/__init__.py +++ b/drivers/python/rethinkdb/__init__.py @@ -1,9 +1,5 @@ # Copyright 2010-2014 RethinkDB, all rights reserved. -# Define this before importing so nothing c...
fix pypy compatibility in a different way that won't break tests
py
diff --git a/law/target/file.py b/law/target/file.py index <HASH>..<HASH> 100644 --- a/law/target/file.py +++ b/law/target/file.py @@ -18,7 +18,7 @@ import luigi import luigi.task from law.target.base import Target -from law.util import colored +from law.util import colored, create_hash class FileSystem(luigi....
Refine file target hashing.
py
diff --git a/grimoire_elk/elk/bugzillarest.py b/grimoire_elk/elk/bugzillarest.py index <HASH>..<HASH> 100644 --- a/grimoire_elk/elk/bugzillarest.py +++ b/grimoire_elk/elk/bugzillarest.py @@ -66,7 +66,7 @@ class BugzillaRESTEnrich(Enrich): if 'data' in item and type(item) == dict: user = item['data...
[enrich][bugzillarest] Remove email domain from username field in enriched items.
py
diff --git a/allauth/socialaccount/providers/orcid/provider.py b/allauth/socialaccount/providers/orcid/provider.py index <HASH>..<HASH> 100644 --- a/allauth/socialaccount/providers/orcid/provider.py +++ b/allauth/socialaccount/providers/orcid/provider.py @@ -14,7 +14,7 @@ class OrcidAccount(ProviderAccount): def...
OrcidAccount default print method uses user's uid
py
diff --git a/mdc_api/mdc_api.py b/mdc_api/mdc_api.py index <HASH>..<HASH> 100755 --- a/mdc_api/mdc_api.py +++ b/mdc_api/mdc_api.py @@ -448,12 +448,21 @@ class connector: :return: successful ``.status_code`` / ``.is_done``. Check the ``.error`` :rtype: asyncResult ''' + if isinstance(JSONdata,str) and self....
fixed putPreSubscription to handle both list and str json objects, enhanced return code handling
py
diff --git a/morpfw/crud/model.py b/morpfw/crud/model.py index <HASH>..<HASH> 100644 --- a/morpfw/crud/model.py +++ b/morpfw/crud/model.py @@ -25,14 +25,9 @@ from ..memoizer import requestmemoize from ..request import Request from . import permission, signals from .const import SEPARATOR -from .errors import ( - ...
fix issue with cascading delete
py
diff --git a/openquake/engine/db/models.py b/openquake/engine/db/models.py index <HASH>..<HASH> 100644 --- a/openquake/engine/db/models.py +++ b/openquake/engine/db/models.py @@ -1866,7 +1866,7 @@ class LossFraction(djm.Model): key=operator.attrgetter('loss'), reverse=True)) - def...
Renamed LossFraction.iteritems Former-commit-id: <I>acb<I>caa1a<I>cb4feabdfa<I>b<I>e6a6
py
diff --git a/tests/parser_exposure_portfolio_unittest.py b/tests/parser_exposure_portfolio_unittest.py index <HASH>..<HASH> 100644 --- a/tests/parser_exposure_portfolio_unittest.py +++ b/tests/parser_exposure_portfolio_unittest.py @@ -34,16 +34,15 @@ INVALID_TEST_FILE = "tests/data/invalid/small_exposure.xml" class Ex...
Rewriten the test to use assertRaises() to check for the exception.
py
diff --git a/seqcluster/seqbuster/__init__.py b/seqcluster/seqbuster/__init__.py index <HASH>..<HASH> 100644 --- a/seqcluster/seqbuster/__init__.py +++ b/seqcluster/seqbuster/__init__.py @@ -58,6 +58,12 @@ def _filter_seqs(fn): idx += 1 print >>out_handle, fixed...
Fix reading fastq file when Q starts with @.
py
diff --git a/pyaas/cache/pyredis.py b/pyaas/cache/pyredis.py index <HASH>..<HASH> 100644 --- a/pyaas/cache/pyredis.py +++ b/pyaas/cache/pyredis.py @@ -1,5 +1,11 @@ -import redis +import pyaas + +try: + import redis +except ImportError: + raise pyaas.error('Missing redis module') + class CacheTx(object):
check if redis package is available
py
diff --git a/troposphere/glue.py b/troposphere/glue.py index <HASH>..<HASH> 100644 --- a/troposphere/glue.py +++ b/troposphere/glue.py @@ -480,6 +480,7 @@ class Table(AWSObject): class Action(AWSProperty): props = { 'Arguments': (dict, False), + 'CrawlerName': (basestring, False), 'JobNam...
Added missing CrawlerName field to Glue Action and Condition objects (#<I>)
py