Skip to content

Commit 302a84e

Browse files
committedJun 2, 2021
Update formatting configurations to more sensible values
1 parent 13395f8 commit 302a84e

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed
 

‎.isort.cfg

+1-3
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ force_add=true
55
force_grid_wrap=0
66
include_trailing_comma=true
77
indent=' '
8-
line_length=60
8+
line_length=100
99
multi_line_output=3
1010
not_skip=__init__.py
11-
known_third_party = django, django_extensions, django_registration, environ, factory, faker, pytz, rest_framework, test_plus
12-
known_first_party = blog, config, contact, organizer, suorganizer, user

‎.pre-commit-config.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,15 @@ repos:
2525
hooks:
2626
- id: black
2727
language_version: python3.8
28+
args:
29+
- --line-length=120
2830
- repo: local
2931
hooks:
3032
- id: flake8
3133
entry: flake8
3234
language: system
3335
name: flake8
3436
types: [python]
35-
exclude: setup.py
37+
args:
38+
- "--max-line-length=120"
39+
exclude: 'setup.py|tests/.*'

‎pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[tool.black]
2-
line-length = 100
2+
line-length = 120
33
py38 = true

‎requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
astroid==2.5.7
12
black==21.5b2
23
flake8==3.7.8
34
flake8-bugbear==19.3.0

0 commit comments

Comments
 (0)
Please sign in to comment.