diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/src/tests/test_integration.py b/src/tests/test_integration.py index <HASH>..<HASH> 100644 --- a/src/tests/test_integration.py +++ b/src/tests/test_integration.py @@ -261,6 +261,20 @@ def test_sectionless_config_file(env): assert code == 0 assert 'Configuration file does not contain a pydocstyle s...
#<I> - Added another test after CR
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -56,7 +56,7 @@ setup( data_files=[( (BASE_DIR, ['data/nssm_original.exe']) )], - install_requires=['indy-plenum-dev==1.2.228', + install_requires=['indy-plenum-dev==1.2.230', 'in...
Next plenum (#<I>)
py
diff --git a/eliot/_output.py b/eliot/_output.py index <HASH>..<HASH> 100644 --- a/eliot/_output.py +++ b/eliot/_output.py @@ -345,6 +345,7 @@ class MemoryLogger(object): raise TypeError("Message %s doesn't encode to JSON: %s" % ( dictionary, e)) + @exclusively def validate(self)...
Misplaced one decorator when merging.
py
diff --git a/examples/plot_functional_brain_networks.py b/examples/plot_functional_brain_networks.py index <HASH>..<HASH> 100644 --- a/examples/plot_functional_brain_networks.py +++ b/examples/plot_functional_brain_networks.py @@ -21,6 +21,7 @@ from nilearn import datasets, plotting, input_data import sys sys.path....
Added parent directory of pyquic
py
diff --git a/build_tools/build_binaries_osx.py b/build_tools/build_binaries_osx.py index <HASH>..<HASH> 100644 --- a/build_tools/build_binaries_osx.py +++ b/build_tools/build_binaries_osx.py @@ -57,10 +57,3 @@ def main(): if __name__ == '__main__': main() - -''' -To run do: -cd /D x:\PyDev.Debugger -export PYTH...
Remove outdated comment (PY-<I>) (cherry picked from commit 8e<I>b1)
py
diff --git a/newsplease/crawler/commoncrawl_crawler.py b/newsplease/crawler/commoncrawl_crawler.py index <HASH>..<HASH> 100644 --- a/newsplease/crawler/commoncrawl_crawler.py +++ b/newsplease/crawler/commoncrawl_crawler.py @@ -117,7 +117,11 @@ def __get_remote_index(warc_files_start_date): month = date.str...
revisions to adding commoncrawl warc date filter
py
diff --git a/libtmux/window.py b/libtmux/window.py index <HASH>..<HASH> 100644 --- a/libtmux/window.py +++ b/libtmux/window.py @@ -454,7 +454,7 @@ class Window(TmuxMappingObject, TmuxRelationalObject): else: tmux_args += ('-h',) - if percent: + if percent is not None: ...
Improve type checking for percent It's unlikely a user would ever want to pass 0, but to remain true to what's passed in, allow this.
py
diff --git a/peewee.py b/peewee.py index <HASH>..<HASH> 100644 --- a/peewee.py +++ b/peewee.py @@ -4076,7 +4076,7 @@ class TimestampField(IntegerField): elif self.resolution > 1: ticks_to_microsecond = 1000000 // self.resolution value, ticks = divmod(value, self.resolution...
Ensure int is passed as microseconds parameter.
py
diff --git a/gns3server/run.py b/gns3server/run.py index <HASH>..<HASH> 100644 --- a/gns3server/run.py +++ b/gns3server/run.py @@ -163,7 +163,7 @@ def pid_lock(path): pid = int(f.read()) try: os.kill(pid, 0) # If the proces is not running kill return an error - ...
Catch a startup error due to the usage of some antivirus
py
diff --git a/entrypoints.py b/entrypoints.py index <HASH>..<HASH> 100644 --- a/entrypoints.py +++ b/entrypoints.py @@ -55,7 +55,7 @@ class NoSuchEntryPoint(Exception): return "No {!r} entry point found in group {!r}".format(self.name, self.group) -class CaseSensitivearser(configparser.ConfigParser): +class...
Fix mysteriously half-swallowed class name
py
diff --git a/mechanicalsoup/browser.py b/mechanicalsoup/browser.py index <HASH>..<HASH> 100644 --- a/mechanicalsoup/browser.py +++ b/mechanicalsoup/browser.py @@ -64,8 +64,8 @@ class Browser(object): @staticmethod def add_soup(response, soup_config): """Attaches a soup object to a requests response."...
flake8 fix: break line after operator, not before
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -217,7 +217,7 @@ metadata = dict( 'msmtools', 'thermotools>=0.1.14', 'bhmm<0.7', - 'joblib==0.8.4', + 'joblib>0.8.4...
[setup] enforce higher joblib version. Fixes a bug with multiple jobs.
py
diff --git a/songpal/device.py b/songpal/device.py index <HASH>..<HASH> 100644 --- a/songpal/device.py +++ b/songpal/device.py @@ -281,7 +281,7 @@ class Device: if len(volume_info) < 1: logging.warning("Unable to get volume information") elif len(volume_info) > 1: - logging.war...
convert warning to debug when multiple volume controllers are found
py
diff --git a/benchexec/runexecutor.py b/benchexec/runexecutor.py index <HASH>..<HASH> 100644 --- a/benchexec/runexecutor.py +++ b/benchexec/runexecutor.py @@ -1078,9 +1078,13 @@ def _get_debug_output_after_crash(output_filename): 'from %s (%s)', ...
bugfix. We ignore invalid chars in a logfile when searching for additional crash-info.
py
diff --git a/src/resolvelib/__init__.py b/src/resolvelib/__init__.py index <HASH>..<HASH> 100644 --- a/src/resolvelib/__init__.py +++ b/src/resolvelib/__init__.py @@ -11,7 +11,7 @@ __all__ = [ "ResolutionTooDeep", ] -__version__ = "0.5.5" +__version__ = "0.5.6.dev0" from .providers import AbstractProvider,...
Prebump to <I>.dev0
py
diff --git a/pymc/distributions.py b/pymc/distributions.py index <HASH>..<HASH> 100755 --- a/pymc/distributions.py +++ b/pymc/distributions.py @@ -1628,13 +1628,13 @@ def lognormal_like(x, mu, tau): # Multinomial---------------------------------------------- #@randomwrap def rmultinomial(n,p,size=None): - # Leavi...
fixed messed up docstring with comment
py
diff --git a/pyavroc/_version.py b/pyavroc/_version.py index <HASH>..<HASH> 100644 --- a/pyavroc/_version.py +++ b/pyavroc/_version.py @@ -1 +1 @@ -__version__ = '0.4.0' +__version__ = '0.5.0'
Bumped to version <I>.
py
diff --git a/jsonapi_requests/__init__.py b/jsonapi_requests/__init__.py index <HASH>..<HASH> 100644 --- a/jsonapi_requests/__init__.py +++ b/jsonapi_requests/__init__.py @@ -1,3 +1,4 @@ from .base import Api +from .data import JsonApiObject -__all__ = [Api] +__all__ = [Api, JsonApiObject]
Export JsonApiObject as part of external api.
py
diff --git a/galpy/actionAngle_src/actionAngleIsochrone.py b/galpy/actionAngle_src/actionAngleIsochrone.py index <HASH>..<HASH> 100644 --- a/galpy/actionAngle_src/actionAngleIsochrone.py +++ b/galpy/actionAngle_src/actionAngleIsochrone.py @@ -179,7 +179,7 @@ class actionAngleIsochrone(): 2013-09-08 - Writte...
raise Exception when not providing phi in angle calculation
py
diff --git a/aioice/ice.py b/aioice/ice.py index <HASH>..<HASH> 100644 --- a/aioice/ice.py +++ b/aioice/ice.py @@ -196,6 +196,7 @@ next_protocol_id.counter = 0 class StunProtocol(asyncio.DatagramProtocol): def __init__(self, receiver): + self.__closed = asyncio.Future() self.id = next_protocol_i...
[ice] wait for transport to actually close
py
diff --git a/doctr/__main__.py b/doctr/__main__.py index <HASH>..<HASH> 100644 --- a/doctr/__main__.py +++ b/doctr/__main__.py @@ -256,6 +256,8 @@ def on_travis(): return os.environ.get("TRAVIS_JOB_NUMBER", '') def deploy(args, parser): + print("Running doctr deploy, version", __version__) + if not args...
Print the doctr version at the beginning of deploy
py
diff --git a/airflow/bin/cli.py b/airflow/bin/cli.py index <HASH>..<HASH> 100755 --- a/airflow/bin/cli.py +++ b/airflow/bin/cli.py @@ -66,7 +66,7 @@ def sigquit_handler(sig, frame): .format(id_to_name.get(thread_id, ""), thread_id)) for filename, line_number, name, line in traceback.extrac...
Fix format string bug Dear Airflow Maintainers, Please accept this PR that addresses the following issues: - [<URL>) plypaul Closes #<I> from zodiac/xuanji/fix_format_bug
py
diff --git a/pymatgen/entries/corrections_calc.py b/pymatgen/entries/corrections_calc.py index <HASH>..<HASH> 100644 --- a/pymatgen/entries/corrections_calc.py +++ b/pymatgen/entries/corrections_calc.py @@ -295,7 +295,9 @@ class CorrectionCalculator: """ if len(self.corrections) == 0: - s...
raise error with message to compute corrections first if other calculator methods called without corrections calculated
py
diff --git a/colormath/__init__.py b/colormath/__init__.py index <HASH>..<HASH> 100644 --- a/colormath/__init__.py +++ b/colormath/__init__.py @@ -1 +1 @@ -VERSION = '1.0.2' \ No newline at end of file +VERSION = '1.0.3' \ No newline at end of file
Version bump to <I>, which will be the next release.
py
diff --git a/tests/tests.py b/tests/tests.py index <HASH>..<HASH> 100644 --- a/tests/tests.py +++ b/tests/tests.py @@ -333,8 +333,8 @@ class LocationTemplateFilterTest(TestCase): @skipUnless(geoip, geoip_msg) def test_locations(self): - self.assertEqual(location('8.8.8.8'), 'Mountain View, United Sta...
Updated the location of <I>
py
diff --git a/python/ray/tests/test_actor.py b/python/ray/tests/test_actor.py index <HASH>..<HASH> 100644 --- a/python/ray/tests/test_actor.py +++ b/python/ray/tests/test_actor.py @@ -1139,7 +1139,7 @@ def test_actor_autocomplete(ray_start_regular_shared): class_calls = [fn for fn in dir(Foo) if not fn.startswith...
[Hotfix]Fix test_actor failure caused by interface change (#<I>)
py
diff --git a/subscriptions/tasks.py b/subscriptions/tasks.py index <HASH>..<HASH> 100644 --- a/subscriptions/tasks.py +++ b/subscriptions/tasks.py @@ -278,9 +278,9 @@ class SendNextMessage(Task): l.debug("saving subscription") subscription.save() - l.debug("firing post_send_process task") - ...
Make post send process not async
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -98,12 +98,6 @@ setup( include_package_data=True, platforms='any', entry_points={ - 'invenio_base.apps': [ - 'json_merger = json_merger:JsonMerger', - ], - 'invenio_i18n.translati...
global: remove unused entry points * Removes incorrect entry points that causes Flask application to crash when invenio-base is installed. (closes #<I>)
py
diff --git a/tests/test_awslambda/__init__.py b/tests/test_awslambda/__init__.py index <HASH>..<HASH> 100644 --- a/tests/test_awslambda/__init__.py +++ b/tests/test_awslambda/__init__.py @@ -1,5 +1,6 @@ from __future__ import unicode_literals +import botocore.client import boto3 import hashlib import io @@ -183,1...
[lambda] Add <I> test for DeleteFunction
py
diff --git a/doc/tools/buildmodref.py b/doc/tools/buildmodref.py index <HASH>..<HASH> 100755 --- a/doc/tools/buildmodref.py +++ b/doc/tools/buildmodref.py @@ -62,4 +62,5 @@ if __name__ == '__main__': else: other_defines = other_defines in ('True', 'true', '1') - writeapi(package, outdir, other_define...
Revert other_defines overwrite in buildmodref.
py
diff --git a/pandas/util/_tester.py b/pandas/util/_tester.py index <HASH>..<HASH> 100644 --- a/pandas/util/_tester.py +++ b/pandas/util/_tester.py @@ -2,6 +2,7 @@ Entrypoint for testing from the top-level namespace """ import os +import sys PKG = os.path.dirname(os.path.dirname(__file__)) @@ -20,7 +21,7 @@ else...
TST: report the exit code on pandas.test() exit
py
diff --git a/mutagen/flac.py b/mutagen/flac.py index <HASH>..<HASH> 100644 --- a/mutagen/flac.py +++ b/mutagen/flac.py @@ -165,6 +165,3 @@ class FLAC(object): size = to_int_be(fileobj.read(3)) fileobj.read(size) return fileobj.tell() - - def __metadata_write(self): - return ...
FLAC#__metadata_write: Not accurate, remove.
py
diff --git a/uni_form/helpers.py b/uni_form/helpers.py index <HASH>..<HASH> 100644 --- a/uni_form/helpers.py +++ b/uni_form/helpers.py @@ -121,9 +121,9 @@ class Fieldset(object): ''' Fieldset container. Renders to a <fieldset>. ''' - def __init__(self, legend, *fields, **args): - self.css_cla...
Renaming wrong named args to kwargs
py
diff --git a/openpnm/topotools/topotools.py b/openpnm/topotools/topotools.py index <HASH>..<HASH> 100644 --- a/openpnm/topotools/topotools.py +++ b/openpnm/topotools/topotools.py @@ -813,7 +813,9 @@ def stitch(network, donor, P_network, P_donor, method='nearest', # Add the new stitch throats to the Network ex...
silencing warning when no geoms present
py
diff --git a/indra/literature/elsevier_client.py b/indra/literature/elsevier_client.py index <HASH>..<HASH> 100644 --- a/indra/literature/elsevier_client.py +++ b/indra/literature/elsevier_client.py @@ -177,10 +177,12 @@ def _get_pdf_attachment(full_text_elem): pdf_purpose = web_pdf.find('xocs:web-pdf-purpose'...
Tweak get_pdf to tabulate Elsevier stats
py
diff --git a/easy_thumbnails/conf.py b/easy_thumbnails/conf.py index <HASH>..<HASH> 100644 --- a/easy_thumbnails/conf.py +++ b/easy_thumbnails/conf.py @@ -120,6 +120,6 @@ class Settings(AppSettings): THUMBNAIL_DEFAULT_OPTIONS = None - THUMBNAIL_HIGH_RESOLUTION = True # enables thumbnails for retina display...
Default is to not generate @2x thumbnails
py
diff --git a/wallace/custom.py b/wallace/custom.py index <HASH>..<HASH> 100644 --- a/wallace/custom.py +++ b/wallace/custom.py @@ -557,3 +557,7 @@ def api_notifications(): def quitter(): """Overide the psiTurk quitter route.""" log("Quitter route was hit.") + return Response( + dumps({"status": "su...
Return a response for the overriden quitter route
py
diff --git a/host/scan/scan.py b/host/scan/scan.py index <HASH>..<HASH> 100644 --- a/host/scan/scan.py +++ b/host/scan/scan.py @@ -148,11 +148,15 @@ class ScanBase(object): @property def device_configuration(self): - return self._device_configuration + tmp_device_configuration = self._devi...
BUG: return object instead of string for device and register, makes tuning script running again
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -38,11 +38,11 @@ setup( 'Topic :: Text Processing :: Linguistic', 'License :: OSI Approved :: Apache Software License', - 'Programming Language :: Python :: 3.4', 'Programming Language :: Py...
Add python <I> as a supported version Also removes python <I> as no tests are run on that version.
py
diff --git a/array/rotate_array.py b/array/rotate_array.py index <HASH>..<HASH> 100644 --- a/array/rotate_array.py +++ b/array/rotate_array.py @@ -10,6 +10,24 @@ there are at least 3 different ways to solve this problem. """ +# +# Rotate the entire array 'k' times +# T(n)- O(nk) +# +def rotate_one_by_one(nums, k):...
One of the naive solutions to rotate the array Added the naive algorithm as well, where we rotate the entire array 'k' times
py
diff --git a/werkzeug/contrib/securecookie.py b/werkzeug/contrib/securecookie.py index <HASH>..<HASH> 100644 --- a/werkzeug/contrib/securecookie.py +++ b/werkzeug/contrib/securecookie.py @@ -145,6 +145,8 @@ class SecureCookie(ModificationTrackingDict): def unserialize(cls, string, secret_key): """Load t...
securecookie encodes to utf-8 if an unicode object is passed to unserialize --HG-- branch : trunk
py
diff --git a/tests/test_sprites.py b/tests/test_sprites.py index <HASH>..<HASH> 100644 --- a/tests/test_sprites.py +++ b/tests/test_sprites.py @@ -280,7 +280,7 @@ def test_class_attrs(): position = Vector(4, 2) sprite = TestSprite() - assert sprite.position == (4, 2) + assert sprite.position == Ve...
ppb-vector <I> will only do == between two Vectors
py
diff --git a/bcbio/structural/plot.py b/bcbio/structural/plot.py index <HASH>..<HASH> 100644 --- a/bcbio/structural/plot.py +++ b/bcbio/structural/plot.py @@ -41,11 +41,17 @@ def _get_ensemble_bed_files(items): return bed_files def _add_regional_coverage_plot(items, plot): + out = [] + added = False ...
Ensure coverage plots uploaded to final results directory
py
diff --git a/salt/modules/event.py b/salt/modules/event.py index <HASH>..<HASH> 100644 --- a/salt/modules/event.py +++ b/salt/modules/event.py @@ -6,7 +6,10 @@ master to the minion and vice-versa. from __future__ import absolute_import # Import Python libs import collections +import logging import os +import sys +i...
If we're unable to fire an event, log the cause so we know what happened
py
diff --git a/tbapy/main.py b/tbapy/main.py index <HASH>..<HASH> 100644 --- a/tbapy/main.py +++ b/tbapy/main.py @@ -29,7 +29,8 @@ class TBA: """ return get(self.URL_PRE + url, headers={'X-TBA-Auth-Key': self.auth_key}).json() - def team_key(self, identifier): + @staticmethod + def team_key(i...
Remove redundant parenthesis and add @staticmethod to team_key() (#<I>)
py
diff --git a/n_mdfmonitor.py b/n_mdfmonitor.py index <HASH>..<HASH> 100644 --- a/n_mdfmonitor.py +++ b/n_mdfmonitor.py @@ -199,10 +199,10 @@ class FileModificationMonitor(object): return True -class FileModificationObjectManager(object): - """This manager manages file modification objects. +clas...
rename FileModificationMonitor to ModificationMonitor
py
diff --git a/test_app/admin.py b/test_app/admin.py index <HASH>..<HASH> 100644 --- a/test_app/admin.py +++ b/test_app/admin.py @@ -26,8 +26,14 @@ class WriterAdminInline(admin.TabularInline): model = Writer +class LocationInline(admin.TabularInline): + model = Location + extra = 1 + + class ContinentAdm...
add example of chained FK as inline
py
diff --git a/test/test_signature.py b/test/test_signature.py index <HASH>..<HASH> 100644 --- a/test/test_signature.py +++ b/test/test_signature.py @@ -565,7 +565,6 @@ sh: def testSignatureWithVars(self): '''Test revaluation with variable change''' self.touch(('a1.out', 'a2.out')) - st = ti...
Use file modified time instead of execution time to test signature skip
py
diff --git a/scss/functions/compass/helpers.py b/scss/functions/compass/helpers.py index <HASH>..<HASH> 100644 --- a/scss/functions/compass/helpers.py +++ b/scss/functions/compass/helpers.py @@ -401,6 +401,7 @@ def _position(opposite, positions): elif pos_value == 'to': # Gradient syntax k...
Learn a bit less eagerly about "to".
py
diff --git a/stream.py b/stream.py index <HASH>..<HASH> 100644 --- a/stream.py +++ b/stream.py @@ -170,13 +170,13 @@ class Stream(collections.Iterator): return itertools.chain(inpipe, self.iterator) def __pipe__(self, inpipe): - self.iterator = self.__call__(inpipe) + self.iterator = self.__call__(iter(inpipe)...
Move iter(inpipe) from Stream.pipe into Stream.__pipe__
py
diff --git a/openquake/risklib/curve.py b/openquake/risklib/curve.py index <HASH>..<HASH> 100644 --- a/openquake/risklib/curve.py +++ b/openquake/risklib/curve.py @@ -145,6 +145,10 @@ class Curve(object): """ return self.inverse.ordinate_for(y_value) + @property + def xy(self): + return...
added xy property to the curve object
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -5,6 +5,7 @@ from distutils.extension import Extension from Cython.Build import cythonize import os +from glob import glob have_pari = False @@ -38,7 +39,7 @@ setup( packages=["cysignals"], package_dir={"": ...
Use a glob for scripts
py
diff --git a/anchorhub/main.py b/anchorhub/main.py index <HASH>..<HASH> 100644 --- a/anchorhub/main.py +++ b/anchorhub/main.py @@ -8,6 +8,7 @@ import anchorhub.normalization.normalize_opts as normalize_opts import anchorhub.validation.validate_opts as validate_opts import anchorhub.validation.validate_files as valida...
Use GitHub implementation of collector in main.py
py
diff --git a/pyphi/__init__.py b/pyphi/__init__.py index <HASH>..<HASH> 100644 --- a/pyphi/__init__.py +++ b/pyphi/__init__.py @@ -94,7 +94,7 @@ logging.config.dictConfig({ } }, 'root': { - 'level': 'INFO', + 'level': 'DEBUG', 'handlers': [h for h in ['file', 'stdout'] if ...
Allow DEBUG through root logger
py
diff --git a/airflow/www/app.py b/airflow/www/app.py index <HASH>..<HASH> 100644 --- a/airflow/www/app.py +++ b/airflow/www/app.py @@ -1085,7 +1085,7 @@ class Airflow(BaseView): # expand/collapse functionality. After 5,000 nodes we stop and fall # back on a quick DFS search for performance. See PR #32...
Guard against no roots Closes #<I>
py
diff --git a/km3pipe/utils/i3shower2hdf5.py b/km3pipe/utils/i3shower2hdf5.py index <HASH>..<HASH> 100755 --- a/km3pipe/utils/i3shower2hdf5.py +++ b/km3pipe/utils/i3shower2hdf5.py @@ -26,9 +26,10 @@ from icecube.icetray import I3Module, I3Bool, I3Int from icecube.dataclasses import I3Double from I3Tray import I3Tray ...
i3shower2hdf5: add more implicit seatray imports
py
diff --git a/openquake/hazardlib/tests/geo/surface/planar_test.py b/openquake/hazardlib/tests/geo/surface/planar_test.py index <HASH>..<HASH> 100644 --- a/openquake/hazardlib/tests/geo/surface/planar_test.py +++ b/openquake/hazardlib/tests/geo/surface/planar_test.py @@ -14,7 +14,6 @@ # You should have received a copy ...
Cleanup [skip CI]
py
diff --git a/tests/test_aggregator.py b/tests/test_aggregator.py index <HASH>..<HASH> 100644 --- a/tests/test_aggregator.py +++ b/tests/test_aggregator.py @@ -6,7 +6,6 @@ # __maintainer__ = "Ronie Martinez" # __email__ = "ronmarti18@gmail.com" # __status__ = "Production" -from latex2mathml.aggregator import aggregat...
Refactor (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ def setup_package(): install_requires = [ 'pytest>=2.9', 'scipy', 'numpy', 'cffi>=1.7', 'numpy-sugar', 'tqdm', 'h5py', 'pandas', 'tabulate>=0.7', 'six', 'optimix', - 'limix-inferenc...
requires newer limix-inference
py
diff --git a/porespy/__init__.py b/porespy/__init__.py index <HASH>..<HASH> 100644 --- a/porespy/__init__.py +++ b/porespy/__init__.py @@ -79,7 +79,7 @@ Use some filters from PoreSpy: ''' -__version__ = "1.1.2" +__version__ = "1.2.0" from . import tools from . import filters
Incrementing version number to <I>
py
diff --git a/dmf_device_ui/view.py b/dmf_device_ui/view.py index <HASH>..<HASH> 100644 --- a/dmf_device_ui/view.py +++ b/dmf_device_ui/view.py @@ -179,6 +179,8 @@ class DmfDeviceView(SlaveView): def on_device_loaded(self, device): self.canvas_slave.set_device(device) + self.info_slave.connection_...
[FIX] Update connection/shape counts on device update
py
diff --git a/law/contrib/htcondor/job.py b/law/contrib/htcondor/job.py index <HASH>..<HASH> 100644 --- a/law/contrib/htcondor/job.py +++ b/law/contrib/htcondor/job.py @@ -85,10 +85,12 @@ class HTCondorJobManager(BaseJobManager): # get the job id(s) if code == 0: - last_line = ...
Generalize htcondor submission parsing.
py
diff --git a/python/ray/experimental/sgd/sgd_worker.py b/python/ray/experimental/sgd/sgd_worker.py index <HASH>..<HASH> 100644 --- a/python/ray/experimental/sgd/sgd_worker.py +++ b/python/ray/experimental/sgd/sgd_worker.py @@ -205,9 +205,6 @@ class SGDWorker(object): def compute_gradients(self): start = t...
Remove: duplicate feed_dict constructing (#<I>)
py
diff --git a/drfaddons/auth.py b/drfaddons/auth.py index <HASH>..<HASH> 100644 --- a/drfaddons/auth.py +++ b/drfaddons/auth.py @@ -45,9 +45,8 @@ class JSONWebTokenAuthenticationQS(BaseJSONWebTokenAuthentication): """ from six import text_type from rest_framework import HTTP_HEADER_ENCODING - ...
Update auth.py (#<I>) Removing `request.data.get(self.key, b'')` because: - `request.data` doesn't have any key - This throws an error when a list is passed, because of this I can't send a list dicts.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ CLASSIFIERS = [ KEYWORDS = 'random windows winrandom' -setup(name='winrandom-crypto', +setup(name='winrandom-ctypes', version=winrandom.VERSION, description='Winrandom equivalent using ctypes....
It'd help if I used the right package name.
py
diff --git a/untwisted/task.py b/untwisted/task.py index <HASH>..<HASH> 100644 --- a/untwisted/task.py +++ b/untwisted/task.py @@ -24,10 +24,7 @@ class Task(Dispatcher): self.count = self.count - 1 for ind in events: - try: - dispatcher.del_map(ind, self.checker) - ...
Fixing bug in task.py.
py
diff --git a/httpwatcher/server.py b/httpwatcher/server.py index <HASH>..<HASH> 100644 --- a/httpwatcher/server.py +++ b/httpwatcher/server.py @@ -37,10 +37,10 @@ class HttpWatcherServer(tornado.web.Application): self.server_base_path = ("/%s/" % server_base_path.strip("/")) if server_base_path != "/" else "/"...
forcing livereload.js path to be absolute
py
diff --git a/src/nlpia/book_parser.py b/src/nlpia/book_parser.py index <HASH>..<HASH> 100644 --- a/src/nlpia/book_parser.py +++ b/src/nlpia/book_parser.py @@ -200,7 +200,7 @@ def tag_lines(lines, include_tags=None): return filter_tagged_lines(tagged_lines, include_tags=include_tags) -def get_tagged_sections(bo...
fix doctest by setting default include_tags to None
py
diff --git a/django_static/templatetags/django_static.py b/django_static/templatetags/django_static.py index <HASH>..<HASH> 100644 --- a/django_static/templatetags/django_static.py +++ b/django_static/templatetags/django_static.py @@ -18,7 +18,8 @@ from django.template import TemplateSyntaxError register = template.Li...
Makes sure that DJANGO_STATIC_MEDIA_URL is prepended to the filename (if set) when DJANGO_STATIC is False
py
diff --git a/src/apiron/endpoint/endpoint.py b/src/apiron/endpoint/endpoint.py index <HASH>..<HASH> 100644 --- a/src/apiron/endpoint/endpoint.py +++ b/src/apiron/endpoint/endpoint.py @@ -1,3 +1,5 @@ +from __future__ import annotations + import logging import string import sys
Add future annotations for python <I> support
py
diff --git a/generate_agents.py b/generate_agents.py index <HASH>..<HASH> 100755 --- a/generate_agents.py +++ b/generate_agents.py @@ -41,10 +41,13 @@ def move_debs(dest_debs): juju_core_dir = os.path.join(dest_debs, 'juju2') if not os.path.isdir(juju_core_dir): # The juju2 package was not found, try...
Inreased verbosity.
py
diff --git a/openquake/risklib/riskinput.py b/openquake/risklib/riskinput.py index <HASH>..<HASH> 100644 --- a/openquake/risklib/riskinput.py +++ b/openquake/risklib/riskinput.py @@ -833,7 +833,7 @@ class LossRatiosGetter(object): :returns: a list of A composite arrays of dtype `lrs_dt` """ d...
Removed obsolete comment [skip CI]
py
diff --git a/mots_vides/factory.py b/mots_vides/factory.py index <HASH>..<HASH> 100644 --- a/mots_vides/factory.py +++ b/mots_vides/factory.py @@ -77,10 +77,7 @@ class StopWordFactory(object): """ Write a collection of stop words into a file. """ - language_file = codecs.open( - ...
write_collection, sort the collection before writing, truncate the existing files, do one write, with Python 3 compatible code
py
diff --git a/anyconfig/backend/configobj.py b/anyconfig/backend/configobj.py index <HASH>..<HASH> 100644 --- a/anyconfig/backend/configobj.py +++ b/anyconfig/backend/configobj.py @@ -11,9 +11,10 @@ - Format to support: configobj, http://goo.gl/JbP2Kp (readthedocs.org) - Requirements: configobj (https://pypi.python....
refactor: update the description of the limitation of configobj backend
py
diff --git a/conftest.py b/conftest.py index <HASH>..<HASH> 100644 --- a/conftest.py +++ b/conftest.py @@ -781,15 +781,12 @@ def integration_lifecycle(svc_client, mock_redis): # Teardown step: Delete all branches except master (if needed). if integration_repo_path(headers, url_components).exists(): w...
test: branch cleanup after run (#<I>)
py
diff --git a/gwpy/tests/test_io.py b/gwpy/tests/test_io.py index <HASH>..<HASH> 100644 --- a/gwpy/tests/test_io.py +++ b/gwpy/tests/test_io.py @@ -718,8 +718,8 @@ class TestIoLosc(object): assert str(exc.value).startswith('Failed to parse LOSC JSON') @pytest.mark.parametrize('detector, strict, result', ...
tests: include 'O1' in losc test output that dataset has now been released
py
diff --git a/aversion.py b/aversion.py index <HASH>..<HASH> 100644 --- a/aversion.py +++ b/aversion.py @@ -381,6 +381,7 @@ class AVersion(object): # Process the configuration self.version_app = None self.versions = {} + self.aliases = {} uris = {} self.types = {} ...
Add a version aliasing mechanism Adds a way to set up aliases for versions. This is intended for ensuring canonical values in the face of type substitutions. Consider for instance a type rule that yields version "<I>", and we want to map this request to the v2 api. By adding "alias.<I> = v2" to the configuration, th...
py
diff --git a/src/wa_kat/rest_api/to_output.py b/src/wa_kat/rest_api/to_output.py index <HASH>..<HASH> 100755 --- a/src/wa_kat/rest_api/to_output.py +++ b/src/wa_kat/rest_api/to_output.py @@ -6,11 +6,8 @@ # Imports ===================================================================== import json import time -import o...
Removed some unused imports.
py
diff --git a/deis/__init__.py b/deis/__init__.py index <HASH>..<HASH> 100644 --- a/deis/__init__.py +++ b/deis/__init__.py @@ -6,4 +6,4 @@ the api, provider, cm, and web Django apps. from __future__ import absolute_import -__version__ = '1.0.0' +__version__ = '1.0.0+git'
chore(release): update version in master to <I>+git
py
diff --git a/src/collectors/MongoDBCollector/MongoDBCollector.py b/src/collectors/MongoDBCollector/MongoDBCollector.py index <HASH>..<HASH> 100644 --- a/src/collectors/MongoDBCollector/MongoDBCollector.py +++ b/src/collectors/MongoDBCollector/MongoDBCollector.py @@ -1,7 +1,7 @@ from numbers import Number -import pym...
MongoDBCollector: Fix order of imports
py
diff --git a/pydevd.py b/pydevd.py index <HASH>..<HASH> 100644 --- a/pydevd.py +++ b/pydevd.py @@ -1900,7 +1900,7 @@ def _locked_settrace( #Suspend as the last thing after all tracing is in place. if suspend: - debugger.setSuspend(t, CMD_SET_BREAK) + debugger.setSuspend...
SET_BREAK means that we hit breakpoint, use other constant for suspend.
py
diff --git a/thanatos/questions/inventory.py b/thanatos/questions/inventory.py index <HASH>..<HASH> 100644 --- a/thanatos/questions/inventory.py +++ b/thanatos/questions/inventory.py @@ -40,13 +40,13 @@ class SlotsQuestion(Question): chosen_ship = random.choice(all_ships) chosen_slot = random.choice(s...
Quick fix to the slot count variable name. It was still specifically called high_slots and needed to be renamed to something more generic for all slots. Fixes #<I>
py
diff --git a/em73xx/sms.py b/em73xx/sms.py index <HASH>..<HASH> 100644 --- a/em73xx/sms.py +++ b/em73xx/sms.py @@ -3,6 +3,7 @@ from datetime import datetime from .utils import unquote + def parse_date_time(date, time): date_format = "%y/%m/%d %H:%M:%S" date_and_time = (date + " " + time)[:-3] @@ -48,7 +...
bad truncate, and no need to do it in the low-level code - formatting should be at presentation level
py
diff --git a/jax/experimental/jax2tf/tests/primitives_test.py b/jax/experimental/jax2tf/tests/primitives_test.py index <HASH>..<HASH> 100644 --- a/jax/experimental/jax2tf/tests/primitives_test.py +++ b/jax/experimental/jax2tf/tests/primitives_test.py @@ -180,8 +180,7 @@ class JaxPrimitiveTest(tf_test_util.JaxToTfTestCa...
Make the custom_assert a one-liner.
py
diff --git a/pylint/config/__init__.py b/pylint/config/__init__.py index <HASH>..<HASH> 100644 --- a/pylint/config/__init__.py +++ b/pylint/config/__init__.py @@ -91,8 +91,15 @@ else: except OSError: pass # Create spam prevention file for today - with open(spam_prev...
Prevent crash in CI environnement if we can't write in pylint's cache
py
diff --git a/mapclassify/classifiers.py b/mapclassify/classifiers.py index <HASH>..<HASH> 100644 --- a/mapclassify/classifiers.py +++ b/mapclassify/classifiers.py @@ -1825,12 +1825,8 @@ class FisherJenksSampled(MapClassifier): counts : array (k,1), the number of observations falling in each class ...
[MAINT] remove Example& hardware comment in FisherJenksSampled
py
diff --git a/examples/basic/colormaps.py b/examples/basic/colormaps.py index <HASH>..<HASH> 100644 --- a/examples/basic/colormaps.py +++ b/examples/basic/colormaps.py @@ -1,5 +1,5 @@ """ -Example usage of pointColors to assign a color to each mesh vertex +Example usage of pointColors to assign a color to each mesh ve...
Removed trailing spaces in examples/basic/colormaps.py
py
diff --git a/dftimewolf/lib/collectors/filesystem.py b/dftimewolf/lib/collectors/filesystem.py index <HASH>..<HASH> 100755 --- a/dftimewolf/lib/collectors/filesystem.py +++ b/dftimewolf/lib/collectors/filesystem.py @@ -42,3 +42,5 @@ class FilesystemCollector(BaseModule): else: self.state.add_error( ...
Bail when no files are collected (#<I>)
py
diff --git a/pyzotero/zotero.py b/pyzotero/zotero.py index <HASH>..<HASH> 100644 --- a/pyzotero/zotero.py +++ b/pyzotero/zotero.py @@ -1610,6 +1610,9 @@ def error_handler(zot, req): # try to get backoff duration delay = req.headers.get("backoff") if not delay: + # t...
Process the retry-after header when a <I> response is received
py
diff --git a/peglet.py b/peglet.py index <HASH>..<HASH> 100644 --- a/peglet.py +++ b/peglet.py @@ -56,9 +56,7 @@ def Parser(grammar, **actions): """ parts = re.split(' ('+_identifier+') += ', ' '+re.sub(r'\s', ' ', grammar)) - if not parts: - raise BadGrammar("No grammar") - ...
'not parts' can't happen
py
diff --git a/checks.py b/checks.py index <HASH>..<HASH> 100644 --- a/checks.py +++ b/checks.py @@ -424,7 +424,9 @@ def check_main_entries_in_the_name_table(fb, font, fullpath): FAMILY_WITH_SPACES_EXCEPTIONS = {'VT323': 'VT323', 'PressStart2P': 'Press Start 2P', ...
add a few more exceptions to name table rules, such as: Cormorant SC, Amatica SC, etc... (issue #<I>)
py
diff --git a/qiskit/aqua/algorithms/__init__.py b/qiskit/aqua/algorithms/__init__.py index <HASH>..<HASH> 100644 --- a/qiskit/aqua/algorithms/__init__.py +++ b/qiskit/aqua/algorithms/__init__.py @@ -19,8 +19,8 @@ from .quantum_algorithm import QuantumAlgorithm from .adaptive import VQE, QAOA, QSVMVariational from .cl...
version (1a) ae specific approach w/ dictionary
py
diff --git a/psamm/lpsolver/cplex.py b/psamm/lpsolver/cplex.py index <HASH>..<HASH> 100644 --- a/psamm/lpsolver/cplex.py +++ b/psamm/lpsolver/cplex.py @@ -67,9 +67,10 @@ class Problem(BaseProblem): self._cp = cp.Cplex() # Set up output to go to logging streams - log_stream = LoggerFile(logger...
cplex: Log Cplex library messages to a cplex logger This logs messages directly from Cplex to a new 'cplex' logger instead of using 'psamm.lpsolver.cplex'. This makes it easier to customize the log output from the solver.
py
diff --git a/tests/test_base_multinomial_cm.py b/tests/test_base_multinomial_cm.py index <HASH>..<HASH> 100644 --- a/tests/test_base_multinomial_cm.py +++ b/tests/test_base_multinomial_cm.py @@ -465,6 +465,35 @@ class InitializationTests(GenericTestCase): return None + def test_ensure_all_alternatives_a...
Added tests for new data validation function.
py
diff --git a/Lib/glyphsLib/classes.py b/Lib/glyphsLib/classes.py index <HASH>..<HASH> 100755 --- a/Lib/glyphsLib/classes.py +++ b/Lib/glyphsLib/classes.py @@ -2070,6 +2070,8 @@ class GSPath(GSBase): _parent = None def _serialize_to_plist(self, writer): + if writer.format_version == 3 and self.attr: +...
Read/write GSPath in G3 style
py
diff --git a/umapi_client/functional.py b/umapi_client/functional.py index <HASH>..<HASH> 100644 --- a/umapi_client/functional.py +++ b/umapi_client/functional.py @@ -491,12 +491,14 @@ class UserGroups: :return: On success, return JSON """ if self.connection.test_mode: - raise Unsu...
Added Test-Mode support for User-Group Create Delete
py
diff --git a/gary/potential/io.py b/gary/potential/io.py index <HASH>..<HASH> 100644 --- a/gary/potential/io.py +++ b/gary/potential/io.py @@ -14,7 +14,7 @@ import astropy.units as u from astropy.utils import isiterable import yaml -__all__ = ['read', 'write'] +__all__ = ['load', 'save'] def pythonify(node): ...
forgot to change __all__
py
diff --git a/glue/ligolw/lsctables.py b/glue/ligolw/lsctables.py index <HASH>..<HASH> 100644 --- a/glue/ligolw/lsctables.py +++ b/glue/ligolw/lsctables.py @@ -480,6 +480,10 @@ class SnglBurstTable(table.Table): class SnglBurst(object): __slots__ = SnglBurstTable.validcolumns.keys() + # + # Tile properties + # + ...
Add some comments to SnglBurstTable.
py
diff --git a/tree.py b/tree.py index <HASH>..<HASH> 100644 --- a/tree.py +++ b/tree.py @@ -124,6 +124,23 @@ class Tree(object): candidate = parent return candidate + def positions(self, reverse=False): + """returns a generator that walks the positions of this tree in DFO""" + ...
added Tree.positions(), similar to th ListWalker API
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -86,4 +86,5 @@ setup(name='iPOPO', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', 'Topic :: Software Development :: Libraries :: Application Frameworks'...
Added optional dependency to paho-mqtt
py