Sfoglia il codice sorgente

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

version-14
Mohammad Hasnain Mohsin Rajan 4 anni fa
committed by GitHub
parent
commit
e66d81cfd6
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 4AEE18F83AFDEB23
2 ha cambiato i file con 35 aggiunte e 0 eliminazioni
  1. +32
    -0
      .flake8
  2. +3
    -0
      sider.yml

+ 32
- 0
.flake8 Vedi 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
- 0
sider.yml Vedi File

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

Caricamento…
Annulla
Salva