mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-19 02:04:05 +02:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
f5877076ce
commit
42c27162de
2 changed files with 9 additions and 8 deletions
|
|
@ -9,10 +9,6 @@ from __future__ import annotations
|
|||
|
||||
import re
|
||||
from pathlib import Path
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
if TYPE_CHECKING:
|
||||
pass
|
||||
|
||||
# Path to README relative to this module
|
||||
_MODULE_DIR = Path(__file__).parent
|
||||
|
|
@ -36,6 +32,7 @@ def readme_section(section_name: str, *, strip_heading: bool = False) -> str:
|
|||
|
||||
Raises:
|
||||
ValueError: If the section is not found in README.md
|
||||
|
||||
"""
|
||||
content = README_PATH.read_text()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue