Skip to content

Commit

Permalink
Enable python lint in CI (#474)
Browse files Browse the repository at this point in the history
Motivation:

More checking is better

Modifications:

Enable and configure flake8

Result:

More CI checks
  • Loading branch information
PeterAdams-A authored Oct 29, 2024
1 parent fd48cf3 commit 9358611
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
12 changes: 12 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -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 changes: 0 additions & 2 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .licenseignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,4 @@ dev/update-benchmark-thresholds
.gitmodules
FuzzTesting/FailCases/*
Tests/hpack-test-case/*
.flake8

0 comments on commit 9358611

Please sign in to comment.