22
33## GitHub Action
44
5- Code Limit is available as a [ GitHub
5+ CodeLimit is available as a [ GitHub
66Action] ( https://github.com/getcodelimit/codelimit-action )
77
8- When running as a GitHub Action, Code Limit only checks modified files and
8+ When running as a GitHub Action, CodeLimit only checks modified files and
99* warns* about functions that * should* be refactored and * fails* for functions
1010that * need* to be refactored.
1111
12- To run Code Limit on every push and before every merge to ` main ` , append it to
12+ To run CodeLimit on every push and before every merge to ` main ` , append it to
1313your GH Action workflow:
1414
1515``` yaml
@@ -30,13 +30,13 @@ jobs:
3030 - name : ' Checkout'
3131 uses : actions/checkout@v2
3232
33- - name : ' Run Code Limit '
33+ - name : ' Run CodeLimit '
3434 uses : getcodelimit/codelimit-action@v1
3535` ` `
3636
3737## Pre-commit hook
3838
39- Code Limit can be installed as a [pre-commit](https://pre-commit.com/) hook so
39+ CodeLimit can be installed as a [pre-commit](https://pre-commit.com/) hook so
4040it alarms you during development when it's time to refactor:
4141
4242` ` ` yaml
@@ -46,14 +46,14 @@ it alarms you during development when it's time to refactor:
4646 - id : codelimit
4747` ` `
4848
49- Code Limit is intended to be used alongside formatting, linters and other hooks
49+ CodeLimit is intended to be used alongside formatting, linters and other hooks
5050that improve the consistency and quality of your code (such as
5151[Black](https://github.com/psf/black),
5252[Ruff](https://github.com/astral-sh/ruff) and
5353[MyPy](https://github.com/python/mypy).) As an example pre-commit configuration
5454see the
5555[` pre-commit-config.yaml`](https://github.com/getcodelimit/codelimit/blob/main/.pre-commit-config.yaml)
56- from Code Limit itself.
56+ from CodeLimit itself.
5757
58- When running as a hook, Code Limit *warns* about functions that *should* be
58+ When running as a hook, CodeLimit *warns* about functions that *should* be
5959refactored and *fails* for functions that *need* to be refactord.
0 commit comments