diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/AI/run_agents.py b/AI/run_agents.py index <HASH>..<HASH> 100644 --- a/AI/run_agents.py +++ b/AI/run_agents.py @@ -2,10 +2,11 @@ # manages the agents schedules and calls programs as needed +import sys, os schedule_types = ['once', 'year', 'month', 'fortnight', 'week', 'weekday', 'day', 'hour', 'minu...
using standard paths, removing hard coding
py
diff --git a/indra/tests/test_tsv_assembler.py b/indra/tests/test_tsv_assembler.py index <HASH>..<HASH> 100644 --- a/indra/tests/test_tsv_assembler.py +++ b/indra/tests/test_tsv_assembler.py @@ -1,9 +1,10 @@ import os +from indra.sources import signor from indra.assemblers.tsv_assembler import TsvAssembler -from indr...
Fix TSV Assembler reference to Signor files
py
diff --git a/tarbell/app.py b/tarbell/app.py index <HASH>..<HASH> 100644 --- a/tarbell/app.py +++ b/tarbell/app.py @@ -211,12 +211,9 @@ class TarbellSite: if global_values is True and entry.title.text == 'values': for row in data_feed.entry: text = self.parse_text_for_...
clean up and remove more keymode stuff
py
diff --git a/djongo/models/__init__.py b/djongo/models/__init__.py index <HASH>..<HASH> 100644 --- a/djongo/models/__init__.py +++ b/djongo/models/__init__.py @@ -1,4 +1,5 @@ from django.db.models import __all__ as models_all +from django.db.models import * from .fields import ( ArrayModelField, ListField, Djo...
Fixed bug caused by optimizing imports. <URL>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -31,7 +31,7 @@ long_description = open(os.path.join(rootdir, "README")).read() setup( name="Spartacus", - version="3.30", + version="3.31", description="Generic database wrapper", long_description=long_...
<I>: PostgreSQL JSON/JSONB can be optionally returned as Python objects
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,7 @@ except ImportError: project_name = "kerberos" -version_string = "1.3.2" +version_string = "1.3.1" description = "Kerberos high-level interface"
Fix version Oops - the current release is <I>, so the next one should be <I> not <I>
py
diff --git a/gandi/cli/commands/mail.py b/gandi/cli/commands/mail.py index <HASH>..<HASH> 100644 --- a/gandi/cli/commands/mail.py +++ b/gandi/cli/commands/mail.py @@ -135,15 +135,15 @@ def purge(gandi, email, background, force, alias): login, domain = email if alias: if not force: - procee...
Fixes confirm prompt strings for mail purge
py
diff --git a/zipline/utils/protocol_utils.py b/zipline/utils/protocol_utils.py index <HASH>..<HASH> 100644 --- a/zipline/utils/protocol_utils.py +++ b/zipline/utils/protocol_utils.py @@ -101,8 +101,7 @@ class ndict(MutableMapping): if hasattr(self, '_ndict_contains__'): return self._ndict_contains...
flake8 cleanup to protocol_utils
py
diff --git a/graphics/grabseeds.py b/graphics/grabseeds.py index <HASH>..<HASH> 100644 --- a/graphics/grabseeds.py +++ b/graphics/grabseeds.py @@ -405,7 +405,6 @@ def extract_label(labelfile): def load_image(resizefile): img = plt.imread(resizefile) - img = np.flipud(img) h, w, c = img.shape loggin...
disable flipud for JPG images in graphics.grabseeds
py
diff --git a/lib/websearch_regression_tests.py b/lib/websearch_regression_tests.py index <HASH>..<HASH> 100644 --- a/lib/websearch_regression_tests.py +++ b/lib/websearch_regression_tests.py @@ -894,7 +894,7 @@ class WebSearchSortResultsTest(unittest.TestCase): """websearch - search results sorting, default me...
Corrected two sort results regression test cases, taking into account the new demo data (#<I>).
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -67,7 +67,7 @@ if __name__ == '__main__': long_description=local_file('README.md'), author=u'Lincoln de Sousa', author_email=u'lincoln@yipit.com', - url='https://github.com/Yipit/hangy', + ...
Fixing the url of the project. Thanks @spulec :)
py
diff --git a/pydevd_plugins/jinja2_debug.py b/pydevd_plugins/jinja2_debug.py index <HASH>..<HASH> 100644 --- a/pydevd_plugins/jinja2_debug.py +++ b/pydevd_plugins/jinja2_debug.py @@ -365,7 +365,7 @@ def exception_break(plugin, pydb, pydb_frame, frame, args, arg): pydb_frame.set_suspend(thread, CMD_ADD_...
Fix jinja2 exception breakpoints with cython extensions (cherry picked from commit <I>e<I>)
py
diff --git a/tincan/statement.py b/tincan/statement.py index <HASH>..<HASH> 100644 --- a/tincan/statement.py +++ b/tincan/statement.py @@ -240,7 +240,6 @@ class Statement(SerializableBase): def timestamp(self): del self._timestamp - #TODO: make timestamp and stored compatible with datetime and timede...
removed TODO for datetime conversion. datetime and timedelta integration complete.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -52,7 +52,7 @@ setup( "scp>=0.13.3", "tenacity", "pyyaml>=5.3", - "textfsm>=1.1.2", + "textfsm==1.1.2", "ntc-templates>=2.0.0", "pyserial", ],
Fix textfsm dependency issue by pinning to <I> (#<I>)
py
diff --git a/intranet/apps/templatetags/math.py b/intranet/apps/templatetags/math.py index <HASH>..<HASH> 100644 --- a/intranet/apps/templatetags/math.py +++ b/intranet/apps/templatetags/math.py @@ -22,20 +22,13 @@ def round(number, precision=0): @register.filter -def int(number): - """Rounds a number to the ne...
Remove int filter, change divide filter to a percentage calculator
py
diff --git a/pyxel/editor/app.py b/pyxel/editor/app.py index <HASH>..<HASH> 100755 --- a/pyxel/editor/app.py +++ b/pyxel/editor/app.py @@ -29,7 +29,7 @@ class App(Widget): resource_file = os.path.abspath(resource_file) # initialize Pyxel - pyxel.init(APP_WIDTH, APP_HEIGHT) + pyxel.init...
Changed the app not to quit with the escape key
py
diff --git a/plugins/projector/plugin.py b/plugins/projector/plugin.py index <HASH>..<HASH> 100644 --- a/plugins/projector/plugin.py +++ b/plugins/projector/plugin.py @@ -216,7 +216,7 @@ class ProjectorPlugin(TBPlugin): ckpt_path = latest_checkpoint(logdir) if not ckpt_path: # Or in the par...
Fix bug when looking for a checkpoint in parent directory. Change: <I>
py
diff --git a/cairocffi/__init__.py b/cairocffi/__init__.py index <HASH>..<HASH> 100644 --- a/cairocffi/__init__.py +++ b/cairocffi/__init__.py @@ -36,7 +36,7 @@ def dlopen(ffi, *names): raise OSError("dlopen() failed to load a library: %s" % ' / '.join(names)) -cairo = dlopen(ffi, 'cairo', 'cairo-2', 'cairo-go...
Remove cairo-gobject from possible library names cairo-gobject is not cairo, and it probably never worked for anyone. It had been added by #<I>. Related to #<I>.
py
diff --git a/nfc/clf/udp.py b/nfc/clf/udp.py index <HASH>..<HASH> 100644 --- a/nfc/clf/udp.py +++ b/nfc/clf/udp.py @@ -393,7 +393,7 @@ class Device(nfc.clf.device.Device): target = nfc.clf.LocalTarget( brty, atr_res=target.atr_res, atr_req=data[1:]) - if target...
must check if target is None after discovery
py
diff --git a/zeno/test/monitoring/test_instance_change.py b/zeno/test/monitoring/test_instance_change.py index <HASH>..<HASH> 100644 --- a/zeno/test/monitoring/test_instance_change.py +++ b/zeno/test/monitoring/test_instance_change.py @@ -58,3 +58,14 @@ def testInstChangeWithDiffGreaterThanOmega(looper, client1, nodesA...
Added a test case to test difference b/w ratio of master and back up instances and Delta
py
diff --git a/tests/test_prompt.py b/tests/test_prompt.py index <HASH>..<HASH> 100644 --- a/tests/test_prompt.py +++ b/tests/test_prompt.py @@ -98,6 +98,11 @@ class TestPrompt(object): class TestReadUserChoice(object): def test_should_invoke_read_user_choice(self, mocker): + prompt_choice = mocker.patch( ...
Make sure that prompt_choice is called for a list variable
py
diff --git a/metpy/calc/basic.py b/metpy/calc/basic.py index <HASH>..<HASH> 100644 --- a/metpy/calc/basic.py +++ b/metpy/calc/basic.py @@ -328,3 +328,31 @@ def pressure_at_height_above_pressure(pressure, height): """ pressure_level_height = pressure_to_height_std(pressure) return height_to_pressure_std(p...
Add height at pressure above height helper.
py
diff --git a/hypermap/urls.py b/hypermap/urls.py index <HASH>..<HASH> 100644 --- a/hypermap/urls.py +++ b/hypermap/urls.py @@ -4,8 +4,11 @@ from django.conf import settings from django.contrib import admin admin.autodiscover() +from hypermap.aggregator import views + urlpatterns = patterns( '', + url(r'^$'...
Re-added home page pointing to aggregator.index without the slug catalog argument
py
diff --git a/src/confluent_kafka/avro/serializer/message_serializer.py b/src/confluent_kafka/avro/serializer/message_serializer.py index <HASH>..<HASH> 100644 --- a/src/confluent_kafka/avro/serializer/message_serializer.py +++ b/src/confluent_kafka/avro/serializer/message_serializer.py @@ -189,8 +189,7 @@ class Message...
Have fastavro log on deserialization failures (#<I>)
py
diff --git a/src/livestreamer_cli/main.py b/src/livestreamer_cli/main.py index <HASH>..<HASH> 100644 --- a/src/livestreamer_cli/main.py +++ b/src/livestreamer_cli/main.py @@ -485,6 +485,10 @@ def setup_args(): args = parser.parse_args(arglist) + # Force lowercase to allow case-insensitive lookup + if arg...
cli: Allow case-insensitive stream name lookup.
py
diff --git a/housekeeper/pipelines/cli.py b/housekeeper/pipelines/cli.py index <HASH>..<HASH> 100644 --- a/housekeeper/pipelines/cli.py +++ b/housekeeper/pipelines/cli.py @@ -122,6 +122,9 @@ def scout(context, madeline_exe, date, replace, case_name): madeline_exe = madeline_exe or context.obj['madeline_exe'] ...
check version in scout command
py
diff --git a/src/spectrum/psd.py b/src/spectrum/psd.py index <HASH>..<HASH> 100644 --- a/src/spectrum/psd.py +++ b/src/spectrum/psd.py @@ -404,7 +404,7 @@ class Spectrum(object): assert sides != ['onesided'], "complex data cannot be onesided (%s provided)" % sides # If sides is indeed di...
fix a typo in psd.py to prevent warning.
py
diff --git a/ape/installtools/__init__.py b/ape/installtools/__init__.py index <HASH>..<HASH> 100644 --- a/ape/installtools/__init__.py +++ b/ape/installtools/__init__.py @@ -34,11 +34,14 @@ def create_project_venv(): sys.exit() try: - call(['virtualenv', venv_dir, '--no-site-packages']) + ...
added support for debian virtualenv issue described in issue #5
py
diff --git a/config/src/main/config/home/lib/jython/alertlib/CSVAlertHandler.py b/config/src/main/config/home/lib/jython/alertlib/CSVAlertHandler.py index <HASH>..<HASH> 100644 --- a/config/src/main/config/home/lib/jython/alertlib/CSVAlertHandler.py +++ b/config/src/main/config/home/lib/jython/alertlib/CSVAlertHandler....
Started script handler work Doesn't do anything at present
py
diff --git a/orator/__init__.py b/orator/__init__.py index <HASH>..<HASH> 100644 --- a/orator/__init__.py +++ b/orator/__init__.py @@ -4,3 +4,4 @@ from .orm import Model, SoftDeletes, Collection from .database_manager import DatabaseManager from .query.expression import QueryExpression from .schema import Schema +fr...
Makes Paginator and LengthAwarePaginator available at root
py
diff --git a/andes/routines/tds.py b/andes/routines/tds.py index <HASH>..<HASH> 100644 --- a/andes/routines/tds.py +++ b/andes/routines/tds.py @@ -252,7 +252,7 @@ class TDS(BaseRoutine): resume = True self._calc_h_first() - self.pbar = tqdm(total=100, ncols=70, unit='%', file=sys.stdo...
Let pbar output to stderr by default.
py
diff --git a/fontbakery-check-ttf.py b/fontbakery-check-ttf.py index <HASH>..<HASH> 100755 --- a/fontbakery-check-ttf.py +++ b/fontbakery-check-ttf.py @@ -200,9 +200,7 @@ PLACEHOLDER_LICENSING_TEXT = { 'OFL.txt': 'This Font Software is licensed under the SIL Open Font License' ', Version 1.1. This ...
fix Apache licensing text string that we expect to see at the font files name table There are roughtly 3 hundred fonts at Google Fonts git repo using this wording, so that'll be our normative reference. (fixes issue #<I>)
py
diff --git a/src/cobra/test/test_core/test_core_reaction.py b/src/cobra/test/test_core/test_core_reaction.py index <HASH>..<HASH> 100644 --- a/src/cobra/test/test_core/test_core_reaction.py +++ b/src/cobra/test/test_core/test_core_reaction.py @@ -43,7 +43,7 @@ def test_gpr() -> None: assert reaction_gene is model_...
applied code review suggestions to test_core_reaction.py
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,6 +4,7 @@ appnexus-client import os import subprocess +import sys from setuptools import find_packages, setup
Fix missing import in setup.py
py
diff --git a/web/opensubmit/views.py b/web/opensubmit/views.py index <HASH>..<HASH> 100644 --- a/web/opensubmit/views.py +++ b/web/opensubmit/views.py @@ -221,11 +221,11 @@ def perftable(request, ass_id): response = HttpResponse(content_type='text/csv') response['Content-Disposition'] = 'attachment; filename=...
fixed #<I>. (author names in evaluation-csv )
py
diff --git a/openpnm/io/Paraview/__paraview__.py b/openpnm/io/Paraview/__paraview__.py index <HASH>..<HASH> 100644 --- a/openpnm/io/Paraview/__paraview__.py +++ b/openpnm/io/Paraview/__paraview__.py @@ -7,7 +7,7 @@ from flatdict import FlatDict def export_data(network, filename): r""" - Converts an array to ...
Force Actions to re-run
py
diff --git a/test/unit/test_procfile.py b/test/unit/test_procfile.py index <HASH>..<HASH> 100644 --- a/test/unit/test_procfile.py +++ b/test/unit/test_procfile.py @@ -53,7 +53,7 @@ def test_procfiles(): for content, commands in FIXTURES: content = textwrap.dedent(content) procfile = Procfile(cont...
test: Treat each procfile parse test separately
py
diff --git a/python/ray/workflow/tests/test_recovery.py b/python/ray/workflow/tests/test_recovery.py index <HASH>..<HASH> 100644 --- a/python/ray/workflow/tests/test_recovery.py +++ b/python/ray/workflow/tests/test_recovery.py @@ -355,6 +355,13 @@ def test_resume_different_storage(shutdown_only, tmp_path): assert ...
[Workflow] Make sure no side effects during workflow resuming (#<I>)
py
diff --git a/python/jsbeautifier/unpackers/packer.py b/python/jsbeautifier/unpackers/packer.py index <HASH>..<HASH> 100644 --- a/python/jsbeautifier/unpackers/packer.py +++ b/python/jsbeautifier/unpackers/packer.py @@ -19,8 +19,7 @@ PRIORITY = 1 def detect(source): """Detects whether `source` is P.A.C.K.E.R. co...
Removed regex based recognition. Bit faster.
py
diff --git a/pymatgen/io/vasp/sets.py b/pymatgen/io/vasp/sets.py index <HASH>..<HASH> 100644 --- a/pymatgen/io/vasp/sets.py +++ b/pymatgen/io/vasp/sets.py @@ -691,8 +691,9 @@ class MPHSEBSSet(MPHSERelaxSet): sym_prec=0) added_kpoints = [] - bs = va...
better scoped line for getting band structure
py
diff --git a/copydoc.py b/copydoc.py index <HASH>..<HASH> 100644 --- a/copydoc.py +++ b/copydoc.py @@ -188,9 +188,9 @@ class CopyDoc: return value def __unicode__(self): - return '\n'.join([unicode(tag.prettify(formatter=None)) - for tag in self.soup.body.children]) +...
don't join on line break, just empty string
py
diff --git a/nion/swift/test/HardwareSource_test.py b/nion/swift/test/HardwareSource_test.py index <HASH>..<HASH> 100644 --- a/nion/swift/test/HardwareSource_test.py +++ b/nion/swift/test/HardwareSource_test.py @@ -423,10 +423,8 @@ def _test_exception_during_record_halts_playback(testcase, hardware_source, expo ha...
Attempt to make test exception during record test more robust.
py
diff --git a/phoebe/frontend/io.py b/phoebe/frontend/io.py index <HASH>..<HASH> 100644 --- a/phoebe/frontend/io.py +++ b/phoebe/frontend/io.py @@ -388,7 +388,9 @@ def load_legacy(filename, add_compute_legacy=True, add_compute_phoebe=True): # load the phoebe file - params = np.loadtxt(filename, dtype='str', deli...
fixed bug in legacy loading changed legacy loading so that the files will load even with extraneous spaces
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ README_FILE = os.path.join(os.path.dirname(__file__), 'README.rst') setup( name='tomako', - version='dev', + version='0.1.0', description='Tomako is the easiest way to use Mako as a template eng...
Change version from dev to <I>
py
diff --git a/smartfields/models/fields/__init__.py b/smartfields/models/fields/__init__.py index <HASH>..<HASH> 100644 --- a/smartfields/models/fields/__init__.py +++ b/smartfields/models/fields/__init__.py @@ -51,14 +51,17 @@ class SlugField(Field, models.SlugField): def generate_slug(instance, field, value): ...
made sure slug is cropped when generated
py
diff --git a/backtrader/analyzers/timereturn.py b/backtrader/analyzers/timereturn.py index <HASH>..<HASH> 100644 --- a/backtrader/analyzers/timereturn.py +++ b/backtrader/analyzers/timereturn.py @@ -95,7 +95,7 @@ class TimeReturn(Analyzer): dtkey = dt.year * 10000 + dt.month * 100 + dt.day dtc...
Fallthrough to getsubday_cmpkey for anything below day timeframe
py
diff --git a/salt/cloud/clouds/softlayer.py b/salt/cloud/clouds/softlayer.py index <HASH>..<HASH> 100644 --- a/salt/cloud/clouds/softlayer.py +++ b/salt/cloud/clouds/softlayer.py @@ -240,6 +240,11 @@ def create(vm_): vm_['profile']) is False: return False + # Since usi...
Don't stacktrace when provisioning instances on softlayer
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -123,8 +123,8 @@ def run_setup(with_compilation): ], install_requires=[ - "scipy >= 0.13.0", - "numpy >= 1.7.0", + "scipy >= 0.9.0", + "numpy >= 1.6.1...
Fixed over-optimistic dependency declarations that cause the Travis CI build to crash.
py
diff --git a/tests.py b/tests.py index <HASH>..<HASH> 100644 --- a/tests.py +++ b/tests.py @@ -3,6 +3,8 @@ import os from NebulaPythonSDK.sdk import Nebula +# the following unit tests require a working nebula manager to test against and having the envvars in the +# nebula_connection function declared if not using ...
adding unit test comment about what is needed
py
diff --git a/src/jukeboxmaya/gui/main.py b/src/jukeboxmaya/gui/main.py index <HASH>..<HASH> 100644 --- a/src/jukeboxmaya/gui/main.py +++ b/src/jukeboxmaya/gui/main.py @@ -2,6 +2,7 @@ import maya.OpenMayaUI as apiUI from jukeboxcore.gui.main import wrap + def wrap_maya_ui(mayaname): """ Given the name of a...
fixed some pep uncomformities
py
diff --git a/ella/newman/middleware.py b/ella/newman/middleware.py index <HASH>..<HASH> 100644 --- a/ella/newman/middleware.py +++ b/ella/newman/middleware.py @@ -53,10 +53,10 @@ class ProfilerMiddleware(object): import logging log = logging.getLogger('ella.newman') if PROFILER.has_data: - ...
profiler logging level changed to INFO
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -35,7 +35,7 @@ setup( ] }, classifiers=[ - 'Development Status :: 2 - Pre-Alpha', + 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approv...
Change dev status to beta, not pre-alpha There's no RC classifier, so beta looks like the closest one we can use.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -31,7 +31,6 @@ setup(name='django-soapbox', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', - ...
And remove Python <I> in another place.
py
diff --git a/core/tests/unit/test_client.py b/core/tests/unit/test_client.py index <HASH>..<HASH> 100644 --- a/core/tests/unit/test_client.py +++ b/core/tests/unit/test_client.py @@ -53,7 +53,7 @@ class TestClient(unittest.TestCase): CREDENTIALS = _make_credentials() HTTP = object() - client_...
Fixing usage of http= vs. _http= in core unit test. (#<I>) Issue caused by two unrelated PRs merging in close proximity: #<I> and #<I>.
py
diff --git a/postcodepy/postcodepy.py b/postcodepy/postcodepy.py index <HASH>..<HASH> 100644 --- a/postcodepy/postcodepy.py +++ b/postcodepy/postcodepy.py @@ -182,6 +182,7 @@ class PostcodeError(Exception): 'PostcodeNl_Controller_Address_InvalidHouseNumberException', 'PostcodeNl_Controller_Add...
PostcodeNl_Controller_Address_PostcodeTooLongException registered
py
diff --git a/coilmq/frame.py b/coilmq/frame.py index <HASH>..<HASH> 100644 --- a/coilmq/frame.py +++ b/coilmq/frame.py @@ -45,7 +45,7 @@ class StompFrame(stomper.Frame): frame.headers['message-id'] == frame.message_id - >>> f = StompFrame(cmd='MESSAGE', headers={'message-...
Fixing magic header resolution to allow for '_' in headers.
py
diff --git a/hgtools/managers.py b/hgtools/managers.py index <HASH>..<HASH> 100755 --- a/hgtools/managers.py +++ b/hgtools/managers.py @@ -176,8 +176,10 @@ class SubprocessManager(HGRepoManager): # Note that id might end with '+', indicating local modifications, # but it will fail to match any tag. all_tags ...
A less-than-ideal workaround for tag ordering
py
diff --git a/molecule/commands.py b/molecule/commands.py index <HASH>..<HASH> 100644 --- a/molecule/commands.py +++ b/molecule/commands.py @@ -377,7 +377,10 @@ class Verify(AbstractCommand): return None, None self.molecule._write_ssh_config() - kwargs = {'env': self.molecule._env} + ...
Consistent env vars for testinfra's Ansible calls * Leverage the same mechanism we use to set env vars for ansible-playbook for testinfra as well * Fixes #<I>
py
diff --git a/python/src/mapreduce/mapper_pipeline.py b/python/src/mapreduce/mapper_pipeline.py index <HASH>..<HASH> 100644 --- a/python/src/mapreduce/mapper_pipeline.py +++ b/python/src/mapreduce/mapper_pipeline.py @@ -42,6 +42,7 @@ class MapperPipeline(pipeline_base._OutputSlotsMixin, output_writer_spec: output w...
Update mapper_pipeline.py Add a comment for base_path
py
diff --git a/src/microcontroller/pin.py b/src/microcontroller/pin.py index <HASH>..<HASH> 100755 --- a/src/microcontroller/pin.py +++ b/src/microcontroller/pin.py @@ -80,7 +80,7 @@ elif chip_id == ap_chip.STM32MP157: from adafruit_blinka.microcontroller.stm32.stm32mp157.pin import * elif chip_id == ap_chip.MT8167...
Change the RP<I> U2IF chip constant to chips.RP<I>_U2IF
py
diff --git a/tests/unit/summary/test_NextKeyComposer.py b/tests/unit/summary/test_NextKeyComposer.py index <HASH>..<HASH> 100644 --- a/tests/unit/summary/test_NextKeyComposer.py +++ b/tests/unit/summary/test_NextKeyComposer.py @@ -28,6 +28,11 @@ class MockBinningSameNext(object): ##____________________________________...
update TestNextKeyComposer, making coverage <I>%
py
diff --git a/haas/tests/test_testing.py b/haas/tests/test_testing.py index <HASH>..<HASH> 100644 --- a/haas/tests/test_testing.py +++ b/haas/tests/test_testing.py @@ -1,20 +1,37 @@ # Copyright 2013-2014 Simon Jagoe -from ..testing import unittest, expected_failure +from ..testing import ( + _ExpectedFailure, + _...
Fixed expected_failure context manager tests
py
diff --git a/mwapi/about.py b/mwapi/about.py index <HASH>..<HASH> 100644 --- a/mwapi/about.py +++ b/mwapi/about.py @@ -1,5 +1,5 @@ __name__ = "mwapi" -__version__ = "0.5.1" +__version__ = "0.6.0" __author__ = "Aaron Halfaker" __author_email__ = "aaron.halfaker@gmail.com" __description__ = "Simple wrapper for the Me...
Increments version to <I>
py
diff --git a/exa/_config.py b/exa/_config.py index <HASH>..<HASH> 100644 --- a/exa/_config.py +++ b/exa/_config.py @@ -24,6 +24,10 @@ db: js: - update: If 1, update JavaScript notebook extensions + +Warning: + The configuration file (~/.exa/config) should only be altered when no exa + notebooks are ...
Added warning about editing the config
py
diff --git a/boskos/janitor/gcp_janitor.py b/boskos/janitor/gcp_janitor.py index <HASH>..<HASH> 100755 --- a/boskos/janitor/gcp_janitor.py +++ b/boskos/janitor/gcp_janitor.py @@ -65,7 +65,8 @@ DEMOLISH_ORDER = [ def log(message): """ print a message if --verbose is set. """ if ARGS.verbose: - print me...
Janitor log includes timestamp with verbose mode
py
diff --git a/src/masonite/commands/Entry.py b/src/masonite/commands/Entry.py index <HASH>..<HASH> 100644 --- a/src/masonite/commands/Entry.py +++ b/src/masonite/commands/Entry.py @@ -6,14 +6,15 @@ successfully import commands for you. """ from cleo import Application + +from .. import __version__ from .ProjectComm...
fix: display real version in Masonite starter commands help
py
diff --git a/tests/test_rtp.py b/tests/test_rtp.py index <HASH>..<HASH> 100644 --- a/tests/test_rtp.py +++ b/tests/test_rtp.py @@ -74,7 +74,7 @@ class RtcpPacketTest(TestCase): self.assertEqual(packet.reports[0].jitter, 127) self.assertEqual(packet.reports[0].lsr, 0) self.assertEqual(packet.r...
[tests] simplify a test
py
diff --git a/tests/unit/test_ls.py b/tests/unit/test_ls.py index <HASH>..<HASH> 100644 --- a/tests/unit/test_ls.py +++ b/tests/unit/test_ls.py @@ -38,6 +38,7 @@ class LsTests(CliTestCase): """ Confirms -F json works with the RecursiveLsResponse """ - output = self.run_line("globus ls -...
Fix concurrency bug in ls tests
py
diff --git a/src/inscriptis/__init__.py b/src/inscriptis/__init__.py index <HASH>..<HASH> 100644 --- a/src/inscriptis/__init__.py +++ b/src/inscriptis/__init__.py @@ -23,7 +23,7 @@ __author__ = 'Albert Weichselbraun, Fabian Odoni' __author_email__ = 'albert.weichselbraun@fhgr.ch, fabian.odoni@fhgr.ch' __copyright__ =...
chg: pump version number to <I>
py
diff --git a/openquake/calculators/event_based_risk.py b/openquake/calculators/event_based_risk.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/event_based_risk.py +++ b/openquake/calculators/event_based_risk.py @@ -392,8 +392,9 @@ class EbriskCalculator(base.RiskCalculator): if len(aids) ==...
Optimized saving avg_losses [skip hazardlib]
py
diff --git a/meshio/gmsh/common.py b/meshio/gmsh/common.py index <HASH>..<HASH> 100644 --- a/meshio/gmsh/common.py +++ b/meshio/gmsh/common.py @@ -18,7 +18,7 @@ def _fast_forward_to_end_block(f, block): line = line.decode("utf-8") except UnicodeDecodeError: pass - if line == f"...
fix for gmsh's fast forward
py
diff --git a/angr/knowledge/function.py b/angr/knowledge/function.py index <HASH>..<HASH> 100644 --- a/angr/knowledge/function.py +++ b/angr/knowledge/function.py @@ -606,6 +606,10 @@ class Function(object): smallest_node = all_nodes[0] other_nodes = all_nodes[1:] + is_outside_nod...
Make sure Function.normalize() does not bring outside nodes to inside
py
diff --git a/zarr/tests/test_core.py b/zarr/tests/test_core.py index <HASH>..<HASH> 100644 --- a/zarr/tests/test_core.py +++ b/zarr/tests/test_core.py @@ -578,7 +578,7 @@ class TestArray(unittest.TestCase): if hasattr(z.store, 'close'): z.store.close() - self.expected() == found + ...
TST: add missing assert in test_hexdigest (#<I>)
py
diff --git a/py3status/modules/whatismyip.py b/py3status/modules/whatismyip.py index <HASH>..<HASH> 100644 --- a/py3status/modules/whatismyip.py +++ b/py3status/modules/whatismyip.py @@ -57,7 +57,7 @@ class Py3status: def _get_my_ip(self): """ """ - country = None + country = "" ...
fixed whatismyip.py country=None -> country=''
py
diff --git a/tests/iacli/test_ia_metadata.py b/tests/iacli/test_ia_metadata.py index <HASH>..<HASH> 100644 --- a/tests/iacli/test_ia_metadata.py +++ b/tests/iacli/test_ia_metadata.py @@ -25,9 +25,9 @@ def test_ia_metadata_formats(): proc = Popen(cmd, shell=True, stdout=PIPE, stderr=PIPE) stdout, stderr = proc...
stupid update to trigger travis with fresh tests...
py
diff --git a/grs/fetch_data.py b/grs/fetch_data.py index <HASH>..<HASH> 100644 --- a/grs/fetch_data.py +++ b/grs/fetch_data.py @@ -33,6 +33,7 @@ from dateutil.relativedelta import relativedelta class StockNoError(Exception): pass + class FetchData(object): ''' FetchData ''' def __init__(self): @@ -42...
Add exception in fetch_data docs.
py
diff --git a/devtools/conda-recipe/run_test.py b/devtools/conda-recipe/run_test.py index <HASH>..<HASH> 100644 --- a/devtools/conda-recipe/run_test.py +++ b/devtools/conda-recipe/run_test.py @@ -10,6 +10,7 @@ cover_pkg = test_pkg junit_xml = os.path.join(os.getenv('CIRCLE_TEST_REPORTS', '.'), 'junit.xml') if os.get...
Debug Error in CI.
py
diff --git a/ws4redis/websocket.py b/ws4redis/websocket.py index <HASH>..<HASH> 100644 --- a/ws4redis/websocket.py +++ b/ws4redis/websocket.py @@ -1,7 +1,6 @@ # -*- coding: utf-8 -*- # This code was generously pilfered from https://bitbucket.org/Jeffrey/gevent-websocket # written by Jeffrey Gelens (http://noppo.pro/...
reverted to make websocket file unicode safe
py
diff --git a/pywb/wbapp.py b/pywb/wbapp.py index <HASH>..<HASH> 100644 --- a/pywb/wbapp.py +++ b/pywb/wbapp.py @@ -124,8 +124,11 @@ if __name__ == "__main__": #================================================================= -import globalwb -application = create_wb_app(globalwb.create_global_wb(default_head_inse...
use sample settings if driver file not found
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 @@ -40,6 +40,7 @@ import logging import re import sys import shlex +import os # Import salt libs import salt.utils
Add missing import of `os`
py
diff --git a/getmac/getmac.py b/getmac/getmac.py index <HASH>..<HASH> 100644 --- a/getmac/getmac.py +++ b/getmac/getmac.py @@ -74,9 +74,8 @@ def get_mac_address(interface=None, ip=None, ip6=None, # If network request fails, warn and continue onward except Exception: if DEBUG: + ...
Remove warning if ping command fails (Just use --debug if there's an issue)
py
diff --git a/kdcount/correlate.py b/kdcount/correlate.py index <HASH>..<HASH> 100644 --- a/kdcount/correlate.py +++ b/kdcount/correlate.py @@ -498,10 +498,11 @@ class FlatSkyMultipoleBinning(Binning): d_par = (r1-r2)[:,self.los] # enforce periodic boundary conditions - L = data1.boxsi...
periodic boundary conditions only if we have a box size
py
diff --git a/zappa/cli.py b/zappa/cli.py index <HASH>..<HASH> 100644 --- a/zappa/cli.py +++ b/zappa/cli.py @@ -1548,7 +1548,9 @@ class ZappaCLI(object): self.lambda_name, handler_file=handler_file, use_precompiled_packages=self.stage_config.get('use_precompiled_package...
get rid of duplicates and extraneous that are already present in python lambda environment
py
diff --git a/src/canari/resource.py b/src/canari/resource.py index <HASH>..<HASH> 100644 --- a/src/canari/resource.py +++ b/src/canari/resource.py @@ -17,7 +17,7 @@ __all__ = [ 'image_resource', 'icon_resource', 'image_resources', - 'conf' + 'global_config' ] @@ -89,4 +89,4 @@ def image_resour...
Changed global variable ``conf`` to ``global_config``
py
diff --git a/torf/_utils.py b/torf/_utils.py index <HASH>..<HASH> 100644 --- a/torf/_utils.py +++ b/torf/_utils.py @@ -255,14 +255,28 @@ class MonitoredList(collections.abc.MutableSequence): return repr(self._items) +class Filepath(type(pathlib.Path())): + """ + :class:`pathlib.Path` subclass that ma...
utils.Filepaths: Make relative paths equal to their absolute versions
py
diff --git a/atomic_reactor/plugins/pre_koji_delegate.py b/atomic_reactor/plugins/pre_koji_delegate.py index <HASH>..<HASH> 100644 --- a/atomic_reactor/plugins/pre_koji_delegate.py +++ b/atomic_reactor/plugins/pre_koji_delegate.py @@ -121,6 +121,9 @@ class KojiDelegatePlugin(PreBuildPlugin): self.osbs = get_...
clean exit plugins, if autorebuild will be canceled for isolated parent * CLOUDBLD-<I>
py
diff --git a/simple_history/models.py b/simple_history/models.py index <HASH>..<HASH> 100644 --- a/simple_history/models.py +++ b/simple_history/models.py @@ -104,6 +104,7 @@ class HistoricalRecords(object): fields = {} for field in model._meta.fields: field = copy.copy(field) + ...
Fix broken reverse relationship on models with history We found that adding history to a model with a foreign key resulted in the reverse relationship disappearing (ie modelname_set no longer existed). The fix is to make a deeper copy of the field, so that when: field.rel.related_name = '+' is run, this only ch...
py
diff --git a/nlpipe/tasks.py b/nlpipe/tasks.py index <HASH>..<HASH> 100644 --- a/nlpipe/tasks.py +++ b/nlpipe/tasks.py @@ -7,7 +7,7 @@ from .celery import app def morphosyntactic(text): cmd = "$NEWSREADER_HOME/run_parser.sh" p2 = Popen(cmd, stdin=PIPE, stdout=PIPE, shell=True) - (out, err) = p2.communicat...
Send text as utf-8
py
diff --git a/spadespipeline/reporter.py b/spadespipeline/reporter.py index <HASH>..<HASH> 100755 --- a/spadespipeline/reporter.py +++ b/spadespipeline/reporter.py @@ -275,7 +275,7 @@ class Reporter(object): row += ','.join([key for key, value in data.items()]) row += '\n' row ...
Updated legacy metadata sheet to have empty cells rather than NA or - values
py
diff --git a/sacred/config/signature.py b/sacred/config/signature.py index <HASH>..<HASH> 100644 --- a/sacred/config/signature.py +++ b/sacred/config/signature.py @@ -48,7 +48,6 @@ class Signature(object): * conflicting values for a parameter in both args and kwargs * there is an unfilled para...
fixed tiny flake8 error D<I> No blank lines allowed after function docstring (found 1)
py
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py index <HASH>..<HASH> 100644 --- a/cmd2/cmd2.py +++ b/cmd2/cmd2.py @@ -458,7 +458,8 @@ class Cmd(cmd.Cmd): except Exception: for attrib in installed_attributes: delattr(self, attrib) - self._installed_command_sets.remove(cmdset) +...
Fixed issue where we attempted to remove CommandSet from a list it was not in
py
diff --git a/pysc2/run_configs/platforms.py b/pysc2/run_configs/platforms.py index <HASH>..<HASH> 100644 --- a/pysc2/run_configs/platforms.py +++ b/pysc2/run_configs/platforms.py @@ -40,6 +40,7 @@ VERSIONS = {ver.game_version: ver for ver in [ lib.Version("4.0.2", 59587, "B43D9EE00A363DAFAD46914E3E4AF362", None), ...
Add support for the <I> patch. PiperOrigin-RevId: <I>
py
diff --git a/polyaxon/scheduler/spawners/templates/resource_manager.py b/polyaxon/scheduler/spawners/templates/resource_manager.py index <HASH>..<HASH> 100644 --- a/polyaxon/scheduler/spawners/templates/resource_manager.py +++ b/polyaxon/scheduler/spawners/templates/resource_manager.py @@ -340,7 +340,13 @@ class BaseRe...
Add missing TPU annotations for deployments. fixes #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -48,6 +48,7 @@ setup( }, install_requires=list(filter(None, [ 'argparse==1.2.1' if sys.version_info[:2] < (2, 7) else None, + 'virtualenv>=1.10', ])), py_modules=[ 'bootstrapper'
Add virtualenv to library requirements.
py
diff --git a/salt/states/user.py b/salt/states/user.py index <HASH>..<HASH> 100644 --- a/salt/states/user.py +++ b/salt/states/user.py @@ -459,6 +459,11 @@ def present(name, if gid_from_name: gid = __salt__['file.group_to_gid'](name) + if not gid: + ret['comment'] = 'Default group with...
Return error when gid_from_name and group does not exist. Fixes #<I>
py
diff --git a/gns3server/controller/compute.py b/gns3server/controller/compute.py index <HASH>..<HASH> 100644 --- a/gns3server/controller/compute.py +++ b/gns3server/controller/compute.py @@ -580,8 +580,10 @@ class Compute: Forward a call to the emulator on compute """ try: - res = ...
Improve logging for remote server connection lost Ref <URL>
py
diff --git a/pymyq/device.py b/pymyq/device.py index <HASH>..<HASH> 100644 --- a/pymyq/device.py +++ b/pymyq/device.py @@ -70,7 +70,7 @@ class MyQDevice: @property def online(self) -> bool: """Return whether the device is online.""" - return self.device_json.get("online") is True + retu...
Fix value of "online" property (#<I>) "online" is part of the "state" property, not a top-level property
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -48,7 +48,7 @@ setup( author='Springload', author_email='hello@springload.co.nz', url='https://github.com/springload/draftjs_exporter', - packages=find_packages(), + packages=find_packages(exclude=['tests*...
Exclude tests directory when looking for packages (#<I>) Fixes local builds made with `python setup.py build`
py
diff --git a/satpy/readers/abi_l1b.py b/satpy/readers/abi_l1b.py index <HASH>..<HASH> 100644 --- a/satpy/readers/abi_l1b.py +++ b/satpy/readers/abi_l1b.py @@ -131,6 +131,7 @@ class NC_ABI_L1B(BaseFileHandler): res.attrs.pop('_FillValue', None) res.attrs.pop('scale_factor', None) res.attrs.pop...
Remove ancillary_variables metadata from ABI L1B reader
py
diff --git a/beprof/curve.py b/beprof/curve.py index <HASH>..<HASH> 100644 --- a/beprof/curve.py +++ b/beprof/curve.py @@ -54,11 +54,6 @@ class Curve(np.ndarray): if obj is None: # what generally means the object was created using explicit constructor return self.metadata = getattr(obj, '...
Corrected doubled lines I have no idea what happened
py