Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ repos:
name: isort (python)
args: ["--profile", "black", "--line-length", "79"]
- repo: https://github.com/psf/black
rev: 22.3.0
rev: 26.10.1
hooks:
- id: black
args: [--line-length=79]
Expand Down
1 change: 0 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ build:

conda:
environment: environment.yml

1 change: 1 addition & 0 deletions doc/source/scripts/gen_standard_selections.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- nucleobase atoms
- nucleic sugar atoms
"""

from typing import Any

from base import TableWriter
Expand Down
1 change: 1 addition & 0 deletions doc/source/scripts/gen_topologyparser_attrs.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

This script imports the testsuite, which tests these.
"""

from collections import defaultdict
from typing import Any

Expand Down
1 change: 1 addition & 0 deletions doc/source/scripts/gen_unit_tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"""
Writes unit tables
"""

import pathlib
import sys
import textwrap
Expand Down
6 changes: 2 additions & 4 deletions maintainer/update_json_stubs_sitemap.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,13 @@ def write_redirect(file, version="", outfile=None):
if outfile is None:
outfile = file
url = os.path.join(URL, version, file)
REDIRECT = textwrap.dedent(
f"""
REDIRECT = textwrap.dedent(f"""
<!DOCTYPE html>
<meta charset="utf-8">
<title>Redirecting to {url}</title>
<meta http-equiv="refresh" content="0; URL={url}">
<link rel="canonical" href="{url}">
"""
)
""")
with open(outfile, "w") as f:
f.write(REDIRECT)
print(f"Wrote redirect from {url} to {outfile}")
Expand Down
Loading