Skip to content

Commit

Permalink
🚨 Minor linting fixes/updates
Browse files Browse the repository at this point in the history
The #746 PR got me curious about the current linting state.
Addressed few low hanging fruits.
Removed no longer relevant/addressed ignore rules.
  • Loading branch information
AndreMiras committed Sep 3, 2022
1 parent 238eb33 commit f5f3237
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion kivy_ios/toolchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -1498,7 +1498,7 @@ def build_info(self):
if not callable(attr) and attr != 'archs':
print("{}: {}".format(attr, pformat(getattr(ctx, attr))))
for arch in ctx.archs:
ul = '-' * (len(str(arch))+6)
ul = '-' * (len(str(arch)) + 6)
print("\narch: {}\n{}".format(str(arch), ul))
for attr in dir(arch):
if not attr.startswith("_"):
Expand Down
2 changes: 0 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ commands = flake8 kivy_ios/ tests/ .ci/ setup.py toolchain.py
[flake8]
ignore =
E123, # Closing bracket does not match indentation of opening bracket's line
E124, # Closing bracket does not match visual indentation
E126, # Continuation line over-indented for hanging indent
E226, # Missing whitespace around arithmetic operator
E402, # Module level import not at top of file
E501, # Line too long (82 > 79 characters)
W503, # Line break occurred before a binary operator
Expand Down

0 comments on commit f5f3237

Please sign in to comment.