Fix CI
parent
45782010d5
commit
b16cf7a719
|
@ -18,4 +18,4 @@ jobs:
|
||||||
- run: |
|
- run: |
|
||||||
poetry env use "3.10"
|
poetry env use "3.10"
|
||||||
poetry install --no-interaction
|
poetry install --no-interaction
|
||||||
- run: poetry run inv tests
|
- run: inv tests
|
||||||
|
|
|
@ -41,7 +41,9 @@ def load_config() -> Config:
|
||||||
tomli.loads((ROOT_DIR / "data" / _CONFIG_FILE).read_text())
|
tomli.loads((ROOT_DIR / "data" / _CONFIG_FILE).read_text())
|
||||||
)
|
)
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
raise ValueError("Please run the configuration wizard")
|
raise ValueError(
|
||||||
|
f"Please run the configuration wizard, {_CONFIG_FILE} is missing"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
def is_activitypub_requested(req: Request) -> bool:
|
def is_activitypub_requested(req: Request) -> bool:
|
||||||
|
|
Loading…
Reference in New Issue