Fix up code style and documentation in ClearCase implementation.
Review Request #11288 — Created Nov. 18, 2020 and submitted
This change fixes up a bunch of style issues and code documentation in
the old ClearCase implementation. I've also removed an old fallback for
a no-longer-supported version of Python.
Ran unit tests.
Summary | ID |
---|---|
52b8e196ffcdcf988d5d807e97ad17135d551fdf |
Description | From | Last Updated |
---|---|---|
E722 do not use bare except' |
reviewbot | |
While here, want to add Args and Returns? |
chipx86 | |
:py:attr for these? |
chipx86 | |
Is "object" correct? Or should this be "file", here and below? |
chipx86 | |
We should probably use a full path to these constants. |
chipx86 | |
Missing the full class path. |
chipx86 | |
Double backticks around extended_path? |
chipx86 | |
We can pass a tuple of choices to startswith, to simplify this. |
chipx86 | |
"oid" or "OID"? |
chipx86 | |
This should be the full class path. |
chipx86 | |
Can you make extended_path a literal? |
chipx86 | |
E902 TokenError: EOF in multi-line statement |
reviewbot | |
E999 SyntaxError: invalid syntax |
reviewbot | |
This needs to be a tuple. |
chipx86 | |
, optional |
chipx86 | |
, unused |
chipx86 |
- Commits:
-
Summary ID d20bcbc7de893dbb329e526f3388767d44234e1a 2cb1db7f7bb2c0b62982fe6ad6a24923baf9aa1d - Diff:
-
Revision 2 (+598 -204)
Checks run (2 succeeded)
- Commits:
-
Summary ID 2cb1db7f7bb2c0b62982fe6ad6a24923baf9aa1d 76454bac65bcf1161006965965e5a6eb30a56329 - Diff:
-
Revision 3 (+624 -210)
- Change Summary:
-
Syntax.
- Commits:
-
Summary ID 76454bac65bcf1161006965965e5a6eb30a56329 52b8e196ffcdcf988d5d807e97ad17135d551fdf - Diff:
-
Revision 4 (+624 -210)