Skip to content

Commit

Permalink
Revert import order changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sindrig committed Nov 20, 2023
1 parent f832205 commit 9d790db
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions detect_secrets/filters/heuristic.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
import re
import string
from functools import lru_cache
from typing import Optional, Pattern
from typing import Optional
from typing import Pattern

from detect_secrets.plugins.base import BasePlugin, RegexBasedDetector
from detect_secrets.plugins.base import BasePlugin
from detect_secrets.plugins.base import RegexBasedDetector


def is_sequential_string(secret: str) -> bool:
Expand Down
1 change: 1 addition & 0 deletions tests/filters/heuristic_filter_test.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import os

import pytest

from detect_secrets import filters
from detect_secrets.core.scan import scan_line
from detect_secrets.plugins.aws import AWSKeyDetector
Expand Down

0 comments on commit 9d790db

Please sign in to comment.