mirror of
https://github.com/apple/swift-nio-http2
synced 2026-11-22 04:30:43 +00:00
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:
1 parent
fd48cf3099
commit
93586110f2
3 files changed
+13
-2
No files matched your search
@@ -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
|
||||
@@ -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
|
||||
|
||||
@@ -44,3 +44,4 @@ dev/update-benchmark-thresholds
|
||||
.gitmodules
|
||||
FuzzTesting/FailCases/*
|
||||
Tests/hpack-test-case/*
|
||||
.flake8
|
||||
Reference in new issue
Block a user