File tree Expand file tree Collapse file tree 3 files changed +33
-1
lines changed
Expand file tree Collapse file tree 3 files changed +33
-1
lines changed Original file line number Diff line number Diff line change 1+ # Copyright lowRISC contributors.
2+ # Licensed under the Apache License, Version 2.0, see LICENSE for details.
3+ # SPDX-License-Identifier: Apache-2.0
4+
15name : CI
26
37on :
2125 run : |
2226 uv sync --all-extras
2327
28+ - name : Install reuse
29+ run : |
30+ sudo apt-get update
31+ sudo apt-get install -y reuse
32+
33+ - name : Run reuse lint
34+ run : reuse lint
35+
2436 - name : Linting
2537 run : |
2638 uv run ruff check
Original file line number Diff line number Diff line change 1+ # SPDX-FileCopyrightText: lowRISC contributors.
2+ # SPDX-License-Identifier: Apache-2.0
3+
4+ version = 1
5+
6+ [[annotations ]]
7+ path = [
8+ # Auto generated lock files
9+ " flake.lock" ,
10+ " uv.lock" ,
11+ # Files that can't take a header
12+ " .python-version" ,
13+
14+ # Test snapshots that are autognerated.
15+ " **/snapshots/*.rdl" ,
16+ " **/snapshots/*.sv" ,
17+ ]
18+ precedence = " aggregate"
19+ SPDX-FileCopyrightText = " lowRISC contributors."
20+ SPDX-License-Identifier = " Apache-2.0"
Original file line number Diff line number Diff line change 6060 env = pythonSet . mkVirtualEnv "python-env" workspace . deps . default ;
6161 in {
6262 devShells . x86_64-linux . default = pkgs . mkShell {
63- packages = [ env pkgs . uv ] ;
63+ packages = [ env pkgs . uv pkgs . reuse ] ;
6464 buildInputs = [ peakrdl ] ;
6565 } ;
6666 formatter . x86_64-linux = nixpkgs . legacyPackages . x86_64-linux . alejandra ;
You can’t perform that action at this time.
0 commit comments