chore: update explanations about running common tasks like pylint and pre-commit (#12571)

This commit is contained in:
Amit Miran 2021-01-18 09:14:08 +02:00 committed by GitHub
parent 4ddb55b930
commit 377f70b987
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -515,13 +515,19 @@ pip3 install -r requirements/integration.txt
pre-commit install
```
Alternatively it possible to run pre-commit via tox:
```bash
tox -e pre-commit
```
## Linting
Lint the project with:
```bash
# for python
tox -e flake8
tox -e pylint
# for frontend
cd superset-frontend