• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

uwefladrich / scriptengine / 11461460629

22 Oct 2024 01:39PM UTC coverage: 91.843%. Remained the same
11461460629

push

github

web-flow
Make code compliant with isort+black+ruff (#120)

* Run isort+black over sources and tests

* Change some type checking (ruff recommends)

* Use redundant import alias to avoid unused import warninge (ruff)

* Remove accidently added file

* Update CHANGES

22 of 23 new or added lines in 13 files covered. (95.65%)

1948 of 2121 relevant lines covered (91.84%)

0.92 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

58.33
/src/scriptengine/tasks/base/chdir.py
1
"""Chdir task for ScriptEngine."""
2

3
import os
1✔
4

5
from scriptengine.tasks.core import Task, timed_runner
1✔
6

7

8
class Chdir(Task):
1✔
9
    """Chdir task, changes the current working directory"""
10

11
    _required_arguments = ("path",)
1✔
12

13
    def __init__(self, arguments):
1✔
14
        Chdir.check_arguments(arguments)
×
15
        super().__init__(arguments)
×
16

17
    @timed_runner
1✔
18
    def run(self, context):
1✔
NEW
19
        path = self.getarg("path", context)
×
20
        self.log_info(f"Change path to {path}")
×
21
        os.chdir(path)
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc