mirror of
https://github.com/apache/superset.git
synced 2026-04-10 03:45:22 +00:00
chore(pre-commit): Add pyupgrade and pycln hooks (#24197)
This commit is contained in:
@@ -15,10 +15,11 @@
|
||||
# specific language governing permissions and limitations
|
||||
# under the License.
|
||||
from abc import ABC, abstractmethod
|
||||
from typing import Any, Dict, Iterable
|
||||
from collections.abc import Iterable
|
||||
from typing import Any
|
||||
|
||||
|
||||
class ExampleDataGenerator(ABC):
|
||||
@abstractmethod
|
||||
def generate(self) -> Iterable[Dict[Any, Any]]:
|
||||
def generate(self) -> Iterable[dict[Any, Any]]:
|
||||
...
|
||||
|
||||
Reference in New Issue
Block a user