mirror of
https://github.com/nvbn/thefuck.git
synced 2025-09-28 16:12:36 +01:00
Add flake8 instructions to README.md
Also add flake8 to requirements.txt so that it will be installed by: pip install -r requirements.txt
This commit is contained in:
@@ -34,7 +34,6 @@ before_install:
|
||||
- if [[ $TRAVIS_OS_NAME == "osx" ]]; then source venv/bin/activate; fi
|
||||
- pip install -U pip
|
||||
- pip install -U coveralls
|
||||
- pip install -U flake8
|
||||
install:
|
||||
- pip install -Ur requirements.txt
|
||||
- python setup.py develop
|
||||
|
@@ -370,6 +370,12 @@ pip install -r requirements.txt
|
||||
python setup.py develop
|
||||
```
|
||||
|
||||
Run code style checks:
|
||||
|
||||
```bash
|
||||
flake8
|
||||
```
|
||||
|
||||
Run unit tests:
|
||||
|
||||
```bash
|
||||
|
@@ -1,4 +1,5 @@
|
||||
pip
|
||||
flake8
|
||||
pytest
|
||||
mock
|
||||
pytest-mock
|
||||
|
Reference in New Issue
Block a user