Skip to content

Commit

Permalink
Fixed spelling issues
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-flinn committed Mar 6, 2024
1 parent e1951c7 commit de9be6f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions lint-workflow-v2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ All built-in `src/bitwarden_workflow_linter/rules` should have 100% code coverag
We are lax on the
[imperative shell](https://www.destroyallsoftware.com/screencasts/catalog/functional-core-imperative-shell)
(code interacting with other systems; ie. disk, network, etc), but we strive to maintain a high coverage over the
funcationl core (objects and models).
functional core (objects and models).

```
pipenv shell
Expand Down Expand Up @@ -133,7 +133,7 @@ By default, a new Rule needs five things:
- `self.compatibility`: The list of objects this rule is compatible with. This is used to create separate instances of
the Rule for each object in the Rules collection.
- `self.settings`: In general, this should default to what is shown here, but allows for overrides
- `self.fn`: The function doing the actual work to check the object and enforce the standardenforcing.
- `self.fn`: The function doing the actual work to check the object and enforce the standard.

`fn` can be as simple or as complex as it needs to be to run a check on a _single_ object. This linter currently does
not support Rules that check against multiple objects at a time OR file level formatting (one empty between each step or
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class RuleNameCapitalized(Rule):
"""

def __init__(self, settings: Optional[Settings] = None) -> None:
"""Contructor for RuleNameCapitalized to override the Rule class.
"""Constructor for RuleNameCapitalized to override the Rule class.
Args:
settings:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class RuleNameExists(Rule):
"""

def __init__(self, settings: Optional[Settings] = None) -> None:
"""Contructor for RuleNameCapitalized to override Rule class.
"""Constructor for RuleNameCapitalized to override Rule class.
Args:
settings:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
class RuleJobRunnerVersionPinned(Rule):
"""Rule to enforce pinned Runner OS versions.
Using `*-latest` versions will update automatically and broken all of our workflows
in the past. To avoid this and prevent a single event from breaking the majority of
our pipelines, we pin the versions.
Using `*-latest` versions will update automatically and has broken all of
our workflows in the past. To avoid this and prevent a single event from
breaking the majority of our pipelines, we pin the versions.
"""

def __init__(self, settings: Optional[Settings] = None) -> None:
Expand Down

0 comments on commit de9be6f

Please sign in to comment.