Skip to content

Commit

Permalink
fix: take care of linter warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
tledoux committed Oct 18, 2024
1 parent ac2708a commit 0e005bc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
flake8 . --count --exit-zero --max-complexity=20 --max-line-length=127 --statistics
# - name: Test with pytest
# run: |
# pytest
2 changes: 1 addition & 1 deletion dialog_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def prepare_fonts(root, verbose=False):
if verbose:
print(f"TkDefaultFont={defaultfont.actual()}")
print(f"TkFixedtFont={fixedfont.actual()}")
print(f"screen_width={screen_width}")
print(f"{screen_width=}, screen_height={_screen_height}")
if 1024 < screen_width <= 1440:
default_size = 10
elif 1440 < screen_width <= 1920:
Expand Down
2 changes: 1 addition & 1 deletion mutf7.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-

"""
This awesome piece of code is intented to encode and decode modified UTF-7
This awesome piece of code is intented to encode and decode modified UTF-7
(the one that is used for IMAP folder names)
See https://datatracker.ietf.org/doc/html/rfc2060.html#section-5.1.3
Expand Down

0 comments on commit 0e005bc

Please sign in to comment.