diff options
author | Christian Cleberg <hello@cleberg.net> | 2025-05-06 21:54:18 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-06 21:54:18 -0500 |
commit | f351e70fbdf72ec14f335aa74ad3e7f0bc6da5bc (patch) | |
tree | 4a43c4a8f23d001b3277e7668400b8f270946291 /databases/sql/passwords | |
parent | 95bf612c338dec8235e89ca6a1d9e5e8cad3f997 (diff) | |
download | audit-tools-f351e70fbdf72ec14f335aa74ad3e7f0bc6da5bc.tar.gz audit-tools-f351e70fbdf72ec14f335aa74ad3e7f0bc6da5bc.tar.bz2 audit-tools-f351e70fbdf72ec14f335aa74ad3e7f0bc6da5bc.zip |
add and update READMEs (#7)
* add and update READMEs
* Commit from GitHub Actions (Ruff)
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'databases/sql/passwords')
-rw-r--r-- | databases/sql/passwords/example_data.csv (renamed from databases/sql/passwords/data.csv) | 0 | ||||
-rw-r--r-- | databases/sql/passwords/passwords.py (renamed from databases/sql/passwords/test.py) | 5 | ||||
-rw-r--r-- | databases/sql/passwords/query.sql (renamed from databases/sql/passwords/get_data.sql) | 0 |
3 files changed, 5 insertions, 0 deletions
diff --git a/databases/sql/passwords/data.csv b/databases/sql/passwords/example_data.csv index fc925ea..fc925ea 100644 --- a/databases/sql/passwords/data.csv +++ b/databases/sql/passwords/example_data.csv diff --git a/databases/sql/passwords/test.py b/databases/sql/passwords/passwords.py index 81c1138..eed41cc 100644 --- a/databases/sql/passwords/test.py +++ b/databases/sql/passwords/passwords.py @@ -72,6 +72,11 @@ def main(): report = apply_rules_and_report(df_input) report_df = pd.DataFrame(report) + # Do not truncate output + pd.set_option("display.expand_frame_repr", True) + pd.set_option("display.width", 1000) + pd.set_option("display.max_colwidth", 1000) + # Print the report print(report_df) diff --git a/databases/sql/passwords/get_data.sql b/databases/sql/passwords/query.sql index b5bef36..b5bef36 100644 --- a/databases/sql/passwords/get_data.sql +++ b/databases/sql/passwords/query.sql |