nouf-sst commited on
Commit
209bdd5
1 Parent(s): 4d61701

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -785,7 +785,8 @@ def detect_bad_smells(tgrl_file, selected_bad_smells, size_threshold, similarity
785
  if 'Punctuation-marked element' in selected_bad_smells:
786
  result = get_punctuations(all_elements)
787
  if result != "":
788
- output = output + result + "\n\n"
 
789
 
790
  if 'Incorrect actor syntax' in selected_bad_smells:
791
  result = check_actor_syntax(all_elements['actors'])
 
785
  if 'Punctuation-marked element' in selected_bad_smells:
786
  result = get_punctuations(all_elements)
787
  if result != "":
788
+ warning = "WARNING: Avoid using punctuation to imply priority or urgency. The use of punctuation can lead to misinterpretation and inefficiencies in communicating the goals/requirements.\n\n"
789
+ output = warning + output + result + "\n\n"
790
 
791
  if 'Incorrect actor syntax' in selected_bad_smells:
792
  result = check_actor_syntax(all_elements['actors'])