diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/setuptools/tests/test_distutils_adoption.py b/setuptools/tests/test_distutils_adoption.py index <HASH>..<HASH> 100644 --- a/setuptools/tests/test_distutils_adoption.py +++ b/setuptools/tests/test_distutils_adoption.py @@ -89,3 +89,13 @@ def test_distutils_local(venv): env = dict(SETUPTOOLS_USE_DISTUTI...
Add test capturing failure. Ref #<I>.
py
diff --git a/moz_sql_parser/formatting.py b/moz_sql_parser/formatting.py index <HASH>..<HASH> 100644 --- a/moz_sql_parser/formatting.py +++ b/moz_sql_parser/formatting.py @@ -139,7 +139,10 @@ class Formatter: return method(value) # treat as regular function call - return '{0}({1})'.format...
fix test_<I>, still <I> test failures
py
diff --git a/loomengine/client/server.py b/loomengine/client/server.py index <HASH>..<HASH> 100755 --- a/loomengine/client/server.py +++ b/loomengine/client/server.py @@ -170,7 +170,7 @@ class ServerControls: 'ERROR! Server admin settings found. Disconnecting is not allowed. '\ 'If you...
fix typo in client/server.py
py
diff --git a/falcon_swagger_ui/resources.py b/falcon_swagger_ui/resources.py index <HASH>..<HASH> 100644 --- a/falcon_swagger_ui/resources.py +++ b/falcon_swagger_ui/resources.py @@ -97,10 +97,19 @@ def register_swaggerui_app(app, swagger_uri, api_url, page_title='Swagger UI', f 'config_json': json.dumps(defau...
Update resources,py to allow '/' as swagger_uri (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -63,6 +63,11 @@ setup( include_package_data=True, install_requires=REQUIRES, dependency_links=SOURCES, + setup_requires = [ + # Add setuptools-git, so we get correct behaviour for + # include_pa...
Add requirement on setuptools_git
py
diff --git a/zipline/finance/slippage.py b/zipline/finance/slippage.py index <HASH>..<HASH> 100644 --- a/zipline/finance/slippage.py +++ b/zipline/finance/slippage.py @@ -106,7 +106,7 @@ def create_transaction(event, order, price, amount): # floor the amount to protect against non-whole number orders # TODO: ...
MAINT: Make usage of absolute`value more clear in slippage. Instead of using copysign with a param of 1, use `abs` to make the code more clear between when slippage is using the absolute value, and when it is creating an amount that uses the order direction.
py
diff --git a/elifetools/parseJATS.py b/elifetools/parseJATS.py index <HASH>..<HASH> 100644 --- a/elifetools/parseJATS.py +++ b/elifetools/parseJATS.py @@ -2417,7 +2417,13 @@ def references_json(soup): references_json = [] for ref in refs(soup): ref_content = OrderedDict() - set_if_value(ref_co...
References of type book-chapter, if a book has a chapter-title, and add chapterTitle.
py
diff --git a/api_core/tests/unit/test_page_iterator.py b/api_core/tests/unit/test_page_iterator.py index <HASH>..<HASH> 100644 --- a/api_core/tests/unit/test_page_iterator.py +++ b/api_core/tests/unit/test_page_iterator.py @@ -514,7 +514,7 @@ class TestGRPCIterator(object): method.assert_called_with(request)...
Fix new lint failure. (#<I>) F<I> use ==/!= to compare str, bytes, and int literals.
py
diff --git a/safe_qgis/utilities.py b/safe_qgis/utilities.py index <HASH>..<HASH> 100644 --- a/safe_qgis/utilities.py +++ b/safe_qgis/utilities.py @@ -363,11 +363,11 @@ def _setNewRasterStyle(theQgsRasterLayer, theStyle): LOGGER.debug('Assigning renderer to raster layer') theQgsRasterLayer.setRenderer(myRende...
Comment out transparency for qgis <I> raster style for now as it causes a crash.
py
diff --git a/tests/__init__.py b/tests/__init__.py index <HASH>..<HASH> 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,4 +1,7 @@ -import logging +# Import `pyinfra_cli` to trigger gevent monkey patching +import pyinfra_cli # noqa: F401 + +import logging # noqa: I100 import gevent.hub
Import `pyinfra_cli` at start of tests.
py
diff --git a/howdoi/howdoi.py b/howdoi/howdoi.py index <HASH>..<HASH> 100755 --- a/howdoi/howdoi.py +++ b/howdoi/howdoi.py @@ -649,11 +649,14 @@ def _sanity_check(engine, test_query=None): if not test_query: test_query = 'format date bash' - args = vars(parser.parse_args(('-j ' + test_query).split())...
An option for fixing the sanity check issue
py
diff --git a/parsl/dataflow/rundirs.py b/parsl/dataflow/rundirs.py index <HASH>..<HASH> 100644 --- a/parsl/dataflow/rundirs.py +++ b/parsl/dataflow/rundirs.py @@ -35,7 +35,6 @@ def make_rundir(path: str) -> str: logger.debug("Parsl run initializing in rundir: {0}".format(current_rundir)) return os.pat...
Log full exception at rundir creation failure (#<I>)
py
diff --git a/src/adafruit_blinka/microcontroller/mcp2221/mcp2221.py b/src/adafruit_blinka/microcontroller/mcp2221/mcp2221.py index <HASH>..<HASH> 100644 --- a/src/adafruit_blinka/microcontroller/mcp2221/mcp2221.py +++ b/src/adafruit_blinka/microcontroller/mcp2221/mcp2221.py @@ -55,14 +55,7 @@ class MCP2221: # ...
Revert change to address review comment.
py
diff --git a/crispy_forms/templatetags/crispy_forms_tags.py b/crispy_forms/templatetags/crispy_forms_tags.py index <HASH>..<HASH> 100644 --- a/crispy_forms/templatetags/crispy_forms_tags.py +++ b/crispy_forms/templatetags/crispy_forms_tags.py @@ -8,6 +8,7 @@ from django.template.loader import get_template from django....
Use string_types instead of basestring ... in order to get python 3 compatibility
py
diff --git a/botstory/ast/story_context/reducers.py b/botstory/ast/story_context/reducers.py index <HASH>..<HASH> 100644 --- a/botstory/ast/story_context/reducers.py +++ b/botstory/ast/story_context/reducers.py @@ -142,6 +142,16 @@ def scope_out(ctx): logger.debug('# [<] return') ctx = ctx.clone() ...
make one step outside loop if last return value was EndOfStory
py
diff --git a/tests/job_unittest.py b/tests/job_unittest.py index <HASH>..<HASH> 100644 --- a/tests/job_unittest.py +++ b/tests/job_unittest.py @@ -650,9 +650,6 @@ class RunJobTestCase(unittest.TestCase): oq_config.Config().cfg['supervisor']['exe'] = 'supervise me' job = helpers.job_from_file(helpers...
removed job_pid assertion in test_spawn_job_supervisor()
py
diff --git a/jams/tests/jams_test.py b/jams/tests/jams_test.py index <HASH>..<HASH> 100644 --- a/jams/tests/jams_test.py +++ b/jams/tests/jams_test.py @@ -397,6 +397,29 @@ def test_jams(): for sandbox in [None, real_sandbox]: yield __test, ann, fm, sandbox + +def test_jams_save(): + + ...
added JAMS.save test
py
diff --git a/bids/variables/io.py b/bids/variables/io.py index <HASH>..<HASH> 100644 --- a/bids/variables/io.py +++ b/bids/variables/io.py @@ -303,10 +303,8 @@ def _load_time_variables(layout, dataset=None, columns=None, scan_length=None, if regressors: sub_ents = {k: v for k, v in entities.items(...
FIX: Go back to .tsv only
py
diff --git a/pyciss/pipeline.py b/pyciss/pipeline.py index <HASH>..<HASH> 100644 --- a/pyciss/pipeline.py +++ b/pyciss/pipeline.py @@ -10,7 +10,6 @@ import os from pyciss import plotting from pyciss.io import dataroot from . import io -from pysis.exceptions import ProcessError ISISDATA = os.environ['ISIS3DATA']...
removing senseless size checker as ISS is a CCD array, it is always the same size. Only the map projection is blowing up the size of the projected cube that much, not the EDR.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -35,7 +35,7 @@ with open(path.join(here, 'README.rst'), encoding='utf-8') as f: setup( name='pymmd', - version='0.3.0', + version='0.4.0', description='Python wrapper for the MultiMarkdown library.', lo...
Increment to <I> to release convert_from function
py
diff --git a/kana2/reqwrap.py b/kana2/reqwrap.py index <HASH>..<HASH> 100644 --- a/kana2/reqwrap.py +++ b/kana2/reqwrap.py @@ -89,7 +89,7 @@ def get_error_msg(code, url, tries, max_tries): return ("Booru request error: %d - %s, %s - URL: %s - " "Retrying in %ss (%s/%s)." % (code, HTTP_BOO...
Fix retry timer always being 6s
py
diff --git a/src/sagemaker/amazon/amazon_estimator.py b/src/sagemaker/amazon/amazon_estimator.py index <HASH>..<HASH> 100644 --- a/src/sagemaker/amazon/amazon_estimator.py +++ b/src/sagemaker/amazon/amazon_estimator.py @@ -236,14 +236,16 @@ def registry(region_name, algorithm=None): "us-east-1": "382416733...
Add ap-northeast-1 (Tokio) region support (#<I>)
py
diff --git a/SoftLayer/CLI/loadbal/service_edit.py b/SoftLayer/CLI/loadbal/service_edit.py index <HASH>..<HASH> 100644 --- a/SoftLayer/CLI/loadbal/service_edit.py +++ b/SoftLayer/CLI/loadbal/service_edit.py @@ -20,7 +20,7 @@ from SoftLayer.CLI import loadbal type=click.INT, help="Change th...
Remove --ip option as it conflicts with --ip-address option
py
diff --git a/client/ProjectsApi.py b/client/ProjectsApi.py index <HASH>..<HASH> 100644 --- a/client/ProjectsApi.py +++ b/client/ProjectsApi.py @@ -136,7 +136,7 @@ class ProjectsApi(object): files = {} bodyParam = None - headerParams['Accept'] = '' + headerParams['Accept'] = 'applicatio...
tweak ProjectsApi to give a response to us for processing
py
diff --git a/neurondm/neurondm/models/cuts.py b/neurondm/neurondm/models/cuts.py index <HASH>..<HASH> 100755 --- a/neurondm/neurondm/models/cuts.py +++ b/neurondm/neurondm/models/cuts.py @@ -438,12 +438,12 @@ def main(): # also a chicken and an egg problem here imports=[r...
cuts comment out basic neurons label lookups for now possibly could use radd instead
py
diff --git a/btchip/btchipComm.py b/btchip/btchipComm.py index <HASH>..<HASH> 100644 --- a/btchip/btchipComm.py +++ b/btchip/btchipComm.py @@ -178,7 +178,7 @@ def getDongle(debug=False): if hidDevice['vendor_id'] == 0x2581 and hidDevice['product_id'] == 0x4b7c: hidDevicePath = hidDevice['path'] ledger = True...
Compatibility with Ledger Nano S
py
diff --git a/python_modules/dagster-graphql/dagster_graphql_tests/graphql/test_retry_execution.py b/python_modules/dagster-graphql/dagster_graphql_tests/graphql/test_retry_execution.py index <HASH>..<HASH> 100644 --- a/python_modules/dagster-graphql/dagster_graphql_tests/graphql/test_retry_execution.py +++ b/python_mod...
disable flaky retry test on py<I> Summary: This is hanging in py<I> only (in a way that won't repro locally). Temporarily disable. Test Plan: BK Reviewers: schrockn, max, alangenfeld, johann Reviewed By: schrockn Differential Revision: <URL>
py
diff --git a/txtorcon/util.py b/txtorcon/util.py index <HASH>..<HASH> 100644 --- a/txtorcon/util.py +++ b/txtorcon/util.py @@ -47,7 +47,7 @@ def maybe_create_db(path): city, asn, country = map(maybe_create_db, ("/usr/share/GeoIP/GeoLiteCity.dat", "/usr/share/GeoIP/G...
change defualt geoip location?
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -22,15 +22,21 @@ setup( url='https://github.com/caktus/django-email-bandit', license='BSD', description=' '.join(__import__('bandit').__doc__.splitlines()).strip(), - classifiers=[ - 'Topic :: Internet...
Update PyPi classifiers to include Python 3 support.
py
diff --git a/bonobo/commands/__init__.py b/bonobo/commands/__init__.py index <HASH>..<HASH> 100644 --- a/bonobo/commands/__init__.py +++ b/bonobo/commands/__init__.py @@ -26,7 +26,9 @@ def entrypoint(args=None): commands = {} - def register_extension(ext, commands=commands): + def register_extension(ext)...
smell: move commands arg to nonlocal var
py
diff --git a/stdeb/util.py b/stdeb/util.py index <HASH>..<HASH> 100644 --- a/stdeb/util.py +++ b/stdeb/util.py @@ -166,13 +166,13 @@ def recursive_hardlink(src,dst): def debianize_name(name): "make name acceptable as a Debian (binary) package name" - name = name.replace('_','') + name = name.replace('_','...
replace underscore with a dash in package names
py
diff --git a/tensorflow_probability/python/bijectors/masked_autoregressive_test.py b/tensorflow_probability/python/bijectors/masked_autoregressive_test.py index <HASH>..<HASH> 100644 --- a/tensorflow_probability/python/bijectors/masked_autoregressive_test.py +++ b/tensorflow_probability/python/bijectors/masked_autoregr...
increase samples sizes to make sure test passes
py
diff --git a/hashedindex/textparser.py b/hashedindex/textparser.py index <HASH>..<HASH> 100644 --- a/hashedindex/textparser.py +++ b/hashedindex/textparser.py @@ -31,7 +31,7 @@ for char in _punctuation_exceptions: _punctuation_class = '[%s]' % re.escape(_punctuation) _whitespace_class = r'\s+' -_word_class = '[A-z0...
Use special sequence to match single word characters, instead of explicit ASCII character class
py
diff --git a/torf/_torrent.py b/torf/_torrent.py index <HASH>..<HASH> 100644 --- a/torf/_torrent.py +++ b/torf/_torrent.py @@ -22,6 +22,7 @@ from collections import abc, namedtuple import errno import inspect import io +import pathlib from . import _utils as utils from . import _errors as error @@ -256,13 +257,1...
Torrent.filepaths: Use pathlib to make paths relative
py
diff --git a/engineer/models.py b/engineer/models.py index <HASH>..<HASH> 100644 --- a/engineer/models.py +++ b/engineer/models.py @@ -142,7 +142,7 @@ class Post(object): i_day=self.timestamp.day, title=self.slug,...
Custom Permalinks should use the local timestamp.
py
diff --git a/pypsa/pf.py b/pypsa/pf.py index <HASH>..<HASH> 100644 --- a/pypsa/pf.py +++ b/pypsa/pf.py @@ -736,9 +736,8 @@ def sub_network_lpf(sub_network, snapshots=None, verbose=True, skip_pre=False, n v_diff = np.zeros((len(snapshots), len(buses_i))) if len(branches_i) > 0: - for i, now in enumera...
pf: Use matrix capabilities of spsolve instead of loops
py
diff --git a/zhaquirks/tuya/ts0041.py b/zhaquirks/tuya/ts0041.py index <HASH>..<HASH> 100644 --- a/zhaquirks/tuya/ts0041.py +++ b/zhaquirks/tuya/ts0041.py @@ -25,7 +25,7 @@ class TuyaSmartRemote0041(TuyaSmartRemote): signature = { # SizePrefixedSimpleDescriptor(endpoint=1, profile=260, device_type=0, de...
remve model that had differing signutre (#<I>) Should be covered in #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ setup( 'Development Status :: 5 - Production/Stable', 'Environment :: Console', 'Intended Audience :: System Administrators', - 'Programming Language :: Python :: 2.7', + ...
chore: cleanup on setup.py
py
diff --git a/bcbio/pipeline/main.py b/bcbio/pipeline/main.py index <HASH>..<HASH> 100644 --- a/bcbio/pipeline/main.py +++ b/bcbio/pipeline/main.py @@ -418,6 +418,7 @@ class RnaseqPipeline(AbstractPipeline): samples, config, dirs, "persample") as run_parallel: with profile.report("q...
Re-add timing finished message to RNA-seq pipeline.
py
diff --git a/salt/modules/defaults.py b/salt/modules/defaults.py index <HASH>..<HASH> 100644 --- a/salt/modules/defaults.py +++ b/salt/modules/defaults.py @@ -118,7 +118,7 @@ def get(key, default=''): defaults = _load(pillar_name, defaults_path) - value = __salt__['pillar.get']("%s:%s" % (pillar_name, key),...
Using .format to build the pillar key as requested
py
diff --git a/scripts/make_confidence_report.py b/scripts/make_confidence_report.py index <HASH>..<HASH> 100755 --- a/scripts/make_confidence_report.py +++ b/scripts/make_confidence_report.py @@ -63,6 +63,8 @@ def main(argv=None): test_end=FLAGS.test_end, which_set=FLAGS.which_set, ...
these flags weren't passed through
py
diff --git a/src/holodeck/command.py b/src/holodeck/command.py index <HASH>..<HASH> 100644 --- a/src/holodeck/command.py +++ b/src/holodeck/command.py @@ -83,7 +83,7 @@ class Command: A number or list of numbers to add to the parameters. """ - if isinstance(number, list) or isinstance...
added isinstance(number, np.ndarray)
py
diff --git a/doctr/__main__.py b/doctr/__main__.py index <HASH>..<HASH> 100644 --- a/doctr/__main__.py +++ b/doctr/__main__.py @@ -269,7 +269,7 @@ def deploy(args, parser): # Reset in case there are modified files that are tracked in the # dpeloy branch. - run(['git', 'stash']) + run([...
Use git stash --all That way untracked files are also stashed and restored. Fixes #<I>.
py
diff --git a/src/pymonzo/api_objects.py b/src/pymonzo/api_objects.py index <HASH>..<HASH> 100644 --- a/src/pymonzo/api_objects.py +++ b/src/pymonzo/api_objects.py @@ -68,7 +68,7 @@ class MonzoAccount(MonzoObject): class MonzoPot(MonzoObject): """ - Class representation of Monzo account + Class rep...
Update comments Updated comments for Pots
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -44,16 +44,16 @@ ext_mods = [Extension(name='GPy.kern._src.stationary_cython', extra_link_args = link_args), Extension(name='GPy.util.choleskies_cython', sources=['GPy...
[setup] include headers in source dist
py
diff --git a/materialdjango/widgets.py b/materialdjango/widgets.py index <HASH>..<HASH> 100644 --- a/materialdjango/widgets.py +++ b/materialdjango/widgets.py @@ -36,15 +36,21 @@ class PaperPasswordInput(PasswordInput): return format_html(html, name, value) class PaperEmailInput(EmailInput): + def __...
allow email's label to be changed a bit messy though
py
diff --git a/python/thunder/rdds/images.py b/python/thunder/rdds/images.py index <HASH>..<HASH> 100644 --- a/python/thunder/rdds/images.py +++ b/python/thunder/rdds/images.py @@ -455,7 +455,7 @@ class Images(Data): """ from numpy import corrcoef - nrecords = self.nrecords + nimages = s...
Small changes to Images.localCorr
py
diff --git a/safe/gui/tools/wizard/step_kw30_field.py b/safe/gui/tools/wizard/step_kw30_field.py index <HASH>..<HASH> 100644 --- a/safe/gui/tools/wizard/step_kw30_field.py +++ b/safe/gui/tools/wizard/step_kw30_field.py @@ -3,6 +3,7 @@ import re import logging +from copy import deepcopy from PyQt4.QtCore import Q...
Use default deepcopy to prevent bug in run time.
py
diff --git a/src/bezier/_implicitization.py b/src/bezier/_implicitization.py index <HASH>..<HASH> 100644 --- a/src/bezier/_implicitization.py +++ b/src/bezier/_implicitization.py @@ -426,6 +426,7 @@ def to_power_basis(nodes1, nodes2): NotImplementedError: If the degree pair is not ``1-1``, ``1-2``, ...
Fixing lint issue.
py
diff --git a/symbols/block.py b/symbols/block.py index <HASH>..<HASH> 100644 --- a/symbols/block.py +++ b/symbols/block.py @@ -47,4 +47,7 @@ class SymbolBLOCK(Symbol): return len(self.children) def __eq__(self, other): - return all([x == y for x, y in zip(self, other)]) + if not isinstance...
__eq__ only true if the other instance is also a block with the same children.
py
diff --git a/sdk/python/sawtooth_sdk/client/stream.py b/sdk/python/sawtooth_sdk/client/stream.py index <HASH>..<HASH> 100644 --- a/sdk/python/sawtooth_sdk/client/stream.py +++ b/sdk/python/sawtooth_sdk/client/stream.py @@ -112,8 +112,8 @@ class Stream(object): def done_callback(call): if call.co...
Fix python 3 linting error in stream.py
py
diff --git a/src/saml2/server.py b/src/saml2/server.py index <HASH>..<HASH> 100644 --- a/src/saml2/server.py +++ b/src/saml2/server.py @@ -21,6 +21,7 @@ or attribute authority (AA) may use to conclude its tasks. import logging import os +import importlib import shelve import threading @@ -144,7 +145,12 @@ class...
Allow usage of external IdentDB instance Server can be configured to use external IdentDB instance The configuration has to be a tuple with following syntax: ('identdb', 'module.class') This allows to use custom databases by creating a derived class from IdentDB
py
diff --git a/ecommerce_worker/configuration/base.py b/ecommerce_worker/configuration/base.py index <HASH>..<HASH> 100644 --- a/ecommerce_worker/configuration/base.py +++ b/ecommerce_worker/configuration/base.py @@ -25,7 +25,9 @@ CELERY_IMPORTS = ( 'ecommerce_worker.sailthru.v1.tasks', ) -DEFAULT_PRIORITY_QUEUE ...
Set celery exchange, routing key and default queue (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -55,9 +55,7 @@ if sys.platform == 'win32': link_flags = [] macros = {'LIBSASS_PYTHON_VERSION': '\\"' + version + '\\"'} else: - flags = ['-fPIC', '-Wall', '-Wno-parentheses', '-Wno-tautological-compare'] - if ...
Fix dahlia/libsass-python#4 by dropping flag
py
diff --git a/cmsplugin_cascade/plugin_base.py b/cmsplugin_cascade/plugin_base.py index <HASH>..<HASH> 100644 --- a/cmsplugin_cascade/plugin_base.py +++ b/cmsplugin_cascade/plugin_base.py @@ -386,6 +386,7 @@ class CascadePluginBase(metaclass=CascadePluginBaseMetaclass): context.update( ring...
Render empty form message, if no fields have been declared
py
diff --git a/unleash/unleash.py b/unleash/unleash.py index <HASH>..<HASH> 100644 --- a/unleash/unleash.py +++ b/unleash/unleash.py @@ -64,14 +64,16 @@ class Unleash(object): self.gitconfig = self.repo.get_config_stack() def _perform_step(self, signal_name): - # create new top-level context - ...
Fixed broken context-manager in _perform_step.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -33,9 +33,7 @@ class build_ext_subclass(build_ext): ('system-fitsio-libdir=', None, "Path to look for cfitsio library; default is the system search path."), ] - #cfitsio_version = '...
Change cfitsio path to <I>patch
py
diff --git a/grimoire_elk/_version.py b/grimoire_elk/_version.py index <HASH>..<HASH> 100644 --- a/grimoire_elk/_version.py +++ b/grimoire_elk/_version.py @@ -1,2 +1,2 @@ # Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440 -__version__ = "0.30.31" +__version__ = "0.30.32"
[release] Update version number to <I>
py
diff --git a/tests/download_tests.py b/tests/download_tests.py index <HASH>..<HASH> 100644 --- a/tests/download_tests.py +++ b/tests/download_tests.py @@ -52,7 +52,7 @@ class TestEsriDownload(unittest.TestCase): dump = EsriDumper(self.fake_url) data = list(dump) - self.assertEqual(5, len(data...
Fixing tests after allowing features without geometry
py
diff --git a/superset/datasets/api.py b/superset/datasets/api.py index <HASH>..<HASH> 100644 --- a/superset/datasets/api.py +++ b/superset/datasets/api.py @@ -204,7 +204,7 @@ class DatasetRestApi(BaseSupersetModelRestApi): "sql": [DatasetIsNullOrEmptyFilter], "id": [DatasetCertifiedFilter], } - ...
Update api.py (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,17 +2,18 @@ from setuptools import setup, find_packages setup( name='dirutility', - version='0.2.13', + version='0.2.14', packages=find_packages(), install_requires=[ 'tqdm', 'loopt...
PySimpleGUI added as a dependency.
py
diff --git a/nxviz/base.py b/nxviz/base.py index <HASH>..<HASH> 100644 --- a/nxviz/base.py +++ b/nxviz/base.py @@ -47,6 +47,10 @@ class BasePlot(object): # node. They should be in the same order as self.nodes. self.node_coords = None + # Set the Axes object splines to be invisible. + f...
set axes splines to be invisible.
py
diff --git a/pyrogram/__init__.py b/pyrogram/__init__.py index <HASH>..<HASH> 100644 --- a/pyrogram/__init__.py +++ b/pyrogram/__init__.py @@ -24,7 +24,7 @@ if sys.version_info[:3] in [(3, 5, 0), (3, 5, 1), (3, 5, 2)]: # Monkey patch the standard "typing" module because Python versions from 3.5.0 to 3.5.2 have a b...
Update Pyrogram to <I>
py
diff --git a/machina/__init__.py b/machina/__init__.py index <HASH>..<HASH> 100644 --- a/machina/__init__.py +++ b/machina/__init__.py @@ -3,7 +3,7 @@ from __future__ import unicode_literals import os -__version__ = '0.5.3' +__version__ = '0.5.4.dev' MACHINA_VANILLA_APPS = [
Bumped version to <I>.dev
py
diff --git a/hashstore.py b/hashstore.py index <HASH>..<HASH> 100644 --- a/hashstore.py +++ b/hashstore.py @@ -22,23 +22,27 @@ class HashStore: self.hashes = {} def are_two_file_different(self, source_file, dest_file): - source_changed = True - dest_changed = True + + different ...
:microscope: test lazy copying feature
py
diff --git a/raiden/tests/utils/blockchain.py b/raiden/tests/utils/blockchain.py index <HASH>..<HASH> 100644 --- a/raiden/tests/utils/blockchain.py +++ b/raiden/tests/utils/blockchain.py @@ -253,10 +253,11 @@ def geth_create_blockchain( pub=config['pub'], port=config['port'], ) - ...
Bootnodes and nodekeyhex seem to be unused in test I don't see a reason to have bootnodes and as an extension nodekeyhex in the test geth arguments. If there is a reason then then at least the argument should be sanitized to not be given without a value as I have seen it multiple times given without a bootnode value ...
py
diff --git a/s3backup/clients/local.py b/s3backup/clients/local.py index <HASH>..<HASH> 100644 --- a/s3backup/clients/local.py +++ b/s3backup/clients/local.py @@ -50,8 +50,8 @@ class LocalSyncClient(object): path = os.path.join(self.path, key) if os.path.exists(path): fp = open(path, 'rb'...
Be consistent with the way mtime is retrieved
py
diff --git a/satpy/readers/__init__.py b/satpy/readers/__init__.py index <HASH>..<HASH> 100644 --- a/satpy/readers/__init__.py +++ b/satpy/readers/__init__.py @@ -546,10 +546,14 @@ class FSFile(os.PathLike): def __init__(self, file, fs=None): """Initialise the FSFile instance. - *file* can be str...
Adapt docstring syntax in FSFile
py
diff --git a/wd_property_store.py b/wd_property_store.py index <HASH>..<HASH> 100755 --- a/wd_property_store.py +++ b/wd_property_store.py @@ -161,6 +161,12 @@ wd_properties = { 'domain': ['drugs'], 'core_id': 'True' }, + 'P595': { + 'datatype': 'string', + 'name': 'IUPHAR ID', +...
IUPHAR ID added as core id for the domain drugs
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ packages = find_packages(libdir) setup( name="aeon-venos", - version="0.9.12", + version="0.9.14", author="Jeremy Schulman", url='https://github.com/Apstra/aeon-venos', author_email=...
Update setup.py (#<I>)
py
diff --git a/spinoff/actor/_actor.py b/spinoff/actor/_actor.py index <HASH>..<HASH> 100644 --- a/spinoff/actor/_actor.py +++ b/spinoff/actor/_actor.py @@ -26,6 +26,7 @@ from spinoff.util.pattern_matching import IS_INSTANCE, ANY from spinoff.util.async import call_when_idle_unless_already, with_timeout, Timeout from s...
Always print error traceback and log Error events
py
diff --git a/mod_pbxproj.py b/mod_pbxproj.py index <HASH>..<HASH> 100644 --- a/mod_pbxproj.py +++ b/mod_pbxproj.py @@ -443,7 +443,7 @@ class XCBuildConfiguration(PBXType): self[base][key] = PBXList(self[base][key]) if escape: - if self[base][key].add('\\"%s\\"' % path): #...
Added proper escaping for the framework paths.
py
diff --git a/pylibscrypt/libsodium_load.py b/pylibscrypt/libsodium_load.py index <HASH>..<HASH> 100644 --- a/pylibscrypt/libsodium_load.py +++ b/pylibscrypt/libsodium_load.py @@ -15,6 +15,7 @@ # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. import ctypes.util +import sys def get_libsodium():
Fix missing import from library loading refactor
py
diff --git a/spyderlib/widgets/sourcecode/syntaxhighlighters.py b/spyderlib/widgets/sourcecode/syntaxhighlighters.py index <HASH>..<HASH> 100644 --- a/spyderlib/widgets/sourcecode/syntaxhighlighters.py +++ b/spyderlib/widgets/sourcecode/syntaxhighlighters.py @@ -453,7 +453,8 @@ class CythonSH(PythonSH): #=============...
Add func to Enaml syntax highlither. Declrative function have been added in Enaml in version <I>
py
diff --git a/mrcrowbar/views.py b/mrcrowbar/views.py index <HASH>..<HASH> 100644 --- a/mrcrowbar/views.py +++ b/mrcrowbar/views.py @@ -46,7 +46,12 @@ class Store( View ): block_kwargs = self.refs[key]['block_klass'] if key not in self.refs: - self.items[key] = block_klass( source_data=sel...
views.StoreRef: rig to allow sizeless loading
py
diff --git a/plumbing/graphs.py b/plumbing/graphs.py index <HASH>..<HASH> 100644 --- a/plumbing/graphs.py +++ b/plumbing/graphs.py @@ -35,7 +35,7 @@ class Graph(object): # Save parent # self.parent = parent # Base dir # - if not base_dir: self.base_dir = self.parent.p.graphs_dir + ...
Call a graph to plot it only if it doesn't exist yet
py
diff --git a/pdf/conduit/_version.py b/pdf/conduit/_version.py index <HASH>..<HASH> 100644 --- a/pdf/conduit/_version.py +++ b/pdf/conduit/_version.py @@ -1 +1 @@ -__version__ = '1.5.0' +__version__ = '1.6.0'
Updated conduit version to <I>
py
diff --git a/nailgun/entities.py b/nailgun/entities.py index <HASH>..<HASH> 100644 --- a/nailgun/entities.py +++ b/nailgun/entities.py @@ -2167,7 +2167,8 @@ class PartitionTable( server_modes = ('sat') -class PuppetClass(Entity): +class PuppetClass( + Entity, EntityCreateMixin, EntityDeleteMixin, En...
Imported classes of entity_mixins for create, delete and fetch data for puppet-classes in entites
py
diff --git a/pysc2/run_configs/lib.py b/pysc2/run_configs/lib.py index <HASH>..<HASH> 100644 --- a/pysc2/run_configs/lib.py +++ b/pysc2/run_configs/lib.py @@ -69,6 +69,8 @@ VERSIONS = version_dict([ Version("4.5.0", 67188, "2ACF84A7ECBB536F51FC3F734EC3019F", None), Version("4.5.1", 67188, "6D239173B8712461E6A...
Add support for <I> and <I>. PiperOrigin-RevId: <I>
py
diff --git a/scripts/performance/perf_load/perf_client_fees.py b/scripts/performance/perf_load/perf_client_fees.py index <HASH>..<HASH> 100644 --- a/scripts/performance/perf_load/perf_client_fees.py +++ b/scripts/performance/perf_load/perf_client_fees.py @@ -44,10 +44,8 @@ class LoadClientFees(LoadClient): sel...
Change defaults of mint_by and simplify rang check
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -23,5 +23,6 @@ setup( install_requires=['xlrd'], packages=['datawrap'], test_suite = 'tests', + zip_safe = False, long_description=read('README.md'), )
Added zip_safe=False to setup call.
py
diff --git a/spyder/widgets/findreplace.py b/spyder/widgets/findreplace.py index <HASH>..<HASH> 100644 --- a/spyder/widgets/findreplace.py +++ b/spyder/widgets/findreplace.py @@ -28,6 +28,7 @@ from spyder.utils import icon_manager as ima from spyder.utils.misc import regexp_error_msg from spyder.plugins.editor.utils...
Use eol chars as replace char
py
diff --git a/spacy/tests/regression/test_issue5230.py b/spacy/tests/regression/test_issue5230.py index <HASH>..<HASH> 100644 --- a/spacy/tests/regression/test_issue5230.py +++ b/spacy/tests/regression/test_issue5230.py @@ -90,9 +90,9 @@ objects_to_test = ( def write_obj_and_catch_warnings(obj): with make_tempdir(...
issue<I> store string values of warnings to remotely debug failing python<I>(win) setup
py
diff --git a/collatex-pythonport/collatex/near_matching.py b/collatex-pythonport/collatex/near_matching.py index <HASH>..<HASH> 100644 --- a/collatex-pythonport/collatex/near_matching.py +++ b/collatex-pythonport/collatex/near_matching.py @@ -19,6 +19,10 @@ class Scheduler(object): def __len__(self): retu...
Added debug method to the scheduler which lists all the tasks.
py
diff --git a/benchexec/tools/metaval.py b/benchexec/tools/metaval.py index <HASH>..<HASH> 100644 --- a/benchexec/tools/metaval.py +++ b/benchexec/tools/metaval.py @@ -7,8 +7,8 @@ import argparse import benchexec.tools.template +import os import re -import pathlib import threading from benchexec.tools.template ...
Replace pathlib usage by os.path inside metaval.py It is more defensive to pass around strings instead of Path objects. This is consistent throughout BenchExec, so we better do not introduce unexpected behavior by suddenly passing Path objects around.
py
diff --git a/greenhouse/io.py b/greenhouse/io.py index <HASH>..<HASH> 100644 --- a/greenhouse/io.py +++ b/greenhouse/io.py @@ -159,8 +159,8 @@ class Socket(object): def listen(self, backlog): return self._sock.listen(backlog) - def makefile(self, mode='r', bufsize=None): - return socket._fileo...
improve socket.socket compatibility re makefile()
py
diff --git a/mmcv/ops/points_sampler.py b/mmcv/ops/points_sampler.py index <HASH>..<HASH> 100644 --- a/mmcv/ops/points_sampler.py +++ b/mmcv/ops/points_sampler.py @@ -104,7 +104,6 @@ class PointsSampler(nn.Module): """ indices = [] last_fps_end_index = 0 - for fps_sample_range, sampl...
[Fix] Fix index error when using multi-samplers strategy (#<I>) * fix index error when using multi-samplers strategy * After every loop, change the last_fps_end_index to fps_sample_range
py
diff --git a/bcbio/variation/validate.py b/bcbio/variation/validate.py index <HASH>..<HASH> 100644 --- a/bcbio/variation/validate.py +++ b/bcbio/variation/validate.py @@ -18,7 +18,6 @@ import toolz as tz import yaml from bcbio import broad, utils -from bcbio.bam import callable from bcbio.cwl import cwlutils from...
Avoid circular dependencies from direct validate import
py
diff --git a/girder/models/item.py b/girder/models/item.py index <HASH>..<HASH> 100644 --- a/girder/models/item.py +++ b/girder/models/item.py @@ -233,19 +233,3 @@ class Item(Model): # Validate and save the item return self.save(item) - - def getMetadata(self, id, user, key=None): - """ - ...
We aren't actually using the getMetadata Call. Removing for now.
py
diff --git a/python_modules/dagster/dagster_tests/core_tests/storage_tests/test_local_file_manager.py b/python_modules/dagster/dagster_tests/core_tests/storage_tests/test_local_file_manager.py index <HASH>..<HASH> 100644 --- a/python_modules/dagster/dagster_tests/core_tests/storage_tests/test_local_file_manager.py +++ ...
Write file manager test to temp directory instead of test run directory Summary: This was causing untracked files after each test run. Test Plan: BK + run test, git status shows no new untracked files Reviewers: sandyryza, yuhan Reviewed By: sandyryza Differential Revision: <URL>
py
diff --git a/neovim/__init__.py b/neovim/__init__.py index <HASH>..<HASH> 100644 --- a/neovim/__init__.py +++ b/neovim/__init__.py @@ -45,7 +45,8 @@ def start_host(session=None): logger = logging.getLogger(__name__) if 'NVIM_PYTHON_LOG_FILE' in os.environ: - logfile = os.environ['NVIM_PYTHON_LOG_FILE...
Use separate log files for different clients. Closes #<I>. A nvim instance will typically spawn more than one python client, i e one legacy provider and one rplugin host. This allows to read the log file of both.
py
diff --git a/python_modules/dagster/dagster/core/definitions/decorators/sensor.py b/python_modules/dagster/dagster/core/definitions/decorators/sensor.py index <HASH>..<HASH> 100644 --- a/python_modules/dagster/dagster/core/definitions/decorators/sensor.py +++ b/python_modules/dagster/dagster/core/definitions/decorators...
Update sensor docstring Summary: The sensor docstring was inaccurate. Updating. Test Plan: Read Reviewers: prha Reviewed By: prha Differential Revision: <URL>
py
diff --git a/hug/decorators.py b/hug/decorators.py index <HASH>..<HASH> 100644 --- a/hug/decorators.py +++ b/hug/decorators.py @@ -157,6 +157,11 @@ def response_middleware(): return decorator +def not_found() + '''A decorator to register a 404 handler''' + pass + + def extend_api(route=""): '''Exte...
Long term concept to handle <I>s
py
diff --git a/test/test_logo.py b/test/test_logo.py index <HASH>..<HASH> 100644 --- a/test/test_logo.py +++ b/test/test_logo.py @@ -44,7 +44,9 @@ def test(): if __name__ == "__main__": from helpers import plot - - plot("logo.png", *test()) + import optimesh + points, cells = test() + points, cells = ...
use optimesh for the logo
py
diff --git a/sockjs/cyclone/router.py b/sockjs/cyclone/router.py index <HASH>..<HASH> 100644 --- a/sockjs/cyclone/router.py +++ b/sockjs/cyclone/router.py @@ -40,7 +40,7 @@ GLOBAL_HANDLERS = [ ] TRANSPORTS = { - 'websocket': transports.WebSocketTransport, + #'websocket': transports.WebSocketTransport, 'x...
disabling websocket transport for now
py
diff --git a/tests/integration/publish/publish_app_integ_base.py b/tests/integration/publish/publish_app_integ_base.py index <HASH>..<HASH> 100644 --- a/tests/integration/publish/publish_app_integ_base.py +++ b/tests/integration/publish/publish_app_integ_base.py @@ -26,6 +26,9 @@ class PublishAppIntegBase(TestCase): ...
fix: move the sleep before applying bucket policy (#<I>)
py
diff --git a/moto/core/authentication.py b/moto/core/authentication.py index <HASH>..<HASH> 100644 --- a/moto/core/authentication.py +++ b/moto/core/authentication.py @@ -24,7 +24,7 @@ ACCESS_KEY_STORE = { class IAMRequestBase(ABC): def __init__(self, method, path, data, headers): - print(f"Creating {IAM...
Fixed printing IAM request class' name.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -59,7 +59,7 @@ setup_requires = [ ] install_requires = [ - 'Flask>=0.10', + 'Flask>=0.11.1', ] packages = find_packages()
installation: Flask>=<I>
py
diff --git a/tests/test_zonal.py b/tests/test_zonal.py index <HASH>..<HASH> 100644 --- a/tests/test_zonal.py +++ b/tests/test_zonal.py @@ -438,6 +438,7 @@ def test_nan_counts(): # geom extends an additional row to left geom = 'POLYGON ((1 0, 4 0, 4 3, 1 3, 1 0))' + # nan stat is requested stats = zo...
Update nan unit test to better illustrate behavior
py
diff --git a/visidata/regex.py b/visidata/regex.py index <HASH>..<HASH> 100644 --- a/visidata/regex.py +++ b/visidata/regex.py @@ -21,11 +21,15 @@ def addRegexColumns(regexMaker, vs, colIndex, origcol, regexstr): func = regexMaker(regex, origcol) - exampleRows = random.sample(vs.rows, options.default_sample...
[regex-] options.default_sample_size=0 means all rows; 1 means only cursor row; cap at max rows (#<I>)
py