P4OO.Branch (src/P4OO/Branch.py)| Line | Col. | Type | Symbol | ID | Obj | Message |
|---|---|---|---|---|---|---|
| 8 | 0 | warning | unused-import |
W0611 | Unused field imported from dataclasses |
P4OO.Change (src/P4OO/Change.py)| Line | Col. | Type | Symbol | ID | Obj | Message |
|---|---|---|---|---|---|---|
| 9 | 0 | warning | unused-import |
W0611 | Unused field imported from dataclasses |
P4OO.Client (src/P4OO/Client.py)| Line | Col. | Type | Symbol | ID | Obj | Message |
|---|---|---|---|---|---|---|
| 11 | 0 | warning | unused-import |
W0611 | Unused field imported from dataclasses |
P4OO.Depot (src/P4OO/Depot.py)| Line | Col. | Type | Symbol | ID | Obj | Message |
|---|---|---|---|---|---|---|
| 8 | 0 | warning | unused-import |
W0611 | Unused field imported from dataclasses |
P4OO.File (src/P4OO/File.py)| Line | Col. | Type | Symbol | ID | Obj | Message |
|---|---|---|---|---|---|---|
| 8 | 0 | warning | unused-import |
W0611 | Unused field imported from dataclasses |
|
| 39 | 52 | error | no-member |
E1101 | P4OOFile.__repr__ | Instance of 'P4OOFile' has no '_getAttr' member |
P4OO.Group (src/P4OO/Group.py)| Line | Col. | Type | Symbol | ID | Obj | Message |
|---|---|---|---|---|---|---|
| 8 | 0 | warning | unused-import |
W0611 | Unused field imported from dataclasses |
P4OO.Job (src/P4OO/Job.py)| Line | Col. | Type | Symbol | ID | Obj | Message |
|---|---|---|---|---|---|---|
| 8 | 0 | warning | unused-import |
W0611 | Unused field imported from dataclasses |
P4OO.Label (src/P4OO/Label.py)| Line | Col. | Type | Symbol | ID | Obj | Message |
|---|---|---|---|---|---|---|
| 9 | 0 | warning | unused-import |
W0611 | Unused field imported from dataclasses |
P4OO.User (src/P4OO/User.py)| Line | Col. | Type | Symbol | ID | Obj | Message |
|---|---|---|---|---|---|---|
| 8 | 0 | warning | unused-import |
W0611 | Unused field imported from dataclasses |
P4OO._Base (src/P4OO/_Base.py)| Line | Col. | Type | Symbol | ID | Obj | Message |
|---|---|---|---|---|---|---|
| 17 | 0 | convention | wrong-import-order |
C0411 | standard import "from dataclasses import dataclass, field" should be placed before "from P4 import P4" |
|
| 18 | 0 | convention | wrong-import-order |
C0411 | standard import "import logging" should be placed before "from P4 import P4" |
P4OO._Connection (src/P4OO/_Connection.py)| Line | Col. | Type | Symbol | ID | Obj | Message |
|---|---|---|---|---|---|---|
| 8 | 0 | warning | unused-import |
W0611 | Unused field imported from dataclasses |
P4OO._P4Python (src/P4OO/_P4Python.py)| Line | Col. | Type | Symbol | ID | Obj | Message |
|---|---|---|---|---|---|---|
| 11 | 0 | warning | unused-import |
W0611 | Unused field imported from dataclasses |
|
| 26 | 0 | convention | trailing-whitespace |
C0303 | Trailing whitespace |
|
| 141 | 4 | convention | missing-function-docstring |
C0116 | _P4OOP4Python.saveSpec | Missing function or method docstring |
| 213 | 4 | convention | missing-function-docstring |
C0116 | _P4OOP4Python.deleteSpec | Missing function or method docstring |
P4OO._P4PythonSchema (src/P4OO/_P4PythonSchema.py)| Line | Col. | Type | Symbol | ID | Obj | Message |
|---|---|---|---|---|---|---|
| 76 | 4 | convention | missing-function-docstring |
C0116 | _P4OOP4PythonCommand.isSpecCommand | Missing function or method docstring |
| 82 | 4 | convention | missing-function-docstring |
C0116 | _P4OOP4PythonCommand.isForcible | Missing function or method docstring |
| 88 | 4 | convention | missing-function-docstring |
C0116 | _P4OOP4PythonCommand.isIdRequired | Missing function or method docstring |
| 92 | 4 | convention | missing-function-docstring |
C0116 | _P4OOP4PythonCommand.getSpecCmd | Missing function or method docstring |
| 99 | 4 | convention | missing-function-docstring |
C0116 | _P4OOP4PythonCommand.getOutputType | Missing function or method docstring |
| 106 | 4 | convention | missing-function-docstring |
C0116 | _P4OOP4PythonCommand.getOutputIdAttr | Missing function or method docstring |
| 113 | 4 | convention | missing-function-docstring |
C0116 | _P4OOP4PythonCommand.getPyIdAttribute | Missing function or method docstring |
| 120 | 4 | convention | missing-function-docstring |
C0116 | _P4OOP4PythonCommand.getP4IdAttribute | Missing function or method docstring |
| 195 | 4 | convention | missing-function-docstring |
C0116 | _P4OOP4PythonCommand.getAllowedFilters | Missing function or method docstring |
| 201 | 4 | convention | missing-function-docstring |
C0116 | _P4OOP4PythonCommand.getAllowedConfigs | Missing function or method docstring |
| 207 | 4 | refactor | too-many-branches |
R0912 | _P4OOP4PythonCommand.validateQuery | Too many branches (16/12) |
P4OO._Set (src/P4OO/_Set.py)| Line | Col. | Type | Symbol | ID | Obj | Message |
|---|---|---|---|---|---|---|
| 40 | 4 | convention | missing-function-docstring |
C0116 | _P4OOSet.addObjects | Missing function or method docstring |
| 50 | 4 | convention | missing-function-docstring |
C0116 | _P4OOSet.delObjects | Missing function or method docstring |
P4OO._SpecObj (src/P4OO/_SpecObj.py)| Line | Col. | Type | Symbol | ID | Obj | Message |
|---|---|---|---|---|---|---|
| 105 | 4 | convention | missing-function-docstring |
C0116 | _P4OOSpecObj.saveSpec | Missing function or method docstring |
| 109 | 4 | convention | missing-function-docstring |
C0116 | _P4OOSpecObj.deleteSpec | Missing function or method docstring |
| 121 | 4 | convention | invalid-name |
C0103 | _P4OOSpecObj.__initialize | Method name "__initialize" doesn't conform to camelCase naming style |
| Name | Count |
|---|---|
| convention | 20 |
| error | 1 |
| warning | 11 |
| refactor | 1 |
| Name | Count |
|---|---|
| missing-function-docstring | 16 |
| no-member | 1 |
| unused-import | 11 |
| too-many-branches | 1 |
| wrong-import-order | 2 |
| trailing-whitespace | 1 |
| invalid-name | 1 |
| Name | Count |
|---|---|
| P4OO._Set | 2 |
| P4OO.File | 2 |
| P4OO.Client | 1 |
| P4OO._P4PythonSchema | 11 |
| P4OO._Base | 2 |
| P4OO.Label | 1 |
| P4OO._Connection | 1 |
| P4OO.User | 1 |
| P4OO.Job | 1 |
| P4OO._P4Python | 4 |
| P4OO._SpecObj | 3 |
| P4OO.Depot | 1 |
| P4OO.Branch | 1 |
| P4OO.Change | 1 |
| P4OO.Group | 1 |
| Name | Count |
|---|---|
| src/P4OO/_Set.py | 2 |
| src/P4OO/File.py | 2 |
| src/P4OO/Client.py | 1 |
| src/P4OO/_P4PythonSchema.py | 11 |
| src/P4OO/_Base.py | 2 |
| src/P4OO/Label.py | 1 |
| src/P4OO/_Connection.py | 1 |
| src/P4OO/User.py | 1 |
| src/P4OO/Job.py | 1 |
| src/P4OO/_P4Python.py | 4 |
| src/P4OO/_SpecObj.py | 3 |
| src/P4OO/Depot.py | 1 |
| src/P4OO/Branch.py | 1 |
| src/P4OO/Change.py | 1 |
| src/P4OO/Group.py | 1 |