diff --git a/.flake8 b/.flake8 new file mode 100644 index 00000000..41b4e260 --- /dev/null +++ b/.flake8 @@ -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 diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index bcfd7ca2..9c2e2a8f 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -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 diff --git a/.licenseignore b/.licenseignore index 6688dca0..09fef5ae 100644 --- a/.licenseignore +++ b/.licenseignore @@ -44,3 +44,4 @@ dev/update-benchmark-thresholds .gitmodules FuzzTesting/FailCases/* Tests/hpack-test-case/* +.flake8