diff options
author | Jim Mussared <jim.mussared@gmail.com> | 2023-10-21 17:40:27 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2023-11-03 13:30:41 +1100 |
commit | bbd8760bd9a2302e5abee29db279102bb11d7732 (patch) | |
tree | 71fe5bb52b871add11343c8ccc298a56dbf24ea3 /docs/readthedocs/settings/local_settings.py | |
parent | 303ccca7c62bd48b9f6a519549caf0d0f3d2624e (diff) |
all: Update Python formatting to ruff-format.
This updates a small number of files that change with ruff-format's (vs
black's) rules.
This work was funded through GitHub Sponsors.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Diffstat (limited to 'docs/readthedocs/settings/local_settings.py')
-rw-r--r-- | docs/readthedocs/settings/local_settings.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/readthedocs/settings/local_settings.py b/docs/readthedocs/settings/local_settings.py index 8d2bac7a7..c6145dcc5 100644 --- a/docs/readthedocs/settings/local_settings.py +++ b/docs/readthedocs/settings/local_settings.py @@ -1,9 +1,10 @@ import os # Directory that the project lives in, aka ../.. -SITE_ROOT = '/'.join(os.path.dirname(__file__).split('/')[0:-2]) +SITE_ROOT = "/".join(os.path.dirname(__file__).split("/")[0:-2]) TEMPLATE_DIRS = ( - "%s/templates/" % SITE_ROOT, # Your custom template directory, before the RTD one to override it. - "%s/readthedocs/templates/" % SITE_ROOT, # Default RTD template dir + "%s/templates/" + % SITE_ROOT, # Your custom template directory, before the RTD one to override it. + "%s/readthedocs/templates/" % SITE_ROOT, # Default RTD template dir ) |