ailia-ai / ailia-ai/ailia-models

Avoid relative imports in Python scripts

オープン
#1,382 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
Python
スター
2.4k
フォーク
365
平均マージ
3日 17時間
マージ済み PR(30日)
13

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。