ailia-ai / ailia-ai/ailia-models
Avoid relative imports in Python scripts
Aperta
bug
- Lingua principale
- Python
- Stelle
- 2.4k
- Fork
- 365
- Merge medio
- 3g 17h
- PR unite (30g)
- 13
Descrizione
Many places in the current codebase have relative imports to common utility modules.
```
# import original modules
sys.path.append('../../util')
```
It is best to avoid this, as the results will depend on the directory at run time.
https://chat.openai.com/share/6e8b7c33-f160-40ef-8446-b9ef2de82c8d
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.