Skip to content

Commit

Permalink
Make python linter happy
Browse files Browse the repository at this point in the history
Signed-off-by: Marcela Melara <marcela.melara@intel.com>
  • Loading branch information
marcelamelara committed Sep 18, 2024
1 parent 02a97ac commit f7aac53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion python/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ $(VENV_STAMP): pyproject.toml
.PHONY: lint
lint: $(VENV_STAMP)
. $(VENV_BIN)/activate && \
ruff format --check $(ALL_PY_SRCS) && \
ruff format --diff $(ALL_PY_SRCS) && \
ruff check $(ALL_PY_SRCS) && \
mypy $(PY_MODULE)

Expand Down
1 change: 1 addition & 0 deletions python/in_toto_attestation/predicates/scai/v0/scai.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
SCAI_PREDICATE_TYPE = "https://in-toto.io/attestation/scai/"
SCAI_PREDICATE_VERSION = "v0.3"


class AttributeAssertion:
def __init__(self, attribute, target=None, conditions=None, evidence=None) -> None:
self.pb = scaipb.AttributeAssertion() # type: ignore[attr-defined]
Expand Down

0 comments on commit f7aac53

Please sign in to comment.