Commit ccb4030
authored
Add pipeline check for missing __init__.py in sonic-xcvrd whl package (#593)
Description
Ensure that the pipeline fail to build if sonic-xcvrd whl package is missing init.py file.
Motivation and Context
The __init__.py file is necessary in each directory to indicate that the directory should be treated as a package.
Tools like setuptools and find_packages() rely on the presence of __init__.py files to identify packages and subpackages.
Without __init__.py files, the directories will not be included in the package distribution, leading to incomplete or broken packages.
By ensuring that each directory contains an __init__.py file, we can create a complete and functional Python wheel package.1 parent ee4fb9e commit ccb4030
File tree
3 files changed
+11
-0
lines changed- sonic-xcvrd/xcvrd/dom/utilities
- db
- vdm
3 files changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
129 | 140 | | |
130 | 141 | | |
131 | 142 | | |
| |||
Whitespace-only changes.
Whitespace-only changes.
0 commit comments