Skip to content

Commit a203588

Browse files
author
matthias_schaub
committed
Make sure version of black, isort and flake8 are the same across configs.
1 parent 93be73b commit a203588

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ before_install:
1818

1919
install:
2020
- pip install --upgrade pip setuptools
21-
- pip install black flake8 isort
21+
- pip install black==19.10b0 flake8==3.8.3 isort==5.5.2
2222

2323
script:
2424
- black --check mapswipe_workers

docs/source/contributing.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,7 @@ Use [pre-commit](https://pre-commit.com/) to run `black` and `flake8` prior to a
3030
pre-commit install
3131
```
3232

33-
From now on `black` and `flake8` should run automatically whenever `git commit` is executed.
33+
From now on `black`, `flake8` and `isort` should run automatically whenever `git commit` is executed.
34+
35+
When running those tools manually please make sure the right version is used. The version can be looked up in `.pre-commit-config.yaml`.
36+
To update to newer version please make sure to change version numbers in `.pre-commit-config.yaml`, `.travis.yml` and `requirements.txt`.

0 commit comments

Comments
 (0)