Skip to content
Closed
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
14 changes: 6 additions & 8 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
Copyright (\d{4}(-\d{4})?\s)?(ETH Zurich and University of Bologna|lowRISC contributors).
exclude_paths: |
.dir-locals.el
.python-version
uv.lock
-
name: Check license string
run: |
Expand Down Expand Up @@ -60,17 +62,13 @@ jobs:
name: Checkout
uses: actions/checkout@v7
-
name: Install Python
uses: actions/setup-python@v5
name: Install uv
uses: astral-sh/setup-uv@v7
with:
python-version: 3.12
cache: pip
-
name: Install Python requirements
run: pip install -r requirements.txt
enable-cache: true
-
name: Run Tcllint
run: tclint . --style-spaces-in-braces --style-line-length 100
run: uv run --locked --group lint tclint . --style-spaces-in-braces --style-line-length 100

slang:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.bender/
test/verilator/
test/vsim/
.venv/
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.12
32 changes: 32 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Copyright 2026 ETH Zurich and University of Bologna.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0

# This repository ships no Python code; this project exists only to pin the
# Python tooling used by CI. Run the linters with `uv run --group lint <tool>`.

[project]
name = "clic"
version = "0"
description = "Tooling environment for the RISC-V CLIC hardware IP"
requires-python = ">=3.12"
dependencies = []

[dependency-groups]
lint = ["tclint==0.4.2"]

[tool.uv]
# Nothing here is importable or installable, so do not try to build a wheel.
package = false
1 change: 0 additions & 1 deletion requirements.txt

This file was deleted.

93 changes: 93 additions & 0 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading