diff --git a/.github/styles/Vocab/Graviti/accept.txt b/.github/styles/Vocab/Graviti/accept.txt new file mode 100644 index 000000000..279dfe783 --- /dev/null +++ b/.github/styles/Vocab/Graviti/accept.txt @@ -0,0 +1,108 @@ +# ---------------> | 正则表达式 +[a-zA-z]+://[^\s]* + +# ---------------> | 专有名词,公司名 +graviti +Graviti +GRAVITI +Neolix +tensorbay +TensorBay +accesskey +AccessKey +pytorch +PyTorch +github +GitHub + +keypoint +keypoints +polyline +polylines +dataloader +Dataloader + +pythonic + + +Qingdao +Hangzhou + + + +# ---------------> | CS术语 +rst +csv +txt +json + +png +jpg + +http +Http +https +Https +ip +IP + +url +URL +config +Config + +autodoc +todo +ctx +cli +CLI + + + +# ---------------> | 第三方包 +Zsh +NumPy +pytest +Pytest +xmltodict +pyyaml +mypy +pylint +tqdm +toolbelt +filetype +oss + +# ---------------> | 常用变量 +trainval + +dev +attr +usr +env +enum +tbrn + +rf +API +noqa +param +uuid + +kwargs +args + +boolean + + + +# ---------------> | 其他 +sublicense +opendataset +subfolder +abyssinian +subcatalog +unmodify +Makefile +iterable + diff --git a/.github/styles/Vocab/Graviti/reject.txt b/.github/styles/Vocab/Graviti/reject.txt new file mode 100644 index 000000000..e69de29bb diff --git a/.github/styles/style-p1/ComplexWords.yml b/.github/styles/style-p1/ComplexWords.yml new file mode 100644 index 000000000..8daa1b9de --- /dev/null +++ b/.github/styles/style-p1/ComplexWords.yml @@ -0,0 +1,121 @@ +extends: substitution +message: "Consider using '%s' instead of '%s'." +link: https://docs.microsoft.com/en-us/style-guide/word-choice/use-simple-words-concise-sentences +ignorecase: true +level: suggestion + +action: + name: replace +swap: + "approximate(?:ly)?": about + abundance: plenty + accelerate: speed up + accentuate: stress + accompany: go with + accomplish: carry out|do + accorded: given + accordingly: so + accrue: add + accurate: right|exact + acquiesce: agree + acquire: get|buy + additional: more|extra + address: discuss + addressees: you + adjacent to: next to + adjustment: change + admissible: allowed + advantageous: helpful + advise: tell + aggregate: total + aircraft: plane + alleviate: ease + allocate: assign|divide + alternatively: or + alternatives: choices|options + ameliorate: improve + amend: change + anticipate: expect + apparent: clear|plain + ascertain: discover|find out + assistance: help + attain: meet + attempt: try + authorize: allow + belated: late + bestow: give + cease: stop|end + collaborate: work together + commence: begin + compensate: pay + component: part + comprise: form|include + concept: idea + concerning: about + confer: give|award + consequently: so + consolidate: merge + constitutes: forms + contains: has + convene: meet + demonstrate: show|prove + depart: leave + designate: choose + desire: want|wish + determine: decide|find + detrimental: bad|harmful + disclose: share|tell + discontinue: stop + disseminate: send|give + eliminate: end + elucidate: explain + employ: use + enclosed: inside|included + encounter: meet + endeavor: try + enumerate: count + equitable: fair + equivalent: equal + exclusively: only + expedite: hurry + facilitate: ease + females: women + finalize: complete|finish + frequently: often + identical: same + incorrect: wrong + indication: sign + initiate: start|begin + itemized: listed + jeopardize: risk + liaise: work with|partner with + maintain: keep|support + methodology: method + modify: change + monitor: check|watch + multiple: many + necessitate: cause + notify: tell + numerous: many + objective: aim|goal + obligate: bind|compel + optimum: best|most + permit: let + portion: part + possess: own + previous: earlier + previously: before + prioritize: rank + procure: buy + provide: give|offer + purchase: buy + relocate: move + solicit: request + state-of-the-art: latest + subsequent: later|next + substantial: large + sufficient: enough + terminate: end + transmit: send + utilization: use + utilize: use diff --git a/.github/styles/style-p1/DateFormat.yml b/.github/styles/style-p1/DateFormat.yml new file mode 100644 index 000000000..e343bd276 --- /dev/null +++ b/.github/styles/style-p1/DateFormat.yml @@ -0,0 +1,9 @@ +extends: existence +message: Use 'July 31, 2016' format, not '%s'. +link: https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/term-collections/date-time-terms +ignorecase: true +level: error + +nonword: true +tokens: + - '\d{1,2} (?:Jan(?:uary)?|Feb(?:ruary)?|Mar(?:ch)?|Apr(?:il)|May|Jun(?:e)|Jul(?:y)|Aug(?:ust)|Sep(?:tember)?|Oct(?:ober)|Nov(?:ember)?|Dec(?:ember)?) \d{4}' diff --git a/.github/styles/style-p1/E-Prime.yml b/.github/styles/style-p1/E-Prime.yml new file mode 100644 index 000000000..fdc47a0a5 --- /dev/null +++ b/.github/styles/style-p1/E-Prime.yml @@ -0,0 +1,31 @@ +extends: existence +message: "Try to avoid using '%s'." +ignorecase: true +level: suggestion +tokens: + - am + - are + - aren't + - be + - been + - being + - he's + - here's + - here's + - how's + - i'm + - is + - isn't + - she's + - that's + - there's + - they're + - was + - wasn't + - we're + - were + - weren't + - what's + - where's + - who's + - you're diff --git a/.github/styles/style-p1/Illusions.yml b/.github/styles/style-p1/Illusions.yml new file mode 100644 index 000000000..b4f132185 --- /dev/null +++ b/.github/styles/style-p1/Illusions.yml @@ -0,0 +1,11 @@ +extends: repetition +message: "'%s' is repeated!" +level: warning +alpha: true +action: + name: edit + params: + - truncate + - " " +tokens: + - '[^\s]+' diff --git a/.github/styles/style-p1/Ranges.yml b/.github/styles/style-p1/Ranges.yml new file mode 100644 index 000000000..4f3327e9c --- /dev/null +++ b/.github/styles/style-p1/Ranges.yml @@ -0,0 +1,8 @@ +extends: existence +message: "In most cases, use 'from' or 'through' to describe a range of numbers." +link: 'https://docs.microsoft.com/en-us/style-guide/numbers' +nonword: true +level: warning + +tokens: + - '\b\d+\s?[-–]\s?\d+\b' diff --git a/.github/styles/style-p1/SentenceLength.yml b/.github/styles/style-p1/SentenceLength.yml new file mode 100644 index 000000000..f248cf051 --- /dev/null +++ b/.github/styles/style-p1/SentenceLength.yml @@ -0,0 +1,7 @@ +extends: occurrence +message: "Try to keep sentences short (< 30 words)." +scope: sentence +level: suggestion +max: 30 +token: \b(\w+)\b + diff --git a/.github/styles/style-p1/So.yml b/.github/styles/style-p1/So.yml new file mode 100644 index 000000000..e57f099dc --- /dev/null +++ b/.github/styles/style-p1/So.yml @@ -0,0 +1,5 @@ +extends: existence +message: "Don't start a sentence with '%s'." +level: error +raw: + - '(?:[;-]\s)so[\s,]|\bSo[\s,]' diff --git a/.github/styles/style-p1/Spelling.yml b/.github/styles/style-p1/Spelling.yml new file mode 100644 index 000000000..d3c9be7b7 --- /dev/null +++ b/.github/styles/style-p1/Spelling.yml @@ -0,0 +1,17 @@ +extends: consistency +message: "Inconsistent spelling of '%s'." +level: error +ignorecase: true +either: + advisor: adviser + centre: center + colour: color + emphasise: emphasize + finalise: finalize + focussed: focused + labour: labor + learnt: learned + organise: organize + organised: organized + organising: organizing + recognise: recognize diff --git a/.github/styles/style-p1/URLFormat.yml b/.github/styles/style-p1/URLFormat.yml new file mode 100644 index 000000000..d8ba9de2c --- /dev/null +++ b/.github/styles/style-p1/URLFormat.yml @@ -0,0 +1,11 @@ +extends: substitution +message: "Use '%s' instead of '%s'." +ignorecase: true +level: error + +action: + name: replace +swap: + URL for: URL of + an URL: a URL + diff --git a/.github/styles/style-p1/We.yml b/.github/styles/style-p1/We.yml new file mode 100644 index 000000000..a70a83fde --- /dev/null +++ b/.github/styles/style-p1/We.yml @@ -0,0 +1,12 @@ +extends: existence +message: "Try to avoid using first-person plural like '%s'." +link: https://docs.microsoft.com/en-us/style-guide/grammar/person#avoid-first-person-plural +level: warning +ignorecase: true + +tokens: + - we + - we'(?:ve|re) + - ours? + - us + - let's diff --git a/.github/styles/style-p1/Wordiness.yml b/.github/styles/style-p1/Wordiness.yml new file mode 100644 index 000000000..9933afbae --- /dev/null +++ b/.github/styles/style-p1/Wordiness.yml @@ -0,0 +1,123 @@ +extends: substitution +message: "Consider using '%s' instead of '%s'." +link: https://docs.microsoft.com/en-us/style-guide/word-choice/use-simple-words-concise-sentences +ignorecase: true +level: warning + +action: + name: replace +swap: + (?:give|gave) rise to: lead to + (?:previous|prior) to: before + a (?:large)? majority of: most + a (?:large)? number of: many + a myriad of: myriad + adversely impact: hurt + all across: across + all of a sudden: suddenly + all of these: these + all of: all + all-time record: record + almost all: most + almost never: seldom + along the lines of: similar to + an adequate number of: enough + an appreciable number of: many + an estimated: about + any and all: all + are in agreement: agree + as a matter of fact: in fact + as a means of: to + as a result of: because of + as of yet: yet + as per: per + at a later date: later + at all times: always + at the present time: now + at this point in time: at this point + based in large part on: based on + based on the fact that: because + basic necessity: necessity + because of the fact that: because + came to a realization: realized + came to an abrupt end: ended abruptly + carry out an evaluation of: evaluate + close down: close + closed down: closed + complete stranger: stranger + completely separate: separate + concerning the matter of: regarding + conduct a review of: review + conduct an investigation: investigate + conduct experiments: experiment + continue on: continue + despite the fact that: although + disappear from sight: disappear + drag and drop: drag + drag-and-drop: drag + doomed to fail: doomed + due to the fact that: because + during the period of: during + during the time that: while + emergency situation: emergency + except when: unless + excessive number: too many + extend an invitation: invite + fall down: fall + fell down: fell + for the duration of: during + gather together: gather + has the ability to: can + has the capacity to: can + has the opportunity to: could + hold a meeting: meet + if this is not the case: if not + in a careful manner: carefully + in a thoughtful manner: thoughtfully + in a timely manner: timely + in an effort to: to + in between: between + in lieu of: instead of + in many cases: often + in most cases: usually + in order to: to + in some cases: sometimes + in spite of the fact that: although + in spite of: despite + in the (?:very)? near future: soon + in the event that: if + in the neighborhood of: roughly + in the vicinity of: close to + it would appear that: apparently + lift up: lift + made reference to: referred to + make reference to: refer to + mix together: mix + none at all: none + not in a position to: unable + not possible: impossible + of major importance: important + perform an assessment of: assess + pertaining to: about + place an order: order + plays a key role in: is essential to + present time: now + readily apparent: apparent + some of the: some + span across: span + subsequent to: after + successfully complete: complete + sufficient number (?:of)?: enough + take action: act + take into account: consider + the question as to whether: whether + there is no doubt but that: doubtless + this day and age: this age + this is a subject that: this subject + time (?:frame|period): time + under the provisions of: under + until such time as: until + used for fuel purposes: used for fuel + whether or not: whether + with regard to: regarding + with the exception of: except for diff --git a/.github/styles/style-p2/Acronyms copy.yml b/.github/styles/style-p2/Acronyms copy.yml new file mode 100644 index 000000000..f41af0189 --- /dev/null +++ b/.github/styles/style-p2/Acronyms copy.yml @@ -0,0 +1,64 @@ +extends: conditional +message: "Spell out '%s', if it's unfamiliar to the audience." +link: 'https://developers.google.com/style/abbreviations' +level: suggestion +ignorecase: false +# Ensures that the existence of 'first' implies the existence of 'second'. +first: '\b([A-Z]{3,5})\b' +second: '(?:\b[A-Z][a-z]+ )+\(([A-Z]{3,5})\)' +# ... with the exception of these: +exceptions: + - API + - ASP + - CLI + - CPU + - CSS + - CSV + - DEBUG + - DOM + - DPI + - FAQ + - GCC + - GDB + - GET + - GPU + - GTK + - GUI + - HTML + - HTTP + - HTTPS + - IDE + - JAR + - JSON + - JSX + - LESS + - LLDB + - NET + - NOTE + - NVDA + - OSS + - PATH + - PDF + - PHP + - POST + - RAM + - REPL + - RSA + - SCM + - SCSS + - SDK + - SQL + - SSH + - SSL + - SVG + - TBD + - TCP + - TODO + - URI + - URL + - USB + - UTF + - XML + - XSS + - YAML + - ZIP diff --git a/.github/styles/style-p2/Acronyms.yml b/.github/styles/style-p2/Acronyms.yml new file mode 100644 index 000000000..f25ed87bf --- /dev/null +++ b/.github/styles/style-p2/Acronyms.yml @@ -0,0 +1,65 @@ +extends: conditional +message: "'%s' has no definition." +link: https://docs.microsoft.com/en-us/style-guide/acronyms + +level: suggestion +ignorecase: false +# Ensures that the existence of 'first' implies the existence of 'second'. +first: '\b([A-Z]{3,5})\b' +second: '(?:\b[A-Z][a-z]+ )+\(([A-Z]{3,5})\)' +# ... with the exception of these: +exceptions: + - API + - ASP + - CLI + - CPU + - CSS + - CSV + - DEBUG + - DOM + - DPI + - FAQ + - GCC + - GDB + - GET + - GPU + - GTK + - GUI + - HTML + - HTTP + - HTTPS + - IDE + - JAR + - JSON + - JSX + - LESS + - LLDB + - NET + - NOTE + - NVDA + - OSS + - PATH + - PDF + - PHP + - POST + - RAM + - REPL + - RSA + - SCM + - SCSS + - SDK + - SQL + - SSH + - SSL + - SVG + - TBD + - TCP + - TODO + - URI + - URL + - USB + - UTF + - XML + - XSS + - YAML + - ZIP diff --git a/.github/styles/style-p2/Passive copy.yml b/.github/styles/style-p2/Passive copy.yml new file mode 100644 index 000000000..6183a2b84 --- /dev/null +++ b/.github/styles/style-p2/Passive copy.yml @@ -0,0 +1,184 @@ +extends: existence +message: "'%s' looks like passive voice." +ignorecase: true +level: suggestion + +raw: + - \b(am|are|were|being|is|been|was|be)\b\s* +tokens: + - '[\w]+ed' + - awoken + - beat + - become + - been + - begun + - bent + - beset + - bet + - bid + - bidden + - bitten + - bled + - blown + - born + - bought + - bound + - bred + - broadcast + - broken + - brought + - built + - burnt + - burst + - cast + - caught + - chosen + - clung + - come + - cost + - crept + - cut + - dealt + - dived + - done + - drawn + - dreamt + - driven + - drunk + - dug + - eaten + - fallen + - fed + - felt + - fit + - fled + - flown + - flung + - forbidden + - foregone + - forgiven + - forgotten + - forsaken + - fought + - found + - frozen + - given + - gone + - gotten + - ground + - grown + - heard + - held + - hidden + - hit + - hung + - hurt + - kept + - knelt + - knit + - known + - laid + - lain + - leapt + - learnt + - led + - left + - lent + - let + - lighted + - lost + - made + - meant + - met + - misspelt + - mistaken + - mown + - overcome + - overdone + - overtaken + - overthrown + - paid + - pled + - proven + - put + - quit + - read + - rid + - ridden + - risen + - run + - rung + - said + - sat + - sawn + - seen + - sent + - set + - sewn + - shaken + - shaven + - shed + - shod + - shone + - shorn + - shot + - shown + - shrunk + - shut + - slain + - slept + - slid + - slit + - slung + - smitten + - sold + - sought + - sown + - sped + - spent + - spilt + - spit + - split + - spoken + - spread + - sprung + - spun + - stolen + - stood + - stridden + - striven + - struck + - strung + - stuck + - stung + - stunk + - sung + - sunk + - swept + - swollen + - sworn + - swum + - swung + - taken + - taught + - thought + - thrived + - thrown + - thrust + - told + - torn + - trodden + - understood + - upheld + - upset + - wed + - wept + - withheld + - withstood + - woken + - won + - worn + - wound + - woven + - written + - wrung diff --git a/.github/styles/style-p2/Passive.yml b/.github/styles/style-p2/Passive.yml new file mode 100644 index 000000000..f472cb904 --- /dev/null +++ b/.github/styles/style-p2/Passive.yml @@ -0,0 +1,183 @@ +extends: existence +message: "'%s' may be passive voice. Use active voice if you can." +ignorecase: true +level: warning +raw: + - \b(am|are|were|being|is|been|was|be)\b\s* +tokens: + - '[\w]+ed' + - awoken + - beat + - become + - been + - begun + - bent + - beset + - bet + - bid + - bidden + - bitten + - bled + - blown + - born + - bought + - bound + - bred + - broadcast + - broken + - brought + - built + - burnt + - burst + - cast + - caught + - chosen + - clung + - come + - cost + - crept + - cut + - dealt + - dived + - done + - drawn + - dreamt + - driven + - drunk + - dug + - eaten + - fallen + - fed + - felt + - fit + - fled + - flown + - flung + - forbidden + - foregone + - forgiven + - forgotten + - forsaken + - fought + - found + - frozen + - given + - gone + - gotten + - ground + - grown + - heard + - held + - hidden + - hit + - hung + - hurt + - kept + - knelt + - knit + - known + - laid + - lain + - leapt + - learnt + - led + - left + - lent + - let + - lighted + - lost + - made + - meant + - met + - misspelt + - mistaken + - mown + - overcome + - overdone + - overtaken + - overthrown + - paid + - pled + - proven + - put + - quit + - read + - rid + - ridden + - risen + - run + - rung + - said + - sat + - sawn + - seen + - sent + - set + - sewn + - shaken + - shaven + - shed + - shod + - shone + - shorn + - shot + - shown + - shrunk + - shut + - slain + - slept + - slid + - slit + - slung + - smitten + - sold + - sought + - sown + - sped + - spent + - spilt + - spit + - split + - spoken + - spread + - sprung + - spun + - stolen + - stood + - stridden + - striven + - struck + - strung + - stuck + - stung + - stunk + - sung + - sunk + - swept + - swollen + - sworn + - swum + - swung + - taken + - taught + - thought + - thrived + - thrown + - thrust + - told + - torn + - trodden + - understood + - upheld + - upset + - wed + - wept + - withheld + - withstood + - woken + - won + - worn + - wound + - woven + - written + - wrung diff --git a/.github/styles/style-p2/ThereIs.yml b/.github/styles/style-p2/ThereIs.yml new file mode 100644 index 000000000..8b82e8f6c --- /dev/null +++ b/.github/styles/style-p2/ThereIs.yml @@ -0,0 +1,6 @@ +extends: existence +message: "Don't start a sentence with '%s'." +ignorecase: false +level: error +raw: + - '(?:[;-]\s)There\s(is|are)|\bThere\s(is|are)\b' diff --git a/.github/styles/style-p2/TooWordy.yml b/.github/styles/style-p2/TooWordy.yml new file mode 100644 index 000000000..275701b19 --- /dev/null +++ b/.github/styles/style-p2/TooWordy.yml @@ -0,0 +1,221 @@ +extends: existence +message: "'%s' is too wordy." +ignorecase: true +level: warning +tokens: + - a number of + - abundance + - accede to + - accelerate + - accentuate + - accompany + - accomplish + - accorded + - accrue + - acquiesce + - acquire + - additional + - adjacent to + - adjustment + - admissible + - advantageous + - adversely impact + - advise + - aforementioned + - aggregate + - aircraft + - all of + - all things considered + - alleviate + - allocate + - along the lines of + - already existing + - alternatively + - amazing + - ameliorate + - anticipate + - apparent + - appreciable + - as a matter of fact + - as a means of + - as far as I'm concerned + - as of yet + - as to + - as yet + - ascertain + - assistance + - at the present time + - at this time + - attain + - attributable to + - authorize + - because of the fact that + - belated + - benefit from + - bestow + - by means of + - by virtue of + - by virtue of the fact that + - cease + - close proximity + - commence + - comply with + - concerning + - consequently + - consolidate + - constitutes + - demonstrate + - depart + - designate + - discontinue + - due to the fact that + - each and every + - economical + - eliminate + - elucidate + - employ + - endeavor + - enumerate + - equitable + - equivalent + - evaluate + - evidenced + - exclusively + - expedite + - expend + - expiration + - facilitate + - factual evidence + - feasible + - finalize + - first and foremost + - for all intents and purposes + - for the most part + - for the purpose of + - forfeit + - formulate + - have a tendency to + - honest truth + - however + - if and when + - impacted + - implement + - in a manner of speaking + - in a timely manner + - in a very real sense + - in accordance with + - in addition + - in all likelihood + - in an effort to + - in between + - in excess of + - in lieu of + - in light of the fact that + - in many cases + - in my opinion + - in order to + - in regard to + - in some instances + - in terms of + - in the case of + - in the event that + - in the final analysis + - in the nature of + - in the near future + - in the process of + - inception + - incumbent upon + - indicate + - indication + - initiate + - irregardless + - is applicable to + - is authorized to + - is responsible for + - it is + - it is essential + - it seems that + - it was + - magnitude + - maximum + - methodology + - minimize + - minimum + - modify + - monitor + - multiple + - necessitate + - nevertheless + - not certain + - not many + - not often + - not unless + - not unlike + - notwithstanding + - null and void + - numerous + - objective + - obligate + - obtain + - on the contrary + - on the other hand + - one particular + - optimum + - overall + - owing to the fact that + - participate + - particulars + - pass away + - pertaining to + - point in time + - portion + - possess + - preclude + - previously + - prior to + - prioritize + - procure + - proficiency + - provided that + - purchase + - put simply + - readily apparent + - refer back + - regarding + - relocate + - remainder + - remuneration + - requirement + - reside + - residence + - retain + - satisfy + - shall + - should you wish + - similar to + - solicit + - span across + - strategize + - subsequent + - substantial + - successfully complete + - sufficient + - terminate + - the month of + - the point I am trying to make + - therefore + - time period + - took advantage of + - transmit + - transpire + - type of + - until such time as + - utilization + - utilize + - validate + - various different + - what I mean to say is + - whether or not + - with respect to + - with the exception of + - witnessed diff --git a/.github/styles/style-p2/Weasel.yml b/.github/styles/style-p2/Weasel.yml new file mode 100644 index 000000000..e29391444 --- /dev/null +++ b/.github/styles/style-p2/Weasel.yml @@ -0,0 +1,207 @@ +extends: existence +message: "'%s' is a weasel word!" +ignorecase: true +level: warning +tokens: + - absolutely + - accidentally + - additionally + - allegedly + - alternatively + - angrily + - anxiously + - approximately + - awkwardly + - badly + - barely + - beautifully + - blindly + - boldly + - bravely + - brightly + - briskly + - bristly + - bubbly + - busily + - calmly + - carefully + - carelessly + - cautiously + - cheerfully + - clearly + - closely + - coldly + - completely + - consequently + - correctly + - courageously + - crinkly + - cruelly + - crumbly + - cuddly + - currently + - daily + - daringly + - deadly + - definitely + - deliberately + - doubtfully + - dumbly + - eagerly + - early + - easily + - elegantly + - enormously + - enthusiastically + - equally + - especially + - eventually + - exactly + - exceedingly + - exclusively + - extremely + - fairly + - faithfully + - fatally + - fiercely + - finally + - fondly + - few + - foolishly + - fortunately + - frankly + - frantically + - generously + - gently + - giggly + - gladly + - gracefully + - greedily + - happily + - hardly + - hastily + - healthily + - heartily + - helpfully + - honestly + - hourly + - hungrily + - hurriedly + - immediately + - impatiently + - inadequately + - ingeniously + - innocently + - inquisitively + - interestingly + - irritably + - jiggly + - joyously + - justly + - kindly + - largely + - lately + - lazily + - likely + - literally + - lonely + - loosely + - loudly + - loudly + - luckily + - madly + - many + - mentally + - mildly + - monthly + - mortally + - mostly + - mysteriously + - neatly + - nervously + - nightly + - noisily + - normally + - obediently + - occasionally + - only + - openly + - painfully + - particularly + - patiently + - perfectly + - politely + - poorly + - powerfully + - presumably + - previously + - promptly + - punctually + - quarterly + - quickly + - quietly + - rapidly + - rarely + - really + - recently + - recklessly + - regularly + - remarkably + - relatively + - reluctantly + - repeatedly + - rightfully + - roughly + - rudely + - sadly + - safely + - selfishly + - sensibly + - seriously + - sharply + - shortly + - shyly + - significantly + - silently + - simply + - sleepily + - slowly + - smartly + - smelly + - smoothly + - softly + - solemnly + - sparkly + - speedily + - stealthily + - sternly + - stupidly + - substantially + - successfully + - suddenly + - surprisingly + - suspiciously + - swiftly + - tenderly + - tensely + - thoughtfully + - tightly + - timely + - truthfully + - unexpectedly + - unfortunately + - usually + - very + - victoriously + - violently + - vivaciously + - warmly + - waverly + - weakly + - wearily + - weekly + - wildly + - wisely + - worldly + - wrinkly + - yearly diff --git a/.github/styles/style-p3/Condescending.yml b/.github/styles/style-p3/Condescending.yml new file mode 100644 index 000000000..4283a3367 --- /dev/null +++ b/.github/styles/style-p3/Condescending.yml @@ -0,0 +1,16 @@ +--- +extends: existence +message: Using '%s' may come across as condescending. +link: https://css-tricks.com/words-avoid-educational-writing/ +level: error +ignorecase: true +tokens: + - obvious + - obviously + - simple + - simply + - easy + - easily + - of course + - clearly + - everyone knows diff --git a/.github/styles/style-p3/Gendered.yml b/.github/styles/style-p3/Gendered.yml new file mode 100644 index 000000000..f48eaccae --- /dev/null +++ b/.github/styles/style-p3/Gendered.yml @@ -0,0 +1,108 @@ +--- +extends: substitution +message: "Consider using '%s' instead of '%s'." +ignorecase: true +level: warning +action: + name: replace +swap: + ancient man: ancient civilization|ancient people + authoress: author|writer + average housewife: average consumer|average household|average homemaker + average man: average person + average working man: average wage earner|average taxpayer + aviatrix: aviator + bitch: whine|complain|cry + bitching: whining|complaining|crying + brotherhood of man: the human family + calendar girl: model + call girl: escort|prostitute|sex worker + churchman: cleric|practicing Christian|pillar of the Church + english master: english coordinator|senior teacher of english + englishmen: the english + executrix: executor + father of *: founder of + fellowship: camaraderie|community|organization + founding father: the founders|founding leaders|forebears + frenchmen: french|the french + freshman: first-year student|fresher + freshwoman: first-year student|fresher + housemaid: house worker|domestic help + housewife: homemaker|homeworker + housewives: homemakers|homeworkers + industrial man: industrial civilization|industrial people + lady doctor: doctor + ladylike: courteous|cultured + leading lady: lead + like a man: resolutely|bravely + mad man: fanatic|zealot|enthusiast + mad men: fanatics|zealots|enthusiasts + madman: fanatic|zealot|enthusiast + madmen: fanatics|zealots|enthusiasts + maiden: virgin + maiden flight: first flight + maiden name: birth name + maiden race: first race + maiden speech: first speech + maiden voyage: first voyage + man a desk: staff a desk + man enough: strong enough + man hour: staff hour|hour of work + man hours: staff hours|hours of work|hours of labor|hours + man in the street: ordinary citizen|typical person|average person + man of action: dynamo + man of letters: scholar|writer|literary figure + man of the land: farmer|rural worker|grazier|landowner|rural community|country people|country + folk + man of the world: sophisticate + man sized task: a demanding task|a big job + man the booth: staff the booth + man the phones: answer the phones + manhour: staff hour|hour of work + manhours: staff hours|hours of work|hours of labor|hours + mankind: humankind + manmade: manufactured|artificial|synthetic|machine-made|constructed + manned: staffed|crewed|piloted + manpower: human resources|workforce|personnel|staff|labor|personnel|labor force|staffing|combat + personnel + mans best friend: a faithful dog + mansized task: a demanding task|a big job + master copy: pass key|original + master key: pass key|original + master of ceremonies: emcee|moderator|convenor + master plan: grand scheme|guiding principles + master the art: become skilled + masterful: skilled|authoritative|commanding + mastermind: genius|creator|instigator|oversee|launch|originate + masterpiece: "work of genius|chef d\u2019oeuvre" + masterplan: vision|comprehensive plan + masterstroke: trump card|stroke of genius + men of science: scientists + midwife: birthing nurse + miss.: ms. + moan: whine|complain|cry + moaning: whining|complaining|crying + modern man: modern civilization|modern people + motherly: loving|warm|nurturing + mrs.: ms. + no mans land: unoccupied territory|wasteland|deathtrap + office girls: administrative staff + oneupmanship: upstaging|competitiveness + poetess: poet + railwayman: railway worker + sportsmanlike: fair|sporting + sportsmanship: fairness|good humor|sense of fair play + statesman like: diplomatic + statesmanlike: diplomatic + stockman: cattle worker|farmhand|drover + tax man: tax commissioner|tax office|tax collector + tradesmans entrance: service entrance + unmanned: robotic|automated + usherette: usher + wife beater: tank top|sleeveless undershirt + wifebeater: tank top|sleeveless undershirt + woman lawyer: lawyer + woman painter: painter + working mother: wage or salary earning woman|two-income family + working wife: wage or salary earning woman|two-income family + workmanship: quality construction|expertise diff --git a/.github/styles/style-p3/LGBTQ.yml b/.github/styles/style-p3/LGBTQ.yml new file mode 100644 index 000000000..842a9c6f1 --- /dev/null +++ b/.github/styles/style-p3/LGBTQ.yml @@ -0,0 +1,55 @@ +--- +extends: substitution +message: Consider using '%s' instead of '%s'. +ignorecase: true +level: warning +action: + name: replace +swap: + bathroom bill: non-discrimination law|non-discrimination ordinance + bi: bisexual + biologically female: assigned female at birth|designated female at birth + biologically male: assigned male at birth|designated male at birth + born a man: assigned male at birth|designated male at birth + born a woman: assigned female at birth|designated female at birth + dyke: gay + fag: gay + faggot: gay + gay agenda: gay issues + gay lifestyle: gay lives|gay/lesbian lives + gay rights: equal rights|civil rights for gay people + gender pronoun: pronoun|pronouns + gender pronouns: pronoun|pronouns + genetically female: assigned female at birth|designated female at birth + genetically male: assigned male at birth|designated male at birth + hermaphrodite: person who is intersex|person|intersex person + hermaphroditic: intersex + heshe: transgender person|person + homo: gay + homosexual: gay|gay man|lesbian|gay person/people + homosexual agenda: gay issues + homosexual couple: couple + homosexual lifestyle: gay lives|gay/lesbian lives + homosexual marriage: gay marriage|same-sex marriage + homosexual relations: relationship + homosexual relationship: relationship + preferred pronoun: pronoun|pronouns + preferred pronouns: pronoun|pronouns + pseudo hermaphrodite: person who is intersex|person|intersex person + pseudo hermaphroditic: intersex + pseudohermaphrodite: person who is intersex|person|intersex person + pseudohermaphroditic: intersex + sex change: transition|gender confirmation surgery + sex change operation: sex reassignment surgery|gender confirmation surgery + sexchange: transition|gender confirmation surgery + sexual preference: sexual orientation|orientation + she male: transgender person|person + shehe: transgender person|person + shemale: transgender person|person + sodomite: gay + special rights: equal rights|civil rights for gay people + tranny: transgender + transgendered: transgender + transgenderism: being transgender|the movement for transgender equality + transgenders: transgender people + transvestite: cross-dresser diff --git a/.github/styles/style-p3/Press.yml b/.github/styles/style-p3/Press.yml new file mode 100644 index 000000000..06991dbf1 --- /dev/null +++ b/.github/styles/style-p3/Press.yml @@ -0,0 +1,11 @@ +--- +extends: substitution +message: Consider using '%s' instead of '%s'. +ignorecase: true +level: warning +action: + name: replace +swap: + islamist: muslim|person of Islamic faith|fanatic|zealot|follower of islam|follower + of the islamic faith + islamists: muslims|people of Islamic faith|fanatics|zealots diff --git a/.github/styles/style-p3/Profanity.yml b/.github/styles/style-p3/Profanity.yml new file mode 100644 index 000000000..b319fd7f6 --- /dev/null +++ b/.github/styles/style-p3/Profanity.yml @@ -0,0 +1,1781 @@ +extends: existence +message: Be careful with '%s', it’s profane in some cases. +level: warning +ignorecase: true +tokens: + - abbo + - abeed + - abid + - abo + - abortion + - abuse + - addict + - addicts + - adult + - africa + - african + - africoon + - alla + - allah + - alligator bait + - alligatorbait + - amateur + - american + - anal + - analannie + - analsex + - angie + - angry + - anus + - arab + - arabs + - arabush + - arabushs + - areola + - argie + - armo + - armos + - aroused + - arse + - arsehole + - asian + - ass + - assassin + - assassinate + - assassination + - assault + - assbagger + - assblaster + - assclown + - asscowboy + - asses + - assfuck + - assfucker + - asshat + - asshole + - assholes + - asshore + - assjockey + - asskiss + - asskisser + - assklown + - asslick + - asslicker + - asslover + - assman + - assmonkey + - assmunch + - assmuncher + - asspacker + - asspirate + - asspuppies + - assranger + - asswhore + - asswipe + - athletesfoot + - attack + - australian + - babe + - babies + - backdoor + - backdoorman + - backseat + - badfuck + - balllicker + - balls + - ballsack + - banana + - bananas + - banging + - baptist + - barelylegal + - barf + - barface + - barfface + - bast + - bastard + - bazongas + - bazooms + - beanbag + - beanbags + - beaner + - beaners + - beaney + - beaneys + - beast + - beastality + - beastial + - beastiality + - beatoff + - beatyourmeat + - beaver + - bestial + - bestiality + - bi + - biatch + - bible + - bicurious + - bigass + - bigbastard + - bigbutt + - bigger + - bisexual + - bitch + - bitcher + - bitches + - bitchez + - bitchin + - bitching + - bitchslap + - bitchy + - biteme + - black + - blackman + - blackout + - blacks + - blind + - blow + - blowjob + - bluegum + - bluegums + - boang + - boche + - boches + - bogan + - bohunk + - bollick + - bollock + - bollocks + - bomb + - bombers + - bombing + - bombs + - bomd + - bondage + - boner + - bong + - boob + - boobies + - boobs + - booby + - boody + - boom + - boong + - boonga + - boongas + - boongs + - boonie + - boonies + - bootlip + - bootlips + - booty + - bootycall + - bosch + - bosche + - bosches + - boschs + - "bounty bar" + - "bounty bars" + - bountybar + - bra + - brea5t + - breast + - breastjob + - breastlover + - breastman + - brothel + - brownie + - brownies + - buddhahead + - buddhaheads + - buffies + - buffy + - bugger + - buggered + - buggery + - bule + - bules + - bullcrap + - bulldike + - bulldyke + - bullshit + - bumblefuck + - bumfuck + - bung + - bunga + - bungas + - bunghole + - buried + - burn + - "burr head" + - "burr heads" + - burrhead + - burrheads + - butchbabes + - butchdike + - butchdyke + - butt + - buttbang + - buttface + - buttfuck + - buttfucker + - buttfuckers + - butthead + - buttman + - buttmunch + - buttmuncher + - buttpirate + - buttplug + - buttstain + - byatch + - cacker + - "camel jockey" + - "camel jockeys" + - cameljockey + - cameltoe + - canadian + - cancer + - carpetmuncher + - carruth + - catholic + - catholics + - cemetery + - chav + - "cheese eating surrender monkey" + - "cheese eating surrender monkies" + - "cheeseeating surrender monkey" + - "cheeseeating surrender monkies" + - cheesehead + - cheeseheads + - cherrypopper + - chickslick + - childrens + - chin + - "china swede" + - "china swedes" + - chinaman + - chinamen + - chinaswede + - chinaswedes + - chinese + - "ching chong" + - "ching chongs" + - chingchong + - chingchongs + - chink + - chinks + - chinky + - choad + - chode + - chonkies + - chonky + - chonkys + - christ + - "christ killer" + - "christ killers" + - christian + - chug + - chugs + - chunger + - chungers + - chunkies + - chunky + - chunkys + - church + - cigarette + - cigs + - clamdigger + - clamdiver + - clansman + - clansmen + - clanswoman + - clanswomen + - clit + - clitoris + - clogwog + - cocaine + - cock + - cockblock + - cockblocker + - cockcowboy + - cockfight + - cockhead + - cockknob + - cocklicker + - cocklover + - cocknob + - cockqueen + - cockrider + - cocksman + - cocksmith + - cocksmoker + - cocksucer + - cocksuck + - cocksucked + - cocksucker + - cocksucking + - cocktail + - cocktease + - cocky + - coconut + - coconuts + - cohee + - coitus + - color + - colored + - coloured + - commie + - communist + - condom + - conservative + - conspiracy + - coolie + - coolies + - cooly + - coon + - "coon ass" + - "coon asses" + - coonass + - coonasses + - coondog + - coons + - copulate + - cornhole + - corruption + - cra5h + - crabs + - crack + - cracka + - cracker + - crackpipe + - crackwhore + - crap + - crapola + - crapper + - crappy + - crash + - creamy + - crime + - crimes + - criminal + - criminals + - crotch + - crotchjockey + - crotchmonkey + - crotchrot + - cum + - cumbubble + - cumfest + - cumjockey + - cumm + - cummer + - cumming + - cummings + - cumquat + - cumqueen + - cumshot + - cunilingus + - cunillingus + - cunn + - cunnilingus + - cunntt + - cunt + - cunteyed + - cuntfuck + - cuntfucker + - cuntlick + - cuntlicker + - cuntlicking + - cuntsucker + - "curry muncher" + - "curry munchers" + - currymuncher + - currymunchers + - cushi + - cushis + - cybersex + - cyberslimer + - dago + - dagos + - dahmer + - dammit + - damn + - damnation + - damnit + - darkey + - darkeys + - darkie + - darkies + - darky + - datnigga + - dead + - deapthroat + - death + - deepthroat + - defecate + - dego + - degos + - demon + - deposit + - desire + - destroy + - deth + - devil + - devilworshipper + - "diaper head" + - "diaper heads" + - diaperhead + - diaperheads + - dick + - dickbrain + - dickforbrains + - dickhead + - dickless + - dicklick + - dicklicker + - dickman + - dickwad + - dickweed + - diddle + - die + - died + - dies + - dike + - dildo + - dingleberry + - dink + - dinks + - dipshit + - dipstick + - dirty + - disease + - diseases + - disturbed + - dive + - dix + - dixiedike + - dixiedyke + - doggiestyle + - doggystyle + - dong + - doodoo + - doom + - dope + - "dot head" + - "dot heads" + - dothead + - dotheads + - dragqueen + - dragqween + - dripdick + - drug + - drunk + - drunken + - dumb + - dumbass + - dumbbitch + - dumbfuck + - "dune coon" + - "dune coons" + - dyefly + - dyke + - easyslut + - eatballs + - eatme + - eatpussy + - ecstacy + - "eight ball" + - "eight balls" + - ejaculate + - ejaculated + - ejaculating + - ejaculation + - enema + - enemy + - erect + - erection + - ero + - escort + - esqua + - ethiopian + - ethnic + - european + - evl + - excrement + - execute + - executed + - execution + - executioner + - exkwew + - explosion + - facefucker + - faeces + - fag + - fagging + - faggot + - fagot + - failed + - failure + - fairies + - fairy + - faith + - fannyfucker + - fart + - farted + - farting + - farty + - fastfuck + - fat + - fatah + - fatass + - fatfuck + - fatfucker + - fatso + - fckcum + - fear + - feces + - felatio + - felch + - felcher + - felching + - fellatio + - feltch + - feltcher + - feltching + - fetish + - fight + - filipina + - filipino + - fingerfood + - fingerfuck + - fingerfucked + - fingerfucker + - fingerfuckers + - fingerfucking + - fire + - firing + - fister + - fistfuck + - fistfucked + - fistfucker + - fistfucking + - fisting + - flange + - flasher + - flatulence + - floo + - flydie + - flydye + - fok + - fondle + - footaction + - footfuck + - footfucker + - footlicker + - footstar + - fore + - foreskin + - forni + - fornicate + - foursome + - fourtwenty + - fraud + - freakfuck + - freakyfucker + - freefuck + - fruitcake + - fu + - fubar + - fuc + - fucck + - fuck + - fucka + - fuckable + - fuckbag + - fuckbook + - fuckbuddy + - fucked + - fuckedup + - fucker + - fuckers + - fuckface + - fuckfest + - fuckfreak + - fuckfriend + - fuckhead + - fuckher + - fuckin + - fuckina + - fucking + - fuckingbitch + - fuckinnuts + - fuckinright + - fuckit + - fuckknob + - fuckme + - fuckmehard + - fuckmonkey + - fuckoff + - fuckpig + - fucks + - fucktard + - fuckwhore + - fuckyou + - fudgepacker + - fugly + - fuk + - fuks + - funeral + - funfuck + - fungus + - fuuck + - gable + - gables + - gangbang + - gangbanged + - gangbanger + - gangsta + - "gator bait" + - gatorbait + - gay + - gaymuthafuckinwhore + - gaysex + - geez + - geezer + - geni + - genital + - german + - getiton + - gin + - ginzo + - ginzos + - gipp + - gippo + - gippos + - gipps + - girls + - givehead + - glazeddonut + - gob + - god + - godammit + - goddamit + - goddammit + - goddamn + - goddamned + - goddamnes + - goddamnit + - goddamnmuthafucker + - goldenshower + - golliwog + - golliwogs + - gonorrehea + - gonzagas + - gook + - "gook eye" + - "gook eyes" + - gookeye + - gookeyes + - gookies + - gooks + - gooky + - gora + - goras + - gotohell + - goy + - goyim + - greaseball + - greaseballs + - greaser + - greasers + - gringo + - gringos + - groe + - groid + - groids + - gross + - grostulation + - gub + - gubba + - gubbas + - gubs + - guinea + - guineas + - guizi + - gummer + - gun + - gwailo + - gwailos + - gweilo + - gweilos + - gyopo + - gyopos + - gyp + - gyped + - gypo + - gypos + - gypp + - gypped + - gyppie + - gyppies + - gyppo + - gyppos + - gyppy + - gyppys + - gypsies + - gypsy + - gypsys + - hadji + - hadjis + - hairyback + - hairybacks + - haji + - hajis + - hajji + - hajjis + - "half breed" + - "half caste" + - halfbreed + - halfcaste + - hamas + - handjob + - haole + - haoles + - hapa + - harder + - hardon + - harem + - headfuck + - headlights + - hebe + - hebephila + - hebephile + - hebephiles + - hebephilia + - hebephilic + - hebes + - heeb + - heebs + - hell + - henhouse + - heroin + - herpes + - heterosexual + - hijack + - hijacker + - hijacking + - hillbillies + - hillbilly + - hindoo + - hiscock + - hitler + - hitlerism + - hitlerist + - hiv + - ho + - hobo + - hodgie + - hoes + - hole + - holestuffer + - homicide + - homo + - homobangers + - homosexual + - honger + - honk + - honkers + - honkey + - honkeys + - honkie + - honkies + - honky + - hook + - hooker + - hookers + - hooters + - hore + - hori + - horis + - hork + - horn + - horney + - horniest + - horny + - horseshit + - hosejob + - hoser + - hostage + - hotdamn + - hotpussy + - hottotrot + - hummer + - hun + - huns + - husky + - hussy + - hustler + - hymen + - hymie + - hymies + - iblowu + - idiot + - ike + - ikes + - ikey + - ikeymo + - ikeymos + - ikwe + - illegal + - illegals + - incest + - indon + - indons + - injun + - injuns + - insest + - intercourse + - interracial + - intheass + - inthebuff + - israel + - israeli + - israels + - italiano + - itch + - jackass + - jackoff + - jackshit + - jacktheripper + - jade + - jap + - japanese + - japcrap + - japie + - japies + - japs + - jebus + - jeez + - jerkoff + - jerries + - jerry + - jesus + - jesuschrist + - jew + - jewboy + - jewed + - jewess + - jewish + - jig + - jiga + - jigaboo + - jigaboos + - jigarooni + - jigaroonis + - jigg + - jigga + - jiggabo + - jiggabos + - jiggas + - jigger + - jiggers + - jiggs + - jiggy + - jigs + - jihad + - jijjiboo + - jijjiboos + - jimfish + - jism + - jiz + - jizim + - jizjuice + - jizm + - jizz + - jizzim + - jizzum + - joint + - juggalo + - jugs + - "jungle bunnies" + - "jungle bunny" + - junglebunny + - kacap + - kacapas + - kacaps + - kaffer + - kaffir + - kaffre + - kafir + - kanake + - katsap + - katsaps + - khokhol + - khokhols + - kid + - kigger + - kike + - kikes + - kill + - killed + - killer + - killing + - kills + - kimchi + - kimchis + - kink + - kinky + - kissass + - kkk + - klansman + - klansmen + - klanswoman + - klanswomen + - knife + - knockers + - kock + - kondum + - koon + - kotex + - krap + - krappy + - kraut + - krauts + - kuffar + - kum + - kumbubble + - kumbullbe + - kummer + - kumming + - kumquat + - kums + - kunilingus + - kunnilingus + - kunt + - kushi + - kushis + - kwa + - "kwai lo" + - "kwai los" + - ky + - kyke + - kykes + - kyopo + - kyopos + - lactate + - laid + - lapdance + - latin + - lebo + - lebos + - lesbain + - lesbayn + - lesbian + - lesbin + - lesbo + - lez + - lezbe + - lezbefriends + - lezbo + - lezz + - lezzo + - liberal + - libido + - licker + - lickme + - lies + - limey + - limpdick + - limy + - lingerie + - liquor + - livesex + - loadedgun + - lolita + - looser + - loser + - lotion + - lovebone + - lovegoo + - lovegun + - lovejuice + - lovemuscle + - lovepistol + - loverocket + - lowlife + - lsd + - lubejob + - lubra + - lucifer + - luckycammeltoe + - lugan + - lugans + - lynch + - mabuno + - mabunos + - macaca + - macacas + - mad + - mafia + - magicwand + - mahbuno + - mahbunos + - mams + - manhater + - manpaste + - marijuana + - mastabate + - mastabater + - masterbate + - masterblaster + - mastrabator + - masturbate + - masturbating + - mattressprincess + - "mau mau" + - "mau maus" + - maumau + - maumaus + - meatbeatter + - meatrack + - meth + - mexican + - mgger + - mggor + - mick + - mickeyfinn + - mideast + - milf + - minority + - mockey + - mockie + - mocky + - mofo + - moky + - moles + - molest + - molestation + - molester + - molestor + - moneyshot + - "moon cricket" + - "moon crickets" + - mooncricket + - mooncrickets + - mormon + - moron + - moskal + - moskals + - moslem + - mosshead + - mothafuck + - mothafucka + - mothafuckaz + - mothafucked + - mothafucker + - mothafuckin + - mothafucking + - mothafuckings + - motherfuck + - motherfucked + - motherfucker + - motherfuckin + - motherfucking + - motherfuckings + - motherlovebone + - muff + - muffdive + - muffdiver + - muffindiver + - mufflikcer + - mulatto + - muncher + - munt + - murder + - murderer + - muslim + - mzungu + - mzungus + - naked + - narcotic + - nasty + - nastybitch + - nastyho + - nastyslut + - nastywhore + - nazi + - necro + - negres + - negress + - negro + - negroes + - negroid + - negros + - nig + - nigar + - nigars + - niger + - nigerian + - nigerians + - nigers + - nigette + - nigettes + - nigg + - nigga + - niggah + - niggahs + - niggar + - niggaracci + - niggard + - niggarded + - niggarding + - niggardliness + - niggardlinesss + - niggardly + - niggards + - niggars + - niggas + - niggaz + - nigger + - niggerhead + - niggerhole + - niggers + - niggle + - niggled + - niggles + - niggling + - nigglings + - niggor + - niggress + - niggresses + - nigguh + - nigguhs + - niggur + - niggurs + - niglet + - nignog + - nigor + - nigors + - nigr + - nigra + - nigras + - nigre + - nigres + - nigress + - nigs + - nip + - nipple + - nipplering + - nittit + - nlgger + - nlggor + - nofuckingway + - nook + - nookey + - nookie + - noonan + - nooner + - nude + - nudger + - nuke + - nutfucker + - nymph + - ontherag + - oral + - oreo + - oreos + - orga + - orgasim + - orgasm + - orgies + - orgy + - osama + - paddy + - paederastic + - paederasts + - paederasty + - paki + - pakis + - palesimian + - palestinian + - "pancake face" + - "pancake faces" + - pansies + - pansy + - panti + - panties + - payo + - pearlnecklace + - peck + - pecker + - peckerwood + - pederastic + - pederasts + - pederasty + - pedo + - pedophile + - pedophiles + - pedophilia + - pedophilic + - pee + - peehole + - peepee + - peepshow + - peepshpw + - pendy + - penetration + - peni5 + - penile + - penis + - penises + - penthouse + - period + - perv + - phonesex + - phuk + - phuked + - phuking + - phukked + - phukking + - phungky + - phuq + - pi55 + - picaninny + - piccaninny + - pickaninnies + - pickaninny + - piefke + - piefkes + - piker + - pikey + - piky + - pimp + - pimped + - pimper + - pimpjuic + - pimpjuice + - pimpsimp + - pindick + - piss + - pissed + - pisser + - pisses + - pisshead + - pissin + - pissing + - pissoff + - pistol + - pixie + - pixy + - playboy + - playgirl + - pocha + - pochas + - pocho + - pochos + - pocketpool + - pohm + - pohms + - polack + - polacks + - pollock + - pollocks + - pom + - pommie + - "pommie grant" + - "pommie grants" + - pommies + - pommy + - poms + - poo + - poon + - poontang + - poop + - pooper + - pooperscooper + - pooping + - poorwhitetrash + - popimp + - "porch monkey" + - "porch monkies" + - porchmonkey + - porn + - pornflick + - pornking + - porno + - pornography + - pornprincess + - pot + - poverty + - "prairie nigger" + - "prairie niggers" + - premature + - pric + - prick + - prickhead + - primetime + - propaganda + - pros + - prostitute + - protestant + - pu55i + - pu55y + - pube + - pubic + - pubiclice + - pud + - pudboy + - pudd + - puddboy + - puke + - puntang + - purinapricness + - puss + - pussie + - pussies + - pussy + - pussycat + - pussyeater + - pussyfucker + - pussylicker + - pussylips + - pussylover + - pussypounder + - pusy + - quashie + - que + - queef + - queer + - quickie + - quim + - ra8s + - rabbi + - racial + - racist + - radical + - radicals + - raghead + - ragheads + - randy + - rape + - raped + - raper + - rapist + - rearend + - rearentry + - rectum + - redleg + - redlegs + - redlight + - redneck + - rednecks + - redskin + - redskins + - reefer + - reestie + - refugee + - reject + - remains + - rentafuck + - republican + - rere + - retard + - retarded + - ribbed + - rigger + - rimjob + - rimming + - roach + - robber + - "round eyes" + - roundeye + - rump + - russki + - russkie + - sadis + - sadom + - sambo + - sambos + - samckdaddy + - "sand nigger" + - "sand niggers" + - sandm + - sandnigger + - satan + - scag + - scallywag + - scat + - schlong + - schvartse + - schvartsen + - schwartze + - schwartzen + - screw + - screwyou + - scrotum + - scum + - semen + - seppo + - seppos + - septic + - septics + - servant + - sex + - sexed + - sexfarm + - sexhound + - sexhouse + - sexing + - sexkitten + - sexpot + - sexslave + - sextogo + - sextoy + - sextoys + - sexual + - sexually + - sexwhore + - sexy + - sexymoma + - sexyslim + - shag + - shaggin + - shagging + - shat + - shav + - shawtypimp + - sheeney + - shhit + - shiksa + - shinola + - shit + - shitcan + - shitdick + - shite + - shiteater + - shited + - shitface + - shitfaced + - shitfit + - shitforbrains + - shitfuck + - shitfucker + - shitfull + - shithapens + - shithappens + - shithead + - shithouse + - shiting + - shitlist + - shitola + - shitoutofluck + - shits + - shitstain + - shitted + - shitter + - shitting + - shitty + - shoot + - shooting + - shortfuck + - showtime + - shylock + - shylocks + - sick + - sissy + - sixsixsix + - sixtynine + - sixtyniner + - skank + - skankbitch + - skankfuck + - skankwhore + - skanky + - skankybitch + - skankywhore + - skinflute + - skum + - skumbag + - skwa + - skwe + - slant + - slanteye + - slanty + - slapper + - slaughter + - slav + - slave + - slavedriver + - sleezebag + - sleezeball + - slideitin + - slime + - slimeball + - slimebucket + - slope + - slopehead + - slopeheads + - sloper + - slopers + - slopes + - slopey + - slopeys + - slopies + - slopy + - slut + - sluts + - slutt + - slutting + - slutty + - slutwear + - slutwhore + - smack + - smackthemonkey + - smut + - snatch + - snatchpatch + - snigger + - sniggered + - sniggering + - sniggers + - sniper + - snot + - snowback + - snownigger + - sob + - sodom + - sodomise + - sodomite + - sodomize + - sodomy + - sonofabitch + - sonofbitch + - sooties + - sooty + - sos + - soviet + - spa + - spade + - spades + - spaghettibender + - spaghettinigger + - spank + - spankthemonkey + - spearchucker + - spearchuckers + - sperm + - spermacide + - spermbag + - spermhearder + - spermherder + - spic + - spick + - spicks + - spics + - spig + - spigotty + - spik + - spit + - spitter + - splittail + - spooge + - spreadeagle + - spunk + - spunky + - sqeh + - squa + - squarehead + - squareheads + - squaw + - squinty + - stagg + - stiffy + - strapon + - stringer + - stripclub + - stroke + - stroking + - stuinties + - stupid + - stupidfuck + - stupidfucker + - suck + - suckdick + - sucker + - suckme + - suckmyass + - suckmydick + - suckmytit + - suckoff + - suicide + - swallow + - swallower + - swalow + - "swamp guinea" + - "swamp guineas" + - swastika + - sweetness + - syphilis + - taboo + - tacohead + - tacoheads + - taff + - tampon + - tang + - tantra + - "tar babies" + - "tar baby" + - tarbaby + - tard + - teat + - terror + - terrorist + - teste + - testicle + - testicles + - thicklip + - thicklips + - thirdeye + - thirdleg + - threesome + - threeway + - "timber nigger" + - "timber niggers" + - timbernigger + - tinker + - tinkers + - tinkle + - tit + - titbitnipply + - titfuck + - titfucker + - titfuckin + - titjob + - titlicker + - titlover + - tits + - tittie + - titties + - titty + - tnt + - toilet + - tongethruster + - tongue + - tonguethrust + - tonguetramp + - tortur + - torture + - tosser + - "towel head" + - "towel heads" + - towelhead + - trailertrash + - tramp + - trannie + - tranny + - transexual + - transsexual + - transvestite + - trap + - triplex + - trisexual + - trojan + - trots + - tuckahoe + - tunneloflove + - turd + - turnon + - twat + - twink + - twinkie + - twobitwhore + - uck + - uk + - ukrop + - "uncle tom" + - unfuckable + - upskirt + - uptheass + - upthebutt + - urinary + - urinate + - urine + - usama + - uterus + - vagina + - vaginal + - vatican + - vibr + - vibrater + - vibrator + - vietcong + - violence + - virgin + - virginbreaker + - vomit + - vulva + - wab + - wank + - wanker + - wanking + - waysted + - weapon + - weenie + - weewee + - welcher + - welfare + - wetb + - wetback + - wetbacks + - wetspot + - whacker + - whash + - whigger + - whiggers + - whiskey + - whiskeydick + - whiskydick + - whit + - "white trash" + - whitenigger + - whites + - whitetrash + - whitey + - whiteys + - whities + - whiz + - whop + - whore + - whorefucker + - whorehouse + - wigga + - wiggas + - wigger + - wiggers + - willie + - williewanker + - willy + - wn + - wog + - wogs + - womens + - wop + - wtf + - wuss + - wuzzie + - xkwe + - xtc + - xxx + - yank + - yankee + - yankees + - yanks + - yarpie + - yarpies + - yellowman + - yid + - yids + - zigabo + - zigabos + - zipperhead + - zipperheads diff --git a/.github/styles/style-p3/Race.yml b/.github/styles/style-p3/Race.yml new file mode 100644 index 000000000..9979c0b20 --- /dev/null +++ b/.github/styles/style-p3/Race.yml @@ -0,0 +1,87 @@ +--- +extends: substitution +message: Consider using '%s' instead of '%s'. +ignorecase: true +level: warning +action: + name: replace +swap: + Gipsy: Nomad|Traveler|Roma|Romani + Indian country: enemy territory + animal spirit: favorite|inspiration|personal interest|personality type + black list: blocklist|wronglist|banlist|deny list + blacklist: blocklist|wronglist|banlist|deny list + blacklisted: blocklisted|wronglisted|banlisted|deny-listed + blacklisting: blocklisting|wronglisting|banlisting|deny-listing + bugreport: bug report|snapshot + circle the wagons: defend + dream catcher: favorite|inspiration|personal interest|personality type + eskimo: Inuit + eskimos: Inuits + ghetto: projects|urban + goy: a person who is not Jewish|not Jewish + goyim: a person who is not Jewish|not Jewish + goyum: a person who is not Jewish|not Jewish + grandfather clause: legacy policy|legacy clause|deprecation policy + grandfather policy: legacy policy|legacy clause|deprecation policy + grandfathered: deprecated + grandfathering: deprecate + gyp: Nomad|Traveler|Roma|Romani + gyppo: Nomad|Traveler|Roma|Romani + gypsy: Nomad|Traveler|Roma|Romani + hymie: Jewish person + indian give: "go back on one\u2019s offer" + indian giver: "go back on one\u2019s offer" + japs: Japanese person|Japanese people + jump the reservation: disobey|endure|object to|oppose|resist + latina: Latinx + latino: Latinx + long time no hear: "I haven\u2019t seen you in a long time|it\u2019s been a long\ + \ time" + long time no see: "I haven\u2019t seen you in a long time|it\u2019s been a long\ + \ time" + master: primary|hub|reference + masters: primaries|hubs|references + mexican: Latinx + natives are becoming restless: dissatisfied|frustrated + natives are getting restless: dissatisfied|frustrated + natives are growing restless: dissatisfied|frustrated + natives are restless: dissatisfied|frustrated + non white: person of color|people of color + nonwhite: person of color|people of color + off reserve: disobey|endure|object to|oppose|resist + off the reservation: disobey|endure|object to|oppose|resist + on the warpath: defend + oriental: Asian person + orientals: Asian people + pinays: Filipinos|Filipino people + pinoys: Filipinos|Filipino people + pocahontas: Native American + pow wow: conference|gathering|meeting + powwow: conference|gathering|meeting + primitive: simple|indigenous|hunter-gatherer + red indian: Native American + red indians: Native American People + redskin: Native American + redskins: Native American People + sand niggers: Arabs|Middle Eastern People + savage: simple|indigenous|hunter-gatherer + shlomo: Jewish person + shyster: Jewish person + sophisticated culture: complex culture + sophisticated technology: complex technology + spade: a Black person + spirit animal: favorite|inspiration|personal interest|personality type + stone age: simple|indigenous|hunter-gatherer + too many chiefs: too many chefs in the kitchen|too many cooks spoil the broth + totem: favorite|inspiration|personal interest|personality type + towel heads: Arabs|Middle Eastern People + tribe: society|community + white list: passlist|alrightlist|safelist|allow list + white space: space|blank + white spaces: space|blank + whitelist: passlist|alrightlist|safelist|allow list + whitelisted: passlisted|alrightlisted|safelisted|allow-listed + whitelisting: passlisting|alrightlisting|safelisting|allow-listing + whitespace: space|blank + whitespaces: space|blank diff --git a/.github/workflows/vale_linting.yaml b/.github/workflows/vale_linting.yaml new file mode 100644 index 000000000..fc4de549a --- /dev/null +++ b/.github/workflows/vale_linting.yaml @@ -0,0 +1,31 @@ +# +# Copyright 2021 Graviti. Licensed under MIT License. +# + +--- +name: Vale-linting +on: [push, pull_request] + +jobs: + prose: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@master + + - name: Vale + uses: errata-ai/vale-action@v1 + with: + # Optional + styles: | + + + # Optional + config: + + # Optional + files: __onlyModified + env: + # Required, set by GitHub actions automatically: + # https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} \ No newline at end of file diff --git a/vale.ini b/vale.ini new file mode 100644 index 000000000..7e7e8e901 --- /dev/null +++ b/vale.ini @@ -0,0 +1,9 @@ +StylesPath = .github/styles + +MinAlertLevel = suggestion +IgnoredScopes = none + +Vocab = Graviti + +[*.{md,txt,py,rst}] +BasedOnStyles = Vale, style-p1 diff --git a/vale_test/temp.txt b/vale_test/temp.txt new file mode 100644 index 000000000..108620bb1 --- /dev/null +++ b/vale_test/temp.txt @@ -0,0 +1,14 @@ +She like a bike. +He have a gift, which is a lot of bikes. +Do you happy? +Are you like the park? + +She like a bike. +He have a gift, which is a lot of bikes. +Do you happy? +Are you like the park? + +She like a bike. +He have a gift, which is a lot of bikes. +Do you happy? +Are you like the park?