Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
babenek committed Sep 8, 2024
1 parent 25d7f42 commit f3241c5
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
if: ${{ always() && steps.code_checkout.conclusion == 'success' }}
run: |
md5sum --binary credsweeper/ml_model/ml_config.json | grep b4ac0d0937393f96c3e8c36f076a4ffa
md5sum --binary credsweeper/ml_model/ml_model.onnx | grep 1c0cce4dfe1e0962765c2b3a75d5ae0a
md5sum --binary credsweeper/ml_model/ml_model.onnx | grep d081a82e1646b2f5918e78550b6df700
# # # line ending

Expand Down
2 changes: 0 additions & 2 deletions credsweeper/filters/value_last_word_check.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import re

from credsweeper.config import Config
from credsweeper.credentials import LineData
from credsweeper.file_handler.analysis_target import AnalysisTarget
Expand Down
8 changes: 0 additions & 8 deletions docs/source/credsweeper.filters.rst
Original file line number Diff line number Diff line change
Expand Up @@ -348,14 +348,6 @@ credsweeper.filters.value\_token\_check module
:undoc-members:
:show-inheritance:

credsweeper.filters.value\_useless\_word\_check module
------------------------------------------------------

.. automodule:: credsweeper.filters.value_useless_word_check
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

Expand Down
4 changes: 2 additions & 2 deletions tests/filters/test_value_allowlist_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ def test_value_allowlist_check_p(self, file_path: pytest.fixture, line: str) ->
"pass===#{PASSWORD}", #
"pass=>#{{PASSWORD}}", #
"pass:test*****", #
'PASS="${*}"',#
'PASS="$123"',#
'PASS="${*}"', #
'PASS="$123"', #
])
def test_value_allowlist_check_n(self, file_path: pytest.fixture, line: str) -> None:
line_data = get_line_data(file_path, line=line, pattern=SUCCESS_LINE_PATTERN)
Expand Down

0 comments on commit f3241c5

Please sign in to comment.