Skip to content

Commit

Permalink
Refactor import statements in aws.yml and __init__.py for improved cl…
Browse files Browse the repository at this point in the history
…arity
  • Loading branch information
austinsonger committed Jan 21, 2025
1 parent 0fd4bbe commit c1039e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Run AWS Inspector Scan Results
run: |
export PYTHONPATH="$PYTHONPATH:$(pwd)/src"
python -m src.inspector
python -m src.inspector
- name: Commit and Push Results
run: |
Expand Down
10 changes: 3 additions & 7 deletions src/__init__.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
from .inspector import Inspector
from .findings_extractor import extract_findings
from .service_finder import get_service_findings, save_findings
from inspector import Inspector
from findings_extractor import extract_findings
from service_finder import get_service_findings, save_findings
from utils.aws_cli import run_aws_cli






__all__ = [
'Inspector',
'extract_findings',
Expand Down

0 comments on commit c1039e8

Please sign in to comment.