Skip to content

Commit 6bb397c

Browse files
author
Ethck
committed
Blacked files with pre-commit hooks to 120 line length. Added toml dependency for isort.
1 parent dcf036e commit 6bb397c

File tree

6 files changed

+89
-193
lines changed

6 files changed

+89
-193
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ dist/
55
release*/
66
__pycache__/
77
output/
8+
.git/

.isort.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[settings]
2+
known_third_party = PIL,colorama,keyboard,requests

.pre-commit-config.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
- repo: https://github.com/asottile/seed-isort-config
2-
rev: v1.9.4
3-
hooks:
4-
- id: seed-isort-config
5-
- repo: https://github.com/pre-commit/mirrors-isort
6-
rev: v4.3.21 # pick the isort version you'd like to use from https://github.com/pre-commit/mirrors-isort/releases
7-
hooks:
8-
- id: isort
9-
1+
- repo: https://github.com/asottile/seed-isort-config
2+
rev: v1.9.4
3+
hooks:
4+
- id: seed-isort-config
5+
- repo: https://github.com/pre-commit/mirrors-isort
6+
rev: v4.3.21 # pick the isort version you'd like to use from https://github.com/pre-commit/mirrors-isort/releases
7+
hooks:
8+
- id: isort
9+
additional_dependencies: [toml]
1010
- repo: https://github.com/ambv/black
1111
rev: 19.10b0
1212
hooks:
1313
- id: black
14-
language_version: python3
14+
language_version: python3

0 commit comments

Comments
 (0)