Skip to content

Commit f8645ae

Browse files
committed
Fix flake8 & address lints
1 parent bb5a5b7 commit f8645ae

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.flake8

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
[flake8]
22

33
ignore =
4-
E731, # do not assign a lambda expression, use a def
5-
W503, # line break before binary operator
4+
# do not assign a lambda expression, use a def
5+
E731,
6+
# line break before binary operator
7+
W503,
68

79
exclude =
810
.git,

src/sublime_lib/flags.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
from ._util.enum import ExtensibleConstructorMeta, construct_union, construct_with_alternatives
4040

4141

42-
4342
__all__ = [
4443
'DialogResult', 'PointClass', 'FindOption', 'RegionOption',
4544
'PopupOption', 'PhantomLayout', 'OpenFileOption', 'QuickPanelOption',

src/sublime_lib/settings_dict.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def __eq__(self, other: object) -> bool:
5353
and refer to the same underlying settings data.
5454
"""
5555
return (
56-
type(self) == type(other)
56+
type(self) is type(other)
5757
and isinstance(other, SettingsDict)
5858
and self.settings.settings_id == other.settings.settings_id
5959
)

0 commit comments

Comments
 (0)