Skip to content

Commit 02e71a2

Browse files
authored
Remove pylint suppression that is no longer needed and improve pylint config. (#568)
resolves se-sic/VaRA#717
1 parent ab0a9d1 commit 02e71a2

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.pylintrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ extension-pkg-whitelist=
77

88
# Add files or directories to the blacklist. They should be base names, not
99
# paths.
10-
ignore=CVS,gui,filtertree_data.py
10+
ignore=CVS,gui,filtertree_data.py,.eggs
1111

1212
# Add files or directories matching the regex patterns to the blacklist. The
1313
# regex matches against base names, not paths.

.reviewdog.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ runner:
88

99
pylint:
1010
name: pylint
11-
cmd: pylint varats* -j 0 | sort -u
11+
cmd: pylint varats* -j 0
1212
errorformat:
1313
- "%f:%l:%c: %t%n: %m"

varats-core/varats/project/project_util.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,7 @@ def copy_renamed_git_to_dest(src_dir: Path, dest_dir: Path) -> None:
305305
os.rename(os.path.join(root, name), os.path.join(root, ".git"))
306306

307307

308-
# TODO (se-passau/VaRA#717): Remove pylint's disable when issue is fixed
309-
class VaraTestRepoSubmodule(GitSubmodule): # type: ignore # pylint: disable=R0901;
308+
class VaraTestRepoSubmodule(GitSubmodule): # type: ignore
310309
"""A project source for submodule repositories stored in the vara-test-repos
311310
repository."""
312311

0 commit comments

Comments
 (0)