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 .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ jobs:
touch docs_build/.nojekyll
- uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs_build
folder: docs_build
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ fail_fast: false

repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.6
rev: v0.12.12
hooks:
- id: ruff
- id: ruff-format

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.15.0
rev: v1.17.1
hooks:
- id: mypy
additional_dependencies: [types-pyyaml>=6.0.12.20250402]
args: [--ignore-missing-imports]
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.14.0
rev: v2.15.0
hooks:
- id: pretty-format-yaml
args:
Expand All @@ -28,7 +28,7 @@ repos:
- --no-sort

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: check-case-conflict
- id: end-of-file-fixer
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ dev = [
"pytest-cov>=6.0.0",
"ruff>=0.8.1",
"types-pyyaml>=6.0.12.20250402",
"pytest-mock>=3.14.0",
"pytest-mock>=3.14.0"
]
docs = ["pdoc>=15.0.0"]

Expand Down
10 changes: 5 additions & 5 deletions src/gen192/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def iter_pipeline_combis() -> Generator[PipelineCombination, Any, None]:
for pipeline_perturb_id in PIPELINE_NAMES.keys():
for step in PIPELINE_STEPS:
# for connectivity_method in CONNECTIVITY_METHODS:
#for nuisance_method in NUISANCE_METHODS:
# for nuisance_method in NUISANCE_METHODS:
yield PipelineCombination(
pipeline_id=pipeline_id,
pipeline_perturb_id=pipeline_perturb_id,
Expand Down Expand Up @@ -315,11 +315,11 @@ def main(force=False) -> None:
if force:
dir_dist = pl.Path("dist")
dir_build = pl.Path("build")

if dir_dist.exists():
print(f"Force option enabled: Removing {dir_dist}")
shutil.rmtree(dir_dist)

if dir_build.exists():
print(f"Force option enabled: Removing {dir_build}")
shutil.rmtree(dir_build)
Expand Down Expand Up @@ -555,9 +555,9 @@ def cli():
parser = argparse.ArgumentParser(description="Your script description")
parser.add_argument("-f", "--force", action="store_true", help="Force execution without prompts")
args = parser.parse_args()

main(force=args.force)


if __name__ == "__main__":
cli()
cli()
Loading