diff options
author | Martin Fischer <martin@push-f.com> | 2022-02-27 06:33:49 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2022-02-27 06:33:49 +0100 |
commit | 7f9f409b9a92810ffacd6a8ca11d93b4715b5b90 (patch) | |
tree | 5dd7b26afe426c00633e09ad9720dc0d08ffd980 /check_checkers.py | |
parent | 4c99d2e01504eb1f054bf50dcf33e716814a07a4 (diff) |
format check_checkers.py with black
Diffstat (limited to 'check_checkers.py')
-rwxr-xr-x | check_checkers.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/check_checkers.py b/check_checkers.py index fd4472e..e46bb12 100755 --- a/check_checkers.py +++ b/check_checkers.py @@ -235,7 +235,11 @@ def run( 'checker_results': checker_results, } - anchor = html.escape(puzzle.rsplit('/', maxsplit=1)[1]).replace('.py', '').replace('_', '-') + anchor = ( + html.escape(puzzle.rsplit('/', maxsplit=1)[1]) + .replace('.py', '') + .replace('_', '-') + ) out.write('<tr><td id="{0}"><a href="#{0}">{0}</a>'.format(anchor)) with open(puzzle) as f: code = f.read() |