imperatives_blacklist.txt 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. # Blacklisted imperative words
  2. #
  3. # These are words that, if they begin a docstring, are a good indicator that
  4. # the docstring is not written in an imperative voice.
  5. #
  6. # The words included in this list fall into a number of categories:
  7. #
  8. # - Starting with a noun/pronoun indicates that the docstring is a noun phrase
  9. # or a sentence but not in the imperative mood
  10. # - Adjectives are always followed by a noun, so same
  11. # - Particles are also followed by a noun
  12. # - Some adverbs don't really indicate an imperative sentence, for example
  13. # "importantly" or "currently".
  14. # - Some irregular verb forms that don't stem to the same string as the
  15. # imperative does (eg. 'does')
  16. a
  17. an
  18. the
  19. action
  20. always
  21. api
  22. base
  23. basic
  24. business
  25. calculation
  26. callback
  27. collection
  28. common
  29. constructor
  30. convenience
  31. convenient
  32. current
  33. currently
  34. custom
  35. data
  36. data
  37. default
  38. deprecated
  39. description
  40. dict
  41. dictionary
  42. does
  43. dummy
  44. example
  45. factory
  46. false
  47. final
  48. formula
  49. function
  50. generic
  51. handler
  52. handler
  53. helper
  54. here
  55. hook
  56. implementation
  57. importantly
  58. internal
  59. it
  60. main
  61. method
  62. module
  63. new
  64. number
  65. optional
  66. placeholder
  67. reference
  68. result
  69. same
  70. schema
  71. setup
  72. should
  73. simple
  74. some
  75. special
  76. sql
  77. standard
  78. static
  79. string
  80. subclasses
  81. that
  82. these
  83. this
  84. true
  85. unique
  86. unit
  87. utility
  88. what
  89. wrapper
  90. # These are nouns, but often used in the context of functions that act as
  91. # objects; thus we do not blacklist these.
  92. #
  93. # context # as in context manager
  94. # decorator
  95. # class # as in class decorator
  96. # property
  97. # generator