4paradigm / 4paradigm/OpenMLDB

python: `pylint` check found many error

Aperta
#1,883 7 commenti 0 reazioni 2 assegnatari Rivendicata da @mangoGoForward Vedi su GitHub
call-for-contributions code-standards
Lingua principale
C++
Stelle
1.7k
Fork
331
Merge medio
12g 12h
PR unite (30g)
1

Descrizione

**Bug Description**
There are many error about `pylint`, and the pr of [feat: support pylint check in github action](https://github.com/4paradigm/OpenMLDB/pull/1873) has already integrate pylint to GitHub actions, So it is time to solve those error.

**Expected Behavior**
Execute `make lint` and got no errors.

**Steps to Reproduce**

1. execute command of `make lint`

And I'd like to solve this issue.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Run `make lint` to see the pylint errors. Look at the GitHub Actions configuration from PR #1873 to understand the linting setup. Fix the errors in the Python codebase, likely in scripts or tools directories. Verify by running the lint command again to ensure no errors remain.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python
Ambito
ci-cd, tooling
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Specificata chiaramente
Idoneità per principianti
40/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.