Skip to content

Commit

Permalink
Fix lint warnings, black check
Browse files Browse the repository at this point in the history
  • Loading branch information
elopez committed Dec 31, 2024
1 parent 58fa784 commit b8abad6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ jobs:
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
# super-linter needs the full git history to get the
# list of files that changed across commits
fetch-depth: 0

- name: Set up Python 3.8
uses: actions/setup-python@v5
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
[tool.black]
target-version = ["py36"]
target-version = ["py38"]
line-length = 100
[tool.pylint.messages_control]
disable = """
missing-module-docstring,
missing-class-docstring,
missing-function-docstring,
unnecessary-lambda,
bad-continuation,
cyclic-import,
line-too-long,
invalid-name,
Expand Down
1 change: 1 addition & 0 deletions solc_select/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ def solc_select() -> None:
elif args.get(SHOW_VERSIONS) is not None:
versions_installed = installed_versions()
if versions_installed:
(current_ver, source) = (None, None)
res = current_version()
if res:
(current_ver, source) = res
Expand Down

0 comments on commit b8abad6

Please sign in to comment.