Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement/doc-integration #1874

Merged
merged 22 commits into from
May 2, 2024
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/styles/Kedro-viz/Spellings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
extends: spelling
message: "Did you really mean '%s'?"
level: warning
ignore:
- Kedro/ignore.txt
Huongg marked this conversation as resolved.
Show resolved Hide resolved
- Kedro/ignore-names.txt
Huongg marked this conversation as resolved.
Show resolved Hide resolved
11 changes: 11 additions & 0 deletions .github/styles/Kedro-viz/abbreviations.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
extends: substitution
message: "Use '%s' instead of abbreviations like '%s'."
ignorecase: true
level: warning
nonword: true
action:
name: replace
swap:
'\b(?:eg|e\.g\.|eg\.)[\s,]': for example
'\b(?:ie|i\.e\.|ie\.)[\s,]': that is
'\b(?:etc)[\s\n,.]': and more
13 changes: 13 additions & 0 deletions .github/styles/Kedro-viz/gender.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
extends: existence
message: "Use a gender-neutral pronoun instead of '%s'."
level: error
ignorecase: true
tokens:
- he/she
- s/he
- \(s\)he
- \bhe\b
- \bhim\b
- \bhis\b
- \bshe\b
- \bher\b
56 changes: 56 additions & 0 deletions .github/styles/Kedro-viz/headings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
extends: capitalization
message: "'%s' should use sentence-style capitalization."
level: warning
scope: heading
match: $sentence
exceptions:
- Kedro
- Kedro-Viz
- Airflow
- Amazon
- Amazon Web Services
- AWS Step Functions
- AWS Systems Manager
- Azure
- Azure App Service
- Azure App Service Plan
- Azure Blob Storage
- Azure Event Hub
- CI/CD
- DataCatalog
- Data Catalog
- Docker
- Docker Compose
- Docker Swarm
- Dockerfile
- GitHub
- GitHub Actions
- Google
- Google Analytics
- Google Cloud
- Google Cloud Functions
- GraphQL
- Hook
- Hooks
- IDs
- Jenkins
- JFrog
- JFrog Artifactory
- Jira
- Kafka
- Kubernetes
- Kubernetes Engine
- Kubernetes Pod
- Kubernetes Service
- Lambda
- Linux
- MySQL
- Python
- QuantumBlack
- QuantumBlack Labs
- Red Hat
- Redis
- Slack
- Ubuntu
- Unix
- URLs
111 changes: 111 additions & 0 deletions .github/styles/Kedro-viz/ignore-names.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
Ahdra
Huongg marked this conversation as resolved.
Show resolved Hide resolved
Aris
Alves
Alam
Andrew
Andrii
Anton
Antony
Ankita
Batori
Braccialli
Brummitt
Cano
Carvalho
Cvetanka
Czakon
Chan
Comym
Couto
Daiha
Dada
Danov
Datta
DeBold
Deepyaman
Deriabin
Diaz
Dmitrii
Dmitry
Emamjome
Erins
Gabriel
Gundaniya
Guilherme
Hamza
Hoang
Holzer
Huong
Helmhold
Ignacio
Ivaniuk
Ivan
Jakub
Jannic
Jankowski
Jitendra
Jiri
Jo
Joel
Juan
Kadiri
Kaiser
Kaltsas
Kanchwala
Katiyar
Khan
Kirilenko
Kiyohito
Klein
Kunii
Kumar
Lais
Laura
Liam
Lim
Lorena
Machado
Mackay
Malte
Malloy
Marcin
Meisam
Merali
Merel
Milne
Nasef
Nechevska
Nero
Nguyen
Nikolaos
Nikolic
Nok
Okwa
Oza
Paricio
Patel
Peteris
Pilla
Rashida
Ravi
Richard
Schwarzmann
Sorokin
Stichbury
Susanna
Sajid
Stephanie
Takieddine
Theisen
Tynan
Tsaousis
Valtazanos
Vladimir
Waylon
Westenra
Wong
Wrigley
Yolan
Yetunde
Zablocki
Zain
33 changes: 33 additions & 0 deletions .github/styles/Kedro-viz/ignore.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
Kedro
kedro
Kedro's
kedro's
Kubeflow
Databricks
Conda
conda
Cookiecutter
config
fsspec
Kaggle
namespace
namespaces
namespaced
regressors
repo
Repo
dbx
MLflow
csv
yaml
matplotlib
Matplotlib
IPython
APIs
networkx
Plotly
Pylint
SQLAlchemy
Astro
Xebia
pytest
12 changes: 12 additions & 0 deletions .github/styles/Kedro-viz/inclusive.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
extends: substitution
message: "Use '%s' instead of '%s'."
ignorecase: true
level: error
action:
name: replace
swap:
# bad: good
'black ?list': 'disallow list|exclude list'
'master': primary
'slave': secondary
'white ?list': 'allow list|include list'
12 changes: 12 additions & 0 deletions .github/styles/Kedro-viz/links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
extends: substitution
message: "Use '%s' instead of '%s'."
ignorecase: true
level: error
action:
name: replace
swap:
# bad: good
'black ?list': 'disallow list|exclude list'
'master': primary
'slave': secondary
'white ?list': 'allow list|include list'
6 changes: 6 additions & 0 deletions .github/styles/Kedro-viz/oxfordcomma.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
extends: existence
message: "Use the Oxford comma in '%s'."
scope: sentence
level: suggestion
tokens:
- '(?:[^,]+,){1,}\s\w+\s(?:and|or)'
11 changes: 11 additions & 0 deletions .github/styles/Kedro-viz/pronouns.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
extends: existence
message: "Avoid first-person singular pronouns such as '%s'."
level: warning
nonword: true
tokens:
- (?<=^|\s)I(?=\s)
- (?<=^|\s)I,(?=\s)
- \bI'm\b
- (?<=\s)[Mm]e\b
- (?<=\s)[Mm]y\b
- (?<=\s)[Mm]ine\b
11 changes: 11 additions & 0 deletions .github/styles/Kedro-viz/sentencelength.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
extends: occurrence
message: "Try to keep your sentence length to 30 words or fewer."
level: suggestion
# Here, we're counting the number of words
# in a sentence.
#
# If there are more than 30, we'll flag it.
scope: sentence
ignorecase: false
max: 30
token: (\w+)
Loading
Loading