Skip to content

Commit b8abad6

Browse files
committed
Fix lint warnings, black check
1 parent 58fa784 commit b8abad6

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/workflows/lint.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ jobs:
6363
steps:
6464
- name: Checkout Code
6565
uses: actions/checkout@v4
66+
with:
67+
# super-linter needs the full git history to get the
68+
# list of files that changed across commits
69+
fetch-depth: 0
6670

6771
- name: Set up Python 3.8
6872
uses: actions/setup-python@v5

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
[tool.black]
2-
target-version = ["py36"]
2+
target-version = ["py38"]
33
line-length = 100
44
[tool.pylint.messages_control]
55
disable = """
66
missing-module-docstring,
77
missing-class-docstring,
88
missing-function-docstring,
99
unnecessary-lambda,
10-
bad-continuation,
1110
cyclic-import,
1211
line-too-long,
1312
invalid-name,

solc_select/__main__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ def solc_select() -> None:
6666
elif args.get(SHOW_VERSIONS) is not None:
6767
versions_installed = installed_versions()
6868
if versions_installed:
69+
(current_ver, source) = (None, None)
6970
res = current_version()
7071
if res:
7172
(current_ver, source) = res

0 commit comments

Comments
 (0)