diff --git a/.flake8 b/.flake8 new file mode 100644 index 00000000..dd042f52 --- /dev/null +++ b/.flake8 @@ -0,0 +1,9 @@ +[flake8] +# E121: Continuation line under-indented for hanging indent +# E123: Continuation line missing indentation or outdented +# E125: Continuation line with same indent as next logical line +# E128: Continuation line under-indented for visual indent +# E226: Missing whitespace around arithmetic operator +# W503: Line break occurred before a binary operator +ignore=E121,E123,E125,E128,E226,W503 +max-line-length=110 \ No newline at end of file diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 7e3169e7..c2b20129 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -18,7 +18,7 @@ jobs: run: python -m pip install flake8 - name: Run flake8 linter (source) - run: flake8 --ignore E12,E226,W503 --max-line-length 110 --show-source smart_open + run: flake8 --show-source smart_open unit_tests: needs: [linters] diff --git a/integration-tests/test_s3.py b/integration-tests/test_s3.py index 8af3229c..2a6cc845 100644 --- a/integration-tests/test_s3.py +++ b/integration-tests/test_s3.py @@ -11,7 +11,6 @@ import io import os import random -import subprocess import string import boto3