mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-21 20:22:11 -05:00
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:
parent
651cff3720
commit
8129a432c7
5 changed files with 8 additions and 0 deletions
|
@ -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." +
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -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(
|
||||
|
|
1
.github/linters/.flake8
vendored
1
.github/linters/.flake8
vendored
|
@ -1,2 +1,3 @@
|
|||
[flake8]
|
||||
max-line-length = 120
|
||||
extend-ignore = E203
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
[flake8]
|
||||
max-line-length = 120
|
||||
extend-ignore = E203
|
||||
|
|
Loading…
Reference in a new issue