Skip to content

Commit 5f7989a

Browse files
authored
Enable Flake8 line length (aws-observability#16)
Prior to this commit, we were only linting code length, as Black linter does not check comments. This lead to inconsistent files, and is resolved by enabling flake8 line length rules, which checks both code and comments By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
2 parents 477a9e9 + 96150ed commit 5f7989a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.flake8

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
[flake8]
2+
max-line-length = 120
23
ignore =
3-
# line too long, defer to black
4-
E501
5-
64
# allow line breaks before binary ops
75
W503
86

0 commit comments

Comments
 (0)