Skip to content

Commit

Permalink
chore: re-added isort to pre-commit hooks
Browse files Browse the repository at this point in the history
ran isort

Signed-off-by: Paul Horton <paul.horton@owasp.org>
  • Loading branch information
madpah committed Jul 28, 2022
1 parent f26862b commit 051e543
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ repos:
entry: poetry run tox -e mypy
pass_filenames: false
language: system
# - repo: local
# hooks:
# - id: system
# name: isort
# entry: poetry run isort
# pass_filenames: false
# language: system
- repo: local
hooks:
- id: system
name: isort
entry: poetry run isort .
pass_filenames: false
language: system
- repo: local
hooks:
- id: system
Expand Down
3 changes: 2 additions & 1 deletion tests/test_model_bom.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@

from unittest import TestCase

from data import get_bom_for_issue_275_components, get_bom_with_component_setuptools_with_vulnerability

from cyclonedx.model import License, LicenseChoice, OrganizationalContact, OrganizationalEntity, Property
from cyclonedx.model.bom import Bom, BomMetaData, ThisTool, Tool
from cyclonedx.model.component import Component, ComponentType
from data import get_bom_for_issue_275_components, get_bom_with_component_setuptools_with_vulnerability


class TestBomMetaData(TestCase):
Expand Down

0 comments on commit 051e543

Please sign in to comment.