diff --git a/.github/workflows/Pipeline.yml b/.github/workflows/Pipeline.yml index 707b2de..3b23f0e 100644 --- a/.github/workflows/Pipeline.yml +++ b/.github/workflows/Pipeline.yml @@ -63,6 +63,8 @@ jobs: Docs: runs-on: ubuntu-latest name: '📓 Docs' + permissions: + contents: write steps: - name: 🧰 Checkout diff --git a/f4pga/utils/xc7/create_place_constraints.py b/f4pga/utils/xc7/create_place_constraints.py index 6b78be5..6964262 100644 --- a/f4pga/utils/xc7/create_place_constraints.py +++ b/f4pga/utils/xc7/create_place_constraints.py @@ -1120,11 +1120,13 @@ def main( net=Path(net).open("r"), vpr_grid_map=vpr_grid_map, arch=arch, - db_root=environ.get( - "DATABASE_DIR", subprocess_run("prjxray-config", capture_output=True).stdout.decode("utf-8").strip() - ) - if db_root is None - else db_root, + db_root=( + environ.get( + "DATABASE_DIR", subprocess_run("prjxray-config", capture_output=True).stdout.decode("utf-8").strip() + ) + if db_root is None + else db_root + ), part=part, blif=Path(blif).open("r"), input=sys.stdin if input is None else Path(input).open("r"), diff --git a/readthedocs.yml b/readthedocs.yml index 519abe1..c591305 100644 --- a/readthedocs.yml +++ b/readthedocs.yml @@ -19,14 +19,16 @@ version: 2 +build: + os: ubuntu-22.04 + tools: + python: "mambaforge-22.9" + sphinx: configuration: docs/conf.py formats: [] -python: - version: "3.7" - conda: environment: docs/environment.yml