Skip to content

Commit 27bfd01

Browse files
committed
Update dependencies
1 parent 551d195 commit 27bfd01

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/content-checks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ jobs:
6161
retention-days: 5 # Default is 90 days
6262
- name: Scan for profanities
6363
run: |
64+
pip install better_profanity
6465
python tools/profanity.py
6566
cat profanity_log.txt
6667

tools/profanity.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import os
22
from better_profanity import profanity
3-
import argparse
4-
import sys
3+
54
def load_excluded_words(file_path):
65
with open(file_path, 'r') as f:
76
excluded_words = [word.strip() for word in f.readlines()]

0 commit comments

Comments
 (0)