Enable python lint in CI (#474)

Motivation:

More checking is better

Modifications:

Enable and configure flake8

Result:

More CI checks
This commit is contained in:
Peter Adams authored and GitHub committed 2024-10-29 11:01:43 +00:00
1 parent fd48cf3099
commit 93586110f2
3 files changed
+13 -2

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
[flake8]
ignore =
# These are needed to make our license headers pass the linting
E265,
E266,
# 10% larger than the standard 80 character limit. Conforms to the black
# standard and Bugbear's B950.
max-line-length = 88
exclude =
Tests/hpack-test-case
-2
View File
@@ -11,9 +11,7 @@ jobs:
with:
license_header_check_project_name: "SwiftNIO"
format_check_enabled: false
unacceptable_language_check_enabled: true
shell_check_enabled: false
python_lint_check_enabled: false
unit-tests:
name: Unit tests
+1
View File
@@ -44,3 +44,4 @@ dev/update-benchmark-thresholds
.gitmodules
FuzzTesting/FailCases/*
Tests/hpack-test-case/*
.flake8