Newer
Older
StylesPath = styles
MinAlertLevel = suggestion
Vocab = geant-jargon, Sphinx
Packages = proselint, Microsoft
[*.{py,rst}]
; We only lint .rst and .py files
BasedOnStyles = Vale, proselint, Microsoft
; Some headers are generated and we have no real influence over them
; Found to be too intrusive
Microsoft.Passive = NO
; We are not a general audience
Microsoft.GeneralURL = NO
; It's okay to leave TODOs in the code, that's what they're for
proselint.Annotations = NO
; Replacing a ... with … shouldn't be holding back the entire CI pipeline
proselint.Typography = warning
; Same applies for not using contractions
Karel van Klink
committed
Microsoft.Contractions = NO
custom.Contractions = YES
; Using a "regular" - instead of an en dash is totally fine
Microsoft.Negative = NO
Microsoft.RangeFormat = NO
TokenIgnores = (:term:`\S+`), (:param \S+(?: \S+)?:), (:type \S+:), (:return \S+:), (:rtype: \S+), (:class:`\S+`)
[*/glossary.rst]
Karel van Klink
committed
; Ignore acronyms being undefined in the file that defines all acronyms by definition.
Karel van Klink
committed
Microsoft.Contractions = NO
custom.Contractions = YES
Karel van Klink
committed
[formats]