Skip to content

Commit

Permalink
Address flake8 warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
FichteFoll committed Sep 11, 2023
1 parent de3e853 commit 4a940ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion plugins/lib/scope_data/data.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# https://www.sublimetext.com/docs/3/scope_naming.html
# https://manual.macromates.com/en/language_grammars#naming_conventions
#
# constant.other.{path,wildcard}: https://github.com/sublimehq/Packages/pull/3803#issuecomment-1627711666
# constant.other.{path,wildcard}:
# https://github.com/sublimehq/Packages/pull/3803#issuecomment-1627711666
DATA = """
comment
line
Expand Down
2 changes: 1 addition & 1 deletion plugins/lib/view_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def set_viewport(view, row, col=None):
if col is None:
pos = row

if type(row) == tuple:
if isinstance(row, tuple):
pos = relative_point(view, p=row)
else:
pos = relative_point(view, row, col)
Expand Down

0 comments on commit 4a940ff

Please sign in to comment.