Skip to content

new dirwalk module and dockerfile updates #6

new dirwalk module and dockerfile updates

new dirwalk module and dockerfile updates #6

Triggered via push October 27, 2023 01:07
Status Success
Total duration 26s
Artifacts

pylint.yml

on: push
Run linters
14s
Run linters
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
/home/runner/work/FFM/FFM/commands/replacement_commands.py#L512
shell_exec("python3 %s %s" % (self.work_file, self.path), print_output=True) # get rid of our artifact shell_exec("rm %s" % (self.work_file)) - class DirWalk(Command): def __init__(self, *args, **kwargs): self.path = None if len(args) == 2: - self.path = args[1] + self.path = args[1] else: raise RuntimeError( "Received %d argument(s), expected 2. !dirwalk <path>" % len(args) )
/home/runner/work/FFM/FFM/commands/replacement_commands.py#L544
@staticmethod def usage(): return "Usage: !dirwalk [directory-to-start-at]" def execute(self): - shell_exec("ls -R {} 2>/dev/null | grep \":$\" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/'".format(self.path), print_output=True) - + shell_exec( + "ls -R {} 2>/dev/null | grep \":$\" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/'".format( + self.path + ), + print_output=True, + ) register_plugin(GetOS) register_plugin(PtySpawn) register_plugin(Debug)
Run linters
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-python@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/