mirror of
https://github.com/github/codeql.git
synced 2026-05-03 20:58:03 +02:00
Swift: autopep8
This commit is contained in:
@@ -9,6 +9,7 @@ import functools
|
||||
import importlib.util
|
||||
from toposort import toposort_flatten
|
||||
|
||||
|
||||
class Error(Exception):
|
||||
|
||||
def __str__(self):
|
||||
@@ -79,6 +80,7 @@ class Class:
|
||||
@property
|
||||
def final(self):
|
||||
return not self.derived
|
||||
|
||||
def check_types(self, known: typing.Iterable[str]):
|
||||
for b in self.bases:
|
||||
_check_type(b, known)
|
||||
|
||||
Reference in New Issue
Block a user