Skip to content

Commit 9358611

Browse files
authored
Enable python lint in CI (#474)
Motivation: More checking is better Modifications: Enable and configure flake8 Result: More CI checks
1 parent fd48cf3 commit 9358611

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

.flake8

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[flake8]
2+
3+
ignore =
4+
# These are needed to make our license headers pass the linting
5+
E265,
6+
E266,
7+
8+
# 10% larger than the standard 80 character limit. Conforms to the black
9+
# standard and Bugbear's B950.
10+
max-line-length = 88
11+
exclude =
12+
Tests/hpack-test-case

.github/workflows/pull_request.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ jobs:
1111
with:
1212
license_header_check_project_name: "SwiftNIO"
1313
format_check_enabled: false
14-
unacceptable_language_check_enabled: true
1514
shell_check_enabled: false
16-
python_lint_check_enabled: false
1715

1816
unit-tests:
1917
name: Unit tests

.licenseignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,4 @@ dev/update-benchmark-thresholds
4444
.gitmodules
4545
FuzzTesting/FailCases/*
4646
Tests/hpack-test-case/*
47+
.flake8

0 commit comments

Comments
 (0)