Skip to content

Commit c52e08a

Browse files
committed
Fix pylint issues
1 parent 71c2cc1 commit c52e08a

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

Diff for: Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ update: setup_poetry
1414
poetry update
1515

1616
clean:
17-
poetry env list | cut -d' ' -f1 | xargs poetry env remove
17+
poetry env remove --all
1818
rm .mk_poetry*
1919

2020
check: setup_poetry
@@ -27,4 +27,4 @@ dist: setup_poetry
2727
release: dist
2828
poetry publish
2929

30-
.PHONY: update clean all check
30+
.PHONY: update clean all check

Diff for: osia/installer/downloader/install.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def get_devel_url(version: str, arch: str) -> Tuple[Optional[str], Optional[str]
8585
req = requests.get(BUILD_ROOT + version, allow_redirects=True)
8686
ast = BeautifulSoup(req.content, 'html.parser')
8787
logging.debug('Installer found on page, continuing')
88-
return get_url(req.url)
88+
return get_url(req.url, arch)
8989

9090

9191
def get_prev_url(version: str, arch: str) -> Tuple[Optional[str], Optional[str]]:

Diff for: pylintrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ disable=raw-checker-failed,
7272
unspecified-encoding,
7373
unused-private-member,
7474
missing-timeout,
75-
unnecessary-dunder-call
75+
unnecessary-dunder-call,
76+
use-dict-literal
7677

7778
# Enable the message, report, category or checker with the given id(s). You can
7879
# either give multiple identifier separated by comma (,) or put this option

0 commit comments

Comments
 (0)