Disable flake8 rule E203 (#2821)

* Disable flake8 rule E203

* Fix test case

* Fix test case

* Fix test case

* empty commit

* Ignore W503

* Change settings
This commit is contained in:
Masaya Suzuki 2022-05-02 23:28:30 +09:00 committed by GitHub
parent 651cff3720
commit 8129a432c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 0 deletions

View file

@ -11,6 +11,8 @@ env = load_dotenv()
api_url = getenv(API_URL, default='https://api.github.com/graphql' )
github_token = getenv("GITHUB_TOKEN",
default=None)
m = [1, 2, 3]
print(m[len("t"):])
if github_token is None
sys.exit("GitHub Token is not set." +

View file

@ -10,6 +10,8 @@ from dotenv import load_dotenv # pylint: disable=import-error
env = load_dotenv()
api_url = getenv("API_URL", default="https://api.github.com/graphql")
github_token = getenv("GITHUB_TOKEN", default=None)
m = [1, 2, 3]
print(m[len("t") :])
if github_token is None:
sys.exit(

View file

@ -10,6 +10,8 @@ from dotenv import load_dotenv # pylint: disable=import-error
env = load_dotenv()
api_url = getenv("API_URL", default="https://api.github.com/graphql")
github_token = getenv("GITHUB_TOKEN", default=None)
m = [1, 2, 3]
print(m[len("t") :])
if github_token is None:
sys.exit(

View file

@ -1,2 +1,3 @@
[flake8]
max-line-length = 120
extend-ignore = E203

View file

@ -1,2 +1,3 @@
[flake8]
max-line-length = 120
extend-ignore = E203