We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 551d195 commit 27bfd01Copy full SHA for 27bfd01
.github/workflows/content-checks.yml
@@ -61,6 +61,7 @@ jobs:
61
retention-days: 5 # Default is 90 days
62
- name: Scan for profanities
63
run: |
64
+ pip install better_profanity
65
python tools/profanity.py
66
cat profanity_log.txt
67
tools/profanity.py
@@ -1,7 +1,6 @@
1
import os
2
from better_profanity import profanity
3
-import argparse
4
-import sys
+
5
def load_excluded_words(file_path):
6
with open(file_path, 'r') as f:
7
excluded_words = [word.strip() for word in f.readlines()]
0 commit comments