Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mlin committed Feb 4, 2024
1 parent 303daf1 commit 19cb849
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion plugin_log_task_usage/StressTest.wdl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version 1.1
# MINIWDL__LOG_TASK_USAGE__PERIOD=2 miniwdl run examples/plugin_log_task_usage/StressTest.wdl --dir /tmp --verbose
# MINIWDL__LOG_TASK_USAGE__PERIOD=2 miniwdl-aws-submit plugin_log_task_usage/StressTest.wdl --verbose --follow
task StressTest {
input {
Expand Down
2 changes: 0 additions & 2 deletions plugin_log_task_usage/miniwdl_log_task_usage.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
pseudo-files under /sys/fs/cgroup
"""

import WDL


def main(cfg, logger, run_id, run_dir, task, **recv):
# do nothing with inputs
Expand Down
16 changes: 8 additions & 8 deletions plugin_log_task_usage/setup.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
from setuptools import setup

setup(
name='miniwdl_log_task_usage',
version='0.0.1',
description='miniwdl task plugin to log container cpu+mem usage',
author='Wid L. Hacker',
name="miniwdl_log_task_usage",
version="0.0.1",
description="miniwdl task plugin to log container cpu+mem usage",
author="Wid L. Hacker",
py_modules=["miniwdl_log_task_usage"],
python_requires='>=3.6',
setup_requires=['reentry'],
python_requires=">=3.6",
setup_requires=["reentry"],
reentry_register=True,
entry_points={
'miniwdl.plugin.task': ['log_task_usage = miniwdl_log_task_usage:main'],
}
"miniwdl.plugin.task": ["log_task_usage = miniwdl_log_task_usage:main"],
},
)

0 comments on commit 19cb849

Please sign in to comment.