File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -32,14 +32,15 @@ dev: env/pyvenv.cfg
3232.PHONY : test-all
3333test-all : test-python-tuf test-go-tuf
3434
35+ lint_dirs = tuf_conformance clients/python-tuf
3536lint : dev
36- ./env/bin/ruff format --diff tuf_conformance
37- ./env/bin/ruff check tuf_conformance
38- ./env/bin/mypy tuf_conformance
37+ ./env/bin/ruff format --diff $( lint_dirs )
38+ ./env/bin/ruff check $( lint_dirs )
39+ ./env/bin/mypy $( lint_dirs )
3940
4041fix : dev
41- ./env/bin/ruff format tuf_conformance
42- ./env/bin/ruff check --fix tuf_conformance
42+ ./env/bin/ruff format $( lint_dirs )
43+ ./env/bin/ruff check --fix $( lint_dirs )
4344
4445# ########################
4546# python-tuf section
Original file line number Diff line number Diff line change 99import shutil
1010import sys
1111
12- from tuf .ngclient import Updater , UpdaterConfig
12+ from tuf .ngclient import Updater
1313
1414
1515def init (metadata_dir : str , trusted_root : str ) -> None :
You can’t perform that action at this time.
0 commit comments