Skip to content

Commit 2312881

Browse files
committed
style: fix format issues with with black
1 parent 026d6ef commit 2312881

File tree

4 files changed

+1
-4
lines changed

4 files changed

+1
-4
lines changed

src/fluent_compiler/types.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ class NumberFormatOptions:
8888

8989

9090
class FluentNumber(FluentType):
91-
9291
default_number_format_options = NumberFormatOptions()
9392

9493
def __new__(cls, value, **kwargs):

src/fluent_compiler/utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ def attribute_ast_to_id(attribute, parent_ast):
4848

4949

5050
def allowable_name(ident, for_method=False, allow_builtin=False):
51-
5251
if keyword.iskeyword(ident):
5352
return False
5453

tests/format/test_escapers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ def join(self, parts):
4040
# that, unlike HtmlEscaper above, the output type is not a subclass of
4141
# str, in order to test the implementation handles this properly.
4242

43+
4344
# We also test whether the implementation can handle subclasses
4445
class Markdown:
4546
def __init__(self, text):

tests/test_types.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ def currency(amount, *args, **kwargs):
1414

1515

1616
class TestFluentNumber(unittest.TestCase):
17-
1817
locale = Locale.parse("en_US")
1918

2019
def setUp(self):
@@ -189,7 +188,6 @@ def test_copy_attributes(self):
189188

190189

191190
class TestFluentDate(unittest.TestCase):
192-
193191
locale = Locale.parse("en_US")
194192

195193
def setUp(self):

0 commit comments

Comments
 (0)