]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
fixing lint errors
authorzeeeeeb <5767468+zeeeeeb@users.noreply.github.com>
Thu, 10 Feb 2022 06:27:27 +0000 (22:27 -0800)
committerzeeeeeb <5767468+zeeeeeb@users.noreply.github.com>
Thu, 10 Feb 2022 06:27:27 +0000 (22:27 -0800)
lib/sqlalchemy/dialects/mssql/base.py
test/dialect/postgresql/test_compiler.py

index 30976e2ce7f5fa7167ab54d6a06fed741f86c1a4..2aff7d8b6df9c65ef4d3aaaf521a488acf80f46d 100644 (file)
@@ -1488,7 +1488,6 @@ class MSTypeCompiler(compiler.GenericTypeCompiler):
         else:
             return "FLOAT(%(precision)s)" % {"precision": precision}
 
-
     def visit_TINYINT(self, type_, **kw):
         return "TINYINT"
 
index 006a5c18564d282fc141bdc0b0f97b8ef954b2f7..98b974ea538b4c795f53ec0bebe3abdd5e29965d 100644 (file)
@@ -252,8 +252,7 @@ class CompileTest(fixtures.TestBase, AssertsCompiledSQL):
 
         stmt = select(cast(column("foo"), d1))
         self.assert_compile(
-            stmt,
-            "SELECT CAST(foo AS DOUBLE PRECISION) AS foo"
+            stmt, "SELECT CAST(foo AS DOUBLE PRECISION) AS foo"
         )
 
     def test_cast_enum_schema_translate(self):