Skip to content

Commit

Permalink
fix(deps): Upgrade to most recent versions
Browse files Browse the repository at this point in the history
  • Loading branch information
rpatterson committed Aug 18, 2024
1 parent 69856c7 commit dc538af
Show file tree
Hide file tree
Showing 60 changed files with 377 additions and 557 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repos:

# Enforce conventional commit messages before pushing to a remote:
- repo: "https://github.com/commitizen-tools/commitizen"
rev: "3.12.0"
rev: "v3.29.0"
hooks:
- id: "commitizen"

Expand Down
6 changes: 6 additions & 0 deletions .vale.ini
Original file line number Diff line number Diff line change
Expand Up @@ -178,3 +178,9 @@ Joblint.Sexualised = error
Joblint.Starter = error
Joblint.Acronyms = error
Joblint.Meritocracy = error
Microsoft.URLFormat = error
RedHat.ProductCentricWriting = error
RedHat.EmDash = error
RedHat.Using = error
RedHat.SmartQuotes = error
alex.OCD = error
2 changes: 1 addition & 1 deletion newsfragments/+upgrade-requirements.bugfix.rst
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Upgrade all requirements to the most recent versions as of
Thu Nov 9 08:51:35 PM UTC 2023.
Sun Aug 18 12:40:22 AM UTC 2024.
7 changes: 4 additions & 3 deletions styles/Google/EmDash.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
extends: existence
message: "Don't put a space before or after a dash."
link: 'https://developers.google.com/style/dashes'
link: "https://developers.google.com/style/dashes"
nonword: true
level: error
action:
name: edit
params:
- remove
- ' '
- trim
- " "
tokens:
- '\s[—–]\s'

13 changes: 0 additions & 13 deletions styles/Google/EnDash.yml

This file was deleted.

