kopia lustrzana https://github.com/bellingcat/auto-archiver
Merge pull request #352 from mjgaughan/developer-documentation-updates
updating the style-checking code in the documentationdev
commit
e73faa70cc
|
@ -50,7 +50,7 @@ Note not all warnings can be fixed automatically.
|
||||||
|
|
||||||
Most fixes are safe, but some non-standard practices such as dynamic loading are not picked up by linters. Ensure you check any modifications by this before committing them.
|
Most fixes are safe, but some non-standard practices such as dynamic loading are not picked up by linters. Ensure you check any modifications by this before committing them.
|
||||||
```shell
|
```shell
|
||||||
make ruff-fix
|
make ruff-clean
|
||||||
```
|
```
|
||||||
|
|
||||||
**Changing Configurations ⚙️**
|
**Changing Configurations ⚙️**
|
||||||
|
@ -67,4 +67,4 @@ One example is to extend the selected rules for linting the `pyproject.toml` fil
|
||||||
extend-select = ["B"]
|
extend-select = ["B"]
|
||||||
```
|
```
|
||||||
|
|
||||||
Then re-run the `make ruff-check` command to see the new rules in action.
|
Then re-run the `make ruff-check` command to see the new rules in action.
|
||||||
|
|
Ładowanie…
Reference in New Issue