Skip to content

Commit

Permalink
Fix #1252: In dev README, show linter commands to run, to be in line …
Browse files Browse the repository at this point in the history
…with CI
  • Loading branch information
trentmc authored Jun 19, 2024
1 parent c81885d commit 117b726
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions READMEs/dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,17 +61,17 @@ pytest pdr_backend/util/test_ganache/test_contract.py::test_get_contract_filenam
pytest
```

In work console, run linting checks:
In work console, run linting checks. The commands use the same configuration as CI.

```console
# mypy does static type-checking and more. Configure it via mypy.ini
mypy ./
# mypy does static type-checking and more. Use same configuration as in CI
mypy --config-file mypy.ini ./

# run linting on code style. Configure it via .pylintrc.
pylint *
# run linting on code style. Use same configuration as in CI
pylint --rcfile .pylintrc * pdr_backend/*

# auto-fix some pylint complaints like whitespace
black ./
black --check .
```

=======
Expand Down

0 comments on commit 117b726

Please sign in to comment.