7 changes: 5 additions & 2 deletions styles/Google/Exclamation.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
extends: existence
message: "Don't use exclamation points in text."
link: 'https://developers.google.com/style/exclamation-points'
link: "https://developers.google.com/style/exclamation-points"
nonword: true
level: error
action:
name: remove
name: edit
params:
- trim_right
- "!"
tokens:
- '\w+!(?:\s|$)'
76 changes: 36 additions & 40 deletions styles/Google/GenderBias.yml
Original file line number Diff line number Diff line change
@@ -1,47 +1,43 @@
extends: substitution
message: "Consider using '%s' instead of '%s'."
link: 'https://developers.google.com/style/inclusive-documentation'
ignorecase: true
link: "https://developers.google.com/style/inclusive-documentation"
level: error
action:
name: replace
swap:
(?:alumna|alumnus): graduate
(?:alumnae|alumni): graduates
air(?:m[ae]n|wom[ae]n): pilot(s)
anchor(?:m[ae]n|wom[ae]n): anchor(s)
authoress: author
camera(?:m[ae]n|wom[ae]n): camera operator(s)
chair(?:m[ae]n|wom[ae]n): chair(s)
congress(?:m[ae]n|wom[ae]n): member(s) of congress
door(?:m[ae]|wom[ae]n): concierge(s)
draft(?:m[ae]n|wom[ae]n): drafter(s)
fire(?:m[ae]n|wom[ae]n): firefighter(s)
fisher(?:m[ae]n|wom[ae]n): fisher(s)
fresh(?:m[ae]n|wom[ae]n): first-year student(s)
garbage(?:m[ae]n|wom[ae]n): waste collector(s)
lady lawyer: lawyer
ladylike: courteous
landlord: building manager
mail(?:m[ae]n|wom[ae]n): mail carriers
man and wife: husband and wife
man enough: strong enough
mankind: human kind
manmade: manufactured
manpower: personnel
men and girls: men and women
middle(?:m[ae]n|wom[ae]n): intermediary
news(?:m[ae]n|wom[ae]n): journalist(s)
ombuds(?:man|woman): ombuds
oneupmanship: upstaging
poetess: poet
police(?:m[ae]n|wom[ae]n): police officer(s)
repair(?:m[ae]n|wom[ae]n): technician(s)
sales(?:m[ae]n|wom[ae]n): salesperson or sales people
service(?:m[ae]n|wom[ae]n): soldier(s)
steward(?:ess)?: flight attendant
tribes(?:m[ae]n|wom[ae]n): tribe member(s)
waitress: waiter
woman doctor: doctor
woman scientist[s]?: scientist(s)
work(?:m[ae]n|wom[ae]n): worker(s)
(?:alumna|alumnus): graduate
(?:alumnae|alumni): graduates
air(?:m[ae]n|wom[ae]n): pilot(s)
anchor(?:m[ae]n|wom[ae]n): anchor(s)
authoress: author
camera(?:m[ae]n|wom[ae]n): camera operator(s)
door(?:m[ae]|wom[ae]n): concierge(s)
draft(?:m[ae]n|wom[ae]n): drafter(s)
fire(?:m[ae]n|wom[ae]n): firefighter(s)
fisher(?:m[ae]n|wom[ae]n): fisher(s)
fresh(?:m[ae]n|wom[ae]n): first-year student(s)
garbage(?:m[ae]n|wom[ae]n): waste collector(s)
lady lawyer: lawyer
ladylike: courteous
mail(?:m[ae]n|wom[ae]n): mail carriers
man and wife: husband and wife
man enough: strong enough
mankind: human kind|humanity
manmade: manufactured
manpower: personnel
middle(?:m[ae]n|wom[ae]n): intermediary
news(?:m[ae]n|wom[ae]n): journalist(s)
ombuds(?:man|woman): ombuds
oneupmanship: upstaging
poetess: poet
police(?:m[ae]n|wom[ae]n): police officer(s)
repair(?:m[ae]n|wom[ae]n): technician(s)
sales(?:m[ae]n|wom[ae]n): salesperson or sales people
service(?:m[ae]n|wom[ae]n): soldier(s)
steward(?:ess)?: flight attendant
tribes(?:m[ae]n|wom[ae]n): tribe member(s)
waitress: waiter
woman doctor: doctor
woman scientist[s]?: scientist(s)
work(?:m[ae]n|wom[ae]n): worker(s)
6 changes: 3 additions & 3 deletions styles/Google/HeadingPunctuation.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
extends: existence
message: "Don't put a period at the end of a heading."
link: 'https://developers.google.com/style/capitalization#capitalization-in-titles-and-headings'
link: "https://developers.google.com/style/capitalization#capitalization-in-titles-and-headings"
nonword: true
level: warning
scope: heading
action:
name: edit
params:
- remove
- '.'
- trim_right
- "."
tokens:
- '[a-z0-9][.]\s*$'
1 change: 1 addition & 0 deletions styles/Google/Headings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ exceptions:
- Visual
- VS
- Windows
- JSON
10 changes: 5 additions & 5 deletions styles/Google/LyHyphens.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
extends: existence
message: "'%s' doesn't need a hyphen."
link: 'https://developers.google.com/style/hyphens'
link: "https://developers.google.com/style/hyphens"
level: error
ignorecase: false
nonword: true
action:
name: edit
params:
- replace
- '-'
- ' '
- regex
- "-"
- " "
tokens:
- '\s[^\s-]+ly-'
- '\b[^\s-]+ly-\w+\b'
6 changes: 3 additions & 3 deletions styles/Google/OptionalPlurals.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
extends: existence
message: "Don't use plurals in parentheses such as in '%s'."
link: 'https://developers.google.com/style/plurals-parentheses'
link: "https://developers.google.com/style/plurals-parentheses"
level: error
nonword: true
action:
name: edit
params:
- remove
- '(s)'
- trim_right
- "(s)"
tokens:
- '\b\w+\(s\)'
1 change: 0 additions & 1 deletion styles/Google/WordList.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ swap:
cellular network: mobile network
chapter: documents|pages|sections
check box: checkbox
check: select
CLI: command-line tool
click on: click|click in
Cloud: Google Cloud Platform|GCP
Expand Down
11 changes: 8 additions & 3 deletions styles/Microsoft/Accessibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,25 @@ ignorecase: true
tokens:
- a victim of
- able-bodied
- affected by
- an epileptic
- birth defect
- crippled
- differently abled
- disabled
- dumb
- handicapped
- handicaps
- healthy
- healthy person
- hearing-impaired
- lame
- maimed
- mentally handicapped
- missing a limb
- mute
- normal
- non-verbal
- normal person
- sight-impaired
- slow learner
- stricken with
- suffers from
- vision-impaired
4 changes: 3 additions & 1 deletion styles/Microsoft/Adverbs.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
extends: existence
message: "Consider removing '%s'."
message: "Remove '%s' if it's not important to the meaning of the statement."
link: https://docs.microsoft.com/en-us/style-guide/word-choice/use-simple-words-concise-sentences
ignorecase: true
level: warning
Expand Down Expand Up @@ -54,6 +54,7 @@ tokens:
- doubtfully
- dreamily
- easily
- effectively
- elegantly
- energetically
- enormously
Expand Down Expand Up @@ -164,6 +165,7 @@ tokens:
- quickly
- quietly
- quirkily
- quite
- quizzically
- randomly
- rapidly
Expand Down
120 changes: 0 additions & 120 deletions styles/Microsoft/ComplexWords.yml

This file was deleted.

Loading

0 comments on commit dc538af

Please sign in to comment.