Skip to content

Commit

Permalink
Remove msg template section from readme file
Browse files Browse the repository at this point in the history
  • Loading branch information
codingjoe committed Mar 9, 2023
1 parent 9907f33 commit 9b20c66
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,25 +56,6 @@ option `--diff [-d]` or `--git-diff [-g]`:
git diff --unified=0 | relint my_file.py --diff
```

### Custom message format

Customize the output message format with the `--msg-template=<format string>` option.
[Python format syntax](https://docs.python.org/3/library/string.html#formatstrings)
is suported for the message template and the following fields are available:

* `filename`
The name of the file being linted.

* `line_no`
The line number of the match.

* `match`
The matched text.

* `test.*`
Any attribute of the test rule, e.g. `test.name` or `test.hint`.


### pre-commit

You can automate the linting process by adding a
Expand Down

0 comments on commit 9b20c66

Please sign in to comment.