mirror of
https://github.com/sissbruecker/linkding.git
synced 2026-02-28 06:53:12 +08:00
Format and lint with ruff (#1263)
This commit is contained in:
10
README.md
10
README.md
@@ -96,9 +96,17 @@ Run all tests with pytest:
|
||||
make test
|
||||
```
|
||||
|
||||
|
||||
### Linting
|
||||
|
||||
Run linting with ruff:
|
||||
```
|
||||
make lint
|
||||
```
|
||||
|
||||
### Formatting
|
||||
|
||||
Format Python code with black, Django templates with djlint, and JavaScript code with prettier:
|
||||
Format Python code with ruff, Django templates with djlint, and JavaScript code with prettier:
|
||||
```
|
||||
make format
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user