flake8
-
reviewboard/scmtools/core.py (Diff revision 1) Show all issues -
reviewboard/scmtools/core.py (Diff revision 1) redefinition of unused 'TYPE_CHECKING' from line 9 Column: 1 Error code: F811
Review Request #13225 — Created Aug. 20, 2023 and submitted
This adds typing throughout the Subversion codebase, ensuring
consistency in calls, results, and dictionary contents.There are some fixes for some bad assumptions in the code, and some
minor changes to the baseSCMTool
class to make
parse_diff_revision()
's parameters consistent with the built-in
SCMTools.Changes will build upon this to improve operation invocation and error
handling, in preparation for the new SSL management.
Unit tests pass.
Summary | |
---|---|
Description | From | Last Updated |
---|---|---|
redefinition of unused 'Optional' from line 9 Column: 1 Error code: F811 |
![]() |
|
redefinition of unused 'TYPE_CHECKING' from line 9 Column: 1 Error code: F811 |
![]() |
|
These are missing type info. |
|
|
Missing type info. |
|
|
Missing type info. |
|
|
Missing type info. |
|
reviewboard/scmtools/core.py (Diff revision 1) |
---|
reviewboard/scmtools/core.py (Diff revision 1) |
---|
redefinition of unused 'TYPE_CHECKING' from line 9 Column: 1 Error code: F811
Fixed some typing imports in
reviewboard.scmtools.core
.
Commits: |
|
|||||||||
---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+1006 -228) |
Added missing instance variable types.
Commits: |
|
|||||||||
---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 3 (+1034 -230) |
SVNTool.config_dir
, simplifying __init__
and build_client
.get_data_dir()
instead of computing the home directory.abc
module for abstract properties/methods.SVNRepositoryInfoDict
and repository_info()
.client: pysvn.Client
.Commits: |
|
|||||||||
---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 4 (+1156 -296) |
Fixed a bad
build_client()
call.
Commits: |
|
|||||||||
---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 5 (+1158 -298) |
Added missing typing information.
Commits: |
|
|||||||||
---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 6 (+1192 -334) |