Skip to content

Commit f081580

Browse files
author
Peter Mounce
committed
tweak python rules
1 parent 73ec64c commit f081580

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.flake8

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# https://flake8.pycqa.org/en/latest/user/configuration.html#configuration-locations
2+
# +
3+
# https://github.com/psf/black/blob/master/docs/the_black_code_style.md#line-length
24
[flake8]
3-
ignore =
4-
# don't care about line length.
5-
E501
5+
# black wraps at 88
6+
max-line-length = 90
7+
extend-ignore = E203

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,5 @@ repos:
7676
rev: 20.8b1
7777
hooks:
7878
- id: black
79+
args:
80+
- --skip-string-normalization

0 commit comments

Comments
 (0)