aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar sco1 <[email protected]>2019-09-23 17:31:30 -0400
committerGravatar sco1 <[email protected]>2019-09-23 17:31:30 -0400
commit00e1b0d9736df27d6e0a41c4c90d97f608d3aba1 (patch)
treeaafc97850f077d98ddb0e00502e431915293a6f0
parentAdd flake8-annotations & relint (diff)
Fix multiline function definition
Co-Authored-By: Mark <[email protected]>
-rw-r--r--snekbox/nsjail.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/snekbox/nsjail.py b/snekbox/nsjail.py
index e3eac0c..d3c893d 100644
--- a/snekbox/nsjail.py
+++ b/snekbox/nsjail.py
@@ -55,7 +55,8 @@ class NsJail:
@staticmethod
def _create_parent_cgroups(
- pids: Path = CGROUP_PIDS_PARENT, mem: Path = CGROUP_MEMORY_PARENT
+ pids: Path = CGROUP_PIDS_PARENT,
+ mem: Path = CGROUP_MEMORY_PARENT
) -> None:
"""
Create the PIDs and memory cgroups which NsJail will use as its parent cgroups.