mirror of
https://github.com/nvbn/thefuck.git
synced 2025-04-15 07:10:52 +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:
parent
f0b9c7cb67
commit
dda9d55989
@ -34,7 +34,6 @@ before_install:
|
|||||||
- if [[ $TRAVIS_OS_NAME == "osx" ]]; then source venv/bin/activate; fi
|
- if [[ $TRAVIS_OS_NAME == "osx" ]]; then source venv/bin/activate; fi
|
||||||
- pip install -U pip
|
- pip install -U pip
|
||||||
- pip install -U coveralls
|
- pip install -U coveralls
|
||||||
- pip install -U flake8
|
|
||||||
install:
|
install:
|
||||||
- pip install -Ur requirements.txt
|
- pip install -Ur requirements.txt
|
||||||
- python setup.py develop
|
- python setup.py develop
|
||||||
|
@ -370,6 +370,12 @@ pip install -r requirements.txt
|
|||||||
python setup.py develop
|
python setup.py develop
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Run code style checks:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
flake8
|
||||||
|
```
|
||||||
|
|
||||||
Run unit tests:
|
Run unit tests:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
pip
|
pip
|
||||||
|
flake8
|
||||||
pytest
|
pytest
|
||||||
mock
|
mock
|
||||||
pytest-mock
|
pytest-mock
|
||||||
|
Loading…
x
Reference in New Issue
Block a user