chore(sider): add sider default config for flake8 + ignore tab errors (W191) (#12587)

This commit is contained in:
Mohammad Hasnain Mohsin Rajan 2021-03-16 17:07:41 +05:30 committed by GitHub
parent 5ca9f0a206
commit e66d81cfd6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 35 additions and 0 deletions

32
.flake8 Normal file
View file

@ -0,0 +1,32 @@
[flake8]
ignore =
E121,
E126,
E127,
E128,
E203,
E225,
E226,
E231,
E241,
E251,
E261,
E265,
E302,
E303,
E305,
E402,
E501,
E741,
W291,
W292,
W293,
W391,
W503,
W504,
F403,
B007,
B950,
W191,
max-line-length = 200

3
sider.yml Normal file
View file

@ -0,0 +1,3 @@
linter:
flake8:
config: .flake8