Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
robvanderleek committed Sep 7, 2023
1 parent 137e7ed commit 14bd83c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ Your Refactoring Alarm 🔔
Code Limit is a tool for developers with one goal: _it tells the developer when
it’s time to refactor_.

Keep your code maintainable and start using Code Limit today!
Check out the [documentation](https://codelimit-docs.vercel.app) and start
using Code Limit today to keep your code maintainable.

# Quickstart

Expand Down
6 changes: 3 additions & 3 deletions docs/configuration.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Configuration

## Ignoring functions
## Excluding functions

Functions can be excluded from analysis by putting a `# nocl` comment on the
line above the start of the funtion, or any line of the function header.
line above the start of the function, or at any line of the function header.

For example, to ignore a function with a `# nocl` comment above the start of
the funtions:
the function:

```python
# nocl
Expand Down
9 changes: 4 additions & 5 deletions docs/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,14 @@ from Code Limit itself.
When running as a hook, Code Limit *warns* about functions that *should* be
refactored and *fails* for functions that *need* to be refactord.

To show your project uses Code Limit place this badge in the README markdown:
```
![Checked with Code Limit](https://img.shields.io/badge/CodeLimit-checked-green.svg)](https://github.com/getcodelimit/codelimit)
```

## GitHub Action

Code Limit is available as a GitHub Action

When running as a GitHub Action, Code Limit only checks modified files and
*warns* about functions that *should* be refactored and *fails* for functions
that *need* to be refactored.

To run Code Limit on every push and before every merge to `main`, append it to
your GH Action workflow:

Expand Down

0 comments on commit 14bd83c

Please sign in to comment.